]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
more uses of standard_output_file
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
53e981d9
TT
12013-08-13 Tom Tromey <tromey@redhat.com>
2
3 * lib/gdb.exp (build_id_debug_filename_get): Use
4 standard_output_file.
5 * lib/prelink-support.exp (section_get)
6 (build_executable_own_libs): Use standard_output_file.
7
3f539315
TT
82013-08-12 Tom Tromey <tromey@redhat.com>
9
10 * Makefile.in (ALL_SUBDIRS): Add gdb.go.
11
b4013987
AA
122013-08-12 Ali Anwar <alianwar@codesourcery.com>
13
14 * gdb.base/break.exp: Test break via convenience variable
15 with file name.
16
f61d5529
DE
172013-08-09 Doug Evans <dje@google.com>
18
19 * lib/future.exp (gdb_find_ldd): New proc.
20 * lib/prelink-support.exp (build_executable_own_libs): Call it.
21 Make "/usr/sbin/" in prelink path optional.
22
1ed8d800
YQ
232013-08-09 Yao Qi <yao@codesourcery.com>
24
25 * gdb.trace/collection.exp (gdb_collect_args_test): Set
26 "only" and "both" to 'print entry-values' before selecting
27 trace frame.
28
82a0a75f
YQ
292013-08-08 Yao Qi <yao@codesourcery.com>
30
31 * gdb.trace/mi-trace-unavailable.exp: Don't set
32 "print entry-values" to "no".
33 (test_trace_unavailable): Set various values to
34 "print entry-values" to test that the output of
35 '-stack-list-locals' is not affected, and then set
36 set "print entry-values" to "no".
37
ac52f9a2
DE
382013-08-07 Doug Evans <dje@google.com>
39
40 * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
41 * gdb.python/py-value-cc.exp: Update.
42 * gdb.python/py-value.exp: Use different names for .o files for
43 C and C++. Only perform C++ tests if !skip_cplus_tests.
44
bf6d8a91
TT
452013-08-07 Tom Tromey <tromey@redhat.com>
46
47 * gdb.base/maint.exp: Allow zero symtabs to be expanded.
48
f9125b6c
TT
492013-08-07 Tom Tromey <tromey@redhat.com>
50
51 * gdb.dwarf2/dwz.exp: New file.
52
3a1115a0
TT
532013-08-02 Tom Tromey <tromey@redhat.com>
54
55 * gdb.base/watchpoint.c (struct foo5): New.
56 (nullptr): New global.
57 * gdb.base/watchpoint.exp (test_watch_location): Add test.
58
b846d303
DE
592013-08-01 Doug Evans <dje@google.com>
60
7ee85ab1
DE
61 PR symtab/15691
62 * gdb.dwarf2/fission-mix.exp: New file.
63 * gdb.dwarf2/fission-mix.h: New file.
64 * gdb.dwarf2/fission-mix.c: New file.
65 * gdb.dwarf2/fission-mix2.c: New file.
66
b846d303
DE
67 PR symtab/15695
68 * gdb.base/func-ptr.exp: New file.
69 * gdb.base/func-ptr.c: New file.
70
67d21849
YQ
712013-08-01 Yao Qi <yao@codesourcery.com>
72
73 * gdb.python/py-sync-interp.c: New.
74 * gdb.python/py-sync-interp.exp: New.
75
de74e63a
YQ
762013-07-31 Yao Qi <yao@codesourcery.com>
77
78 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
79 'tdump' on stack frame 0 and 1 respectively.
80
680558e8
YQ
812013-07-31 Yao Qi <yao@codesourcery.com>
82
83 PR gdb/13443
84 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
85 'traceframe'. Wrap test with with_test_prefix.
86 (top level): Update.
87
48bbe0bf
YQ
882013-07-31 Yao Qi <yao@codesourcery.com>
89
90 * gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
91 'gdb_start'.
92 Invoke 'prepare_for_testing' instead of 'gdb_compile'.
93 Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.
94
11b4b7cc
AB
952013-07-30 Andrew Burgess <aburgess@broadcom.com>
96
97 * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
98 when printing an optimized out value. Expect an error when using
99 an optimized out value in an expression.
100
b0c54aa5
AB
1012013-07-30 Andrew Burgess <aburgess@broadcom.com>
102
103 * gdb.dwarf2/pieces-optimized-out.exp: New file.
104 * gdb.dwarf2/pieces-optimized-out.c: New file.
105 * gdb.dwarf2/pieces-optimized-out.S: New file.
106
97c85fc6
MB
1072013-07-30 Muhammad Bilal <mbilal@codesourcery.com>
108
109 PR gdb/15715
110 * gdb.base/setshow.exp: Test that relative paths passed to
111 'set history filename' are converted to absolute paths.
112
5b32ae97
KS
1132013-07-26 Keith Seitz <keiths@redhat.com>
114
115 * gdb.mi/mi-var-child-f.exp: Pass f90 to gdb_compile instead
116 of f77.
117 Allow for compiler variations of integer types.
118 Use mi_create_varobj.
119 Use mi_list_varobj_children for the immediate children of `array'.
120 Add "has_more" attribute for grandchildren test.
121
6f64ef53
PA
1222013-07-26 Pedro Alves <palves@redhat.com>
123
124 * gdb.base/interrupt-noterm.c, gdb.base/interrupt-noterm.exp: New
125 files.
126
fdc8aae8
AB
1272013-07-25 Andrew Burgess <aburgess@broadcom.com>
128
129 * gdb.mi/mi-reg-undefined.exp: New file.
130 * gdb.mi/mi-reg-undefined.c: Likewise.
131 * gdb.mi/mi-reg-undefined.S: Likewise.
132
6fbe845e
AB
1332013-07-25 Andrew Burgess <aburgess@broadcom.com>
134
135 * gdb.base/printcmds.exp (test_print_int_arrays): Add tests for x,
136 z, o, and t output formats.
137 * gdb.base/display.exp: Use 'k' as an undefined format now that
138 'z' is defined.
139
7b79b135
DE
1402013-07-24 Doug Evans <dje@google.com>
141
142 * boards/native-stdio-gdbserver.exp (${board}_build_remote_cmd): Pass
143 "--" to switch.
144
a0607b84
YQ
1452013-07-24 Yao Qi <yao@codesourcery.com>
146
147 * gdb.mi/mi-var-cmd.exp: If host is remote, use ${testfile} on
148 host.
149 * gdb.mi/mi-basics.exp (test_exec_and_symbol_mi_operatons):
150 Likewise. If host is remote, copy ${binfile} to host.
151
2eb14a9b
YQ
1522013-07-23 Yao Qi <yao@codesourcery.com>
153
154 * gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error
155 message.
156
5d0a3b53
WN
1572013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
158
159 * gdb.base/disp-step-syscall.exp: Add svc and swi syscall
160 instructions and enable disp-step-syscall for arm targets.
161
9a5911c0
WN
1622013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
163
164 * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
165 assembler errors on arm.
166 * gdb.dwarf2/mac-fileno.S: Likewise.
167 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
168 * gdb.dwarf2/pr13961.S: Likewise.
169
fa876972
HZ
1702013-07-19 Hui Zhu <hui@codesourcery.com>
171
172 PR gdb/15692
173 * gdb.mi/mi-dprintf.exp: Add double quotes test.
174
1527aea8
YQ
1752013-07-19 Yao Qi <yao@codesourcery.com>
176
177 * gdb.trace/read-memory.exp (test_from_remote): Update test.
178 (teset_from_exec): Likewise.
179
73c1d57e
YQ
1802013-07-19 Yao Qi <yao@codesourcery.com>
181
182 * gdb.trace/read-memory.c: New.
183 * gdb.trace/read-memory.exp: New.
184
a075c3e5
YQ
1852013-07-19 Yao Qi <yao@codesourcery.com>
186
187 * lib/gdb.exp (gdb_compile_shlib): Pass the tail name of
188 $dest to link options if host is remote. Move the
189 generated file to $dest.a on host if host is remote.
190
623cc285
WN
1912013-07-18 Will Newton <will.newton@linaro.org>
192
193 * gdb.threads/tls-nodebug.c: Call pthread_testcancel
194 to ensure the test is linked against pthreads.
195 * gdb.threads/tls-var-main.c: Likewise.
196 * gdb.threads/tls-shared.c: Likewise.
197
1f74d3b5
YQ
1982013-07-18 Yao Qi <yao@codesourcery.com>
199
200 * lib/future.exp (gdb_default_target_compile): Use tail name
201 of $destfile as the output name of compile. Move the
202 generated file to $destfile on build.
203
f6dc277e
YQ
2042013-07-18 Yao Qi <yao@codesourcery.com>
205
206 * lib/gdb.exp (gdb_compile): Set
207 gdb_saved_set_unbuffered_mode_obj to
208 set_unbuffered_mode_saved.o if host is remote. Invoke
209 remote_download to copy $unbuf_obj to host.
210
e7045703
DE
2112013-07-17 Doug Evans <dje@google.com>
212
213 * gdb.python/py-frame-args.c: New file.
214 * gdb.python/py-frame-args.py: New file.
215 * gdb.python/py-frame-args.exp New file.
216
5ea5559b
AB
2172013-07-16 Andrew Burgess <aburgess@broadcom.com>
218
219 * gdb.base/printcmds.exp (test_printf): Add tests for format
220 strings with missing format specifier.
221
4229ca0e
TT
2222013-07-16 Tom Tromey <tromey@redhat.com>
223
224 * gdb.ada/info_types.exp: Use standard_testfile.
225
5ee657d5
TT
2262013-07-16 Tom Tromey <tromey@redhat.com>
227
228 * gdb.mi/mi-basics.exp: Use standard_output_file.
229 (test_dir_specification, test_cwd_specification)
230 (test_path_specification): Use testsubdir, not subdir and objdir.
231
20e3d738
TT
2322013-07-16 Tom Tromey <tromey@redhat.com>
233
234 * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
235
7d7c6477
JB
2362013-07-09 Joel Brobecker <brobecker@adacore.com>
237
238 * gdb.ada/small_reg_param.exp: Accept optional entry value
239 for parameter "w".
240
52cd8b7d
JB
2412013-07-09 Joel Brobecker <brobecker@adacore.com>
242
243 * gdb.ada/small_reg_param.exp: Remove trailing space.
244
2a998fc0
DE
2452013-07-09 Doug Evans <dje@google.com>
246
247 * gdb.base/default.exp: Update expected output of "show print array"
248 and "show print pretty".
249
0329e9fb
UW
2502013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
251
252 * gdb.threads/wp-replication.exp: Stop counting available hardware
253 watchpoints after NR_THREADS iterations.
254
1953058f
AB
2552013-07-08 Andrew Burgess <aburgess@broadcom.com>
256
257 * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
258
7c0de741
YQ
2592013-07-07 Yao Qi <yao@codesourcery.com>
260
261 * boards/native-gdbserver.exp: Move invoke of
262 process_multilib_options to gdbserver-base.exp.
263 Move set_board_info 'compiler', 'gdb,noinferiorio',
264 'gdb,nofileio', 'gdb_server_prog' and 'gdb,predefined_tsv' to
265 gdbserver-base.exp.
266 Move proc ${board}_download, ${board}_upload and
267 ${board}_file to gdbserver-base.exp.
268 * boards/native-extended-gdbserver.exp: Likewise.
269 * boards/native-stdio-gdbserver.exp: Likewise.
270 * boards/gdbserver-base.exp: New file.
271
497a4c48
LM
2722013-07-05 Luis Machado <lgustavo@codesourcery.com>
273
274 * gdb.base/dump.exp: Remove arch-specific tests and do a
275 generic data address check to set is64bitonly correctly.
276
bb3f62fc
LM
2772013-07-05 Luis Machado <lgustavo@codesourcery.com>
278
279 * gdb.mi/gdb2549.exp (register_tests): Expect any decimal for
280 the register number instead of expecting only 0.
281
005faa9d
WN
2822013-07-05 Will Newton <will.newton@linaro.org>
283
284 * gdb.base/gnu-ifunc-lib.c: Use %function instead of @function
285 in asm syntax to allow building on ARM.
286
4767856f
YQ
2872013-07-05 Yao Qi <yao@codesourcery.com>
288
289 * boards/local-remote-host.exp: Remove obsolete comments.
290 * boards/native-extended-gdbserver.exp: Likewise.
291 * boards/native-gdbserver.exp: Likewise.
292 * boards/native-stdio-gdbserver.exp: Likewise.
293
691a26f5
AB
2942013-07-04 Andrew Burgess <aburgess@broadcom.com>
295
296 * gdb.dwarf2/dw2-reg-undefined.exp: New file.
297 * gdb.dwarf2/dw2-reg-undefined.c: Likewise.
298 * gdb.dwarf2/dw2-reg-undefined.S: Likewise.
299
4d142eaa
JK
3002013-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
301
302 * gdb.base/break-on-linker-gcd-function.exp: Replace
303 prepare_for_testing by build_executable_from_specs and clean_restart.
304
62cef515
TT
3052013-06-27 Tom Tromey <tromey@redhat.com>
306
307 * gdb.base/testenv.exp, gdb.base/tui-layout.exp,
308 gdb.base/twice.exp, gdb.base/type-opaque.exp, gdb.base/unload.exp,
309 gdb.base/unwindonsignal.exp, gdb.base/valgrind-db-attach.exp,
310 gdb.base/valgrind-infcall.exp, gdb.base/value-double-free.exp,
311 gdb.base/varargs.exp, gdb.base/watch-cond-infcall.exp,
312 gdb.base/watch-cond.exp, gdb.base/watch-non-mem.exp,
313 gdb.base/watch-read.exp, gdb.base/watch-vfork.exp,
314 gdb.base/watch_thread_num.exp, gdb.base/watchpoint-cond-gone.exp,
315 gdb.base/watchpoint-delete.exp, gdb.base/watchpoint-hw.exp,
316 gdb.base/watchpoint-solib.exp, gdb.base/watchpoint.exp,
317 gdb.base/watchpoints.exp, gdb.base/wchar.exp, gdb.base/whatis.exp:
318 Use standard_testfile, standard_output_file, prepare_for_testing,
319 clean_restart.
320
0ab77f5f
TT
3212013-06-27 Tom Tromey <tromey@redhat.com>
322
323 * gdb.base/save-bp.exp, gdb.base/savedregs.exp,
324 gdb.base/scope.exp, gdb.base/sep.exp, gdb.base/sepsymtab.exp,
325 gdb.base/set-lang-auto.exp, gdb.base/setshow.exp,
326 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
327 gdb.base/shreloc.exp, gdb.base/sigall.exp,
328 gdb.base/sigaltstack.exp, gdb.base/sigbpt.exp,
329 gdb.base/sigchld.exp, gdb.base/siginfo-addr.exp,
330 gdb.base/siginfo-infcall.exp, gdb.base/siginfo-obj.exp,
331 gdb.base/siginfo.exp, gdb.base/signals.exp, gdb.base/signest.exp,
332 gdb.base/signull.exp, gdb.base/sigrepeat.exp,
333 gdb.base/sigstep.exp, gdb.base/sizeof.exp,
334 gdb.base/skip-solib.exp, gdb.base/so-impl-ld.exp,
335 gdb.base/solib-display.exp, gdb.base/solib-nodir.exp,
336 gdb.base/solib-overlap.exp, gdb.base/solib-symbol.exp,
337 gdb.base/solib-weak.exp, gdb.base/source.exp,
338 gdb.base/stack-checking.exp, gdb.base/stale-infcall.exp,
339 gdb.base/stap-probe.exp, gdb.base/start.exp,
340 gdb.base/step-break.exp, gdb.base/step-bt.exp,
341 gdb.base/step-line.exp, gdb.base/step-resume-infcall.exp,
342 gdb.base/step-test.exp, gdb.base/structs.exp,
343 gdb.base/structs2.exp, gdb.base/structs3.exp,
344 gdb.base/symbol-without-target_section.exp: Use standard_testfile,
345 standard_output_file, prepare_for_testing, clean_restart.
346
822bd149
TT
3472013-06-27 Tom Tromey <tromey@redhat.com>
348
349 * gdb.base/nextoverexit.exp, gdb.base/nextoverexit.exp,
350 gdb.base/nodebug.exp, gdb.base/nofield.exp, gdb.base/nostdlib.exp,
351 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/pc-fp.exp,
352 gdb.base/pending.exp, gdb.base/permissions.exp,
353 gdb.base/pie-execl.exp, gdb.base/pointers.exp,
354 gdb.base/pr11022.exp, gdb.base/print-file-var.exp,
355 gdb.base/printcmds.exp, gdb.base/prologue.exp,
356 gdb.base/psymtab.exp, gdb.base/ptr-typedef.exp,
357 gdb.base/ptype.exp, gdb.base/randomize.exp,
358 gdb.base/readline-ask.exp, gdb.base/recpar.exp,
359 gdb.base/recurse.exp, gdb.base/relativedebug.exp,
360 gdb.base/relocate.exp, gdb.base/remote.exp, gdb.base/reread.exp,
361 gdb.base/return-nodebug.exp, gdb.base/return2.exp: Use
362 standard_testfile, standard_output_file, prepare_for_testing,
363 clean_restart.
364
f8b41b00
TT
3652013-06-27 Tom Tromey <tromey@redhat.com>
366
a8c97a87
TT
367 * gdb.base/hook-stop-continue.exp, gdb.base/hook-stop-frame.exp,
368 gdb.base/huge.exp, gdb.base/included.exp,
369 gdb.base/inferior-died.exp, gdb.base/infnan.exp,
370 gdb.base/info-fun.exp, gdb.base/info-macros.exp,
371 gdb.base/info-os.exp, gdb.base/info-proc.exp,
372 gdb.base/info-target.exp, gdb.base/infoline.exp,
373 gdb.base/interp.exp, gdb.base/interrupt.exp,
374 gdb.base/jit-simple.exp, gdb.base/jit-so.exp, gdb.base/jump.exp,
375 gdb.base/kill-after-signal.exp, gdb.base/label.exp,
376 gdb.base/langs.exp, gdb.base/lineinc.exp, gdb.base/list.exp,
377 gdb.base/logical.exp, gdb.base/long_long.exp,
378 gdb.base/longjmp.exp, gdb.base/macscp.exp, gdb.base/maint.exp,
379 gdb.base/memattr.exp, gdb.base/mips_pro.exp,
380 gdb.base/miscexprs.exp, gdb.base/morestack.exp,
381 gdb.base/moribund-step.exp, gdb.base/multi-forks.exp: Use
f8b41b00
TT
382 standard_testfile, standard_output_file, prepare_for_testing,
383 clean_restart.
384
289f9037
TT
3852013-06-27 Tom Tromey <tromey@redhat.com>
386
a8c97a87
TT
387 * gdb.base/ena-dis-br.exp, gdb.base/enum_cond.exp,
388 gdb.base/enumval.exp, gdb.base/environ.exp,
389 gdb.base/eu-strip-infcall.exp, gdb.base/eval-skip.exp,
390 gdb.base/exe-lock.exp, gdb.base/expand-psymtabs.exp,
391 gdb.base/exprs.exp, gdb.base/fileio.exp, gdb.base/find.exp,
392 gdb.base/fixsection.exp, gdb.base/foll-exec.exp,
393 gdb.base/foll-fork.exp, gdb.base/fortran-sym-case.exp,
394 gdb.base/frame-args.exp, gdb.base/freebpcmd.exp,
395 gdb.base/fullname.exp, gdb.base/funcargs.exp,
396 gdb.base/gcore-buffer-overflow.exp, gdb.base/gcore.exp,
397 gdb.base/gdb1090.exp, gdb.base/gdb11530.exp,
398 gdb.base/gdb11531.exp, gdb.base/gdb1250.exp, gdb.base/gdb1555.exp,
399 gdb.base/gdb1821.exp, gdb.base/gdbindex-stabs.exp,
400 gdb.base/gdbvars.exp, gdb.base/gnu-ifunc.exp,
401 gdb.base/gnu_vector.exp: Use standard_testfile,
402 standard_output_file, prepare_for_testing, clean_restart.
289f9037 403
f76495c8
TT
4042013-06-27 Tom Tromey <tromey@redhat.com>
405
a8c97a87
TT
406 * gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
407 gdb.base/call-sc.exp, gdb.base/call-signal-resume.exp,
408 gdb.base/call-strs.exp, gdb.base/callexit.exp,
409 gdb.base/callfuncs.exp, gdb.base/catch-load.exp,
410 gdb.base/catch-syscall.exp, gdb.base/charset.exp,
411 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
412 gdb.base/code-expr.exp, gdb.base/code_elim.exp,
413 gdb.base/commands.exp, gdb.base/completion.exp,
414 gdb.base/complex.exp, gdb.base/cond-expr.exp,
415 gdb.base/condbreak.exp, gdb.base/consecutive.exp,
416 gdb.base/constvars.exp, gdb.base/corefile.exp,
417 gdb.base/ctxobj.exp, gdb.base/cursal.exp, gdb.base/cvexpr.exp,
418 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
419 gdb.base/del.exp, gdb.base/detach.exp, gdb.base/dfp-test.exp,
420 gdb.base/display.exp, gdb.base/dmsym.exp, gdb.base/dump.exp,
421 gdb.base/dup-sect.exp: Use standard_testfile,
f76495c8
TT
422 standard_output_file, prepare_for_testing, clean_restart.
423
a64d2530
TT
4242013-06-27 Tom Tromey <tromey@redhat.com>
425
a8c97a87
TT
426 * gdb.base/a2-run.exp, gdb.base/all-bin.exp, gdb.base/annota1.exp,
427 gdb.base/annota3.exp, gdb.base/anon.exp, gdb.base/args.exp,
428 gdb.base/arithmet.exp, gdb.base/arrayidx.exp, gdb.base/assign.exp,
429 gdb.base/async-shell.exp, gdb.base/async.exp,
430 gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-noexec.exp,
431 gdb.base/attach-twice.exp, gdb.base/attach.exp, gdb.base/auxv.exp,
432 gdb.base/bang.exp, gdb.base/bfp-test.exp, gdb.base/bigcore.exp,
433 gdb.base/bitfields.exp, gdb.base/bitfields2.exp,
434 gdb.base/break-entry.exp, gdb.base/break-interp.exp,
435 gdb.base/break-on-linker-gcd-function.exp,
436 gdb.base/breakpoint-shadow.exp: Use standard_testfile,
a64d2530
TT
437 standard_output_file, prepare_for_testing, clean_restart.
438
aaff8d73
YQ
4392013-06-26 Yao Qi <yao@codesourcery.com>
440
441 * gdb.trace/mi-trace-frame-collected.exp: New.
442
a0743c90
YQ
4432013-06-25 Yao Qi <yao@codesourcery.com>
444
445 * boards/native-extended-gdbserver.exp: Set board_info
446 'gdb,predefined_tsv'.
447 * boards/native-gdbserver.exp: Likewise.
448 * boards/native-stdio-gdbserver.exp: Likewise.
449 * gdb.server/ext-attach.exp: Load trace-support.exp. Check
450 uploaded TSVs if target supports tracing.
451 * gdb.trace/tsv.exp: Check uploaded TSVs if target supports
452 tracing and target has predefined tsv.
453
9d6e6e84
HZ
4542013-06-25 Yao Qi <yao@codesourcery.com>
455 Hui Zhu <hui@codesourcery.com>
456 Pedro Alves <palves@redhat.com>
457
458 PR breakpoints/15075
459 PR breakpoints/15434
460 * gdb.base/dprintf-next.c: New file.
461 * gdb.base/dprintf-next.exp: New file.
462 * gdb.base/dprintf-non-stop.c: New file.
463 * gdb.base/dprintf-non-stop.exp: New file.
464 * gdb.base/dprintf.exp: Don't check "continue" in the output
465 of "info breakpoints".
466 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
467 Don't check "continue" in script field.
468
e7ab3185
TT
4692013-06-21 Tom Tromey <tromey@redhat.com>
470
471 * gdb.trace/actions.exp (check_tracepoint): Don't use a full file
472 name in a test name.
473
c898adb7
YQ
4742013-06-20 Yao Qi <yao@codesourcery.com>
475
476 * gdb.trace/mi-trace-unavailable.exp: Set tracepoint on 'foo'
477 and set an action.
478 (test_trace_unavailable): Test command -data-list-register-values
479 in the context of traceframe and with option --skip-unavailable.
480 * gdb.trace/trace-unavailable.c (foo): New.
481 (main): Call it.
482 * gdb.mi/gdb2549.exp: Update matching pattern.
483
4d157a3d
MF
4842013-06-19 Mike Frysinger <vapier@gentoo.org>
485
486 * gdb.arch/i386-avx.c (have_avx): Change __get_cpuid call to i386_cpuid.
487 * gdb.arch/i386-avx.exp (additional_flags): Add -I${srcdir}/../common.
488 * gdb.arch/i386-cpuid.h: Moved to ../common/i386-gcc-cpuid.h.
489 * gdb.arch/i386-sse.c: Call new i386_cpuid function.
490 * gdb.arch/i386-see.exp (additional_flags): Add -I${srcdir}/../common.
491
d69cace4
LM
4922013-06-19 Luis Machado <lgustavo@codesourcery.com>
493
494 * gdb.base/subst.exp: Delete default rules before further
495 tests.
496
9bdd0636
YQ
4972013-06-19 Yao Qi <yao@codesourcery.com>
498
499 * gdb.base/maint.exp: Make the test to command 'maint dump-me'
500 unsupported if it is not registered.
501
427cd150
TT
5022013-06-18 Tom Tromey <tromey@redhat.com>
503
504 * gdb.base/random-signal.c: New file.
505 * gdb.base/random-signal.exp: New file.
506
6de7c271
WN
5072013-06-18 Will Newton <will.newton@linaro.org>
508
509 * gdb.base/skip.c: Use comma to evaluate results of foo()
510 and bar() before passing to baz().
511 * gdb.base/skip.c: baz() now takes one argument instead of
512 two.
513
5bd1ef56
TT
5142013-06-18 Tom Tromey <tromey@redhat.com>
515
516 * gdb.dwarf2/implptrpiece.exp: New file.
517 * gdb.dwarf2/implptrconst.exp (d): New variable.
518 Print d.
519 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
520
e379b391
TT
5212013-06-18 Tom Tromey <tromey@redhat.com>
522
523 * lib/selftest-support.exp (do_self_tests): Reject remote or
524 non-native targets.
525 * gdb.gdb/complaints.exp: Remove check.
526 * gdb.gdb/observer.exp: Remove check.
527 * gdb.gdb/xfullpath.exp: Remove check.
528 * gdb.gdb/complaints.exp: Remove check.
529
4ec70201
PA
5302013-06-07 Pedro Alves <palves@redhat.com>
531
532 * boards/native-extended-gdbserver.exp: Remove semicolon.
533 * config/arm-ice.exp: Likewise.
534 * config/bfin.exp: Likewise.
535 * config/cygmon.exp: Likewise.
536 * config/h8300.exp: Likewise.
537 * config/monitor.exp: Likewise.
538 * config/sid.exp: Likewise.
539 * config/sim.exp: Likewise.
540 * config/slite.exp: Likewise.
541 * config/vx.exp: Likewise.
542 * gdb.arch/i386-bp_permanent.exp: Likewise.
543 * gdb.asm/asm-source.exp: Likewise.
544 * gdb.base/args.exp: Likewise.
545 * gdb.base/attach-pie-misread.exp: Likewise.
546 * gdb.base/auxv.exp: Likewise.
547 * gdb.base/bigcore.exp: Likewise.
548 * gdb.base/bitfields2.exp: Likewise.
549 * gdb.base/bitfields.exp: Likewise.
550 * gdb.base/break.exp: Likewise.
551 * gdb.base/break-interp.exp: Likewise.
552 * gdb.base/callfuncs.exp: Likewise.
553 * gdb.base/call-sc.exp: Likewise.
554 * gdb.base/commands.exp: Likewise.
555 * gdb.base/corefile.exp: Likewise.
556 * gdb.base/dbx.exp: Likewise.
557 * gdb.base/ending-run.exp: Likewise.
558 * gdb.base/exprs.exp: Likewise.
559 * gdb.base/funcargs.exp: Likewise.
560 * gdb.base/hbreak2.exp: Likewise.
561 * gdb.base/huge.exp: Likewise.
562 * gdb.base/list.exp: Likewise.
563 * gdb.base/memattr.exp: Likewise.
564 * gdb.base/overlays.exp: Likewise.
565 * gdb.base/printcmds.exp: Likewise.
566 * gdb.base/recurse.exp: Likewise.
567 * gdb.base/remotetimeout.exp: Likewise.
568 * gdb.base/reread.exp: Likewise.
569 * gdb.base/savedregs.exp: Likewise.
570 * gdb.base/scope.exp: Likewise.
571 * gdb.base/sepdebug.exp: Likewise.
572 * gdb.base/setshow.exp: Likewise.
573 * gdb.base/setvar.exp: Likewise.
574 * gdb.base/sigaltstack.exp: Likewise.
575 * gdb.base/siginfo-addr.exp: Likewise.
576 * gdb.base/siginfo.exp: Likewise.
577 * gdb.base/siginfo-obj.exp: Likewise.
578 * gdb.base/sigrepeat.exp: Likewise.
579 * gdb.base/sigstep.exp: Likewise.
580 * gdb.base/structs.exp: Likewise.
581 * gdb.base/testenv.exp: Likewise.
582 * gdb.base/twice.exp: Likewise.
583 * gdb.base/valgrind-db-attach.exp: Likewise.
584 * gdb.base/valgrind-infcall.exp: Likewise.
585 * gdb.base/varargs.exp: Likewise.
586 * gdb.base/watchpoint.exp: Likewise.
587 * gdb.cp/gdb1355.exp: Likewise.
588 * gdb.cp/misc.exp: Likewise.
589 * gdb.disasm/hppa.exp: Likewise.
590 * gdb.disasm/t01_mov.exp: Likewise.
591 * gdb.disasm/t02_mova.exp: Likewise.
592 * gdb.disasm/t03_add.exp: Likewise.
593 * gdb.disasm/t04_sub.exp: Likewise.
594 * gdb.disasm/t05_cmp.exp: Likewise.
595 * gdb.disasm/t06_ari2.exp: Likewise.
596 * gdb.disasm/t07_ari3.exp: Likewise.
597 * gdb.disasm/t08_or.exp: Likewise.
598 * gdb.disasm/t09_xor.exp: Likewise.
599 * gdb.disasm/t10_and.exp: Likewise.
600 * gdb.disasm/t11_logs.exp: Likewise.
601 * gdb.disasm/t12_bit.exp: Likewise.
602 * gdb.disasm/t13_otr.exp: Likewise.
603 * gdb.gdb/selftest.exp: Likewise.
604 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
605 * gdb.mi/mi-reverse.exp: Likewise.
606 * gdb.pascal/floats.exp: Likewise.
607 * gdb.python/py-inferior.exp: Likewise.
608 * gdb.threads/attach-into-signal.exp: Likewise.
609 * gdb.threads/pthreads.exp: Likewise.
610 * gdb.threads/thread_events.exp: Likewise.
611 * gdb.threads/watchthreads.exp: Likewise.
612 * gdb.trace/actions-changed.exp: Likewise.
613 * gdb.trace/actions.exp: Likewise.
614 * gdb.trace/ax.exp: Likewise.
615 * gdb.trace/backtrace.exp: Likewise.
616 * gdb.trace/change-loc.exp: Likewise.
617 * gdb.trace/deltrace.exp: Likewise.
618 * gdb.trace/disconnected-tracing.exp: Likewise.
619 * gdb.trace/ftrace.exp: Likewise.
620 * gdb.trace/infotrace.exp: Likewise.
621 * gdb.trace/passc-dyn.exp: Likewise.
622 * gdb.trace/passcount.exp: Likewise.
623 * gdb.trace/pending.exp: Likewise.
624 * gdb.trace/qtro.exp: Likewise.
625 * gdb.trace/range-stepping.exp: Likewise.
626 * gdb.trace/report.exp: Likewise.
627 * gdb.trace/save-trace.exp: Likewise.
628 * gdb.trace/status-stop.exp: Likewise.
629 * gdb.trace/strace.exp: Likewise.
630 * gdb.trace/tfile.exp: Likewise.
631 * gdb.trace/tfind.exp: Likewise.
632 * gdb.trace/trace-break.exp: Likewise.
633 * gdb.trace/tracecmd.exp: Likewise.
634 * gdb.trace/trace-mt.exp: Likewise.
635 * gdb.trace/tspeed.exp: Likewise.
636 * gdb.trace/tsv.exp: Likewise.
637 * gdb.trace/while-stepping.exp: Likewise.
638 * lib/gdb.exp: Likewise.
639 * lib/gdbserver-support.exp: Likewise.
640 * lib/java.exp: Likewise.
641 * lib/mi-support.exp: Likewise.
642 * lib/pascal.exp: Likewise.
643 * lib/prompt.exp: Likewise.
644 * lib/trace-support.exp: Likewise.
645
47d48711
PA
6462013-06-07 Pedro Alves <palves@redhat.com>
647
648 * gdb.ada/info_types.c: Fix formating in copyright header.
649 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
650 * gdb.base/float.c: Likewise.
651 * gdb.base/inferior-died.c: Likewise.
652 * gdb.base/interp.c: Likewise.
653 * gdb.base/jit-main.c: Likewise.
654 * gdb.base/jit-solib.c: Likewise.
655 * gdb.base/long_long.c: Likewise.
656 * gdb.base/longjmp.c: Likewise.
657 * gdb.base/nextoverexit.c: Likewise.
658 * gdb.base/pr11022.c: Likewise.
659 * gdb.base/prelink-lib.c: Likewise.
660 * gdb.base/prelink.c: Likewise.
661 * gdb.base/prologue.c: Likewise.
662 * gdb.base/restore.c: Likewise.
663 * gdb.base/sigchld.c: Likewise.
664 * gdb.base/solib-search-lib1.c: Likewise.
665 * gdb.base/solib-search-lib2.c: Likewise.
666 * gdb.base/solib-search.c: Likewise.
667 * gdb.base/solib-search.h: Likewise.
668 * gdb.base/whatis.c: Likewise.
669 * gdb.cp/abstract-origin.cc: Likewise.
670 * gdb.cp/anon-struct.cc: Likewise.
671 * gdb.cp/baseenum.cc: Likewise.
672 * gdb.cp/bs15503.cc: Likewise.
673 * gdb.cp/call-c-1.c: Likewise.
674 * gdb.cp/call-c.cc: Likewise.
675 * gdb.cp/class2.cc: Likewise.
676 * gdb.cp/classes.cc: Likewise.
677 * gdb.cp/cttiadd.cc: Likewise.
678 * gdb.cp/cttiadd1.cc: Likewise.
679 * gdb.cp/cttiadd2.cc: Likewise.
680 * gdb.cp/cttiadd3.cc: Likewise.
681 * gdb.cp/derivation.cc: Likewise.
682 * gdb.cp/derivation2.cc: Likewise.
683 * gdb.cp/dispcxx.cc: Likewise.
684 * gdb.cp/exception.cc: Likewise.
685 * gdb.cp/gdb2384-base.cc: Likewise.
686 * gdb.cp/gdb2384-base.h: Likewise.
687 * gdb.cp/gdb2384.cc: Likewise.
688 * gdb.cp/gdb2495.cc: Likewise.
689 * gdb.cp/mb-inline.h: Likewise.
690 * gdb.cp/mb-inline1.cc: Likewise.
691 * gdb.cp/mb-inline2.cc: Likewise.
692 * gdb.cp/member-name.cc: Likewise.
693 * gdb.cp/member-ptr.cc: Likewise.
694 * gdb.cp/misc.cc: Likewise.
695 * gdb.cp/namespace1.cc: Likewise.
696 * gdb.cp/nextoverthrow.cc: Likewise.
697 * gdb.cp/pr-574.cc: Likewise.
698 * gdb.cp/pr9631.cc: Likewise.
699 * gdb.cp/printmethod.cc: Likewise.
700 * gdb.cp/psmang1.cc: Likewise.
701 * gdb.cp/psmang2.cc: Likewise.
702 * gdb.cp/psymtab-parameter.cc: Likewise.
703 * gdb.cp/ptype-flags.cc: Likewise.
704 * gdb.cp/ref-params.cc: Likewise.
705 * gdb.cp/ref-types.cc: Likewise.
706 * gdb.cp/smartp.cc: Likewise.
707 * gdb.cp/try_catch.cc: Likewise.
708 * gdb.cp/userdef.cc: Likewise.
709 * gdb.cp/using-crash.cc: Likewise.
710 * gdb.cp/virtfunc.cc: Likewise.
711 * gdb.cp/virtfunc2.cc: Likewise.
712 * gdb.dwarf2/callframecfa.S: Likewise.
713 * gdb.dwarf2/dw2-ranges.c: Likewise.
714 * gdb.dwarf2/dw2-ranges2.c: Likewise.
715 * gdb.dwarf2/dw2-ranges3.c: Likewise.
716 * gdb.dwarf2/dw2-restore.S: Likewise.
717 * gdb.dwarf2/pieces.S: Likewise.
718 * gdb.dwarf2/valop.S: Likewise.
719 * gdb.java/jnpe.java: Likewise.
720 * gdb.mi/mi-stepn.c: Likewise.
721 * gdb.mi/mi-var-cp.cc: Likewise.
722 * gdb.mi/mi-var-rtti.cc: Likewise.
723 * gdb.mi/ns-stale-regcache.c: Likewise.
724 * gdb.mi/pr11022.c: Likewise.
725 * gdb.mi/solib-lib.c: Likewise.
726 * gdb.mi/solib-main.c: Likewise.
727 * gdb.python/py-arch.c: Likewise.
728 * gdb.python/py-block.c: Likewise.
729 * gdb.python/py-breakpoint.c: Likewise.
730 * gdb.python/py-events.c: Likewise.
731 * gdb.python/py-evthreads.c: Likewise.
732 * gdb.python/py-explore.c: Likewise.
733 * gdb.python/py-explore.cc: Likewise.
734 * gdb.python/py-finish-breakpoint.c: Likewise.
735 * gdb.python/py-finish-breakpoint2.cc: Likewise.
736 * gdb.python/py-symbol.c: Likewise.
737 * gdb.threads/execl.c: Likewise.
738 * gdb.threads/execl1.c: Likewise.
739
88ab5684
WN
7402013-06-07 Will Newton <will.newton@linaro.org>
741
742 * gdb.base/long_long.exp: Fix ARM EABI target glob.
743
42daa7a0
WN
7442013-06-07 Will Newton <will.newton@linaro.org>
745
746 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
747 and "starting".
748
f4059ef3
WN
7492013-06-07 Will Newton <will.newton@linaro.org>
750
751 * gdb.cp/anon-struct.exp: Conditionalize constructor and
752 destructor prototypes for ARM ABI.
753 * gdb.cp/m-static.exp: Likewise.
754
8cb5cc78
YQ
7552013-06-07 Yao Qi <yao@codesourcery.com>
756
757 * gdb.trace/mi-trace-unavailable.exp: New.
758 * gdb.trace/trace-unavailable.c: New.
759
c6cf1712
DE
7602013-06-06 Doug Evans <dje@google.com>
761
762 * gdb.cp/derivation.exp: Make tests have unique names.
763
bf6be0f4
TT
7642013-06-06 Tom Tromey <tromey@redhat.com>
765
766 * gdb.base/dump.exp (capture_value): Don't put expression into
767 test name if arguments passed in.
768 Rename a couple more tests to make them unique.
769
ebb022fa
TT
7702013-06-06 Tom Tromey <tromey@redhat.com>
771
772 * gdb.base/break-always.exp: Explicitly specify test name.
773
69fc87c2
DE
7742013-06-05 Doug Evans <dje@google.com>
775 Keith Seitz <keiths@redhat.com>
776
777 * gdb.cp/derivation2.cc: New file.
778 * gdb.cp/derivation.cc (main): Call foo2.
779 * gdb.cp/derivation.exp: Add tests for typedefs in another
780 file, and when there's an active block.
781
f993f39e
LM
7822013-06-05 Luis Machado <lgustavo@codesourcery.com>
783
784 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
785 from targets that use function descriptors in the virtual tables.
786 Handle presence of dot symbols.
787
afacd7f3
GB
7882013-06-04 Gary Benson <gbenson@redhat.com>
789
790 * gdb.base/break-probes.exp: New file.
791 * gdb.base/break-probes.c: Likewise.
792 * gdb.base/break-probes-solib.c: Likewise.
793 * gdb.base/info-shared.exp: New file.
794 * gdb.base/info-shared.c: Likewise.
795 * gdb.base/info-shared-solib1.c: Likewise.
796 * gdb.base/info-shared-solib2.c: Likewise.
797
a29a3fb7
GB
7982013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
799 Gary Benson <gbenson@redhat.com>
800
801 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
802 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
803 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
804 to be set to "no" to indicate that no ld.so copy should be made.
805 * gdb.base/break-interp.exp (solib_bp): New constant.
806 (reach_1): Use the above instead of "_dl_debug_state".
807 (test_attach): Likewise.
808 (test_ld): Likewise.
809 * gdb.threads/dlopen-libpthread.exp: New file.
810 * gdb.threads/dlopen-libpthread.c: Likewise.
811 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
812 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
813
62a813cc
YQ
8142013-05-30 Yao Qi <yao@codesourcery.com>
815
816 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
817 Add a test that no MI notification is emitted when executing
818 -exec-arguments.
819
8f56dad4
JK
8202013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
821
822 PR testsuite/12649
823 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
824 $mi_gdb_prompt expectation by mi_expect_stop.
825 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
826 (mi info dprintf second time): Replace them by mi_send_resuming_command
827 and mi_expect_stop.
828
c588eb20
GB
8292013-05-24 Gary Benson <gbenson@redhat.com>
830
831 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
832 backslash.
833 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
834 backslashes.
835 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
836 backslash.
837
c0ea94eb
YQ
8382013-05-24 Yao Qi <yao@codesourcery.com>
839
840 * gdb.trace/tfile.exp: Test inferior and thread.
841
db1ac436
YQ
8422013-05-24 Yao Qi <yao@codesourcery.com>
843 Pedro Alves <palves@redhat.com>
844
845 * gdb.base/range-stepping.exp: Skip the rest of tests if the
846 test fails.
847 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
848 Return 0 if the test passes, otherwise return 1.
849
b6abb10c
DE
8502013-05-23 Doug Evans <dje@google.com>
851
852 * boards/fission-dwp.exp: New file.
853
bc5065a7
PA
8542013-05-23 Yao Qi <yao@codesourcery.com>
855 Pedro Alves <palves@redhat.com>
856
857 * gdb.base/range-stepping.c: New file.
858 * gdb.base/range-stepping.exp: New file.
859 * gdb.trace/range-stepping.c: New file.
860 * gdb.trace/range-stepping.exp: New file.
861 * lib/range-stepping-support.exp: New file.
862
5f2e6b00
TT
8632013-05-22 Tom Tromey <tromey@redhat.com>
864
865 * gdb.cp/class2.cc (main): New local 'aref'.
866 * gdb.cp/class2.exp: Check printing of 'aref'.
867
e6ba475a
DE
8682013-05-22 Doug Evans <dje@google.com>
869
870 * gdb.threads/wp-replication.c (main): Insert some code at the start
871 to ensure the breakpoint on main is only hit once. Fix comment.
872
52c935b6
KS
8732013-05-21 Keith Seitz <keiths@redhat.com>
874 Pedro Alves <palves@redhat.com>
875
876 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
877 gdb_expect.
878 Add test to flush the remaining input buffer so that this
879 file passes testsuite/12649.
880
bd9673a4
PW
8812013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
882
883 * gdb.base/catch-signal-fork.exp: New file.
884 * gdb.base/catch-signal-fork.c: New file.
885
69a97597
SA
8862013-05-21 Sterling Augustine <saugustine@google.com>
887
888 * boards/remote-stdio-gdbserver.exp: New file.
889
44e97363
JK
8902013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
891
892 PR testsuite/12649
893 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
894 racy matches.
895
02392865
CG
8962013-05-21 Christian Groessler <chris@groessler.org>
897
898 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
899 since it's not supported in all shells.
900
c5867ab6
HZ
9012013-05-21 Hui Zhu <hui@codesourcery.com>
902
903 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
904 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
905
6c9e2db4
DE
9062013-05-20 Doug Evans <dje@google.com>
907
908 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
909 (_handle_DW_TAG): Use it.
910 (cu, tu): Replace parameters is_64, version, addr_size with options.
911 All callers updated. Add Fission support.
912 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
913 * gdb.dwarf2/method-ptr.exp: Ditto.
914 * gdb.dwarf2/nostaticblock.exp: Ditto.
915 * gdb.dwarf2/subrange.exp: Ditto.
916 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
917
4a6e676c
TT
9182013-05-20 Tom Tromey <tromey@redhat.com>
919
920 * gdb.gdb/python-selftest.exp: New file.
921
e19d3afb
DE
9222013-05-20 Doug Evans <dje@google.com>
923
924 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
925 -fdebug-types-section.
926
4d804846
JB
9272013-05-20 Joel Brobecker <brobecker@adacore.com>
928
929 * gdb.ada/float_param: New testcase.
930
8d324e83
DE
9312013-05-17 Doug Evans <dje@google.com>
932
7d0c9981
DE
933 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
934 Add tests for "maint check-symtabs", "maint expand-symtabs".
935
8d324e83
DE
936 * gdb.base/maint.exp: Remove testing of individual maint command
937 help output.
938
177aadc4
PA
9392013-05-16 Pedro Alves <palves@redhat.com>
940
941 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
942 comment. Use gdb_test_no_output.
943
b8fea896
JB
9442013-05-16 Joel Brobecker <brobecker@adacore.com>
945
946 * gdb.ada/complete.exp: Add test verifying completion using
947 the "tab" key.
948
52c935b6
KS
9492013-05-15 Keith Seitz <keiths@redhat.com>
950
951 * gdb.base/filesym.exp: New completer test.
952 * gdb.base/filesym.c: New file.
953
ed0f00b8
PA
9542013-05-15 Pedro Alves <palves@redhat.com>
955
956 * gdb.base/fixsection.c: Remove attribution.
957 * gdb.base/watch-read.exp: Ditto.
958
55fb6d27
TT
9592013-05-13 Tom Tromey <tromey@redhat.com>
960
961 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
962 size and change type sizes to 4 bytes.
963
ac1ca910
TT
9642013-05-13 Tom Tromey <tromey@redhat.com>
965
966 * gdb.base/exprs.exp (test_expr): Add regression test.
967 * gdb.base/exprs.c (null_t_struct): New global.
968
8414efef
MB
9692013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
970
971 * gdb.base/default.exp: Disable history saving.
972 * gdb.base/setshow.exp: Likewise.
973
9779ab84
PA
9742013-05-10 Pedro Alves <palves@redhat.com>
975
976 PR remote/15455
977
978 * gdb.trace/qtro.c: New file.
979 * gdb.trace/qtro.exp: New file.
980
1e611234
PM
9812013-05-10 Phil Muldoon <pmuldoon@redhat.com>
982
983 * gdb.python/py-framefilter.py: New File.
984 * gdb.python/py-framefilter-mi.exp: Ditto.
985 * gdb.python/py-framefilter.c: Ditto.
986 * gdb.python/py-framefilter-mi.exp: Ditto.
987 * gdb.python/py-framefilter-mi.c: Ditto,
988 * gdb.python/py-framefilter-gdb.py.in: Ditto.
989
5e4c3ac4
TT
9902013-05-08 Tom Tromey <tromey@redhat.com>
991
992 * gdb.base/solib-search.exp: Set test name for "set
993 solib-search-path" test.
994
993654a9
HAQ
9952013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
996
997 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
998 (set_a_tracepoint): Set tracepoint before prologue.
999 (run_trace_experiment): Test setup_tracepoints and 'break end'
1000 in it.
1001 (trace_buffer_normal): Remove.
1002 (gdb_trace_circular_tests): Remove. Move tests to...
1003 (top level): ...here. Call 'runto_main' before checking for
1004 trace support. Use commands to check the support for circular
1005 trace buffer and changing of trace buffer size. Add test
1006 to calculate size of single frame. Use this size to
1007 calculate the size of trace buffer. Use 'tfind pc func9'
1008 instead of 'tfind 9'. Use 'with_test_prefix'.
1009
c95aea6b
TT
10102013-05-07 Tom Tromey <tromey@redhat.com>
1011
1012 * lib/selftest-support.exp: New file.
1013 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1014 do_self_tests.
1015 (setup_test, find_gdb): Remove.
1016 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
1017 do_self_tests.
1018 (setup_test, find_gdb): Remove.
1019 (test_observer): Don't call setup_test. Remove argument.
1020 * gdb.gdb/selftest.exp: Load selftest-support.exp.
1021 (find_gdb): Remove.
1022 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
1023 do_self_tests.
1024 (setup_test, find_gdb): Remove.
1025 (test_with_self): Don't call setup_test. Remove argument.
1026
1f031429
PA
10272013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1028
1029 * gdb.arch/system-gcore.exp: Remove.
1030 * gdb.arch/gcore.c: Remove.
1031 * gdb.base/gcore.exp: Add "info reg system".
1032
58ce7251
SDJ
10332013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
1034
1035 PR breakpoints/15413:
1036 * gdb.base/pending.exp: Add test for completion of the "condition"
1037 command for pending breakpoints.
1038 * gdb.linespec/linespec.ex: Add test for completion of the
1039 "condition" command when dealing with multiple locations.
1040
aacbb8a5
LM
10412013-05-07 Luis Machado <lgustavo@codesourcery.com>
1042
1043 * gdb.threads/wp-replication.c: New file.
1044 * gdb.threads/wp-replication.exp: New file.
1045
2dd6254d
SL
10462013-05-06 Sandra Loosemore <sandra@codesourcery.com>
1047
1048 * gdb.xml/tdesc-regs.exp: Add case for nios2.
1049
c2a96e8c
DE
10502013-05-06 Doug Evans <dje@google.com>
1051
b903e17e
DE
1052 * gdb.base/solib-search-lib1.c: New file.
1053 * gdb.base/solib-search-lib2.c: New file.
1054 * gdb.base/solib-search.c: New file.
1055 * gdb.base/solib-search.h: New file.
1056 * gdb.base/solib-search.exp: New file.
1057
fac51dd9
DE
1058 * lib/gdb.exp (gdb_core_cmd): New function.
1059 * gdb.arch/system-gcore.exp: Use it.
1060 * gdb.arch/vsx-regs.exp: Ditto.
1061 * gdb.base/gcore.exp: Ditto.
1062 * gdb.threads/gcore-thread.exp: Ditto.
1063
c2a96e8c
DE
1064 * gdb.reverse/shr.h: New file.
1065 * gdb.reverse/shr1.c: New file.
1066 * gdb.reverse/shr2.c: #include "shr.h".
1067 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
1068 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
1069 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
1070 Update tests using sleep/printf to use shr2.sl instead.
1071 * gdb.reverse/solib-reverse.exp: Ditto.
1072
b6807d98
TT
10732013-05-06 Tom Tromey <tromey@redhat.com>
1074
1075 * gdb.dwarf2/implptrconst.c: New file.
1076 * gdb.dwarf2/implptrconst.exp: New file.
1077 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
1078 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
1079 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
1080
96f7d3f1
PW
10812013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1082
1083 * gdb.base/catch-sig.c (main): Raise SIGINT.
1084 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
1085
1ebff1fd
HAQ
10862013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
1087
1088 * status-stop.exp (test_tstart_tstart): Check for error
1089 returned by the second 'tstart' command.
1090
f92b06da
WT
10912013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
1092
1093 * gdb.xml/maint_print_struct.exp: New file.
1094 * gdb.xml/maint_print_struct.xml: New file.
1095
ff546935
TT
10962013-04-25 Tom Tromey <tromey@redhat.com>
1097
1098 * gdb.dwarf2/nostaticblock.exp: New file.
1099
bf9e4d0c
MB
11002013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
1101
1102 PR gdb/10462
1103 * gdb.base/setshow.exp: Add test case.
1104
a11cfd87
HZ
11052013-04-23 Hui Zhu <hui@codesourcery.com>
1106
1107 PR gdb/15293
a11cfd87
HZ
1108 * gdb.base/dprintf.exp: Add ignore command.
1109
2d9442cc
HZ
11102013-04-23 Hui Zhu <hui@codesourcery.com>
1111
1112 PR gdb/15165
2d9442cc
HZ
1113 * gdb.base/save-bp.exp: Add test for dprintf.
1114
0f3305ed
TT
11152013-04-22 Tom Tromey <tromey@redhat.com>
1116
1117 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
1118 notice_open_fds.
1119
d504301e
SDJ
11202013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1121
1122 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
1123 ldflags.
1124
9991b207
SDJ
11252013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
1126
1127 * gdb.arch/arm-bl-branch-dest.c: New file.
1128 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
1129
433730c9
PA
11302013-04-19 Vladimir Kargov <kargov@gmail.com>
1131 Pedro Alves <palves@redhat.com>
1132
1133 * gdb.arch/i386-float.S: New file.
1134 * gdb.arch/i386-float.exp: New file.
1135
9a908334
LM
11362013-04-18 Luis Machado <lgustavo@codesourcery.com>
1137
1138 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
1139 type void *.
1140
4f22ed5c
DE
11412013-04-17 Doug Evans <dje@google.com>
1142
1143 * lib/dwarf.exp (Dwarf): New proc "tu".
1144 * gdb.dwarf2/missing-sig-type.exp: New file.
1145
a0d3f2f5
SCR
11462013-04-15 Siva Chandra Reddy <sivachandra@google.com>
1147
1148 Add option to link testcases with Pthreads library when
1149 using 'prepare_for_testing' in tests.
1150
1151 * lib/gdb.exp (build_executable_from_specs): Use
1152 gdb_compile_pthreads to compile if option "pthreads" is
1153 specified.
1154
cc16e6c9
TT
11552013-04-15 Tom Tromey <tromey@redhat.com>
1156
1157 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
1158
72f1fe8a
TT
11592013-04-15 Tom Tromey <tromey@redhat.com>
1160
1161 * gdb.base/default.exp: Update for $_exception.
1162 * gdb.cp/exceptprint.cc: New file.
1163 * gdb.cp/exceptprint.exp: New file.
1164 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
1165
6e72ca20
TT
11662013-04-15 Tom Tromey <tromey@redhat.com>
1167
1168 * gdb.cp/typeid.cc: New file.
1169 * gdb.cp/typeid.exp: New file.
1170
591f19e8
TT
11712013-04-15 Tom Tromey <tromey@redhat.com>
1172
1173 * gdb.cp/exception.exp: Add "catch rethrow" tests.
1174
da9160e4
YQ
11752013-04-13 Yao Qi <yao@codesourcery.com>
1176
1177 * gdb.base/completion.exp: Test completion of command
1178 'target ctf' if target ctf is supported.
1179
f81d1120
PA
11802013-04-10 Pedro Alves <palves@redhat.com>
1181
1182 * gdb.base/completion.exp: Test "set height", "set listsize" and
1183 "set trace-buffer-size" completion.
1184 * gdb.base/setshow.exp: Test "set height unlimited".
1185 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
1186 unlimited".
1187
393fd4c3
YQ
11882013-04-10 Yao Qi <yao@codesourcery.com>
1189
1190 * gdb.trace/actions.exp: Save trace data to CTF.
1191 Change to ctf target if GDB supports, read CTF data in ctf
1192 target, and check the actions of tracepoints.
1193 * gdb.trace/while-stepping.exp: Likewise.
1194 * gdb.trace/report.exp: Test GDB saves trace data to CTF
1195 format and read CTF trace file if GDB supports.
1196 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
1197 target is supported, change to ctf target, read trace data and
1198 check output of command "tstatus".
1199 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
1200 read CTF data by target ctf and call check_tsv.
1201
b7a273f8
YQ
12022013-04-10 Yao Qi <yao@codesourcery.com>
1203
1204 * gdb.trace/actions.exp (check_tracepoint): New.
1205 (top level): Start the tracing and check the actions of
1206 tracepoints. Save trace data to tfile format. Restart GDB
1207 and read trace file in tfile target. Check the actions of
1208 tracepoints again.
1209 * gdb.trace/while-stepping.exp: Likewise.
1210
f3786771
YQ
12112013-04-10 Yao Qi <yao@codesourcery.com>
1212
1213 * gdb.trace/report.exp: Use standard_output_file for saved
1214 trace file.
1215
5c2b4418
HZ
12162013-04-10 Hui Zhu <hui@codesourcery.com>
1217
1218 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
1219 (MISCELLANEOUS): Add dprintf-pendshr.sl.
1220 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
1221
f7543f0a
JK
12222013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1223
1224 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
1225 response.
1226
f6de8ec2
PA
12272013-04-08 Pedro Alves <palves@redhat.com>
1228
1229 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
1230 the location.
1231
b8abfd58
SL
12322013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1233
1234 * gdb.cp/cplabel.exp: Allow empty directory in file reported
1235 for breakpoint location.
1236
156bffd0
SL
12372013-04-04 Sandra Loosemore <sandra@codesourcery.com>
1238
1239 * gdb.linespec/linespec.exp: Make dir/file:line tests
1240 conditional for non-remote hosts only.
1241
c9a6ce02
PA
12422013-04-04 Stan Shebs <stan@codesourcery.com>
1243 Pedro Alves <palves@redhat.com>
1244
1245 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
1246 * gdb.trace/actions-changed.c: New file.
1247 * gdb.trace/actions-changed.exp: New file.
1248 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
1249 (gdb_trace_setactions_command): ... this. Add "actions_command"
1250 parameter, and handle it.
1251 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
1252
4bd05f24
YQ
12532013-04-04 Yao Qi <yao@codesourcery.com>
1254
1255 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
1256 'step'.
1257
3758b5ce
YQ
12582013-04-03 Yao Qi <yao@codesourcery.com>
1259
1260 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
1261 "tfile-basic.tf".
1262 (test_tfind_tfile): Likewise.
1263
1dcaed0d
YQ
12642013-04-03 Yao Qi <yao@codesourcery.com>
1265
1266 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
1267 "tfile-basic.tf" instead of "basic.tf".
1268 (write_error_trace_file): Pass argument "tfile-error.tf"
1269 instead of "error.tf".
1270 * gdb.trace/tfile.exp: Update tfile names to
1271 "tfile-basic.tf" and "tfile-error.tf".
1272
0e7a53fc
SL
12732013-04-02 Sandra Loosemore <sandra@codesourcery.com>
1274
1275 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
1276 empty directory in file for breakpoint hit.
1277
9852c492
YQ
12782013-03-29 Yao Qi <yao@codesourcery.com>
1279
1280 * gdb.base/completion.exp: Test completion of commands
1281 "target core", "target tfile" and "target exec".
1282 * gdb.trace/tfile.exp: Test completion of command
1283 "target tfile".
1284
af312be7
JB
12852013-03-28 Joel Brobecker <brobecker@adacore.com>
1286
1287 * gdb.ada/win_fu_syms: New testcase.
1288
e4a48d9d
DE
12892013-03-28 Doug Evans <dje@google.com>
1290
1291 * gdb.base/maint.exp (maint print statistics): Update expected output.
1292
7f7cc265
PA
12932013-03-28 Pedro Alves <palves@redhat.com>
1294
1295 PR gdb/15294
1296
1297 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
1298 mean unlimited instead of $arg < 0.
1299 (test_listsize): Remove "listsize of 0 suppresses output" test.
1300 Test that "set listsize 0" ends up with an unlimited listsize.
1301
fc0da894
PA
13022013-03-28 Pedro Alves <palves@redhat.com>
1303
1304 * gdb.base/list.exp (last_line): New global.
1305 (last_line_re): New global.
1306 (test_listsize, test_list_function, test_list_forward)
1307 (test_repeat_list_command, test_list_range)
1308 (test_list_filename_and_function): Use them.
1309 * gdb.base/list0.c: Comment the last line of the file with "last
1310 line".
1311
abe7b711
PA
13122013-03-28 Pedro Alves <palves@redhat.com>
1313
1314 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
1315 list the whole file.
1316
15b3979c
PA
13172013-03-28 Pedro Alves <palves@redhat.com>
1318
1319 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
1320 "set listsize".
1321
96811e3b
KS
13222013-03-26 Keith Seitz <keiths@redhat.com>
1323
1324 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
1325 from passing.
1326
4043f22b
PA
13272013-03-26 Pedro Alves <palves@redhat.com>
1328
1329 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
1330 until after GDB has run.
1331
14a1aa17
YQ
13322013-03-26 Yao Qi <yao@codesourcery.com>
1333
1334 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
1335 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
1336
99c819ee
MM
13372013-03-26 Markus Metzger <markus.t.metzger@intel.com>
1338
1339 * gdb.btrace/enable.exp: Add regression test.
1340
24955f63
TT
13412013-03-25 Tom Tromey <tromey@redhat.com>
1342
1343 * gdb.cp/m-static.exp: Add destructor-printing tests.
1344
fce632b6
TT
13452013-03-25 Tom Tromey <tromey@redhat.com>
1346
1347 * gdb.cp/m-static.exp: Add constructor ptype tests.
1348 * gdb.cp/m-static.cc (single_constructor): New class.
1349 (main): Make instance of single_constructor.
1350
598d3636
JK
13512013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1352 Pedro Alves <palves@redhat.com>
1353
1354 * gdb.server/server-kill.c: New file.
1355 * gdb.server/server-kill.exp: New file.
1356
c12440c9
PA
13572013-03-21 Pedro Alves <palves@redhat.com>
1358
1359 * gdb.trace/trace-buffer-size.exp (get default buffer size):
1360 Expect $gdb_prompt in gdb_test_multiple.
1361
bd712aed
DE
13622013-03-21 Doug Evans <dje@google.com>
1363
1364 * gdb.base/maint.exp: Update tests for per-command stats.
1365
b2f83c08
TT
13662013-03-21 Tom Tromey <tromey@redhat.com>
1367
1368 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
1369 * gdb.cp/misc.exp: Add test for FILENAME:: case.
1370
ef0026f0
PA
13712013-03-20 Pedro Alves <palves@redhat.com>
1372
1373 PR gdb/15289
1374
1375 * gdb.base/remote.exp: Test
1376 "set remote hardware-watchpoint-limit -1",
1377 "set remote hardware-breakpoint-limit -1",
1378 "set remote hardware-watchpoint-limit 2147483647" and
1379 "set remote hardware-breakpoint-limit 2147483647".
1380
3f1175a9
PA
13812013-03-20 Pedro Alves <palves@redhat.com>
1382 Yao Qi <yao@codesourcery.com>
1383
1384 * gdb.trace/tfile.c: Add comments.
1385 (nonconstglob): New global.
1386 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
1387 global that is not covered by the trace frame. Test
1388 disassembling.
1389
a09ae1c1
JK
13902013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1391
1392 * gdb.base/valgrind-infcall.exp
1393 (continue #$continue_count) <remote connection closed>
1394 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
1395 $valgrind_pid.
1396
9ce98649
TT
13972013-03-15 Tom Tromey <tromey@redhat.com>
1398
1399 * gdb.cp/overload.cc (intintfunc): New.
1400 * gdb.cp/overload.exp: Add regression test.
1401
0a251e08
YQ
14022013-03-15 Yao Qi <yao@codesourcery.com>
1403
1404 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
1405 using with_test_prefix.
1406 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
1407 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
1408 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
1409 * gdb.threads/watchpoint-fork.exp (test): Likewise.
1410 * gdb.base/break-interp.exp (test_core): Likewise.
1411 (test_attach_gdb): Likewise.
1412 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
1413 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
1414 Likewise.
1415 * gdb.base/jit-so.exp (one_jit_test): Likewise.
1416 * gdb.base/jit.exp (one_jit_test): Likewise.
1417 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
1418 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
1419 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
1420 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
1421 Likewise.
1422 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1423 Likewise.
1424 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
1425 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
1426 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
1427 (tracepoint_change_loc_2): Likewise.
1428 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1429 Likewise.
1430 (disconnected_tfind): Likewise.
1431 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
1432 Likewise.
1433 (test_tfind_remote): Likewise.
1434 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
1435 Likewise.
1436 (test_pending_resolved): Likewise.
1437 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
1438 Likewise.
1439 (test_upload_tsv): Likewise.
1440 * gdb.trace/pending.exp (pending_tracepoint_resolved):
1441 Likewise.
1442 (pending_tracepoint_works): Likewise.
1443 * gdb.trace/report.exp (use_collected_data): Likewise.
1444 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
1445 Likewise.
1446 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
1447 * gdb.trace/strace.exp (strace_info_marker): Likewise.
1448 (strace_trace_on_same_addr): Likewise.
1449 (strace_trace_on_diff_addr): Likewise.
1450 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
1451 (gdb_collect_locals_test): Likewise.
1452 (gdb_unavailable_registers_test): Likewise.
1453 (gdb_collect_globals_test): Likewise.
1454
2c415c0f
YQ
14552013-03-15 Yao Qi <yao@codesourcery.com>
1456
1457 * gdb.base/condbreak.exp: Add semicolon back which was removed
1458 by my previous commit.
1459
ae59b1da
YQ
14602013-03-14 Yao Qi <yao@codesourcery.com>
1461
1462 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
1463 'return'.
1464 (gdb_target_monitor, gdb_load): Likewise.
1465 * config/sid.exp (gdb_load): Likewise.
1466 * config/slite.exp (gdb_load): Likewise.
1467 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
1468 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
1469 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
1470 (single_step_until): Likewise.
1471 * gdb.arch/powerpc-d128-regs.exp: Likewise.
1472 * gdb.arch/system-gcore.exp: Likewise.
1473 * gdb.base/bigcore.exp (extract_heap): Likewise.
1474 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
1475 * gdb.base/call-ar-st.exp: Likewise.
1476 * gdb.base/call-rt-st.exp: Likewise.
1477 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
1478 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
1479 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
1480 * gdb.base/corefile.exp: Likewise.
1481 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
1482 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
1483 * gdb.base/fixsection.exp: Likewise.
1484 * gdb.base/funcargs.exp: Likewise.
1485 * gdb.base/gcore-buffer-overflow.exp: Likewise.
1486 * gdb.base/gcore-relro.exp: Likewise.
1487 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
1488 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
1489 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
1490 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
1491 * gdb.base/list.exp: Likewise.
1492 (set_listsize): Likewise.
1493 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
1494 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
1495 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
1496 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
1497 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
1498 * gdb.base/setvar.exp: Likewise.
1499 (test_set): Likewise.
1500 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
1501 * gdb.base/solib-overlap.exp: Likewise.
1502 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
1503 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
1504 * gdb.base/watchpoint.exp (initialize): Likewise.
1505 (test_simple_watchpoint): Likewise.
1506 (test_disabling_watchpoints): Likewise.
1507 (test_watchpoint_triggered_in_syscall): Likewise.
1508 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1509 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1510 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1511 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1512 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1513 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1514 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1515 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1516 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1517 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1518 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1519 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1520 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1521 * gdb.mi/gdb792.exp: Likewise.
1522 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1523 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1524 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1525 * gdb.threads/gcore-thread.exp: Likewise.
1526 (load_core): Likewise.
1527 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1528 (test_startup, check_control_c): Likewise.
1529 * gdb.threads/sigstep-threads.exp: Likewise.
1530 * gdb.threads/thread_check.exp: Likewise.
1531 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1532 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1533 (set_a_tracepoint, trace_buffer_normal): Likewise.
1534 (gdb_trace_circular_tests): Likewise.
1535 * gdb.trace/collection.exp: Likewise.
1536 * gdb.trace/disconnected-tracing.exp: Likewise.
1537 * gdb.trace/infotrace.exp: Likewise.
1538 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1539 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1540 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1541 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1542 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1543 * gdb.trace/stap-trace.exp: Likewise.
1544 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1545 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1546 * gdb.trace/trace-buffer-size.exp: Likewise.
1547 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1548 * gdb.trace/unavailable.exp: Likewise.
1549 * gdb.trace/while-dyn.exp: Likewise.
1550 * lib/fortran.exp (set_lang_fortran): Likewise.
1551 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1552 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1553 (default_gdb_start, get_compiler_info): Likewise.
1554 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1555 (get_debug_format, setup_xfail_format): Likewise.
1556 (rerun_to_main, gdb_skip_float_test): Likewise.
1557 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1558 * lib/java.exp (set_lang_java): Likewise.
1559 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1560 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1561 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1562 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1563 * lib/objc.exp (set_lang_objc): Likewise.
1564 * lib/pascal.exp (set_lang_pascal): Likewise.
1565 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1566 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1567 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1568
bb869963
SDJ
15692013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1570
1571 PR c++/15203
1572 PR c++/15210
1573 * gdb.cp/m-static.cc (keepalive_int): New function.
1574 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1575 * gdb.cp/m-static.exp: New test for `sintvar'.
1576
e2be70a0
YQ
15772013-03-14 Yao Qi <yao@codesourcery.com>
1578
1579 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1580 of 'tstatus' into tstatus_output.
1581 (top level): Save the trace data to tfile. Read trace file in
1582 tfile target. Check the trace status.
1583
8ddb1965
YQ
15842013-03-13 Yao Qi <yao@codesourcery.com>
1585
1586 * gdb.trace/tsv.exp (check_tsv): New.
1587 (top level): Save a tfile on current trace session. Call
1588 check_tsv on live target. Load the tfile with target tfile
1589 and call check_tsv again.
1590
045dd51f
YQ
15912013-03-13 Yao Qi <yao@codesourcery.com>
1592
1593 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1594 Replace some "gdb_test" with "gdb_test_no_output".
1595
82d049ab
PH
15962013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1597
1598 * gdb.ada/expr_delims.exp: New file.
1599 * gdb.ada/expr_delims/foo.adb: New file.
1600 * gdb.ada/expr_delims/pck.ads: New file.
1601 * gdb.ada/expr_delims/pck.adb: New file.
1602
cb8ea32b
KS
16032013-03-11 Keith Seitz <keiths@redhat.com>
1604
1605 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1606 both condition and thread. Then delete the watchpoint.
1607
2f1d9bdd
MM
16082013-03-11 Christian Himpel <christian.himpel@intel.com>
1609
1610 * Makefile.in: Add btrace testsuite.
1611 * configure: Regenerated.
1612 * configure.ac: Add btrace testsuite.
1613 * gdb.btrace/Makefile.in: New file.
1614 * gdb.btrace/enable.c: New file.
1615 * gdb.btrace/enable.exp: New file.
1616 * gdb.btrace/function_call_history.c: New file.
1617 * gdb.btrace/function_call_history.exp: New file.
1618 * gdb.btrace/instruction_history.c: New file.
1619 * gdb.btrace/instruction_history.exp: New file.
1620 * gdb.btrace/instruction_history.S: New file.
1621 * lib/gdb.exp: Add btrace skip proc.
1622
05c56a9d
JK
16232013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1624
1625 Fix entry-values if the callee called a noreturn function.
1626 * gdb.arch/amd64-tailcall-noret.S: New file.
1627 * gdb.arch/amd64-tailcall-noret.c: New file.
1628 * gdb.arch/amd64-tailcall-noret.exp: New file.
1629
9112db09
JK
16302013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1631
1632 Fix entry-values in C++ across CUs.
1633 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1634 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1635 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1636 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1637 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1638
be9a119c 16392013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
1640 Hafiz Abid Qadeer <abidh@codesourcery.com>
1641
1642 gdb/testsuite/
1643 * gdb.trace/trace-buffer-size.exp: New file.
1644 * gdb.trace/trace-buffer-size.c: New file.
1645
049109b0
PA
16462013-03-06 Pedro Alves <palves@redhat.com>
1647
1648 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1649 doesn't support the tested optional feature, call "unsupported"
1650 with the same test message as the "pass" case, instead of calling
1651 "pass" with a different message. Use the same text for the "fail"
1652 cases too.
1653
4aa54120
YQ
16542013-03-06 Yao Qi <yao@codesourcery.com>
1655
1656 * gdb.trace/tstatus.exp: Remove the invocation of
1657 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1658 (test_tracepoints): Don't set fast tracepoint.
1659 (top level): Don't check agent library is loaded or not.
1660
b8b71e63
YQ
16612013-03-06 Yao Qi <yao@codesourcery.com>
1662
1663 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1664 parentheses by "\\".
1665
33f448b1
JK
16662013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1667
1668 * gdb.linespec/base/one/thefile.cc (twodup): New.
1669 (m): Call it.
1670 * gdb.linespec/base/two/thefile.cc (dupname): New.
1671 (n): Call it.
1672 * gdb.linespec/break-ask.exp: New file.
1673 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1674
1c942fb9
YQ
16752013-02-28 Yao Qi <yao@codesourcery.com>
1676
1677 * gdb.trace/report.exp: Move some code to ...
1678 (use_collected_data): New.
1679 (top level): Call use_collected_data once on the live target.
1680 Save at file of the current trace session, load it with target
1681 tfile, and call use_collected_data again.
1682
5b967901
JK
16832013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1684
1685 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1686
6447023f
JK
16872013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1688
1689 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1690 Add final kill of ${valgrind_pid}.
1691
9f44fbc0
SCR
16922013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1693
1694 * gdb.python/py-arch.c: New test case
1695 * gdb.python/py-arch.exp: New tests to test
1696 gdb.Architecture.disassemble
1697 * gdb.python/Makefile.in: Add py-arch to the list of
1698 EXECUTABLES.
1699
4c9ad8c2
TT
17002013-02-18 Tom Tromey <tromey@redhat.com>
1701
1702 * gdb.dwarf2/subrange.exp: New file.
1703
f5911ea1
HAQ
17042013-02-15 Pedro Alves <pedro@codesourcery.com>
1705 Hafiz Abid Qadeer <abidh@codesourcery.com>
1706
1707 * gdb.trace/tfile.exp: Add test for -trace-status command.
1708
420f4384
JK
17092013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1710
1711 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1712 nanosleep by sleep.
1713
4819b3f8
PA
17142013-02-14 Pedro Alves <palves@redhat.com>
1715
1716 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1717
1773c82c
HAQ
17182013-02-14 Pedro Alves <pedro@codesourcery.com>
1719 Hafiz Abid Qadeer <abidh@codesourcery.com>
1720
1721 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1722
e234dfaf
TT
17232013-02-12 Tom Tromey <tromey@redhat.com>
1724
1725 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1726 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1727
6c01dd94
PA
17282013-02-12 Pedro Alves <palves@redhat.com>
1729
1730 * gdb.base/catch-signal.c: Update copyright years.
1731 * gdb.base/catch-signal.exp: Update copyright years.
1732 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1733 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1734 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1735 * gdb.dwarf2/dw2-error.S: Update copyright years.
1736 * gdb.dwarf2/dw2-error.c: Update copyright years.
1737 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1738 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1739 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1740
595fc67f
PA
17412013-02-12 Pedro Alves <palves@redhat.com>
1742
1743 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1744 message.
1745 * gdb.base/sigaltstack.exp: Ditto.
1746 * gdb.base/siginfo.exp: Ditto.
1747 * gdb.base/sizeof.exp: Ditto.
1748
17282693
PA
17492013-02-12 Pedro Alves <palves@redhat.com>
1750
1751 * gdb.mi/mi-basics.exp: Tweak intro comment.
1752 * gdb.mi/mi-break.exp: Tweak intro comment.
1753 * gdb.mi/mi-console.exp: Tweak intro comment.
1754 * gdb.mi/mi-file.exp: Tweak intro comment.
1755 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1756 * gdb.mi/mi-return.exp: Tweak intro comment.
1757 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1758 * gdb.mi/mi-until.exp: Tweak intro comment.
1759 * gdb.mi/mi-watch.exp: Tweak intro comment.
1760
8a4ac37e
PA
17612013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1762
1763 * gdb.server/no-thread-db.exp: New file.
1764 * gdb.server/no-thread-db.c: New file.
1765 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1766
c2792f5a
DE
17672013-02-11 Doug Evans <dje@google.com>
1768
1769 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1770 two decfloats.
1771
d9e98382
SDJ
17722013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1773
1774 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1775 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1776
a321661a
JK
17772013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1778
1779 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1780
134a2066
YQ
17812013-02-06 Yao Qi <yao@codesourcery.com>
1782
1783 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1784 to ...
1785 (test_create_delete_modify_tsv): ... here. New test on modifying
1786 the initial value of a tsv.
1787
5a2dc60a
JK
17882013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1789
1790 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1791 (cd .../rdir): ... here.
1792
233d95b5
JK
17932013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1794
1795 * gdb.linespec/base/one/header.h: New file.
1796 * gdb.linespec/base/two/header.h: New file.
1797 * gdb.linespec/macro-relative.c: New file.
1798 * gdb.linespec/macro-relative.exp: New file.
1799
fbd9ab74
JK
18002013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1801
1802 * gdb.base/fullpath-expand-func.c: New file.
1803 * gdb.base/fullpath-expand.c: New file.
1804 * gdb.base/fullpath-expand.exp: New file.
1805 * gdb.base/realname-expand-real.c: New file.
1806 * gdb.base/realname-expand.c: New file.
1807 * gdb.base/realname-expand.exp: New file.
1808
1b56eb55
JK
18092013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1810
1811 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1812 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1813
af529f8f
JK
18142013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1815
1816 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1817 (compare_filenames_for_search does not match)
1818 (compare_filenames_for_search does match): New tests.
1819
f5b95b50
JK
18202013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1821
1822 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1823
d47921b9
JK
18242013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1825
1826 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1827
8a92335b
JK
18282013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1829
1830 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1831 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1832 ${binfile}.mini_debuginfo-debuglink and
1833 ${binfile}.mini_debuginfo-debuglink.xz.
1834
17f2157d
TT
18352013-02-01 Tom Tromey <tromey@redhat.com>
1836
1837 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1838 attributes.
1839
d65f0a9c
TT
18402013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1841 Tom Tromey <tromey@redhat.com>
1842
1843 * gdb.dwarf2/method-ptr.exp: Link with c++.
1844 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1845
f25c0135
TT
18462013-01-31 Tom Tromey <tromey@redhat.com>
1847
1848 * gdb.base/jit.exp (compile_jit_test): New proc.
1849 Add PIE tests.
1850
7078baeb
TT
18512013-01-31 Tom Tromey <tromey@redhat.com>
1852
1853 * gdb.dwarf2/method-ptr.cc: New file.
1854 * gdb.dwarf2/method-ptr.exp: New file.
1855
1d24041a
TT
18562013-01-31 Tom Tromey <tromey@redhat.com>
1857
1858 * lib/dwarf.exp (namespace Dwarf): New.
1859
8d9878a4
TT
18602013-01-29 Tom Tromey <tromey@redhat.com>
1861
1862 * gdb.dwarf2/fission-reread.exp: Add unload test.
1863
bed911e5
DE
18642013-01-28 Doug Evans <dje@google.com>
1865
1866 * gdb.dwarf2/fission-loclists.exp: New file.
1867 * gdb.dwarf2/fission-loclists.S: New file.
1868
e229648e
JK
18692013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1870
1871 Code cleanup.
1872 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1873 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1874 and prepare_for_testing.
1875 * gdb.base/store.exp: Likewise.
1876
86700f00
TT
18772013-01-25 Tom Tromey <tromey@redhat.com>
1878
1879 * gdb.python/py-explore.exp: Expect the gdb prompt.
1880
8954db33
AB
18812013-01-25 Andrew Burgess <aburgess@broadcom.com>
1882
1883 * gdb.base/gnu_vector.c: New variable for use in tests.
1884 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1885 changes in scalar to vector casting and widening.
1886 * gdb.python/py-type.c: New variables for use in tests.
1887 * gdb.python/py-type.exp: Update vector related tests to reflect
1888 changes in scalar to vector casting and widening.
1889
2077afdd
TD
18902013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1891
1892 * gdb.base/prologue-include.c: New file.
1893 * gdb.base/prologue-include.exp: New file.
1894 * gdb.base/prologue-include.h: New file.
1895
d7499464
HAQ
18962013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1897
1898 PR gdb/13443
1899 * gdb.mi/mi-var-block.exp: Make test messages unique.
1900
e2a3e0f1
TT
19012013-01-23 Tom Tromey <tromey@redhat.com>
1902
1903 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1904
152fcc9c
TT
19052013-01-23 Tom Tromey <tromey@redhat.com>
1906
1907 * gdb.cp/converts.cc (main): Initialize 'a'.
1908
bea883fd
SCR
19092013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1910
1911 * testsuite/gdb.python/frame.exp: Add a test for
1912 gdb.Frame.architecture() method.
1913
0928e93d
PA
19142013-01-22 Pedro Alves <palves@redhat.com>
1915
1916 * gdb.base/annota1.exp (signal sent): No longer expect
1917 breakpoints-invalid.
1918 * gdb.cp/annota2.exp (continue until exit)
1919 (watch triggered on a.x): Ditto.
1920
9c97429f
PA
19212013-01-22 Pedro Alves <palves@redhat.com>
1922
1923 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1924 Adjust tests to breakpoints-invalid changes.
1925 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1926 variables.
1927 Adjust tests to breakpoints-invalid changes.
1928
187d10dd
PA
19292013-01-22 Pedro Alves <palves@redhat.com>
1930
1931 * gdb.base/annota1.exp (annotate ignore count change): Add
1932 expected output for failure case.
1933
ea3aedcb
TT
19342013-01-22 Tom Tromey <tromey@redhat.com>
1935
1936 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1937 call.
1938
998580f1
MK
19392013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1940
1941 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 1942 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
1943 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1944 Also handle 'thread' field.
1945 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1946 * gdb.mi/mi-watch.exp: Ditto.
1947 * lib/mi-support.exp: Ditto.
1948
8f1d5693
MK
19492013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1950
1951 * gdb.python/py-explore.exp: Improve a test
1952
2d8c5d7c
DB
19532013-01-18  David Blaikie  <dblaikie@gmail.com>
1954
1955 * gdb.base/label.c (main): Correct the type of the second
1956 parameter.
1957
46f35228
TT
19582013-01-18 Tom Tromey <tromey@redhat.com>
1959
1960 * gdb.dwarf2/trace-crash.s: New file.
1961 * gdb.dwarf2/trace-crash.exp: New file.
1962
5965d69d
HAQ
19632013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1964
43aaf8b6
PA
1965 PR gdb/13443
1966 * gdb.base/checkpoint.exp: Update test messages to make them
1967 unique.
5965d69d 1968
5ae4861a
YQ
19692013-01-18 Yao Qi <yao@codesourcery.com>
1970
1971 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1972 output of 'info tracepoints'.
1973 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1974 Likewise.
1975 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1976 * gdb.trace/disconnected-tracing.c (struct foo): New.
1977
d84fca2c
JK
19782013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1979
1980 * gdb.dwarf2/dw2-dos-drive.S: New file.
1981 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1982
aebb1cc9
DE
19832013-01-17 Doug Evans <dje@google.com>
1984
2782d512
DE
1985 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1986 CXX_FOR_TARGET.
1987
aebb1cc9
DE
1988 * boards/cc-with-tweaks.exp: New file.
1989
db2b2972
TT
19902013-01-17 Tom Tromey <tromey@redhat.com>
1991
1992 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1993
96343774
PA
19942013-01-17 Pedro Alves <palves@redhat.com>
1995
1996 Merge dg-extract-results.sh from upstream (svn 195224).
1997
1998 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1999 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
2000
2001 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2002 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
2003
2004 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 2005 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
2006
2007 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2008 * dg-extract-results.sh: Redirect grep output to /dev/null instead
2009 of grep -q.
2010
675921c0
SD
20112012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2012
2013 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
2014 interface.
2015 * gdb.base/jithost.c: New file.
2016 * gdb.base/jithost.h: New file.
2017 * gdb.base/jitreader.c : New file.
2018 * gdb.base/jit-protocol.h: New file.
2019
ab04a2af
TT
20202013-01-16 Tom Tromey <tromey@redhat.com>
2021
2022 * gdb.base/catch-signal.c: New file.
2023 * gdb.base/catch-signal.exp: New file.
2024
8ac3646f
TT
20252013-01-16 Tom Tromey <tromey@redhat.com>
2026
2027 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
2028
22fc223e
JK
20292013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2030
2031 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
2032
44478ab3
TT
20332013-01-14 Tom Tromey <tromey@redhat.com>
2034
2035 * gdb.base/completion.exp: Add "set gnutarget" test.
2036
06d66ee9
TT
20372013-01-14 Tom Tromey <tromey@redhat.com>
2038
2039 * gdb.dwarf2/dw2-restrict.S: New file.
2040 * gdb.dwarf2/dw2-restrict.c: New file.
2041 * gdb.dwarf2/dw2-restrict.exp: New file.
2042
c9bf0622
TT
20432013-01-14 Tom Tromey <tromey@redhat.com>
2044
2045 * gdb.dwarf2/dw2-error.exp: New file.
2046 * gdb.dwarf2/dw2-error.c: New file.
2047 * gdb.dwarf2/dw2-error.S: New file.
2048
5b12a61c
JK
20492013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2050
2051 * gdb.cp/parse-lang.cc: New file.
2052 * gdb.cp/parse-lang.exp: New file.
2053
f0a4b570
JK
20542013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2055
2056 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
2057 (set substitute-path): New test.
2058 (fullname present): Remove content.
2059 (substituted fullname): New test.
2060
f751cc97
JB
20612013-01-13 Joel Brobecker <brobecker@adacore.com>
2062
2063 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
2064 check. Move $gdb_py_is_py24 value check right after.
2065
04164e8e
JK
20662013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2067
2068 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
2069 targets.
2070
5bf480a5
YQ
20712013-01-11 Yao Qi <yao@codesourcery.com>
2072
2073 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
2074 for dprintf.
2075 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2076 Check the fields in "=breakpoint-created" for dprintf.
2077
f35a17b5
JK
20782012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2079
2080 * gdb.mi/mi-fullname-deleted.exp: New file.
2081
85817405
JK
20822012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2083
2084 * gdb.base/skip-solib.exp (info skip with pending file): Update the
2085 expected output.
2086 (info skip with pending file): Remove.
2087 (ignoring function in solib, info skip for function multiply): Update
2088 the expected output.
2089 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
2090 (info skip (delete 1), info skip after disabling all)
2091 (info skip after enabling all, info skip after disabling 4 2-3)
2092 (info skip after enabling 2-3, info skip 2-3)
2093 (info skip after deleting 2 3): Update the expected output.
2094 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
2095 statement to its initialization and return.
2096 * gdb.linespec/skip-two.exp: New file.
2097
27210e12
DE
20982012-12-19 Doug Evans <dje@google.com>
2099
2100 * gdb.base/maint.exp: Handle testing with .gdb_index.
2101
bb627a12
JB
21022012-12-19 Joel Brobecker <brobecker@adacore.com>
2103
2104 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
2105 Cavium to FSF.
2106
7785b880
JB
21072012-12-19 Joel Brobecker <brobecker@adacore.com>
2108
2109 * dg-extract-results.sh: Update contact info in copyright notice.
2110 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
2111 GPL v3 or later. Update contact info.
2112 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
2113 gdb.threads/watchpoint-fork-mt.c,
2114 gdb.threads/watchpoint-fork-parent.c,
2115 gdb.threads/watchpoint-fork-st.c,
2116 gdb.threads/watchpoint-fork.h: Likewise.
2117
f2a8bc8a
YQ
21182012-12-15 Yao Qi <yao@codesourcery.com>
2119
2120 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
2121 'installed' field in '=breakpoint-modified'.
2122 (test_reconnect): Check 'installed' field in
2123 '=breakpoint-modified' and '=breakpoint-created'.
2124
2125 * gdb.trace/actions.exp: Update test for 'installed' field.
2126 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
2127 (tracepoint_change_loc_2): Likewise.
2128 Check 'info tracepoint' display nothing else.
2129 * gdb.trace/deltrace.exp: Likewise.
2130 * gdb.trace/infotrace.exp: Likewise.
2131 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
2132 Likewise.
2133 * gdb.trace/passcount.exp: Likewise.
2134 * gdb.trace/tracecmd.exp: Likewise.
2135 * gdb.trace/while-stepping.exp: Likewise.
2136
6592e36f
TT
21372012-12-14 Tom Tromey <tromey@redhat.com>
2138
2139 * gdb.cp/member-name.exp: New file.
2140 * gdb.cp/member-name.cc: New file.
2141
7d27a96d
TT
21422012-12-14 Tom Tromey <tromey@redhat.com>
2143
2144 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
2145
f8c05d0d
DE
21462012-12-14 Doug Evans <dje@google.com>
2147
2148 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
2149 DW_OP_GNU_implicit_pointer is section-relative.
2150
451b7c33
TT
21512012-12-14 Tom Tromey <tromey@redhat.com>
2152
43aaf8b6 2153 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 2154
10e339df
PA
21552012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
2156
6fdff2c5 2157 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 2158
e780d813
DE
21592012-12-13 Doug Evans <dje@google.com>
2160
2161 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
2162 * gdb.multi/multi-arch.exp: Ditto.
2163
ca3dbcc8 21642012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 2165
ca3dbcc8
MG
2166 * gdb.mi/mi-catch-load-so.c: New. Clone of the
2167 catch load test library source file.
2168 * gdb.mi/mi-catch-load.c: New. Clone of the catch
2169 load test source file.
2170 * gdb.mi/mi-catch-load.exp: New. Test file for
2171 basic MI -catch-load and -catch-unload tests.
2172
2960a434
PK
21732012-12-11 Paul Koning <paul_koning@dell.com>
2174
2175 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
2176 exception.
2177 (_iterator_except): New function.
2178 (ArrayPrinter): Use _iterator function instead of local _iterator
2179 class for Python 3 compatibility.
2180 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 2181 _iterator.
2960a434
PK
2182 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
2183 execfile for Python 3 compatibility.
2184 * gdb.python/python.exp: Handle Python 2.4 exception traceback
2185 format in error_prompt test.
6fdff2c5 2186
9325cb04
PK
21872012-12-10 Paul Koning <paul_koning@dell.com>
2188
2189 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 2190 compatibility.
9325cb04
PK
2191 * gdb.python/py-block.exp: Ditto.
2192 * gdb.python/py-breakpoint.exp: Ditto.
2193 * gdb.python/py-cmd.exp: Ditto.
2194 * gdb.python/py-events.py: Ditto.
2195 * gdb.python/py-finish-breakpoint.py: Ditto.
2196 * gdb.python/py-finish-breakpoint2.exp: Ditto.
2197 * gdb.python/py-finish-breakpoint2.py: Ditto.
2198 * gdb.python/py-frame-inline.exp: Ditto.
2199 * gdb.python/py-frame.exp: Ditto.
2200 * gdb.python/py-infthread.exp: Ditto.
2201 * gdb.python/py-objfile.exp: Ditto.
2202 * gdb.python/py-parameter.exp: Ditto.
2203 * gdb.python/py-progspace.exp: Ditto.
2204 * gdb.python/py-prompt.exp: Ditto.
2205 * gdb.python/py-symbol.exp: Ditto.
2206 * gdb.python/py-symtab.exp: Ditto.
2207 * gdb.python/py-template.exp: Ditto.
2208 * gdb.python/py-value-cc.exp: Ditto.
2209 * gdb.python/python.exp: Ditto.
2210 * gdb.python/source2.py: Ditto.
2211 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 2212 compatibility.
9325cb04
PK
2213 Use sorted() function rather than sort() method.
2214 Accept either int or long values for enum values.
2215 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
2216 execfile for Python 3 compatibility.
2217 * gdb.python/py-evsignal.exp: Ditto.
2218 * gdb.python/py-evthreads.exp: Ditto.
2219 * gdb.python/py-mi.exp: Ditto.
2220 * gdb.python/py-pp-maint.exp: Ditto.
2221 * gdb.python/py-prettyprint.exp: Ditto.
2222 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 2223 Python 3 compatibility.
9325cb04
PK
2224 Skip tests for Python 2.4.
2225 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 2226 Python 3 compatibility.
9325cb04
PK
2227 Use byte string rather than character string in memory write test
2228 if Python 3.
2229 * gdb.python/py-pp-maint.py: Change class declarations to "new
2230 class" syntax.
2231 * gdb.python/py-prettyprint.py: Change iterator class to generator
2232 function for Python 3 compatibility.
2233 Make all classes "new style".
2234 Fix indentation issue and stray semicolon.
2235 * gdb.python/py-shared.expChange print syntax for Python 3
2236 compatibility.
2237 Define "long" if Python 3.
2238 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 2239 compatibility.
9325cb04
PK
2240 Accept either int or long values for enum values.
2241 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 2242 compatibility.
9325cb04
PK
2243 Skip "long" and "unicode" tests if Python 3.
2244 Accept either "type" or "class" in type checks.
2245 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
2246 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
2247
8b9737bf
TT
22482012-12-10 Tom Tromey <tromey@redhat.com>
2249
2250 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
2251 (test): Add "two_cu" argument.
2252 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
2253 for types; allow two CUs.
2254
1b80a9fa
JK
22552012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2256
2257 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
2258 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
2259
f0b6d50a
YQ
22602012-12-08 Yao Qi <yao@codesourcery.com>
2261 Pedro Alves <palves@redhat.com>
2262
2263 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
2264 '=breakpoint-created' when GDB merges the tracepoints of both
2265 sides.
2266
2f68a895
TT
22672012-12-07 Tom Tromey <tromey@redhat.com>
2268
2269 * gdb.base/break1.c (enum some_enum, union some_union): New.
2270 (some_enum_global, some_union_global, some_value): New globals.
2271 * gdb.base/completion.exp: Add tag completion tests.
2272
4fc5d43e
TT
22732012-12-07 Tom Tromey <tromey@redhat.com>
2274
2275 * gdb.base/completion.exp: Add tests for ptype and whatis
2276 completion.
2277
6559e013
JB
22782012-12-07 Joel Brobecker <brobecker@adacore.com>
2279
2280 * gdb.base/stale-infcall.exp: Fix copyright line.
2281
ae2b630d
JB
22822012-12-07 Joel Brobecker <brobecker@adacore.com>
2283
2284 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
2285
0ba2eb0f
TT
22862012-12-06 Pedro Alves <palves@redhat.com>
2287 Tom Tromey <tromey@redhat.com>
2288
2289 * gdb.base/exprs.exp: Add tests for cast to void.
2290
731145cb
TT
22912012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
2292
2293 * gdb.python/py-mi.exp: Correct expected results for attribute
2294 "dynamic" returned by -var-update.
2295 Add test case for correct handling of "diplayhint" for children
2296 of dynamic varobjs.
2297 * gdb.python/py-prettyprint.c (set_itme): New function.
2298 (bug_14741) New function.
2299 (main) Add call to bug_14741().
2300 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
2301
e58fcc15
UW
23022012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
2303
2304 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
2305 ${binfile}.funcsyms list.
2306
e9eb0d14
YQ
23072012-12-04 Yao Qi <yao@codesourcery.com>
2308
2309 PR gdb/13443
2310 * gdb.trace/actions.exp: Make test messages unique.
2311
4983028c
TT
23122012-11-29 Tom Tromey <tromey@redhat.com>
2313
2314 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
2315
ea5e6b0e
UW
23162012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
2317
2318 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
2319 * gdb.opencl/datatypes.exp: Likewise.
2320 * gdb.opencl/operators.exp: Likewise.
2321 * gdb.opencl/vec_comps.exp: Likewise.
2322
cdde3dfb
JG
23232012-11-29 Jerome Guitton <guitton@adacore.com>
2324
2325 * gdb.ada/iwide: New testcase.
2326
b50d69b5
JG
23272012-11-29 Jerome Guitton <guitton@adacore.com>
2328
2329 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
2330 ptype test.
2331
c2d3fccf
JG
23322012-11-29 Jerome Guitton <guitton@adacore.com>
2333
2334 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
2335 form {VARIANT_TYPE}ADDRESS.
2336
5edf51fe
YQ
23372012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
2338
2339 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
2340 (func): New function.
2341 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
2342 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
2343 pointers to members with pointer-to-function type.
2344
608e2dbb
TT
23452012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2346 Tom Tromey <tromey@redhat.com>
2347
2348 * gdb.base/gnu-debugdata.exp: New file.
2349 * gdb.base/gnu-debugdata.c: New file.
2350 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
2351 (gdb_unload): Return 0 on success.
2352
4648e588
JK
23532012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2354
2355 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
2356
17d6efc4
JB
23572012-11-26 Joel Brobecker <brobecker@adacore.com>
2358
2359 * gdb.base/empty_exe.exp: New testcase.
2360
ace21957
MF
23612012-11-20 Mike Frysinger <vapier@gentoo.org>
2362
2363 * gdb.base/completion.exp: Add test for help aliases completion.
2364
5c401a0a
YQ
23652012-11-20 Yao Qi <yao@codesourcery.com>
2366
2367 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
2368 Don't test 'maint set show-debug-regs'.
2369 Use command 'set remotecache' instead of
2370 'set circular-trace-buffer'.
2371
8dea366b
KS
23722012-11-16 Keith Seitz <keiths@redhat.com>
2373
2374 PR c++/13615
2375 * gdb.cp/baseenum.cc: New file.
2376 * gdb.cp/baseenum.exp: New file.
2377 * gdb.cp/derivation.cc (A): Add copyright.
2378 Add a typedef.
2379 (B): Use A::value_type instead of int. Change all references.
2380 (D): Use value_type instead of int. Change all references.
2381 (E): Likewise.
2382 (F); Likewise.
2383 (Z): New class.
2384 (ZZ): New class.
6fdff2c5 2385 (N, Base, Derived): New namespace and classes.
8dea366b
KS
2386 (main): Add instances of Z and ZZ.
2387 Make sure all symbols from N are kept.
2388 * gdb.cp/derivation.exp: Update typedef changes in tests.
2389 Add tests for class typedefs both before and after starting
2390 the inferior.
2391 Add tests for searching for a typedef while stopped in a
2392 method.
2393
5e34c6c3
LM
23942012-11-14 Luis Machado <lgustavo@codesourcery.com>
2395
2396 * gdb.mi/mi-var-create-rtti.c: New file.
2397 * gdb.mi/mi-var-create-rtti.exp: New file.
2398
5e487a5f
LM
23992012-11-14 Luis Machado <lgustavo@codesourcery.com>
2400
2401 * gdb.base/structs3.exp: Run to main before doing any tests.
2402
6d67b990
AB
24032012-11-14 Andrew Burgess <aburgess@broadcom.com>
2404
2405 * gdb.python/py-type.exp: Uniquify test names.
2406
e5d98164
YQ
24072012-11-14 Yao Qi <yao@codesourcery.com>
2408
2409 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
2410 (thread_function) [DEBUG]: Call 'printf'.
2411 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
2412 command line if 'DEBUG=1' is passed to test.
2413 Remove a pattern to match inferior's output.
2414
62747a60
TT
24152012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
2416
2417 * gdb.mi/mi-fill-memory.exp: New test.
2418
18a9fc12
TT
24192012-11-12 Tom Tromey <tromey@redhat.com>
2420
2421 * gdb.base/completion.exp: Update for "info type-printers".
2422 * gdb.python/py-typeprint.cc: New file.
2423 * gdb.python/py-typeprint.exp: New file.
2424 * gdb.python/py-typeprint.py: New file.
2425
bd69fc68
TT
24262012-11-12 Tom Tromey <tromey@redhat.com>
2427
2428 * gdb.base/call-sc.exp: Use "ptype/r".
2429 * gdb.base/volatile.exp: Don't expect "int".
2430 * gdb.cp/ptype-flags.cc: New file.
2431 * gdb.cp/ptype-flags.exp: New file.
2432 * gdb.cp/templates.exp: Use ptype/r.
2433 (test_ptype_of_templates, test_template_typedef): Likewise.
2434 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
2435 argument. Handle template names and template parameters.
2436 * gdb.mi/mi-var-cmd.exp: Accept "long".
2437 * gdb.mi/mi-var-child.exp: Accept "long".
2438 * gdb.mi/mi-var-display.exp: Accept "long".
2439 * gdb.mi/mi2-var-child.exp: Accept "long".
2440
b3720c3a
TT
24412012-11-12 Tom Tromey <tromey@redhat.com>
2442
2443 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
2444 "ptype" from calls to cp_test_ptype_class.
2445 (test_enums): Likewise.
2446 * gdb.cp/derivation.exp: Remove "ptype" from calls to
2447 cp_test_ptype_class.
2448 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
2449 calls to cp_test_ptype_class.
2450 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
2451 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
2452 from calls to cp_test_ptype_class.
2453 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
2454 command here. Change "in_command" argument to "in_exp".
2455
0d63ecda
KS
24562012-11-10 Keith Seitz <keiths@redhat.com>
2457
2458 PR gdb/14288
2459 * gdb.base/printcmds.c: Add invalid_XXX globals
2460 for repeated byte tests.
2461 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
2462 * gdb.base/wchar.c (main): Add and construct a wchar_t
2463 array with repeated characters.
2464 * gdb.base/wchar.exp: Add repeated character tests.
2465
ed8a1c2d
AB
24662012-11-09 Andrew Burgess <aburgess@broadcom.com>
2467
2468 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
2469 disassembly output.
2470
9107fc8d
PA
24712012-11-09 Pedro Alves <palves@redhat.com>
2472
2473 PR gdb/14306
2474
2475 * gdb.multi/multi-arch-exec.c: New file.
2476 * gdb.multi/multi-arch-exec.exp: New file.
2477
558a9d82
YQ
24782012-11-09 Yao Qi <yao@codesourcery.com>
2479
2480 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
2481 (top level): Call it.
2482
e714f336
YQ
24832012-11-09 Yao Qi <yao@codesourcery.com>
2484
2485 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
2486 typo.
2487
6ecd4729
PA
24882012-11-09 Pedro Alves <palves@redhat.com>
2489
2490 * gdb.multi/multi-arch.exp: New.
2491
9015683b
TT
24922012-11-08 Tom Tromey <tromey@redhat.com>
2493
2494 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
2495 core files, if possible.
2496 * gdb.base/siginfo-thread.c: New file
2497 * gdb.base/siginfo-thread.exp: New file
2498
ea9f10bb
TT
24992012-11-08 Tom Tromey <tromey@redhat.com>
2500
2501 * gdb.base/comprdebug.exp: New file.
2502
f6592439
PA
25032012-11-06 Pedro Alves <palves@redhat.com>
2504
2505 PR gdb/14810
2506
2507 * gdb.base/disabled-location.c: New file.
2508 * gdb.base/disabled-location.exp: New file.
2509
2d338fa9
TT
25102012-11-06 Tom Tromey <tromey@redhat.com>
2511
2512 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2513 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2514 gdb_gcore_cmd.
2515 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2516 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2517 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2518 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2519 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2520 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2521 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2522 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2523 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2524
68c9da30
PA
25252012-11-05 Pedro Alves <palves@redhat.com>
2526
2527 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2528 procedure.
2529 (do_vfork_and_follow_child_tests_exec)
2530 (do_vfork_and_follow_child_tests_exit): Call it.
2531
a7c8c931
PA
25322012-11-05 Pedro Alves <palves@redhat.com>
2533
2534 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2535 fails.
2536
6f6484cd
YQ
25372012-11-03 Yao Qi <yao@codesourcery.com>
2538
2539 Fix PR gdb/14617.
2540 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2541 Remove setup_kfail, and update test.
2542
b45627a0
TT
25432012-11-02 Tom Tromey <tromey@redhat.com>
2544
2545 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2546 test.
2547
f50f4e56
PA
25482012-11-02 Pedro Alves <palves@redhat.com>
2549
2550 PR gdb/14766
2551
2552 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2553 setup_kfail.
2554 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2555 get registers".
2556
71ce889d
PA
25572012-11-02 Pedro Alves <palves@redhat.com>
2558
2559 * gdb.base/foll-vfork-exit.c: New file.
2560 * gdb.base/foll-vfork.exp (top level): New file-describing
2561 comment.
2562 (vfork_child_follow_to_exit): New procedure.
2563 (tcatch_vfork_then_child_follow): Rename as ...
2564 (tcatch_vfork_then_child_follow_exec): ... this.
2565 (tcatch_vfork_then_child_follow_exit): New procedure.
2566 (do_vfork_and_follow_parent_tests): New procedure, factored out
2567 from do_vfork_and_exec_tests.
2568 (do_vfork_and_follow_child_tests_exec): Ditto.
2569 (do_vfork_and_exec_tests): Delete.
2570 (do_vfork_and_follow_child_tests_exit): New procedure.
2571 (top level): Run tests with both the program that has the vfork
2572 child execing, and the program has the vfork child exiting.
2573
1e35b1a9
PA
25742012-11-02 Pedro Alves <palves@redhat.com>
2575
2576 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2577 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2578 (vfork_parent_follow_to_bp): Call it.
2579 (kill_child): Delete.
2580 (vfork_and_exec_child_follow_to_main_bp)
2581 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2582 longer call kill_child.
2583 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2584 (do_vfork_and_exec_tests): Don't runto_main before calling each
2585 test procedure.
2586 (top level): Don't clean restart and set verbose before running
2587 each test procedure.
2588
25892012-11-02 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2592 (vfork_parent_follow_to_bp)
2593 (vfork_and_exec_child_follow_to_main_bp)
2594 (vfork_and_exec_child_follow_through_step)
2595 (tcatch_vfork_then_parent_follow)
2596 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2597 Use with_test_prefix.
2598
25992012-11-02 Pedro Alves <palves@redhat.com>
2600
2601 * gdb.base/foll-vfork.c: Add copyright header.
2602 * gdb.base/vforked-prog.c: Add copyright header.
2603
26042012-11-02 Pedro Alves <palves@redhat.com>
2605
2606 * gdb.base/foll-vfork.exp
2607 (vfork_and_exec_child_follow_through_step): Don't skip on
2608 non-HP/UX targets. Expect the next to only step one line on
2609 non-HP/UX targets, rather than stopping only after the exec.
2610
26112012-11-02 Pedro Alves <palves@redhat.com>
2612
2613 Don't hard code line numbers.
2614
2615 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2616 Expect text from the sources instead of a line number.
2617 (vfork_parent_follow_to_bp)
2618 (vfork_and_exec_child_follow_to_main_bp)
2619 (vfork_and_exec_child_follow_through_step)
2620 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2621 Use gdb_get_line_number.
2622
26232012-11-02 Pedro Alves <palves@redhat.com>
2624
2625 Modernize.
2626
2627 * gdb.base/foll-vfork.exp: Use standard_testfile and
2628 build_executable. Pass descriptive string to untested.
2629 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2630 (vfork_and_exec_child_follow_to_main_bp)
2631 (vfork_and_exec_child_follow_through_step)
2632 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2633 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2634 of send_gdb/gdb_expect.
2635
2636 (kill_child): New procedure.
2637 (vfork_and_exec_child_follow_to_main_bp)
2638 (vfork_and_exec_child_follow_through_step): Use it.
2639
f0559fff
YQ
26402012-11-02 Yao Qi <yao@codesourcery.com>
2641
2642 * gdb.base/setvar.exp: Test setting nested struct.
2643 * gdb.base/setvar.c (v_struct3): New.
2644
c207c6da
DE
26452012-11-01 Doug Evans <dje@google.com>
2646
2647 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2648 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2649 use them.
2650
2f27adfe
AB
26512012-10-31 Andrew Burgess <aburgess@broadcom.com>
2652
2653 PR cli/14772
2654 * gdb.base/gnu_vector.c (union_with_vector_1)
2655 (struct_with_vector_1): Add new struct and union for testing
2656 ptype.
2657 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2658 structs / unions containing vectors.
2659
bb662ca6
YQ
26602012-10-25 Yao Qi <yao@codesourcery.com>
2661
2662 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2663 'setup_kfail' instead of 'setup_kfail_for_target'.
2664 * gdb.base/varargs.exp: Likewise.
2665 * lib/gdb.exp (setup_kfail_for_target): Remove.
2666
635d23ff
MK
26672012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2668
2669 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2670
afdb064f
MK
26712012-10-25 Mark Kettenis <kettenis@gnu.org>
2672
2673 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2674
d99dcf51
JB
26752012-10-24 Joel Brobecker <brobecker@adacore.com>
2676
2677 * gdb.ada/set_wstr: New testcase.
2678
32560274
JB
26792012-10-24 Joel Brobecker <brobecker@adacore.com>
2680
2681 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2682
5ded5331
JB
26832012-10-24 Joel Brobecker <brobecker@adacore.com>
2684
2685 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2686
d8d84291
MK
26872012-10-24 Mark Kettenis <kettenis@gnu.org>
2688
2689 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2690
6e933c51
JK
26912012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2692
2693 * gdb.base/callfuncs.exp (do_function_calls): Fix
2694 setup_kfail_for_target for -m32 mode.
2695
274bd000
MK
26962012-10-23 Mark Kettenis <kettenis@gnu.org>
2697
2698 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2699 are now fixed.
2700
545f743d
YQ
27012012-10-23 Yao Qi <yao@codesourcery.com>
2702
2703 * gdb.base/info-os.exp: Resume the inferior until it exits.
2704
48b56b6a 27052012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2706
99c7d5a8 2707 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2708 * gdb.base/print-file-var.exp: Likewise.
2709 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 2710
8de0566d
YQ
27112012-10-17 Yao Qi <yao@codesourcery.com>
2712
2713 * gdb.mi/mi-memory-changed.exp: New.
2714
44883546
YQ
27152012-10-16 Yao Qi <yao@codesourcery.com>
2716
2717 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2718 returns true.
2719 Call gdb_load_shlibs.
2720 * gdb.reverse/solib-reverse.exp: Likewise.
2721
345f514a
KS
27222012-10-15 Keith Seitz <keiths@redhat.com>
2723
2724 * lib/cp-support.exp (cp_test_ptype_class): Add support
2725 for class typedefs.
2726
2727 * gdb.cp/derivation.exp: Add tests for g_instance.
2728
9e3a7d65
JK
27292012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2730
2731 Fix entry values resolving in inlined frames.
2732 * gdb.arch/amd64-entry-value-inline.S: New file.
2733 * gdb.arch/amd64-entry-value-inline.c: New file.
2734 * gdb.arch/amd64-entry-value-inline.exp: New file.
2735
21a7b089
JK
27362012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2737 Doug Evans <dje@google.com>
2738
2739 Fix recent gdb_breakpoint regression.
2740 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2741 braces from the parameter.
2742 * gdb.java/jprint.exp: Likewise.
2743
2c47921e
DE
27442012-10-15 Doug Evans <dje@google.com>
2745
2746 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2747
89398707
JB
27482012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2749
2750 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2751
801e4185
TT
27522012-10-15 Tom Tromey <tromey@redhat.com>
2753
2754 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2755
74f910c8
TT
27562012-10-15 Tom Tromey <tromey@redhat.com>
2757
2758 * gdb.python/py-symbol.exp: Test symbol destructor.
2759
91567807
YQ
27602012-10-14 Yao Qi <yao@codesourcery.com>
2761
2762 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2763 * gdb.mi/mi-cli.exp: New.
2764
2765 * gdb.mi/mi2-basics.exp: Remove.
2766 * gdb.mi/mi2-break.exp: Remove.
2767 * gdb.mi/mi2-console.exp: Remove.
2768 * gdb.mi/mi2-disassemble.exp: Remove.
2769 * gdb.mi/mi2-eval.exp: Remove.
2770 * gdb.mi/mi2-file.exp: Remove.
2771 * gdb.mi/mi2-hack-cli.exp: Remove.
2772 * gdb.mi/mi2-pthreads.exp: Remove.
2773 * gdb.mi/mi2-read-memory.exp: Remove.
2774 * gdb.mi/mi2-regs.exp: Remove.
2775 * gdb.mi/mi2-return.exp: Remove.
2776 * gdb.mi/mi2-simplerun.exp: Remove.
2777 * gdb.mi/mi2-stack.exp: Remove.
2778 * gdb.mi/mi2-stepi.exp: Remove.
2779 * gdb.mi/mi2-syn-frame.exp: Remove.
2780 * gdb.mi/mi2-until.exp: Remove.
2781 * gdb.mi/mi2-watch.exp: Remove.
2782 * gdb.mi/mi2-var-block.exp: Remove.
2783 * gdb.mi/mi2-var-cmd.exp: Remove.
2784 * gdb.mi/mi2-var-display.exp: Remove.
2785
87332029
YQ
27862012-10-12 Yao Qi <yao@codesourcery.com>
2787
2788 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2789 trail '.*' on matching patterns.
2790
11fc9057
L
27912012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2792
2793 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2794 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2795 * gdb.arch/i386-disp-step.exp: Likewise.
2796 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2797 * gdb.arch/i386-prologue.exp: Likewise.
2798 * gdb.arch/i386-size-overlap.exp: Likewise.
2799 * gdb.arch/i386-size.exp: Likewise.
2800 * gdb.arch/i386-unwind.exp: Likewise.
2801
7d46bcdc
L
28022012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2805 * gdb.arch/i386-word.exp: Likewise.
2806
31224d9d
L
28072012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2808
2809 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2810 is_ilp32_target to set nr_regs.
2811 * gdb.arch/i386-sse.exp: Likewise.
2812
5b7d0050
DE
28132012-10-11 Doug Evans <dje@google.com>
2814
7c09e5a0
DE
2815 PR breakpoints/14643.
2816 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2817 * gdb.linespec/thread.c: New file.
2818 * gdb.linespec/thread.exp: New file.
2819
5b7d0050
DE
2820 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2821 Recognize "message" -> print pass and fail. Add eof case.
2822 (runto): Recognize message, no-message. Print pass/fail if requested,
2823 with same treatment as gdb_breakpoint.
2824 (runto_main): Pass no-message to runto.
2825 (gdb_internal_error_resync): Add log message.
2826 (gdb_file_cmd): Tweak internal error fail text for consistency.
2827
2e24f4aa
JK
28282012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2829
2830 Fix crash during stepping on ppc32.
2831 * gdb.base/step-symless.c: New file.
2832 * gdb.base/step-symless.exp: New file.
2833
aa14df25
DE
28342012-10-03 Doug Evans <dje@google.com>
2835
2836 PR symtab/14601
2837 * gdb.cp/using-crash.exp: New file.
2838 * gdb.cp/using-crash.cc: New file.
2839
975531db
DE
28402012-10-02 Doug Evans <dje@google.com>
2841
2842 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2843 more consistent.
2844 (runto,gdb_debug_format): Ditto.
2845 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2846 Clean up logging and error messages.
2847
b3dc46ff
AB
28482012-10-01 Andrew Burgess <aburgess@broadcom.com>
2849
2850 Test find command on unmapped memory.
2851 * gdb.base/find-unmapped.c: New file.
2852 * gdb.base/find-unmapped.exp: New file.
2853
45814d45
YQ
28542012-09-29 Yao Qi <yao@codesourcery.com>
2855
2856 * gdb.trace/mi-tracepoint-changed.exp: New.
2857 * gdb.mi/mi-breakpoint-changed.exp: New.
2858 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2859 * gdb.mi/pendshr2.c: New.
2860
4c2786ba
YQ
28612012-09-28 Yao Qi <yao@codesourcery.com>
2862
2863 * gdb.mi/pr11022.exp: New.
2864 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2865
7977e5d2
TT
28662012-09-27 Tom Tromey <tromey@redhat.com>
2867
2868 * gdb.cp/derivation.exp: Add regression test.
2869 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2870 V_derived): New.
2871 (vderived): New global.
2872
0971de02
TT
28732012-09-26 Tom Tromey <tromey@redhat.com>
2874
2875 * gdb.dwarf2/dw2-common-block.S: New file.
2876 * gdb.dwarf2/dw2-common-block.exp: New file.
2877
4357ac6c
TT
28782012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2879
2880 * gdb.fortran/common-block.exp: New file.
2881 * gdb.fortran/common-block.f90: New file.
2882
6f380991
AB
28832012-09-26 Andrew Burgess <aburgess@broadcom.com>
2884
2885 * gdb.base/duplicate-bp.c: New file.
2886 * gdb.base/duplicate-bp.exp: New file.
2887
8ae551cf
YQ
28882012-09-26 Yao Qi <yao@codesourcery.com>
2889
2890 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2891
2892 Revert:
2893 2012-09-21 Yao Qi <yao@codesourcery.com>
2894
2895 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2896
318102b9
SP
28972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2898
2899 * gdb.base/longest-types.c: New test case.
2900 * gdb.base/longest-types.exp: New test case.
2901
a1e5fd69
YQ
29022012-09-25 Yao Qi <yao@codesourcery.com>
2903
2904 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2905
04e7407c
JK
29062012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2907
2908 Fix internal error on canonicalization of clang types.
2909 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2910 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2911 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2912
9bf4bce9
JK
29132012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2914
2915 Fix disassemble without parameters in tailcall frame.
2916 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2917
2603f7ee
AB
29182012-09-21 Andrew Burgess <aburgess@broadcom.com>
2919
2920 * gdb.dwarf2/dw2-op-out-param.S: New file.
2921 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2922
a3569abd
YQ
29232012-09-21 Yao Qi <yao@codesourcery.com>
2924
2925 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2926
a065d7af
YQ
29272012-09-21 Yao Qi <yao@codesourcery.com>
2928
2929 * gdb.mi/mi-cli.exp: Remove.
2930 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2931
15544bd9
YQ
29322012-09-21 Yao Qi <yao@codesourcery.com>
2933
2934 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2935 "=record-started" notification.
2936
82a90ccf
YQ
29372012-09-21 Yao Qi <yao@codesourcery.com>
2938
2939 * gdb.mi/mi-record-changed.exp: New.
2940 * gdb.mi/mi-reverse.exp: Adjust expected output.
2941
d7de8e3c
TT
29422012-09-20 Tom Tromey <tromey@redhat.com>
2943
2944 * gdb.python/python.exp: Test atexit.register.
2945
1aa99537
DE
29462012-09-20 Doug Evans <dje@google.com>
2947
05eade73
DE
2948 * boards/dwarf4-gdb-index.exp: New file.
2949
1aa99537
DE
2950 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2951 while running the tests.
2952
4ae24af0
JB
29532012-09-18 Joel Brobecker <brobecker@adacore.com>
2954
2955 * gdb.ada/bp_reset: New testcase.
2956
bb25a15c
YQ
29572012-09-18 Yao Qi <yao@codesourcery.com>
2958
2959 * gdb.trace/mi-tsv-changed.exp: New.
2960
201b4506
YQ
29612012-09-18 Yao Qi <yao@codesourcery.com>
2962
2963 * gdb.trace/mi-traceframe-changed.exp: New.
2964
6fc1c773
YQ
29652012-09-17 Yao Qi <yao@codesourcery.com>
2966
2967 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2968 when it is less than 0.
2969
1ab3b62c
JK
29702012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2971
2972 PR 14119
2973 * gdb.arch/amd64-tailcall-ret.S: New file.
2974 * gdb.arch/amd64-tailcall-ret.c: New file.
2975 * gdb.arch/amd64-tailcall-ret.exp: New file.
2976 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2977 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2978 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2979
acf9414f
JK
29802012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2981
2982 PR 14548
2983 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2984 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2985 * gdb.reverse/singlejmp-reverse.S: New file.
2986 * gdb.reverse/singlejmp-reverse.c: New file.
2987 * gdb.reverse/singlejmp-reverse.exp: New file.
2988
666b578b
JK
29892012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2990
2991 Fix compatibility with old GCC (~4.1).
2992 * gdb.cp/converts.cc (my_enum_var): New variable.
2993
42056501
AB
29942012-09-14 Andrew Burgess <aburgess@broadcom.com>
2995
2996 * gdb.xml/tdesc-regs.exp: Update expected output for new
2997 vector_size syntax of vector types.
2998
b9516fa1
YPK
29992012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
3000
3001 Refactor Python "gdb" module into a proper Python package, by
3002 introducing a new "_gdb" module for code implemented in C, and
3003 using reload/__import__ instead of exec.
3004 * gdb.python/python.exp (Test stderr location): Update module
3005 location of GDB-specific sys.stderr.
3006 (Test stdout location): Ditto for sys.stdout.
3007
18dc9ad8
JK
30082012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3009
3010 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
3011
ea3a9873
KS
30122012-09-12 Keith Seitz <keiths@redhat.com>
3013
3014 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
3015 conversion statement.
3016
5941debb
DE
30172012-09-12 Doug Evans <dje@google.com>
3018
3019 * gdb.base/help.exp: Remove testing of individual command help text,
3020 too much of a maintenance burden. Instead, test the functionality
3021 of "help" itself.
3022
cfc35e02
DE
30232012-09-11 Doug Evans <dje@google.com>
3024
3a0ed5d7
DE
3025 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
3026 breakpoint.
3027
cfc35e02
DE
3028 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
3029 * gdb.dwarf2/fission-reread.S: Ditto.
3030 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
3031 * gdb.dwarf2/fission-reread.exp: Ditto.
3032
350b1b26
AB
30332012-09-11 Andrew Burgess <aburgess@broadcom.com>
3034
3035 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
3036
2fa15f23
JB
30372012-09-10 Joel Brobecker <brobecker@adacore.com>
3038
3039 * gdb.ada/optim_drec: New testcase.
3040
09be558e
DE
30412012-09-10 Doug Evans <dje@google.com>
3042
3043 * boards/fission.exp: Explicitly mark "board" as not remote.
3044
5b4f6e25
KS
30452012-09-10 Keith Seitz <keiths@redhat.com>
3046
3047 PR gdb/13483
3048 * gdb.cp/converts.cc (A::A): Add ctor.
3049 (A::member_): Add member.
3050 (enum my_enum): New enumeration.
3051 (main): Add calls to foo1_7 with various
3052 permitted arguments.
3053 * gdb.cp/converts.exp: Add tests for boolean
3054 conversions permitted by the standard.
3055
b4ca5ed9
YPK
30562012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
3057
3058 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
3059 avoid spurious results due to ~/.gdbinit.
3060 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
3061 $INTERNAL_GDBFLAGS in run command.
3062 * gdb.gdb/observer.exp (setup_test): Ditto.
3063 * gdb.gdb/selftest.exp (test_with_self): Ditto.
3064 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
3065
d54b30bb
DE
30662012-09-06 Doug Evans <dje@google.com>
3067
14910956
DE
3068 * boards/fission.exp: New file.
3069
d54b30bb
DE
3070 * gdb.python/py-value.exp: Use clean_restart.
3071
91b253e1
DE
30722012-09-05 Doug Evans <dje@google.com>
3073
3074 * gdb.base/info-macros.c: Fix whitespace.
3075
1292279a
PA
30762012-08-28 Pedro Alves <palves@redhat.com>
3077
3078 PR gdb/14428
3079
3080 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
3081
1c8cdcb1
JK
30822012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3083
3084 * gdb.base/break-caller-line.c: New file.
3085 * gdb.base/break-caller-line.exp: New file.
3086
1e8e8b51
JK
30872012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3088
3089 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
3090 * gdb.arch/i386-cfi-notcurrent.S: New file.
3091 * gdb.arch/i386-cfi-notcurrent.exp: New file.
3092
1591a1e8
PA
30932012-08-27 Wei-cheng Wang <cole945@gmail.com>
3094 Yao Qi <yao@codesourcery.com>
3095 Pedro Alves <palves@redhat.com>
3096
3097 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
3098 New procedures.
3099 (top level): Add overlap checking tests.
3100
4442ada7
TT
31012012-08-24 Tom Tromey <tromey@redhat.com>
3102
3103 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
3104 gdb_test_multiple fails for other reasons.
3105
e7d50cc9
YQ
31062012-08-24 Yao Qi <yao@codesourcery.com>
3107
3108 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
3109
dfbd5e7b
PA
31102012-08-23 Pedro Alves <palves@redhat.com>
3111
3112 * gdb.base/help.exp: Adjust to "handle" help text change.
3113
8d735b87
YQ
31142012-08-23 Yao Qi <yao@codesourcery.com>
3115
3116 * gdb.trace/disconnected-tracing.c (start, end): New.
3117 (main): Call start and end.
3118 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
3119 existing tests into this proc.
3120 (disconnected_tfind): New.
3121
61b1d759
YQ
31222012-08-23 Yao Qi <yao@codesourcery.com>
3123
3124 * boards/native-gdbserver.exp (${board}_upload): New.
3125 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
3126 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
3127 Execute tfile on remote target.
3128 Copy trace file from target to host.
3129
6ca1b147
JM
31302012-08-22 Joseph Myers <joseph@codesourcery.com>
3131
3132 * gdb.arch/thumb-bx-pc.S: New file.
3133 * gdb.arch/thumb-bx-pc.exp: New file.
3134
706e3705
TT
31352012-08-22 Tom Tromey <tromey@redhat.com>
3136
3137 * gdb.base/maint.exp: Update.
3138
b4893d48
TT
31392012-08-22 Tom Tromey <tromey@redhat.com>
3140
3141 * lib/gdb.exp (skip_unwinder_tests): New proc.
3142 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
3143 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
3144
45b7da81
TT
31452012-08-21 Tom Tromey <tromey@redhat.com>
3146
3147 * gdb.hp/gdb.aCC/exception.exp: Remove.
3148
f94363d7
AP
3149012-08-19 Andrew Pinski <apinski@cavium.com>
3150
3151 * gdb.arch/mips-octeon-bbit.c: New file.
3152 * gdb.arch/mips-octeon-bbit.exp: New Test.
3153
e5afdbd7
KS
3154012-08-19 Keith Seitz <keiths@redhat.com>
3155
3156 PR c++/14365
3157 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
3158 * gdb.dwarf2/dw2-anon-mptr.S: New file.
3159
c29e8b64
JK
31602012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3161
3162 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
3163 verbose -log by more specific untested call.
3164
15a7e7bc
YQ
31652012-08-18 Yao Qi <yao@codesourcery.com>
3166
3167 * gdb.trace/tfind.exp: Move tests on various command help before
3168 checking target supports trace.
3169 Fix the expected output of 'help tfind end'.
3170
a451cb65
KS
31712012-08-17 Keith Seitz <keiths@redhat.com>
3172
3173 PR c++/13356
3174 * gdb.base/default.exp: Update all "check type" tests.
3175 * gdb.base/help.exp: Likewise.
3176 * gdb.base/setshow.exp: Likewise.
3177 * gdb.cp/converts.cc (foo1_type_check): New function.
3178 (foo2_type_check): New function.
3179 (foo3_type_check): New function.
3180 (main): Call new functions.
3181 * converts.exp: Add tests for integer-to-pointer conversions
3182 with/without strict type-checking.
3183
dbf6a605
MF
31842012-08-16 Mike Frysinger <vapier@gentoo.org>
3185
3186 * gdb.base/help.exp: Update expected output.
3187
0c92d8c1
JB
31882012-08-16 Joel Brobecker <brobecker@adacore.com>
3189
3190 * gdb.ada/rdv_wait: New testcase.
3191
e56f7f42
JK
31922012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3193
3194 * gdb.base/attach-twice.exp: Remove excessive ps exec.
3195
f47f77df
DE
31962012-08-13 Doug Evans <dje@google.com>
3197
e202d6e8 3198 * gdb.base/help.exp: Update expected output.
f47f77df
DE
3199 * gdb.base/default.exp: Update expected output of "show convenience".
3200
a72c3253
DE
32012012-08-10 Doug Evans <dje@google.com>
3202
3203 * gdb.python/py-strfns.c: New file.
3204 * gdb.python/py-strfns.exp: New file.
3205 * gdb.python/py-type.exp (test_fields): Add vector tests.
3206
de0bea00
MF
32072012-08-10 Mike Frysinger <vapier@gentoo.org>
3208
3209 PR cli/10436:
3210 * gdb.base/completion.exp: Add tests for handle completion.
3211
5b9afe8a
YQ
32122012-08-09 Yao Qi <yao@codesourcery.com>
3213
3214 * gdb.mi/mi-cmd-param-changed.exp: New.
3215 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
3216 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
3217 * gdb.mi/mi2-prompt.exp: Likewise.
3218
4f485ebc
DE
32192012-08-08 Doug Evans <dje@google.com>
3220
3221 * gdb.base/debug-expr.c: New file.
3222 * gdb.base/debug-expr.exp: New file.
3223 * gdb.base/exprs.exp: Test {type} casts.
3224 * gdb.cp/debug-expr.exp: New file.
3225
5888842d
JK
32262012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3227
3228 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
3229 global variable loop, not a 'break'. Add loop count limit to 100.
3230 Add new fail case for terminated vgdb.
3231
4f69f4c2
JK
32322012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3233 Jean-Marc Saffroy <saffroy@gmail.com>
3234
3235 PR 11804
3236 * gdb.base/gcore-relro.exp: New file.
3237 * gdb.base/gcore-relro-main.c: New file.
3238 * gdb.base/gcore-relro-lib.c: New file.
3239
e2de5390
JK
32402012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3241
3242 Do not false FAIL with old GCCs.
3243 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
3244 GCC < 4.5 in $no_hw mode.
3245
606603c5
JK
32462012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3247
3248 * gdb.base/default.exp (cd): Accept new directory with no arguments.
3249
777f26c2
JK
32502012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3251
3252 * gdb.base/list.exp (test_only_end): New function.
3253 Call it.
3254
2c12abee
TT
32552012-08-06 Tom Tromey <tromey@redhat.com>
3256
3257 * gdb.python/py-mi.exp: Add test for printer whose children
3258 are a list.
3259 * gdb.python/py-prettyprint.c (struct children_as_list): New.
3260 (main): New variable children_as_list.
3261 * gdb.python/py-prettyprint.py (class pp_children_as_list):
3262 New.
3263 (register_pretty_printers): Register new printer.
3264
0eae2cf4
EBM
32652012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3266
3267 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
3268 symbols. Abort if vgdb remote connection is closed.
3269
09e0881d
DE
32702012-08-02 Doug Evans <dje@google.com>
3271
3272 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
3273
b40f514f
SDJ
32742012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
3275
3276 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
3277 s390x, PowerPC 64 and m68k-linux.
3278
11315ae0
UW
32792012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3280
3281 * gdb.base/annota1.exp: Accept no frames-invalid notification
3282 when starting up the program.
3283 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
3284 show a symbolic value as well.
3285 * gdb.server/server-exec-info.exp: Skip test when skipping
3286 gdbserver test and/or when skipping shared library tests.
3287 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
3288 avoid name conflicts with other tests.
3289
0547eeed
UW
32902012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3291
3292 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
3293 Fix wrong output on big-endian systems.
3294 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
3295 4-byte pointer types on 64-bit s390x.
3296
bdddb4de
UW
32972012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
3298
3299 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
3300 marker comment at the beginning (after intialization).
3301 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
3302 breakpoint on marker comment instead of function begin.
3303 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
3304 PowerPC.
3305 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
3306 or 64-bit PowerPC.
3307 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
3308 gdb,no_hardware_watchpoints flag is set.
3309 (initialize): Remove now redundant can-use-hw-watchpoints change.
3310
5d206025
YQ
33112012-08-02 Yao Qi <yao@codesourcery.com>
3312 Pedro Alves <palves@redhat.com>
3313
3314 * boards/local-remote-host.exp: New.
3315
4f665099
UW
33162012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3317
3318 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
3319 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
3320 * gdb.base/print-file-var.exp: Likewise.
3321 * gdb.server/solib-list.exp: Skip on remote targets.
3322
b62e2b27
UW
33232012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3324
3325 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
3326 watchpoints on ARM. When expecting software watchpoints, tolerate
3327 (remote) targets that report unsupported hardware watchpoint only
3328 at continue time.
3329 (test_wide_location_2): Likewise.
3330
a967a851
JK
33312012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3332
3333 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
3334 valgrind versions.
3335
75d9f9ff 33362012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
3337
3338 * gdb.base/valgrind-infcall.c: New file.
3339 * gdb.base/valgrind-infcall.exp: New file.
3340
75d9f9ff
JK
3341 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
3342
1c9f2ed2
KS
33432012-07-30 Keith Seitz <keiths@redhat.com>
3344
3345 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
3346 linespecs.
3347
7f9b2034
DE
33482012-07-30 Doug Evans <dje@google.com>
3349
85220e01
DE
3350 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
3351 * gdb.dwarf2/pr13961.S: Ditto.
3352
7f9b2034
DE
3353 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
3354
4e969b4f
AB
33552012-07-30 Andrew Burgess <aburgess@broadcom.com>
3356
3357 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
3358 change its format immediately after reloading the binary.
3359
e7de8362
JK
33602012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3361
3362 Fix testsuite regression after --use-deprecated-index-sections removal.
3363 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
3364 string.
3365 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
3366
7255706c
YQ
33672012-07-27 Yao Qi <yao@codesourcery.com>
3368
3369 KFAIL for PR remote/14161.
3370 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
3371 Cleanup socket files.
3372 (strace_info_marker): Detach inferior.
3373
f2e8016f
TT
33742012-07-26 Tom Tromey <tromey@redhat.com>
3375
6fdff2c5 3376 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 3377
f66713d2
JK
33782012-07-26 Markus Metzger <markus.t.metzger@intel.com>
3379
3380 * gdb.python/py-inferior.c (thread): New function.
3381 (check_threads): New function.
3382 (test_threads): New function.
3383 * gdb.python/py-inferior.exp: Added test.
3384 Replaced runto with continue to breakpoint.
3385
8223e12c
TT
33862012-07-26 Tom Tromey <tromey@redhat.com>
3387
3388 * lib/ada.exp (standard_ada_testfile): New proc.
3389 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
3390 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
3391 * gdb.ada/array_return.exp: Use standard_ada_testfile.
3392 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
3393 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
3394 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
3395 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
3396 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
3397 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
3398 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
3399 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
3400 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
3401 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
3402 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
3403 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
3404 * gdb.ada/char_param.exp: Use standard_ada_testfile.
3405 * gdb.ada/complete.exp: Use standard_ada_testfile.
3406 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
3407 standard_output_file.
3408 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
3409 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
3410 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
3411 standard_output_file.
3412 * gdb.ada/exprs.exp: Use standard_ada_testfile.
3413 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
3414 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
3415 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
3416 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
3417 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
3418 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
3419 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
3420 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
3421 * gdb.ada/homonym.exp: Use standard_ada_testfile.
3422 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
3423 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
3424 * gdb.ada/interface.exp: Use standard_ada_testfile.
3425 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
3426 standard_output_file
3427 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
3428 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
3429 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
3430 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
3431 * gdb.ada/nested.exp: Use standard_ada_testfile.
3432 * gdb.ada/null_array.exp: Use standard_ada_testfile.
3433 * gdb.ada/null_record.exp: Use standard_ada_testfile.
3434 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
3435 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
3436 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
3437 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
3438 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
3439 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
3440 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
3441 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
3442 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
3443 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
3444 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
3445 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
3446 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
3447 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
3448 * gdb.ada/start.exp: Use standard_ada_testfile.
3449 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
3450 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
3451 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
3452 * gdb.ada/tagged.exp: Use standard_ada_testfile.
3453 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
3454 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
3455 * gdb.ada/tasks.exp: Use standard_ada_testfile.
3456 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
3457 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
3458 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
3459 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
3460 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
3461 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
3462 * gdb.ada/widewide.exp: Use standard_ada_testfile.
3463
bbec57e4
JK
34642012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3465
3466 Fix testsuite regression after --use-deprecated-index-sections removal.
3467 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
3468
9cc8e32c
JK
34692012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3470
3471 Fix compatibility with Tcl before 7.5.
3472 * lib/future.exp (lreverse): New function if it does not exist.
3473
ea5ca7b5
MK
34742012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
3475
3476 * gdb.mi/mi-pending.c: New method to set a second pending
3477 breakpoint.
3478 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
3479 condition.
3480
64776a0b
PA
34812012-07-20 Pedro Alves <palves@redhat.com>
3482
3483 PR threads/11692
3484 PR gdb/12203
3485
3486 * gdb.threads/create-fail.c: New file.
3487 * gdb.threads/create-fail.exp: New file.
3488
13e4e967
PA
34892012-07-19 Pedro Alves <palves@redhat.com>
3490
3491 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
3492 * config/vx.exp (gdb_start): Likewise.
3493 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
3494 * gdb.base/setvar.exp (test_set): Likewise.
3495 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
3496 * gdb.reverse/sigall-precsave.exp: Likewise.
3497 * gdb.reverse/sigall-reverse.exp: Likewise.
3498
b7aefa4d
PA
34992012-07-19 Pedro Alves <palves@redhat.com>
3500
3501 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
3502 handler before recording.
3503
608b4967
TT
35042012-07-19 Tom Tromey <tromey@redhat.com>
3505
3506 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3507 * gdb.cp/casts.cc (decltype): New function.
3508 (main): Use it.
3509
b1e0c0fa
PA
35102012-07-19 Pedro Alves <palves@redhat.com>
3511
3512 * gdb.base/sigall.exp (signals): New list.
3513 <top level>: Loop over signals in the $signals list instead of
3514 calling a test function once per signal.
3515 * gdb.reverse/sigall-precsave.exp (signals): New list.
3516 <top level>: Loop over signals in the $signals list instead of
3517 calling a test function once per signal.
3518 * gdb.reverse/sigall-reverse.exp (signals): New list.
3519 <top level>: Loop over signals in the $signals list instead of
3520 calling a test function once per signal.
3521
6ace3df1
YQ
35222012-07-19 Yao Qi <yao@codesourcery.com>
3523
3524 * gdb.base/setshow.exp: Test 'set args ~'.
3525
263a0f8c
JK
35262012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3527
3528 * gdb.base/store.exp (check_set): Import gdb_prompt.
3529 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3530 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3531
8f043999
JK
35322012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3533
3534 PR 11914
3535 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3536 (main): Call eval_sub.
3537 * gdb.python/py-prettyprint.exp:
3538 (python execfile ('py-prettyprint.py')): Move it earlier.
3539 New breakpoint for eval-break.
3540 (continue to breakpoint: eval-break, info locals): New test.
3541 (python execfile ('py-prettyprint.py')): Move it from here.
3542 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3543 (register_pretty_printers): Register pp_eval_type.
3544
725c7b66
JK
35452012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 Fix a testcase regression by me.
3548 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3549 DW_FORM_data4.
3550
4359dff1
JK
35512012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3552 Doug Evans <dje@google.com>
3553
3554 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3555 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3556
61e44cfa
JK
35572012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3558
3559 Fix gdbserver run regression.
3560 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3561
93c0ef37
TT
35622012-07-12 Tom Tromey <tromey@redhat.com>
3563
3564 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3565 (clean_restart): Likewise.
3566 (core_find): Use standard_output_file.
3567
76027ef5
TT
35682012-07-12 Tom Tromey <tromey@redhat.com>
3569
3570 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3571 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3572 prepare_for_testing_full.
3573 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3574 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3575 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3576 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3577 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3578 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3579 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3580 prepare_for_testing_full.
3581 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3582 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3583 prepare_for_testing_full.
3584 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3585 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3586 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3587
85b4440a
TT
35882012-07-12 Tom Tromey <tromey@redhat.com>
3589
3590 * lib/gdb.exp (build_executable_from_specs): New proc, from
3591 build_executable.
3592 (build_executable): Use it.
3593 (prepare_for_testing_full): New proc.
3594
55baab26
TT
35952012-07-11 Tom Tromey <tromey@redhat.com>
3596
3597 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3598 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3599 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3600 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3601 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3602 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3603 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3604 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3605 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3606 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3607
298a9cf0
TT
36082012-07-10 Tom Tromey <tromey@redhat.com>
3609
3610 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3611 standard_output_file.
3612 * gdb.mi/gdb2549.exp: Use standard_testfile.
3613 * gdb.mi/gdb669.exp: Use standard_testfile.
3614 * gdb.mi/gdb701.exp: Use standard_testfile.
3615 * gdb.mi/gdb792.exp: Use standard_testfile.
3616 * gdb.mi/mi-async.exp: Use standard_testfile.
3617 * gdb.mi/mi-basics.exp: Use standard_testfile.
3618 * gdb.mi/mi-break.exp: Use standard_testfile.
3619 * gdb.mi/mi-cli.exp: Use standard_testfile.
3620 * gdb.mi/mi-console.exp: Use standard_testfile.
3621 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3622 * gdb.mi/mi-eval.exp: Use standard_testfile.
3623 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3624 * gdb.mi/mi-file.exp: Use standard_testfile.
3625 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3626 * gdb.mi/mi-logging.exp: Use standard_testfile.
3627 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3628 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3629 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3630 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3631 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3632 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3633 * gdb.mi/mi-pending.exp: Use standard_testfile,
3634 standard_output_file.
3635 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3636 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3637 * gdb.mi/mi-regs.exp: Use standard_testfile.
3638 * gdb.mi/mi-return.exp: Use standard_testfile.
3639 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3640 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3641 * gdb.mi/mi-solib.exp: Use standard_testfile,
3642 standard_output_file.
3643 * gdb.mi/mi-stack.exp: Use standard_testfile.
3644 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3645 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3646 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3647 * gdb.mi/mi-until.exp: Use standard_testfile.
3648 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3649 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3650 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3651 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3652 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3653 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3654 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3655 standard_output_file.
3656 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3657 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3658 * gdb.mi/mi-watch.exp: Use standard_testfile.
3659 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3660 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3661 * gdb.mi/mi2-break.exp: Use standard_testfile.
3662 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3663 * gdb.mi/mi2-console.exp: Use standard_testfile.
3664 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3665 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3666 * gdb.mi/mi2-file.exp: Use standard_testfile.
3667 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3668 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3669 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3670 * gdb.mi/mi2-return.exp: Use standard_testfile.
3671 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3672 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3673 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3674 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3675 * gdb.mi/mi2-until.exp: Use standard_testfile.
3676 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3677 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3678 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3679 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3680 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3681
f5f3a911
TT
36822012-07-10 Tom Tromey <tromey@redhat.com>
3683
3684 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3685 * gdb.cp/ambiguous.exp: Use standard_testfile,
3686 prepare_for_testing.
3687 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3688 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3689 * gdb.cp/anon-ns.exp: Use standard_testfile.
3690 * gdb.cp/anon-struct.exp: Use standard_testfile.
3691 * gdb.cp/anon-union.exp: Use standard_testfile,
3692 prepare_for_testing.
3693 * gdb.cp/arg-reference.exp: Use standard_testfile,
3694 prepare_for_testing.
3695 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3696 * gdb.cp/breakpoint.exp: Use standard_testfile,
3697 prepare_for_testing.
3698 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3699 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3700 standard_output_file.
3701 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3702 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3703 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3704 (test_static_members): Update.
3705 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3706 * gdb.cp/converts.exp: Use standard_testfile.
3707 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3708 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3709 prepare_for_testing.
3710 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3711 * gdb.cp/cplabel.exp: Use standard_testfile.
3712 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3713 prepare_for_testing.
3714 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3715 * gdb.cp/derivation.exp: Use standard_testfile,
3716 prepare_for_testing.
3717 * gdb.cp/destrprint.exp: Use standard_testfile.
3718 * gdb.cp/dispcxx.exp: Use standard_testfile.
3719 * gdb.cp/exception.exp: Use standard_testfile,
3720 prepare_for_testing.
3721 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3722 * gdb.cp/extern-c.exp: Use standard_testfile,
3723 prepare_for_testing.
3724 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3725 prepare_for_testing.
3726 * gdb.cp/fpointer.exp: Use standard_testfile.
3727 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3728 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3729 standard_output_file.
3730 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3731 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3732 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3733 standard_output_file.
3734 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3735 (do_tests): Update.
3736 * gdb.cp/koenig.exp: Use standard_testfile.
3737 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3738 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3739 * gdb.cp/m-static.exp: Use standard_testfile,
3740 prepare_for_testing.
3741 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3742 * gdb.cp/mb-inline.exp: Use standard_testfile,
3743 prepare_for_testing.
3744 * gdb.cp/mb-templates.exp: Use standard_testfile,
3745 prepare_for_testing.
3746 * gdb.cp/member-ptr.exp: Use standard_testfile,
3747 prepare_for_testing.
3748 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3749 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3750 * gdb.cp/method2.exp: Use standard_testfile.
3751 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3752 standard_output_file.
3753 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3754 (do_tests): Update.
3755 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3756 prepare_for_testing.
3757 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3758 prepare_for_testing.
3759 * gdb.cp/namespace.exp: Use standard_testfile,
3760 prepare_for_testing.
3761 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3762 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3763 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3764 * gdb.cp/nsimport.exp: Use standard_testfile,
3765 prepare_for_testing.
3766 * gdb.cp/nsnested.exp: Use standard_testfile.
3767 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3768 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3769 prepare_for_testing.
3770 * gdb.cp/nsstress.exp: Use standard_testfile,
3771 prepare_for_testing.
3772 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3773 * gdb.cp/operator.exp: Use standard_testfile.
3774 * gdb.cp/oranking.exp: Use standard_testfile.
3775 * gdb.cp/overload-const.exp: Use standard_testfile.
3776 * gdb.cp/overload.exp: Use standard_testfile,
3777 prepare_for_testing.
3778 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3779 * gdb.cp/ovsrch.exp: Use standard_testfile.
3780 * gdb.cp/paren-type.exp: Use standard_testfile.
3781 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3782 prepare_for_testing.
3783 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3784 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3785 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3786 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3787 * gdb.cp/pr10728.exp: Use standard_testfile,
3788 standard_output_file.
3789 * gdb.cp/pr12028.exp: Use standard_testfile.
3790 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3791 * gdb.cp/pr9167.exp: Use standard_testfile.
3792 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3793 * gdb.cp/printmethod.exp: Use standard_testfile,
3794 prepare_for_testing.
3795 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3796 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3797 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3798 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3799 standard_output_file.
3800 * gdb.cp/readnow-language.exp: Use standard_testfile.
3801 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3802 (gdb_start_again): Use clean_restart.
3803 * gdb.cp/ref-types.exp: Use standard_testfile,
3804 prepare_for_testing.
3805 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3806 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3807 * gdb.cp/smartp.exp: Use standard_testfile.
3808 * gdb.cp/static-method.exp: Use standard_testfile.
3809 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3810 * gdb.cp/temargs.exp: Use standard_testfile.
3811 * gdb.cp/templates.exp: Use standard_testfile,
3812 prepare_for_testing.
3813 (do_tests): Update.
3814 * gdb.cp/try_catch.exp: Use standard_testfile,
3815 prepare_for_testing.
3816 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3817 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3818 * gdb.cp/virtbase.exp: Use standard_testfile,
3819 prepare_for_testing.
3820 * gdb.cp/virtfunc.exp: Use standard_testfile,
3821 prepare_for_testing.
3822 (do_tests): Update.
3823 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3824 prepare_for_testing.
3825
686f09d0
TT
38262012-07-10 Tom Tromey <tromey@redhat.com>
3827
3828 * lib/gdb.exp (standard_testfile): Unset output variables from
3829 earlier invocations.
3830
9357e021
YQ
38312012-07-10 Yao Qi <yao@codesourcery.com>
3832
3833 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3834 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3835 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3836 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3837 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3838 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3839 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3840 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3841 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3842 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3843 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3844 * gdb.mi/mi-var-display.exp: Likewise.
3845 * gdb.mi/mi-var-invalidate.exp: Likewise.
3846 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3847 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3848 * gdb.mi/mi2-console.exp: Likewise.
3849 * gdb.mi/mi2-disassemble.exp: Likewise.
3850 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3851 * gdb.mi/mi2-read-memory.exp: Likewise.
3852 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3853 * gdb.mi/mi2-simplerun.exp: Likewise.
3854 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3855 * gdb.mi/mi2-syn-frame.exp: Likewise.
3856 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3857 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3858 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3859
e314d629
TT
38602012-07-09 Tom Tromey <tromey@redhat.com>
3861
3862 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3863 * gdb.base/callfuncs.exp: Add cast-based test.
3864 * gdb.base/callfuncs.c (voidfunc): New function.
3865
06928b3f
DE
38662012-07-08 Doug Evans <dje@google.com>
3867
3868 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3869
32f11bad
JK
38702012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3871
3872 Fix XFAIL compatibility with old i386 systems.
3873 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3874 Check also 'Cannot insert breakpoint 0'.
3875
76b83c51
JK
38762012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3877
3878 PR 14321
3879 * gdb.base/find.exp
3880 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3881
a6fb9c08
TT
38822012-07-06 Tom Tromey <tromey@redhat.com>
3883
3884 * gdb.base/whatis.exp: Add test.
3885
71918a86
TT
38862012-07-06 Tom Tromey <tromey@redhat.com>
3887
3888 * gdb.base/whatis.exp: Add regression test.
3889
fcde5961
TT
38902012-07-06 Tom Tromey <tromey@redhat.com>
3891
3892 * gdb.base/whatis.exp: Add tests.
3893
f9cf0f4a
JK
38942012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3895
3896 PR 12649
3897 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3898 gdb_test_multiple $gdb_prompt terminator.
3899
979ade8b
PA
39002012-07-04 Pedro Alves <palves@redhat.com>
3901
3902 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3903 supports_process_record.
3904
8a980b44
PA
39052012-07-04 Pedro Alves <palves@redhat.com>
3906
3907 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3908 endings.
3909 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3910
855ba978
SS
39112012-07-03 Stan Shebs <stan@codesourcery.com>
3912
3913 * gdb.base/info-os.c (main): Retry resource acquisition until an
3914 available one is found.
3915 * gdb.base/info-os.exp: Collect resource keys from the program
3916 and use them in matching.
3917
fcb44371
JK
39182012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3919
3920 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3921 Wrap the test into loop for corefile and core0file.
3922
08a67be6
JK
39232012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3924
3925 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3926 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3927 .note.GNU-stack.
3928
0f3c2347
JK
3929 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3930
ff4a4500
SDJ
39312012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3932
3933 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3934 break): Include help message for the new `-probe' and `-probe-stap'
3935 options.
3936
d3ce09f5
SS
39372012-07-02 Stan Shebs <stan@codesourcery.com>
3938
3939 * gdb.base/dprintf.exp: Add agent style tests.
3940
a1624241
JK
39412012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3942
3943 * gdb.base/stale-infcall.c (infcall): New label test-next.
3944 (main): New labels test-pass and test-fail.
3945 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3946 $test_fail_bpnum to test-fail.
3947 (test system longjmp tracking support): New test.
3948 Delete $test_fail_bpnum.
3949 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3950 breakpoint.
3951
42e7ad6c
DE
39522012-06-30 Doug Evans <dje@google.com>
3953
3954 * gdb.dwarf2/fission-reread.S: New file.
3955 * gdb.dwarf2/fission-reread.exp: New file.
3956
37ce89eb
SS
39572012-06-28 Stan Shebs <stan@codesourcery.com>
3958
3959 * gdb.mi/mi-logging.exp: New file.
3960
e5ef252a
PA
39612012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3962 Pedro Alves <palves@redhat.com>
3963
3964 * gdb.threads/siginfo-threads.exp: New file.
3965 * gdb.threads/siginfo-threads.c: New file.
3966 * gdb.threads/sigstep-threads.exp: New file.
3967 * gdb.threads/sigstep-threads.c: New file.
3968
22f1fbae
TT
39692012-06-28 Tom Tromey <tromey@redhat.com>
3970
3971 * gdb.go/package.exp: Partially revert earlier patch; use
3972 gdb_compile again. Use standard_output_file.
3973
2e3cf129
DE
39742012-06-27 Doug Evans <dje@google.com>
3975
3976 * gdb.dwarf2/fission-base.c: New file.
3977 * gdb.dwarf2/fission-base.S: New file.
3978 * gdb.dwarf2/fission-base.exp: New file.
3979
785fd303
JK
39802012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3981
3982 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3983
1bb9788d
TT
39842012-06-27 Tom Tromey <tromey@redhat.com>
3985
3986 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3987 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3988
c83ee902
TT
39892012-06-27 Tom Tromey <tromey@redhat.com>
3990
3991 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3992 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3993 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3994 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3995 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3996 prepare_for_testing.
3997 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3998 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3999 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
4000 standard_testfile.
4001 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
4002 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
4003 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
4004 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
4005 prepare_for_testing.
4006 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
4007 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
4008 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
4009 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
4010 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
4011 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
4012 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
4013 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
4014 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
4015 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
4016 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
4017 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
4018 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
4019 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
4020 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
4021 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
4022 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
4023 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
4024 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
4025 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
4026 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
4027 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
4028 standard_output_file.
4029 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
4030 standard_output_file.
4031 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
4032 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
4033 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
4034 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
4035 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
4036 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
4037 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
4038 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
4039 * gdb.dwarf2/implptr.exp: Use standard_testfile.
4040 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
4041 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
4042 * gdb.dwarf2/pieces.exp: Use standard_testfile.
4043 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
4044 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
4045 * gdb.dwarf2/valop.exp: Use standard_testfile,
4046 prepare_for_testing.
4047
5204774b
TT
40482012-06-27 Tom Tromey <tromey@redhat.com>
4049
4050 * gdb.python/python.exp: Fix regexps in pagination tests.
4051
ee0bf529
SCR
40522012-06-26 Siva Chandra Reddy <sivachandra@google.com>
4053
4054 * gdb.python/py-symtab.exp: Add tests to test the new attribute
4055 'last' of gdb.Symtab_and_line.
4056 * gdb.python/py-symbol.c: Move break point comment to enable
4057 testing of gdb.Symtab_and_line.last.
4058
14fcc022
TT
40592012-06-26 Tom Tromey <tromey@redhat.com>
4060
4061 * gdb.threads/step.c: Remove.
4062 * gdb.threads/step.exp: Remove.
4063 * gdb.threads/step2.exp: Remove.
4064
0efbbabc
TT
40652012-06-26 Tom Tromey <tromey@redhat.com>
4066
4067 * gdb.threads/watchpoint-fork.exp (test): Use
4068 standard_output_file. Don't declare objdir.
4069 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
4070 standard_output_file.
4071 * gdb.threads/attach-stopped.exp: Use standard_testfile.
4072 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
4073 clean_restart. Remove incdir.
4074 * gdb.threads/corethreads.exp: Use standard_testfile.
4075 * gdb.threads/execl.exp: Use standard_testfile,
4076 standard_output_file, clean_restart.
4077 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
4078 clean_restart.
4079 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
4080 clean_restart.
4081 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
4082 incdir.
4083 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
4084 clean_restart. Remove incdir.
4085 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
4086 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
4087 clean_restart. Remove incdir.
4088 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
4089 Remove incdir.
4090 * gdb.threads/leader-exit.exp: Use standard_testfile.
4091 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
4092 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
4093 clean_restart.
4094 * gdb.threads/manythreads.exp: Use standard_testfile,
4095 clean_restart. Remove incdir.
4096 * gdb.threads/multi-create.exp: Use standard_testfile,
4097 clean_restart.
4098 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
4099 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
4100 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
4101 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
4102 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
4103 * gdb.threads/pending-step.exp: Use standard_testfile,
4104 clean_restart. Remove incdir.
4105 * gdb.threads/print-threads.exp: Use standard_testfile,
4106 clean_restart. Remove incdir.
4107 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
4108 clean_restart. Remove incdir.
4109 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
4110 Remove incdir.
4111 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
4112 incdir.
4113 * gdb.threads/sigthread.exp: Use standard_testfile,
4114 clean_restart.
4115 * gdb.threads/staticthreads.exp: Use standard_testfile,
4116 clean_restart. Remove incdir.
4117 * gdb.threads/switch-threads.exp: Use standard_testfile,
4118 clean_restart. Remove incdir.
4119 * gdb.threads/thread-execl.exp: Use standard_testfile,
4120 clean_restart. Remove incdir.
4121 * gdb.threads/thread-find.exp: Use standard_testfile,
4122 clean_restart.
4123 * gdb.threads/thread-specific.exp: Use standard_testfile,
4124 clean_restart. Remove incdir.
4125 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
4126 clean_restart. Remove incdir.
4127 * gdb.threads/thread_check.exp: Use standard_testfile,
4128 clean_restart. Remove incdir.
4129 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
4130 incdir.
4131 * gdb.threads/threadapply.exp: Use standard_testfile,
4132 clean_restart. Remove incdir.
4133 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
4134 clean_restart. Remove incdir.
4135 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
4136 clean_restart.
4137 * gdb.threads/tls-shared.exp: Use standard_testfile,
4138 clean_restart, standard_output_file.
4139 * gdb.threads/tls-var.exp: Use standard_testfile,
4140 standard_output_file.
4141 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
4142 Remove incdir.
4143 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
4144 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
4145 incdir.
4146 * gdb.threads/watchthreads2.exp: Use standard_testfile,
4147 clean_restart. Remove incdir.
4148
497a5eb0
TT
41492012-06-26 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.trace/actions.exp: Use standard_testfile.
4152 * gdb.trace/ax.exp: Use standard_testfile.
4153 * gdb.trace/backtrace.exp: Use standard_testfile.
4154 * gdb.trace/change-loc.exp: Use standard_testfile.
4155 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
4156 * gdb.trace/collection.exp: Use standard_testfile,
4157 prepare_for_testing.
4158 * gdb.trace/deltrace.exp: Use standard_testfile.
4159 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
4160 * gdb.trace/ftrace.exp: Use standard_testfile.
4161 * gdb.trace/infotrace.exp: Use standard_testfile.
4162 * gdb.trace/packetlen.exp: Use standard_testfile.
4163 * gdb.trace/passc-dyn.exp: Use standard_testfile.
4164 * gdb.trace/passcount.exp: Use standard_testfile.
4165 * gdb.trace/pending.exp: Use standard_testfile.
4166 * gdb.trace/report.exp: Use standard_testfile.
4167 * gdb.trace/save-trace.exp: Use standard_testfile.
4168 * gdb.trace/stap-trace.exp: Use standard_testfile.
4169 * gdb.trace/status-stop.exp: Use standard_testfile.
4170 * gdb.trace/strace.exp: Use standard_testfile.
4171 * gdb.trace/tfile.exp: Use standard_testfile.
4172 * gdb.trace/tfind.exp: Use standard_testfile.
4173 * gdb.trace/trace-break.exp: Use standard_testfile.
4174 * gdb.trace/trace-mt.exp: Use standard_testfile.
4175 * gdb.trace/tracecmd.exp: Use standard_testfile.
4176 * gdb.trace/tspeed.exp: Use standard_testfile.
4177 * gdb.trace/tstatus.exp: Use standard_testfile.
4178 * gdb.trace/tsv.exp: Use standard_testfile.
4179 * gdb.trace/unavailable.exp: Use standard_testfile,
4180 prepare_for_testing.
4181 * gdb.trace/while-dyn.exp: Use standard_testfile.
4182 * gdb.trace/while-stepping.exp: Use standard_testfile.
4183
7686c074
TT
41842012-06-26 Tom Tromey <tromey@redhat.com>
4185
4186 * gdb.reverse/break-precsave.exp: Use standard_testfile.
4187 * gdb.reverse/break-reverse.exp: Use standard_testfile.
4188 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
4189 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
4190 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
4191 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
4192 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
4193 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
4194 prepare_for_testing.
4195 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
4196 prepare_for_testing.
4197 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
4198 prepare_for_testing.
4199 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
4200 prepare_for_testing.
4201 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
4202 prepare_for_testing
4203 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
4204 * gdb.reverse/machinestate.exp: Use standard_testfile.
4205 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
4206 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
4207 build_executable.
4208 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
4209 build_executable.
4210 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
4211 standard_output_file.
4212 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
4213 standard_output_file.
4214 * gdb.reverse/step-precsave.exp: Use standard_testfile.
4215 * gdb.reverse/step-reverse.exp: Use standard_testfile.
4216 * gdb.reverse/until-precsave.exp: Use standard_testfile.
4217 * gdb.reverse/until-reverse.exp: Use standard_testfile.
4218 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
4219 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
4220
481fc100
TT
42212012-06-26 Tom Tromey <tromey@redhat.com>
4222
4223 * gdb.stabs/weird.exp: Remove directory-checking code. Use
4224 standard_output_file.
4225 * gdb.stabs/exclfwd.exp: Use standard_testfile,
4226 prepare_for_testing. Remove directory-checking code.
4227
7bb18ae2
TT
42282012-06-25 Tom Tromey <tromey@redhat.com>
4229
4230 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
4231 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
4232 build_executable, not prepare_for_testing.
4233 * gdb.multi/base.exp: Use standard_output_file. Use
4234 build_executable, not prepare_for_testing.
4235
cf09b3e4
TT
42362012-06-25 Tom Tromey <tromey@redhat.com>
4237
4238 * gdb.fortran/subarray.exp: Use standard_testfile,
4239 prepare_for_testing.
4240 * gdb.fortran/multi-dim.exp: Use standard_testfile.
4241 * gdb.fortran/module.exp: Use standard_testfile.
4242 * gdb.fortran/logical.exp: Use standard_testfile.
4243 * gdb.fortran/library-module.exp: Use standard_testfile,
4244 standard_output_file.
4245 * gdb.fortran/derived-type.exp: Use standard_testfile,
4246 prepare_for_testing.
4247 * gdb.fortran/complex.exp: Use standard_testfile,
4248 prepare_for_testing.
4249 * gdb.fortran/charset.exp: Use standard_testfile.
4250 * gdb.fortran/array-element.exp: Use standard_testfile,
4251 prepare_for_testing.
4252
18b5ff1b
KS
42532012-06-25 Keith Seitz <keiths@redhat.com>
4254
4255 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
4256 Change rbreak-related tests to KFAIL and add bugzilla numbers.
4257
17b77626
TT
42582012-06-25 Tom Tromey <tromey@redhat.com>
4259
4260 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
4261 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
4262 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
4263 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
4264
f91e3dc1
TT
42652012-06-25 Tom Tromey <tromey@redhat.com>
4266
4267 * gdb.linespec/ls-errs.exp: Use standard_testfile.
4268 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
4269 * gdb.linespec/linespec.exp: Use standard_testfile.
4270
a884434d
TT
42712012-06-25 Tom Tromey <tromey@redhat.com>
4272
4273 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
4274 prepare_for_testing.
4275
efc9d70a
TT
42762012-06-25 Tom Tromey <tromey@redhat.com>
4277
4278 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
4279 prepare_for_testing.
4280 * gdb.opt/inline-break.exp: Use standard_testfile,
4281 prepare_for_testing.
4282 * gdb.opt/inline-bt.exp: Use standard_testfile,
4283 prepare_for_testing.
4284 * gdb.opt/inline-cmds.exp: Use standard_testfile,
4285 prepare_for_testing.
4286 * gdb.opt/inline-locals.exp: Use standard_testfile,
4287 prepare_for_testing.
4288
e2fc92c6
TT
42892012-06-25 Tom Tromey <tromey@redhat.com>
4290
4291 * gdb.asm/asm-source.exp: Use standard_output_file,
4292 standard_testfile. Construct .o files in proper subdir.
4293
b0963d73
TT
42942012-06-25 Tom Tromey <tromey@redhat.com>
4295
4296 * gdb.server/ext-attach.exp: Use standard_testfile,
4297 prepare_for_testing.
4298 * gdb.server/ext-run.exp: Use standard_testfile,
4299 build_executable.
4300 * gdb.server/file-transfer.exp: Use standard_testfile,
4301 prepare_for_testing.
4302 * gdb.server/server-exec-info.exp: Use standard_testfile.
4303 * gdb.server/server-mon.exp: Use standard_testfile,
4304 prepare_for_testing.
4305 * gdb.server/server-run.exp: Use standard_testfile,
4306 build_executable.
4307 * gdb.server/solib-list.exp: Use standard_testfile,
4308 standard_output_file.
4309
8a3e1f8d
TT
43102012-06-25 Tom Tromey <tromey@redhat.com>
4311
4312 * lib/gdb.exp (standard_output_file): Use "file join".
4313 * gdb.go/chan.exp: Use standard_testfile.
4314 * gdb.go/handcall.exp: Use standard_testfile.
4315 * gdb.go/hello.exp: Use standard_testfile.
4316 * gdb.integers/chan.exp: Use standard_testfile.
4317 * gdb.go/methods.exp: Use standard_testfile.
4318 * gdb.go/package.exp: Use standard_testfile.
4319 * gdb.go/strings.exp: Use standard_testfile.
4320 * gdb.go/types.exp: Use standard_testfile.
4321 * gdb.go/unsafe.exp: Use standard_testfile.
4322
944a9061
MGD
43232012-06-25 Greta Yorsh <greta.yorsh@arm.com>
4324
4325 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
4326
1c06bd58
JK
43272012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4328
4329 Fix regression by the previous commit.
4330 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
4331
b4a58790
TT
43322012-06-22 Tom Tromey <tromey@redhat.com>
4333
4334 * gdb.python/lib-types.exp: Use standard_testfile,
4335 prepare_for_testing.
4336 * gdb.python/py-block.exp: Use standard_testfile.
4337 * gdb.python/py-breakpoint.exp: Use standard_testfile.
4338 * gdb.python/py-events.exp: Use standard_testfile,
4339 standard_output_file.
4340 * gdb.python/py-evsignal.exp: Use standard_testfile.
4341 * gdb.python/py-evethreads.exp: Use standard_testfile.
4342 * gdb.python/py-explore-cc.exp: Use standard_testfile.
4343 * gdb.python/py-explore.exp: Use standard_testfile.
4344 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
4345 standard_output_file.
4346 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
4347 prepare_for_testing.
4348 * gdb.python/py-frame-inline.exp: Use standard_testfile.
4349 * gdb.python/py-frame.exp: Use standard_testfile.
4350 * gdb.python/py-inferior.exp: Use standard_testfile.
4351 * gdb.python/py-infthread.exp: Use standard_testfile.
4352 * gdb.python/py-mi.exp: Use standard_testfile.
4353 * gdb.python/py-objfile-script.exp: Use standard_testfile,
4354 build_executable.
4355 * gdb.python/py-objfile.exp: Use standard_testfile.
4356 * gdb.python/py-pp-maint.exp: Use standard_testfile,
4357 prepare_for_testing.
4358 * gdb.python/py-prettyprint.exp: Use standard_testfile.
4359 * gdb.python/py-progspace.exp: Use standard_testfile,
4360 build_executable.
4361 * gdb.python/py-prompt.exp: Use standard_testfile,
4362 build_executable.
4363 * gdb.python/py-section-script.exp: Use standard_testfile,
4364 build_executable.
4365 * gdb.python/py-shared.exp: Use standard_testfile,
4366 standard_output_file, clean_restart.
4367 * gdb.python/py-symbol.exp: Use standard_output_file,
4368 prepare_for_testing.
4369 * gdb.python/py-symtab.exp: Use standard_output_file,
4370 prepare_for_testing
4371 * gdb.python/py-template.exp: Use standard_testfile.
4372 * gdb.python/py-type.exp: Use standard_testfile.
4373 * gdb.python/py-value-cc.exp: Use standard_testfile.
4374 * gdb.python/py-value.exp: Use standard_testfile.
4375 * gdb.python/python.exp: Use standard_testfile, build_executable.
4376
2c44deac
TT
43772012-06-22 Tom Tromey <tromey@redhat.com>
4378
4379 * gdb.objc/basicclass.exp: Use standard_testfile.
4380 (do_objc_tests): Don't declare objdir.
4381 * gdb.objc/nondebug.exp: Use standard_testfile.
4382 (do_objc_tests): Don't declare objdir.
4383 * gdb.objc/objcdecode.exp: Use standard_testfile.
4384 (do_objc_tests): Don't declare objdir.
4385
c24ccbce
TT
43862012-06-22 Tom Tromey <tromey@redhat.com>
4387
4388 * gdb.java/jmain.exp: Use standard_testfile.
4389 * gdb.java/jmisc.exp: Use standard_testfile.
4390 * gdb.java/jnpe.exp: Use standard_testfile.
4391 * gdb.java/jprint.exp: Use standard_testfile.
4392
0a6d0306
TT
43932012-06-22 Tom Tromey <tromey@redhat.com>
4394
4395 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
4396 (standard_output_file, standard_testfile): New procs.
4397 (build_executable, clean_restart): Use standard_output_file.
4398
6ea815ef
YQ
43992012-06-22 Yao Qi <yao@codesourcery.com>
4400
4401 * boards/native-gdbserver.exp: New proc ${board}_exec.
4402 * boards/native-stdio-gdbserver.exp: Likewise.
4403
4c93b1db
TT
44042012-06-21 Tom Tromey <tromey@redhat.com>
4405
4406 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
4407 (build_executable): Update.
4408 (get_compiler_info): Remove 'binfile' argument.
4409 * gdb.ada/arrayidx.exp: Update.
4410 * gdb.ada/null_array.exp: Update.
4411 * gdb.arch/altivec-abi.exp: Update.
4412 * gdb.arch/altivec-regs.exp: Update.
4413 * gdb.arch/amd64-byte.exp: Update.
4414 * gdb.arch/amd64-dword.exp: Update.
4415 * gdb.arch/amd64-word.exp: Update.
4416 * gdb.arch/i386-avx.exp: Update.
4417 * gdb.arch/i386-byte.exp: Update.
4418 * gdb.arch/i386-sse.exp: Update.
4419 * gdb.arch/i386-word.exp: Update.
4420 * gdb.arch/ppc-dfp.exp: Update.
4421 * gdb.arch/ppc-fp.exp: Update.
4422 * gdb.arch/vsx-regs.exp: Update.
4423 * gdb.base/all-bin.exp: Update.
4424 * gdb.base/annota1.exp: Update.
4425 * gdb.base/async.exp: Update.
4426 * gdb.base/attach.exp: Update.
4427 * gdb.base/break-interp.exp: Update.
4428 * gdb.base/call-ar-st.exp: Update.
4429 * gdb.base/call-rt-st.exp: Update.
4430 * gdb.base/call-sc.exp: Update.
4431 * gdb.base/callfuncs.exp: Update.
4432 * gdb.base/catch-load.exp: Update.
4433 * gdb.base/completion.exp: Update.
4434 * gdb.base/complex.exp: Update.
4435 * gdb.base/condbreak.exp: Update.
4436 * gdb.base/consecutive.exp: Update.
4437 * gdb.base/constvars.exp: Update.
4438 * gdb.base/corefile.exp: Update.
4439 * gdb.base/eval-skip.exp: Update.
4440 * gdb.base/expand-psymtabs.exp: Update.
4441 * gdb.base/exprs.exp: Update.
4442 * gdb.base/fileio.exp: Update.
4443 * gdb.base/fixsection.exp: Update.
4444 * gdb.base/funcargs.exp: Update.
4445 * gdb.base/gdb11530.exp: Update.
4446 * gdb.base/gdb1555.exp: Update.
4447 * gdb.base/gnu-ifunc.exp: Update.
4448 * gdb.base/gnu_vector.exp: Update.
4449 * gdb.base/info-macros.exp: Update.
4450 * gdb.base/jit-simple.exp: Update.
4451 * gdb.base/jit-so.exp: Update.
4452 * gdb.base/jit.exp: Update.
4453 * gdb.base/langs.exp: Update.
4454 * gdb.base/list.exp: Update.
4455 * gdb.base/logical.exp: Update.
4456 * gdb.base/long_long.exp: Update.
4457 * gdb.base/longjmp.exp: Update.
4458 * gdb.base/macscp.exp: Update.
4459 * gdb.base/mips_pro.exp: Update.
4460 * gdb.base/miscexprs.exp: Update.
4461 * gdb.base/morestack.exp: Update.
4462 * gdb.base/nodebug.exp: Update.
4463 * gdb.base/opaque.exp: Update.
4464 * gdb.base/pc-fp.exp: Update.
4465 * gdb.base/pending.exp: Update.
4466 * gdb.base/permissions.exp: Update.
4467 * gdb.base/pointers.exp: Update.
4468 * gdb.base/prelink.exp: Update.
4469 * gdb.base/printcmds.exp: Update.
4470 * gdb.base/psymtab.exp: Update.
4471 * gdb.base/ptype.exp: Update.
4472 * gdb.base/relational.exp: Update.
4473 * gdb.base/scope.exp: Update.
4474 * gdb.base/setvar.exp: Update.
4475 * gdb.base/shlib-call.exp: Update.
4476 * gdb.base/shreloc.exp: Update.
4477 * gdb.base/signals.exp: Update.
4478 * gdb.base/sizeof.exp: Update.
4479 * gdb.base/so-impl-ld.exp: Update.
4480 * gdb.base/so-indr-cl.exp: Update.
4481 * gdb.base/solib-disc.exp: Update.
4482 * gdb.base/solib-display.exp: Update.
4483 * gdb.base/solib-nodir.exp: Update.
4484 * gdb.base/solib-overlap.exp: Update.
4485 * gdb.base/solib-symbol.exp: Update.
4486 * gdb.base/solib-weak.exp: Update.
4487 * gdb.base/solib.exp: Update.
4488 * gdb.base/store.exp: Update.
4489 * gdb.base/structs.exp: Update.
4490 * gdb.base/structs2.exp: Update.
4491 * gdb.base/type-opaque.exp: Update.
4492 * gdb.base/unload.exp: Update.
4493 * gdb.base/varargs.exp: Update.
4494 * gdb.base/volatile.exp: Update.
4495 * gdb.base/watch_thread_num.exp: Update.
4496 * gdb.base/watchpoint-solib.exp: Update.
4497 * gdb.base/watchpoint.exp: Update.
4498 * gdb.base/watchpoints.exp: Update.
4499 * gdb.base/whatis.exp: Update.
4500 * gdb.cell/arch.exp: Update.
4501 * gdb.cell/break.exp: Update.
4502 * gdb.cell/bt.exp: Update.
4503 * gdb.cell/core.exp: Update.
4504 * gdb.cell/data.exp: Update.
4505 * gdb.cell/ea-cache.exp: Update.
4506 * gdb.cell/f-regs.exp: Update.
4507 * gdb.cell/fork.exp: Update.
4508 * gdb.cell/gcore.exp: Update.
4509 * gdb.cell/mem-access.exp: Update.
4510 * gdb.cell/ptype.exp: Update.
4511 * gdb.cell/registers.exp: Update.
4512 * gdb.cell/sizeof.exp: Update.
4513 * gdb.cell/solib-symbol.exp: Update.
4514 * gdb.cell/solib.exp: Update.
4515 * gdb.cp/ambiguous.exp: Update.
4516 * gdb.cp/breakpoint.exp: Update.
4517 * gdb.cp/bs15503.exp: Update.
4518 * gdb.cp/casts.exp: Update.
4519 * gdb.cp/class2.exp: Update.
4520 * gdb.cp/cpexprs.exp: Update.
4521 * gdb.cp/cplusfuncs.exp: Update.
4522 * gdb.cp/ctti.exp: Update.
4523 * gdb.cp/dispcxx.exp: Update.
4524 * gdb.cp/gdb1355.exp: Update.
4525 * gdb.cp/gdb2384.exp: Update.
4526 * gdb.cp/gdb2495.exp: Update.
4527 * gdb.cp/infcall-dlopen.exp: Update.
4528 * gdb.cp/local.exp: Update.
4529 * gdb.cp/m-data.exp: Update.
4530 * gdb.cp/m-static.exp: Update.
4531 * gdb.cp/mb-ctor.exp: Update.
4532 * gdb.cp/mb-inline.exp: Update.
4533 * gdb.cp/mb-templates.exp: Update.
4534 * gdb.cp/member-ptr.exp: Update.
4535 * gdb.cp/method.exp: Update.
4536 * gdb.cp/namespace.exp: Update.
4537 * gdb.cp/nextoverthrow.exp: Update.
4538 * gdb.cp/nsdecl.exp: Update.
4539 * gdb.cp/nsrecurs.exp: Update.
4540 * gdb.cp/nsstress.exp: Update.
4541 * gdb.cp/nsusing.exp: Update.
4542 * gdb.cp/pr-1023.exp: Update.
4543 * gdb.cp/pr-1210.exp: Update.
4544 * gdb.cp/pr-574.exp: Update.
4545 * gdb.cp/pr9631.exp: Update.
4546 * gdb.cp/printmethod.exp: Update.
4547 * gdb.cp/psmang.exp: Update.
4548 * gdb.cp/re-set-overloaded.exp: Update.
4549 * gdb.cp/rtti.exp: Update.
4550 * gdb.cp/shadow.exp: Update.
4551 * gdb.cp/templates.exp: Update.
4552 * gdb.cp/try_catch.exp: Update.
4553 * gdb.dwarf2/dw2-ranges.exp: Update.
4554 * gdb.dwarf2/pr10770.exp: Update.
4555 * gdb.fortran/library-module.exp: Update.
4556 * gdb.hp/gdb.aCC/optimize.exp: Update.
4557 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4558 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4559 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4560 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4561 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4562 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4563 * gdb.hp/gdb.compat/xdb1.exp: Update.
4564 * gdb.hp/gdb.compat/xdb2.exp: Update.
4565 * gdb.hp/gdb.compat/xdb3.exp: Update.
4566 * gdb.hp/gdb.defects/bs14602.exp: Update.
4567 * gdb.hp/gdb.defects/solib-d.exp: Update.
4568 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4569 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4570 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4571 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4572 * gdb.mi/gdb792.exp: Update.
4573 * gdb.mi/mi-pending.exp: Update.
4574 * gdb.mi/mi-solib.exp: Update.
4575 * gdb.mi/mi-var-cp.exp: Update.
4576 * gdb.opt/clobbered-registers-O2.exp: Update.
4577 * gdb.opt/inline-bt.exp: Update.
4578 * gdb.opt/inline-cmds.exp: Update.
4579 * gdb.opt/inline-locals.exp: Update.
4580 * gdb.python/py-events.exp: Update.
4581 * gdb.python/py-finish-breakpoint.exp: Update.
4582 * gdb.python/py-type.exp: Update.
4583 * gdb.reverse/solib-precsave.exp: Update.
4584 * gdb.reverse/solib-reverse.exp: Update.
4585 * gdb.server/solib-list.exp: Update.
4586 * gdb.stabs/weird.exp: Update.
4587 * gdb.threads/attach-into-signal.exp: Update.
4588 * gdb.threads/attach-stopped.exp: Update.
4589 * gdb.threads/tls-shared.exp: Update.
4590 * gdb.trace/change-loc.exp: Update.
4591 * gdb.trace/strace.exp: Update.
4592
95c391b6
TT
45932012-06-19 Tom Tromey <tromey@redhat.com>
4594
4595 * gdb.base/whatis.exp: Add tests.
4596
e910f0b6
TT
45972012-06-19 Tom Tromey <tromey@redhat.com>
4598
4599 * gdb.cp/m-static.cc (keepalive): New function.
4600 (gnu_obj_1::method): Use it.
4601
422d65e7
DE
46022012-06-18 Doug Evans <dje@google.com>
4603
4604 * gdb.base/info-fun.exp: New file.
4605 * gdb.base/info-fun.c: New file.
4606 * gdb.base/info-fun-solib.c: New file.
4607
e2e4d78b
JK
46082012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4609
4610 Remove stale dummy frames.
4611 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4612 (maintenance info breakpoints): New tests.
4613 * gdb.base/stale-infcall.c: New file.
4614 * gdb.base/stale-infcall.exp: New file.
4615
1788b2d3
JK
46162012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4617
4618 * gdb.arch/amd64-entry-value-param.S: New file.
4619 * gdb.arch/amd64-entry-value-param.c: New file.
4620 * gdb.arch/amd64-entry-value-param.exp: New file.
4621
663b969e
TT
46222012-06-15 Tom Tromey <tromey@redhat.com>
4623
4624 * gdb.cp/namespace.exp: Add "show lang" test.
4625
8e09ad05
IS
46262012-06-15 Iain Sandoe <iain@codesourcery.com>
4627
4628 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4629 case. (top level): Use gdb_file_cmd instead of gdb_load.
4630
f85e18ee
JK
46312012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4632
4633 PR tdep/14222
4634 * gdb.arch/i386-sse-stack-align.S: New file.
4635 * gdb.arch/i386-sse-stack-align.c: New file.
4636 * gdb.arch/i386-sse-stack-align.exp: New file.
4637
f3b5e280
KS
46382012-06-13 Keith Seitz <keiths@redhat.com>
4639
4640 PR breakpoints/13798 and mi/11541
4641 * gdb.linespec/ls-errs.exp: Add a few more tests for
4642 filenames with spaces and colons.
4643
50af5481
JK
46442012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4645
4646 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4647 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4648 (test_function): Call CV_f.
4649 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4650 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4651 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4652 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4653 (p CV_f(CV::i)): New tests.
4654
d55637df
TT
46552012-06-13 Tom Tromey <tromey@redhat.com>
4656
4657 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4658
cc80f267
JK
46592012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4660
4661 Fix regression by the "ambiguous linespec" series.
4662 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4663 tests.
4664
bb2af9cc
JK
46652012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4666
4667 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4668 missing.
4669
e81a37f7
TT
46702012-06-11 Tom Tromey <tromey@redhat.com>
4671
4672 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4673 location...
4674 (main): ...here.
4675
8efd7788
YQ
46762012-06-07 Yao Qi <yao@codesourcery.com>
4677
4678 * gdb.trace/strace.exp: Shorten some too-long lines.
4679
359f5fe6
PA
46802012-06-06 Pedro Alves <palves@redhat.com>
4681
4682 * gdb.threads/clone-new-thread-event.c: New file.
4683 * gdb.threads/clone-new-thread-event.exp: New file.
4684
7b2fe205
YQ
46852012-06-06 Yao Qi <yao@codesourcery.com>
4686
4687 * gdb.base/dprintf.c (main): Add extra parameter when calling
4688 printf and fprintf.
4689 (bar): New function. It is a dead function, but to ensure
4690 'malloc' is linked explicitly.
4691
3eca55e8
YQ
46922012-06-06 Yao Qi <yao@codesourcery.com>
4693
4694 * gdb.base/info-proc.exp: Return if target doesn't support
4695 'info proc'.
4696
91cc9324
JK
46972012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4698
4699 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4700 (run program with breakpoint commands): XFAIl if it is not.
4701
c56e7c43
JB
47022012-06-05 Joel Brobecker <brobecker@adacore.com>
4703
4704 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4705 and add comment.
4706 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4707 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4708 "STOP" marker. Adjust testing strategy to make it work on
4709 all targets.
4710
4711 * gdb.base/print-file-var-main.c (main): Rewrite using local
4712 variables and adjust get_version_2's return value check.
4713 Add small comment.
4714 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4715 marker. Adjust testing strategy to make it work on all targets.
4716
ccab2054
JB
47172012-06-05 Joel Brobecker <brobecker@adacore.com>
4718
4719 * gdb.ada/bad-task-bp-keyword: New testcase.
4720
d0d86158
JK
47212012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4722
4723 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4724 Simplify it to ...
4725 (symbol-file ${testfile1}): ... here.
4726 (test eliminated var my_global_symbol)
4727 (test eliminated var my_static_symbol)
4728 (test eliminated var my_global_func, get address of main): Wrap them to
4729 'single psymtabs' and 'single symtabs'
4730 (get address of my_global_symbol, get address of my_static_symbol)
4731 (get address of my_global_func, get address of main): Wrap them to
4732 'order1' and 'order2'.
4733
952cf74c
JK
4734 * gdb.base/code_elim.exp
4735 (add-symbol-file ${testfile1} 0x100000)
4736 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4737 'order2'.
4738 (order1: add-symbol-file ${testfile1} 0x100000)
4739 (order1: add-symbol-file ${testfile2} 0x200000)
4740 (order2: add-symbol-file ${testfile2} 0x200000)
4741 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4742 .bss as appropriate.
4743
0c5bf5a9
JK
47442012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4745
4746 * gdb.server/solib-list-lib.c: New file.
4747 * gdb.server/solib-list-main.c: New file.
4748 * gdb.server/solib-list.exp: New file.
4749
4196f325
MR
47502012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4751
4752 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4753 for 'set print symbol' change.
4754
bfb05775
JK
47552012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4756
4757 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4758 .debug_abbrev_seg3.
4759
685b1105
JK
47602012-05-24 John Steele Scott <toojays@toojays.net>
4761
4762 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4763 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4764 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4765
f3e0e960
SS
47662012-05-23 Stan Shebs <stan@codesourcery.com>
4767
4768 * gdb.mi/mi-info-os.exp: New file.
4769
11eb1b4d
KS
47702012-05-23 Keith Seitz <keiths@redhat.com>
4771
4772 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4773 return -1 to suppress the rest of the tests.
4774 (compile_stap_bin): Return boolean success value.
4775
b1af9e97
TT
47762012-05-21 Tom Tromey <tromey@redhat.com>
4777
4778 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4779 Remove kfails.
4780 (test_print_mi_member_types): Likewise.
4781
248537e3
TT
47822012-05-21 Tom Tromey <tromey@redhat.com>
4783
4784 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4785 print symbol' change.
4786
d791e155
TJB
47872012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4788
4789 * gdb.python/py-prompt.exp: Quit if the target is remote.
4790
e77afa2e
JK
47912012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4792
4793 Fix ERROR: internal buffer is full.
4794 * gdb.base/info-os.exp (expect_multiline): New function.
4795 (get process list, get process groups, get threads)
4796 (get file descriptors, get internet-domain sockets)
4797 (get shared-memory regions, get semaphores, get message queues): Use
4798 it for these tests.
4799
9cb709b6
TT
48002012-05-18 Tom Tromey <tromey@redhat.com>
4801
4802 * gdb.mi/mi-var-cmd.exp: Update.
4803 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4804 * gdb.cp/virtbase.exp: Update.
4805 * gdb.cp/classes.exp (test_static_members): Update.
4806 * gdb.cp/casts.exp: Update.
4807 * gdb.base/pointers.exp: Update.
4808 * gdb.base/funcargs.exp (pointer_args): Update.
4809 (structs_by_reference): Update.
4810 * gdb.base/find.exp: Update.
4811 * gdb.base/call-strs.exp: Send "set print symbol off".
4812 * gdb.base/call-ar-st.exp: Update.
4813 * gdb.ada/fun_addr.exp: Update.
4814 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4815 Call it.
4816 (test_print_repeats_10, test_print_strings)
4817 (test_print_char_arrays): Update.
4818
b012acdd
TT
48192012-05-18 Tom Tromey <tromey@redhat.com>
4820
4821 * gdb.base/charset.exp (string_display): Update.
4822
1d51a733
TT
48232012-05-18 Tom Tromey <tromey@redhat.com>
4824
4825 * gdb.mi/mi2-var-display.exp: Update.
4826 * gdb.mi/mi-var-display.exp: Update.
4827 * gdb.mi/mi-var-child.exp: Update.
4828 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4829 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4830
957df313
DE
48312012-05-17 Doug Evans <dje@google.com>
4832
682c7f7b
DE
4833 * info-macros.exp: Pass "debug" to prepare_for_testing.
4834
957df313
DE
4835 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4836 * gdb.ada/Makefile.in (clean): Ditto.
4837 * gdb.arch/Makefile.in (clean): Ditto.
4838 * gdb.asm/Makefile.in (clean): Ditto.
4839 * gdb.base/Makefile.in (clean): Ditto.
4840 * gdb.cell/Makefile.in (clean): Ditto.
4841 * gdb.cp/Makefile.in (clean): Ditto.
4842 * gdb.disasm/Makefile.in (clean): Ditto.
4843 * gdb.dwarf2/Makefile.in (clean): Ditto.
4844 * gdb.fortran/Makefile.in (clean): Ditto.
4845 * gdb.go/Makefile.in (clean): Ditto.
4846 * gdb.hp/Makefile.in (clean): Ditto.
4847 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4848 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4849 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4850 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4851 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4852 * gdb.java/Makefile.in (clean): Ditto.
4853 * gdb.linespec/Makefile.in (clean): Ditto.
4854 * gdb.mi/Makefile.in (clean): Ditto.
4855 * gdb.modula2/Makefile.in (clean): Ditto.
4856 * gdb.multi/Makefile.in (clean): Ditto.
4857 * gdb.objc/Makefile.in (clean): Ditto.
4858 * gdb.opencl/Makefile.in (clean): Ditto.
4859 * gdb.opt/Makefile.in (clean): Ditto.
4860 * gdb.pascal/Makefile.in (clean): Ditto.
4861 * gdb.python/Makefile.in (clean): Ditto.
4862 * gdb.reverse/Makefile.in (clean): Ditto.
4863 * gdb.server/Makefile.in (clean): Ditto.
4864 * gdb.stabs/Makefile.in (clean): Ditto.
4865 * gdb.threads/Makefile.in (clean): Ditto.
4866 * gdb.trace/Makefile.in (clean): Ditto.
4867 * gdb.xml/Makefile.in (clean): Ditto.
4868
abc9d0dc
TT
48692012-05-16 Tom Tromey <tromey@redhat.com>
4870
4871 * gdb.base/macscp1.c (macscp_expr): Add comment.
4872 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4873
6a3a010b
MR
48742012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4875
4876 * gdb.base/return-nodebug.exp: Also test float and double types.
4877
01429c8e
JK
48782012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4879
4880 PR testsuite/12649
4881 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4882
54115cd4
JK
4883 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4884
0c5f383f
SDJ
48852012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4886
4887 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4888 `rerun_to_main'.
4889 (stap_test_no_debuginfo): Likewise.
4890
e7e0cddf
SS
48912012-05-14 Stan Shebs <stan@codesourcery.com>
4892
4893 * gdb.base/dprintf.c: New file.
4894 * gdb.base/dprintf.exp: New file.
4895
c772f8e7
HZ
48962012-05-14 Hui Zhu <hui_zhu@mentor.com>
4897
4898 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4899 * gdb.trace/disconnected-tracing.c: New file.
4900 * gdb.trace/disconnected-tracing.exp: New file.
4901
7efc75aa
SCR
49022012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4903
4904 * gdb.python/python.c: Add a new breakpoint comment.
4905 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4906
85d4a676
SS
49072011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4908
4909 * gdb.base/info-os.exp: New file.
4910 * gdb.base/info-os.c: New file.
4911
64ea88dc
JB
49122012-05-10 Joel Brobecker <brobecker@adacore.com>
4913
4647ab1b
JB
4914 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4915 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4916 New files.
64ea88dc 4917
afba63f1
JB
49182012-05-10 Joel Brobecker <brobecker@adacore.com>
4919
4920 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4921 gdb.base/ctxobj.exp: New files.
4922
9d198b1e
TT
49232012-05-09 Tom Tromey <tromey@redhat.com>
4924
4925 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4926
9bfee719
MR
49272012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4928
4929 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4930
3a7341d8
MR
49312012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4932
4933 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4934 before using it.
4935
52b3699b
TG
49362012-05-04 Tristan Gingold <gingold@adacore.com>
4937
4938 * gdb.base/set-noassign.exp: New test.
4939
a20ee7a4
SCR
49402012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4941
4942 * gdb.python/py-symbol.exp: Add tests to test the new methods
4943 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4944 * gdb.python/py-symbol.c: Add new struct to help test
4945 gdb.Symtab.static_block().
4946
bf2f0858
DE
49472012-05-03 Doug Evans <dje@google.com>
4948
4949 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4950 commented out.
4951
2d4e0376
YQ
49522012-05-03 Yao Qi <yao@codesourcery.com>
4953
4954 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4955 doesn't support.
4956 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4957 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4958
6d0bb9f3
YQ
49592012-05-03 Yao Qi <yao@codesourcery.com>
4960
4961 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4962
fd820528
DE
49632012-04-30 Doug Evans <dje@google.com>
4964
4965 PR testsuite/13961
4966 * gdb.dwarf2/pr13961.S: New file.
4967 * gdb.dwarf2/pr13961.exp: New file.
4968
b9e219b9
YQ
49692012-04-29 Yao Qi <yao@codesourcery.com>
4970
4971 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4972
3019eac3
DE
49732012-04-28 Doug Evans <dje@google.com>
4974
4975 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4976 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4977 All uses updated.
4978 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4979 "ptype func_cu1" to expand cu2 before cu1.
4980
62e5f89c
SDJ
49812012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4982 Tom Tromey <tromey@redhat.com>
4983
4984 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4985 variables.
4986 * gdb.base/stap-probe.c: New file.
4987 * gdb.base/stap-probe.exp: New file.
4988 * gdb.trace/stap-trace.c: New file.
4989 * gdb.trace/stap-trace.exp: New file.
4990 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4991 libgcc's unwinder.
4992
14132e89
MR
49932012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4994
4995 * gdb.arch/mips16-thunks-inmain.c: New file.
4996 * gdb.arch/mips16-thunks-main.c: New file.
4997 * gdb.arch/mips16-thunks-sin.c: New file.
4998 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4999 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
5000 * gdb.arch/mips16-thunks-sinmain.c: New file.
5001 * gdb.arch/mips16-thunks-sinmips16.c: New file.
5002 * gdb.arch/mips16-thunks.exp: New file.
5003
a766d390
DE
50042012-04-25 Doug Evans <dje@google.com>
5005
5006 * configure.ac: Create gdb.go/Makefile.
5007 * configure: Regenerate.
5008 * gdb.base/default.exp: Add "go" to "set language" testing.
5009 * gdb.go/Makefile.in: New file.
5010 * gdb.go/basic-types.exp: New file.
5011 * gdb.go/chan.exp: New file.
5012 * gdb.go/chan.go: New file.
5013 * gdb.go/handcall.exp: New file.
5014 * gdb.go/handcall.go: New file.
5015 * gdb.go/hello.exp: New file.
5016 * gdb.go/hello.go: New file.
5017 * gdb.go/integers.exp: New file.
5018 * gdb.go/integers.go: New file.
5019 * gdb.go/methods.exp: New file.
5020 * gdb.go/methods.go: New file.
5021 * gdb.go/package.exp: New file.
5022 * gdb.go/package1.go: New file.
5023 * gdb.go/package2.go: New file.
5024 * gdb.go/print.exp: New file.
5025 * gdb.go/strings.exp: New file.
5026 * gdb.go/strings.go: New file.
5027 * gdb.go/types.exp: New file.
5028 * gdb.go/types.go: New file.
5029 * gdb.go/unsafe.exp: New file.
5030 * gdb.go/unsafe.go: New file.
5031 * lib/future.exp: Add Go support.
5032 (gdb_find_go, gdb_find_go_linker): New procs.
5033 (gdb_default_target_compile): Add Go support.
5034 * lib/gdb.exp (skip_go_tests): New proc.
5035 * lib/go.exp: New file.
5036
e65f9ffb
TT
50372012-04-25 Tom Tromey <tromey@redhat.com>
5038
5039 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
5040
14e75d8e
JK
50412012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5042 Jan Kratochvil <jan.kratochvil@redhat.com>
5043
5044 PR symtab/7259:
5045 * gdb.base/enumval.c: New test case.
5046 * gdb.base/enumval.exp: New test case.
5047 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
5048 field.bitpos.
5049
f3525b70
PA
50502012-04-17 Pedro Alves <palves@redhat.com>
5051
5052 * Makefile.in (site.exp): Make site.exp source
5053 $srcdir/lib/append_gdb_boards_dir.exp.
5054 * lib/append_gdb_boards_dir.exp: New file.
5055
bccbefd2
JK
50562012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5057
5058 New option "set auto-load safe-path".
5059 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
5060 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
5061
bf88dd68
JK
50622012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5063
5064 auto-load: Implementation.
5065 * gdb.base/help.exp (test set height): Increase the height.
5066 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
5067 to ...
5068 (info auto-load python-scripts): ... here.
5069 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
5070 to ...
5071 (info auto-load python-scripts *): ... here.
5072
c0d4d1c0
YQ
50732012-04-16 Yao Qi <yao@codesourcery.com>
5074
5075 * lib/trace-support.exp (get_in_proc_agent): New.
5076 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
5077 of in process trace agent.
5078 * gdb.trace/ftrace.exp: Likewise.
5079 * gdb.trace/pending.exp: Likewise.
5080 * gdb.trace/trace-break.exp: Likewise.
5081 * gdb.trace/trace-mt.exp
5082 * gdb.trace/tspeed.exp: Likewise.
5083 * gdb.trace/tstatus.exp
5084 * gdb.trace/strace.exp: Likewise.
5085
cbf68a60
TS
50862012-04-16 Thomas Schwinge <thomas@codesourcery.com>
5087
dd6d3b70
TS
5088 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
5089 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
5090
cbf68a60
TS
5091 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
5092
8264ba82
AG
50932012-04-14 Anton Gorenkov <xgsa@yandex.ru>
5094
5095 PR mi/13393
5096 * gdb.mi/mi-var-rtti.cc: New file.
5097 * gdb.mi/mi-var-rtti.exp: New file.
5098 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
5099 function.
5100 (mi_varobj_update_with_type_change): updated to avoid code duplication.
5101
de0919f8 51022012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
5103
5104 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
5105 EXECUTABLES.
5106 * gdb.python/py-explore.c: C program used for testing the new
5107 'explore' command on C constructs.
5108 * gdb.python/py-explore.cc: C++ program used for testing the new
5109 'explore' command on C++ constructs.
5110 * gdb-python/py-explore.exp: Tests for the new 'explore'
5111 command on C constructs.
5112 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
5113 command on C++ constructs.
5114
a82da7dd
MK
51152012-04-07 Mark Kettenis <kettenis@gnu.org>
5116
5117 * gdb.base/funcargs.exp (complex_args): Fix typo.
5118
e127cba8
JK
51192012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5120
5121 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
5122 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
5123
40e084e1
KS
51242012-04-05 Keith Seitz <keiths@redhat.com>
5125
5126 * gdb.base/advance.exp: Update error message for
5127 "advance malformed" test.
5128 * gdb.base/break.exp: Likewise for "breakpoint with
5129 trailing garbage" test.
5130 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
5131 with trailing garbage" test.
5132 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
5133 trailng garbage" test.
5134 * gdb.base/until.exp: Likewise for "malformed until" test.
5135 * gdb.cp/ovldbreak.exp: Create the breakpoint table
5136 for "breakpoint info (after setting on all)".
5137 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
5138 tests.
5139 * gdb.cp/cplabel.cc: New file.
5140 * gdb.cp/cplabel.exp: New test.
5141 * gdb.linespec/ls-errs.c: New file.
5142 * gdb.linespec/ls-errs.exp: New test.
5143
a72c8f6a
JK
51442012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5145
5146 * gdb.trace/unavailable.exp
5147 (collect globals: print object on: print derived_partial)
5148 (collect globals: print object on: print derived_whole)
5149 (collect globals: print object off: print derived_partial)
5150 (collect globals: print object off: print derived_whole): Update
5151 expected output.
5152
f87a3023
KS
51532012-03-30 Keith Seitz <keiths@redhat.com>
5154
5155 * gdb.python: Add test for linespecs with commas.
5156
e2171b3c
KS
51572012-03-28 Keith Seitz <keiths@redhat.com>
5158
5159 * gdb.linespec/ls-dollar.cc: New file.
5160 * gdb.linespec/ls-dollar.exp: New test.
5161
51622012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
5163
5164 * gdb.cp/namespace.exp: Add breakpoint tests for functions
5165 starting with the global namespace.
5166
2f4e0a80
DE
51672012-03-23 Doug Evans <dje@google.com>
5168
5169 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
5170
7b282c5a
SCR
51712012-03-22 Siva Chandra Reddy <sivachandra@google.com>
5172
5173 * gdb.python/py-value.cc: Add test case for testing the
5174 methodology exposing C++ values to Python.
5175 * gdb.python/py-value-cc.exp: Add tests testing the methodology
5176 exposing C++ values to Python.
5177 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
5178
2e98ca53
JK
51792012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5180 Siddhesh Poyarekar <siddhesh@redhat.com>
5181
5182 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
5183 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
5184 (generate native core dump): Make the test unsupported if core cannot
5185 be generated.
5186
8320cc4f
JK
51872012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5188
5189 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
5190 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
5191 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
5192
3a69ffb2
JK
51932012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5194
5195 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
5196
8fabffee
DE
51972012-03-17 Doug Evans <dje@google.com>
5198
5199 * dg-extract-results.sh: Handle KFAILs.
5200
ab260dad
JK
52012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 PR symtab/13777
5204 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
5205
53ba8333
JB
52062012-03-16 Joel Brobecker <brobecker@adacore.com>
5207
5208 * gdb.ada/set_pckd_arr_elt: New testcase.
5209
481860b3
GB
52102012-03-16 Gary Benson <gbenson@redhat.com>
5211
5212 PR breakpoints/10738
5213 * gdb.opt/inline-break.exp: New file.
5214 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
5215 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
5216 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
5217 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
5218 * gdb.base/async-shell.exp: Likewise.
5219 * lib/mi-support.exp (library_loaded_re): Likewise.
5220
410528f0
TT
52212012-03-15 Tom Tromey <tromey@redhat.com>
5222
5223 * gdb.cp/virtfunc2.exp: Update expected output.
5224 * gdb.cp/pr9631.exp: Update expected output.
5225 * gdb.cp/member-ptr.exp: Update expected output.
5226 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
5227 output.
5228 * gdb.cp/casts.exp: Update expected output.
5229
c4aeac85
TT
52302012-03-15 Tom Tromey <tromey@redhat.com>
5231
5232 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
5233 (test_info_vtbl): Likewise.
5234 (do_tests): Call test_info_vtbl.
5235 * gdb.cp/virtfunc.cc (va): New global.
5236
856d06f9
TS
52372012-03-15 Thomas Schwinge <thomas@codesourcery.com>
5238
5239 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
5240 describing DWARF data structures.
5241 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
5242 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
5243 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
5244 * gdb.dwarf2/dw2-entry-value.S: Likewise.
5245 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
5246 * gdb.dwarf2/dw2-param-error.S: Likewise.
5247 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
5248 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
5249 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
5250 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
5251 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
5252 * gdb.dwarf2/pr11465.S: Likewise.
5253
e837f12a
JK
52542012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5255
5256 * gdb.mi/mi2-prompt.exp: New file.
5257
ccbb4f28
JB
52582012-03-13 Joel Brobecker <brobecker@adacore.com>
5259
5260 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
5261
32039130
JB
52622012-03-13 Joel Brobecker <brobecker@adacore.com>
5263
5264 * gdb.ada/bp_range_type: New testcase.
5265
16899756
DE
52662012-03-13 Doug Evans <dje@google.com>
5267
5268 * gdb.base/default.exp: Delete tests for symbol-reloading.
5269 * gdb.base/help.exp: Ditto.
5270 * gdb.base/setshow.exp: Ditto.
5271 * gdb.base/gdb_history: Delete references to symbol-reloading.
5272
87b0bb13
JK
52732012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5274
5275 * gdb.base/attach-twice.c: New files.
5276 * gdb.base/attach-twice.exp: New files.
5277
0d7941a9
KS
52782012-03-08 Keith Seitz <keiths@redhat.com>
5279
5280 * lib/gdb.exp (gdb_get_line_number): Throw an
5281 error instead of returning -1.
5282 * gdb.base/break.exp: Remove unused variable
5283 bp_location5.
5284 * gdb.base/hbreak2.exp: Likewise.
5285 * gdb.base/sepdebug.exp: Likewise.
5286
f4647387
YQ
52872012-03-08 Yao Qi <yao@codesourcery.com>
5288 Pedro Alves <palves@redhat.com>
5289
5290 Fix PR server/13392.
5291 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
5292 (tracepoint_change_loc_2): Remove kfail. Return if failed to
5293 download tracepoints.
5294 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
5295 (pending_tracepoint_resolved_during_trace): Likewise.
5296 (pending_tracepoint_installed_during_trace): Likewise.
5297 (pending_tracepoint_with_action_resolved): Likewise.
5298
83c532cb
KS
52992012-03-08 Keith Seitz <keiths@redhat.com>
5300
5301 * gdb.ada/array_bounds.exp: Get breakpoint for line
5302 with "START", not "STOP".
5303 * gdb.python/py-infthread.exp: Do not continue to
5304 line marked "Break here.", which is undefined.
5305
d6b6bbb7
LM
53062012-03-08 Luis Machado <lgustavo@codesourcery.com>
5307
5308 Revert:
5309
5310 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5311
5312 Implement testsuite workaround for PR breakpoints/13781.
5313 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5314 (set breakpoint condition-evaluation host): New conditional command.
5315
7fe25d9b
JK
53162012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5317
5318 Fix CU relative vs. absolute DIE offsets.
5319 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
5320 one.
5321
51898c15
JK
53222012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5323
5324 Fix false FAIL on distros with relro linkage as default.
5325 * gdb.reverse/solib-precsave.exp: Try to compile the test using
5326 -Wl,-z,norelro first.
5327
8131799e
JB
53282012-03-06 Joel Brobecker <brobecker@adacore.com>
5329
5330 * gdb.ada/bp_on_var: New testcase.
5331
ba241969
JB
53322012-03-06 Joel Brobecker <brobecker@adacore.com>
5333
5334 * gdb.ada/bp_enum_homonym: New testcase.
5335
abe49676
YQ
53362012-03-06 Yao Qi <yao@codesourcery.com>
5337
5338 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
5339 x86_64-*-* and i?86-*-*.
5340 Set up KFAIL for gdb/13808.
5341
d8df103b
TT
53422012-03-05 Tom Tromey <tromey@redhat.com>
5343
5344 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
5345 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
5346
b7b189f3
TT
53472012-03-05 Tom Tromey <tromey@redhat.com>
5348
5349 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
5350
69dc1c4d
YQ
53512012-03-04 Yao Qi <yao@codesourcery.com>
5352
5353 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
5354 messages for KFAIL.
5355
3f20c47f
JK
53562012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5357
5358 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
5359 (print one_two_three, indexes off, print few_reps, indexes off)
5360 (print many_reps, indexes off, print empty, indexes off)
5361 (print one_two_three, print few_reps, print many_reps, print empty):
5362 Call setup_xfail if $gcc_old.
5363
abf1152a
JK
53642012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5365
5366 Implement testsuite workaround for PR breakpoints/13781.
5367 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
5368 (set breakpoint condition-evaluation host): New conditional command.
5369
a06715f8
JK
53702012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5371
5372 Code cleanup.
5373 * gdb.cp/mb-templates.exp: New variables executable. Use it for
5374 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
5375 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
5376 number 1 by $bpnum. Four times.
5377
5808517f
YQ
53782012-03-03 Yao Qi <yao@codesourcery.com>
5379
5380 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
5381
dfe2ac14
JK
53822012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5383
5384 Setup KFAIL for PR server/13796.
5385 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
5386
8bbc467a
JB
53872012-03-02 Joel Brobecker <brobecker@adacore.com>
5388
5389 * gdb.ada/operator_bp: New testcase.
5390
c0eac87f
JB
53912012-03-02 Joel Brobecker <brobecker@adacore.com>
5392
5393 * gdb.ada/info_locals_renaming: New testcase.
5394
4f42c881
TT
53952012-03-02 Tom Tromey <tromey@redhat.com>
5396
5397 * gdb.base/nextoverexit.c: New file.
5398 * gdb.base/nextoverexit.exp: New file.
5399
7380c0c9
EBM
54002012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
5401
5402 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
5403 parameter.
5404
1faeff08
MR
54052012-03-01 Maciej W. Rozycki <macro@mips.com>
5406
5407 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
5408 core registers.
5409
320b6f49 54102012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
5411 Maciej W. Rozycki <macro@codesourcery.com>
5412 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
5413
5414 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
5415
ad5f7d6e
PA
54162012-03-01 Pedro Alves <palves@redhat.com>
5417
5418 PR gdb/13767
5419
5420 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
5421 (gdb_collect_globals_test): Call it.
5422
d3dc44a6
KS
54232012-03-01 Keith Seitz <keiths@redhat.com>
5424
5425 * gdb.cp/method2.exp: Output of overload menu is now
5426 alphabetized. Update tests for "break A::method".
5427 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
5428 of hard-coding them.
5429 Overload menu is alphabetized: rewrite to accommodate.
5430 Unset variables LINE and TYPES which are used in other tests.
5431 Compute the output of "info break".
5432 Update the breakpoint table after all breakpoints are deleted.
5433 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
5434 compute ACTUALS and the method body based on parameters.
5435 Update expected output accordingly.
5436 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
5437 unique comments to allow the use of gdb_get_line_number.
5438
54392012-03-01 Keith Seitz <keiths@redhat.com>
5440
5441 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
5442 some Tcl syntax.
5443 * gdb.cp/ovldbreak.exp: Likewise.
5444
7949c2a0
KS
54452012-03-01 Keith Seitz <keiths@redhat.com>
5446
5447 * gdb.base/help.exp (help show user): Update expected result
5448 for new doc string changes (add "non-python").
5449
7d74f244
DE
54502012-03-01 Scott J. Goldman <scottjg@vmware.com>
5451
5452 * gdb.python/py-cmd.exp: Add test to verify that python commands can
5453 be put in the user-defined category and that the commands appear in
5454 "help user-defined".
5455
1b611343
JB
54562012-02-29 Joel Brobecker <brobecker@adacore.com>
5457
5458 * gdb.ada/tagged_not_init: New testcase.
5459
99b1c762
JB
54602012-02-29 Joel Brobecker <brobecker@adacore.com>
5461
5462 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
5463 * gdb.ada/enum_idx_packed: New testcase.
5464
2d4a02ee
JB
54652012-02-29 Joel Brobecker <brobecker@adacore.com>
5466
5467 * gdb.ada/aliased_array: New testcase.
5468
2e6fda7d
JB
54692012-02-29 Joel Brobecker <brobecker@adacore.com>
5470
5471 * gdb.ada/whatis_array_val: New testcase.
5472
9a7f938f
JK
54732012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5474
5475 Fix disp-step-syscall.exp: fork: single step over fork.
5476 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
5477 whitespaces.
5478 (single step over $syscall): Remove its check.
5479 (single step over $syscall final pc): New check.
5480
8703a944
JK
54812012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5482
5483 Support processors without SSSE3.
5484 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
5485 pabsd into ...
5486 (ssse3_test): ... a new function.
5487 (main): Call ssse3_test.
5488 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
5489 Update expected values everywhere.
5490 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
5491 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
5492 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
5493 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
5494 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
5495 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
5496 Move these tests lower.
5497 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
5498 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
5499 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
5500 New tests.
5501
c03e6ccc
YQ
55022012-02-29 Yao Qi <yao@codesourcery.com>
5503 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.trace/trace-mt.c: New.
5506 * gdb.trace/trace-mt.exp: New.
5507
7964b62a
TS
55082012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5509
2c8910ba
TS
5510 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5511 numbers instead of hardcoding them.
5512 * gdb.base/annota1.c: Provide suitable markers.
5513 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5514 numbers instead of hardcoding them.
5515 * gdb.base/annota3.c: Provide suitable markers.
5516
5517 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5518 * gdb.base/annota3.c: Likewise.
5519 * gdb.base/sigall.c: Likewise.
5520 * gdb.base/signals.c: Likewise.
5521 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 5522
5a41c0b7
MR
55232012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5524
5525 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5526 failure return path.
5527
ebbbe5c5
LM
55282012-02-27 Luis Machado <lgustavo@codesourcery.com>
5529
5530 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5531
8d126d8a
LM
55322012-02-24 Luis Machado <lgustavo@codesourcery.com>
5533
5534 * gdb.base/cond-eval-mode.exp: New file.
5535
11337c2f
PA
55362012-02-24 Pedro Alves <palves@redhat.com>
5537
5538 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5539 (top level): Use with_test_prefix.
5540
13fc3e3c
PA
55412012-02-24 Pedro Alves <palves@redhat.com>
5542
5543 * gdb.threads/attach-into-signal.exp (corefunc): Use
5544 with_test_prefix.
5545
07c1b626
JK
55462012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5547
5548 Fix false FAILs on old CPUs without SSE.
5549 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5550 Return untested for Illegal instruction.
5551
596ba138
JK
55522012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5553
5554 Fix false FAILs with glibc debug infos installed.
5555 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5556 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5557
aeaa2474
SA
55582012-02-22 Sterling Augustine <saugustine@google.com>
5559
5560 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5561 constant with cast.
5562
aed555c9
PA
55632012-02-21 Pedro Alves <palves@redhat.com>
5564
5565 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5566
78afebb4
PA
55672012-02-21 Pedro Alves <palves@redhat.com>
5568
5569 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5570
fdcfef12
PA
55712012-02-21 Pedro Alves <palves@redhat.com>
5572
5573 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5574 with_test_prefix.
5575
0f4d39d5
PA
55762012-02-21 Pedro Alves <palves@redhat.com>
5577
5578 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5579 with_test_prefix here.
5580 (top level): Do it here instead. Remove `:' from the
5581 with_test_prefix string.
5582 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5583 the suffix `:' from the with_test_prefix prefix string.
5584 * gdb.base/break-interp.exp: Ditto.
5585 * gdb.base/catch-load.exp: Ditto.
5586 * gdb.base/disp-step-syscall.exp: Ditto.
5587 * gdb.base/jit-so.exp: Ditto.
5588 * gdb.base/jit.exp: Ditto.
5589 * gdb.base/sepdebug.exp: Ditto.
5590 * gdb.base/solib-display.exp: Ditto.
5591 * gdb.base/solib-overlap.exp: Ditto.
5592 * gdb.base/watch-cond-infcall.exp: Ditto.
5593 * gdb.base/watchpoint.exp: Ditto.
5594 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5595 * gdb.mi/mi-watch.exp: Ditto.
5596 * gdb.mi/mi2-watch.exp: Ditto.
5597 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5598 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5599 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5600 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5601 * gdb.threads/watchpoint-fork.exp: Ditto.
5602 * gdb.threads/watchthreads-reorder.exp: Ditto.
5603 * gdb.trace/change-loc.exp: Ditto.
5604 * gdb.trace/pending.exp: Ditto.
5605 * gdb.trace/status-stop.exp: Ditto.
5606 * gdb.trace/strace.exp: Ditto.
5607 * gdb.trace/trace-break.exp: Ditto.
5608 * gdb.trace/unavailable.exp: Ditto.
5609 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5610 suffix with colon. Adjust leading comments.
5611
6a5870ce
PA
56122012-02-21 Pedro Alves <palves@redhat.com>
5613 Tom Tromey <tromey@redhat.com>
5614
5615 * lib/gdb.exp: Add description of test prefixes.
5616 (with_test_prefix): New procedure.
5617 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5618 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5619 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5620 instead of lappend to append to pf_prefix.
5621 * gdb.base/catch-load.exp: Use with_test_prefix.
5622 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5623 * gdb.base/jit-so.exp: Use with_test_prefix.
5624 * gdb.base/jit.exp: Use with_test_prefix.
5625 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5626 lappend to append to pf_prefix.
5627 * gdb.base/sepdebug.exp: Use with_test_prefix.
5628 * gdb.base/solib-display.exp: Use with_test_prefix.
5629 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5630 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5631 * gdb.base/watchpoint.exp: Use with_test_prefix.
5632 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5633 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5634 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5635 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5636 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5637 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5638 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5639 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5640 append instead of lappend to append to pf_prefix.
5641 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5642 * gdb.trace/change-loc.exp: Use with_test_prefix.
5643 * gdb.trace/pending.exp: Use with_test_prefix.
5644 * gdb.trace/status-stop.exp: Use with_test_prefix.
5645 * gdb.trace/strace.exp: Use with_test_prefix.
5646 * gdb.trace/trace-break.exp: Use with_test_prefix.
5647 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5648 instead of lappend to append to pf_prefix.
5649
35dc4a6b
JK
56502012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5651
5652 Fix racy FAILs.
5653 * gdb.base/inferior-died.c (main): Add return of 0.
5654 * gdb.base/inferior-died.exp (continue): Fix expectation of
5655 asynchronous events.
5656 (p 1): New test.
5657
c5a006e6
PA
56582012-02-20 Pedro Alves <palves@redhat.com>
5659
5660 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5661 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5662 gdb's internal debug output. For the non-threaded case, look for
5663 "Program received signal SIGLARM", for the threaded case, peek at
5664 the thread's siginfo.
5665
cc51a170
PA
56662012-02-20 Pedro Alves <palves@redhat.com>
5667
5668 General cleanup, make output test messages unique, and build
5669 different executable files for the non-threaded and threaded
5670 cases.
5671
5672 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5673 Delete.
5674 (executable_nothr, executable_thr): New globals.
5675 (top level): Adjust to delete both executables.
5676 (corefunc): New parameter $executable. Set $pf_prefix instead of
5677 hand writing a prefix in tests. Issue a clean_restart and enable
5678 lin-lwp debug output here.
5679 (top level): Adjust. Use build_executable. Don't start gdb here,
5680 and don't enable lin-lwp debug output here.
5681 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5682
c755f03d
JK
56832012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5684
5685 Fix racy FAILs.
5686 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5687 "continue" command.
5688
6bec5e0a
JK
56892012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5690
5691 Fix for gdbserver non-extended mode.
5692 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5693 and gdb_run_cmd.
5694
2e8265fd
TT
56952012-02-17 Tom Tromey <tromey@redhat.com>
5696
5697 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5698 * gdb.python/py-events.exp: Check 'dir' output.
5699 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5700
9e507076
YQ
57012012-02-17 Yao Qi <yao@codesourcery.com>
5702
5703 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5704
32d22ab1
TT
57052012-02-16 Tom Tromey <tromey@redhat.com>
5706
5707 * gdb.base/inferior-died.c: Don't include stdio.h.
5708
9addecb9
TT
57092012-02-16 Tom Tromey <tromey@redhat.com>
5710
5711 * gdb.base/inferior-died.c: New file.
5712 * gdb.base/inferior-died.exp: New file.
5713
4cb6da1c
AR
57142012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5715
5716 * gdb.base/break-inline.exp: New file.
5717 * gdb.base/break-inline.c: New file.
5718
3af2590d
TT
57192012-02-15 Tom Tromey <tromey@redhat.com>
5720
5721 * gdb.base/pc-fp.exp: Add "info register" tests.
5722
29988831
TT
57232012-02-15 Tom Tromey <tromey@redhat.com>
5724
5725 * gdb.base/regs.exp: Remove.
5726
10010058
PA
57272012-02-15 Pedro Alves <palves@redhat.com>
5728
5729 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5730 the target doesn't support tracepoints.
5731 * gdb.trace/circ.exp: Ditto.
5732 * gdb.trace/collection.exp: Ditto.
5733 * gdb.trace/packetlen.exp: Ditto.
5734 * gdb.trace/passc-dyn.exp: Ditto.
5735 * gdb.trace/report.exp: Ditto.
5736 * gdb.trace/tfind.exp: Ditto.
5737 * gdb.trace/tspeed.exp: Ditto.
5738 * gdb.trace/tsv.exp: Ditto.
5739 * gdb.trace/unavailable.exp: Ditto.
5740 * gdb.trace/while-dyn.exp: Ditto.
5741
a2e0062d
PA
57422012-02-15 Pedro Alves <palves@redhat.com>
5743
5744 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5745 gdb_test_multiple, and call unsupported instead of fail, if the
5746 remote side does not support the request.
5747
a1999d40
PA
57482012-02-15 Pedro Alves <palves@redhat.com>
5749
5750 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5751 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5752 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5753 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5754 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5755 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5756 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5757 doesn't start with "extended-" already.
5758
7cee1e54
PA
57592012-02-15 Pedro Alves <palves@redhat.com>
5760
5761 Support extended-remote. Avoid cascading timeouts.
5762
5763 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5764 the extended-remote target. If attaching with no file fails, load
5765 the file manually.
5766 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5767
816338b5
SS
57682012-02-14 Stan Shebs <stan@codesourcery.com>
5769
5770 * gdb.base/ena-dis-br.exp: Add enable count test.
5771
cc30c4bd
PA
57722012-02-13 Pedro Alves <palves@redhat.com>
5773
5774 * config/mips-idt.exp: Delete.
5775 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5776 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5777 * gdb.base/break.exp: Remove mips-idt references.
5778 * gdb.base/chng-syms.exp: Ditto.
5779 * gdb.base/default.exp: Ditto.
5780 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5781 (top level): Don't call it.
5782 * gdb.base/opaque.exp: Remove mips-idt restarts.
5783 * gdb.base/ptype.exp: Remove mips-idt xfails.
5784 * gdb.base/scope.exp: Remove mips-idt restarts.
5785 * gdb.base/sepdebug.exp: Remove mips-idt references.
5786 * gdb.base/watchpoint.exp (maybe_clean_restart)
5787 (maybe_reinitialize): Delete.
5788 (test_disabling_watchpoints, test_disabling_watchpoints)
5789 (test_watchpoint_triggered_in_syscall)
5790 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5791 Don't call them.
5792
57008375
JK
57932012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5794
5795 * gdb.server/server-exec-info.exp: New file.
5796
4a2d9c08
PA
57972012-02-10 Pedro Alves <palves@redhat.com>
5798
5799 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5800 always non-empty.
5801 (test_attach): Always pass $exec to test_attach_gdb.
5802
09fa21bd
TT
58032012-02-08 Tom Tromey <tromey@redhat.com>
5804
5805 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5806 before inferior is started.
5807
f0823d2c
TT
58082012-02-07 Tom Tromey <tromey@redhat.com>
5809
5810 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5811 Symbol.value.
5812 * gdb.python/py-symbol.c (qq): Set default value.
5813
58142012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
5815
5816 * gdb.python/py-symbol.c (qq): New global.
5817 * gdb.python/py-symbol.exp: Add test for frame-less
5818 lookup_symbol.
5819 * gdb.python/py-symtab.exp: Fix line number.
5820
f7e44f65
JB
58212012-02-03 Joel Brobecker <brobecker@adacore.com>
5822
5823 * gdb.ada/mi_task_arg: New testcase.
5824
4c9ed63c
PA
58252012-02-02 Pedro Alves <palves@redhat.com>
5826
5827 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5828 extended timeout.
5829
c0b9f2c6
PA
58302012-02-02 Pedro Alves <palves@redhat.com>
5831
5832 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5833 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5834
5f8cefd7
PA
58352012-02-02 Pedro Alves <palves@redhat.com>
5836
5837 * gdb.base/term.exp: Rewrite.
5838 * gdb.base/term.c: New.
5839
2f3a2569
PA
58402012-02-02 Pedro Alves <palves@redhat.com>
5841
5842 * gdb.base/default.exp (run "r" abbreviation, run): Add
5843 extended-remote expected output.
5844
f149aabd
TT
58452012-02-02 Tom Tromey <tromey@redhat.com>
5846
5847 * gdb.cp/dispcxx.exp: New file.
5848 * gdb.cp/dispcxx.cc: New file.
5849
03bef283
TT
58502012-02-01 Tom Tromey <tromey@redhat.com>
5851
5852 * gdb.base/jit-simple.exp: New file.
5853 * gdb.base/jit-simple.c: New file.
5854
a79b18b5
YQ
58552012-01-30 Yao Qi <yao@codesourcery.com>
5856
5857 * gdb.base/skip.exp: Make test result unique.
5858
f0d1a53e
JK
58592012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5860
5861 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5862 compatibility with valgrind-3.7.0.
5863
4b3c9f41
PA
58642012-01-27 Pedro Alves <palves@redhat.com>
5865
5866 * gdb.base/watchpoint.exp (no_hw): New global.
5867 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5868 disable hw watchpoints.
5869 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5870 don't expect hw watchpoints.
5871 (no_hw_watchpoints): Always clean restart.
5872 (do_tests): New procedure, factored out from the top level.
5873 (top level): Run tests twice. Once with hw watchpoints enabled,
5874 another time with hw watchpoints disabled.
5875
a13491c8
PA
58762012-01-27 Pedro Alves <palves@redhat.com>
5877
5878 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5879 out from the top level.
5880 (top level): Call it instead.
5881
f2c8a051
PA
58822012-01-27 Pedro Alves <palves@redhat.com>
5883
5884 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5885 watchpoints sooner.
5886
654d7a9e
PA
58872012-01-27 Pedro Alves <palves@redhat.com>
5888
5889 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5890
274f47f3
PA
58912012-01-27 Pedro Alves <palves@redhat.com>
5892
5893 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5894 "You may have requested too many hardware
5895 breakpoints/watchpoints".
5896
e4d63ba2
PA
58972012-01-27 Pedro Alves <palves@redhat.com>
5898
5899 * gdb.base/watchpoint.exp (maybe_clean_restart)
5900 (maybe_reinitialize): New.
5901 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5902 expect "hit N times".
5903 (test_disabling_watchpoints, test_complex_watchpoint)
5904 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5905 Call maybe_clean_restart.
5906 (top level): Use clean_restart. Remove "mips-idt-*"
5907 reinitialization.
5908
dbd95daf
PA
59092012-01-27 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5912
f3ad2025
PA
59132012-01-27 Pedro Alves <palves@redhat.com>
5914
5915 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5916 require `initialize' anymore. Remove unnecessary `initialize'
5917 calls.
5918
100aa3ae
PA
59192012-01-27 Pedro Alves <palves@redhat.com>
5920
5921 * gdb.base/watchpoint.exp (wp_set): Delete.
5922 (initialize, test_simple_watchpoint, top level): Remove dead code.
5923
c79a8e11
PA
59242012-01-27 Pedro Alves <palves@redhat.com>
5925
5926 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5927 typo.
5928
048fe15a
PA
59292012-01-27 Pedro Alves <palves@redhat.com>
5930
5931 * config/extended-gdbserver.exp: New file.
5932 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5933 comment.
5934 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5935 * boards/native-extended-gdbserver.exp: New file.
5936
4033a6bf
PA
59372012-01-26 Pedro Alves <palves@redhat.com>
5938
5939 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5940 and gdb_test_multiple.
5941
3d7f4b81
PA
59422012-01-26 Pedro Alves <palves@redhat.com>
5943
5944 Make test messages unique, and more identifiable.
5945 * gdb.multi/watchpoint-multi.exp: Change test messages.
5946
484abf42
TT
59472012-01-25 Tom Tromey <tromey@redhat.com>
5948
5949 * gdb.base/solib-disc.exp: Fix regexps.
5950
edcc5120
TT
59512012-01-24 Tom Tromey <tromey@redhat.com>
5952
5953 * lib/mi-support.exp (mi_expect_stop): Add special case for
5954 solib-event.
5955 * gdb.base/catch-load-so.c: New file.
5956 * gdb.base/catch-load.exp: New file.
5957 * gdb.base/catch-load.c: New file.
5958 * gdb.base/break-interp.exp (reach_1): Update regexp.
5959
30b91c90
JK
59602012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5961
5962 Fix fuzzy results.
5963 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5964 lpsimple and func.
5965
53fe1783
GB
59662012-01-24 Gary Benson <gbenson@redhat.com>
5967
5968 Delete #if 0'd out code.
5969 * gdb.base/default.exp (info catch): Remove.
5970 * gdb.base/gdb_history (info catch): Likewise.
5971 * gdb.base/help.exp (info catch): Likewise.
5972
d0d8b0c6
JK
59732012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5974
5975 Fix watchpoints to be specific for each inferior.
5976 * gdb.multi/watchpoint-multi.c: New file.
5977 * gdb.multi/watchpoint-multi.exp: New file.
5978
4403d8e9
JK
59792012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5980
5981 Fix watchpoints across inferior fork.
5982 * gdb.threads/watchpoint-fork-child.c: New file.
5983 * gdb.threads/watchpoint-fork-mt.c: New file.
5984 * gdb.threads/watchpoint-fork-parent.c: New file.
5985 * gdb.threads/watchpoint-fork-st.c: New file.
5986 * gdb.threads/watchpoint-fork.exp: New file.
5987 * gdb.threads/watchpoint-fork.h: New file.
5988
050a2e1d
PA
59892012-01-23 Pedro Alves <palves@redhat.com>
5990
5991 * gdb.base/call-signal-resume.exp: Allow output after "return".
5992
6a52fb62
PA
59932012-01-20 Pedro Alves <palves@redhat.com>
5994
5995 * gdb.python/py-finish-breakpoint.py: Fix typo.
5996
145b16a9
UW
59972012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5998
5999 * gdb.base/info-proc.exp: Also run on remote targets. Main
6000 "info proc" command is now always present; whether target supports
6001 actual info proc operation is detected when attempting to issue
6002 the command.
6003
26f6125e
JK
60042012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6005
6006 * .gdbinit: Remove.
6007
eb5227ce
PA
60082012-01-19 Pedro Alves <palves@redhat.com>
6009
6010 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
6011 look at the funtions' returns.
6012 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
6013 (jprint.print(int, int)): Change return type to int. Adjust.
6014
1db33378
PP
60152012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6016
6017 PR gdb/9538
6018 * gdb.base/sepdebug.exp: New test.
6019
b9736cf8
PA
60202012-01-18 Pedro Alves <palves@redhat.com>
6021
6022 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
6023 Allow output before ^done.
6024
4aac40c8
TT
60252012-01-16 Tom Tromey <tromey@redhat.com>
6026
6027 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
6028 Add tests for relative directory.
6029
cafec441
TT
60302012-01-16 Tom Tromey <tromey@redhat.com>
6031
6032 * gdb.base/printcmds.c (enum flag_enum): New.
6033 (three): New global.
6034 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
6035 enum printing.
6036 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
6037 FlagEnumerationPrinter.
6038 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
6039 * gdb.python/py-pp-maint.c (enum flag_enum): New.
6040 (fval): New global.
6041
abcc4978
PA
60422012-01-16 Pedro Alves <palves@redhat.com>
6043
6044 * lib/gdb.exp (banned_procedures): New variable.
6045 (banned_variables_traced): Rename to ...
6046 (banned_traced): ... this.
6047 (gdb_init): Also trace banned procedures.
6048 (gdb_finish): Also untrace banned procedures.
6049
97ccebe8
PA
60502012-01-16 Pedro Alves <palves@redhat.com>
6051
6052 Remove all calls to strace.
6053
2af7517b
JK
60542012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6055
6056 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
6057 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
6058
9241a8bc
PP
60592012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6060
6061 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
6062 * gdb.base/pie-execl.exp: Likewise.
6063
3848a17f
KS
60642012-01-12 Keith Seitz <keiths@redhat.com>
6065
6066 PR mi/10586
6067 * gdb.mi/var-cmd.c (struct anonymous): New structure.
6068 (do_anonymous_type_tests): New function.
6069 (main): Call do_anonymous_type_tests.
6070 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
6071 (verify_everything): New procedure.
6072 * gdb.mi/mi-var-cp.cc (class A): New class.
6073 (anonymous_structs_and_unions): New function.
6074 (main): Call anonymous_structs_and_unions.
6075 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
6076 (verify_everything): New procedure.
6077
440e2fca
KS
60782012-01-12 Keith Seitz <keiths@redhat.com>
6079
6080 * lib/mi-support.exp: Expand comments about PATH_EXPR.
6081 (varobj_tree::get_path_expr): Assume that all varobjs are
6082 compound unless they are known simple types.
6083 Adjust path expressions based on parent type, path parent type,
6084 and tree language.
6085 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
6086 the root varobj.
6087 (mi_walk_varobj_tree): Add LANGUAGE parameter.
6088
675399c9
PA
60892012-01-11 Pedro Alves <palves@redhat.com>
6090
6091 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
6092 core files on this machine" anymore.
6093
97ddaa9b
PH
60942012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6095
6096 * gdb.base/watchpoint.c (recurser): Initialize local_x.
6097 (main): Repeat recurser call.
6098 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
6099 equivalent to 'local_x'.
6100
ea733575 61012012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 6102 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
6103
6104 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
6105
2ca0b532
PA
61062012-01-05 Pedro Alves <alves.ped@gmail.com>
6107
6108 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
6109 * gdb.python/py-events.c (first): Add bits for new "step N" test.
6110 * gdb.python/py-events.exp: Test that "step N" tripping on a
6111 breakpoint emits a breakpoint event.
6112
6e681866
JB
61132012-01-03 Joel Brobecker <brobecker@adacore.com>
6114
6115 * gdb.base/auxv.exp: Reformat the copyright notice.
6116
3c2d6aff
YQ
61172012-01-03 Yao Qi <yao@codesourcery.com>
6118
6119 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
6120 (strace_trace_on_diff_addr): New.
6121 * gdb.trace/strace.c: (main): Add two local variables.
6122
0852fee3
UW
61232011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
6124
6125 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
6126 * gdb.cell/gcore.exp: Likewise.
6127 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
6128 to verify the correct instance of main is selected.
6129
12c3e59c
JB
61302012-01-02 Joel Brobecker <brobecker@adacore.com>
6131
6132 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
6133 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
6134 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
6135 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
6136 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
6137 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
6138 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
6139 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
6140 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
6141 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
6142 gdb.threads/thread_check.c: Reformat copyright header.
6143
c0f378ec
EBM
61442011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
6145
e4a7ca93 6146 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
6147 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
6148 is not enabled.
6149
3bc96cfb
JK
61502011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6151
6152 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
6153 parameter to self_exec, adjust the function.
6154 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
6155 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
6156 (set var do_exit = 0): Remove test.
6157 (newline at end of file): Add one.
6158
095bcf5e
JB
61592011-12-27 Joel Brobecker <brobecker@adacore.com>
6160
6161 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
6162 New files.
6163
18d19bd1
JK
61642011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6165
6166 Fix racy FAILs.
6167 * gdb.threads/fork-thread-pending.c (barrier): New variable.
6168 (thread_function, thread_forker): Call pthread_barrier_wait for it.
6169 (main): Call pthread_barrier_init for it.
6170
e809353a
JK
61712011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6172
6173 Fix double send_gdb leading to racy FAILs.
6174 * gdb.base/break.exp (set silent break bp_location1): Replace
6175 3x send_gdb and gdb_expect by gdb_test.
6176 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
6177 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
6178 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
6179 instead of send_gdb. Twice.
6180 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
6181 3x send_gdb and gdb_expect by gdb_test.
6182 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
6183
da8cb7ec
JK
61842011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6185
6186 * gdb.linespec/linespec.exp: Compile using {c++}.
6187
ae1a303e
JK
61882011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6189
6190 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
6191 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
6192 (verify GCC PR debug/51668): New test.
6193
cc72b2a2
KP
61942011-12-23 Kevin Pouget <kevin.pouget@st.com>
6195
6196 Introduce gdb.FinishBreakpoint in Python.
6197 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
6198 py-finish-breakpoint2
6199 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
6200 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
6201 instead of line number.
6202 * gdb.python/py-finish-breakpoint.c: New file.
6203 * gdb.python/py-finish-breakpoint.exp: New file.
6204 * gdb.python/py-finish-breakpoint.py: New file.
6205 * gdb.python/py-finish-breakpoint2.cc: New file.
6206 * gdb.python/py-finish-breakpoint2.exp: New file.
6207 * gdb.python/py-finish-breakpoint2.py: New file.
6208
3b7962f9
JK
62092011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6210
6211 Partial fix of compatibility with gcc-4.7.
6212 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
6213 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
6214 Add comment to add a PASS case in the future.
6215
6538471c
JK
6216 Fix compatibility with gcc-4.7.
6217 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
6218
7052e42c
UW
62192011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
6220
6221 PR tdep/12797
6222 * gdb.base/callfuncs.exp: Remove KFAIL.
6223
9ac7f98e
JB
62242011-12-21 Joel Brobecker <brobecker@adacore.com>
6225
6226 * gdb.ada/task_bp: New testcase.
6227
f6eeced0
JK
62282011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6229
6230 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
6231 -DNO_SECTIONS.
6232 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
6233
72225e17
JK
62342011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6235
6236 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
6237 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
6238 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6239 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
6240 conditional for gcc <= 4.5.
6241
13ac8d2c
JK
62422011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6243
6244 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
6245 by XFAIL.
6246 * gdb.cp/static-method.exp (info addr A::func())
6247 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6248 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6249 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6250 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
6251 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
6252 (test value of F in k3_m): Likewise.
6253 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
6254 Likewise.
6255
049682ba
JK
62562011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6257
6258 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
6259 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
6260 Remove.
6261 * gdb.threads/attachstop-mt.c: Remove.
6262 * gdb.threads/attachstop-mt.exp: Remove.
6263
2c9d8796
MK
62642011-12-17 Mark Kettenis <kettenis@gnu.org>
6265
6266 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
6267
e0f9f062
DE
62682011-12-16 Doug Evans <dje@google.com>
6269
f4aa2101 6270 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
6271 * boards/native-gdbserver.exp: New file.
6272
e0f9f062
DE
6273 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
6274 gdbserver output.
6275 (gdbserver_default_get_remote_address): New function.
6276 (gdbserver_start): Call gdb,get_remote_address to compute argument
6277 to "target remote" command.
6278
80b6e756
PM
62792011-12-16 Phil Muldoon <pmuldoon@redhat.com>
6280
1c3ad6ab 6281 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
6282 python print-stack. Add set/show python print-stack
6283 off|full|message tests.
6284
1576bd00
YQ
62852011-12-15 Yao Qi <yao@codesourcery.com>
6286
6287 * gdb.trace/strace.c: New
6288 * gdb.trace/strace.exp: New.
6289
d6a0f6e0
TT
62902011-12-14 Tom Tromey <tromey@redhat.com>
6291
6292 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
6293
31015e1d
DE
62942011-12-14 Doug Evans <dje@google.com>
6295
6296 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
6297
7b50312a
PA
62982011-12-14 Pedro Alves <pedro@codesourcery.com>
6299
6300 PR threads/10729
6301
6302 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 6303 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 6304
924437bc
PA
63052011-12-13 Pedro Alves <pedro@codesourcery.com>
6306 Doug Evans <dje@google.com>
6307
6308 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
6309 (clean_restart): Remove references to the gdb_stub target board
6310 variable.
6311 (gdb_step_for_stub): Delete.
6312
6313 * gdb.base/annota1.exp: Remove all references to [target_info
6314 exists gdb_stub], gdb_step_for_stub and usestubs.
6315 * gdb.base/annota3.exp: Ditto.
6316 * gdb.base/async.exp: Ditto.
6317 * gdb.base/break.exp: Ditto.
6318 * gdb.base/code-expr.exp: Ditto.
6319 * gdb.base/commands.exp: Ditto.
6320 * gdb.base/completion.exp: Ditto.
6321 * gdb.base/condbreak.exp: Ditto.
6322 * gdb.base/consecutive.exp: Ditto.
6323 * gdb.base/cvexpr.exp: Ditto.
6324 * gdb.base/define.exp: Ditto.
6325 * gdb.base/display.exp: Ditto.
6326 * gdb.base/ena-dis-br.exp: Ditto.
6327 * gdb.base/environ.exp: Ditto.
6328 * gdb.base/gnu-ifunc.exp: Ditto.
6329 * gdb.base/maint.exp: Ditto.
6330 * gdb.base/pending.exp: Ditto.
6331 * gdb.base/sect-cmd.exp: Ditto.
6332 * gdb.base/sepdebug.exp: Ditto.
6333 * gdb.base/unload.exp: Ditto.
6334 * gdb.base/watchpoint-solib.exp: Ditto.
6335 * gdb.cp/annota2.exp: Ditto.
6336 * gdb.cp/annota3.exp: Ditto.
6337 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
6338 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
6339 * gdb.mi/mi-pending.exp: Ditto.
6340 * gdb.trace/circ.exp: Ditto.
6341 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
6342 * gdb.base/list.exp: Ditto.
6343
6344 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
6345 breakpoint function and all references to the usestubs macro.
6346 * gdb.base/exprs.c: Ditto.
6347 * gdb.base/freebpcmd.c: Ditto.
6348 * gdb.base/bitfields.c: Ditto.
6349 * gdb.base/bitfields2.c: Ditto.
6350 * gdb.base/break.c: Ditto.
6351 * gdb.base/call-sc.c: Ditto.
6352 * gdb.base/call-signals.c: Ditto.
6353 * gdb.base/callfuncs.c: Ditto.
6354 * gdb.base/charset.c: Ditto.
6355 * gdb.base/consecutive.c: Ditto.
6356 * gdb.base/constvars.c: Ditto.
6357 * gdb.base/funcargs.c: Ditto.
6358 * gdb.base/int-type.c: Ditto.
6359 * gdb.base/interrupt.c: Ditto.
6360 * gdb.base/langs0.c: Ditto.
6361 * gdb.base/list0.c: Ditto.
6362 * gdb.base/mips_pro.c: Ditto.
6363 * gdb.base/miscexprs.c: Ditto.
6364 * gdb.base/nodebug.c: Ditto.
6365 * gdb.base/opaque0.c: Ditto.
6366 * gdb.base/pointers.c: Ditto.
6367 * gdb.base/printcmds.c: Ditto.
6368 * gdb.base/ptype.c: Ditto.
6369 * gdb.base/recurse.c: Ditto.
6370 * gdb.base/reread1.c: Ditto.
6371 * gdb.base/reread2.c: Ditto.
6372 * gdb.base/restore.c: Ditto.
6373 * gdb.base/return.c: Ditto.
6374 * gdb.base/run.c: Ditto.
6375 * gdb.base/scope0.c: Ditto.
6376 * gdb.base/sepdebug.c: Ditto.
6377 * gdb.base/setshow.c: Ditto.
6378 * gdb.base/setvar.c: Ditto.
6379 * gdb.base/sigall.c: Ditto.
6380 * gdb.base/signals.c: Ditto.
6381 * gdb.base/structs.c: Ditto.
6382 * gdb.base/structs2.c: Ditto.
6383 * gdb.base/testenv.c: Ditto.
6384 * gdb.base/twice.c: Ditto.
6385 * gdb.base/unwindonsignal.c: Ditto.
6386 * gdb.base/watchpoint.c: Ditto.
6387 * gdb.base/watchpoints.c: Ditto.
6388 * gdb.base/whatis.c: Ditto.
6389 * gdb.cp/classes.cc: Ditto.
6390 * gdb.cp/cplusfuncs.cc: Ditto.
6391 * gdb.cp/derivation.cc: Ditto.
6392 * gdb.cp/formatted-ref.cc: Ditto.
6393 * gdb.cp/misc.cc: Ditto.
6394 * gdb.cp/overload.cc: Ditto.
6395 * gdb.cp/ovldbreak.cc: Ditto.
6396 * gdb.cp/ref-params.cc: Ditto.
6397 * gdb.cp/ref-types.cc: Ditto.
6398 * gdb.cp/templates.cc: Ditto.
6399 * gdb.cp/virtfunc.cc: Ditto.
6400 * gdb.hp/gdb.aCC/run.c: Ditto.
6401 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
6402 * gdb.hp/gdb.compat/xdb0.c: Ditto.
6403 * gdb.reverse/consecutive-reverse.c: Ditto.
6404 * gdb.reverse/sigall-reverse.c: Ditto.
6405 * gdb.reverse/until-reverse.c: Ditto.
6406 * gdb.reverse/watch-reverse.c: Ditto.
6407 * gdb.trace/actions.c: Ditto.
6408 * gdb.trace/circ.c: Ditto.
6409 * gdb.trace/collection.c: Ditto.
6410
fabde485
PA
64112011-12-13 Pedro Alves <pedro@codesourcery.com>
6412
6413 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
6414 (func6, func7): New.
6415 (main): Call func6 and func7.
6416 * gdb.base/watchpoint.exp (test_wide_location_1)
6417 (test_wide_location_2): New.
6418 (top level): Re-enable hardware watchpoints if necessary. Call
6419 test_wide_location_1 and test_wide_location_2.
6420
ff7d1690
YQ
64212011-12-11 Yao Qi <yao@codesourcery.com>
6422
6423 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
6424
a6af7abe
JB
64252011-12-11 Joel Brobecker <brobecker@adacore.com>
6426
6427 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
6428 expected output for unsupported case.
6429
61638e15
JK
64302011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6431
6432 PR testsuite/12649
6433 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
6434 Protect gdb_test_multiple by final $gdb_prompt match.
6435
0a00efc3
JK
64362011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6437
6438 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
6439 New variable, new test.
6440 (list static-method.cc:xxx::(anonymous namespace)::A::func)
6441 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
6442 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
6443 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
6444 them if HAVE_GCC_45682_FIXED is not set.
6445
4511b1ba
YQ
64462011-12-10 Yao Qi <yao@codesourcery.com>
6447
6448 * gdb.trace/status-stop.exp: New.
6449 * gdb.trace/status-stop.c: New.
6450
27949e73
JK
64512011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6452
6453 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6454 timeout.
6455
d8ea7931
TT
64562011-12-08 Tom Tromey <tromey@redhat.com>
6457
6458 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
6459 condition.
6460
1cc310d2
SS
64612011-12-07 Stan Shebs <stan@codesourcery.com>
6462
6463 * gdb.trace/tfind.exp: Update for output changes.
6464
d482a875
PA
64652011-12-07 Pedro Alves <pedro@codesourcery.com>
6466
6467 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
6468 throws "Cannot insert catchpoints in this configuration".
6469 * gdb.ada/mi_catch_ex.exp: Likewise.
6470
f0ba3972
PA
64712011-12-06 Pedro Alves <pedro@codesourcery.com>
6472
6473 * gdb.base/break-always.exp: Test changing memory at addresses
6474 with breakpoints inserted.
6475
f8eba3c6
TT
64762011-12-06 Joel Brobecker <brobecker@acacore.com>
6477
6fdff2c5
PA
6478 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
6479 involving a fully qualified function name.
f8eba3c6
TT
6480
64812011-12-06 Tom Tromey <tromey@redhat.com>
6482
6483 * gdb.ada/homonym.exp: Add three breakpoint tests.
6484
64852011-12-06 Tom Tromey <tromey@redhat.com>
6486
6487 * gdb.base/solib-weak.exp (do_test): Remove kfail.
6488 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
6489 * gdb.objc/objcdecode.exp: Update for output changes.
6490 * gdb.linespec/linespec.exp: New file.
6491 * gdb.linespec/lspec.cc: New file.
6492 * gdb.linespec/lspec.h: New file.
6493 * gdb.linespec/body.h: New file.
6494 * gdb.linespec/base/two/thefile.cc: New file.
6495 * gdb.linespec/base/one/thefile.cc: New file.
6496 * gdb.linespec/Makefile.in: New file.
6497 * gdb.cp/templates.exp (test_template_breakpoints): Update for
6498 output changes.
6499 * gdb.cp/re-set-overloaded.exp: Remove kfail.
6500 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
6501 makes one breakpoint.
6502 * gdb.cp/method2.exp (test_break): Update for output changes.
6503 * gdb.cp/mb-templates.exp: Update for output changes.
6504 * gdb.cp/mb-inline.exp: Update for output changes.
6505 * gdb.cp/mb-ctor.exp: Update for output changes.
6506 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6507 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6508 has multiple matches.
6509 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6510 error message change.
6511 * gdb.base/list.exp (test_list_filename_and_number): Update for
6512 error message change.
6513 * gdb.base/break.exp: Disable pending breakpoints. Update for
6514 output changes.
6515 * configure.ac: Add gdb.linespec.
6516 * configure: Rebuild.
6517 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6518
c642a434
UW
65192011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6520
6521 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6522 last_break register on s390*-*-* targets.
6523
b18003d1
JB
65242011-12-06 Joel Brobecker <brobecker@adacore.com>
6525
6526 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6527 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6528 of parameter X in procedure Foo.
6529
fe96589c
SS
65302011-12-05 Stan Shebs <stan@codesourcery.com>
6531
6532 * gdb.trace/tfind.exp: Update help string matches.
6533
1820ab47
JK
65342011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6535
6536 * gdb.server/ext-run.exp (get process list): Accept also systemd
6537 as PID 1.
6538
e11ac3a3
JK
65392011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6540 Pedro Alves <pedro@codesourcery.com>
6541
6542 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6543 starting GDB.
6544 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6545 $use_gdb_stub.
6546 * gdb.base/display.exp: Likewise.
6547 * gdb.base/ending-run.exp: Likewise.
6548 * gdb.base/list.exp (test_listsize): Likewise.
6549 * gdb.base/setshow.exp: Likewise.
6550 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6551 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6552 check by global $use_gdb_stub.
6553 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6554 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6555 (default_gdb_init): Unset global $use_gdb_stub.
6556 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6557 by global $use_gdb_stub.
6558 * lib/gdbserver-support.exp: Extend comments for set_board_info
6559 gdb_protocol and gdb,socketport.
6560 (gdbserver_start_extended): Set global gdbserver_protocol and
6561 gdbserver_gdbport. Clear global use_gdb_stub.
6562 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6563 from target use_gdb_stub.
6564 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6565
1d41d75c
DE
65662011-12-03 Doug Evans <dje@google.com>
6567
6568 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6569 (gdb_step_for_stub): Add comments.
6570
d6d7a51a
MR
65712011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6572
6573 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6574 to the caller.
6575 (gdb_test_multiple): Likewise.
6576
05acf274
JK
65772011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6578
6579 Fix gdb.mi/mi-solib.exp without system debug info installed.
6580 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6581 expect attribute, return 0 for it. Update comments.
6582
2268b414
JK
65832011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6584
6585 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6586 (corrupted list): Adjust the expectation.
6587
585861ea
JK
65882011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6589
6590 PR threads/13448
6591 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6592 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6593 * gdb.threads/tls-var-main.c: New file.
6594 * gdb.threads/tls-var.c: New file.
6595 * gdb.threads/tls-var.exp: New file.
6596
968643aa
JK
65972011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6598
6599 PR testsuite/12649
6600 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6601 Protect gdb_test_multiple by final $gdb_prompt match.
6602 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6603 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6604 (test_tracepoints): Likewise.
6605
9750bca9
JK
66062011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6607
6608 PR breakpoints/13346
6609 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6610 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6611 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6612
ac1349b7
JB
66132011-12-01 Joel Brobecker <brobecker@adacore.com>
6614
6615 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6616 * gdb.ada/homonym/homonym.adb: For use of all types defined
6617 locally inside both Get_Value subprograms.
6618
26d44faf
JK
66192011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6620
6621 Fix racy FAILs.
6622 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6623 of send_gdb.
6624
514f6425
UW
66252011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6626
6627 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6628 environment variable after test completed.
6629
4255c8d2
UW
66302011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6631
6632 * gdb.base/solib-nodir.exp: Skip if remote target.
6633 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6634 application. Call gdb_load_shlibs.
6635 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6636
a35ad96a
JB
66372011-11-29 Joel Brobecker <brobecker@adacore.com>
6638
6639 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6640
1a1d5513
JB
66412011-11-28 Joel Brobecker <brobecker@adacore.com>
6642
6643 * gdb.ada/fullname_bp: New testcase.
6644
50b4ddf8
JK
66452011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6646
6647 PR testsuite/12649
6648 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6649 Wrap send_gdb into a new gdb_test.
6650
fb0aec57
JK
6651 Code cleanup.
6652 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6653 Convert send_gdb and gdb_expect to gdb_test_multiple.
6654
2376d946
JK
66552011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6656
6657 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6658
1eec78bd
KS
66592011-11-23 Keith Seitz <keiths@redhat.com>
6660
6661 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6662 (mi_varobj_tree_test_children_callback): New proc.
6663 (mi_walk_varobj_tree): New proc.
6664
36dfb11c
TT
66652011-11-22 Tom Tromey <tromey@redhat.com>
6666
6667 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6668 Add "use_mi_command" argument.
6669 (mi_run_cmd, mi_run_with_cli): New procs.
6670 * gdb.mi/solib-lib.c: New file.
6671 * gdb.mi/solib-main.c: New file.
6672 * gdb.mi/mi-solib.exp: New file.
6673
0e965dd0
DE
66742011-11-21 Doug Evans <dje@google.com>
6675
6676 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6677 _Unwind_DebugHook is missing.
6678
f196051f
SS
66792011-11-20 Stan Shebs <stan@codesourcery.com>
6680
6681 * gdb.trace/tstatus.exp: New.
6682 * gdb.trace/actions.c: Include string.h.
6683
bfccc43c
YQ
66842011-11-18 Yao Qi <yao@codesourcery.com>
6685
6686 * gdb.trace/pending.exp: New.
6687 * gdb.trace/pending.c: New.
6688 * gdb.trace/pendshr1.c: New.
6689 * gdb.trace/pendshr2.c: New.
6690 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6691 tracepoint location becomes pending.
6692 (tracepoint_change_loc_2): New.
6693
73cd8ab1
DM
66942011-11-16 David S. Miller <davem@davemloft.net>
6695
6696 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6697 target is sparc*-*-linux*
6698
77426730
PK
66992011-11-15 Paul Koning <paul_koning@dell.com>
6700
6701 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6702 types.
6703
ed59ded5
DE
67042011-11-14 Doug Evans <dje@google.com>
6705
6706 * gdb.base/shell.exp: New file.
6707
405f8e94
SS
67082011-11-14 Stan Shebs <stan@codesourcery.com>
6709
6710 * gdb.trace/ftrace.c: New.
6711 * gdb.trace/ftrace.exp: New.
6712
1e4d1764
YQ
67132011-11-14 Yao Qi <yao@codesourcery.com>
6714
6715 * gdb.trace/change-loc-1.c: New.
6716 * gdb.trace/change-loc-2.c: New.
6717 * gdb.trace/change-loc.c: New.
6718 * gdb.trace/change-loc.exp: New.
6719 * gdb.trace/change-loc.h: New.
6720 * gdb.trace/trace-break.c (marker): Define new symbol.
6721 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 6722 New.
1e4d1764
YQ
6723 (break_trace_same_addr_6): New.
6724
71eba9c2 67252011-11-12 Matt Rice <ratmice@gmail.com>
6726
6727 * gdb.base/info-macros.exp: Make tests for info definitions
6728 test info macro. Add tests for info macro argument processing.
6729 Rename a few tests.
6730
1d93e29a
KS
67312011-11-11 Keith Seitz <keiths@redhat.com>
6732
6733 PR gdb/12843
6734 * gdb.base/linespecs.exp: New file.
6735
a4b5b48a
DE
67362011-11-11 Doug Evans <dje@google.com>
6737
6738 * gdb.threads/print-threads.exp: Extend timeout for slower
6739 tests.
6740
f6b47be4
DE
67412011-11-10 Doug Evans <dje@google.com>
6742
792a0230
DE
6743 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6744 "record to end of main" test.
6745
f6b47be4
DE
6746 * gdb.python/py-type.c (TS): New typedef.
6747 (ts): New global.
6748 * gdb.python/py-type.exp: Test field list of typedef.
6749
22355c90
JB
67502011-11-10 Joel Brobecker <brobecker@adacore.com>
6751
6752 * gdb.ada/small_reg_param: New testcase.
6753
a7860e76
TT
67542011-11-09 Tom Tromey <tromey@redhat.com>
6755
6756 * gdb.cp/destrprint.exp: New file.
6757 * gdb.cp/destrprint.cc: New file.
6758
72a2e3dc
MI
67592011-11-08 Meador Inge <meadori@codesourcery.com>
6760
6761 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6762 (switch_stack_to_other): New test function.
6763 * gdb.arch/thumb-prologue.exp: New test cases.
6764
c7195df2 67652011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
6766
6767 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6768
d3895d7d
YQ
67692011-11-08 Yao Qi <yao@codesourcery.com>
6770
6771 * gdb.exp (supports_process_record): New.
6772 (supports_reverse): New.
6773 * gdb.reverse/break-precsave.exp: Call support_process_record
6774 to run test conditionally.
6775 * gdb.reverse/consecutive-precsave.exp: Likewise.
6776 * gdb.reverse/i386-precsave.exp: Likewise.
6777 * gdb.reverse/machinestate-precsave.exp: Likewise.
6778 * gdb.reverse/solib-precsave.exp: Likewise.
6779 * gdb.reverse/step-precsave.exp: Likewise.
6780 * gdb.reverse/until-precsave.exp: Likewise.
6781 * gdb.reverse/watch-precsave.exp: Likewise.
6782 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6783 test conditionally.
6784 * gdb.reverse/consecutive-reverse.exp: Likewise.
6785 * gdb.reverse/finish-precsave.exp: Likewise.
6786 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6787 * gdb.reverse/finish-reverse.exp: Likewise.
6788 * gdb.reverse/i386-reverse.exp: Likewise.
6789 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6790 * gdb.reverse/machinestate.exp: Likewise.
6791 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6792 * gdb.reverse/sigall-precsave.exp: Likewise.
6793 * gdb.reverse/sigall-reverse.exp: Likewise.
6794 * gdb.reverse/solib-reverse.exp: Likewise.
6795 * gdb.reverse/step-reverse.exp: Likewise.
6796 * gdb.reverse/until-reverse.exp: Likewise.
6797 * gdb.reverse/watch-reverse.exp: Likewise.
6798
a59306a3
YQ
67992011-11-05 Yao Qi <yao@codesourcery.com>
6800
6801 * gdb.trace/trace-break.exp: Add test on setting two
6802 fast tracepoints at the same address.
6803
87769f59
JK
68042011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6805
6806 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6807
3065dfb6
SS
68082011-11-02 Stan Shebs <stan@codesourcery.com>
6809
6810 * gdb.trace/collection.c: Add code using strings.
6811 * gdb.trace/collection.exp: Add tests of string collection.
6812
89e208db
JK
68132011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6814
6815 * gdb.base/skip-solib.exp (executable_main): New variable.
6816 (binfile_main): Base it on that.
6817 Use $executable_main in clean_restart calls. Drop gdb_exit and
6818 gdb_start calls.
6819
405e54e9
JK
68202011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6821
6822 Fix racy FAILs.
6823 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6824 breakpoint_re globals import by async. Set string_regex to .* for
6825 async. Remove the optional thread_selected_re and breakpoint_re
6826 globals expectations.
6827
58e8570a
JM
68282011-11-01 Joseph Myers <joseph@codesourcery.com>
6829
6830 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6831 well as Cygwin.
6832
7b35ec7f 68332011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
6834
6835 Add tests for skip command.
89e208db
JK
6836 * gdb.base/skip-solib-lib.c: New
6837 * gdb.base/skip-solib-main.c: New
6838 * gdb.base/skip-solib.exp: New
6839 * gdb.base/skip.c: New
6840 * gdb.base/skip.exp: New
6841 * gdb.base/skip1.c: New
6842 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 6843
b9fd1791
PA
68442011-10-31 Yao Qi <yao@codesourcery.com>
6845 Pedro Alves <pedro@codesourcery.com>
6846
6fdff2c5
PA
6847 * gdb.trace/trace-break.c: New.
6848 * gdb.trace/trace-break.exp: New.
b9fd1791 6849
4323fecc
JK
68502011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6851
6852 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6853 break-here-2.
6854
0e5bf2a8
PA
68552011-10-28 Pedro Alves <pedro@codesourcery.com>
6856
6857 * gdb.threads/no-unwaited-for-left.c: New.
6858 * gdb.threads/no-unwaited-for-left.exp: New.
6859 * gdb.threads/non-ldr-exc-1.c: New.
6860 * gdb.threads/non-ldr-exc-1.exp: New.
6861 * gdb.threads/non-ldr-exc-2.c: New.
6862 * gdb.threads/non-ldr-exc-2.exp: New.
6863 * gdb.threads/non-ldr-exc-3.c: New.
6864 * gdb.threads/non-ldr-exc-3.exp: New.
6865 * gdb.threads/non-ldr-exc-4.c: New.
6866 * gdb.threads/non-ldr-exc-4.exp: New.
6867
3a3dad98
JK
68682011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6869
6870 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6871 * gdb.base/attach-pie-misread.exp: Likewise.
6872 * gdb.base/break-interp.exp: Likewise.
6873 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6874 testcases for use_gdb_stub.
6875 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6876 (continue): New testcase.
6877 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6878 * gdb.threads/attach-into-signal.exp: Likewise.
6879 * gdb.threads/attach-stopped.exp: Likewise.
6880 * gdb.threads/attachstop-mt.exp: Likewise.
6881
d6a5d40c
PK
68822011-10-28 Paul Koning <paul_koning@dell.com>
6883
6884 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6885
ca539be8
JK
68862011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6887
6888 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6889 (mi_gdb_test): Import globals thread_selected_re
6890 and breakpoint_re. Expect them optionally at the regex start.
6891
d234ef5c
DE
68922011-10-27 Doug Evans <dje@google.com>
6893
6894 * gdb.python/python.exp: Test source -s.
6895
ab964825
PK
68962011-10-26 Paul Koning <paul_koning@dell.com>
6897
6898 * gdb.python/lib-types.cc (struct A): New structure.
6899 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 6900
54d8a644
PK
69012011-10-25 Paul Koning <paul_koning@dell.com>
6902
6903 PR python/13327
d234ef5c 6904
54d8a644
PK
6905 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6906 fetch_lazy method.
6907
b0221781
YQ
69082011-10-24 Yao Qi <yao@codesourcery.com>
6909
6910 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6911 target is tic6x-*-*.
6912
6cda5a20
JB
69132011-10-21 Joel Brobecker <brobecker@adacore.com>
6914
6915 * gdb.ada/mi_task_info/task_switch.adb: New file.
6916 * gdb.ada/mi_task_info.exp: New file.
6917
5ed9db04
JK
69182011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6919
6920 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6921 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6922
9df2fbc4
PM
69232011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6924
6925 PR python/12656
6926
6927 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6928 global_block tests.
6929
736086ba
TT
69302011-10-18 Tom Tromey <tromey@redhat.com>
6931
6932 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6933
4af31552
TT
69342011-10-18 Tom Tromey <tromey@redhat.com>
6935
6936 * gdb.base/source.exp: Don't include full file name in test name.
6937 * gdb.python/python.exp: Don't include full file name in test
6938 name.
6939
43136979
AR
69402011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6941
6942 * gdb.base/attach-pie-noexec.c: New files.
6943 * gdb.base/attach-pie-noexec.exp: New files.
6944
543a9323
JM
69452011-10-17 Joseph Myers <joseph@codesourcery.com>
6946
6947 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6948 prompt for each extra line in command.
6949
21ae7a4d
JK
69502011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6951
6952 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6953 Revert the part of:
6954 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6955 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6956 Change the expected string.
6957
20ec36d9
JK
69582011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6959
6960 Fix results with system glibc debug info installed.
6961 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6962 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6963 Accept also __libc_ symbol prefix and no prefix.
6964
6501c2fc
KS
69652011-10-14 Keith Seitz <keiths@redhat.com>
6966
6967 PR c++/13225
6968 * gdb.cp/converts.cc (foo3_1): New function.
6969 (foo3_2): New functions.
6970 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6971 and null pointer conversions of integer constant zero.
6972 Add test to check if all arguments are checked for incompatible
6973 conversion BADNESS.
6974
55b1fd0c
TT
69752011-10-14 Tom Tromey <tromey@redhat.com>
6976
6977 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6978 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6979 linespec.
6980
22c05d8a
JK
69812011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6982
6983 Fix internal error regression.
6984 * gdb.dwarf2/implptr-optimized-out.S: New file.
6985 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6986
1d6edc3c
JK
69872011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6988
6989 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6990 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6991 (loclist): New.
6992 (4): New abbrev.
6993 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6994 Use prepare_for_testing, remove clean_restart.
6995 (p arraynoloc, p arraycallnoloc): New tests.
6996
9ec72168
JK
69972011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6998
6999 * gdb.cp/namespace-enum.exp (executable): New variable.
7000 (binfile): Use ${objdir}/${subdir}/ prefix.
7001 Use ${executable} for clean_restart.
7002
9c6c53f7
SA
70032011-10-11 Sterling Augustine <saugustine@google.com>
7004
7005 * gdb.cp/Makefile.in: Add namespace-enum test.
7006 * gdb.cp/namespace-enum.exp: New file.
7007 * gdb.cp/namespace-enum.c: New file.
7008 * gdb.cp/namespace-enum-main.c: New file.
7009
fac7ceb3
UW
70102011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
7011
7012 * gdb.python/py-shared.exp: Relax filename check to handle remote:
7013 sysroot.
7014
941b2081
JK
70152011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7016
7017 Reimplement @entry in input expressions.
7018 * gdb.base/exprs.c (v_int_array_init): New variable.
7019 * gdb.base/exprs.exp (print v_int_array_init)
7020 (print *v_int_array_init@1, print *v_int_array_init@2)
7021 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
7022 (print v_int_array_init[1]@1): New tests.
7023
0344e878
JM
70242011-10-10 Joseph Myers <joseph@codesourcery.com>
7025
7026 * gdb.cp/gdb2495.exp: Do not include directories in filename in
7027 expected message.
7028
5a56e9c5
DE
70292011-10-09 Doug Evans <dje@google.com>
7030
7031 * gdb.base/alias.exp: Add tests for alias command.
7032
2bda9cc5
JK
70332011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7034
7035 * gdb.arch/amd64-entry-value.s: New file.
7036 * gdb.mi/mi2-amd64-entry-value.s: New file.
7037
a471c594
JK
70382011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7039
7040 Display @entry parameter values even for references.
7041 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
7042 functions.
7043 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
7044 reference and datap_input.
7045 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
7046 breakpoints.
7047 (continue to breakpoint: entry_reference: reference)
7048 (entry_reference: bt at entry)
7049 (continue to breakpoint: entry_reference: breakhere_reference)
7050 (entry_reference: bt, entry_reference: ptype regparam)
7051 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
7052 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
7053 (entry_reference: p regcopy, entry_reference: p nodataparam)
7054 (entry_reference: p nodataparam@entry): New tests.
7055
36b11add
JK
70562011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7057
7058 Support @entry in input expressions.
7059 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
7060 (entry_stack: p s1@entry, entry_stack: p s2@entry)
7061 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
7062 (tailcall: p j@entry): New tests.
7063 * gdb.cp/koenig.cc (A::entry): New function.
7064 (main): Call it.
7065 * gdb.cp/koenig.exp (p entry (c)): New test.
7066
e18b2753
JK
70672011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7068
7069 Display @entry parameter values (without references).
7070 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
7071 (different, validity, invalid): New functions.
7072 (main): Call them.
7073 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
7074 stacktest, breakhere_stacktest, different, breakhere_different,
7075 breakhere_validity and breakhere_invalid.
7076 (entry: bt): Update for @entry.
7077 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
7078 (entry_validity: *, entry_invalid: *): Many new tests.
7079 * gdb.base/break.exp
7080 (run until breakpoint set at small function, optimized file): Accept
7081 also the @entry suffix.
7082 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
7083 * gdb.mi/mi2-amd64-entry-value.c: New files.
7084 * gdb.mi/mi2-amd64-entry-value.exp: New files.
7085
2d6c5dc2
JK
70862011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7087
7088 Protect entry values against self tail calls.
7089 * gdb.arch/amd64-entry-value.cc (self2, self): New.
7090 (main): Call self.
7091 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
7092 (set debug entry-values 1, self: bt debug entry-values): New tests.
7093
111c6489
JK
70942011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7095
7096 Recognize virtual tail call frames.
7097 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
7098 (amb_b, amb_a): New.
7099 (main): Call a and b.
7100 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
7101 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
7102 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
7103 New tests.
7104
8e3b41a9
JK
71052011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7106
7107 Implement basic support for DW_TAG_GNU_call_site.
7108 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
7109 * gdb.arch/amd64-entry-value.cc: New file.
7110 * gdb.arch/amd64-entry-value.exp: New file.
7111
181cebd4
JK
71122011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7113
7114 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
7115 * gdb.dwarf2/implptr-64bit.S: New file.
7116 * gdb.dwarf2/implptr-64bit.exp: New file.
7117
741f5e3c
JK
71182011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7119
7120 Fix initial language detection with -readnow.
7121 * gdb.cp/readnow-language.cc: New file.
7122 * gdb.cp/readnow-language.exp: New file.
7123
a73d2258
JK
71242011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7125
7126 Fix printed anonymous struct name.
7127 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
7128
af369495
JM
71292011-10-09 Joseph Myers <joseph@codesourcery.com>
7130
7131 * gdb.base/solib-symbol.exp: Do not include directories in
7132 filenames in expected messages.
7133
1fa57852
DE
71342011-10-07 Doug Evans <dje@google.com>
7135
7136 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
7137
bd054e06
KP
71382011-10-07 Kevin Pouget <kevin.pouget@st.com>
7139
7140 Allow Python notification of new object-file loadings.
7141 * gdb.python/py-events.exp: Test newobjfile event.
7142 * gdb.python/py-events.py: Register newobjfile callback.
7143 * gdb.python/py-events.c: Add call to shared library
7144 * gdb.python/py-events-shlib.c: New file.
7145
8031b6f8
JM
71462011-10-06 Joseph Myers <joseph@codesourcery.com>
7147
7148 * gdb.base/fixsection.exp: Do not include directories in filename
7149 in expected message.
7150
7fea6923
PM
71512011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7152
7153 Add tests for passing of environment variables to inferior.
7154 * gdb.base/testenv.c: New test source.
7155 * gdb.base/testenv.exp: New expect test.
7156
687f2a88
PK
71572011-10-04 Paul Koning <paul_koning@dell.com>
7158
7159 * gdb.python/py-value.c (main): Break before return.
7160
cb6be26b
KP
71612011-10-04 Kevin Pouget <kevin.pouget@st.com>
7162
7163 PR python/12691: Add the inferior to Python exited event
7164 * gdb.python/py-events.exp: Test the inferior attribute of exited
7165 event with a fork.
7166 * gdb.python/py-events.py: Print inferior number on exit.
7167 * gdb.python/py-events.c: Fork the inferior.
7168
fb213700
EBM
71692011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
7170
7171 * gdb.base/jit.exp: Add testcase name to log message
7172
aa2071bd
PK
71732011-10-03 Paul Koning <paul_koning@dell.com>
7174 Jan Kratochvil <jan.kratochvil@redhat.com>
7175
7176 * gdb.python/py-value.exp
7177 (python inval = gdb.parse_and_eval('*(int*)0'))
7178 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
7179 (set argc=2, python print argc_lazy): New tests.
7180
dd11a36c
JB
71812011-10-02 Joel Brobecker <brobecker@adacore.com>
7182
7183 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
7184
46f886f1
JK
71852011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7186 Pedro Alves <pedro@codesourcery.com>
7187
7188 * gdb.python/py-value.exp (test_value_in_inferior): New variable
7189 can_read_0, test for it.
7190 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
7191 (parse_and_eval with memory error): ... here, make it untested if
7192 can_read_0.
7193
c5cb204f
MP
71942011-09-30 Marek Polacek <mpolacek@redhat.com>
7195
7196 * gdb.python/python.exp (verify pagination beforehand)
7197 (verify pagination afterwards): Fix race by splitting the line.
7198
68fb0ec0
JM
71992011-09-29 Joseph Myers <joseph@codesourcery.com>
7200
7201 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
7202 for 64-bit multilibs from i?86-* targets.
7203
6aee0d90
MP
72042011-09-29 Marek Polacek <mpolacek@redhat.com>
7205
7206 * lib/gdb.exp: Fix a typo in one of the comments.
7207
e9101ff5
MP
72082011-09-29 Marek Polacek <mpolacek@redhat.com>
7209
7210 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
7211 matching pattern.
7212
7a81bdbf
PK
72132011-09-28 Paul Koning <paul_koning@dell.com>
7214
7215 * gdb.python/py-type.c (enum E): New.
7216 * gdb.python/py-type.exp (test_fields): Add tests for Python
7217 mapping access to fields.
7218 (test_enums): New test for field access on enums.
7219
6710bf39
SS
72202011-09-27 Stan Shebs <stan@codesourcery.com>
7221
7222 * gdb.trace/collection.exp: Test collection of $_ret.
7223
b2a6bdeb
AT
72242011-09-22 Andreas Tobler <andreast@fgznet.ch>
7225
7226 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
7227 list of compilation switches for <*-*-freebsd*>.
7228
3c9057f3
SS
72292011-09-19 Stan Shebs <stan@codesourcery.com>
7230
7231 * gdb.trace/tspeed.exp: New file.
7232 * gdb.trace/tspeed.c: New file.
7233
34518530
YQ
72342011-09-18 Yao Qi <yao@codesourcery.com>
7235
7236 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
7237 instructions.
7238 (test_adr_32bit, test_pop_pc): Likewise.
7239 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
7240 Thumb instructions.
7241 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
7242 in gdb_test_multiple.
7243 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
7244
ab254057
YQ
72452011-09-17 Yao Qi <yao@codesourcery.com>
7246
7247 * lib/gdb.exp (can_single_step_to_signal_handler): New.
7248 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
7249 support single step to signal handler.
7250
9c317b71
YQ
72512011-09-17 Yao Qi <yao@codesourcery.com>
7252
7253 * gdb.base/disp-step-fork.c: New.
7254 * gdb.base/disp-step-syscall.exp: New.
7255 * gdb.base/disp-step-vfork.c: New.
7256
a8123151
JB
72572011-09-16 Joel Brobecker <brobecker@adacore.com>
7258
7259 * gdb.ada/tasks.exp: Make the expected output for
7260 the `info tasks' tests more resilient to spacing
7261 changes.
7262
63a9aad8
JK
72632011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7264
7265 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
7266 (reached breakpoint 2, reached breakpoint 3): Update expected output.
7267
2aa48337
KP
72682011-09-15 Kevin Pouget <kevin.pouget@st.com>
7269
7270 PR Python/12692 Add gdb.selected_inferior() to Python interface.
7271 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
7272
6839b47f
KP
72732011-04-30 Kevin Pouget <kevin.pouget@st.com>
7274
7275 Handle multiple breakpoint hits in Python interface:
7276 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
7277 presence.
7278 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
7279 breakpoint hits.
7280
0935723e
JK
72812011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
7282 Jan Kratochvil <jan.kratochvil@redhat.com>
7283
7284 * gdb.python/py-events.exp: Remove pretty printing comment.
7285 * gdb.python/py-evsignal.exp: New file.
7286 * gdb.python/py-evthreads.c: Include signal.h.
7287 (thread3): Remove variable count3. Remove variable bad and use raise
7288 instead.
7289 (thread2): Remove variable count2. Move thread3 pthread_create here,
7290 merge pthread_join to a single line.
7291 (main): Remove variable count1. Merge pthread_join with pthread_create
7292 to a single line.
7293 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
7294 KFAIL python/12966 for gdbserver. Test return value of
7295 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
7296 gdb_expect by gdb_test and gdb_test_multiple.
7297 (thread 2, thread 3): New tests.
7298
4801a9a3
PA
72992011-09-12 Matt Rice <ratmice@gmail.com>
7300 Pedro Alves <pedro@codesourcery.com>
7301
7302 PR gdb/13175
7303
7304 * gdb.base/interp.exp: New tests.
7305 * gdb.base/interp.c: New file.
7306
24ece742
DE
73072011-09-12 Doug Evans <dje@google.com>
7308
7309 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
7310 * gdb.dwarf2/typeddwarf.exp: Ditto.
7311
7f062217
JK
73122011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7313
7314 Fix compatibility with x32 arch.
7315 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
7316 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
7317 is_x86_like_target.
7318 * testsuite/gdb.trace/collection.exp: Likewise.
7319 * testsuite/gdb.trace/report.exp: Likewise.
7320 * testsuite/gdb.trace/unavailable.exp: Likewise.
7321 * testsuite/gdb.trace/while-dyn.exp: Likewise.
7322 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
7323 (is_x86_like_target): Check also is_amd64_regs_target.
7324
08711b9a
JK
73252011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7326
7327 PR breakpoints/12435
7328 * gdb.arch/amd64-prologue-xmm.c: New file.
7329 * gdb.arch/amd64-prologue-xmm.exp: New file.
7330 * gdb.arch/amd64-prologue-xmm.s: New file.
7331
b99b5f66
JK
73322011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7333
7334 * gdb.dwarf2/dw2-param-error-main.c: New file.
7335 * gdb.dwarf2/dw2-param-error.S: New file.
7336 * gdb.dwarf2/dw2-param-error.exp: New file.
7337
a391a2f6
PA
73382011-09-08 Pedro Alves <pedro@codesourcery.com>
7339
7340 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
7341 inferior's pid and look for a core dump named core.$pid. Use
7342 `remote_file' commands on the host instead of hand coding shell
7343 commands on the build.
7344 * gdb.base/valgrind-db-attach.exp: Kill the program before
7345 finishing the test.
7346
7d8e6458 73472011-09-02 Matt Rice <ratmice@gmail.com>
7348
7349 * lib/prompt.exp: New file for testing the first prompt.
7350 * gdb.python/py-prompt.exp: Ditto.
7351 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
7352
68e77c9e
PA
73532011-09-02 Pedro Alves <pedro@codesourcery.com>
7354
7355 * gdb.threads/gcore-thread.exp: Set the global core_supported to
7356 0, before testing gcore.
7357
9655e943
JK
73582011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7359
df6dc84d
JK
7360 * dw2-ifort-parameter-debug.S: Update copyright year.
7361 * dw2-ifort-parameter.c: Update copyright year.
7362 * dw2-ifort-parameter.exp: Update copyright year.
7363
9655e943
JK
7364 * dw2-ifort-parameter-debug.S: New file.
7365 * dw2-ifort-parameter.c: New file.
7366 * dw2-ifort-parameter.exp: New file.
7367
353d1d73
JK
73682011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7369
7370 * gdb.base/commands.exp (error_clears_commands_left): New function.
7371 (): Call it.
7372
5c07461a
JK
73732011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7374
7375 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
7376 (C): Initialize `a'.
7377 * gdb.mi/mi-inheritance-syntax-error.exp
7378 (-data-evaluate-expression $path): Expect `a' as 5.
7379
0d932b2f
MK
73802011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
7381
7382 PR mi/11912
7383 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
7384 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
7385 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
7386 keyword in output of -var-info-path-expression.
7387
bdb54049
JK
73882011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7389
7390 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
7391 * gdb.trace/collection.exp: Likewise.
7392 * gdb.trace/report.exp: Likewise.
7393 * gdb.trace/unavailable.exp: Likewise.
7394 * gdb.trace/while-dyn.exp: Likewise.
7395
59cde39c
KS
73962011-08-18 Keith Seitz <keiths@redhat.com>
7397
7398 PR c++/12266
7399 * gdb.cp/meth-typedefs.cc: New file.
7400 * gdb.cp/meth-typedefs.exp: New file.
7401
fa3a4f15
PM
74022011-08-17 Phil Muldoon <pmuldoon@redhat.com>
7403
6fdff2c5 7404 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 7405
c1049fca
JK
74062011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7407
7408 * gdb.arch/i386-dr3-watch.exp
7409 (watchpoint on gap1 does not fit debug registers)
7410 (delete all watchpoints): Fix racy expect strings.
7411
d93f7b5c
YQ
74122011-08-14 Yao Qi <yao@codesourcery.com>
7413
7414 * gdb.base/maint.exp: set data_section to ".neardata".
7415 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
7416 * gdb.base/savedregs.exp: Handle SIGILL.
7417 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7418 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
7419
457e09f0
DE
74202011-08-12 Doug Evans <dje@google.com>
7421
7422 * gdb.python/py-symbol.exp: Add test for symbol.type.
7423
5d0bb2fb
UW
74242011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
7425
7426 * gdb.threads/pthreads.exp: Enable on non-native configurations.
7427 * gdb.mi/mi-pthreads.exp: Likewise.
7428 * gdb.mi/mi2-pthreads.exp: Likewise.
7429 * gdb.mi/gdb669.exp.exp: Likewise.
7430
fcdfa280
PA
74312011-08-09 Pedro Alves <pedro@codesourcery.com>
7432
7433 * lib/mi-support.exp (detect_async): Rename to...
7434 (mi_detect_async): ... this.
7435 * gdb.mi/mi-nonstop-exit.exp: Adjust.
7436 * gdb.mi/mi-nonstop.exp: Adjust.
7437 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
7438 * gdb.mi/mi-nsintrall.exp: Adjust.
7439 * gdb.mi/mi-nsmoribund.exp: Adjust.
7440 * gdb.mi/mi-nsthrexec.exp: Adjust.
7441
9d8fa392
PA
74422011-08-09 Pedro Alves <pedro@codesourcery.com>
7443
7444 * gdb.base/display.c (do_loops): New `p_i' local.
7445 * gdb.base/display.exp: Test displaying a variable that is
7446 temporarily at a bad address.
7447
b6cede78
JK
74482011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7449
7450 * gdb.dwarf2/dw2-op-stack-value.S: New file.
7451 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
7452
67bedb8c
JK
74532011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7454
7455 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
7456 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
7457 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 7458
af6e93b2
PA
74592011-08-05 Pedro Alves <pedro@codesourcery.com>
7460
7461 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
7462 procedure.
7463 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
7464
1cf0e11f
YQ
74652011-08-05 Yao Qi <yao@codesourcery.com>
7466
7467 * gdb.base/callfuncs.exp: Set language after main.
7468 * gdb.cp/cplusfuncs.exp: Likewise.
7469 * gdb.cp/inherit.exp: Likewise.
7470
a1e28cb2
UW
74712011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7472
7473 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
7474 * gdb.base/watch-vfork.exp: Skip on remote targets.
7475
d4f5bbb9
UW
74762011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7477
7478 * gdb.threads/thread-find.exp: Support remote targets.
7479
724f4f80
UW
74802011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
7481
7482 * gdb.base/jit.exp: Download solib_binfile to target.
7483 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
7484 and call dlopen without full path name.
7485 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
7486 dlopen without full path name.
7487
934709f0
PW
74882011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
7489
7490 * gdb.base/break-always.exp: Complete the test
7491 with duplicated breakpoints and enabling/disabling them.
7492
c26106c4
TT
74932011-08-02 Tom Tromey <tromey@redhat.com>
7494
7495 PR gdb/11289:
7496 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
7497
9300444e 74982011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
7499
7500 PR gdb/13045
7501 * gdb.base/float.exp: Add new test case for PR gdb/13045
7502 * gdb.base/float.c: New file.
7503
00bd41d6
PM
75042011-07-28 Phil Muldoon <pmuldoon@redhat.com>
7505
7506 * gdb.python/py-mi.exp: Test printers returning string hint, and
7507 also not returning a value.
7508 * gdb.python/py-prettyprint.c: Add testcase for above.
7509 * gdb.python/py-prettyprint.py: Add test printer for above.
7510
d24f74ce
JK
75112011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7512
7513 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7514 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7515 (.Ldie30) Add as field "data4".
7516 (.Ldie32) Rename field "b" to "shl".
7517 (abbrev4) Change for the "data4" field.
7518 (abbrev5, abbrev6) Remove.
7519 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7520 (p &s.shl): ... here. Add comment.
7521 (p &s.data4): New.
7522
bb7da2bf
JK
75232011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7524
7525 Fix crash on lval_computed values.
7526 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7527
11081198
JK
75282011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7529
7530 * gdb.base/help.exp (help whatis): Update the expected string.
7531
3c6e0cb3
JK
75322011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7533
7534 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7535 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7536 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7537 Change the expected string.
7538
efa80663
PA
75392011-07-26 Pedro Alves <pedro@codesourcery.com>
7540
7541 * gdb.base/watchpoint.exp
7542 (test_disable_enable_software_watchpoint): New procedure.
7543 (top level): Run it.
7544
db8e4570
UW
75452011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7546
7547 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7548 executable file "${binfile}", C++ version "${binfile}-cxx".
7549 * gdb.python/py-prettyprint.exp: Likewise.
7550 * gdb.python/py-symbol.exp: Likewise.
7551 * gdb.python/py-type.exp: Likewise.
7552 * gdb.python/py-value.exp: Likewise.
7553 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7554 file name instead of just suffix.
7555
543305c9
JK
75562011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7557
7558 Fix implicit pointer offsets.
7559 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7560 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7561 (continue to breakpoint: continue to baz breakpoint for implptr)
7562 (sanity check element 0, sanity check element 1)
7563 (enter the inlined function, check element 0 for the offset)
7564 (check element 1 for the offset)
7565 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7566 (set foo breakpoint for implptr): Update the breakpoint number.
7567
b3215adc
UW
75682011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7569
7570 * gdb.python/py-mi.exp: Use different file names for different
7571 versions of the executable under test.
7572 * gdb.python/py-prettyprint.exp: Likewise.
7573 * gdb.python/py-symbol.exp: Likewise.
7574 * gdb.python/py-template.exp: Likewise.
7575 * gdb.python/py-type.exp: Likewise.
7576 * gdb.python/py-value.exp: Likewise.
7577
182b9acc
UW
75782011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7579
7580 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7581 flag after restarting GDB if necessary.
7582
e6052b5d
UW
75832011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7584
7585 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7586
1ced966e
PA
75872011-07-22 Pedro Alves <pedro@codesourcery.com>
7588
7589 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7590 backend doesn't leave used debug registers behind.
7591
3543a589
TT
75922011-07-22 Tom Tromey <tromey@redhat.com>
7593
7594 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7595 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7596 argument.
7597 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7598
14d15303 75992011-07-21 Matt Rice <ratmice@gmail.com>
7600
7601 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7602 in mostlyclean rule. Add files ending in .core.
7603
9b158ba0 76042011-07-21 Matt Rice <ratmice@gmail.com>
7605
7606 PR macros/12999
7607 * gdb.base/info-macros.c: New test sources.
7608 * gdb.base/info-macros.exp: New tests.
7609
d17b6f81
PM
76102011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7611
7612 * gdb.python/python.exp: Add prompt substitution tests.
7613
918dd910
JK
76142011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7615
7616 Fix crash if referenced CU is aged out.
7617 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7618 New.
7619 * gdb.dwarf2/implptr.exp: Likewise.
7620
0e37a63c
JK
76212011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7622
7623 * gdb.dwarf2/implptr.S: Rebuilt.
7624 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7625 (bar): Use them for j, k, l.
7626 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7627 COMPILE.
7628 (print j in implptr:bar): Update for the intp typedef.
7629 (print p[0].x in implptr:foo): Use more exact regex.
7630
f65cf84c
TT
76312011-07-18 Tom Tromey <tromey@redhat.com>
7632
7633 * gdb.cp/static-method.exp: Add missing single quote.
7634
d5b4a7be
YQ
76352011-07-18 Yao Qi <yao@codesourcery.com>
7636
7637 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7638 supported.
7639 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7640 * gdb.mi/mi-nonstop.exp: Likewise.
7641 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7642 * gdb.mi/mi-nsintrall.exp: Likewise.
7643 * gdb.mi/mi-nsmoribund.exp: Likewise.
7644 * gdb.mi/mi-nsthrexec.exp: Likewise.
7645 * gdb.python/py-evthreads.exp: Likewise.
7646
e9ea2662
JK
76472011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7648
7649 Code cleanup.
7650 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7651 it. Substitute it instead of test_compiler_info everywhere.
7652
ce451573
UW
76532011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7654
7655 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7656 remote targets as well.
7657
756d88a7
UW
76582011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7659
7660 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7661 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7662
31f83dc5
UW
76632011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7664
7665 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7666 a remote machine, not the host.
7667 (gdb_compile_shlib): Set soname if target is remote.
7668
059241a0
PP
76692011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7670
7671 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7672
28a0b48c 76732011-07-13 Matt Rice <ratmice@gmail.com>
7674
7675 * gdb.python/py-objfile-script-gdb.py: Renamed to
7676 py-objfile-script-gdb.py.in.
7677 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7678 py-objfile-script-gdb.py.
7679 * gdb.python/py-objfile-script.exp: Update reference to
7680 py-objfile-script-gdb.py.
7681
9a771b67
JK
76822011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7683
7684 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7685 reference undefined label.
7686
04ad99e6
JK
76872011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7688
7689 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7690 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7691 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7692 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7693
713389e0
PM
76942011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7695
6fdff2c5 7696 PR python/12438
713389e0 7697 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 7698 deprecated tests. Add set/show python print-backtrace tests.
713389e0 7699
97d146f8
JK
77002011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7701
7702 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7703 debug info.
7704
facde0e5 77052011-07-06 Matt Rice <ratmice@gmail.com>
7706
7707 * gdb.python/python.exp: Update filename paths.
7708 * gdb.python/py-symtab.exp: Ditto.
7709
438640d1
MP
77102011-07-06 Marek Polacek <mpolacek@redhat.com>
7711
7712 * gdb.python/py-evthreads.exp: Add missing `$'.
7713
33a365df
MF
77142011-07-06 Jie Zhang <jie.zhang@analog.com>
7715
7716 * config/bfin.exp: New file.
7717 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7718 * gdb.asm/bfin.inc: New file.
7719
8f7ae686
MP
77202011-07-06 Marek Polacek <mpolacek@redhat.com>
7721
df46027d 7722 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
7723 the whole output.
7724
eb2a6f42
TT
77252011-07-05 Tom Tromey <tromey@redhat.com>
7726
7727 * gdb.java/jprint.java (jprint.hi): New field.
7728 * gdb.java/jprint.exp: Print string.
7729
177b42fe
TJB
77302011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7731
7732 * gdb.base/call-sc.c: Fix typos.
7733 * gdb.base/ifelse.exp: Likewise.
7734 * gdb.base/structs.c: Likewise.
7735
3b2a0cf2
JB
77362011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7737
7738 * gdb.base/jit-so.exp: New test.
7739 * gdb.base/jit-dlmain.c: New file.
7740 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7741
46fc714c
JK
77422011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7743
7744 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
7745 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7746 * gdb.cp/pr9167.exp (p b): Likewise.
7747 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7748 (test value of P in inner_m, test type of Z in inner_m): Call
7749 setup_xfail for gcc <= 4.5.
46fc714c 7750
418c7cf7
JK
77512011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7752
7753 * gdb.cp/paren-type.cc: New files.
7754 * gdb.cp/paren-type.exp: New files.
7755
3d50dd94
JK
77562011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7757
7758 Stop on first linespec terminator instead of eating what we can.
7759 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7760 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7761 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7762 (break C::f()): ... this one.
7763 (break C::operator()()): New test.
7764 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7765 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7766 test.
7767
dcf9f4ab
JK
77682011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7769
7770 Fall back linespec to minimal symbols.
7771 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7772 error message.
7773 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7774 * gdb.cp/minsym-fallback-main.cc: New file.
7775 * gdb.cp/minsym-fallback.cc: New file.
7776 * gdb.cp/minsym-fallback.exp: New file.
7777 * gdb.cp/minsym-fallback.h: New file.
7778
3f542ed1
JK
77792011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7780
7781 * gdb.cp/no-dmgl-verbose.cc: New file.
7782 * gdb.cp/no-dmgl-verbose.exp: New file.
7783
77842011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
7785
7786 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7787 __GI_.
7788 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7789 (f): New function.
7790 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7791 (complete p 'func<short>(): ... here.
7792 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7793 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7794 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7795 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7796 Make them KFAIL gcc/49546.
7797
00eb2c4a
JB
77982011-07-01 Joel Brobecker <brobecker@adacore.com>
7799
7800 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7801
85a20c42
JK
78022011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7803
7804 Test GCC PR debug/49546.
7805 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7806 (test type of F in k3_m, test value of F in k3_m): New.
7807 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7808 (main): New variable k3. Call k3.k3_m.
7809
d2d43431
JB
78102011-07-01 Jean-Charles Delay <delay@adacore.com>
7811
7812 * gdb.ada/packed_array.exp: Fix expected outout.
7813
54ae186f
JB
78142011-07-01 Jean-Charles Delay <delay@adacore.com>
7815
7816 * gdb.ada/packed_array.exp: fixed expected output.
7817
8f17729f
JB
78182011-07-01 Joel Brobecker <brobecker@adacore.com>
7819
7820 * gdb.ada/same_enum: New testcase.
7821
f5aa6869
JB
78222011-07-01 Joel Brobecker <brobecker@adacore.com>
7823
7824 * gdb.ada/ptr_typedef: New testcase.
7825
828292f2
JB
78262011-07-01 Joel Brobecker <brobecker@adacore.com>
7827
7828 * gdb.ada/arrayptr.exp: Add ptype test.
7829
18920c42
JB
78302011-07-01 Joel Brobecker <brobecker@adacore.com>
7831
7832 * gdb.ada/char_enum: New testcase.
7833
3536d9e3 78342011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
7835
7836 * gdb.base/dump.exp (capture_pointer_with_type): New.
7837 Get value from address instead of name.
7838 Start GDB once, and do `dump' and `restore'
7839 tests together.
7840
db863c42
MF
78412011-06-30 Jie Zhang <jie.zhang@analog.com>
7842 Mike Frysinger <vapier@gentoo.org>
7843
7844 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7845 helper functions for getting/setting remotetimeout variable.
7846 * lib/gdb.exp (gdb_load): If the target is remote, set
7847 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7848 with $loadtimeout. Set $load_ok to 0 before doing the load.
7849 Instead of returning, immediately, set $load_ok to 0. Call
7850 set_remotetimeout with $oldremotetimeout, and then return if
7851 $load_ok is 1.
7852
e9e642a8
AB
78532011-06-30 Andrew Burgess <aburgess@broadcom.com>
7854
7855 * gdb.python/py-template.exp: Don't run this test if the target
7856 does not support c++ tests.
7857
32019081
JK
78582011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7859
7860 Fix non-only rename list for Fortran modules import.
7861 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7862 tests.
7863 * gdb.fortran/module.f90 (module moduse): New.
7864 (program module): use moduse, test var_x, var_y and var_z.
7865
0ecee54c
TT
78662011-06-29 Tom Tromey <tromey@redhat.com>
7867
7868 PR testsuite/12040:
7869 * gdb.fortran/array-element.exp: Use f90, not f77.
7870 * gdb.fortran/complex.exp: Use f90, not f77.
7871 * gdb.fortran/derived-type.exp: Use f90, not f77.
7872 * gdb.fortran/library-module.exp: Use f90, not f77.
7873 * gdb.fortran/logical.exp: Use f90, not f77.
7874 * gdb.fortran/module.exp: Use f90, not f77.
7875 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7876 * gdb.fortran/subarray.exp: Use f90, not f77.
7877
3b2b8fea
TT
78782011-06-29 Tom Tromey <tromey@redhat.com>
7879
7880 * gdb.fortran/charset.exp: New file.
7881 * gdb.fortran/charset.f90: New file.
7882
42159ca5
TT
78832011-06-29 Tom Tromey <tromey@redhat.com>
7884
7885 PR testsuite/12040:
7886 * lib/future.exp: New file, mostly extracted from ada.exp.
7887 Rewrote compatibility code to use rename.
7888 (gdb_find_gfortran): New proc.
7889 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7890 gfortran patch.
7891 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7892 Move to future.exp.
7893 * lib/gdb.exp: Always load future.exp.
7894
af69a5ce
YQ
78952011-06-28 Yao Qi <yao@codesourcery.com>
7896
7897 * gdb.cp/exception.cc: Don't include iostream.
7898 (bar): Remove print statement.
7899 (catcher): New.
7900 (main): Remove print statements. Call function catcher.
7901 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7902 Set breakpoint on catcher, and check the value of parameter.
7903
ab5c6a72
YQ
79042011-06-23 Yao Qi <yao@codesourcery.com>
7905
6fdff2c5
PA
7906 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7907 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 7908
9497469f
MP
79092011-06-23 Marek Polacek <mpolacek@redhat.com>
7910
7911 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7912 mi_gdb_test.
7913
b9132588
MP
79142011-06-23 Marek Polacek <mpolacek@redhat.com>
7915
5d197ed0 7916 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 7917
e55595ca
MP
79182011-06-23 Marek Polacek <mpolacek@redhat.com>
7919
5d197ed0
MP
7920 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7921
79222011-06-23 Marek Polacek <mpolacek@redhat.com>
7923
7924 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7925 `test_exec_and_symbol_mi_operatons' return value.
7926 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7927 gdb_test_multiple.
7928 (test_exec_and_symbol_mi_operatons): Likewise.
7929 (test_path_specification): Likewise.
e55595ca 7930
be777e08
YQ
79312011-06-23 Yao Qi <yao@codesourcery.com>
7932
7933 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7934 supported.
7935 * lib/gdb.exp (support_displaced_stepping): New.
7936
615556d6
YQ
79372011-06-23 Yao Qi <yao@codesourcery.com>
7938
7939 * gdb.threads/execl.exp: Skip on remote target.
7940
833b0ca7
MP
79412011-06-21 Marek Polacek <mpolacek@redhat.com>
7942
5d197ed0 7943 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
7944 mi_gdb_test.
7945
1ee4023a
MP
79462011-06-20 Marek Polacek <mpolacek@redhat.com>
7947
5d197ed0 7948 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 7949
d0b1d624
MP
79502011-06-20 Marek Polacek <mpolacek@redhat.com>
7951
5d197ed0 7952 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
7953 mi_gdb_test.
7954
79aa92c1
MP
79552011-06-20 Marek Polacek <mpolacek@redhat.com>
7956
5d197ed0 7957 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 7958
5ce5db06
YQ
79592011-06-14 Yao Qi <yao@codesourcery.com>
7960
7961 gdb/testsuite/
7962 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7963
533a737e
JK
79642011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7965
7966 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7967
d0e53741
TT
79682011-06-10 Tom Tromey <tromey@redhat.com>
7969
7970 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7971 Add tests for pointer-to-member-function.
7972 * gdb.cp/temargs.cc (S::somefunc): New function.
7973 (K2): New class.
7974 (main): Instantiate K2; call method.
7975
b5916bbd
JB
79762011-06-08 Joel Brobecker <brobecker@adacore.com>
7977
7978 * gdb.python/py-inferior.c (f2): Make str an array rather
7979 than a pointer.
7980 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7981
5be4dfca
JK
79822011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7983
7984 * gdb.base/async-shell.c: New file.
7985 * gdb.base/async-shell.exp: New file.
7986
9f47e254
PA
79872011-06-06 Pedro Alves <pedro@codesourcery.com>
7988
7989 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7990
64b9b334
JB
79912011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7992
7993 From Stephen Kitt <steve@sk2.org>
7994 * gdb.base/help.exp: Adjust following some spelling corrections
7995 in GDB.
7996
dbc0f131
YQ
79972011-06-01 Yao Qi <yao@codesourcery.com>
7998
7999 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
8000
fd336a18
KS
80012010-05-31 Keith Seitz <keiths@redhat.com>
8002
8003 PR c++/12750
8004 * gdb.cp/static-method.cc: New file.
8005 * gdb.cp/static-method.exp: New file.
8006
fa8b9902
KS
80072010-05-31 Keith Seitz <keiths@redhat.com>
8008
8009 PR symtab/12704
8010 * gdb.cp/anon-ns.cc: New file.
8011 * gdb.cp/anon-ns.exp: New file.
8012
0a5b1e09
PA
80132011-05-31 Pedro Alves <pedro@codesourcery.com>
8014
8015 * gdb.arch/i386-dr3-watch.c: New file.
8016 * gdb.arch/i386-dr3-watch.exp: New file.
8017
0578b8d1
YQ
80182011-05-30 Yao Qi <yao@codesourcery.com>
8019
8020 * gdb.base/callfuncs.c (t_structs_fc): New.
8021 (t_structs_dc, t_structs_ldc): New.
8022 (t_double_many_args):
8023 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
8024 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
8025 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
8026 * gdb.base/callfuncs.exp: Call new functions.
8027
6680506e
YQ
80282011-05-30 Yao Qi <yao@codesourcery.com>
8029
ff4d2c60
YQ
8030 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
8031 Call rerun_and_prepare for each test to isolate effects.
8032
80332011-05-30 Yao Qi <yao@codesourcery.com>
8034
8035 * gdb.base/varargs.c (find_max_float_real): New.
8036 (find_max_double_real, find_max_long_double_real): New.
8037 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
8038 * lib/gdb.exp (setup_kfail_for_target): New.
8039
e43ec454
YQ
80402011-05-30 Yao Qi <yao@codesourcery.com>
8041
8042 * gdb.base/funcargs.c (callca, callcb, callcc): New.
8043 (callcd, callce, callcf, callc1a, callc1b): New.
8044 (callc2a, callc2b): New.
8045 * gdb.base/funcargs.exp (complex_args): New.
8046 (complex_integral_args, complex_float_integral_args): New.
8047 * lib/gdb.exp (support_complex_tests): New. Determine
8048 whether to run test cases on _Complex types.
8049
432b4d03
JK
80502011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8051
8052 * gdb.threads/leader-exit.c: New file.
8053 * gdb.threads/leader-exit.exp: New file.
8054
6caf069d
MP
80552011-05-27 Marek Polacek <mpolacek@redhat.com>
8056
9497469f 8057 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 8058
97fce28b
MP
80592011-05-27 Marek Polacek <mpolacek@redhat.com>
8060
8061 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
8062 remove the `supported' variable.
8063 * gdb.mi/mi-nonstop.exp: Likewise.
8064 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
8065 * gdb.mi/mi-nsintrall.exp: Likewise.
8066 * gdb.mi/mi-nsmoribund.exp: Likewise.
8067 * gdb.mi/mi-nsthrexec.exp: Likewise.
8068
9da8c2a0
PA
80692011-05-26 Pedro Alves <pedro@codesourcery.com>
8070
8071 * gdb.reverse/finish-reverse-bkpt.exp: New test.
8072
2c03e5be
PA
80732011-05-26 Pedro Alves <pedro@codesourcery.com>
8074
8075 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
8076
2e21250d
KS
80772011-05-24 Keith Seitz <keiths@redhat.com>
8078
8079 PR breakpoint/12803
8080 * gdb.cp/cmpd-minsyms.cc (a): New method.
8081 (b): New method.
8082 (c): New method.
8083 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
8084
cdac0397
PA
80852011-05-24 Pedro Alves <pedro@codesourcery.com>
8086
8087 * gdb.base/commands.exp (watchpoint_command_test): Check that the
8088 watchpoint's command list didn't execute when the watchpoint went
8089 out of scope.
8090
ee5683ab
PM
80912011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
8092
8093 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
8094 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
8095 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
8096 * gdb.arch/i386-gnu-cfi.exp: Likewise.
8097 * gdb.arch/i386-permbkpt.exp: Likewise.
8098 * gdb.arch/i386-prologue.exp: Likewise.
8099 * gdb.arch/i386-size-overlap.exp: Likewise.
8100 * gdb.arch/i386-size.exp: Likewise.
8101 * gdb.arch/i386-unwind.exp: Likewise.
8102 * gdb.reverse/i386-precsave.exp: Likewise.
8103 * gdb.reverse/i386-reverse.exp: Likewise.
8104 * gdb.reverse/i386-sse-reverse.exp: Likewise.
8105 * gdb.reverse/i387-env-reverse.exp: Likewise.
8106 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8107
c91c8c16
PA
81082011-05-24 Pedro Alves <pedro@codesourcery.com>
8109
8110 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
8111 file doesn't error, using MI.
8112
c50491a7
TT
81132011-05-23 Tom Tromey <tromey@redhat.com>
8114
8115 * gdb.base/charset.exp (string_display): Add tests to assign to
8116 arrays.
8117 * gdb.base/charset.c (short_array, int_array, long_array): New.
8118
4a07b7da
PA
81192011-05-20 Pedro Alves <pedro@codesourcery.com>
8120
8121 Cope with async mode.
8122
4a07b7da
PA
8123 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
8124 into gdb_test + mi_expect_stop.
8125
b275f2d2
PA
81262011-05-20 Pedro Alves <pedro@codesourcery.com>
8127
8128 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
8129 (callme): Remove printf call.
8130
eec52c44
PM
81312011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
8132
8133 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
8134 quote pattern to avoid problems with Cygwin/mingw expect versions.
8135 * gdb.base/default.exp (show convenience): Use double
8136 quote pattern for regular expressions.
8137
b3c8eb43
JK
81382011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8139
8140 Fix -readnow for -gdwarf-4 unused type units.
8141 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
8142 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
8143
ed731959
JK
81442011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8145
8146 * gdb.base/kill-after-signal.c: New file.
8147 * gdb.base/kill-after-signal.exp: New file.
8148
3b48433d
PA
81492011-05-16 Pedro Alves <pedro@codesourcery.com>
8150
8151 * gdb.ada/start.exp: Call untested with the correct test filename.
8152 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
8153 test filename. Make the test's binary unique.
8154 * gdb.arch/i386-signal.exp: Call untested with the correct test
8155 filename.
8156 * gdb.arch/i386-size-overlap.exp: Ditto.
8157 * gdb.arch/Makefile.in (EXECUTABLES): Update.
8158 * gdb.base/gcore-buffer-overflow.exp: Ditto.
8159 * gdb.cp/call-c.exp: Ditto.
8160 * gdb.mi/mi-reverse.exp: Call untested with the correct test
8161 filename. Make the test's binary unique.
8162 * gdb.mi/Makefile.in (EXECUTABLES): Update.
8163 * gdb.python/py-mi.exp: Ditto.
8164 * gdb.python/Makefile.in (EXECUTABLES): Update.
8165 * gdb.reverse/i386-precsave.exp: Ditto.
8166 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
8167 test filename.
8168 * gdb.reverse/i387-stack-reverse.exp: Ditto.
8169 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
8170 unique.
8171 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
8172 test filename.
8173 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
8174 * gdb.trace/tfile.exp: Ditto.
8175
ba4a8bdd
YQ
81762011-05-14 Yao Qi <yao@codesourcery.com>
8177
8178 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
8179 type.
8180
dbaefcf7
DE
81812011-05-13 Doug Evans <dje@google.com>
8182
8183 * gdb.python/py-objfile-script.exp: New file.
8184 * gdb.python/py-objfile-script.c: New file.
8185 * gdb.python/py-objfile-script-gdb.py: New file.
8186 * testsuite/gdb.python/py-section-script.exp: Test
8187 "info auto-load-scripts".
8188
9930639c
TT
81892011-05-13 Tom Tromey <tromey@redhat.com>
8190
8191 * gdb.dwarf2/clztest.exp: New file.
8192 * gdb.dwarf2/clztest.c: New file.
8193 * gdb.dwarf2/clztest.S: New file.
8194
05272e11
DE
81952011-05-13 Doug Evans <dje@google.com>
8196
cc63ef9b
DE
8197 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
8198 String16 tests.
05272e11 8199
6edba76f
TT
82002011-05-13 Tom Tromey <tromey@redhat.com>
8201
8202 * lib/gdb.exp (is_x86_like_target): New proc.
8203 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
8204 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
8205 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
8206 -nostdlib to compiler.
8207 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
8208 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
8209 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
8210 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
8211 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
8212
028d0ed5
TJB
82132011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8214
8215 * gdb.python/py-function.exp: Test setting a value from a function
8216 which executes a command.
8217
8a9b8146
TT
82182011-05-12 Tom Tromey <tromey@redhat.com>
8219
8220 * gdb.dwarf2/typeddwarf.S: New file.
8221 * gdb.dwarf2/typeddwarf.c: New file.
8222 * gdb.dwarf2/typeddwarf.exp: New file.
8223
10483e8e
MP
82242011-05-12 Marek Polacek <mpolacek@redhat.com>
8225
8226 * gdb.mi/mi-basics.exp: Fix races. Honour the
8227 `test_exec_and_symbol_mi_operatons' return value.
8228 (test_mi_interpreter_selection): Use mi_gdb_test instead of
8229 gdb_test_multiple.
8230 (test_exec_and_symbol_mi_operatons): Likewise.
8231 (test_path_specification): Likewise.
8232
faf067f1
JK
82332011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8234
8235 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
8236 (gdb_touch_execfile): Remove catch wrappers. New variable time.
8237 Replace `file copy' and `file rename' by `file mtime'. Twice.
8238
7ff911a3
JK
82392011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8240
8241 * gdb.base/readline-ask.c: New file.
8242 * gdb.base/readline-ask.exp: New file.
8243 * gdb.base/readline-ask.inputrc: New file.
8244
a536c6d7
UW
82452011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
8246
8247 * gdb.cell/bt.exp: Delete breakpoints before running to signal
8248 to avoid race condition.
8249 * gdb.cell/coremaker.c: Use small stack size.
8250 * gdb.cell/ea-standalone.exp: Use file name without path as
8251 argument to c_to.
8252 * gdb.cell/fork.exp: Allow other output when continuing to end.
8253
d472a426
JK
82542011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8255
8256 * gdb.threads/corethreads.c: New file.
8257 * gdb.threads/corethreads.exp: New file.
8258
82592011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
8260
8261 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
8262 Try to compile the test using -Wl,-z,norelro first.
8263 (load_core): New variable libthread_db_seen, initialize it.
8264 (zeroed-threads cannot be listed): Protect it by XFAIL on
8265 !$libthread_db_seen.
8266
8be455d7
JK
82672011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8268
8269 PR 12573
8270 * gdb.dwarf2/dw2-skip-prologue.S: New file.
8271 * gdb.dwarf2/dw2-skip-prologue.c: New file.
8272 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
8273
1976171a
JK
82742011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8275
8276 * gdb.cp/psymtab-parameter.cc: New file.
8277 * gdb.cp/psymtab-parameter.exp: New file.
8278
7db6f30f
JK
82792011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8280
8281 Fix a race.
8282 * gdb.cp/static-print-quit.exp (print c): Split to ...
8283 (print c - <return>, print c - q <return>, print c - to quit):
8284 ... these. Make the testfile untested on gdb-7.1.
8285
85161e9e 82862011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
8287
8288 * lib/gdb.exp (exec_target_file, exec_symbol_file,
8289 gdb_rename_execfile, gdb_touch_execfile): New.
8290 * gdb.base/reread.exp: Use new procs to handle multiple
8291 exec files.
8292
0c51be18
YQ
82932011-05-05 Yao Qi <yao@codesourcery.com>
8294
8295 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
8296 (test_adr_32bit, test_pop_pc): New.
8297 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
8298 (test_adr_32bit, test_pop_pc): New.
8299
4d393d60
JM
83002011-05-04 Joseph Myers <joseph@codesourcery.com>
8301
8302 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
8303 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
8304 targets.
8305 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
8306 handle targets.
8307
8ffd0459
JK
83082011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8309
8310 * gdb.base/completion.exp (complete help info wat): Rename to ...
8311 (complete 'help info wat'): ... here.
8312 Remove all `-re ".*' and `-re "^.*' redundant regexes.
8313 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
8314
8e28d804
PA
83152011-05-04 Pedro Alves <pedro@codesourcery.com>
8316
8317 * gdb.base/completion.exp: Use gdb_test_multiple instead of
8318 gdb_test and explicit $gdb_prompt/timeout matches.
8319
3eb2ef34
YQ
83202011-05-04 Yao Qi <yao@codesourcery.com>
8321
8322 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
8323 and __thumb2__.
8324
aaaf81a3
MP
83252011-05-03 Marek Polacek <mpolacek@redhat.com>
8326
8327 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
8328 in place of `gdb_test "delete breakpoints"'. This eliminates two
8329 testcases.
8330
c4cbc0df
PA
83312011-05-02 Pedro Alves <pedro@codesourcery.com>
8332
8333 PR testsuite/12649
8334 Fix races.
8335
8336 * gdb.base/completion.exp: Remove all sleep calls. Remove
8337 unnecessary regexs. Don't explicitly expect anything after the
8338 prompt. Eat the prompt if necessary.
8339
b4cbb4a3
EBM
83402011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
8341
8342 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
8343 accept to show the caller line again as well as the line after.
8344
d65aec65
PM
83452011-04-29 Phil Muldoon <pmuldoon@redhat.com>
8346
8347 PR mi/12531
8348
8349 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
8350 compile target.
8351 * gdb.python/py-prettyprint.exp: Add C++ object for
8352 CPLUS_FAKE_CHILD test.
8353
30852783
UW
83542011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
8355
8356 * gdb.base/signest.exp: New file.
8357 * gdb.base/signest.c: Likewise.
8358
c7b1f0d9
JK
83592011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8360
8361 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
8362 thread and breakpoint notifications.
8363
559a7a62
JK
83642011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8365
8366 * gdb.base/fortran-sym-case.c: New file.
8367 * gdb.base/fortran-sym-case.exp: New file.
8368 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
8369 * gdb.dwarf2/dw2-case-insensitive.c: New file.
8370 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
8371
8344e389
JK
83722011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8373
8374 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
8375 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
8376 false #1', `if true else false #2' and `if true else false #3'.
8377
2484c66b
UW
83782011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
8379
8380 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
8381 while delivering signal.
8382
8d3788bd
VP
83832011-04-27 Vladimir Prus <vladimir@codesourcery.com>
8384
8385 MI breakpoint notifications.
8386
8387 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
8388 * testsuite/gdb.mi/mi2-cli.exp: Adust.
8389 * testsuite/gdb.mi/mi-watch.exp: Adust.
8390 * testsuite/gdb.mi/mi2-watch.exp: Adust.
8391 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
8392 notifications.
8d3788bd 8393
3e03848b
JK
83942011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8395
8396 * gdb.base/gdbindex-stabs-dwarf.c: New file.
8397 * gdb.base/gdbindex-stabs.c: New file.
8398 * gdb.base/gdbindex-stabs.exp: New file.
8399
918c9108
YQ
84002011-04-25 Yao Qi <yao@codesourcery.com>
8401
8402 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
8403 with /*...*/.
8404 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
8405
90556b8c
JK
84062011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8407
8408 * gdb.python/py-value.exp (test_objfiles): Name the first test
8409 `py-value in file.filename'.
8410
03f2bd59
JK
84112011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8412
8413 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
8414 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
8415 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
8416 !gdbserver_reconnect_p..
8417 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
8418
7b08b9eb
JK
84192011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8420
8421 * gdb.cp/cpcompletion.exp (complete class methods)
8422 (complete class methods beginning with F): Move them above runto. New
8423 comment about the runto delimiter.
8424
b78974c3
PA
84252011-04-20 Pedro Alves <pedro@codesourcery.com>
8426
8427 * gdb.base/maint.exp: Test that "maint print registers" works
8428 without a running program.
8429
20429c40 84302011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 8431
20429c40
MP
8432 * gdb.base/setshow.exp: Fix racy tests.
8433 ($old_gdb_prompt): New variable.
8434
7a9dd1b2
TT
84352011-04-19 Tom Tromey <tromey@redhat.com>
8436
8437 * gdb.mi/mi-nsmoribund.exp:
8438 * gdb.hp/gdb.objdbg/objdbg01.exp:
8439 * gdb.base/structs.exp (test_struct_returns):
8440 * gdb.base/call-sc.exp (test_scalar_returns):
8441 * gdb.base/bigcore.exp: Remove duplicate words.
8442
02835898
JK
84432011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8444
8445 * gdb.base/break-interp-lib.c (v, vptr): New variables.
8446 * gdb.base/break-interp.exp (test_attach): New comment.
8447
254f582e
JK
84482011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8449
8450 * gdb.threads/gcore-thread.exp ($core0file): New variable.
8451 (clear __stack_user.next, clear stack_used.next)
8452 (save a zeroed-threads corefile): New test.
8453 Call core_load for $core0file.
8454 (zeroed-threads cannot be listed): New test.
8455
4fe85f5c
JK
84562011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8457
8458 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
8459 filename.
8460 ($srcfile): Preserve the original value.
8461 ($testfile): Match it the .exp filename.
8462 ($corefile): New variable. Substitute it around.
8463 Use clean_restart.
8464 ($prev_timeout): Remove.
8465 (load_core): Move core loading into this proc.
8466 Fix restore of $timeout if load_core fails.
8467
63524580
JK
84682011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8469
8470 * gdb.base/eu-strip-infcall.c: New file.
8471 * gdb.base/eu-strip-infcall.exp: New file.
8472
90359a16
JK
84732011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8474
8475 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
8476 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
8477
626e7282
JK
84782011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8479
8480 Fix Python access to inlined frames.
8481 * gdb.python/py-frame-inline.c: New file.
8482 * gdb.python/py-frame-inline.exp: New file.
8483
3363d018
EBM
84842011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
8485
8486 * gdb.base/gdb1090.exp: Change breakpoint location to read the
8487 content of 's24' correctly (avoiding "optimized out").
8488 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
8489
28781456
JK
84902011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8491
8492 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
8493
4a4106ca
TJB
84942011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
8495
8496 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
8497 expect a colon in watch -location output.
8498
d26ccb4f
JK
84992011-04-13 Marek Polacek <mpolacek@redhat.com>
8500
df46027d 8501 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
8502 New testcase `expect response to define backtrace'. Also remove
8503 redundant `default' block.
8504
e1ab1f9c
JK
85052011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8506
8507 * gdb.python/py-prettyprint.c (struct hint_error): New.
8508 (main): New variable hint_error.
8509 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8510 "print hint_error".
8511 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8512 (register_pretty_printers): Register it.
8513
0c2e6019
TT
85142011-04-04 Tom Tromey <tromey@redhat.com>
8515
8516 * gdb.cp/maint.exp (test_help): Update.
8517 (test_namespace): Likewise.
8518
af57139d
JB
85192011-04-01 Joel Brobecker <brobecker@adacore.com>
8520
8521 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8522 * gdb.ada/arrayptr.exp: Add new tests.
8523
956a9fb9
JB
85242011-04-01 Joel Brobecker <brobecker@adacore.com>
8525
8526 * gdb.ada/mi_catch_ex: New testcase.
8527
d0c4d642
PA
85282011-04-01 Pedro Alves <pedro@codesourcery.com>
8529
8530 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8531 base::overload(void) method without specifying "const".
8532
18819fa6
UW
85332011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8534
8535 * gdb.arch/thumb-singlestep.S: New file.
8536 * gdb.arch/thumb-singlestep.exp: Likewise.
8537
a4c8e806
TT
85382011-03-31 Tom Tromey <tromey@redhat.com>
8539
8540 * gdb.python/py-prettyprint.py (exception_flag): New global.
8541 (NoStringContainerPrinter._iterator.next): Check it.
8542 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8543 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8544
53832f31
TT
85452011-03-29 Tom Tromey <tromey@redhat.com>
8546
8547 * gdb.cp/anon-struct.cc: New file.
8548 * gdb.cp/anon-struct.exp: New file.
8549
e4620230
JK
85502011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8551
8552 Test STT_GNU_IFUNC support.
8553 * gdb.base/gnu-ifunc-lib.c: New file.
8554 * gdb.base/gnu-ifunc.c: New file.
8555 * gdb.base/gnu-ifunc.exp: New file.
8556
d0fb5eae
JK
85572011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8558
8559 Support a ring of related breakpoints.
8560 * gdb.base/watchpoint-delete.c: New file.
8561 * gdb.base/watchpoint-delete.exp: New file.
8562
20106cfb
JK
85632011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8564
8565 * gdb.ada/arrayparam.exp (print first after function call): Use
8566 explicit package name. Add a comment
8567 (print lasta after function call): Rename ...
8568 (print last after function call): ... it and use explicit package
8569 name.
8570 (print length after function call): Use explicit package name.
8571 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8572 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8573 (multiple matches for symbol i): Rename ...
8574 (multiple matches for symbol integervar): ... it.
8575 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8576 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8577
e7ab5e63
AB
85782011-03-25 Andrew Burgess <aburgess@broadcom.com>
8579
8580 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8581 environment variable to make grep output more predictable. Move
8582 all the environment setup into gdb_init so it's done once per test
8583 case rather than each time we start gdb.
8584
9ef07c8c
TT
85852011-03-24 Tom Tromey <tromey@redhat.com>
8586
8587 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8588 test.
8589
dd90784c
JK
85902011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8591
8592 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8593 * gdb.dwarf2/dw2-entry-value.S: New file.
8594 * gdb.dwarf2/dw2-entry-value.exp: New file.
8595
05775840
PM
85962011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8597
6fdff2c5 8598 PR python/12183
05775840
PM
8599
8600 * gdb.python/py-function.exp: Add GdbError tests.
8601
8661b11b
PA
86022011-03-18 Pedro Alves <pedro@codesourcery.com>
8603
8604 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8605 (reglocal_test_func, statlocal_test_func): New functions.
8606 (globals_test_func): Call new functions.
8607 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8608 (gdb_collect_locals_test): New procedure.
8609 (gdb_trace_collection_test): Call new procedures.
8610
0fdb4f18
PA
86112011-03-18 Pedro Alves <pedro@codesourcery.com>
8612
8613 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8614 (test_register, test_register_unavailable): New procedures.
8615 (gdb_unavailable_registers_test): New procedure.
8616 (gdb_trace_collection_test): Call it.
8617
99c3dc11
PM
86182011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8619
6fdff2c5 8620 PR python/12149
99c3dc11
PM
8621
8622 * gdb.python/python.exp: Add gdb.write tests.
8623
29703da4
PM
86242010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8625
8626 * gdb.python/Makefile.in: Add py-objfile.
8627 * gdb.python/py-objfile.exp: New file.
8628 * gdb.python/py-objfile.c: New file.
8629 * gdb.python/py-block.exp: Add is_valid tests.
8630 * gdb.python/py-inferior.exp: Ditto.
8631 * gdb.python/py-infthread.exp: Ditto.
8632 * gdb.python/py-symbol.exp: Ditto.
8633 * gdb.python/py-symtab.exp: Ditto.
8634
598997c8
KS
86352011-03-16 Keith Seitz <keiths@redhat.com>
8636
8637 PR c++/12273
8638 * gdb.cp/cmpd-minsyms.exp: New test.
8639 * gdb.cp/cmpd-minsyms.cc: New file.
8640
8641 PR c++/11734
8642 * gdb.cp/ovsrch.exp: New test.
8643 * gdb.cp/ovsrch.h: New file.
8644 * gdb.cp/ovsrch1.cc: New file.
8645 * gdb.cp/ovsrch2.cc: New file.
8646 * gdb.cp/ovsrch3.cc: New file.
8647 * gdb.cp/ovsrch4.cc: New file.
8648
c91513d8
PP
86492011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8650
8651 PR gdb/12528
8652 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8653 * gdb.base/break-on-linker-gcd-function.exp: New test.
8654 * gdb.base/break-on-linker-gcd-function.cc: New file.
8655
7470fc63
AT
86562011-03-15 Andreas Tobler <andreast@fgznet.ch>
8657
8658 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8659
959e7469
PM
86602011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8661
8662 * lib/gdb.exp (gdb_unload): Add another termination case.
8663
9373cf26
JK
86642011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8665
8666 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8667 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8668 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8669 Provide a stub byte there.
8670 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8671 DW_AT_entry_pc.
8672 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8673
24e9cda0
UW
86742011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8675
8676 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8677 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8678 "generic ABI, auto".
8679 (altivec_abi_tests): Accept vectors returned by reference.
8680
7371cf6d
PM
86812010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8682
8683 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8684
ce77046a
UW
86852011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8686
8687 * gdb.python/py-section-script.exp: Skip test if no Python support.
8688
176400c3
UW
86892011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8690
8691 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8692
ecec24e6
PM
86932011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8694
8695 * gdb.python/py-parameter.exp: Update tests to the new Python
8696 parameter API. Add "no documentation" test. Add deprecated API
8697 backward compatibility test.
8698
5dbdd470
TT
86992011-03-09 Tom Tromey <tromey@redhat.com>
8700
8701 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8702 gdb_continue_to_end.
8703
b66e66ee
MK
87042011-03-09 Mark Kettenis <kettenis@gnu.org>
8705
8706 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8707 tabs.
8708
eceb0c5f
TT
87092011-03-09 Tom Tromey <tromey@redhat.com>
8710
8711 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8712 parentheses.
8713 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8714 $command.
8715 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8716 argument to gdb_continue_to_end.
8717 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8718 argument to gdb_continue_to_end.
8719 * gdb.cp/annota3.exp: Fix regex.
8720 * gdb.cp/annota2.exp: Fix regex.
8721 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8722 gdb_continue_to_end.
8723 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8724 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8725 gdb_continue_to_end.
8726
63154eca
PA
87272011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8728
8729 * gdb.server/ext-run.exp
8730 (load new file without any gdbserver inferior): New test.
8731
967d1f9b
TT
87322011-03-07 Tom Tromey <tromey@redhat.com>
8733
8734 * Makefile.in (TAGS): Rewrite.
8735
d68dcbb9
JK
87362011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8737
8738 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8739 initial commands echo. New match for `Found trace'. Anchor all the
8740 other matches. Anchor and match for `No trace frame found' the final
8741 match.
8742
6bf58e63
TT
87432011-03-07 Tom Tromey <tromey@redhat.com>
8744
8745 * Makefile.in (TAGS): New target.
8746
fda326dd
TT
87472011-03-07 Tom Tromey <tromey@redhat.com>
8748
8749 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8750 change.
8751 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8752 change.
8753 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8754 exit message change.
8755 (skip_altivec_tests): Update for exit message change.
8756 (skip_vsx_tests): Likewise.
8757 (gdb_continue_to_end): Likewise. Add 'command' argument.
8758 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8759 * gdb.threads/tls.exp: Update for exit message change.
8760 * gdb.threads/thread-unwindonsignal.exp: Use
8761 gdb_continue_to_end.
8762 * gdb.threads/step.exp (step_it): Update for exit message change.
8763 (continue_all): Likewise.
8764 * gdb.threads/print-threads.exp (test_all_threads): Update for
8765 exit message change.
8766 * gdb.threads/interrupted-hand-call.exp: Use
8767 gdb_continue_to_end.
8768 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8769 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8770 gdb_continue_to_end.
8771 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8772 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8773 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8774 * gdb.cp/method.exp: Update for exit message change.
8775 * gdb.cp/mb-templates.exp: Update for exit message change.
8776 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8777 * gdb.cp/annota3.exp: Update for exit message change.
8778 * gdb.cp/annota2.exp: Update for exit message change.
8779 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8780 * gdb.base/term.exp: Update for exit message change.
8781 * gdb.base/step-test.exp (test_i): Update for exit message change.
8782 * gdb.base/sigstep.exp (advance): Update for exit message change.
8783 (advancei): Likewise.
8784 * gdb.base/siginfo.exp: Update for exit message change.
8785 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8786 * gdb.base/reread.exp: Use gdb_continue_to_end.
8787 * gdb.base/langs.exp: Use gdb_continue_to_end.
8788 * gdb.base/interrupt.exp: Update for exit message change.
8789 * gdb.base/gdb1555.exp: Update for exit message change.
8790 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8791 * gdb.base/ending-run.exp: Update for exit message change.
8792 * gdb.base/chng-syms.exp: Update for exit message change.
8793 * gdb.base/checkpoint.exp: Update for exit message change.
8794 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8795 gdb_continue_to_end.
8796 (test_catch_syscall_with_wrong_args): Likewise.
8797 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8798 * gdb.base/break-interp.exp (test_ld): Update for exit message
8799 change.
8800 * gdb.base/bang.exp: Update for exit message change.
8801 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8802 (do_call_attach_tests): Likewise.
8803 * gdb.base/a2-run.exp: Update for exit message change.
8804 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8805 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8806 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8807
dd19bd70
JK
88082011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8809
8810 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8811
30e62689
TT
88122011-03-03 Tom Tromey <tromey@redhat.com>
8813
8814 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8815 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8816 * gdb.hp/gdb.aCC/configure.ac: Remove.
8817 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8818 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8819 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8820 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8821 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8822 * gdb.hp/gdb.compat/configure.ac: Remove.
8823 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8824 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8825 * gdb.hp/gdb.defects/configure.ac: Remove.
8826 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8827 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8828 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8829 * gdb.hp/configure.ac: Remove.
8830 * gdb.hp/configure: Remove.
8831 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8832 substitution.
8833 (Makefile): Remove rule.
8834 * gdb.cell/configure.ac: Remove.
8835 * gdb.cell/configure: Remove.
8836 * gdb.stabs/Makefile.in (Makefile): Remove.
8837 (distclean): Don't remove config.status or config.log.
8838 * gdb.stabs/configure (Makefile): Remove.
8839 * gdb.stabs/configure.ac: Remove.
8840 * configure: Rebuild.
8841 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8842 Remove stabs- and cell-specific logic. Test for existence of
8843 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8844 subdirectories, gdb.cell, and and gdb.stabs.
8845 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8846
c171f854
JB
88472011-03-03 Joel Brobecker <brobecker@adacore.com>
8848
8849 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8850 end of buffer.
8851
9a5193cb
JB
88522011-03-02 Joel Brobecker <brobecker@adacore.com>
8853
8854 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8855 gdb_test when running a test where we expected no output back.
8856
9bb4c1bb
MS
88572011-02-28 Michael Snyder <msnyder@vmware.com>
8858
8859 * gdb.cp/overload.cc: Change initializer value to integer.
8860
3bd0f5ef
MS
88612011-02-27 Michael Snyder <msnyder@vmware.com>
8862
8863 * gdb.multi/base.exp: Add test for remove-inferiors.
8864
2279eaad
JB
88652011-02-26 Joel Brobecker <brobecker@adacore.com>
8866
8867 * gdb.python/py-frame.exp: Simplify the initialization phase
8868 using prepare_for_testing.
8869
c82c0b55
MS
88702011-02-25 Michael Snyder <msnyder@vmware.com>
8871
8872 * gdb.multi/base.exp: Add tests for info inferiors with args.
8873
1d94651b
JK
88742011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8877 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8878 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8879 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8880 asmfile3. Comment the STABS (#3) file compilation. Compile
8881 everything through assembler. Provide KFAIL for symtab/12497.
8882 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8883 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8884 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8885 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8886
3bd0f5ef
MS
88872011-02-24 Michael Snyder <msnyder@vmware.com>
8888
8889 * gdb.base/break.exp: Add tests for delete breakpoints using
8890 convenience variables and value history references.
8891
12c1418e
MS
88922011-02-24 Michael Snyder <msnyder@vmware.com>
8893
8894 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8895 left behind in previous check-in.
8896
e5a67952
MS
88972011-02-23 Michael Snyder <msnyder@vmware.com>
8898
8899 * gdb.base/break.exp: Add tests for "info break" with arguments.
8900 * gdb.trace/infotrace.exp: Update patterns for error and help.
8901 * gdb.base/completion.exp: Update pattern.
8902 * gdb.base/ena-dis-br.exp: Update pattern.
8903 * gdb.base/help.exp: Update patterns.
8904
89052011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
8906
8907 * gdb.base/memattr.exp: New test.
8908 * gdb.base/memattr.c: Test load for memattr.exp.
8909
6e6fbe60
DE
89102011-02-22 Doug Evans <dje@google.com>
8911
8912 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8913
1d41d745
MS
89142011-02-22 Michael Snyder <msnyder@vmware.com>
8915
8916 * Makefile.in: Make more clean.
8917 * gdb.ada/Makefile.in: Ditto.
8918 * gdb.arch/Makefile.in: Ditto.
8919 * gdb.asm/Makefile.in: Ditto.
8920 * gdb.base/Makefile.in: Ditto.
8921 * gdb.cp/Makefile.in: Ditto.
8922 * gdb.dwarf2/Makefile.in: Ditto.
8923 * gdb.java/Makefile.in: Ditto.
8924 * gdb.mi/Makefile.in: Ditto.
8925 * gdb.modula2/Makefile.in: Ditto.
8926 * gdb.python/Makefile.in: Ditto.
8927 * gdb.server/Makefile.in: Ditto.
8928 * gdb.stabs/Makefile.in: Ditto.
8929 * gdb.threads/Makefile.in: Ditto.
8930 * gdb.trace/Makefile.in: Ditto.
8931
79ba84ca
MS
89322011-02-22 Michael Snyder <msnyder@vmware.com>
8933
df46027d 8934 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
8935 info threads.
8936
b9b35694
JB
89372011-02-22 Joel Brobecker <brobecker@adacore.com>
8938
8939 * gdb.python/py-breakpoint.exp: Fix the expected output of
8940 one of the "maint info breakpoints" tests to accept the output
8941 generated on platforms that do not have hardware watchpoints.
8942
8bfb830f
JB
89432011-02-22 Joel Brobecker <brobecker@adacore.com>
8944
8945 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8946 clean_restart. Be a little stricter in the expected output
8947 for one of the tests. Fix a typo in one of the comments.
8948
c45f3c54
JB
89492011-02-22 Joel Brobecker <brobecker@adacore.com>
8950
8951 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8952 Delete variable binfile, no longer use. Add or modify test
8953 comments to make them unique.
8954
b97c863c
MS
89552011-02-21 Michael Snyder <msnyder@vmware.com>
8956
8957 * Makefile.in: Update for make clean.
8958 * gdb.ada/Makefile.in: Ditto.
8959 * gdb.arch/Makefile.in: Ditto.
8960 * gdb.asm/Makefile.in: Ditto.
8961 * gdb.base/Makefile.in: Ditto.
8962 * gdb.cp/Makefile.in: Ditto.
8963 * gdb.dwarf2/Makefile.in: Ditto.
8964 * gdb.java/Makefile.in: Ditto.
8965 * gdb.mi/Makefile.in: Ditto.
8966 * gdb.modula2/Makefile.in: Ditto.
8967 * gdb.python/Makefile.in: Ditto.
8968 * gdb.server/Makefile.in: Ditto.
8969 * gdb.stabs/Makefile.in: Ditto.
8970 * gdb.threads/Makefile.in: Ditto.
8971 * gdb.trace/Makefile.in: Ditto.
8972
aea5b279
MS
89732011-02-21 Michael Snyder <msnyder@vmware.com>
8974
8975 * gdb.threads/thread-find.exp: Update patterns for changes in
8976 output of "info threads" command.
8977
e3039479
UW
89782011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8979 Ulrich Weigand <uweigand@de.ibm.com>
8980
8981 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8982 (skip_hw_watchpoint_tests): Likewise.
8983 (skip_hw_watchpoint_multi_tests): Likewise.
8984
b800ec70
UW
89852011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8986
8987 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8988 (skip_hw_watchpoint_tests): Likewise.
8989 (skip_hw_watchpoint_multi_tests): Likewise.
8990 (skip_hw_watchpoint_access_tests): Likewise.
8991
8992 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8993 * gdb.base/pr11022.exp: Likewise.
8994 * gdb.base/watch-read.exp: Likewise.
8995 * gdb.base/watch_thread_num.exp: Likewise.
8996 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8997 * gdb.base/watchpoint-hw.exp: Likewise.
8998 * gdb.base/watchpoint.exp: Likewise.
8999 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
9000 * gdb.threads/watchthreads-reorder.exp: Likewise.
9001 * gdb.threads/watchthreads.exp: Likewise.
9002 * gdb.threads/watchthreads2.exp: Likewise.
9003
91033e37
JB
90042011-02-21 Joel Brobecker <brobecker@adacore.com>
9005
9006 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
9007 the debugger is unable to find the array bounds.
9008
eeaafae2
JK
90092011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 * gdb.cp/typedef-operator.exp: New file.
9012 * gdb.cp/typedef-operator.cc: New file.
9013
e338d953
MS
90142011-02-17 Michael Snyder <msnyder@vmware.com>
9015
9016 * gdb.threads/thread-find.exp: Fix regular expressions.
9017
e67ad678
JB
90182011-02-17 Joel Brobecker <brobecker@adacore.com>
9019
9020 * gdb.ada/packed_array: Expand testcase to test printing of
9021 unconstrained packed array.
9022
93084bca
JB
90232011-02-17 Joel Brobecker <brobecker@adacore.com>
9024
9025 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
9026
a0c78a73
PA
90272011-02-16 Pedro Alves <pedro@codesourcery.com>
9028
f65d5553 9029 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
9030 (main): Initialize it before collecting, and and clear it
9031 afterwards.
f65d5553
PA
9032 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9033 collecting with '{type} addr', where the addr expression is not an
9034 rvalue.
a0c78a73 9035
3dfcbbd2
KW
90362011-02-16 Ken Werner <ken.werner@de.ibm.com>
9037
9038 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
9039 a bool variable. Expect correct OpenCL names for vector types. Use the
9040 uc3 variable name instead of referring to the uchar3 built-in type.
9041 Escape the asterisk at the half pointer test.
9042
08807d5a
PA
90432011-02-16 Pedro Alves <pedro@codesourcery.com>
9044
f65d5553 9045 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
9046 (main): Initialize it before collecting, and and clear it
9047 afterwards.
f65d5553
PA
9048 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
9049 collecting overlapping memory ranges.
08807d5a 9050
60f98dde
MS
90512011-02-15 Michael Snyder <msnyder@vmware.com>
9052
9053 * gdb.base/default.exp: Add tests for thread commands.
9054 * gdb.base/help.exp: Add tests for thread commands.
9055 * gdb.threads/thread-find.exp: New test for thread find command.
9056
648cd113
KW
90572011-02-15 Ken Werner <ken.werner@de.ibm.com>
9058
9059 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
9060
494e194e
YQ
90612011-02-15 Yao Qi <yao@codesourcery.com>
9062
9063 PR tdep/12352
9064 * gdb.arch/arm-disp-step.S : New test for str instruction.
9065 * gdb.arch/arm-disp-step.exp : Likewise.
9066
d9492458
TJB
90672011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
9068
9069 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
9070 "vector_register2_vr" test strings. Test the extended floating
9071 point registers (F32~F63).
9072 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
9073 IBM XL C compiler. Make the test program use a register provided
9074 by the compiler for the lxvd2x instruction.
9075
8af8e3bc
PA
90762011-02-14 Pedro Alves <pedro@codesourcery.com>
9077
9078 * gdb.trace/unavailable.cc (class Base, class Middle, class
9079 Derived): New types.
9080 (derived_unavail, derived_partial, derived_whole): New globals.
9081 (virtual_partial): New global.
9082 (virtualp): Point at virtual_partial.
9083 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
9084 related to unavailable vptr.
9085
1b28d0b3
PA
90862011-02-14 Pedro Alves <pedro@codesourcery.com>
9087
9088 * gdb.trace/unavailable.cc (a, b, c): New globals.
9089 (main): Set and clear them.
9090 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
9091 `a' and `c', and check that `b' isn't collected, although `a' and
9092 `c' are.
9093
ec0a52e1
PA
90942011-02-14 Pedro Alves <pedro@codesourcery.com>
9095
9096 * gdb.trace/unavailable.cc (struct Virtual): New.
9097 (virtualp): New global pointer.
9098 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
9099 printing a pointer to an object whose type has a vtable, with
9100 print object on.
9101
24e6bcee
PA
91022011-02-14 Pedro Alves <pedro@codesourcery.com>
9103
9104 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
9105 value repeat handles unavailableness.
9106
39d37385
PA
91072011-02-14 Pedro Alves <pedro@codesourcery.com>
9108
9109 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
9110 tests for building arrays from unavailable values, subscripting
9111 non-memory rvalue unvailable arrays, and accessing fields or
9112 baseclasses of non-lazy unavailable values,
9113 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
9114 struct types.
9115 (g_smallstruct, g_smallstruct_b): New globals.
9116
06d72e16
PA
91172011-02-14 Pedro Alves <pedro@codesourcery.com>
9118
9119 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
9120
bc9a5551
JK
91212011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9122
9123 Fix const/volatile qualifiers of C++ types, PR c++/12328.
9124 * gdb.cp/overload-const.exp: New file.
9125 * gdb.cp/overload-const.cc: New file.
9126
54fcddd0
UW
91272011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9128
9129 * gdb.opencl/callfuncs.cl: New file.
9130 * gdb.opencl/callfuncs.exp: New test.
9131 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
9132
d6dafb7c
UW
91332011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
9134
9135 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
9136 when computing result.
9137 * gdb.arch/altivec-abi.exp: Update expected results.
9138
a449c2d8
TJB
91392011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9140
9141 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
9142 * gdb.base/jit.exp: Likewise.
9143 * gdb.base/pie-execl.exp: Likewise.
9144 * gdb.base/solib-nodir.exp: Likewise.
9145 * gdb.base/solib-overlap.exp: Likewise.
9146
764880b7
PA
91472011-02-07 Pedro Alves <pedro@codesourcery.com>
9148
9149 * gdb.trace/collection.c (global_pieces): New.
9150 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
9151 New procedure.
9152 (gdb_trace_collection_test): Call it.
9153
505500db
SW
91542011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9155
9156 * gdb.python/py-evthreads.c: New file.
9157 * gdb.python/py-evthreads.exp: New file.
9158 * gdb.python/py-events.py: New file.
9159 * gdb.python/py-events.exp: New file.
9160 * gdb.python/py-events.c: New file.
9161
385203ed
DD
91622011-02-04 David Daney <ddaney@caviumnetworks.com>
9163
9164 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
9165
9011945e
AB
91662011-02-03 Andrew Burgess <aburgess@broadcom.com>
9167
9168 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
9169 gdb.base/disasm-end-cu.exp: New test for disassembling over the
9170 boundary between two compilation units.
9171
580688f3
PA
91722011-02-02 Pedro Alves <pedro@codesourcery.com>
9173
9174 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
9175 (Virtual): New structs.
9176 (virtual_o, virtual_middle_b): New globals.
9177 * gdb.cp/virtbase.exp: New tests.
9178
d3f0f853
PP
91792011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9180
9181 * gdb.base/jit.exp: New file.
9182 * gdb.base/jit-main.c: New file.
9183 * gdb.base/jit-solib.c: New file.
9184
b2030fb5
UW
91852011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
9186
9187 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
9188 proceed to initial kernel entry point.
9189 * gdb.opencl/datatypes.exp: Likewise.
9190 * gdb.opencl/operators.exp: Likewise.
9191 * gdb.opencl/vec_comps.exp: Likewise.
9192
2db19d1e
SW
91932011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
9194
9195 * gdb.cp/nsnested.cc: New.
9196 * gdb.cp/nsnested.exp: New.
9197 * gdb.cp/nsnoimports.exp: New.
9198 * gdb.cp/nsnoimports.cc: New.
9199
6b0c4c1f
JB
92002011-01-31 Joel Brobecker <brobecker@adacore.com>
9201
9202 * gdb.base/interact.exp: Add extra tests that verify that
9203 the value of the interactive-mode setting does not change
9204 after the script is sourced.
9205
80b23b6a
JK
92062011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9207
9208 * gdb.cp/noparam.exp: New file.
9209 * gdb.cp/noparam.cc: New file.
9210
ffd5ec24
PA
92112011-01-28 Pedro Alves <pedro@codesourcery.com>
9212
9213 * gdb.trace/tfile.exp: Test that with no traceframe selected,
9214 there's no stack or registers.
9215
a81766d8
TT
92162011-01-26 Tom Tromey <tromey@redhat.com>
9217
9218 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
9219 space before string output. Add test for "set print pretty off"
9220 case.
9221
585fdaa1
PA
92222011-01-25 Pedro Alves <pedro@codesourcery.com>
9223
9224 * gdb.base/frame-args.exp: Adjust.
9225 * gdb.dwarf2/dw2-noloc.exp: Adjust.
9226 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
9227 * gdb.dwarf2/pieces.exp: Adjust.
9228 * gdb.opt/clobbered-registers-O2.exp: Adjust.
9229 * gdb.opt/inline-locals.exp: Adjust.
9230 * gdb.threads/fork-child-threads.exp: Adjust.
9231
d468832a
KW
92322011-01-25 Ken Werner <ken.werner@de.ibm.com>
9233
9234 * gdb.opencl/convs_casts.cl: Move program scope variables into the
9235 OpenCL kernel function. Add a comment as marker. Add address space
9236 qualifiers for the remaining program scope variables.
9237 * gdb.opencl/datatypes.cl: Likewise.
9238 * gdb.opencl/operators.cl: Likewise.
9239 * gdb.opencl/vec_comps.cl: Likewise.
9240 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
9241 Add breakpoint at the marker comment.
9242 * gdb.opencl/datatypes.exp: Likewise.
9243 * gdb.opencl/operators.exp: Likewise.
9244 * gdb.opencl/vec_comps.exp: Likewise.
9245
490f124f
PA
92462011-01-24 Pedro Alves <pedro@codesourcery.com>
9247
9248 * gdb.base/printcmds.c (some_struct): New struct and instance.
9249 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
9250 procedure.
9251 <global scope>: Call it.
9252
6da78614
KW
92532011-01-21 Ken Werner <ken.werner@de.ibm.com>
9254
9255 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
9256 argument to the gdb_compile_opencl_hostapp call.
9257
ec64c9aa
YQ
92582011-01-19 Yao Qi <yao@codesourcery.com>
9259
9260 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
9261 positve list.
9262
810cfdbb
YQ
92632011-01-19 Yao Qi <yao@codesourcery.com>
9264
9265 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
9266 canonical form.
9267 Remove "xscale-*-*"
9268 * gdb.xml/tdesc-regs.exp: Likewise.
9269 * gdb.python/py-section-script.exp: Replace ARM target triplet
9270 with canonical form.
9271 Match arm*-*-symbianelf*.
9272 * gdb.base/dup-sect.exp: Likewise.
9273 * lib/dwarf.exp: New.
9274 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
9275 dwarf2_support.
9276 * gdb.dwarf2/dup-psym.exp: Likewise.
9277 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
9278 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9279 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
9280 * gdb.dwarf2/dw2-basic.exp: Likewise.
9281 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9282 * gdb.dwarf2/dw2-const.exp: Likewise.
9283 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
9284 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
9285 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9286 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
9287 * gdb.dwarf2/dw2-filename.exp: Likewise.
9288 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9289 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
9290 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9291 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9292 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
9293 * gdb.dwarf2/dw2-noloc.exp: Likewise.
9294 * gdb.dwarf2/dw2-op-call.exp: Likewise.
9295 * gdb.dwarf2/dw2-producer.exp: Likewise.
9296 * gdb.dwarf2/dw2-ranges.exp: Likewise.
9297 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
9298 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
9299 * gdb.dwarf2/dw2-strp.exp: Likewise.
9300 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
9301 * gdb.dwarf2/implptr.exp: Likewise.
9302 * gdb.dwarf2/mac-fileno.exp: Likewise.
9303 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
9304 * gdb.dwarf2/pieces.exp: Likewise.
9305 * gdb.dwarf2/pr11465.exp: Likewise.
9306 * gdb.dwarf2/valop.exp: Likewise.
9307 * gdb.dwarf2/watch-notconst.exp: Likewise.
9308 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
9309
4694da01
TT
93102011-01-19 Tom Tromey <tromey@redhat.com>
9311
9312 * gdb.python/py-infthread.exp: Add thread tests.
9313
b075872c
JB
93142011-01-14 Joel Brobecker <brobecker@adacore.com>
9315
9316 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
9317
2c3e6e24
JB
93182011-01-14 Joel Brobecker <brobecker@adacore.com>
9319
9320 * gdb.ada/widewide: New testcase.
9321
de8fa76c
JB
93222011-01-13 Joel Brobecker <brobecker@adacore.com>
9323
9324 * gdb.base/interact.exp: New testcase.
9325
1b05df00
TT
93262011-01-12 Tom Tromey <tromey@redhat.com>
9327
9328 * gdb.mi/gdb2549.exp: Update for error message changes.
9329 * gdb.mi/mi-cli.exp: Likewise.
9330 * gdb.mi/mi-disassemble.exp: Likewise.
9331 * gdb.mi/mi-pthreads.exp: Likewise.
9332 * gdb.mi/mi-regs.exp: Likewise.
9333 * gdb.mi/mi-stack.exp: Likewise.
9334 * gdb.mi/mi-var-block.exp: Likewise.
9335 * gdb.mi/mi-var-cmd.exp: Likewise.
9336 * gdb.mi/mi2-cli.exp: Likewise.
9337 * gdb.mi/mi2-disassemble.exp: Likewise.
9338 * gdb.mi/mi2-pthreads.exp: Likewise.
9339 * gdb.mi/mi2-regs.exp: Likewise.
9340 * gdb.mi/mi2-stack.exp: Likewise.
9341 * gdb.mi/mi2-var-block.exp: Likewise.
9342 * gdb.mi/mi2-var-cmd.exp: Likewise.
9343
c2ff108b
JK
93442011-01-12 Andrew Burgess <aburgess@broadcom.com>
9345 Jan Kratochvil <jan.kratochvil@redhat.com>
9346
9347 PR fortran/11104 and DWARF unbound arrays detection.
9348 * gdb.fortran/multi-dim.exp: New file.
9349 * gdb.fortran/multi-dim.f90: New file.
9350
b716877b
AB
93512011-01-12 Andrew Burgess <aburgess@broadcom.com>
9352
9353 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
9354 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
9355 add new tests for opcode dumping.
9356
6c162d5e
TT
93572011-01-11 Tom Tromey <tromey@redhat.com>
9358
9359 * gdb.python/py-infthread.exp: Load gdb-python.exp.
9360
77b06cd7
TJB
93612010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
9362
9363 Convert hardware watchpoints to use breakpoint_ops.
9364 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9365 type is not supported.
9366 * gdb.base/foll-fork.exp: Likewise.
9367 * gdb.base/foll-vfork.exp: Likewise.
9368
f39a75d0
PM
93692011-01-10 Phil Muldoon <pmuldoon@redhat.com>
9370
9371 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
9372 Use load_lib gdb-python.exp.
9373 * gdb.python/python.exp: Ditto.
9374 * gdb.python/py-function.exp: Ditto.
9375
fc529d80
AS
93762011-01-09 Andreas Schwab <schwab@linux-m68k.org>
9377
9378 * gdb.threads/tls.exp ("info address me"): Fix expected output.
9379
fb03cb59
JK
93802011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9381
9382 * configure: Regenerate.
9383
d8e22779
TT
93842011-01-06 Tom Tromey <tromey@redhat.com>
9385
9386 * gdb.python/py-frame.exp: Test gdb.newest_frame.
9387
09050809
JB
93882011-01-06 Joel Brobecker <brobecker@adacore.com>
9389
fc529d80
AS
9390 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
9391 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
9392 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9393 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
9394 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
9395 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9396 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
9397 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
9398 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
9399 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
9400 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
9401 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
9402 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
9403 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9404 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9405 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
9406 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
9407 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
9408 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9409 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
9410 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
9411 gdb.ada/uninitialized_vars.exp,
9412 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
9413 Simplify by using clean_restart.
09050809 9414
8ed5dd9e
JB
94152011-01-06 Joel Brobecker <brobecker@adacore.com>
9416
9417 Add marker to be used as anchor for inserting breakpoints.
9418 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
9419 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
9420 Likewise.
9421
9422 Remove uses of gdb_start_cmd.
9423 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
9424 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
9425
9426 Do not run testcase if testing with GDBserver.
9427 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
9428 if testing with GDBserver.
9429
368a124f
JB
94302011-01-06 Joel Brobecker <brobecker@adacore.com>
9431
9432 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
9433 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
9434 copyright header.
9435
44944448
JB
94362011-01-05 Joel Brobecker <brobecker@adacore.com>
9437
9438 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
9439 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
9440 testsuite/gdb.fortran/complex.f,
9441 testsuite/gdb.fortran/derived-type.f90,
9442 testsuite/gdb.fortran/library-module-lib.f90,
9443 testsuite/gdb.fortran/library-module-main.f90,
9444 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
9445 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
9446 Copyright year update.
9447
31886ea6
JB
94482011-01-05 Joel Brobecker <brobecker@adacore.com>
9449
9450 * gdb.base/langs1.f: Add copyright header.
9451
ebedcab5
JK
94522011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9453
9454 * gdb.base/morestack.exp: New file.
9455 * gdb.base/morestack.c: New file.
9456
de1eb2f9
JK
94572011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9458
9459 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
9460
9e87a409
JB
94612010-12-29 Joel Brobecker <brobecker@adacore.com>
9462
9463 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
9464 * gdb.ada/arrayptr.exp: Add test printing that new variable.
9465
720d1a40
JB
94662010-12-29 Joel Brobecker <brobecker@adacore.com>
9467
9468 * gdb.ada/lang_switch.exp: Correct expected parameter value.
9469
a283af87
AS
94702010-12-25 Andreas Schwab <schwab@linux-m68k.org>
9471
5d3d9cba
AS
9472 * gdb.threads/tls.exp: Fix typo.
9473
a283af87
AS
9474 * gdb.threads/thread-specific.exp (get_thread_list): Update.
9475 * gdb.threads/execl.exp: Update.
9476
2a20745c
YQ
94772010-12-23 Yao Qi <yao@codesourcery.com>
9478
9479 * gdb.arch/arm-disp-step.exp: New.
9480 * gdb.arch/arm-disp-step.S: New.
9481
a7658b96
TT
94822010-12-21 Tom Tromey <tromey@redhat.com>
9483
9484 * gdb.threads/execl.exp: Update.
9485 * gdb.threads/linux-dp.exp: Update.
9486 * gdb.threads/manythreads.exp: Update.
9487 * gdb.threads/tls.exp: Update.
9488
5b79abe7
TT
94892010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9490
9491 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
9492 (NextOverThrowDerivates) <resumebpt>: New.
9493 (resumebpt_test): New.
9494 (main): Call resumebpt_test.
9495 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
9496
0914bcdb
SS
94972010-12-12 Stan Shebs <stan@codesourcery.com>
9498
9499 * gdb.trace/tsv.exp: Test print command on trace state variables.
9500
305aeedc
TT
95012010-12-09 Tom Tromey <tromey@redhat.com>
9502
9503 * gdb.base/interp.exp: Add regression test.
9504
186c406b
TT
95052010-12-09 Tom Tromey <tromey@redhat.com>
9506
9507 * gdb.java/jnpe.java: New file.
9508 * gdb.java/jnpe.exp: New file.
9509 * gdb.cp/nextoverthrow.exp: New file.
9510 * gdb.cp/nextoverthrow.cc: New file.
9511
aae1c79a
DE
95122010-12-07 Doug Evans <dje@google.com>
9513
9514 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9515 of data-directory.
9516 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9517 updated.
9518 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9519
60f98dde 95202010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
9521
9522 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9523 * gdb.base/call-sc.exp: Ditto.
9524 * gdb.base/finish.exp: Ditto.
9525 * gdb.base/return.exp: Ditto.
9526 * gdb.base/return2.exp: Ditto.
9527
5fa290c1
DE
95282010-11-30 Doug Evans <dje@google.com>
9529
9530 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9531 (gdb_expect_list): Fix spelling errors in comments.
9532 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9533 send_gdb/gdb_expect_list where applicable.
9534 * gdb.base/call-ar-st.exp: Ditto.
9535 * gdb.base/funcargs.exp: Ditto.
9536 * gdb.base/gcore.exp: Ditto.
9537 * gdb.base/page.exp: Ditto.
9538 * gdb.base/sigaltstack.exp: Ditto.
9539 * gdb.base/siginfo.exp: Ditto.
9540 * gdb.base/sigstep.exp: Ditto.
9541 * gdb.base/trace-commands.exp: Ditto.
9542
4e04c971
DE
95432010-11-29 Doug Evans <dje@google.com>
9544
9545 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9546 printer-name;subprinter-name.
9547
8cf6f0b1
TT
95482010-11-29 Tom Tromey <tromey@redhat.com>
9549
9550 * gdb.dwarf2/implptr.exp: New file.
9551 * gdb.dwarf2/implptr.c: New file.
9552 * gdb.dwarf2/implptr.S: New file.
9553
94b6973e
PM
95542010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9555
fc529d80 9556 PR python/12199
94b6973e
PM
9557
9558 * gdb.python/py-breakpoint.exp: Test the delete method.
9559
8358c15c
JK
95602010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9561
9562 Fix step_resume_breakpoint unsaved during an infcall.
9563 * gdb.base/step-resume-infcall.exp: New file.
9564 * gdb.base/step-resume-infcall.c: New file.
9565
f6df29bc
TJB
95662010-11-24 Edjunior Machado <emachado@br.ibm.com>
9567
9568 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9569
f2b5a5cf
TJB
95702010-11-24 Edjunior Machado <emachado@br.ibm.com>
9571
9572 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9573 on ppc64's symbols; "finish" and "return" commands must accept to
9574 show the caller line again as well as the line after.
9575 * gdb.asm/powerpc64.inc: New file.
9576
6b0ecdc2
DE
95772010-11-23 Doug Evans <dje@google.com>
9578
9579 * lib/gdb.exp (gdb_test_sequence): New function.
9580 (gdb_expect_list): Add verbose -log call for each pattern.
9581 * gdb.base/signals.exp (test_handle_all_print): Call it.
9582 Reduce timeout increment from 6 minutes to 1 minute.
9583 * gdb.server/ext-run.exp: Call it.
9584
ea976c60
PM
95852010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9586
f2b5a5cf 9587 PR python/12212
ea976c60
PM
9588
9589 * gdb.python/python.exp: Check that selected_thread raises an
9590 error when no inferior is loaded.
9591
c0efa795
JK
95922010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9593
9594 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9595 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9596
ec3aa567
JK
95972010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9598
9599 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9600 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9601
d8249011
DE
96022010-11-18 Doug Evans <dje@google.com>
9603
9604 * gdb.server/ext-run.exp: Fix intermittent failures.
9605
d4eba7d1
NF
96062010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9607
9608 * gdb.stabs/gdb11479.exp: Use runto_main.
9609
b04c2f88
NF
96102010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9611
9612 * gdb.base/break-entry.exp: Skip if using a stub.
9613
ae9d7ce4
NF
96142010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9615
9616 * gdb.python/py-inferior.exp: Pack values in target endianness.
9617
621c8364
TT
96182010-11-12 Tom Tromey <tromey@redhat.com>
9619
9620 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9621 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9622 MemoryError.
9623 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9624 type.
9625 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9626 MemoryError.
9627 (test_subscript_regression): Update exception type.
9628
84f4c1fe
PM
96292010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9630
9631 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9632 breakpoint tests.
9633
a1442452
PA
96342010-11-09 Pedro Alves <pedro@codesourcery.com>
9635
9636 * gdb.base/watchpoint.exp: Test "watch -location" with an
9637 innacessible location.
9638
efd11a33
JK
96392010-11-09 Edjunior Machado <emachado@br.ibm.com>
9640 Luis Machado <luisgpm@br.ibm.com>
9641
9642 * gdb.base/maint.exp: Expect "." prefix.
9643 * gdb.base/nodebug.exp: Expect "." Likewise.
9644 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9645 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9646 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9647 POWER server processors.
9648
aa00efb5
JK
96492010-11-08 Edjunior Machado <emachado@br.ibm.com>
9650 Luis Machado <luisgpm@br.ibm.com>
9651
9652 * gdb.base/break-entry.exp: convert entry point for
9653 ppc64 and expect leading `.' on ppc64's symbols
9654
99e7ae30
DE
96552010-11-05 Doug Evans <dje@google.com>
9656
9657 * gdb.base/help.exp: Update expected output.
b521dba8
DE
9658 * gdb.python/py-param.exp: Delete, contents moved to ...
9659 * gdb.python/py-parameter.exp: ... here. New file.
9660 Add test for gdb.parameter ("directories").
99e7ae30 9661
f4b8a18d
KW
96622010-11-05 Ken Werner <ken.werner@de.ibm.com>
9663
9664 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9665 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9666 * configure: Regenerate.
9667 * gdb.opencl/Makefile.in: New File.
9668 * gdb.opencl/datatypes.exp: Likewise.
9669 * gdb.opencl/datatypes.cl: Likewise.
9670 * gdb.opencl/operators.exp: Likewise.
9671 * gdb.opencl/operators.cl: Likewise.
9672 * gdb.opencl/vec_comps.exp: Likewise.
9673 * gdb.opencl/vec_comps.cl: Likewise.
9674 * gdb.opencl/convs_casts.exp: Likewise.
9675 * gdb.opencl/convs_casts.cl: Likewise.
9676 * lib/opencl.exp: Likewise.
9677 * lib/opencl_hostapp.c: Likewise.
9678 * lib/opencl_kernel.cl: Likewise.
9679 * lib/cl_util.c: Likewise.
9680 * lib/cl_util.c: Likewise.
9681 * gdb.base/default.exp (set language): Add "opencl" to the list of
9682 languages.
9683
a9d5ef47
SW
96842010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9685
9686 * gdb.cp/overload.exp: Added test for inheritance overload.
9687 * gdb.cp/overload.cc: Ditto.
9688 * gdb.cp/oranking.exp: Removed releveant kfails.
9689
03eb1c79
JK
96902010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9691 Joel Brobecker <brobecker@adacore.com>
9692
9693 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9694 check test_compiler_info.
9695
dbc98a8b
KW
96962010-11-03 Ken Werner <ken.werner@de.ibm.com>
9697
9698 * gdb.base/gnu_vector.exp: Adjust expect messages.
9699
120bd360
KW
97002010-11-03 Ken Werner <ken.werner@de.ibm.com>
9701
9702 * gdb.base/gnu_vector.exp: Add unary operator tests.
9703
c37f7098
KW
97042010-11-03 Ken Werner <ken.werner@de.ibm.com>
9705
9706 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9707
7b51bc51
DE
97082010-11-02 Doug Evans <dje@google.com>
9709
9710 * gdb.python/py-pp-maint.c: New file.
9711 * gdb.python/py-pp-maint.exp: New file.
9712 * gdb.python/py-pp-maint.py: New file.
9713
50c97f38
TT
97142010-11-02 Tom Tromey <tromey@redhat.com>
9715
9716 * gdb.base/default.exp: Remove "scheme" from language list.
9717
a289b8f6
JK
97182010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9719
9720 Revert:
9721 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9722 * gdb.threads/sigstep-threads.exp: New file.
9723 * gdb.threads/sigstep-threads.c: New file.
9724
cd017491
MS
97252010-10-20 Michael Snyder <msnyder@vmware.com>
9726
9727 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9728
8e6a5956
UW
97292010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9730
9731 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9732 Skip test completely if gdb,no_hardware_watchpoints.
9733
2c04da0d
UW
97342010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9735
9736 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9737 strict, but do not check for any particular function name within libc.
9738
79afc5ef
SW
97392010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9740
9741 * gdb.cp/smartp.exp: New test.
9742 * gdb.cp/smartp.cc : New test.
9743
026ffab7
SW
97442010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9745
9746 * gdb.cp/converts.exp: Test pointer to bool conversion.
9747 Test pointer to long conversion.
9748 * gdb.cp/oranking.exp: Removed relevant kfail.
9749
3a772aa4
TT
97502010-10-18 Tom Tromey <tromey@redhat.com>
9751
9752 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9753 argument to lazy_string.
9754 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9755 (pp_ls.to_string): Use it.
9756 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9757 Add "estring2" local.
9758
5fc3827b
JK
97592010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9760
9761 Fix s390x compatibility.
9762 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9763 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9764
8aeb23f3
JK
97652010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9766
9767 * gdb.threads/sigstep-threads.exp: New file.
9768 * gdb.threads/sigstep-threads.c: New file.
9769
c1e56572
JK
97702010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9771
9772 * gdb.base/pie-execl.exp: New file.
9773 * gdb.base/pie-execl.c: New file.
9774
92163a10
JK
97752010-10-13 Doug Evans <dje@google.com>
9776 Jan Kratochvil <jan.kratochvil@redhat.com>
9777
9778 PR exp/12117
9779 * gdb.cp/ptype-cv-cp.cc: New file.
9780 * gdb.cp/ptype-cv-cp.exp: New file.
9781
7062b0a0
SW
97822010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9783
9784 * gdb.cp/converts.cc: New test program.
9785 * gdb.cp/converts.exp: New test.
9786 * gdb.cp/overload.exp: Added test for void* vs int*.
9787 * gdb.cp/overload.exp: Ditto.
9788 * gdb.cp/oranking.exp: Removed related kfail.
9789
0e3509db
DE
97902010-10-13 Doug Evans <dje@google.com>
9791
9792 * lib/gdb-python.exp (gdb_check_python_config): New function.
9793 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9794 * gdb.python/lib-types.cc: New file.
9795 * gdb.python/lib-types.exp: New file.
9796
8dc78533
JK
97972010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9798
9799 * gdb.python/py-error.exp: New file.
9800 * gdb.python/py-error.py: New file.
9801
93c17e06
JK
98022010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9803
9804 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9805 gdb_test_multiple.
9806
d8b34041
JK
98072010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9808
9809 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9810 * gdb.base/prelink.exp: Likewise.
9811 * gdb.base/solib-nodir.exp: Likewise.
9812 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9813 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9814 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9815
e0cc584e
UW
98162010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9817
9818 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9819 for the "info files" test to avoid timeouts on slow machines.
9820
cfc353b1
JK
98212010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9822
9823 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9824 (main): Make openlib dummy call.
9825
d3d7896d
JK
98262010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9827
9828 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9829 * break-interp.exp (reach): Move the core body ...
9830 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9831 (test_ld): Provide always real argument, even to the linker. Replace
9832 dl_main by _dl_debug_state.
9833
5e533c94
JK
98342010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9835
9836 Fix results of prelinked PIEs on ppc*.
9837 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9838 Accept also DISPLACEMENT "PRESENT".
9839 (main): Replace "ZERO" displacements by "PRESENT".
9840
33540610
SW
98412010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9842
9843 * gdb.cp/oranking.exp: New test.
9844 * gdb.cp/oranking.cc: New test program.
9845
3bdf2bbd
KW
98462010-10-08 Ken Werner <ken.werner@de.ibm.com>
9847
9848 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9849 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9850
2f608a3a
KW
98512010-10-06 Ken Werner <ken.werner@de.ibm.com>
9852
9853 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9854 lush, lynx) New constant.
9855 * gdb.base/constvars.exp: Test const array types.
9856 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9857
aa2e2d8d
DE
98582010-10-06 Doug Evans <dje@google.com>
9859
9860 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9861 of syscall staging area.
9862
2844d6b5
KW
98632010-10-06 Ken Werner <ken.werner@de.ibm.com>
9864
9865 * gdb.base/gnu_vector.c: Add variable c4.
9866 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9867 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9868
7d8ac8bb
MR
98692010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9870
9871 * gdb.arch/altivec-abi.exp: Fix a typo.
9872
84a02e58
MR
98732010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9874
9875 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9876 to match a thread ID.
9877
b18e6318
JK
98782010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9879
9880 Fix s390x testcase compatibility.
9881 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9882
a2c09bd0
DE
98832010-10-01 Doug Evans <dje@google.com>
9884
9885 * lib/gdb-python.exp: New file.
9886 * gdb.python/py-block.exp: Use it.
9887 * gdb.python/py-breakpoint.exp: Ditto.
9888 * gdb.python/py-frame.exp: Ditto.
9889 * gdb.python/py-inferior.exp: Ditto.
9890 * gdb.python/py-param.exp: Ditto.
9891 * gdb.python/py-prettyprint.exp: Ditto.
9892 * gdb.python/py-shared.exp: Ditto.
9893 * gdb.python/py-symbol.exp: Ditto.
9894 * gdb.python/py-symtab.exp: Ditto.
9895 * gdb.python/py-type.exp: Ditto.
9896 * gdb.python/py-value.exp: Ditto.
9897 * gdb.python/python.exp: Ditto.
9898
38f12cfc
TT
98992010-09-30 Tom Tromey <tromey@redhat.com>
9900
9901 * gdb.base/anon.exp: New file.
9902 * gdb.base/anon.c: New file.
9903
9ae8282d
TT
99042010-09-30 Tom Tromey <tromey@redhat.com>
9905
9906 * gdb.base/completion.exp: Test completion through anonymous
9907 union.
9908 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9909
e9e07ba6
JK
99102010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9911
9912 Fix printing parameters of inlined functions.
9913 * gdb.dwarf2/dw2-inline-param.exp: New file.
9914 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9915 * gdb.dwarf2/dw2-inline-param.S: New file.
9916
cd2effb2
JK
99172010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9918
9919 PR corefiles/12071.
9920 * gdb.base/corefile.exp (quit with a process, no question: load core)
9921 (quit with a core file): New tests.
9922
bceffbf3
JK
99232010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9924
9925 Fix GDB crash on inferior calls with self-referencing classes.
9926 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9927 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9928 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9929
1736ad11
JK
99302010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9931
9932 Fix lost siginfo_t for inferior calls.
9933 * gdb.base/siginfo-infcall.exp: New file.
9934 * gdb.base/siginfo-infcall.c: New file.
9935
a176ad92
JB
99362010-09-22 Joel Brobecker <brobecker@adacore.com>
9937
9938 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9939
c2b0a229
JK
99402010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9941
9942 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9943 New test.
9944 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9945
e8ae22d1
JB
99462010-09-22 Joel Brobecker <brobecker@adacore.com>
9947
9948 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9949 type of our const type.
9950
ec322823
SW
99512010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9952
9953 * gdb.cp/pr12028.cc: New.
9954 * gdb.cp/pr12028.exp: New.
9955
72929c62
JB
99562010-09-22 Joel Brobecker <brobecker@adacore.com>
9957
9958 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9959
875b4ff5 99602010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 9961 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
9962
9963 PR mi/11407
9964 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9965 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9966 * gdb.mi/dw2-ref-missing-frame.S New File.
9967 * gdb.mi/dw2-ref-missing-frame.exp New File.
9968
7155d578
TT
99692010-09-14 Tom Tromey <tromey@redhat.com>
9970
9971 PR symtab/8399:
9972 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9973
515ed532
TT
99742010-09-14 Tom Tromey <tromey@redhat.com>
9975
9976 PR exp/11803:
9977 * gdb.threads/tls.exp: Use C++.
9978 (check_thread_local): Use K::another_thread_local.
9979 * gdb.threads/tls.c (class K): New.
9980 (another_thread_local): Now a member of K.
9981 (spin): Update. No longer K&R C.
9982
450ca57c
SW
99832010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9984
9985 * gdb.cp/koenig.cc: created class for testing member lookup.
9986 * gdb.cp/koenig.exp: Added test for member lookup.
9987
dbd492a3
JK
99882010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9989
9990 Fix false FAILs on sourcetree topdir directory containing "kill".
9991 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9992 source line matching regexp.
9993
8d4d924b
JK
99942010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9995
9996 * gdb.python/python.exp (set height 0, collect help from uiout)
9997 (verify help to uiout): New tests.
9998
8e64f2a0
JK
99992010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10000
10001 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
10002 is_lp64_target to check 64bit target.
10003
4569eed2
JK
100042010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10005
10006 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
10007 (test_ld) <powerpc64-*>: New.
10008
5e1617b1
DJ
100092010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10010
10011 * gdb.cp/templates.exp (test_template_args): Allow "struct".
10012
c767944b
DJ
100132010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
10014
10015 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
10016 (FunctionArg::method): New function.
10017 (empty, arg): New variables.
10018 (main): Call arg.method.
10019 * gdb.cp/templates.exp (test_template_args): New function.
10020 (do_tests): Call it.
10021
27d3a3fc
UW
100222010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10023
10024 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
10025 of "next" to proceed over pthread_exit call.
10026
55b7ce7f
UW
100272010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
10028
10029 * gdb.base/maint.exp: Avoid wildcards against potentially very long
10030 "maint print statistics" output to prevent expect timeouts.
10031
809df446
JK
100322010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10033
10034 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
10035 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10036 (test_float_rejected): ... here.
10037 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
10038 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10039 (test_float_rejected): ... here.
10040 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
10041 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10042 (test_float_rejected): ... here.
10043 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
10044 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
10045 (test_float_rejected): ... here.
10046
8464be76
DJ
100472010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10048
10049 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
10050 before disabling hardware watchpoints.
10051 (test_inaccessible_watchpoint): Check that hardware watchpoints
10052 are used. Test for watchpoints on a constant address.
10053
14dba4b4
JK
100542010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10055
10056 * gdb.base/ui-redirect.exp: New file.
10057
3f3540e1 100582010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 10059 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
10060
10061 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
10062
0f254bb7
DE
100632010-08-31 Doug Evans <dje@google.com>
10064
10065 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
10066
03f17ccf
TT
100672010-08-30 Tom Tromey <tromey@redhat.com>
10068
10069 PR python/11792:
10070 * gdb.python/py-value.exp (test_subscript_regression): Add
10071 dynamic_type test.
10072
640617ad
DJ
100732010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
10074
10075 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
10076 instead of running to main. Do not test the main function.
10077 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
10078 Add new main.
10079
2ed91d1b
PA
100802010-08-26 Pedro Alves <pedro@codesourcery.com>
10081
10082 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
10083 one test.
10084
673bfd45
DE
100852010-08-24 Doug Evans <dje@google.com>
10086
10087 PR symtab/11942
10088 * gdb.dwarf2/dw4-sig-types.cc: New file.
10089 * gdb.dwarf2/dw4-sig-types.h: New file.
10090 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
10091 * gdb.dwarf2/dw4-sig-types.exp: New file.
10092
f9ffd4bb
TT
100932010-08-23 Tom Tromey <tromey@redhat.com>
10094
10095 PR python/11145:
10096 * gdb.python/py-value.c (Base, Derived): New types.
10097 (base): New global.
10098 * gdb.python/py-value.exp (test_subscript_regression): Add
10099 dynamic_cast test.
10100
d839c8a4
TT
101012010-08-23 Tom Tromey <tromey@redhat.com>
10102
10103 PR python/10676:
10104 * gdb.python/py-type.exp (test_fields): Add tests for type
10105 equality.
10106
702c2711
TT
101072010-08-23 Tom Tromey <tromey@redhat.com>
10108
10109 PR python/11915:
10110 * gdb.python/py-type.exp (test_fields): Add tests for array.
10111
832bafd3
KS
101122010-08-23 Keith Seitz <keiths@redhat.com>
10113
10114 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
10115 have any children. Create a new abbrev for it.
10116 Add missing terminal sequence to .debug_abbrev.
10117
c37bf528
KS
101182010-08-20 Keith Seitz <keiths@redhat.com>
10119
10120 PR symtab/11465:
10121 * gdb.dwarf2/pr11465.exp: New test.
10122 * gdb.dwarf2/pr11465.S: New file.
10123 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
10124 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
10125
4572cbac
TJB
101262010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
10127
10128 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
10129 registers. Update data sets with the new v2_double element in the
10130 VSX register union. Add vector_register3_vr data set for the AltiVec
10131 registers. Use gdb_test_no_output instead of send_gdb.
10132
e7fbb131
PA
101332010-08-19 Pedro Alves <pedro@codesourcery.com>
10134
10135 * gdb.python/py-shared.exp: New file, factored out from
10136 python.exp.
10137 * gdb.python/py-shared.c: New file.
10138 * gdb.python/py-shared-sl.c: New file.
10139 * gdb.python/python-1.c: New file.
10140 * gdb.python/python-sl.c: Delete.
10141 * gdb.python/python.c: Mention python-1.c.
10142 * gdb.python/python.exp: Move shared library tests to
10143 py-shared.exp.
10144 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
10145 (MISCELLANEOUS): New.
10146 (clean mostlyclean): Also remove $MISCELLANEOUS.
10147
d30f5e1f
DE
101482010-08-19 Doug Evans <dje@google.com>
10149
10150 PR exp/11926
10151 * gdb.base/printcmds.exp (test_float_accepted): New function.
10152 Move existing float tests there. Add tests for floats with suffixes.
10153 (test_float_rejected): New function.
10154 * gdb.java/jv-print.exp (test_float_accepted): New function.
10155 (test_float_rejected): New function.
10156 * gdb.objc/print.exp: New file.
10157 * gdb.pascal/print.exp: New file.
10158 * lib/objc.exp: New file.
10159
7b3fd859
PM
101602010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
10161
10162 * gdb.base/default.exp (info set): Avoid full buffer error and force
10163 reading up to final gdb prompt.
10164 (show): Likewise.
10165
c92817ce
TT
101662010-08-18 Tom Tromey <tromey@redhat.com>
10167
10168 PR symtab/11919:
10169 * gdb.base/completion.exp: Add test.
10170
f1208f9e
DE
101712010-08-18 Doug Evans <dje@google.com>
10172
10173 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
10174 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
10175 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
10176 Simplify, early exit if runto_main fails.
10177 * gdb.fortran/exprs.exp: load_lib fortran.exp.
10178 (set_lang_fortran): Moved to lib/fortran.exp.
10179 * gdb.fortran/types.exp: load_lib fortran.exp.
10180 (set_lang_fortran): Moved to lib/fortran.exp.
10181 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
10182 * gdb.java/jprint.exp (set_lang_java): Ditto.
10183 * gdb.java/jv-exp.exp: load_lib java.exp.
10184 If set_lang_java fails, issue a warning instead of failure to be
10185 consistent with other set_lang_foo uses.
10186 (set_lang_java): Moved to lib/java.exp.
10187 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
10188 If set_lang_java fails, issue a warning instead of failure to be
10189 consistent with other set_lang_foo uses.
10190 * gdb.pascal/types.exp: load_lib pascal.exp.
10191 (set_lang_pascal): Moved to lib/pascal.exp.
10192 * lib/fortran.exp: New file.
10193 * lib/java.exp (set_lang_java): New function.
10194 * lib/pascal.exp (set_lang_pascal): New function.
10195
2f06b485
YQ
101962010-08-18 Yao Qi <yao@codesourcery.com
10197
10198 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
10199 func_nofb_start and func_loopfb_start, so that address of functions
10200 is equal to these labels on Thumb.
10201
96e25403
YQ
102022010-08-18 Yao Qi <yao@codesourcery.com>
10203
10204 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
10205 to reflect latest c source file.
10206
36e6adc4
JK
102072010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10208
10209 * gdb.cp/infcall-dlopen.exp: New file.
10210 * gdb.cp/infcall-dlopen.cc: New file.
10211 * gdb.cp/infcall-dlopen-lib.cc: New file.
10212
f431efe5
PA
102132010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
10214 Pedro Alves <pedro@codesourcery.com>
10215
10216 PR breakpoints/11371
10217
10218 * gdb.base/watch-cond-infcall.exp: New file.
10219 * gdb.base/watch-cond-infcall.c: New file.
10220
06a64a0b
TT
102212010-08-16 Tom Tromey <tromey@redhat.com>
10222
10223 * gdb.base/help.exp: Update.
10224 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
10225 watchpoint.
10226 (test_watch_location): New proc.
10227 (test_watchpoint_in_big_blob): Delete watchpoint.
10228 * gdb.base/watchpoint.c (func5): New function.
10229 (main): Call it.
10230
70ebf4ed
DE
102312010-08-16 Doug Evans <dje@google.com>
10232
10233 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
10234
ca5c20b6
PM
102352010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10236
10237 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
10238 tests.
10239
7346b668
KW
102402010-08-11 Ken Werner <ken.werner@de.ibm.com>
10241
10242 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
10243 * gdb.base/gnu_vector.c: New File.
10244 * gdb.base/gnu_vector.exp: Likewise.
10245
cb2e07a6
PM
102462010-08-11 Phil Muldoon <pmuldoon@redhat.com>
10247
10248 * gdb.python/python.c: New File.
10249 * gdb.python/python-sl.c: New File.
10250 * gdb.python/python.exp: Test solib_address and decode_line
10251 * functions.
10252
5da1313b
JK
102532010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10254
10255 * gdb.python/python.exp (show height, set height 10)
10256 (verify pagination beforehand, verify pagination beforehand: q)
10257 (gdb.execute does not page, verify pagination afterwards)
10258 (verify pagination afterwards: q): New.
10259
49c3ccf7
DE
102602010-08-02 Doug Evans <dje@google.com>
10261
10262 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
10263 because of an older gcc, change test2
10264 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
10265 to unsupported.
10266
42c0c4f1
KH
102672010-07-30 Kazu Hirata <kazu@codesourcery.com>
10268
10269 * gdb.base/break-always.exp: Do not expect full paths to file
10270 names.
10271 * gdb.base/commands.exp: Likewise.
10272
d3765805
DE
102732010-07-30 Doug Evans <dje@google.com>
10274
c98ee71b
DE
10275 * gdb.cp/temargs.exp: For new tests that require newer gccs,
10276 xfail them when run with older gccs.
10277
fd961404
DE
10278 * lib/gdb.exp (build_executable): Forward "c++" option to
10279 get_compiler_info.
10280
999adef4
DE
10281 * gdb.python/py-type.exp (test_template): Mark as xfail tests
10282 "python print ttype.template_argument(1)" and
10283 "python print isinstance(ttype.template_argument(1), gdb.Value)"
10284 if using gcc 4.4 or earlier.
10285
d3765805
DE
10286 * gdb.base/valgrind-db-attach.exp: Use unique test name for
10287 attach-to-debugger handling.
10288
1276c759
JK
102892010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10290
10291 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
10292 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
10293 (main): Use copyreloc.
10294 * gdb.base/prelink.exp (split debug of executable)
10295 (.dynbss vs. .bss address shift): New tests.
10296
88caa9b9
PA
102972010-07-29 Pedro Alves <pedro@codesourcery.com>
10298
10299 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
10300 in gdb_test_multiple.
10301
c6f2ac43
PA
103022010-07-29 Pedro Alves <pedro@codesourcery.com>
10303
10304 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
10305 environment.
10306
326fd672
TT
103072010-07-28 Tom Tromey <tromey@redhat.com>
10308
10309 PR python/11060:
10310 * gdb.python/py-type.c (Temargs): New template.
10311 (temvar): New variable.
10312 * gdb.python/py-type.exp (test_template): New proc.
10313
3ce3b1ba
PA
103142010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10315
10316 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
10317 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
10318
34eaf542
TT
103192010-07-28 Tom Tromey <tromey@redhat.com>
10320
10321 PR c++/9946:
10322 * gdb.cp/temargs.exp: New file.
10323 * gdb.cp/temargs.cc: New file.
10324
d41b819e
JK
103252010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10326
10327 * gdb.base/help.exp (help disassemble): Update the content.
10328
26ab7092
JK
103292010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10330
10331 * gdb.threads/ia64-sigill.exp: New file.
10332 * gdb.threads/ia64-sigill.c: New file.
10333
5283e9e1
TT
103342010-07-27 Tom Tromey <tromey@redhat.com>
10335
10336 * gdb.opt/inline-cmds.c (ATTR): New define.
10337 (func1): Use it.
10338 (func2): Likewise.
10339 (func3): Likewise.
10340 (outer_inline1): Likewise.
10341 (outer_inline2): Likewise.
10342 * gdb.opt/inline-bt.c (ATTR): New define.
10343 (func1): Use it.
10344 (func2): Likewise.
10345 * gdb.opt/inline-locals.c (ATTR): New define.
10346 (func1): Use it.
10347 (func2): Likewise.
10348
e992ef73
TT
103492010-07-27 Tom Tromey <tromey@redhat.com>
10350
10351 * gdb.stabs/gdb11479.c (hack): New function.
10352 (test): Use it.
10353 (test2): Use it.
10354 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
10355 (int32_search_buf, int64_search_buf): No longer static.
10356 (x): Remove.
10357 * gdb.base/relocate.c (hack): New function.
10358
5374244e
PM
103592010-07-27 Phil Muldoon <pmuldoon@redhat.com>
10360
10361 * gdb.python/py-value.exp (test_inferior_function_call): New function.
10362 * gdb.python/py-value.c (func1): New function.
10363 (func2): Likewise.
10364
a99aee83
CV
103652010-07-26 Corinna Vinschen <vinschen@redhat.com>
10366
10367 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
10368 as not to clash with .data section.
10369
a04ba985
JG
103702010-07-26 Jerome Guitton <guitton@adacore.com>
10371
10372 * gdb.base/code_elim.exp: New file.
10373 * gdb.base/code_elim1.c: New file.
10374 * gdb.base/code_elim2.c: New file.
10375
23bd0f7c
PA
103762010-07-21 Pedro Alves <pedro@codesourcery.com>
10377
10378 PR symtab/11827
10379
10380 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
10381 (some_volatile_enum): New variable.
10382 * gdb.base/printcmds.exp (test_print_enums): New.
10383 <top level>: Call it.
10384
883df6dd
SW
103852010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
10386
10387 * gdb.cp/fpointer.cc: New test.
10388 * gdb.cp/fpointer.exp: New test.
10389
569b05a5
JK
103902010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10391
10392 * gdb.base/solib-nodir.exp: New file.
10393 * lib/gdb.exp (runto): New case for a GDB internal error.
10394
51d7d803
JK
103952010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10396 Ulrich Weigand <uweigand@de.ibm.com>
10397 Tom Tromey <tromey@redhat.com>
10398
10399 * gdb.base/charset-malloc.c: New file.
10400 * gdb.base/charset.c (malloc_stub): New prototype.
10401 (main): Call it instead of malloc itself.
10402 * gdb.base/charset.exp: Use only prepare_for_testing.
10403 (binfile): Remove the variable.
10404
c0edd9ed
JK
104052010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10406
10407 Make core files the process_stratum.
10408 * gdb.base/corefile.exp (run: load core again)
10409 (run: sanity check we see the core file, run: with core)
10410 (run: core file is cleared, attach: load core again)
10411 (attach: sanity check we see the core file, attach: with core)
10412 (attach: core file is cleared): New tests.
10413 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
10414
3cbaedff
KW
104152010-07-14 Ken Werner <ken.werner@de.ibm.com>
10416
10417 * gdb.arch/altivec-abi.exp: New tests.
10418
91158a56
TT
104192010-07-13 Tom Tromey <tromey@redhat.com>
10420
10421 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
10422 (main): Use it.
10423 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
10424
0f5238ed
TT
104252010-07-13 Tom Tromey <tromey@redhat.com>
10426
10427 * gdb.base/label.exp: New file.
10428 * gdb.base/label.c: New file.
10429
add265ae
L
104302010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
10431 H.J. Lu <hongjiu.lu@intel.com>
10432
10433 * lib/gdb.exp (is_ilp32_target): New.
10434 (is_lp64_target): Likewise.
10435
10436 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
10437 target.
10438 * gdb.arch/amd64-disp-step.exp: Likewise.
10439 * gdb.arch/amd64-dword.exp: Likewise.
10440 * gdb.arch/amd64-i386-address.exp: Likewise.
10441 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 10442
add265ae
L
10443 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
10444 target.
10445 * gdb.arch/i386-bp_permanent.exp: Likewise.
10446 * gdb.arch/i386-byte.exp: Likewise.
10447 * gdb.arch/i386-disp-step.exp: Likewise.
10448 * gdb.arch/i386-gnu-cfi.exp: Likewise.
10449 * gdb.arch/i386-prologue.exp: Likewise.
10450 * gdb.arch/i386-size-overlap.exp: Likewise.
10451 * gdb.arch/i386-size.exp: Likewise.
10452 * gdb.arch/i386-sse.exp: Likewise.
10453 * gdb.arch/i386-unwind.exp: Likewise.
10454 * gdb.arch/i386-word.exp: Likewise.
10455
10456 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
10457 test only when building 64-bit executables. Do not hard-code
10458 -m64 option.
10459
2dfb8c17
DE
104602010-07-07 Doug Evans <dje@google.com>
10461
10462 * lib/gdb.exp (gdb_test_list_exact): New function.
10463 * gdb.base/default.exp (show convenience): Call it, add tests for
10464 $_sdata = void, $_thread = 0.
10465
4e5799b6
JK
104662010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10467 Joel Brobecker <brobecker@adacore.com>
10468
10469 Fix re-run of PIE executable, PR shlibs/11776.
10470 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
10471 Remove $displacement_main to match the solib-svr4.c change. New "kill"
10472 and re-"run" of the inferior.
10473
1a219cc7
JK
104742010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10475 Joel Brobecker <brobecker@adacore.com>
10476
10477 Cope with missing /usr/sbin/prelink.
10478 * lib/prelink-support.exp (prelink_no):
10479 <result == 1 && $output is "no such file or directory">: New.
10480 (prelink_yes): Likewise. Return on failed prelink_no.
10481
5e3b36f8
JK
104822010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10483 Joel Brobecker <brobecker@adacore.com>
10484
10485 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
10486 build_executable by build_executable_own_libs. Replace "prelink -R"
10487 execution by a call of prelink_yes. Comment why "prelink -r" needs no
10488 change.
10489 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
10490 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
10491 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
10492 Replace build_executable by build_executable_own_libs's function
10493 build_executable_own_libs.
10494 (prelinkNO): Create new stub to call prelink_no.
10495 (prelinkYES): Create new stub to call prelink_yes.
10496 (test_attach): Rename calls of copy to file_copy.
10497 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
10498 (copy): Move to ...
10499 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
10500 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
10501 * gdb.base/prelink.exp: Disable testcase also for is_remote and
10502 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
10503 special flags by gdb_compile_shlib. Replace second gdb_compile by
10504 build_executable_own_libs. Replace "prelink -R" execution by a call of
10505 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10506 a second call of prelink_yes. Replace restart commands by
10507 clean_restart.
10508 (prelink): Rename to ...
10509 (seen displacement message): ... this test. Extend its expectation
10510 strictness.
10511
86e4bafc
JK
105122010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10513
10514 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10515 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10516 displacement message exactly once.
10517
3cd07d20
JK
105182010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10519 Joel Brobecker <brobecker@adacore.com>
10520
10521 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10522 its restore after the <$relink_args != ""> loop. new comment.
10523
0a1e94c7
JK
105242010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10525 Joel Brobecker <brobecker@adacore.com>
10526
10527 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10528 code for it. New variable relink_args.
10529 (prelinkYES): Call prelinkNO.
10530 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10531 in such case. Move the core code to ...
10532 (test_attach_gdb): ... a new function. Send GDB command "file".
10533 Extend expected "Attaching to " string.
10534
2f70bcfb
TT
105352010-07-02 Tom Tromey <tromey@redhat.com>
10536
10537 * gdb.base/bitops.exp: Remove extraneous "pass".
10538
a17ac5b0
TT
105392010-07-02 Ken Werner <ken.werner@de.ibm.com>
10540
10541 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10542
dc10affe
PA
105432010-07-01 Pedro Alves <pedro@codesourcery.com>
10544
d41c0fc8
PA
10545 * gdb.base/help.exp: Adjust expected output.
10546
105472010-07-01 Pedro Alves <pedro@codesourcery.com>
10548
10549 * gdb.base/help.exp: Adjust expected output.
dc10affe 10550
0a600c36
JK
105512010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10552
10553 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10554 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10555 c++/11702.
10556
37cc8bfe
JK
105572010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10558 Doug Evans <dje@google.com>
10559
10560 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10561 add .dynamic entry'.
10562
254e6b9e
DE
105632010-06-29 Doug Evans <dje@google.com>
10564
10565 Test PR c++/11702.
10566 * gdb.cp/m-static.exp: Add testcase.
10567 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10568
595939de 105692010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
10570 Tom Tromey <tromey@redhat.com>
10571 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
10572
10573 * gdb.python/py-inferior.c: New File.
10574 * gdb.python/py-infthread.c: New File.
10575 * gdb.python/py-inferior.exp: New File.
10576 * gdb.python/py-infthread.exp: New File.
10577
98751a41
JK
105782010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10579
10580 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10581 (ptype ::C::OtherFileClass typedefs): New.
10582 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10583 (C::OtherFileClass::cOtherFileClassVar2): New.
10584 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10585 cOtherFileClassVar2.
10586 (C::cOtherFileType2, C::cOtherFileVar2): New.
10587 (C::cOtherFileVar_use): use also cOtherFileVar2.
10588 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10589
41f62f39
JK
105902010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10591
10592 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10593 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10594 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10595 (print ::C::cOtherFileVar)
10596 (whatis C::OtherFileClass::cOtherFileClassType)
10597 (whatis ::C::OtherFileClass::cOtherFileClassType)
10598 (print C::OtherFileClass::cOtherFileClassVar)
10599 (print ::cOtherFileClassVar)
10600 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10601 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10602 trailing content.
10603 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10604 (C::OtherFileClass::cOtherFileClassVar)
10605 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10606 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10607
af53d231
JK
106082010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10609
10610 Test PR c++/11703 and PR gdb/1448.
10611 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10612 gdb/1448.
10613
9655fd1a
JK
106142010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10615
10616 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10617 (main) <rtti_data>: New.
10618 * gdb.cp/virtbase.exp (print rtti_data): New.
10619
824cc8dd
JK
106202010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10621 Joel Brobecker <brobecker@adacore.com>
10622
10623 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10624
6036c742
JK
106252010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10626
10627 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10628
de6a0421
DE
106292010-06-28 Doug Evans <dje@google.com>
10630
10631 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10632
b2dae948
DE
106332010-06-27 Doug Evans <dje@google.com>
10634
10635 * gdb.cp/m-static.exp: Update expected test output.
10636
0f3bb72e
PH
106372010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10638
889bf7c5
PA
10639 * gdb.gdb/selftest.exp: Adjust expected message for
10640 capturing start-up runtime.
0f3bb72e 10641
bc9f0842
TT
106422010-06-25 Tom Tromey <tromey@redhat.com>
10643
10644 PR python/10808:
10645 * gdb.python/python.exp: Add new tests.
10646
099ef718
SW
106472010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10648
10649 * gdb.cp/operator.cc: Created an import loop.
10650 * gdb.cp/operator.exp: Added testcase for import loop.
10651
5868a632
JK
106522010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10653
10654 Test PR python/11407.
10655 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10656 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10657 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10658 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10659 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10660 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10661 binfile. Call gdb_compile with clean_restart twice.
10662 (func_nofb print, func_nofb backtrace, func_loopfb print)
10663 (func_loopfb backtrace): New.
10664
af76db58
JK
106652010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10666
10667 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10668 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10669 by a hand made one.
10670 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10671 i?86 requirement. Remove variables srcfile and binfile. New variable
10672 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10673
f2c7657e
UW
106742010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10675
10676 * gdb.cell/dwarfaddr.exp: New file.
10677 * gdb.cell/dwarfaddr.S: New file.
10678
628fe4e4
JK
106792010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10680
10681 Test PR 9436.
10682 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10683
f1421989
HZ
106842010-06-24 Hui Zhu <teawater@gmail.com>
10685
10686 * gdb.base/eval.exp: New file.
10687
d03285ec
UW
106882010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10689
10690 * gdb.cell/fork.exp: New file.
10691 * gdb.cell/fork.c: Likewise.
10692 * gdb.cell/fork-spu.c: Likewise.
10693
41b2c92d
PM
106942010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10695
10696 * lib/gdb.exp (banned_variables_traced): New global variable.
10697 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10698 (gdb_init): Use `trace add variable' instead of obsolete
10699 `trace variable'.
10700
d5bc977f
DE
107012010-06-21 Doug Evans <dje@google.com>
10702
10703 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10704
d2ed6730
UW
107052010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10706
10707 * gdb.arch/spu-ls.exp: New file.
10708 * gdb.arch/spu-ls.c: Likewise.
10709
6aed2dbc
SS
107102010-06-18 Stan Shebs <stan@codesourcery.com>
10711
10712 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10713
e0756905
UW
107142010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10715
10716 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10717 * gdb.base/watch-cond.exp: Likewise.
10718 * gdb.python/py-breakpoint.exp: Likewise.
10719
d8053d4d
PA
107202010-06-18 Pedro Alves <pedro@codesourcery.com>
10721
10722 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10723 clean_restart, make sure every test has a distinct message, and
10724 that messages don't include the executable' full path.
10725
81ce510c
DE
107262010-06-17 Doug Evans <dje@google.com>
10727
10728 * gdb.arch/i386-size.exp: Updated expected output for
10729 DISASSEMBLY_OMIT_FNAME.
10730
65d79d4b
SDJ
107312010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10732 Sergio Durigan Junior <sergiodj@redhat.com>
10733
10734 * gdb.base/watch-notconst.c: New file.
10735 * gdb.base/watch-notconst.S: New file.
10736 * gdb.base/watch-notconst2.c: New file.
10737 * gdb.base/watch-notconst2.S: New file.
10738 * gdb.base/watch-notconst.exp: New file.
10739 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10740 (func4): Add operations on `global_ptr_ptr'.
10741 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10742 routine to test watchpoints created with a constant expression.
10743 (test_inaccessible_watchpoint): Include tests for watchpoints
10744 created with a constant expression.
10745
df0f4836
KB
107462010-06-14 Kevin Buettner <kevinb@redhat.com>
10747
10748 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10749 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10750 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10751 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10752 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10753 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10754 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10755 of `_start'.
10756
b769def5
UW
107572010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10758
10759 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10760 not supported on the target.
10761 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10762 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10763 * gdb.mi/mi-nsintrall.exp: Likewise.
10764 * gdb.mi/mi-nsmoribund.exp: Likewise.
10765 * gdb.mi/mi-nsthrexec.exp: Likewise.
10766
d914c394
SS
107672010-06-11 Stan Shebs <stan@codesourcery.com>
10768
10769 * gdb.base/permissions.exp: New file.
10770
107712010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
10772
10773 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10774 does not support ELF executable class.
10775
f3ce5b9c
UW
107762010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10777
10778 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10779
8e46892c
JK
107802010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10781
10782 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10783 (runto): Catch "The target does not support running in non-stop mode.".
10784
6cc55c64
MS
107852010-06-11 Michael Snyder <msnyder@vmware.com>
10786
10787 * gdb.base/setshow.exp (set language asm): Don't use
10788 gdb_test_no_output, fails on some targets.
10789
caddefa4
UW
107902010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10791
10792 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10793 * gdb.cp/pr9167.exp: Likewise.
10794
468b1aa7
UW
107952010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10796
10797 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10798
5c3552dc
UW
107992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10800
10801 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10802
02e6fe6a
UW
108032010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10804
10805 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10806
0e03807e
TT
108072010-06-11 Tom Tromey <tromey@redhat.com>
10808
10809 PR gdb/9977, PR exp/11636::
10810 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10811 (pieces_test_f6): Update expected output.
10812
2bdf28a0
JK
108132010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10814
10815 * gdb.base/moribund-step.exp: New.
10816
f6978de9
MS
108172010-06-08 Michael Snyder <msnyder@vmware.com>
10818
10819 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 10820 * gdb.ada/boolean_expr.exp:
f6978de9
MS
10821 * gdb.ada/frame_args.exp: Ditto.
10822 * gdb.ada/lang_switch.exp: Ditto.
10823 * gdb.ada/ptype_arith_binop.exp: Ditto.
10824 * gdb.ada/ref_param.exp: Ditto.
10825 * gdb.ada/type_coercion.exp:Ditto.
10826
10827 * gdb.asm/asm-source.exp: Ditto.
10828
10829 * gdb.base/attach.exp: Ditto.
10830 * gdb.base/bitfields2.exp: Ditto.
10831 * gdb.base/call-signal-resume.exp: Ditto.
10832 * gdb.base/callfuncs.exp: Ditto.
10833 * gdb.base/commands.exp: Ditto.
10834 * gdb.base/dbx.exp: Ditto.
10835 * gdb.base/default.exp: Ditto.
10836 * gdb.base/dump.exp: Ditto.
10837 * gdb.base/exprs.exp: Ditto.
10838 * gdb.base/freebpcmd.exp: Ditto.
10839 * gdb.base/interrupt.exp: Ditto.
10840 * gdb.base/list.exp: Ditto.
10841 * gdb.base/long_long.exp: Ditto.
10842 * gdb.base/maint.exp: Ditto.
10843 * gdb.base/ptype.exp: Ditto.
10844 * gdb.base/return.exp: Ditto.
10845 * gdb.base/setshow.exp: Ditto.
10846 * gdb.base/sigbpt.exp: Ditto.
10847 * gdb.base/sigrepeat.exp: Ditto.
10848
10849 * gdb.cp/classes.exp: Ditto.
10850
10851 * gdb.dwarf2/dw2-restore.exp: Ditto.
10852
10853 * gdb.gdb/selftest.exp: Ditto.
10854
10855 * gdb.multi/base.exp: Ditto.
10856 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10857
10858 * gdb.python/py-block.exp: Ditto.
10859 * gdb.python/py-prettyprint.exp: Ditto.
10860 * gdb.python/py-template.exp: Ditto.
10861
10862 * gdb.server/ext-attach.exp: Ditto.
10863 * gdb.server/ext-run.exp: Ditto.
10864 * gdb.server/server-mon.exp: Ditto.
10865
10866 * gdb.threads/fork-thread-pending.exp: Ditto.
10867 * gdb.threads/hand-call-in-threads.exp: Ditto.
10868 * gdb.threads/interrupted-hand-call.exp: Ditto.
10869 * gdb.threads/linux-dp.exp: Ditto.
10870 * gdb.threads/manythreads.exp: Ditto.
10871 * gdb.threads/print-threads.exp: Ditto.
10872 * gdb.threads/pthreads.exp: Ditto.
10873 * gdb.threads/schedlock.exp: Ditto.
10874 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10875 * gdb.threads/threadapply.exp: Ditto.
10876
de7ff789
MS
108772010-06-08 Michael Snyder <msnyder@vmware.com>
10878
889bf7c5 10879 * gdb.ada/exec_changed.exp:
de7ff789
MS
10880 Use ".*" instead of "" as wildcard regexp.
10881
10882 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10883 * gdb.base/call-ar-st.exp: Ditto.
10884 * gdb.base/checkpoint.exp: Ditto.
10885 * gdb.base/default.exp: Ditto.
10886 * gdb.base/dump.exp: Ditto.
10887 * gdb.base/ending-run.exp: Ditto.
10888 * gdb.base/fileio.exp: Ditto.
10889 * gdb.base/miscexprs.exp: Ditto.
10890 * gdb.base/pointers.exp: Ditto.
10891 * gdb.base/readline.exp: Ditto.
10892 * gdb.base/reread.exp: Ditto.
10893 * gdb.base/restore.exp: Ditto.
10894 * gdb.base/shlib-call.exp: Ditto.
10895 * gdb.base/valgrind-db-attach.exp: Ditto.
10896 * gdb.base/volatile.exp: Ditto.
10897 * gdb.base/watchpoints.exp: Ditto.
10898
10899 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10900
10901 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10902 * gdb.python/py-value.exp: Ditto.
10903
10904 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10905 * gdb.trace/circ.exp: Ditto.
10906 * gdb.trace/collection.exp: Ditto.
10907 * gdb.trace/packetlen.exp: Ditto.
10908 * gdb.trace/passc-dyn.exp: Ditto.
10909 * gdb.trace/report.exp: Ditto.
10910 * gdb.trace/tfile.exp: Ditto.
10911 * gdb.trace/tfind.exp: Ditto.
10912 * gdb.trace/while-dyn.exp: Ditto.
10913
3bebe2f2
JK
109142010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10915
10916 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10917
5c631832
JK
109182010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10919
10920 Test PR 10640.
10921 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10922
4c3376c8
SW
109232010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10924
10925 * gdb.cp/koenig.exp: Test for ADL operators.
10926 * gdb.cp/koenig.cc: Added ADL operators.
10927 * gdb.cp/operator.exp: New test.
10928 * gdb.cp/operator.cc: New test.
10929
dc226d5a
MS
109302010-06-04 Michael Snyder <msnyder@vmware.com>
10931
dfb88a23
MS
10932 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10933 * gdb.base/pending.exp: Ditto.
f7ae76b3 10934
dc226d5a
MS
10935 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10936
967cf477
DE
109372010-06-04 Doug Evans <dje@google.com>
10938
10939 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10940 disabled printers.
10941 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10942 (enable_lookup_function): New function.
10943
eb801841
TT
109442010-06-04 Tom Tromey <tromey@redhat.com>
10945
10946 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10947 of hash and id.
10948
38979823
JK
109492010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10950
10951 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10952 newline.
10953 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10954 (empty verbose non-noisy clear, empty verbose noisy clear)
10955 (empty non-verbose noisy clear): Likewise.
10956
35ec993f
MS
109572010-06-03 Michael Snyder <msnyder@vmware.com>
10958
10959 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10960 * gdb.base/display.exp: Ditto.
10961 * gdb.base/find.exp: Ditto.
10962 * gdb.base/ifelse.exp: Ditto.
10963 * gdb.base/multi-forks.exp: Ditto.
10964 * gdb.base/recurse.exp: Ditto.
10965 * gdb.base/setshow.exp: Ditto.
10966 * gdb.base/value-double-free.exp: Ditto.
10967 * gdb.base/watch-vfork.exp: Ditto.
10968 * gdb.base/watch_thread_num.exp: Ditto.
10969 * gdb.base/watchpoint-solib.exp: Ditto.
10970 * gdb.base/watchpoint.exp: Ditto.
10971 * gdb.base/watchpoints.exp: Ditto.
10972
10973 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10974 * gdb.cp/overload.exp: Ditto.
10975 * gdb.cp/virtfunc.exp: Ditto.
10976
10977 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10978
889bf7c5 10979 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
10980 Replace gdb_test with gdb_test_no_output.
10981
889bf7c5 10982 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
10983 Replace gdb_test with gdb_test_no_output.
10984 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10985 * gdb.threads/watchthreads.exp: Ditto.
10986 * gdb.threads/watchthreads2.exp: Ditto.
10987
10988 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10989 * gdb.trace/tfind.exp: Ditto.
10990
c22decce
JB
109912010-06-03 Joel Brobecker <brobecker@adacore.com>
10992
10993 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10994 successful test if message is the empty string.
10995
fd5700c7
JK
109962010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10997
10998 * gdb.fortran/module.exp (stopped language detection): New test.
10999
f55ee35c
JK
110002010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11001
11002 Support DW_TAG_module as separate namespaces.
11003 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
11004 gdb.fortran/library-module-lib.f90: New.
11005 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
11006 (print i): Remove.
11007 (continue to breakpoint: i-is-1, print var_i value 1)
11008 (continue to breakpoint: i-is-2, print var_i value 2)
11009 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
11010 (print var_d, print var_i value 14, ptype modmany, complete `modm)
11011 (complete `modmany, complete `modmany`, complete `modmany`var)
11012 (show language, setting breakpoint at module): New tests.
11013 * gdb.fortran/module.f90 (module mod): Remove.
11014 (module mod1, module mod2, module modmany, subroutine sub1)
11015 (subroutine sub2, program module): New.
11016
b8e8282f
JK
110172010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11018
11019 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
11020 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
11021 * gdb.cp/anon-union.exp (pass): Rename to ...
11022 (print z 2): ... here.
b8e8282f 11023
019ebafc
MS
110242010-06-02 Michael Snyder <msnyder@vmware.com>
11025
e68d8fd4
MS
11026 * gdb.trace/actions.exp: Use gdb_test_no_output.
11027 * gdb.trace/circ.exp: Ditto.
11028 * gdb.trace/packetlen.exp: Ditto.
11029 * gdb.trace/save-trace.exp: Ditto.
11030 * gdb.trace/tracecmd.exp: Ditto.
11031 * gdb.trace/tsv.exp: Ditto.
11032
12b5d08a
MS
11033 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
11034 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
11035 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
11036 * gdb.threads/manythreads.exp: Ditto.
11037 * gdb.threads/print-threads.exp: Ditto.
11038 * gdb.threads/pthreads.exp: Ditto.
11039 * gdb.threads/schedlock.exp: Ditto.
11040 * gdb.threads/staticthreads.exp: Ditto.
11041 * gdb.threads/thread-specific.exp: Ditto.
11042 * gdb.threads/thread-unwindonsignal.exp: Ditto.
11043 * gdb.threads/threadapply.exp: Ditto.
11044 * gdb.threads/watchthreads.exp: Ditto.
11045 * gdb.threads/watchthreads2.exp: Ditto.
11046
89493308
MS
11047 * gdb.python/py-block.exp: Use gdb_test_no_output.
11048 * gdb.python/py-prettyprint.exp: Ditto.
11049 * gdb.python/py-template.exp: Ditto.
11050 * gdb.python/py-value.exp: Ditto.
11051
11052 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
11053 * gdb.reverse/watch-reverse.exp: Ditto.
11054
11055 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
11056 * gdb.server/ext-run.exp: Ditto.
11057
019ebafc
MS
11058 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
11059 * gdb.dwarf2/dw2-compressed.exp: Ditto.
11060 * gdb.dwarf2/dw2-intercu.exp: Ditto.
11061 * gdb.dwarf2/dw2-intermix.exp: Ditto.
11062 * gdb.dwarf2/dw2-producer.exp: Ditto.
11063 * gdb.dwarf2/mac-fileno.exp: Ditto.
11064
11065 * gdb.gdb/observer.exp: Use gdb_test_no_output.
11066 * gdb.gdb/selftest.exp: Ditto.
11067
11068 * gdb.multi/base.exp: Use gdb_test_no_output.
11069
11070 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
11071
3e0ca3a5
JK
110722010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11073
11074 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
11075
9db70545
MS
110762010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
11077
a8d52276
MS
11078 * gdb.cp/class2.exp: Use gdb_test_no_output.
11079 * gdb.cp/classes.exp: Ditto.
11080 * gdb.cp/extern-c.exp: Ditto.
11081 * gdb.cp/inherit.exp: Ditto.
11082 * gdb.cp/maint.exp: Ditto.
11083 * gdb.cp/mb-inline.exp: Ditto.
11084 * gdb.cp/mb-templates.exp: Ditto.
11085 * gdb.cp/method2.exp: Ditto.
11086 * gdb.cp/misc.exp: Ditto.
11087 * gdb.cp/ovldbreak.exp: Ditto.
11088 * gdb.cp/punctuator.exp: Ditto.
11089 * gdb.cp/templates.exp: Ditto.
11090 * gdb.cp/virtbase.exp: Ditto.
11091
889bf7c5 11092 * gdb.threads/attach-stopped.exp:
9db70545 11093 Replace uses of send_gdb / gdb_expect.
889bf7c5 11094 * gdb.threads/attachstop-mt.exp:
9db70545 11095 Replace uses of send_gdb / gdb_expect.
889bf7c5 11096 * gdb.threads/gcore-thread.exp:
9db70545 11097 Replace uses of send_gdb / gdb_expect.
889bf7c5 11098 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
11099 Replace uses of send_gdb / gdb_expect.
11100 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11101 * gdb.threads/print-threads.exp:
9db70545
MS
11102 Replace uses of send_gdb / gdb_expect.
11103 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
11104 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
11105 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
11106
11107 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
11108 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
11109 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
11110 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
11111 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
11112 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
11113 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
11114 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
11115 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
11116 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
11117 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
11118
359cc68c
JK
111192010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11120
11121 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
11122
7d3fe98e
SW
111232010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
11124
11125 * gdb.cp/koenig.exp: Added new test case.
11126 * gdb.cp/koenig.cc: Ditto.
11127
27d3a1a2
MS
111282010-06-01 Michael Snyder <msnyder@vmware.com>
11129
11130 * gdb.base/arithmet.exp: Use gdb_test_no_output.
11131 * gdb.base/arrayidx.exp: Ditto.
11132 * gdb.base/attach.exp: Ditto.
11133 * gdb.base/auxv.exp: Ditto.
11134 * gdb.base/bigcre.exp: Ditto.
11135 * gdb.base/break-always.exp: Ditto.
11136 * gdb.base/break-interp.exp: Ditto.
11137 * gdb.base/break.exp: Ditto.
11138 * gdb.base/breakpoint-shadow.exp: Ditto.
11139 * gdb.base/call-ar-st.exp: Ditto.
11140 * gdb.base/call-sc.exp: Ditto.
11141 * gdb.base/call-signal-resume.exp: Ditto.
11142 * gdb.base/callfuncs.exp: Ditto.
11143 * gdb.base/catch-syscall.exp: Ditto.
11144 * gdb.base/charset.exp: Ditto.
11145 * gdb.base/code-expr.exp: Ditto.
11146 * gdb.base/commands.exp: Ditto.
11147 * gdb.base/cond-expr.exp: Ditto.
11148 * gdb.base/condbreak.exp: Ditto.
11149 * gdb.base/cursal.exp: Ditto.
11150 * gdb.base/cvexpr.exp: Ditto.
11151 * gdb.base/default.exp: Ditto.
11152 * gdb.base/del.exp: Ditto.
11153 * gdb.base/detach.exp: Ditto.
11154 * gdb.base/display.exp: Ditto.
11155 * gdb.base/ena-dis-br.exp: Ditto.
11156 * gdb.base/eval-skip.exp: Ditto.
11157 * gdb.base/foll-fork.exp: Ditto.
11158 * gdb.base/foll-vfork.exp: Ditto.
11159 * gdb.base/frame-args.exp: Ditto.
11160 * gdb.base/funcargs.exp: Ditto.
11161 * gdb.base/gcore-buffer-overflow.exp: Ditto.
11162 * gdb.base/gdbvars.exp: Ditto.
11163 * gdb.base/help.exp: Ditto.
11164 * gdb.base/ifelse.exp: Ditto.
11165 * gdb.base/included.exp: Ditto.
11166 * gdb.base/list.exp: Ditto.
11167 * gdb.base/macscp.exp: Ditto.
11168 * gdb.base/maint.exp: Ditto.
11169 * gdb.base/multi-fork.exp: Ditto.
11170 * gdb.base/overlays.exp: Ditto.
11171 * gdb.base/page.exp: Ditto.
11172 * gdb.base/pending.exp: Ditto.
11173 * gdb.base/pointers.exp: Ditto.
11174 * gdb.base/pr11022.exp: Ditto.
11175 * gdb.base/prelink.exp: Ditto.
11176 * gdb.base/printcmds.exp: Ditto.
11177 * gdb.base/psymtab.exp: Ditto.
11178 * gdb.base/randomize.exp: Ditto.
11179 * gdb.base/relational.exp: Ditto.
11180 * gdb.base/relocate.exp: Ditto.
11181 * gdb.base/remote.exp: Ditto.
11182 * gdb.base/sepdebug.exp: Ditto.
11183 * gdb.base/set-lang-auto.exp: Ditto.
11184 * gdb.base/setshow.exp: Ditto.
11185 * gdb.base/setvar.exp: Ditto.
11186 * gdb.base/signals.exp: Ditto.
11187 * gdb.base/signull.exp: Ditto.
11188 * gdb.base/sigstep.exp: Ditto.
11189 * gdb.base/sizeof.exp: Ditto.
11190 * gdb.base/solib-disc.exp: Ditto.
11191 * gdb.base/store.exp: Ditto.
11192 * gdb.base/structs.exp: Ditto.
11193 * gdb.base/structs2.exp: Ditto.
11194 * gdb.base/subst.exp: Ditto.
11195 * gdb.base/term.exp: Ditto.
11196 * gdb.base/trace-commands.exp: Ditto.
11197 * gdb.base/unwindonsignal.exp: Ditto.
11198 * gdb.base/valgrind-db-attach.exp: Ditto.
11199 * gdb.base/varargs.exp: Ditto.
11200 * gdb.base/watch-cond.exp: Ditto.
11201 * gdb.base/watch_thread_num.exp: Ditto.
11202 * gdb.base/watchpoint-cond-gone.exp: Ditto.
11203 * gdb.base/watchpoint.exp: Ditto.
11204 * gdb.base/whatis-exp.exp: Ditto.
11205
f8d3bf8f
MS
112062010-06-01 Michael Snyder <msnyder@vmware.com>
11207
11208 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
11209 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
11210 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
11211 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
11212 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
11213 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
11214 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
11215 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
11216 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
11217 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
11218 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
11219 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
11220 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
11221 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
11222 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
11223
3f9e0d32
JK
112242010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11225
11226 * gdb.base/commands.exp (begin commands on watch): Remove excessive
11227 trailing newline.
11228 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
11229 * gdb.java/jmisc.exp (p *args\n): Rename to ...
11230 (p *args): ... here and remove excessive trailing newline.
11231
f629457d
JB
112322010-05-31 Joel Brobecker <brobecker@adacore.com>
11233
11234 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
11235
09eef106
JK
112362010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11237
11238 Accept the new Linux kernel "t (tracing stop)" string.
11239 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
11240 Update comment.
11241 (state_wait) <T (tracing stop)>: New.
11242 (main): Update the state_wait expect string.
11243
94f31136
PA
112442010-05-28 Pedro Alves <pedro@codesourcery.com>
11245
11246 * limits.c, limits.exp: Delete files.
11247 * Makefile.in (clean mostlyclean): Adjust.
11248 * tracecmd.exp: Adjust.
11249
096554ab
JK
112502010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11251
11252 * gdb.base/tui-layout.exp: New.
11253
27d3a1a2 112542010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 11255
889bf7c5 11256 * gdb.reverse/break-precsave.exp:
bcd2dc50 11257 Replace uses of send_gdb / gdb_expect.
889bf7c5 11258 * gdb.reverse/break-reverse.exp:
bcd2dc50 11259 Replace uses of send_gdb / gdb_expect.
889bf7c5 11260 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 11261 Replace uses of send_gdb / gdb_expect.
889bf7c5 11262 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 11263 Replace uses of send_gdb / gdb_expect.
889bf7c5 11264 * gdb.reverse/finish-precsave.exp:
bcd2dc50 11265 Replace uses of send_gdb / gdb_expect.
889bf7c5 11266 * gdb.reverse/finish-reverse.exp:
bcd2dc50 11267 Replace uses of send_gdb / gdb_expect.
889bf7c5 11268 * gdb.reverse/i386-precsave.exp:
bcd2dc50 11269 Replace uses of send_gdb / gdb_expect.
889bf7c5 11270 * gdb.reverse/i386-reverse.exp:
bcd2dc50 11271 Replace uses of send_gdb / gdb_expect.
889bf7c5 11272 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 11273 Replace uses of send_gdb / gdb_expect.
889bf7c5 11274 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 11275 Replace uses of send_gdb / gdb_expect.
889bf7c5 11276 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 11277 Replace uses of send_gdb / gdb_expect.
889bf7c5 11278 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 11279 Replace uses of send_gdb / gdb_expect.
889bf7c5 11280 * gdb.reverse/machinestate.exp:
bcd2dc50 11281 Replace uses of send_gdb / gdb_expect.
889bf7c5 11282 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 11283 Replace uses of send_gdb / gdb_expect.
889bf7c5 11284 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 11285 Replace uses of send_gdb / gdb_expect.
889bf7c5 11286 * gdb.reverse/solib-precsave.exp:
bcd2dc50 11287 Replace uses of send_gdb / gdb_expect.
889bf7c5 11288 * gdb.reverse/solib-reverse.exp:
bcd2dc50 11289 Replace uses of send_gdb / gdb_expect.
889bf7c5 11290 * gdb.reverse/step-precsave.exp:
bcd2dc50 11291 Replace uses of send_gdb / gdb_expect.
889bf7c5 11292 * gdb.reverse/step-reverse.exp:
bcd2dc50 11293 Replace uses of send_gdb / gdb_expect.
889bf7c5 11294 * gdb.reverse/until-precsave.exp:
bcd2dc50 11295 Replace uses of send_gdb / gdb_expect.
889bf7c5 11296 * gdb.reverse/until-reverse.exp:
bcd2dc50 11297 Replace uses of send_gdb / gdb_expect.
889bf7c5 11298 * gdb.reverse/watch-precsave.exp:
bcd2dc50 11299 Replace uses of send_gdb / gdb_expect.
889bf7c5 11300 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
11301 Replace uses of send_gdb / gdb_expect.
11302
3def43e0
JK
113032010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11304
11305 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
11306 excessive newline.
11307
27d3a1a2 113082010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
11309
11310 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
11311 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
11312 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
11313 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
11314 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
11315 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
11316 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
11317 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
11318 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
11319 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
11320 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
11321 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
11322 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
11323 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
11324 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
11325 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
11326 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
11327 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
11328 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 11329
27d3a1a2 113302010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 11331
22454424
MS
11332 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
11333 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
11334
11335 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
11336 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
11337 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
11338
889bf7c5 11339 * gdb.reverse/consecutive-reverse.exp:
22454424 11340 Replace uses of send_gdb / gdb_expect.
889bf7c5 11341 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
11342 Replace uses of send_gdb / gdb_expect.
11343
11344 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
11345 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
11346 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 11347 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
11348 Replace uses of send_gdb / gdb_expect.
11349 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
11350 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
11351 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
11352 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
11353 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
11354 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
11355 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
11356 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
11357 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
11358
113592010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 11360
22454424 11361 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11362
22454424 11363 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11364
22454424
MS
11365 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
11366 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
11367 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
11368 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
11369 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
11370 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
11371 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
11372 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
11373 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 11374
6e5f2c59
TT
113752010-05-25 Tom Tromey <tromey@redhat.com>
11376
11377 * gdb.base/macscp.exp: Add missing space after setup_kfail.
11378
bbc8b958
TT
113792010-05-25 Tom Tromey <tromey@redhat.com>
11380
11381 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
11382 argument order.
11383 * gdb.base/macscp.exp: Fix setup_kfail argument order.
11384 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
11385 order.
11386 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
11387 order.
11388 * gdb.base/call-sc.exp (setup_kfails): Remove.
11389 (setup_compiler_kfails): Remove.
11390 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
11391 argument order.
11392 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
11393 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
11394 (advancei): Fix setup_kfail argument order.
11395 * gdb.base/radix.exp: Fix setup_kfail argument order.
11396 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
11397 order.
11398 * gdb.base/structs.exp (setup_kfails): Remove.
11399 (setup_compiler_kfails): Fix setup_kfail argument order.
11400 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
11401 order.
11402 * gdb.java/jmain.exp: Fix setup_kfail argument order.
11403 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
11404 setup_kfail argument order.
11405 * gdb.cp/overload.exp: Fix setup_kfail argument order.
11406
83d1babf
TT
114072010-05-25 Tom Tromey <tromey@redhat.com>
11408
11409 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
11410
6acb16a2
MS
114112010-05-25 Michael Snyder <msnyder@vmware.com>
11412
11413 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
11414 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
11415 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
11416 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
11417 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
11418 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
11419 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
11420 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
11421 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
11422 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
11423 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
11424 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
11425 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
11426 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
11427 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
11428 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
11429 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
11430 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
11431 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
11432 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
11433 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
11434 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
11435 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
11436 * gdb.base/default.exp: Replace send_gdb with gdb_test.
11437 * gdb.base/define.exp: Replace send_gdb with gdb_test.
11438 * gdb.base/display.exp: Replace send_gdb with gdb_test.
11439 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
11440 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
11441 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
11442 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
11443 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
11444 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
11445 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
11446 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
11447 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
11448 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
11449 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
11450 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
11451 * gdb.base/help.exp: Replace send_gdb with gdb_test.
11452 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
11453 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
11454 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
11455 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
11456 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
11457 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
11458 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
11459 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 11460 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
11461
114622010-05-25 Doug Evans <dje@google.com>
11463
11464 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
11465 gdb.string_to_argv.
ad3986f0 11466
d3b1e874
TT
114672010-05-21 Tom Tromey <tromey@redhat.com>
11468
11469 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
11470 Call it.
11471 * gdb.dwarf2/pieces.S: Update.
11472 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
11473
cb826367
TT
114742010-05-21 Tom Tromey <tromey@redhat.com>
11475
11476 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
11477 Call it.
11478 * gdb.dwarf2/pieces.c (struct C): New.
11479 (f6): New function.
11480 * gdb.dwarf2/pieces.S: Replace.
11481
74de6778
TT
114822010-05-21 Tom Tromey <tromey@redhat.com>
11483
11484 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
11485 Call it.
11486
afd74c5f
TT
114872010-05-21 Tom Tromey <tromey@redhat.com>
11488
11489 * gdb.dwarf2.pieces.exp: New file.
11490 * gdb.dwarf2.pieces.S: New file.
11491 * gdb.dwarf2.pieces.c: New file.
11492
a7b75dfd 114932010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 11494 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
11495
11496 * lib/gdb.exp (gdb_test_no_output): New function.
11497 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
11498 when testing commands that should produce no output.
11499
c81c812a
JB
115002010-05-17 Joel Brobecker <brobecker@adacore.com>
11501
11502 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
11503 parameter that we want to watch being a constant.
11504
0cce5bd9
JB
115052010-05-17 Joel Brobecker <brobecker@adacore.com>
11506
11507 * gdb.ada/cond_lang: New testcase.
11508
47050449
JB
115092010-05-17 Joel Brobecker <brobecker@adacore.com>
11510
11511 * lib/gdb.exp (banned_variables): New variable/constant.
11512 (gdb_init): Add write trace on variables listed in banned_variables.
11513 (gdb_finish): Remove write traces on variables listed in
11514 banned_variables.
11515
77c01586
JB
115162010-05-17 Joel Brobecker <brobecker@adacore.com>
11517
11518 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11519 * gdb.cp/koenig.exp: Likewise.
11520
88d4aea7
PM
115212010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11522
889bf7c5 11523 PR python/11482
88d4aea7
PM
11524
11525 * gdb.python/py-value.exp (test_value_hash): New function.
11526
f5a010c0
PM
115272010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11528
11529 PR exp/11530.
11530 * gdb.base/gdb11530.c: New file.
11531 * gdb.base/gdb11530.exp: New file.
11532
8ef4892f
JK
115332010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11534
11535 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11536 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11537
7322dca9
SW
115382010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11539
11540 * gdb.cp/koenig.exp: New test.
11541 * gdb.cp/koenig.cc: New test program.
11542
02e7ea18
JB
115432010-05-05 Joel Brobecker <brobecker@adacore.com>
11544
11545 Remove the use of prms_id and bug_id throughout the testsuite.
11546
e1c34c5d
PM
115472010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11548
11549 PR exp/11349.
11550 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11551 use a reference local variable.
11552
8e1d0c49
JK
115532010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11554
11555 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11556 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11557 variable different_dir. Move debugfile into a full directory pathname
11558 under DIFFERENT_DIR.
11559 * lib/gdb.exp (separate_debug_filename): Remove.
11560 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11561 variable debug_dir and mkdir of it. Update function comments.
11562
e66408ed
PA
115632010-04-29 Pedro Alves <pedro@codesourcery.com>
11564
11565 PR gdb/11557
11566
11567 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11568 files.
11569
d7b32ed3
PM
115702010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11571
889bf7c5 11572 * gdb.python/py-param.exp: New File.
d7b32ed3 11573
6aecb9c2
JB
115742010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11575
11576 * gdb.base/default.exp: Fix "set language" test.
11577
bdf92a1c
PM
115782010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11579
11580 PR breakpoints/11531.
11581 * gdb.base/gdb11531.c: New file.
11582 * gdb.base/gdb11531.exp: New file.
11583
3f172e24
TT
115842010-04-26 Tom Tromey <tromey@redhat.com>
11585
11586 * gdb.base/completion.exp: Add tests for completion and deprecated
11587 commands.
11588
64af4c92
JK
115892010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11590
11591 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11592 (print /x char_array): Escape curly brackets.
11593
492928e4
JK
115942010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11595
11596 Fix deadlock on looped list of loaded shared objects.
11597 * gdb.base/solib-corrupted.exp: New.
11598
66d09542
DE
115992010-04-23 Doug Evans <dje@google.com>
11600
11601 * gdb.python/py-section-script.c: New file.
11602 * gdb.python/py-section-script.exp: New file.
11603 * gdb.python/py-section-script.py: New file.
11604
8bd10a10
CM
116052010-04-20 Chris Moller <cmoller@redhat.com>
11606
11607 PR 10179
11608
11609 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11610 * gdb.base/pr10179-a.c:
11611 * gdb.base/pr10179-b.c:
11612 * gdb.base/pr10179.exp: New files.
11613
c0201579
JK
116142010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11615
11616 Fix crashes on dangling display expressions.
11617 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11618 is SEP.
11619 (lib_flags): Remove the "debug" keyword.
11620 (libsepdebug): New variable for iterating new loop.
11621 (save_pf_prefix): New variable wrapping the loop.
11622 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11623 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11624
793b0ff8
PM
116252010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11626
11627 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11628
097f51f7
PM
116292010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11630
11631 PR stabs/11479.
11632 * gdb.stabs/gdb11479.exp: New file.
11633 * gdb.stabs/gdb11479.c: New file.
11634
9a22f0d0
PM
116352010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11636
11637 * gdb.base/charset.c (Strin16, String32): New variables.
11638 * gdb.base/charset.exp (gdb_test): Test correct display
11639 of 16 or 32 bit strings.
11640
116412010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
11642
11643 PR 9167
11644 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11645 * gdb.cp/pr9167.cc: New file.
11646 * gdb.cp/pr9167.exp: New file.
11647
11648
6e354e5e
PM
116492010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11650
11651 PR pascal/11492.
11652 * gdb.pascal/gdb11492.pas: New file.
11653 * gdb.pascal/gdb11492.exp: New file.
11654
be942545
JB
116552010-04-20 Joel Brobecker <brobecker@adacore.com>
11656
1667e6e3 11657 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 11658
0c3acc09
JB
116592010-04-20 Joel Brobecker <brobecker@adacore.com>
11660
11661 * gdb.ada/dyn_loc: New testcase.
11662
ec31cde5
CM
116632010-04-20 Chris Moller <cmoller@redhat.com>
11664
11665 PR 10867
889bf7c5 11666
ec31cde5
CM
11667 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11668 * gdb.cp/pr10687.cc: New file.
11669 * gdb.cp/pr10687.exp: New file.
11670
11671
ce4b0682
SDJ
116722010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11673 Sergio Durigan Junior <sergiodj@redhat.com>
11674
11675 * gdb.fortran/logical.exp: New testcase.
11676 * gdb.fortran/logical.f90: New file.
11677
3436961f
DE
116782010-04-19 Doug Evans <dje@google.com>
11679
11680 * gdb.base/help.exp (help source): Update expected output.
11681
4d836c09
JK
116822010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11683
11684 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11685 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11686 gdb_exit and return.
11687 (executable): New variable.
11688 (binfile): Use it.
11689
6149aea9
PA
116902010-04-19 Pedro Alves <pedro@codesourcery.com>
11691
11692 PR breakpoints/8554.
11693
11694 * gdb.trace/save-trace.exp: Adjust.
11695
ed41462c
L
116962010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 PR corefiles/11511
11699 * gdb.arch/system-gcore.exp: New.
11700 * gdb.arch/gcore.c: Likewise.
11701
3f7b2faa
DE
117022010-04-15 Doug Evans <dje@google.com>
11703
fa33c3cd
DE
11704 * gdb.python/py-progspace.c: New file.
11705 * gdb.python/py-progspace.exp: New file.
11706
3f7b2faa
DE
11707 * gdb.base/source.exp: Add tests for "source -s".
11708
79f283fe
PM
117092010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11710
11711 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11712 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11713 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11714 * gdb.python/py-mi.exp: New test for to_string returning None.
11715
fc8eb08a
PM
117162010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11717
11718 * gdb.python/py-breakpoint.c: Make result global.
11719
26e197f6
JK
117202010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11721
11722 Fix non-GNU make compatibility.
11723 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11724
adc36818
PM
117252010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11726
11727 * gdb.python/py-breakpoint.exp: New File.
11728 * gdb.python/py-breakpoint.C: Ditto.
11729
64e17368
SS
117302010-04-08 Stan Shebs <stan@codesourcery.com>
11731
11732 * gdb.trace/actions.exp: Clear default-collect.
11733 * gdb.trace/save-trace.exp: Clear default-collect.
11734
fff5cc64
PM
117352010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11736
11737 * gdb.python/py-value: Add null string variable.
11738 (test_lazy_string): Test zero length, NULL address lazy
11739 strings.
11740
a055a187
L
117412010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11742
11743 * gdb.arch/i386-avx.c: New.
11744 * gdb.arch/i386-avx.exp: Likewise.
11745
11746 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11747
96e39866
DE
117482010-04-06 Doug Evans <dje@google.com>
11749
11750 * gdb.base/source-test.gdb: New file.
11751 * gdb.base/source.exp: Test source -v.
11752
5984a431
UW
117532010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11754
11755 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11756
ec8a089a
PM
117572010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11758
11759 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11760 within one line, unless it is followed by a double quote.
11761 * gdb.stabs/hppa.sed: Idem.
11762 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
11763 * gdb.stabs/weird.exp: Check for correct parsing of
11764 char and string constants.
ec8a089a
PM
11765 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11766 in .stabs to .stabx substitution.
11767
fce3c1f0
SS
117682010-04-05 Stan Shebs <stan@codesourcery.com>
11769
11770 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11771 constant global.
11772 * gdb.trace/tfile.exp: Try to print them.
11773
d77f58be
SS
117742010-04-04 Stan Shebs <stan@codesourcery.com>
11775
11776 * gdb.base/completion.exp: Update for new "info watchpoints".
11777 * gdb.base/default.exp: Ditto.
11778 * gdb.base/help.exp: Ditto.
11779 * gdb.base/watchpoint.exp: Ditto.
11780 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 11781
af54718e
SS
117822010-04-04 Stan Shebs <stan@codesourcery.com>
11783
11784 * gdb.trace/tfile.exp: Sharpen tfind test.
11785
74d1f91e
JK
117862010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11787
11788 * gdb.base/break-entry.exp: New.
11789
eb8e76db 117902010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 11791 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
11792
11793 * gdb.reverse/i386-sse-reverse.exp: New file.
11794 * gdb.reverse/i386-sse-reverse.c: New file.
11795
bf65cad8
PA
117962010-04-02 Pedro Alves <pedro@codesourcery.com>
11797
11798 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11799
fff87407
SS
118002010-04-01 Stan Shebs <stan@codesourcery.com>
11801
11802 * gdb.trace/actions.exp: Tweak expected output.
11803 * gdb.trace/while-stepping.exp: Tweak expected output.
11804
fe01d668
L
118052010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11806
11807 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11808
86b17b60
PA
118092010-04-01 Pedro Alves <pedro@codesourcery.com>
11810
11811 * gdb.base/commands.exp: Adjust.
11812 * gdb.cp/extern-c.exp: Adjust.
11813
2c58c0a9
PA
118142010-04-01 Pedro Alves <pedro@codesourcery.com>
11815
11816 * gdb.trace/collection.c (local_test_func): Define a local struct,
11817 and instanciate it.
11818
0db9b91c
PA
118192010-04-01 Pedro Alves <pedro@codesourcery.com>
11820
11821 * gdb.trace/collection.exp (gdb_collect_args_test)
11822 (gdb_collect_argarray_test): XFAIL the tests that assume the
11823 argarray argument's elements are collected.
11824
8072405b
JK
118252010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11826
11827 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11828 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11829
8bf6485c
SS
118302010-03-31 Stan Shebs <stan@codesourcery.com>
11831
11832 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11833 and tracepoint conditionals.
11834 (gdb_verify_tracepoints): Delete unused return.
11835
fd7f724a
KS
118362010-03-26 Keith Seitz <keiths@redhat.com>
11837
11838 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11839 appear in the output before main.
11840 Remove KFAIL for gdb/2215 aka bz 9320.
11841
8d9e7719
DE
118422010-03-30 Doug Evans <dje@google.com>
11843
0906dd0b
DE
11844 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11845 by dejagnu.
11846 * gdb.arch/amd64-dword.exp: Ditto.
11847
8d9e7719
DE
11848 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11849 match.
11850 (break printf): Ditto.
11851
1da644f0
SW
118522010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11853
11854 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11855 gcc < 4.4.
11856 * gdb.cp/shadow.exp: Ditto.
11857
a8121990
PA
118582010-03-29 Pedro Alves <pedro@codesourcery.com>
11859
11860 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11861 "tstart" is silent.
11862
6e79d367
PA
118632010-03-29 Pedro Alves <pedro@codesourcery.com>
11864
11865 * gdb.trace/collection.exp (executable): New.
11866 (binfile): Use it.
11867 (fpreg, spreg, pcreg): New.
11868 (test_register): Use gdb_test_multiple. Pass /x to print.
11869 (prepare_for_trace_test): New.
11870 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11871 (gdb_collect_args_test, gdb_collect_argstruct_test)
11872 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11873 prepare_for_trace_test.
11874 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11875 fpreg, spreg and pcreg.
11876 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11877 prepare_for_trace_test.
11878 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11879 try to detect tracing support here. Don't set breakpoints at
11880 `begin' or `end' here.
11881 <global scope>: Use clean_restart. Run to main before checking
11882 for tracing support. Check for for tracing support here.
11883
09248348
JK
118842010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11885
11886 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11887 " as $displacement" to "seen displacement message".
11888
d350db38
PA
118892010-03-28 Pedro Alves <pedro@codesourcery.com>
11890
11891 * gdb.trace/while-dyn.exp (executable): New variable.
11892 (binfile): Use it.
11893 (test_while_stepping): New function. Move most tests here. Call
11894 it once for each of the while-stepping, stepping and ws aliases.
11895
907af001
UW
118962010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11897
11898 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11899 that do not provide the tagless_struct type name at all.
11900 (test_print_anon_union): Do not check value of uninitialized
11901 union member. Do not use cp_test_ptype_class, so we can accept
11902 "long" as well as "long int".
11903
610197fd
PA
119042010-03-26 Pedro Alves <pedro@codesourcery.com>
11905
11906 * gdb.trace/tfile.c (tohex, bin2hex): New.
11907 (write_error_trace_file): Hexify error description.
11908
6c28cbf2
SS
119092010-03-25 Stan Shebs <stan@codesourcery.com>
11910
11911 * gdb.trace/tfile.c: Generate an additional trace file, improve
11912 portability.
11913 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11914 files in a better way.
11915
e62b8c7e
KS
119162010-03-25 Keith Seitz <keiths@redhat.com>
11917
11918 * gdb.java/jprint.exp: XFAIL printing of static class members
11919 because of GCC debuginfo problem.
11920
82ccf5a5
JK
119212010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11922
11923 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11924
293e2f9e
DJ
119252010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11926
11927 * gdb.base/completion.exp: Allow long instead of long int.
11928 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11929 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11930 variable p.
11931 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11932 * gdb.base/pointers.exp: Allow long instead of long int.
11933 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11934 * gdb.base/step-line.exp: Allow a directory before the source file name.
11935
95a42b64
TT
119362010-03-24 Tom Tromey <tromey@redhat.com>
11937
11938 PR breakpoints/9352:
11939 * gdb.base/default.exp: Update.
11940 * gdb.base/commands.exp: Update.
11941 * gdb.cp/extern-c.exp: Test setting commands on multiple
11942 breakpoints at once.
11943
2390201f
DJ
119442010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11945
11946 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11947 if gdb,nosignals.
11948 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11949 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11950 exited".
11951
8c9a6790
SS
119522010-03-24 Stan Shebs <stan@codesourcery.com>
11953
11954 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11955
a6c727b2
DJ
119562010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11957
11958 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11959 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11960 argument. Handle "short" and "long".
11961 (Top level): Pass overprototyped output for old_fptr and xptr.
11962
4dfd5423
PA
119632010-03-23 Pedro Alves <pedro@codesourcery.com>
11964
11965 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11966 format strings and add casts to avoid compiler warnings.
11967
119682010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
11969
11970 * lib/trace-support.exp (gdb_trace_setactions):
11971 Don't expect whitespace after ">" prompt.
11972 * gdb.trace/actions.exp: Adjust for output changes.
11973 * gdb.trace/while-stepping.exp: Likewise.
11974
c847d045
JK
119752010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11976
11977 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11978 and r157645).
11979
5f717f1d
JK
119802010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11981
11982 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11983 New.
11984
7d6d51d5
DJ
119852010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11986
11987 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11988 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11989
3b11a015
SS
119902010-03-19 Stan Shebs <stan@codesourcery.com>
11991
11992 * gdb.trace/ax.exp: New file.
11993
d7d158ed
DE
119942010-03-19 Doug Evans <dje@google.com>
11995
6bb85cd1
DE
11996 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11997 output from gcc.
11998
d7d158ed
DE
11999 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
12000 named /usr/sbin/prelink<foo>.
12001
4daf5ac0
SS
120022010-03-18 Stan Shebs <stan@codesourcery.com>
12003
12004 * gdb.trace/circ.exp: Test circular-trace-buffer.
12005 * gdb.trace/tfile.exp: Update tstatus test.
12006
e8d05480
JB
120072010-03-18 Joel Brobecker <brobecker@adacore.com>
12008
12009 * gdb.dwarf2/dw2-anonymous-func.S: New file.
12010 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
12011
441b986a
UW
120122010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12013
12014 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
12015
4247603b
PA
120162010-03-18 Pedro Alves <pedro@codesourcery.com>
12017
12018 * gdb.base/default.exp: Adjust the expected output of the finish
12019 and until commands when the inferior is not being run.
12020
13387711
SW
120212010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
12022
12023 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
12024 * gdb.cp/nsusing.exp: Ditto.
12025
6e31430b
TT
120262010-03-15 Tom Tromey <tromey@redhat.com>
12027
12028 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
12029 * gdb.cp/userdef.cc (operator==): New function.
12030 (main): New locals mem1, mem2.
12031
e2d69cb5
JZ
120322010-03-15 Jie Zhang <jie@codesourcery.com>
12033
12034 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
12035 Declare and use new loadtimeout variable.
12036
f572f0a9
DJ
120372010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
12038
12039 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
12040 Use gdb_load later.
12041
51f4c0b0
PA
120422010-03-14 Pedro Alves <pedro@codesourcery.com>
12043
12044 * gdb.base/solib-disc.c (main): Make format of fprintf a string
12045 literal. Add missing endlines to prints to stderr.
12046
1c809c68
TT
120472010-03-12 Tom Tromey <tromey@redhat.com>
12048
12049 PR c++/9708:
12050 * gdb.cp/m-static.exp: Add regression test.
12051 * gdb.cp/m-static.cc (method): New method.
12052 (main): Call it.
12053
00ae8fef
SW
120542010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
12055
12056 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
12057 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
12058
759f0f0b
PA
120592010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12060
21e24d21
PA
12061 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
12062
120632010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
12064
759f0f0b
PA
12065 * lib/gdb.exp (skip_stl_tests): New.
12066 (gdb_compile): Symbian needs -ldl.
12067 (shlib_target_file): New.
12068 (shlib_symbol_file): New.
12069 (gdb_load_shlibs): Use shlib_target_file.
12070 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
12071 * gdb.cp/exception.exp: Use skip_stl_tests.
12072 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
12073 * gdb.cp/try_catch.exp: Use skip_stl_tests.
12074 * gdb.cp/mb-templates.exp: Ditto.
12075 * gdb.base/commands.exp: Relax regexes.
12076 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
12077 shlib_target_file and shlib_symbol_file.
12078 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
12079 sections.
12080 * gdb.base/ending-run.exp: Accept E32Main for symbian.
12081 * gdb.base/solib-disc.exp: Use
12082 shlib_target_file and shlib_symbol_file.
12083 * gdb.base/unload.exp: Don't skip on symbian. Use
12084 shlib_target_file and shlib_symbol_file.
12085 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
12086
6a8f2671 120872010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 12088
6a8f2671
PA
12089 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
12090 * gdb.trace/report.exp: Adjust for x86 and x86_64.
12091 Issue a tfind end before looking for a tracepoint frame.
12092 * gdb.trace/tfind.exp: Adjust tstatus output.
12093 Adjust disassembly output.
12094 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
12095
ccf26247
JK
120962010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12097
12098 * gdb.base/break-interp.exp: Create new displacement parameter value
12099 for the test_ld calls.
12100 (reach): New parameter displacement, verify its content. New push of
12101 pf_prefix "reach-$func:". Import global expect_out.
12102 (test_core): New parameter displacement, verify its content. New push
12103 of pf_prefix "core:". New command "set verbose on". Import global
12104 expect_out.
12105 (test_attach): New parameter displacement, verify its content. New
12106 push of pf_prefix "attach:". New command "set verbose on". Import
12107 global expect_out.
12108 (test_ld): New parameter displacement, pass it to the reach, test_core
12109 and test_attach calls and verify its content in the "ld.so exit" test.
12110 * gdb.base/prelink.exp: Remove gdb_exit and final return.
12111 (prelink): Update expected text, use gdb_test.
12112
e469c7fb
DE
121132010-03-10 Doug Evans <dje@google.com>
12114
12115 * gdb.base/checkpoint.exp: Fix comment.
12116 Lengthen timeout while doing >600 checkpoints test.
12117 Rename duplicate "kill all one" test to keep test names unique.
12118
60e1c644
PA
121192010-03-10 Pedro Alves <pedro@codesourcery.com>
12120
12121 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
12122
cec808ec
KS
121232010-03-08 Keith Seitz <keiths@redhat.com>
12124
889bf7c5
PA
12125 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
12126 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
12127 (dm_type_long): New function.
12128 (dm_type_unsigned_short): New function.
12129 (dm_type_unsigned_long): New function.
12130 (myint): New typedef.
12131 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
12132 long, unsigned shor and long, operator char*, and typedef.
12133 (test_lookup_operator_functions): Add operator char* test.
12134 (test_paddr_operator_functions): Likewise.
12135 (test_paddr_overloaded_functions): Use probe values for
12136 short, long, and unsigned short and long.
12137 (test_paddr_hairy_functions): If the demangler probe detected
12138 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
12139 demangler.
12140 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
12141 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
12142 and "print null_pmf".
12143 Add test "ptype a.*pmf".
12144 * gdb.cp/overload.exp: Allow optional "int" to appear with
12145 "short" and "long".
12146 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
12147 long expect value for men_overload1arg.
12148 Allow "int" to appear with "short" and "long".
12149 When testing "info break", add argument for main (void).
12150 Also allow "int" to appear with "short" and "long".
12151 Ditto with "unsigned" and "long long".
cec808ec
KS
12152 * gdb.java/jmain.exp: Do not enclose methods names in single
12153 quotes.
12154 * gdb.java/jmisc.exp: Likewise.
12155 * gdb.java/jprint.exp: Likewise.
12156 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
12157
12158 From Jan Kratochvil <jan.kratochvil@redhat.com>:
12159 * gdb.cp/exception.exp (backtrace after first throw)
12160 (backtrace after second throw): Allow a namespace before __cxa_throw.
12161 (backtrace after first catch, backtrace after second catch): Allow
12162 a namespace before __cxa_begin_catch.
12163
12164 * gdb.cp/cpexprs.exp: New file.
12165 * gdb.cp/cpexprs.cc: New file.
12166
12167 From Daniel Jacobowitz <dan@codesourcery.com>
12168 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
12169 to use string_to_regexp.
12170 (ctor, dtor): New functions. Use them to match constructor
12171 and destructor function types.
12172 (Top level): Use runto_main.
12173
f870a310
TT
121742010-03-05 Tom Tromey <tromey@redhat.com>
12175
12176 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
12177 gdb.target_charset.
12178 (pp_ns.to_string): Likewise.
12179
0c199f28
KS
121802010-03-04 Keith Seitz <keiths@redhat.com>
12181
12182 * gdb.cp/overload.exp: Test that the filename portion of a linespec
12183 can be quoted. Test that both the filename and function/line
12184 portions can be quoted at the same time.
12185
c7437ca6
PA
121862010-03-04 Pedro Alves <pedro@codesourcery.com>
12187
12188 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
12189
b111b805
DE
121902010-03-03 Doug Evans <dje@google.com>
12191
24486cb7
DE
12192 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
12193 libc contains libpthread.
12194
b111b805
DE
12195 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
12196 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
12197 of gdb_compile. Add another pattern to match android backtrace.
12198
a0e0ef55
TT
121992010-03-03 Tom Tromey <tromey@redhat.com>
12200
12201 PR gdb/11345:
12202 * gdb.base/printcmds.exp (test_printf): Add test.
12203
1ba53b71
L
122042010-03-02 H.J. Lu <hongjiu.lu@intel.com>
12205
12206 * gdb.arch/amd64-byte.exp: New.
12207 * gdb.arch/amd64-dword.exp: Likewise.
12208 * gdb.arch/amd64-pseudo.c: Likewise.
12209 * gdb.arch/amd64-word.exp: Likewise.
12210 * gdb.arch/i386-byte.exp: Likewise.
12211 * gdb.arch/i386-pseudo.c: Likewise.
12212 * gdb.arch/i386-word.exp: Likewise.
12213
f5dff777
DJ
122142010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12215
12216 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
12217 types. Add structreg, bitfields, and flags registers.
12218 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
12219 registers.
12220
90884b2b
L
122212010-03-01 H.J. Lu <hongjiu.lu@intel.com>
12222
12223 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
12224 (load_description): Set architecture if defined.
12225
dc00d89f
PM
122262010-02-28 Phil Muldoon <pmuldoon@redhat.com>
12227
12228 * gdb.python/py-frame.exp: Add read_var block tests.
12229 * gdb.python/py-frame.c (block): New function.
12230
0e095b7e
JK
122312010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12232 Daniel Jacobowitz <dan@codesourcery.com>
12233
12234 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
12235
624f1a65
DM
122362010-02-25 David S. Miller <davem@davemloft.net>
12237
12238 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
12239 fix logic for setting all_syscalls_numbers.
12240
f3e9a817
PM
122412010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12242
12243 * Makefile.in: Add py-block and py-symbol.
12244 * gdb.python/py-symbol.exp: New File.
12245 * gdb.python/py-symtab.exp: New File.
12246 * gdb.python/py-block.exp: New File.
12247 * gdb.python/py-symbol.c: New File.
12248 * gdb.python/py-block.c: New File.
12249
f6bbabf0
PM
122502010-02-24 Phil Muldoon <pmuldoon@redhat.com>
12251
12252 PR python/11314
12253 * lib/gdb.exp (skip_python_tests): New function.
12254 * gdb.python/py-cmd.exp: Use skip_python_tests.
12255 * gdb.python/py-frame.exp: Likewise.
12256 * gdb.python/py-function.exp: Likewise.
12257 * gdb.python/py-prettyprint.exp: Likewise.
12258 * gdb.python/py-template.exp: Likewise.
12259 * gdb.python/py-type.exp: Likewise.
12260 * gdb.python/py-value.exp: Likewise.
12261
85d721b8
PA
122622010-02-22 Pedro Alves <pedro@codesourcery.com>
12263
12264 PR9605
12265
12266 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
12267
48e32051
TT
122682010-02-19 Tom Tromey <tromey@redhat.com>
12269
12270 PR c++/8693, PR c++/9496:
12271 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
12272 regression tests.
12273
ac9c0048
JK
122742010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12275
12276 Fix compatibility with m68k as.
12277 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
12278 Use only /* comments */.
12279
57bb97a4
UW
122802010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12281
12282 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
12283 * configure: Regenerate.
12284
7d1bf85c
DJ
122852010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
12286
12287 * gdb.python/py-type.exp: Check for Python support.
12288
061b5285
PA
122892010-02-17 Pedro Alves <pedro@codesourcery.com>
12290
12291 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
12292 `regsub' syntax available.
12293
f8a8bc2c
PA
122942010-02-17 Pedro Alves <pedro@codesourcery.com>
12295
12296 * gdb.base/shmain.c (main): Remove printf call.
12297 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
12298 * gdb.base/unload.c (main): Make format of fprintf a string
12299 literal. Add missing endlines to prints to stderr.
12300 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
12301
6f451e5e
TT
123022010-02-17 Tom Tromey <tromey@redhat.com>
12303
12304 * gdb.java/jprint.java (jprint.props): New field.
12305 * gdb.java/jprint.exp (set_lang_java): Add regression test.
12306
12d79008
PA
123072010-02-17 Pedro Alves <pedro@codesourcery.com>
12308
ef801a0e 12309 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
12310 available.
12311
d252f7e5
DJ
123122010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12313
12314 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
12315 creation to support remote host testing.
12316
67bdab6c
DJ
123172010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12318
12319 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
12320 Recognize "command not found".
12321
bb391223
DJ
123222010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12323
12324 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
12325 single-stepping.
12326
70362913
DJ
123272010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12328
12329 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
12330 if arguments are not supported.
12331
493f3c00
DJ
123322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12333
12334 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
12335 be const or non-const.
12336
8034c749
DJ
123372010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12338
12339 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
12340 mi_send_resuming_command to send -exec-continue.
12341
791dfb64
DJ
123422010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12343
12344 * gdb.base/list.exp (test_list_filename_and_function): Add test
12345 with single quotes.
12346 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
12347 matching.
12348 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
12349 Add KFAIL'd tests for PR gdb/11289.
12350
7c5fe868
DJ
123512010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12352
12353 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
12354
fdc498b8
DJ
123552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12356
12357 * gdb.base/comp-dir/subdir/dummy.txt: New file.
12358 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
12359 a temporary directory.
12360
b519e2a6
DJ
123612010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
12362
12363 * gdb.base/charset.exp: Use a single regular expression to match
12364 show host-charset and show target-charset output.
12365
74164c56
JK
123662010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12367
12368 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
12369 "Illegal process-id" expect string more exact.
12370 (attach to digits-starting nonsense is prohibited): New.
12371
701ed6dc
JK
123722010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12373
12374 * gdb.base/prelink.exp (set verbose on): New.
12375
889bf7c5 123762010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
12377
12378 * mi-reverse.exp: New file. Test for reverse option to the
12379 following MI commands: exec-continue, exec-finish, exec-next,
12380 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 12381
dadf0e9c
JB
123822010-02-09 Joel Brobecker <brobecker@adacore.com>
12383
12384 * gdb.ada/ptype_tagged_param: New testcase.
12385
714f19d5
TT
123862010-02-08 Tom Tromey <tromey@redhat.com>
12387
12388 PR c++/8017:
12389 * gdb.cp/overload.exp: Add tests.
12390 * gdb.cp/overload.cc (struct K): New.
12391 (namespace N): New.
12392 (main): Call new functions.
12393 (K::staticoverload): Define.
12394
889bf7c5 123952010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
12396
12397 PR gdb/10728
12398 * gdb.cp/pr10728-x.h: New file.
12399 * gdb.cp/pr10728-x.cc: New file.
12400 * gdb.cp/pr10728-y.cc: New file.
12401 * gdb.cp/pr10728.exp: New file.
12402 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
12403
889bf7c5 124042010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
12405
12406 PR gdb/9067
12407 * gdb.cp/pr9067.exp: New
12408 * gdb.cp/pr9067.cc: New
12409 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
12410
7b356089
JB
124112010-02-08 Joel Brobecker <brobecker@adacore.com>
12412
12413 * lib/gdb.exp (gdb_test_timeout): New global variable.
12414 Set it to timeout if not already set.
12415 (gdb_init): Reset the value of timeout to gdb_test_timeout.
12416
1be00882
DE
124172010-02-05 Doug Evans <dje@google.com>
12418
12419 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
12420 user.
12421
82856980
SW
124222010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
12423
12424 PR c++/7935:
12425 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
12426
1a334831
TT
124272010-02-04 Tom Tromey <tromey@redhat.com>
12428
12429 * gdb.cp/virtbase.exp: Make test case names unique.
12430
9c3c02fd
TT
124312010-02-02 Tom Tromey <tromey@redhat.com>
12432
12433 * gdb.cp/virtbase.exp: Add regression tests.
12434 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
12435 (main): Instantiate RHC.
12436
0cc2414c
TT
124372010-02-02 Tom Tromey <tromey@redhat.com>
12438
12439 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
12440 type-printing change.
12441
edf3d5f3
TT
124422010-02-02 Tom Tromey <tromey@redhat.com>
12443
12444 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
12445 * gdb.cp/virtbase.cc: New file.
12446 * gdb.cp/virtbase.exp: New file.
12447 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
12448
e4b7f41c
JK
124492010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12450
12451 PR libc/11214:
12452 * gdb.threads/current-lwp-dead.c: Include features.h.
12453 (HAS_NOMMU): New.
12454 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
12455
b381ea14
JK
124562010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12457
12458 * gdb.base/symbol-without-target_section.exp,
12459 gdb.base/symbol-without-target_section.c: New.
12460
c593ac0e
DJ
124612010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12462
12463 * gdb.base/bigcore.exp: Reset increased timeout.
12464 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
12465
db25f29d
DJ
124662010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12467
12468 * gdb.base/gcore.exp (capture_command_output): Use
12469 gdb_test_multiple.
12470
f9d67f43
DJ
124712010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12472
12473 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
12474 * gdb.arch/thumb2-it.exp (test_it_break): New function.
12475 (Top level): Call it.
12476
177321bd
DJ
124772010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
12478
12479 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
12480
97f2ed50
DJ
124812010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12482
12483 * gdb.base/call-strs.exp, gdb.base/default.exp,
12484 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
12485 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
12486 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
12487 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
12488 gdb.base/watchpoint-solib.exp: Save and restore timeout.
12489 * gdb.base/ending-run.exp: Correct restore of timeout.
12490 * gdb.base/page.exp: Remove unnecessary timeout setting.
12491
e4e2711a
JB
124922010-01-29 Joel Brobecker <brobecker@adacore.com>
12493
12494 * gdb.ada/rec_return: New testcase.
12495
ba581dc1
JB
124962010-01-29 Joel Brobecker <brobecker@adacore.com>
12497
12498 * gdb.ada/call_pn: New testcase.
12499
4ea95be9
DJ
125002010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12501
12502 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
12503 (Top level): Use it to resume.
12504 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
12505 the Thumb mode displaced stepping error as unsupported.
12506
df83a9bf
SW
125072010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12508
889bf7c5
PA
12509 * gdb.cp/nsusing.exp: Added more tests.
12510 * gdb.cp/nsrecurs.exp: Ditto.
12511 * gdb.cp/nsusing.cc: Added test functions.
12512 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 12513
40b27cdc
JK
125142010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12515
12516 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12517 absolute directory pathnames in gdb.sum file.
12518
de958931
SW
125192010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12520
12521 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12522 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12523
708ead4e
TT
125242010-01-26 Tom Tromey <tromey@redhat.com>
12525
12526 PR exp/7643:
12527 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12528 setup_kfail.
12529
b14e635e
SW
125302010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12531
12532 * gdb.cp/nsrecurs.exp: New test.
12533 * gdb.cp/nsrecurs.cc: New test program.
12534 * gdb.cp/nsstress.exp: New test.
12535 * gdb.cp/nsstress.cc: New test program.
12536 * gdb.cp/nsdecl.exp: New test.
12537 * gdb.cp/nsdecl.cc: New test program.
12538
8540c487
SW
125392010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12540
12541 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12542 imported into file scope.
12543 Marked test as xfail.
12544 * gdb.cp/namespace-using.cc (marker5): New function.
12545 * gdb.cp/shadow.exp: New test.
12546 * gdb.cp/shadow.cc: New test program.
12547 * gdb.cp/nsimport.exp: New test.
12548 * gdb.cp/nsimport.cc: New test program.
12549
421d5d99
TT
125502010-01-25 Tom Tromey <tromey@redhat.com>
12551
12552 PR gdb/11049:
12553 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12554 with "set print null-stop on".
12555
691f8dc1
JK
125562010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12557
12558 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12559 Adjust it for DISASSEMBLY_OMIT_FNAME.
12560
0b92b5bb
TT
125612010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12562
12563 PR symtab/11199:
12564 * gdb.dwarf2/member-ptr-forwardref.exp,
12565 gdb.dwarf2/member-ptr-forwardref.S: New.
12566
23787403
JK
125672010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12568
12569 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12570 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12571 thread1_tid_mutex. Remove gdbstop_mutex handling.
12572 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12573 thread2_tid_mutex. Remove gdbstop_mutex handling.
12574 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12575 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12576 pthread_cond_wait conditionalizations by while loops.
12577
b966cb8a
TT
125782010-01-20 Tom Tromey <tromey@redhat.com>
12579
12580 PR backtrace/10770:
12581 * gdb.dwarf2/pr10770.exp: New file.
12582 * gdb.dwarf2/pr10770.c: New file.
12583 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12584
fcae584b
VP
125852010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12586
12587 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12588 that target was removed, and the test always runs native anyway.
12589
a0f49112
JK
125902010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12591
12592 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12593 gdb.base/watchpoint-cond-gone-stripped.c: New.
12594
ceeb3d5a
TT
125952010-01-19 Tom Tromey <tromey@redhat.com>
12596
12597 PR c++/8000:
12598 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12599 existing tests.
12600 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12601 (main): Use AAA::SomeEnum.
12602
dd322c54
JK
126032010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12604
12605 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12606 (test_ignore_count): Declare line_callme_body global.
12607 (run to breakpoint with ignore count): Use line_callme_body.
12608 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12609 (set line_main_hello, set line_main_return): Reindent.
12610 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12611 New.
12612 (continue to callee4): Use line_callee4_body.
12613 (check *stopped from CLI command): Use line_callee4_next.
12614 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12615 (set line_main_hello, set line_main_return): Reindent.
12616 (set line_callee4_head, set line_callee4_body): New.
12617 (continue to callee4): Use line_callee4_body.
12618
4e8f195d
TT
126192010-01-18 Tom Tromey <tromey@redhat.com>
12620
12621 PR c++/9680:
12622 * gdb.cp/casts.cc: Add new classes and variables.
12623 * gdb.cp/casts.exp: Test new operators.
12624
9e14a9ba
JB
126252010-01-18 Tom Tromey <tromey@redhat.com>
12626 Thiago Jung Bauermann <bauerman@br.ibm.com>
12627
12628 * gdb.python/source2.py: New file.
12629 * gdb.python/source1: New file.
12630 * gdb.python/python.exp: Test "source" command.
12631
00bf0b85
SS
126322010-01-15 Stan Shebs <stan@codesourcery.com>
12633
12634 * gdb.trace/tfile.c: New file.
12635 * gdb.trace/tfile.exp: New file.
889bf7c5 12636
55235ad7
JK
126372010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12638
12639 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12640
9f2982ff
JK
126412010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12642
12643 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12644
bbfba9ed
JK
126452010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12646
12647 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12648 (libfunc): New parameter action. Implement also selectable "sleep".
12649 * gdb.base/break-interp-main.c: Include assert.h.
12650 (libfunc): New parameter action.
12651 (main): New parameters argc and argv. Assert argc. Pass argv.
12652 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12653 (test_attach): New proc.
12654 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12655 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12656
61f0d762
JK
126572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12658
12659 * gdb.base/break-interp.exp (test_core): New proc.
12660 (test_ld): Call it.
12661
06a6f270
JK
126622010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12663
12664 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12665 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12666 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12667 and gdb_compile_shlib. Use new -Wl compiler options.
12668 (dl bt, main bt): New tests.
12669
51bee8e9
JK
126702010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12671
12672 Support PIEs with no symfile_objfile.
12673 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12674 (test_ld): New parameter trynosym.
12675 (test_ld <$trynosym>): New block.
12676
b8040f19
JK
126772010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12678
12679 * gdb.base/break-interp.exp: New file.
12680
be759fcf
PM
126812010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12682
12683 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12684 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12685 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12686 test.
12687 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12688 * gdb.python/py-mi.exp: Add lazy string test.
12689
dc146f7c
VP
126902010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12691
12692 * lib/mi-support.exp (mi_check_thread_states): Handle
12693 core number in thread listing.
12694
b4ba55a1
JB
126952010-01-12 Joel Brobecker <brobecker@adacore.com>
12696
12697 * gdb.base/maint.exp: Adjust the expected output for the
12698 "maint print type" test. Use gdb_test_multiple instead of
12699 gdb_sent/gdb_expect.
12700
08e24bd4
DE
127012010-01-11 Doug Evans <dje@google.com>
12702
6496a609
DE
12703 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12704 from gdbserver_download. All callers updated.
12705
08e24bd4
DE
12706 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12707
b5cfddf5
JK
127082010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12709
12710 Implement binary numbers parsing.
12711 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12712 (test_integer_literals_rejected): New binary tests.
12713
3725885a
RW
127142010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12715
12716 * gdb.cell/configure: Regenerate.
12717
37aeb5df
JK
127182010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12719
12720 * gdb.base/corefile.exp: Move the core finding block out and call it as
12721 core_find, new variable $corefile, replace corefile by $corefile and
12722 [file tail $corefile] for usage vs. test names resp.
12723 * lib/gdb.exp (core_find): Move it as a new function here. New
12724 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12725 $destcore. Return "" on error.
12726
d521f563
JK
127272010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12728
12729 Workaround PR binutils/10802.
12730 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12731 (twice).
12732
28f24826
DJ
127332010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12734
12735 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12736
2de75e71
JB
127372010-01-08 Joel Brobecker <brobecker@adacore.com>
12738
12739 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12740 call, to avoid interruption.
12741
fe00719b 127422010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
12743
12744 * gdb.stabs/weird.def (args93): New.
12745
d0ef5df8
DE
127462010-01-07 Doug Evans <dje@google.com>
12747
12748 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12749
3a08d52f
TT
127502010-01-07 Tom Tromey <tromey@redhat.com>
12751
12752 * gdb.base/source.exp: Use correct line number.
12753
7a697b8d
SS
127542010-01-05 Stan Shebs <stan@codesourcery.com>
12755
12756 * gdb.trace/tracecmd.exp: Test ftrace.
12757
7803799a
UW
127582010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12759
12760 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12761
c54eabfa
JK
127622010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12763
12764 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12765 "uint_for_mi_testing".
12766
02e7ef19
JB
127672010-01-01 Joel Brobecker <brobecker@adacore.com>
12768
12769 Test indented comment in file being sourced.
12770 * gdb.base/commands.exp: Test indented comment in file being sourced.
12771
abd775ce
JB
127722010-01-01 Joel Brobecker <brobecker@adacore.com>
12773
12774 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12775 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12776 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12777 notice.
12778
79b55b82
JB
127792010-01-01 Joel Brobecker <brobecker@adacore.com>
12780
12781 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12782 notice.
12783
8997583e
JK
127842010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12785
12786 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12787 missing $after_stopped and comma (,) expectation.
12788
6da95a67
SS
127892009-12-31 Stan Shebs <stan@codesourcery.com>
12790
12791 * gdb.trace/actions.exp: Test teval action.
889bf7c5 12792
218d2fc6
TJB
127932009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12794
12795 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12796 (top level): Call test_watchpoint_in_big_blob.
12797 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12798 watchpoints.
12799 (func3): Write to buf.
12800
236f1d4d
SS
128012009-12-29 Stan Shebs <stan@codesourcery.com>
12802
12803 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 12804
f61e138d
SS
128052009-12-28 Stan Shebs <stan@codesourcery.com>
12806
12807 * gdb.trace/tsv.exp: New file.
12808 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 12809
0219b378
DJ
128102009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12811
12812 * gdb.base/find.c (main): Reference search buffers.
12813 * gdb.base/included.c (main): Reference integer.
12814 * gdb.base/ptype.c (charfoo): Declare.
12815 (intfoo): Call charfoo.
12816 * gdb.base/scope0.c (useitp): New function.
12817 (usestatics): Use useitp.
12818 (useit): Add a type for val.
12819 * gdb.base/scope1.c (useit1): Take a pointer argument.
12820 (usestatics1): Update calls to useit1.
12821 * gdb.cp/call-c.cc: Declare foo.
12822 (main): Call foo.
12823 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12824 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12825 (main): Call C::ensureRefs and ensureOtherRefs.
12826 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12827 variables.
12828 (ensureOtherRefs): New function.
12829 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12830 * gdb.cp/templates.cc (main): Call t5i.value.
12831
3f78692f
JK
128322009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12833
12834 Fix compatibility with G++-4.5.
12835 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12836 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12837 (uncaught return): Remove.
12838
429374b8
JK
128392009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12840 Phil Muldoon <pmuldoon@redhat.com>
12841
12842 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12843 (bp_location13, bp_location14, bp_location17, bp_location18)
12844 (marker3_proto, marker4_proto): New variables.
12845 (breakpoint info): Update output.
12846 (run until breakpoint at marker3, run until breakpoint at marker4): New
12847 tests.
12848
859825b8
JK
128492009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12850
12851 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12852 Replace the printf call of Y by provided "y-set-1" label. New block
12853 for the second shared library.
12854 * gdb.base/unload.exp: Compile also the second library, call
12855 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12856 (single pending breakpoint info): Rename to ...
12857 (pending breakpoint info before run): ... this extended test.
12858 (libfile2, libname2, libsrcfile2, libsrc2)
12859 (lib_sl2): New variables.
12860 (exec_opts): Set also SHLIB_NAME2.
12861 (pending breakpoint info on first run at shrfunc1)
12862 (pending breakpoint info on second run at shrfunc1)
12863 (pending breakpoint info on second run at shrfunc2)
12864 (print y from libfile, print y from libfile2): New tests.
12865 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12866 * gdb.base/unloadshr2.c: New.
12867
e6a386cd
HZ
128682009-12-22 Hui Zhu <teawater@gmail.com>
12869
12870 * gdb.reverse/sigall-reverse.exp: Adjust.
12871
9e19b45e
VP
128722009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12873
12874 PR gdb/10884
12875
12876 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12877 (main): Call do_bitfield_tests.
aacf5b1e 12878 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 12879
d53a7b30
JB
128802009-12-20 Joel Brobecker <brobecker@adacore.com>
12881
12882 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12883 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12884 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12885 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12886 gdb.modula2/unbounded1.c: Update copyright header.
12887
191ca0a1
CM
128882009-12-10 Chris Moller <moller@mollerware.com>
12889
12890 PR gdb/9399
12891 * gdb.cp/virtfunc2.exp: New tests
12892 * gdb.cp/virtfunc2.cc: New tests
12893 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12894
0fa6cf1b
MS
128952009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12896
12897 * gdb.reverse/i387-env-reverse.c: New file.
12898 * gdb.reverse/i387-env-reverse.exp: New file.
12899 * gdb.reverse/i387-stack-reverse.c: New file.
12900 * gdb.reverse/i387-stack-reverse.exp: New file.
12901
361ae042
PM
129022009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12903
12904 * gdb.python/py-type.exp (test_range): New test.
12905
bfd31e71
PM
129062009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12907
12908 PR python/10805
12909
12910 * gdb.python/py-type.exp: New file.
12911 * gdb.python/py-type.c: New file.
12912 * Makefile.in: Add py-type.
12913
57a1d736
TT
129142009-12-03 Tom Tromey <tromey@redhat.com>
12915
12916 * gdb.python/py-value.exp (test_parse_and_eval): New
12917 function.
12918
1f3b5d1b
PP
129192009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12920
12921 PR gdb/11022
12922
12923 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
12924 * gdb.base/pr11022.c: New test.
12925
8b7dbdc9
JK
129262009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12927
12928 Fix spurious false FAILs.
12929 * gdb.base/structs.c (chartest): New.
12930 (main): Fill-in chartest.
12931 * gdb.base/structs.exp (anychar_re, first): New.
12932 (start_structs_test): Import global anychar_re and first.
12933 New gdb_test call "set print elements 300; ${testfile}"
12934 (start_structs_test <$first>): New block.
12935 (any): Import global anychar_re. New variable ac. Use ${ac}.
12936
6a53b2ec
JK
129372009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12938
12939 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12940
d7167b4c
JK
129412009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12942
12943 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12944 Force $srcfile file.
12945 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12946
b1798462
UW
129472009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12948
12949 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12950 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12951 * gdb.threads/watchthreads-reorder.exp: Likewise.
12952
b6199126
DJ
129532009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12954
12955 PR gdb/8704
12956
12957 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12958 "if", and "thread". Correct matching in the previous test.
12959
b22a0510
DJ
129602009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12961
12962 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12963
930636d2
MS
129642009-11-23 Michael Snyder <msnyder@vmware.com>
12965
12966 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12967 * gdb.reverse-watch-precsave.exp: Ditto.
12968
21a0512e
PP
129692009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12970
12971 * gdb.asm/asm-source.exp: Adjust.
12972 * gdb.base/help.exp: Adjust.
889bf7c5 12973
fc30d5e0
PA
129742009-11-22 Pedro Alves <pedro@codesourcery.com>
12975
12976 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12977 (do_syscall_tests_without_xml): Set data-directory to
12978 /the/path/to/nowhere.
12979
f6bc2008
PA
129802009-11-21 Pedro Alves <pedro@codesourcery.com>
12981
12982 * gdb.threads/local-watch-wrong-thread.c,
12983 gdb.threads/local-watch-wrong-thread.exp: New files.
12984
8c2fb5de
PA
129852009-11-21 Pedro Alves <pedro@codesourcery.com>
12986
12987 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12988 assume new `regsub' syntax available.
12989
ebec9a0f
PA
129902009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12991
a79d3c27
JK
12992 * gdb.base/watchpoint-hw-hit-once.exp,
12993 gdb.base/watchpoint-hw-hit-once.c: New.
12994
129952009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12996
12997 * gdb.threads/watchthreads-reorder.exp,
12998 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 12999
276a961b
MK
130002009-11-17 Nathan Sidwell <nathan@codesourcery.com>
13001
13002 * gdb.xml/tdesc-regs.exp: Use for m68k.
13003
4867c1fb
PA
130042009-11-15 Pedro Alves <pedro@codesourcery.com>
13005
13006 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
13007
f6838f81
DJ
130082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13009
13010 * lib/gdb.exp (current_target_name): New procedure.
13011 (gdb_wrapper_target): New variable.
13012 (gdb_wrapper_init): Set gdb_wrapper_target.
13013 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
13014 wrapper.
13015
4ac4dd3f
DJ
130162009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13017
13018 * gdb.base/remote.exp: Delete the slowest load test.
13019 Do not load with fixed packet sizes.
13020
a7881759
DJ
130212009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13022
13023 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
13024
97a5b505
DJ
130252009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13026
13027 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
13028 srcfile when setting a breakpoint.
13029
d3e1fc54
DJ
130302009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
13031
13032 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
13033 macros.
13034
7cbcbded
DJ
130352009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
13036
13037 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
13038 to be in memory.
13039 * gdb.base/display.c (force_mem): New.
13040 (do_loops): Use it. Add breakpoint comments.
13041 (do_vars): Add a breakpoint comment.
13042 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
13043 line numbers.
13044
bdea3a92
NF
130452009-11-13 Nathan Froyd <froydnj@codesourcery.com>
13046
13047 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
13048 instead of a bare "run".
13049
269f82e5
PP
130502009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
13051
13052 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 13053
a69b7d9d
DJ
130542009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13055
13056 * lib/cell.exp (skip_cell_tests): Clean up test files before
13057 returning.
13058
b598bfda
DJ
130592009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13060
13061 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
13062 and the breakpoint menu. Do not call perror if a prompt is seen.
13063 Consume the following GDB prompt.
13064 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
13065 * gdb.cp/namespace.exp: Use gdb_test.
13066 * gdb.cp/templates.exp: Use gdb_test.
13067 (test_template_breakpoints): Use gdb_test_multiple.
13068
87728fa0
DJ
130692009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13070
13071 * gdb.base/break1.c (struct some_struct, values): Move earlier.
13072 (marker4): Reference values.
13073
b67c692f
DJ
130742009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13075
13076 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
13077 is missing.
13078
f0df251a
DJ
130792009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13080
13081 * gdb.base/break.c (need_malloc): New.
13082 * gdb.base/constvars.c (main): Reference crass and crisp.
13083 * gdb.base/gdb1821.c (main): Reference bar.
13084 * gdb.cp/gdb1355.cc (main): Reference s1.
13085 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
13086 (main): Call them.
13087 * gdb.cp/hang2.cc (dummy2): Define.
13088 * gdb.cp/hang3.cc (dummy3): Define.
13089 * gdb.cp/m-data.cc (main): Reference shadow.
13090
bdf7534a
NF
130912009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
13092 Nathan Froyd <froydnj@codesourcery.com>
13093
13094 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
13095 remote host.
13096
f24fce77
NF
130972009-11-12 Nathan Froyd <froydnj@codesourcery.com>
13098
13099 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
13100 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
13101 * gdb.dwarf2/dw2-compressed.exp: Likewise.
13102 * gdb.dwarf2/dw2-intercu.exp: Likewise.
13103 * gdb.dwarf2/dw2-intermix.exp: Likewise.
13104 * gdb.dwarf2/dw2-producer.exp: Likewise.
13105 * gdb.dwarf2/mac-fileno.exp: Likewise.
13106 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
13107 py-prettyprint.py to the remote host.
13108 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
13109
40f0318e
KS
131102009-11-11 Keith Seitz <keiths@redhat.com>
13111
13112 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
13113 use it instead of "Foo".
13114 * gdb.cp/classes.exp (do_tests): Add a test to access
13115 a method through a typedef'd class name.
13116
f3d9f7fb
NF
131172009-11-11 Nathan Froyd <froydnj@codesourcery.com>
13118
13119 * gdb.base/long_long.exp: Permit leading zeros on floating-point
13120 exponents.
13121 * gdb.base/pointers.exp: Likewise.
13122 * gdb.cp/ref-types.exp: Likewise.
13123
a4216f37
KS
131242009-11-11 Keith Seitz <keiths@redhat.com>
13125
13126 * gdb.cp/cplusfuncs.cc (class foo): Add operators
13127 new[] and delete[].
13128 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
13129 "void".
13130 (probe_demangler): Remove all single-quoting of
13131 method and variable names.
13132 (info_func_regexp): Remove the word "void" from any
13133 occurrence of "(void)".
13134 (print_addr_2): Remove all single-quoting of
13135 method names.
13136 (print_addr_2_kfail): Likewise.
13137 (print_addr): Single-quote C function names before
13138 passing to print_addr_2.
13139 (test_paddr_operator_functions): Remove single-quoting
13140 for method names.
13141 Add tests for operator new[] and operator delete[].
13142
9b14d7aa
JK
131432009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13144
13145 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
13146
85feb311
KS
131472009-11-09 Keith Seitz <keiths@redhat.com>
13148
13149 * gdb.cp/overload.exp: Add tests for resolving overloaded
13150 methods in expression parsing/evaluation.
13151
fa335448
DJ
131522009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
13153
13154 * lib/gdb.exp (default_gdb_version): Use --version instead of
13155 --command.
13156
ec3c07fc
NS
131572009-11-10 Nathan Sidwell <nathan@codesourcery.com>
13158
13159 * lib/gdb.exp (gdb_compile_test): New.
13160 (skip_ada_tests, skip_java_tests): New.
13161 (gdb_compile): Use gdb_compile_test for f77.
13162 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
13163 * lib/java.exp (compile_java_from_source): Remove runtests check,
13164 use gdb_compile_test to record result.
13165 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
13166 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
13167 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
13168 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
13169 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
13170 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
13171 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
13172 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
13173 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
13174 adjust gdb_compile invocations.
13175
b8b4e42b
JK
131762009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13177
13178 * Makefile.in (abs_builddir): New.
13179 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
13180 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
13181 `$(abs_builddir)/site.exp'.
13182
f8b7eaf3
DJ
131832009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
13184
13185 * config/m68k-emc.exp, lib/emc-support.exp,
13186 gdb.trace/gdb_c_test.c: Delete.
13187 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
13188 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13189 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13190 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13191 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13192 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
13193 casing for m68k-*-elf.
13194
c4187697
NS
131952009-11-03 Pedro Alves <pedro@codesourcery.com>
13196
13197 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
13198 * gdb.arch/i386-prologue.exp: Likewise.
13199 * gdb.arch/i386-unwind.exp: Likewise.
13200
db16b772
DJ
132012009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13202
13203 * lib/gdb.exp (gdb_expect): Fix timeout typo.
13204
bcf71277
DJ
132052009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13206
13207 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
13208
0105cee2
DJ
132092009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
13210
13211 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
13212
24ddea62
JK
132132009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13214
13215 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
13216
287ccc17
JK
132172009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13218
13219 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
13220 * gdb.base/sepdebug2.c: New file.
13221
08bca259 132222009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
13223
13224 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
13225 the modified warnings for catch syscall. Verify if GDB was compiled
13226 with support for lib expat, and choose which tests to run depending
13227 on this.
13228
5d4e2b76
VP
132292009-10-30 Vladimir Prus <vladimir@codesourcery.com>
13230
13231 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
13232 that composite commands are parsed OK. And also test
13233 that breakpoint commands do work.
13234
240e538a
MS
132352009-10-23 Michael Snyder <msnyder@vmware.com>
13236
13237 gdb.reverse/consecutive-precsave.exp: Change expect pattern
13238 to allow for new disassembly style.
13239
9c419145
PP
132402009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13241
13242 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 13243
02506ff1
MS
132442009-10-22 Michael Snyder <msnyder@vmware.com>
13245
13246 * gdb.reverse/break-precsave.exp: New test.
13247 * gdb.reverse/consecutive-precsave.exp: Ditto.
13248 * gdb.reverse/finish-precsave.exp: Ditto.
13249 * gdb.reverse/i386-precsave.exp: Ditto.
13250 * gdb.reverse/machinestate-precsave.exp: Ditto.
13251 * gdb.reverse/sigall-precsave.exp: Ditto.
13252 * gdb.reverse/solilb-precsave.exp: Ditto.
13253 * gdb.reverse/step-precsave.exp: Ditto.
13254 * gdb.reverse/until-precsave.exp: Ditto.
13255 * gdb.reverse/watch-precsave.exp: Ditto.
13256
4cf866a3
MS
132572009-10-22 Michael Snyder <msnyder@vmware.com>
13258
13259 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
13260 for gdb_expect. Adjust one test's expect strings for the new
13261 format of disassemble.
13262 * gdb.reverse/finish-reverse.exp: Delete 'return'.
13263 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
13264 gdb_test_multiple.
13265 * gdb.reverse/step-reverse.exp: Delete 'return'.
13266 * gdb.reverse/until-reverse.exp: Delete blank lines.
13267 * gdb.reverse/watch-reverse.exp: Delete blank lines.
13268
2b28d209
PP
132692009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
13270
13271 * gdb.base/consecutive.exp: Adjust.
13272 * gdb.base/display.exp: Likewise.
13273 * gdb.base/pc-fp.exp: Likewise.
13274 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 13275
33b9c32b
MS
132762009-10-19 Michael Snyder <msnyder@vmware.com>
13277
13278 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
13279 * gdb.reverse/finish-reverse.c: Ditto.
13280 * gdb.reverse/sigall-reverse.c: Ditto.
13281 * gdb.reverse/solib-reverse.c: Ditto.
13282 * gdb.reverse/step-reverse.c: Ditto.
13283 * gdb.reverse/watch-reverse.c: Ditto.
13284
6c95b8df
PA
132852009-10-19 Pedro Alves <pedro@codesourcery.com>
13286 Stan Shebs <stan@codesourcery.com>
13287
13288 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
13289 * gdb.base/foll-exec.exp: Adjust to expect a process id before
13290 "Executing new program".
13291 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
13292 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
13293 left listed after having been killed.
13294 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
13295 * gdb.base/maint.exp: Adjust test.
13296
13297 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
13298 * gdb.multi/Makefile.in: New.
13299 * gdb.multi/base.exp: New.
13300 * gdb.multi/goodbye.c: New.
13301 * gdb.multi/hangout.c: New.
13302 * gdb.multi/hello.c: New.
13303 * gdb.multi/bkpt-multi-exec.c: New.
13304 * gdb.multi/bkpt-multi-exec.exp: New.
13305 * gdb.multi/crashme.c: New.
13306
279017b7
TG
133072009-10-13 Tristan Gingold <gingold@adacore.com>
13308
13309 * gdb.base/sepdebug.exp: Check debug info are found.
13310
0413d738
PA
133112009-10-08 Pedro Alves <pedro@codesourcery.com>
13312
13313 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
13314 bits.
13315
c628eecc
JK
133162009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13317
13318 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
13319
38af1bfe
JB
133202009-10-07 Joel Brobecker <brobecker@adacore.com>
13321
13322 * gdb.base/watchpoints.c: Add copyright header. Reformat one
13323 of the comments.
13324
2b0adecd
PM
133252009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
13326
13327 * gdb.base/annota1.exp: Remove obsolete match_max increase.
13328 * gdb.base/annota3.exp: Idem.
13329 * gdb.base/maint.exp: Idem.
13330
8d417781
PM
133312009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
13332
889bf7c5 13333 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
13334 to default.
13335
bb61102d
PM
133362009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13337
889bf7c5 13338 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
13339 mingw and cygwin targets.
13340
ace5c364
PM
133412009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
13342 Pedro Alves <pedro@codesourcery.com>
13343
889bf7c5 13344 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
13345 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
13346
c2d494a0
PM
133472009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13348
e1b52ce2
PM
13349 * gdb.base/shr1.c: Use %p in format string.
13350 * gdb.base/unload.c: Avoid warning in fprintf.
13351 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 13352
209f53f5
PM
133532009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
13354
13355 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
13356 long type.
13357 (test_unlink): Correct printf string.
13358 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
13359 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
13360
8172766a
JK
133612009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13362
13363 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
13364 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
13365 * gdb.arch/ia64-breakpoint-shadow.S: New file.
13366
0f73703c
UW
133672009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13368
13369 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
13370 * gdb.objc/nondebug.exp: Likewise.
13371
b32306ca
UW
133722009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13373
13374 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
13375 target_info setting.
13376
13377 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
13378 that detect new threads during "info threads".
13379
0057022f
UW
133802009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13381
13382 * gdb.threads/manythreads.c (main): Increase thread stack size
13383 to 2*PTHREAD_STACK_MIN.
13384 * gdb.threads/multi-create.c (main): Likewise.
13385 (create_function): Likewise.
13386
f29c0325
UW
133872009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13388
13389 * gdb.base/dump.exp: Pass difference of pointer types instead
13390 of integer types as offset to restore in intarr3.srec case.
13391
fcb34849
UW
133922009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13393
13394 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
13395
d5142e3b
UW
133962009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13397
13398 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
13399
087b74b2 134002009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 13401
087b74b2
PM
13402 New test for two watchpoints, with disabling of
13403 the first inserted.
13404 * testsuite/gdb.base/watchpoints.c: New file.
13405 * testsuite/gdb.base/watchpoints.exp: New file.
13406
96c07c5b
TT
134072009-09-25 Tom Tromey <tromey@redhat.com>
13408
13409 * gdb.base/charset.exp: Test utf-16 strings with Python.
13410
b8899f2b
TT
134112009-09-25 Tom Tromey <tromey@redhat.com>
13412
13413 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
13414 UCS-4.
13415 * gdb.base/charset.c (utf_32_string): Rename.
13416 (init_utf32): Rename.
13417 (main): Update.
13418
329719ec
TT
134192009-09-22 Tom Tromey <tromey@redhat.com>
13420
13421 * gdb.python/py-function.exp: Add regression tests.
13422
11ef0d76
KS
134232009-09-21 Keith Seitz <keiths@redhat.com>
13424
13425 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
13426 with invalid operator.
13427
3fe8f3b3
KS
134282009-09-21 Keith Seitz <keiths@redhat.com>
13429
13430 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
13431 and destructor using typedef name of class.
13432 * gdb.cp/classes.cc (class Base1): Add a destructor.
13433 (base1): New typedef.
13434 (use_methods): Instanitate an object of type base1.
13435 * gdb.cp/templates.exp (test_template_typedef): New procedure.
13436 (do_tests): Call test_template_typedef.
13437 * gdb.cp/templates.cc (Baz::~Baz): New method.
13438 (intBazOne): New typedef.
13439 (main): Instantiate intBazOne.
13440
7a9fe101
PM
134412009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13442
13443 PR python/10633
13444
13445 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
13446 Function.
13447 (run_lang_tests): Add print elements test.
13448
2e4d963f
PM
134492009-09-21 Phil Muldoon <pmuldoon@redhat.com>
13450
13451 * gdb.python/py-value.exp (test_subscript_regression): New
13452 function. Test for invalid subscripts.
13453 * gdb.python/py-value.c (main): Add test array, and pointer to it.
13454 (ptr_ref): New function.
13455
ec7e75e7
PP
134562009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13457
13458 * gdb.base/default.exp: Fix "show convenience".
13459
0cc7d26f
TT
134602009-09-15 Tom Tromey <tromey@redhat.com>
13461
13462 * lib/mi-support.exp (mi_create_varobj): Update.
13463 (mi_create_floating_varobj): Likewise.
13464 (mi_create_dynamic_varobj): New proc.
13465 (mi_varobj_update): Update.
13466 (mi_varobj_update_with_type_change): Likewise.
13467 (mi_varobj_update_kv_helper): New proc.
13468 (mi_varobj_update_dynamic_helper): Rewrite.
13469 (mi_varobj_update_dynamic): New proc.
13470 (mi_list_varobj_children): Update.
13471 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
13472 * gdb.python/python-prettyprint.py (pp_outer): New class.
13473 (pp_nullstr): Likewise.
13474 (lookup_function): Register new printers.
13475 * gdb.python/python-prettyprint.c (struct substruct): New type.
13476 (struct outerstruct): Likewise.
13477 (substruct_test): New function.
13478 (struct nullstr): New type.
13479 (string_1, string_2): New globals.
13480 (main): Add new tests.
13481 * gdb.python/python-mi.exp: Added regression tests.
13482 * gdb.mi/mi2-var-display.exp: Update.
13483 * gdb.mi/mi2-var-cmd.exp: Update.
13484 * gdb.mi/mi2-var-child.exp: Update.
13485 * gdb.mi/mi2-var-block.exp: Update.
13486 * gdb.mi/mi-var-invalidate.exp: Update.
13487 * gdb.mi/mi-var-display.exp: Update.
13488 * gdb.mi/mi-var-cmd.exp: Update.
13489 * gdb.mi/mi-var-child.exp: Update.
13490 * gdb.mi/mi-var-block.exp: Update.
13491 * gdb.mi/mi-break.exp: Update.
13492 * gdb.mi/gdb701.exp: Update.
13493
a96d9b2e
SDJ
134942009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
13495
13496 * Makefile.in: Inclusion of catch-syscall object.
13497 * gdb.base/catch-syscall.c: New file.
13498 * gdb.base/catch-syscall.exp: New file.
13499
b43b923a
MS
135002009-09-12 Michael Snyder <msnyder@vmware.com>
13501
13502 * gdb.reverse/step-reverse.exp: Explicitly check for targets
13503 that can support reverse debuggnig.
13504
cec03d70
TT
135052009-09-11 Tom Tromey <tromey@redhat.com>
13506
13507 * gdb.dwarf2/valop.S: New file.
13508 * gdb.dwarf2/valop.exp: New file.
13509
e23bb3fc
MK
135102009-09-11 Mark Kettenis <kettenis@gnu.org>
13511
13512 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13513
37c3696d
DE
135142009-09-10 Doug Evans <dje@google.com>
13515
13516 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13517 Add $gdb_prompt to second breakpoint regexp.
13518
5172aecb
JB
135192009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13520
13521 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13522 names, add missing ones.
13523 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13524 * gdb.python/py-frame.c: Rename from python-frame.c.
13525 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13526 testfile name.
13527 * gdb.python/py-function.exp: Rename from python-function.exp.
13528 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13529 testfile name.
13530 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13531 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13532 Adjust testfile name.
13533 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13534 * gdb.python/py-template.cc: Rename from python-template.cc.
13535 * gdb.python/py-template.exp: Rename from python-template.exp.
13536 Adjust testfile name.
13537 * gdb.python/py-value.c: Rename from python-value.c.
13538 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13539 testfile name.
13540
b554e4bd
JK
135412009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13542
13543 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13544 $bpt2address.
13545 (Second breakpoint address is valid on ia64)
13546 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13547
9a68ae16
JM
135482009-09-03 Joseph Myers <joseph@codesourcery.com>
13549
13550 * gdb.base/ending-run.exp: Restrict regular expression matching
13551 line number to require closing brace following.
13552
146b9145
DE
135532009-09-03 Doug Evans <dje@google.com>
13554
13555 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13556
787d21e1
TT
135572009-09-02 Tom Tromey <tromey@redhat.com>
13558
13559 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13560
e7802207
TT
135612009-09-02 Tom Tromey <tromey@redhat.com>
13562
13563 * gdb.dwarf2/callframecfa.exp: New file.
13564 * gdb.dwarf2/callframecfa.S: New file.
13565
817aadd2
JK
135662009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13567
13568 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13569 gdb.base/solib-overlap-main.c: New.
13570
4a76eae5
DJ
135712009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13572
13573 PR gdb/10565
13574
13575 * gdb.base/bitfields.c (struct container, container): New.
13576 (main): Initialize it and call break5.
13577 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13578
d4b96c9a
JK
135792009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13580
13581 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13582 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13583
4e22772d
JK
135842009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13585
13586 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13587
2efab443
MS
135882009-08-26 Michael Snyder <msnyder@vmware.com>
13589
13590 * gdb.base/i386-reverse.c: New file.
13591 * gdb.base/i386-reverse.exp: New file.
13592 * gdb.base/Makefile.in: Add new files to be removed.
13593
07ab73a0
JM
135942009-08-26 Joseph Myers <joseph@codesourcery.com>
13595
13596 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13597 environment-pwd for remote host.
13598 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13599
676accff
KS
136002009-08-24 Keith Seitz <keiths@redhat.com>
13601
13602 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13603 Add two new C++ completer tests which limit the output to a
889bf7c5 13604 given class.
676accff 13605
f9f7ad22
MS
136062009-08-24 Michael Snyder <msnyder@vmware.com>
13607
13608 * gdb.base/del.exp: Fix typo in comment.
13609 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13610
81ecdfbb
RW
136112009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13612
13613 * configure: Regenerate.
13614 * gdb.hp/configure: Likewise.
13615 * gdb.hp/gdb.aCC/configure: Likewise.
13616 * gdb.hp/gdb.base-hp/configure: Likewise.
13617 * gdb.hp/gdb.compat/configure: Likewise.
13618 * gdb.hp/gdb.defects/configure: Likewise.
13619 * gdb.hp/gdb.objdbg/configure: Likewise.
13620 * gdb.stabs/configure: Likewise.
13621
cab0c772
UW
136222009-08-19 Doug Evans <dje@google.com>
13623
13624 * gdb.base/gdbvars.c: New file.
13625 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13626
b8fa0bfa
PA
136272009-08-14 Pedro Alves <pedro@codesourcery.com>
13628
13629 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13630 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13631
b84aa90a
PA
136322009-08-13 Pedro Alves <pedro@codesourcery.com>
13633
13634 * gdb.base/default.exp: Adjust "set language test": it's now an
13635 enum command. Larger help string moved to "help set language".
13636 * gdb.base/help.exp: Adjust "help set language" expected output,
13637 now lists all known languages.
13638
0d8f9b2c
NF
136392009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13640
13641 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13642 all frame arguments.
13643 * gdb.arch/altivec-regs.exp: Likewise.
13644
bda180e0
TT
136452009-08-07 Tom Tromey <tromey@redhat.com>
13646
13647 * gdb.base/setshow.exp: Add tests for changes to set language, set
13648 check range, and set check type.
13649
48cb2d85
VP
136502009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13651
13652 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13653 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 13654 Call it.
48cb2d85 13655
1ea34204
UW
136562009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13657
13658 * configure.ac: Run gdb.cell tests when appropriate.
13659 * configure: Regenerate.
13660 * lib/cell.exp: New file.
13661 * gdb.cell: New directory.
13662 * gdb.cell/configure.ac: New file.
13663 * gdb.cell/configure: New file.
13664 * gdb.cell/Makefile.in: New file.
13665 * gdb.cell/arch.exp: New file.
13666 * gdb.cell/break.c: New file.
13667 * gdb.cell/break.exp: New file.
13668 * gdb.cell/break-spu.c: New file.
13669 * gdb.cell/bt.c: New file.
13670 * gdb.cell/bt2-spu.c: New file.
13671 * gdb.cell/bt-spu.c: New file.
13672 * gdb.cell/bt.exp: New file.
13673 * gdb.cell/coremaker.c: New file.
13674 * gdb.cell/coremaker-spu.c: New file.
13675 * gdb.cell/core.exp: New file.
13676 * gdb.cell/gcore.exp: New file.
13677 * gdb.cell/data.c: New file.
13678 * gdb.cell/data.exp: New file.
13679 * gdb.cell/data-spu.c: New file.
13680 * gdb.cell/ea-cache.exp: New file.
13681 * gdb.cell/ea-cache.c: New file.
13682 * gdb.cell/ea-cache-spu.c: New file.
13683 * gdb.cell/ea-standalone.c: New file.
13684 * gdb.cell/ea-standalone.exp: New file.
13685 * gdb.cell/ea-test.c: New file.
13686 * gdb.cell/ea-test.exp: New file.
13687 * gdb.cell/f-regs.exp: New file.
13688 * gdb.cell/mem-access.c: New file.
13689 * gdb.cell/mem-access.exp: New file.
13690 * gdb.cell/mem-access-spu.c: New file.
13691 * gdb.cell/ptype.exp: New file.
13692 * gdb.cell/registers.exp: New file.
13693 * gdb.cell/size.c: New file.
13694 * gdb.cell/sizeof.exp: New file.
13695 * gdb.cell/size-spu.c: New file.
13696 * gdb.cell/solib.exp: New file.
13697 * gdb.cell/solib-symbol.exp: New file.
13698
85e747d2
UW
136992009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13700
13701 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13702
58d6951d
DJ
137032009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13704
13705 * gdb.base/float.exp: Handle VFP registers.
13706
6e0a4f15
MS
137072009-07-14 Michael Snyder <msnyder@vmware.com>
13708
dcd5da87
MS
13709 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13710 to bring gdb to the beginning of the calling line.
13711
6e0a4f15
MS
13712 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13713 confusing the i386 epilogue unwinder.
13714
782b2b07
SS
137152009-07-14 Stan Shebs <stan@codesourcery.com>
13716
13717 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13718
f662c3bc
MS
137192009-07-14 Michael Snyder <msnyder@vmware.com>
13720
13721 * gdb.reverse/step-reverse.exp (stepi into function call):
13722 Call instruction may not be first instruction in the line.
13723 (reverse stepi from a function call): Used wrong line number.
13724
8f313923
JK
137252009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13726
13727 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13728
4662c76e
JK
137292009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13730
13731 Fix gdb.base/macscp.exp when using custom inputrc.
13732 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13733 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13734 env(TERM) set.
13735 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13736 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13737
aa81e255
JK
137382009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13739
13740 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13741 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13742 Change the compilation target to match the testcase name.
13743 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13744 testcase name.
13745 * a2-run.exp: Use for setup prepare_for_testing. Change the
13746 compilation target to match the testcase name.
13747 * gdb.base/commands.exp: Likewise.
13748 * gdb.base/finish.exp: Likewise.
13749 * gdb.base/float.exp: Likewise.
13750 * gdb.base/info-target.exp: Likewise.
13751 * gdb.base/relational.exp: Likewise.
13752 * gdb.base/term.exp: Likewise.
13753 * gdb.base/until.exp: Likewise.
13754 * gdb.base/volatile.exp: Likewise.
13755 * gdb.base/whatis-exp.exp: Likewise.
13756
4c93b1d7
HZ
137572009-07-11 Hui Zhu <teawater@gmail.com>
13758
13759 * gdb.base/help.exp (disassemble): Update expected help text.
13760
812f7342
TT
137612009-07-09 Tom Tromey <tromey@redhat.com>
13762
13763 * lib/gdb.exp: Handle TRANSCRIPT.
13764 (remote_spawn, remote_close, send_gdb): New procs.
13765
fbb8f299
PM
137662009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13767
13768 * gdb.python/python-prettyprint.c: Add counted null string
13769 structure.
13770 * gdb.python/python-prettyprint.exp: Print null string. Test for
13771 embedded nulls.
13772 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13773 * gdb.python/python-value.exp (test_value_in_inferior): Add
13774 variable length string fetch tests.
13775 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13776
c0ac0ec7
JK
137772009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13778
13779 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13780
30b66ecc
TT
137812009-07-07 Tom Tromey <tromey@redhat.com>
13782
13783 * gdb.base/call-rt-st.exp: Update for change to escape output.
13784 * gdb.base/callfuncs.exp: Likewise.
13785 * gdb.base/charset.exp: Likewise.
13786 * gdb.base/constvars.exp: Likewise.
13787 * gdb.base/long_long.exp: Likewise.
13788 * gdb.base/pointers.exp: Likewise.
13789 * gdb.base/printcmds.exp: Likewise.
13790 * gdb.base/setvar.exp: Likewise.
13791 * gdb.base/store.exp: Likewise.
13792 * gdb.cp/ref-types.exp: Likewise.
13793 * gdb.mi/mi-var-child.exp: Likewise.
13794 * gdb.mi/mi-var-display.exp: Likewise.
13795 * gdb.mi/mi2-var-display.exp: Likewise.
13796 * gdb.base/charset.exp: Test octal escape sequence length.
13797 Update for change to escape output.
13798
187c4a2b
JK
137992009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13800
13801 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13802
d80a43f9
DJ
138032009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13804
13805 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13806
047427a8
JK
138072009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13808
13809 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13810 gdbserver increasing $portnum if "Can't bind address" has been seen.
13811
8b5a0f4f
PA
138122009-07-05 Pedro Alves <pedro@codesourcery.com>
13813
13814 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13815 mingw32ce.
13816
7d93ba58
PA
138172009-07-05 Pedro Alves <pedro@codesourcery.com>
13818
13819 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13820 VFP format.
13821
2277426b
PA
138222009-07-02 Pedro Alves <pedro@codesourcery.com>
13823
13824 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13825 linux. Adjust to use "inferior", "info inferiors", "detach
13826 inferior" and "kill inferior" instead of "restart", "info fork",
13827 "detach fork" and "delete fork".
13828 * gdb.base/ending-run.exp: Spell out "info".
13829 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13830 the "kill" command.
13831
5af949e3
UW
138322009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13833
13834 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13835 change to prefix TLS offset in hex with 0x.
13836
5d3729b5
UW
138372009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13838
13839 * gdb.base/default.exp: Update test case for "x" changes.
13840
af589bd0
TG
138412009-07-01 Tristan Gingold <gingold@adacore.com>
13842
13843 * gdb.base/bigcore.exp: Make darwin untested.
13844
40974f91
JK
138452009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13846
13847 * gdb.base/completion.exp (directory completion): Create the directory.
13848 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13849 escapeuniquesub.
13850 (directory completion 2): Expect now ${escapeuniquesub}.
13851 (Glob remaining of directory test): Remove one excessive newline.
13852 Expect the real output.
13853
59dd3af6
JK
138542009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13855
13856 Fix `make check//%' target after `make check' has been ran.
13857 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13858 a mkdir call.
13859 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13860 (%/.dir): Remove.
13861
f4e164aa
JK
138622009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13863
13864 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13865 the expected result record.
13866
69af2122
JK
138672009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13868
13869 Remove racy FAILs relying just on the timeouts.
13870 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13871 (annotation_level 2): Remove racy FAILs.
13872
2fd481e1
PP
138732009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13874
13875 gdb/10275
889bf7c5
PA
13876 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13877
c38f313d
DJ
138782009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13879
13880 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13881
8b777f02
VP
138822009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13883
13884 * gdb.mi/mi-stack.exp: Testing symbolic options
13885 to -stack-list-locals and -stack-list-arguments.
13886
00c7eacf
JK
138872009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13888
13889 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13890
6bc80edc
TT
138912009-06-29 Tom Tromey <tromey@redhat.com>
13892
13893 * dg-extract-results.sh: New file.
13894 * Makefile.in (FORCE_PARALLEL): New variable.
13895 (CHECK_TARGET): New conditional variable.
13896 (check): Use CHECK_TARGET.
13897 (DO_RUNTEST): New variable.
13898 (check-single): New target.
13899 (TEST_DIRS): New variable.
13900 (TEST_TARGETS): Likewise.
13901 (check-parallel): New target.
13902 (check-gdb.%): New pattern.
13903 (BASE1_FILES): New variable.
13904 (BASE2_FILES): Likewise.
13905 (check-gdb.base%): New pattern.
13906 (%/.dir): New pattern.
13907 * configure: Rebuild.
13908 * aclocal.m4 (AM_CONDITIONAL): New defun.
13909 * configure.ac: Check whether user is using GNU make.
13910 (GMAKE): New conditional.
13911
794684b6
SW
139122009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13913
13914 * gdb.cp/namespace-nested-import.cc: New test.
13915 * gdb.cp/namespace-nested-import.exp: New test.
13916
edb3359d
DJ
139172009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13918
13919 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13920 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13921 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13922 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13923 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13924 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13925 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13926 gdb.opt/inline-markers.c: New files.
13927 * lib/gdb.exp (skip_inline_frame_tests): New function.
13928 (skip_inline_var_tests): New function.
13929
cf657a0c
AS
139302009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13931
13932 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13933 backtrace.
13934
28d41a99
MS
139352009-06-27 Michael Snyder <msnyder@vmware.com>
13936
13937 * gdb.reverse: New directory.
13938 * gdb.reverse/break-reverse.c: New test.
13939 * gdb.reverse/break-reverse.exp: New test.
13940 * gdb.reverse/consecutive-reverse.c: New test.
13941 * gdb.reverse/consecutive-reverse.exp: New test.
13942 * gdb.reverse/finish-reverse.c: New test.
13943 * gdb.reverse/finish-reverse.exp: New test.
13944 * gdb.reverse/machinestate.c: New test.
13945 * gdb.reverse/ms1.c: New test.
13946 * gdb.reverse/machinestate.exp: New test.
13947 * gdb.reverse/Makefile.in: New file.
13948 * gdb.reverse/shr2.c: New test.
13949 * gdb.reverse/solib-reverse.c: New test.
13950 * gdb.reverse/solib-reverse.exp: New test.
13951 * gdb.reverse/step-reverse.c: New test.
13952 * gdb.reverse/step-reverse.exp: New test.
13953 * gdb.reverse/until-reverse.c: New test.
13954 * gdb.reverse/ur1.c: New test.
13955 * gdb.reverse/until-reverse.exp: New test.
13956 * gdb.reverse/watch-reverse.c: New test.
13957 * gdb.reverse/watch-reverse.exp: New test.
13958 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13959 * configure: Regenerate.
13960
fe3c8b0d
DE
139612009-06-26 Doug Evans <dje@google.com>
13962
13963 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13964
3a72a602
PM
139652009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13966
13967 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13968 windows problem for 'file delete $binfile'.
13969
27aa8d6a
SW
139702009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13971
13972 * gdb.cp/namespace-using.exp: New test.
13973 * gdb.cp/namespace-using.cc: New test.
13974
8ac055f8
JB
139752009-05-20 Joel Brobecker <brobecker@adacore.com>
13976
13977 * gdb.ada/variant_record_packed_array: New testcase.
13978
85e306ed
TT
139792009-06-23 Tom Tromey <tromey@redhat.com>
13980
13981 * gdb.base/charset.exp (test_combination): Regression test.
13982 * gdb.base/charset.c (my_wchar_t): New typedef.
13983 (myvar): New global.
13984 (main): Set myvar.
13985
56643c5e
PM
139862009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13987
13988 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13989 target.
13990
1fac167a
UW
139912009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13992
13993 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13994
7ccb0be9
UW
139952009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13996
13997 * gdb.mi/gdb680.exp: Update test for error message.
13998
568d6575
UW
139992009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14000
14001 * gdb.base/annota1.exp: Allow multiple occurrences of the
14002 frames-invalid annotation.
14003 * gdb.cp/annota2.exp: Likewise.
14004
7cd1089b
PM
140052009-06-15 Phil Muldoon <pmuldoon@redhat.com>
14006
14007 * gdb.cp/gdb2495.cc: New file.
14008 * gdb.cp/gdb2495.exp: New file.
14009
72c63395
JK
140102009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14011
14012 Report error on GDB crash during runto.
14013 * lib/gdb.exp (runto <eof>): New.
14014
3788363d
DJ
140152009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
14016
14017 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
14018 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
14019 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
14020 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
14021 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
14022 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
14023 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
14024 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
14025 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
14026 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
14027 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
14028 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
14029 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14030 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
14031 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
14032 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
14033 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
14034 gdb.server/server-mon.exp, gdb.server/server-run.exp,
14035 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14036 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14037 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
14038 gdb.trace/passcount.exp, gdb.trace/report.exp,
14039 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
14040 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
14041 gdb.trace/while-stepping.exp: Use a unique name for the compiled
14042 executable.
14043
17592de3
PA
140442009-06-07 Pedro Alves <pedro@codesourcery.com>
14045
14046 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
14047 defined before referencing it.
14048
701e355d
DE
140492009-06-03 Doug Evans <dje@google.com>
14050
14051 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
14052 * gdb.arch/i386-see.c: Ditto.
14053
f2292c65
PM
140542009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
14055
14056 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
14057 (check_macro): Return 1 if undefined.
14058 If first test fails, check if macro debug information is available,
14059 and report unsupported test if no macro information is found.
14060
5a437975
DE
140612009-05-29 Doug Evans <dje@google.com>
14062
14063 * gdb.threads/hand-call-in-threads.exp: New.
14064 * gdb.threads/hand-call-in-threads.c: New.
14065
c141c696
MS
140662009-05-29 Michael Snyder <msnyder@vmware.com>
14067
14068 * gdb.base/break-always.exp: Change "1" to "on".
14069 Add confirmation check.
14070
b3444185
PA
140712009-05-28 Pedro Alves <pedro@codesourcery.com>
14072
14073 * gdb.threads/threxit-hop-specific.c: New.
14074 * gdb.threads/threxit-hop-specific.exp: New.
14075 * gdb.threads/thread-execl.c: New.
14076 * gdb.threads/thread-execl.exp: New.
14077
b6313243
TT
140782009-05-27 Tom Tromey <tromey@redhat.com>
14079 Thiago Jung Bauermann <bauerman@br.ibm.com>
14080
14081 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
14082 (mi_child_regexp): Likewise.
14083 (mi_list_varobj_children_range): Likewise.
14084 (mi_get_features): Likewise.
14085 (mi_list_varobj_children): Rewrite.
14086 * gdb.python/python-mi.exp: New file.
14087
a6bac58e
TT
140882009-05-27 Tom Tromey <tromey@redhat.com>
14089 Thiago Jung Bauermann <bauerman@br.ibm.com>
14090 Phil Muldoon <pmuldoon@redhat.com>
14091 Paul Pluzhnikov <ppluzhnikov@google.com>
14092
14093 * gdb.python/python-prettyprint.exp: New file.
14094 * gdb.python/python-prettyprint.c: New file.
14095 * gdb.python/python-prettyprint.py: New file.
14096 * gdb.base/display.exp: print/r is now valid.
14097
2c74e833
TT
140982009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
14099 Tom Tromey <tromey@redhat.com>
14100 Pedro Alves <pedro@codesourcery.com>
14101 Paul Pluzhnikov <ppluzhnikov@google.com>
14102
14103 * gdb.python/python-template.exp: New file.
14104 * gdb.python/python-template.cc: New file.
14105 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14106 tests.
14107 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14108 Call it.
14109 (test_value_after_death): New proc.
14110 * gdb.python/python-value.c (PTR): New typedef.
14111 (main): New variable 'x'.
14112
89c73ade
TT
141132009-05-27 Tom Tromey <tromey@redhat.com>
14114
14115 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
14116 tests.
14117 * gdb.python/python-value.exp (py_objfile_tests): New proc.
14118 Call it.
14119
a75724bc
PA
141202009-05-27 Pedro Alves <pedro@codesourcery.com>
14121
14122 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
14123
e58b0e63
PA
141242009-05-24 Pedro Alves <pedro@codesourcery.com>
14125
14126 * gdb.threads/fork-thread-pending.c: New.
14127 * gdb.threads/fork-thread-pending.exp: New.
14128
4ac36638
JK
141292009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14130
14131 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
14132 * gdb.dwarf2/dw2-strp.S (a_string2): New.
14133
889bf7c5 141342009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 14135
889bf7c5 14136 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 14137
b242c3c2
PA
141382009-05-17 Pedro Alves <pedro@codesourcery.com>
14139
14140 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
14141 `gdb_get_line_number'. Call `callee' in both parent and child.
14142 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
14143 `gdb_get_line_number' instead of hardcoding line numbers.
14144 (catch_fork_unpatch_child): New procedure to test detaching
14145 breakpoints from child fork.
14146 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
14147 hardcoding line numbers.
14148 (do_fork_tests): Run `catch_fork_unpatch_child'.
14149
ee342b23
VP
141502009-05-17 Vladimir Prus <vladimir@codesourcery.com>
14151
14152 * gdb.mi/mi-cmd-var.exp: Check that when varobj
14153 of structure type enters or leaves the scope, it
14154 is reported by -var-update.
14155
e2009e98
DE
141562009-05-11 Doug Evans <dje@sebabeach.org>
14157
14158 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 14159 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
14160 * gdb.threads/schedlock.c (main): Fix off-by-one error.
14161
00903456
JK
141622009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14163
14164 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
14165
dc621c35
DE
141662009-04-30 Doug Evans <dje@google.com>
14167
14168 * gdb.threads/watchthreads2.exp: New testcase.
14169 * gdb.threads/watchthreads2.c: New testcase.
14170
9ab4e744
DE
141712009-04-29 Doug Evans <dje@google.com>
14172
14173 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
14174 * gdb.cp/mb-ctor.cc: Ditto.
14175 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
14176 * gdb.cp/mb-inline.h (multi_line_foo): New function.
14177 * gdb.cp/mb-inline1.cc: Call it.
14178 * gdb.cp/mb-inline2.cc: Ditto.
14179 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
14180 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
14181
484086b7
JK
141822009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
14183
14184 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
14185 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
14186 Replace all uses of `decimal' by `nonzero'.
14187 (info macro FROM_COMMANDLINE): New test.
14188
379a77b5
TT
141892009-04-27 Tom Tromey <tromey@redhat.com>
14190
14191 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
14192
b92b73c2
DE
141932009-04-27 Doug Evans <dje@google.com>
14194
14195 * gdb.threads/watchthreads.c (main): Initialize args before starting
14196 the threads. Plus formatting cleanup.
14197 * gdb.threads/watchthreads.exp: Avoid errant failures due to
14198 biased scheduling of one thread.
14199
945a118d
JG
142002009-04-27 Jerome Guitton <guitton@adacore.com>
14201
14202 * gdb.cp/templates.cc (GetMax): New template.
14203 (main): Declare two instances of GetMax.
14204 * gdb.cp/templates.exp: Add new test.
14205
d389af10
JK
142062009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
14207
14208 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
14209
e7f86de9
JM
142102009-04-22 Joseph Myers <joseph@codesourcery.com>
14211
14212 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
14213
334cc82d
TT
142142009-04-15 Tom Tromey <tromey@redhat.com>
14215
14216 * gdb.base/charset.exp: Add regression test.
14217
d12672cc
JB
142182009-04-14 Joel Brobecker <brobecker@adacore.com>
14219
14220 * gdb.base/exe-lock.exp: New testcase.
14221
18e8c3bc
TT
142222009-04-13 Tom Tromey <tromey@redhat.com>
14223
14224 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
14225 operator on Frame.
14226
5ecd5cbe
UW
142272009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14228
14229 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
14230 * gdb.server/ext-attach.exp: Likewise.
14231
7309f756
VP
142322009-04-03 Vladimir Prus <vladimir@codesourcery.com>
14233
14234 Eliminate some sleep usage.
14235
889bf7c5
PA
14236 * gdb.mi/basics.c (do_nothing): New.
14237 (main): Use do_nothing instead of printf, so that
14238 not to introduce race condition between output of
14239 inferiour and output of gdb. Do not use sleep as it
14240 is not generally available on embedded targets.
7309f756 14241
f4b95f6f
PA
142422009-04-02 Pedro Alves <pedro@codesourcery.com>
14243
14244 * gdb.server/ext-attach.exp: Expect an optional process id after
14245 "Detached from remote process".
14246
de40b933
JK
142472009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14248
14249 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
14250 gdb.dwarf2/dw2-unresolved.exp: New.
14251
2ae101a4
PA
142522009-04-02 Pedro Alves <pedro@codesourcery.com>
14253
14254 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
14255 mi_run_to_main.
14256
56a8e183
PA
142572009-04-02 Pedro Alves <pedro@codesourcery.com>
14258
14259 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
14260 mi_run_to_main. Skip thread exit test on remote targets.
14261 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
14262 mi_run_to_main.
14263 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
14264 mi_run_to_main.
14265 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
14266 when expecting ^connected. Detect when the target doesn't support
14267 non-stop mode.
14268 (mi_run_cmd): Detect if non-stop mode was requested by isn't
14269 supported. Return -1 on error, 0 on success.
14270 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
14271 (mi_runto): Return mi_runto_helper's result explicitly.
14272
c35fafde
PA
142732009-04-01 Pedro Alves <pedro@codesourcery.com>
14274
14275 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
14276
f8a8dce6
JB
142772009-04-01 Tom Tromey <tromey@redhat.com>
14278
14279 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
14280 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
14281 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
14282 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
14283
71c25dea
TT
142842009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
14285 Jan Kratochvil <jan.kratochvil@redhat.com>
14286
14287 PR gdb/931
14288 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
14289 output.
14290 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
14291 for gdb/931.
14292 * dw2-strp.S (DW_AT_language): Change to C++.
14293 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
14294
02d9a9ce
JB
142952009-03-31 Joel Brobecker <brobecker@adacore.com>
14296
14297 * gdb.ada/tasks: New testcase.
14298
1042e4c0
SS
142992009-03-30 Stan Shebs <stan@codesourcery.com>
14300
14301 * gdb.trace/actions.exp: Update to match new info trace format.
14302 * gdb.trace/deltrace.exp: Ditto.
14303 * gdb.trace/infotrace.exp: Ditto.
14304 * gdb.trace/passcount.exp: Ditto.
14305 * gdb.trace/save-trace.exp: Ditto.
14306 * gdb.trace/while-stepping.exp: Ditto.
14307 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
14308
f8f6f20b
TJB
143092009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14310
14311 * gdb.python/python-frame.c: New file.
14312 * gdb.python/python-frame.exp: New file.
14313
c0c6f777
TJB
143142009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
14315
14316 * gdb.python/python-value.exp: Add tests for the address
14317 attribute.
14318
3cb51905
AS
143192009-03-29 Andreas Schwab <schwab@linux-m68k.org>
14320
14321 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
14322
88fc996f
DE
143232009-03-26 Doug Evans <dje@google.com>
14324
14325 * gdb.mi/mi-nonstop-exit.exp: New file.
14326 * gdb.mi/non-stop-exit.c: New file.
14327
56ef84b1
TT
143282009-03-26 Tom Tromey <tromey@redhat.com>
14329
14330 Update for change to prologue skipping:
14331 * gdb.mi/mi2-simplerun.exp: Update.
14332 * gdb.mi/mi2-break.exp: Update.
14333 * gdb.mi/mi-simplerun.exp: Update.
14334 * gdb.mi/mi-break.exp: Update.
14335 * gdb.base/ending-run.exp: Update.
14336
def2b000
TJB
143372009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
14338
14339 * gdb.python/python-value.exp (test_value_in_inferior): Test
14340 gdb.Value.is_optimized_out attribute.
14341
442ddf59
JK
143422009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
14343
14344 * gdb.dwarf2/dw2-noloc-main.c: New file.
14345 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
14346 (.text): Remove.
14347 (.data): New.
14348 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
14349 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
14350 (DW_TAG_subprogram func_cu1, noloc): Remove.
14351 (main): New.
14352 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
14353 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
14354 (file_symbols): New procedure.
14355
a8df5de4
TT
143562009-03-25 Tom Tromey <tromey@redhat.com>
14357
14358 * gdb.base/charset.exp (valid_target_charset): New proc.
14359 Use it to skip tests on invalid charsets.
14360
cc1d7add
PM
143612009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
14362
14363 * gdb.base/completion.exp: Add a test for directory completion.
14364
bcd5727b
JK
143652009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14366
14367 Fix a racy FAIL.
14368 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
14369 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
14370
cc924cad
TJB
143712009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
14372
14373 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
14374 * gdb.python/python-function.exp: Add test for function returning
14375 a GDB value.
14376
bc3b79fd
TJB
143772009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
14378
14379 * gdb.python/python-function.exp: New file.
14380
6c7a06a3
TT
143812009-03-20 Tom Tromey <tromey@redhat.com>
14382
14383 * gdb.base/store.exp: Update for change to escape output.
14384 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
14385 to escape output.
14386 * gdb.base/pointers.exp: Update for change to escape output.
14387 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
14388 to escape output.
14389 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
14390 escape output.
14391 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
14392 to escape output.
14393 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
14394 escape output.
14395 * gdb.base/setvar.exp: Update for change to escape output.
14396 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
14397 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
14398 to escape output.
14399 (test_print_string_constants): Likewise.
14400 * gdb.base/charset.exp (valid_host_charset): Check size of
14401 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
14402 cases. Handle "auto"-related output.
14403 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
14404 (uvar, Uvar): New globals.
14405
c31af87b
JG
144062009-03-19 Jerome Guitton <guitton@adacore.com>
14407
14408 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
14409 deltas.
14410 * gdb.ada/fixed_points.exp: Ditto.
14411
51272cf2
PA
144122009-03-18 Pedro Alves <pedro@codesourcery.com>
14413
14414 * return-nodebug.c: Don't include stdio.h.
14415 (init): Delete.
14416 (func): Delete definition and provide extern declaration.
14417 (t): New.
14418 (main): Don't call printf. Call func and store its result in t.
14419 * return-nodebug1.c: New.
14420 * return-nodebug.exp: Don't expect stdio output. Instead, print
14421 the global variable t. Drop printf formatters and cast types from
14422 foreach loop. Don't use prepare_for_testing. Compile
14423 return-nodebug.c and return-nodebug1.c in separate steps. Don't
14424 define FORMAT or CAST.
14425
d24948ac
PP
144262009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14427
14428 * gdb.base/solib-display.exp: Disable test for remote targers.
14429
61ff14c6
JK
144302009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14431
14432 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
14433
cb4dce93
JK
144342009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14435
14436 Fix a racy FAIL.
14437 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
14438 code from `follow parent, print pids'.
14439 (`follow child, print pids', `follow parent, print pids'): Call it.
14440 Replace `gdb_test "break..."' by gdb_breakpoint.
14441
f7c60c5e
VP
144422009-03-13 Vladimir Prus <vladimir@codesourcery.com>
14443
14444 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 14445 sync and async modes.
f7c60c5e 14446
383ace49
JB
144472009-03-12 Joel Brobecker <brobecker@adacore.com>
14448
14449 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
14450 that was checked in by mistake. Remove loading of ada.exp, since
14451 this is not necessary in this case.
14452
4ce102af
JB
144532009-03-12 Joel Brobecker <brobecker@adacore.com>
14454
14455 * gdb.ada/ptype_arith_binop.exp: New testcase.
14456
529a2aef
JB
144572009-03-12 Joel Brobecker <brobecker@adacore.com>
14458
14459 * gdb.ada/mod_from_name: New testcase.
14460
8a38181c
JB
144612009-03-12 Joel Brobecker <brobecker@adacore.com>
14462
14463 * gdb.ada/tick_last_segv: New testcase.
14464
11436dee
VP
144652009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14466
61ff14c6 14467 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 14468
1f31650a
VP
144692009-03-12 Vladimir Prus <vladimir@codesourcery.com>
14470
61ff14c6
JK
14471 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
14472 include the token in ^running and frame info in *stopped.
1f31650a 14473
a3247a22
PP
144742009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14475
14476 * solib-display.exp: New file.
14477 * solib-display-main.c: New file.
14478 * solib-display-lib.c: New file.
61ff14c6 14479
aae64587
PA
144802009-03-05 Pedro Alves <pedro@codesourcery.com>
14481
14482 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
14483
44aabfbc
JK
144842009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14485
14486 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
14487 (list_and_check_macro): Use more specific test name.
14488 (next to definition): Make the test names unique.
14489
c087fcd3
PM
144902009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
14491
14492 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 14493
c86cf029
VP
144942009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14495
14496 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
14497 notifications.
14498 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
14499 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
14500 * lib/mi-support.exp (library_loaded_re): New.
14501 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
14502
3ea85240
VP
145032009-02-17 Vladimir Prus <vladimir@codesourcery.com>
14504
14505 * gdb.gdb/observer.exp: Use test_notification observer, not
14506 normal_stop, everywhere.
14507 (test_normal_stop_notifications): Rename to...
14508 (test_notifications): ...this.
14509 (test_observer_normal_stop): Rename to...
14510 (test_observer): ...this.
14511
1903f0e6
DE
145122009-02-16 Doug Evans <dje@google.com>
14513
14514 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14515 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14516 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14517 (test_prefixed_syscall,test_int3): New tests.
14518 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14519 (test_prefixed_syscall,test_int3): New tests.
14520
1d33d6ba
VP
145212009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14522
3cb51905
AS
14523 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14524 (mi_expect_interrupt): Likewise.
14525 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14526 response.
1d33d6ba 14527
faafb047
PM
145282009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14529
14530 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14531 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14532 Replace calls to get_valueofx by get_hexadecimal_valueof.
14533
417e16e2
PM
145342009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14535
14536 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14537 (get_integer_valueof): New procedure.
14538 (get_sizeof): Use new get_integer_value_of.
14539 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14540 by get_integer_valueof.
14541
7065b901
TT
145422009-02-13 Tom Tromey <tromey@redhat.com>
14543
14544 * gdb.base/remote.exp (get_sizeof): Remove.
14545 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14546 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14547 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14548 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14549 (get_sizeof): Likewise.
14550
5d7cb8df
JK
145512009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14552
14553 PR fortran/9806
14554 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14555
b2febfff
PP
145562009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14557
14558 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14559
4aa995e1
PA
145602009-02-06 Pedro Alves <pedro@codesourcery.com>
14561
14562 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14563
d8906c6f
TJB
145642009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14565
14566 * gdb.python/python-cmd.exp: New file.
14567
ff4ab08d
TG
145682009-02-06 Tristan Gingold <gingold@adacore.com>
14569
14570 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14571
aacd552b
TG
145722009-02-05 Tristan Gingold <gingold@adacore.com>
14573
14574 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14575 pointer is dereferenced and use this signal name in regexp.
14576 * gdb.base/signull.exp: Ditto.
14577 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14578 * gdb.base/signull.c (main): Ditto.
14579
08c637de
TJB
145802009-02-04 Tom Tromey <tromey@redhat.com>
14581 Thiago Jung Bauermann <bauerman@br.ibm.com>
14582
14583 * gdb.python/python-value.exp: Use `gdb.history' instead of
14584 `gdb.value_from_history'.
14585 (test_value_numeric_ops): Add test for conversion of enum constant.
14586 * gdb.python/python-value.c (enum e): New type.
14587 (evalue): New global.
14588 (main): Use argv.
14589
20261af8
JG
145902009-02-04 Jerome Guitton <guitton@adacore.com>
14591
14592 * gdb.ada/uninitialized_vars: New test program.
14593 * gdb.ada/uninitialized_vars.exp: New testcase.
14594
52e44b43
TT
145952009-02-02 Tom Tromey <tromey@redhat.com>
14596
14597 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14598 * gdb.cp/pr2489.cc: Rename...
14599 * gdb.cp/pr9594.cc: ... to this.
14600
1c71341a
TT
146012009-02-02 Tom Tromey <tromey@redhat.com>
14602
14603 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14604 * gdb.cp/pr2489.cc: New file.
14605 * gdb.cp/cpcompletion.exp: New file.
14606
a4295225
TT
146072009-02-02 Tom Tromey <tromey@redhat.com>
14608
14609 PR exp/9059:
14610 * gdb.cp/call-c.exp: Add regression test.
14611 * gdb.cp/call-c.cc (FooHandle): New typedef.
14612 (main): New variable 'handle'.
14613
592375cd
VP
146142009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14615
14616 * lib/mi-support.exp (et_mi_thread_list)
14617 (check_mi_and_console_threads): Adjust for current thread in
14618 -thread-list-ids output.
14619
41447f92
VP
146202009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14621
889bf7c5
PA
14622 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14623 Call it.
41447f92 14624
35669430
DE
146252009-01-28 Doug Evans <dje@google.com>
14626
14627 * gdb.arch/amd64-disp-step.S: New file.
14628 * gdb.arch/amd64-disp-step.exp: New file.
14629 * gdb.arch/i386-disp-step.S: New file.
14630 * gdb.arch/i386-disp-step.exp: New file.
14631
09f00d9a
PM
146322009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14633
14634 * gdb.base/find.exp: Set newline variable
14635 using quotes instead of braces to fix cygwin failures.
14636
1e8fb976
PA
146372009-01-23 Pedro Alves <pedro@codesourcery.com>
14638
14639 * gdb.base/radix.exp: Add tests to ensure that that set
14640 input-radix 0 and set output-radix 0 are really rejected.
14641
da061712
PA
146422009-01-23 Pedro Alves <pedro@codesourcery.com>
14643
14644 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14645 copyright years.
14646
dd7e2d2b
PA
146472009-01-23 Pedro Alves <pedro@codesourcery.com>
14648
14649 PR gdb/9664:
14650 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14651
392452f6
PA
146522009-01-22 Pedro Alves <pedro@codesourcery.com>
14653
14654 PR c++/9631:
14655 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14656
8653e71c
PM
146572009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14658
14659 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14660 binfile definition to fix Windows OS failure.
14661
a12cc160
DJ
146622009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14663
14664 PR gdb/9346
14665 * gdb.base/interrupt.c (sigint_handler): New.
14666 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14667 on error.
14668 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14669 Test "signal SIGINT".
14670
b89667eb
DE
146712009-01-19 Doug Evans <dje@google.com>
14672
14673 * gdb.base/break.exp: Update expected gdb output.
14674 * gdb.base/sepdebug.exp: Ditto.
14675 * gdb.mi/mi-syn-frame.exp: Ditto.
14676 * gdb.mi/mi2-syn-frame.exp: Ditto.
14677 * gdb.base/call-signal-resume.exp: New file.
14678 * gdb.base/call-signals.c: New file.
14679 * gdb.base/unwindonsignal.exp: New file.
14680 * gdb.base/unwindonsignal.c: New file.
14681 * gdb.threads/interrupted-hand-call.exp: New file.
14682 * gdb.threads/interrupted-hand-call.c: New file.
14683 * gdb.threads/thread-unwindonsignal.exp: New file.
14684
adb483fe
DJ
146852009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14686
14687 * gdb.base/define.exp: Test defining and hooking prefix commands.
14688 * gdb.python/python.exp: Update test for "show user" output.
14689
60023297
JK
146902009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14691
14692 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14693 now the output exactly, using less wildcards. Expect also the output
14694 of gfortran-4.3. Update for the f-valprint.c modification from
14695 2008-04-22.
14696 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14697 Remove gdb_test test names where matching the command.
14698
ccc57cf9
PA
146992009-01-01 Pedro Alves <pedro@codesourcery.com>
14700
14701 PR breakpoints/9681:
14702 * gdb.base/watchpoint.exp: Add regression test.
14703
c7a6ca08
PA
147042008-12-31 Pedro Alves <pedro@codesourcery.com>
14705
14706 * gdb.threads/attach-into-signal.exp: Don't use
14707 gdb_suppress_entire_file.
14708 * gdb.threads/attach-stopped.exp: Ditto.
14709 * gdb.threads/attachstop-mt.exp: Ditto.
14710
3a031f65
PA
147112008-12-31 Pedro Alves <pedro@codesourcery.com>
14712
14713 PR gdb/8812:
14714 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14715
09e6485f
PA
147162008-12-29 Pedro Alves <pedro@codesourcery.com>
14717
14718 PR gdb/7536:
14719 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14720 and unsupported output radices are really rejected.
14721
0cd53049
JK
147222008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14723
14724 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14725
ba163c7e
TT
147262008-12-22 Tom Tromey <tromey@redhat.com>
14727
14728 * gdb.cp/punctuator.exp: New file.
14729
6f4de6c9
JK
147302008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14731
14732 * gdb.base/completion.exp (Completing non-existing component): New test.
14733
0f34d0b4
JK
147342008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14735
14736 Fix for PR gdb/8648.
14737 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14738 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14739 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14740 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14741
db2ad4c3
JK
147422008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14743
14744 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14745
bb5ef15e
DP
147462008-12-16 Christophe Lyon <christophe.lyon@st.com>
14747
14748 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14749 compiler actually generate code at the expected line number.
14750
90142adc
JZ
147512008-12-15 Jie Zhang <jie.zhang@analog.com>
14752
14753 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14754
fad6eecd
TT
147552008-12-12 Tom Tromey <tromey@redhat.com>
14756
14757 * gdb.base/commands.exp (redefine_hook_test): New proc.
14758 Call it.
14759
17c8aaf5
TT
147602008-12-11 Tom Tromey <tromey@redhat.com>
14761
14762 * gdb.base/macscp.exp: New regression test.
14763
7c8adf68
TT
147642008-12-11 Tom Tromey <tromey@redhat.com>
14765
14766 * gdb.base/macscp.exp: Print "address.addr".
14767 * gdb.base/macscp1.c (struct outer): New struct.
14768 (address): New global.
14769
b05dcbb7
TT
147702008-12-09 Tom Tromey <tromey@redhat.com>
14771
14772 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14773 Call it.
14774
2d476de1
DE
147752008-12-04 Doug Evans <dje@google.com>
14776
14777 * gdb.server/ext-run.exp: Relax regexp for init program.
14778
87bdc959
TG
147792008-12-03 Tristan Gingold <gingold@adacore.com>
14780
14781 * gdb.base/macscp.exp: Generate an object file during compilation
14782 to work around Darwin dsymutil limitations.
14783
e0740f77
JK
147842008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14785
14786 Test resolving external references to TLS variables.
14787 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14788 FILE2_THREAD_LOCAL.
14789 (testfile2, srcfile2): New variables.
14790 * gdb.threads/tls.c (file2_thread_local)
14791 (function_referencing_file2_thread_local): New.
14792 * gdb.threads/tls2.c: New file.
14793
67f0aac5
JB
147942008-11-28 Joel Brobecker <brobecker@adacore.com>
14795
14796 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
14797 rather than integer, as integer might not be big enough when
14798 on 64bit targets.
67f0aac5 14799
c332165e
JG
148002008-11-27 Jerome Guitton <guitton@adacore.com>
14801
14802 * gdb.cp/formatted-ref.exp: Add equality test.
14803 * gdb.ada/formatted_ref.exp: Ditto.
14804
fc9b693c
JK
148052008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14806
14807 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14808 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14809
a9c64011
AS
148102008-11-20 Andreas Schwab <schwab@suse.de>
14811
14812 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14813 matching syscall entry point.
14814 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14815 (tcatch_vfork_then_child_follow): Likewise. Finish through
14816 vfork even if we stopped at the syscall trampoline.
14817
e2fd701e
DE
148182008-11-20 Doug Evans <dje@google.com>
14819
14820 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14821
69abc51c
TJB
148222008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14823
14824 * gdb.arch/ppc-dfp.exp: New file.
14825 * gdb.arch/ppc-dfp.c: New file.
14826
c14c28ba
PP
148272008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14828
14829 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 14830
2e74121d
DE
148312008-11-17 Doug Evans <dje@google.com>
14832
14833 * gdb.mi/mi-syn-frame.exp: Update expected output.
14834 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14835
66bb093b
VP
148362008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14837
14838 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
14839 "thread N" results in =thread-selected.
14840 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14841 (mi_send_resuming_command_raw): Be prepared for
14842 =thread-selected.
14843
3d043ef6
VP
148442008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14845
a9c64011
AS
14846 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14847 * lib/mi-support.exp: Likewise.
3d043ef6 14848
808104c8
JB
148492008-11-16 Joel Brobecker <brobecker@adacore.com>
14850
14851 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14852 commands from the expected output for "help catch".
14853
00b22944
JB
148542008-11-15 Joel Brobecker <brobecker@adacore.com>
14855
14856 * gdb.ada/int_deref.exp: New testcase.
14857
59669435
TT
148582008-11-14 Nick Roberts <nickrob@snap.net.nz>
14859
14860 * gdb.mi/gdb2549.exp: New file.
14861
de04a248
DE
148622008-11-11 Doug Evans <dje@google.com>
14863
14864 * gdb.base/callexit.exp: New file.
14865 * gdb.base/callexit.c: New file.
14866
6b8ce727
DE
148672008-11-10 Doug Evans <dje@google.com>
14868
14869 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14870 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14871 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14872 (default_gdb_start,default_gdb_exit): Ditto.
14873 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14874 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14875 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14876 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14877 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14878 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14879
1b14b8aa
AS
148802008-11-03 Andreas Schwab <schwab@suse.de>
14881
14882 * gdb.base/hashline2.exp: Fix typo.
14883 * gdb.base/hashline3.exp: Likewise.
14884
f3134b88
TT
148852008-10-30 Tom Tromey <tromey@redhat.com>
14886
14887 * gdb.base/pointers.exp: Add test.
14888 * gdb.base/pointers.c (k, S): New typedefs.
14889 (instance): New global.
14890
c2226152
AS
148912008-10-30 Andreas Schwab <schwab@suse.de>
14892
14893 * gdb.base/args.exp: Add tests for newlines.
14894
462f405c
JB
148952008-10-30 Joel Brobecker <brobecker@adacore.com>
14896
14897 gdb.base/foll-exec.exp: Update the expected output of a couple
14898 of "info breakpoints" tests.
14899
79a45b7d
TT
149002008-10-28 Tom Tromey <tromey@redhat.com>
14901
14902 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14903
adc13a14
PA
149042008-10-24 Pedro Alves <pedro@codesourcery.com>
14905
14906 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14907 gdb_start_cmd.
14908 Use runto_main before any test that requires execution.
14909
252fbfc8
PA
149102008-10-23 Pedro Alves <pedro@codesourcery.com>
14911
14912 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14913 instead of SIGINT.
14914
28148e3d
JB
149152008-10-22 Joel Brobecker <brobecker@adacore.com>
14916
14917 * gdb.base/completion.exp: Update expected output following
14918 the addition of the "info tasks" command.
14919
c209f847
TT
149202008-10-22 Tom Tromey <tromey@redhat.com>
14921
14922 * gdb.base/exprs.exp (test_expr): Add test for string
14923 concatenation.
14924
f177e350
PA
149252008-10-19 Pedro Alves <pedro@codesourcery.com>
14926
14927 * configure.ac: Output gdb.python/Makefile.
14928 * configure: Regenerate.
14929 * gdb.python/Makefile.in: New.
14930
cce89356
JB
149312008-10-16 Joel Brobecker <brobecker@adacore.com>
14932
14933 * gdb.base/foll-fork.exp: Adjust the expected output to match
14934 the new description for fork/vfork catchpoints in the "info
14935 breakpoints" output.
14936
176d289d
TJB
149372008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14938
14939 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14940
a08702d6
TJB
149412008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14942
14943 * gdb.python/python-value.c: New file.
14944 * gdb.python/python-value.exp: New file.
14945
1c5cfe86
PA
149462008-10-15 Pedro Alves <pedro@codesourcery.com>
14947
14948 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14949
5a98ad69
DP
149502008-10-15 Denis Pilat <denis.pilat@st.com>
14951
41702f1b 14952 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 14953
dcb1a1e2
TT
149542008-10-09 Tom Tromey <tromey@redhat.com>
14955
14956 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14957 'fprintf' and 'stderr'.
14958
9124fe48
JB
149592008-10-07 Joel Brobecker <brobecker@adacore.com>
14960
14961 * gdb.ada/ref_tick_size.exp: New testcase.
14962
45452591
DE
149632008-10-06 Doug Evans <dje@google.com>
14964
14965 * gdb.dwarf2/dw2-cu-size.exp: New file.
14966 * gdb.dwarf2/dw2-cu-size.S: New file.
14967
14968 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14969 .Ltype_int for clarity.
14970
4fc5b208
PP
149712008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14972
14973 PR gdb/2384:
14974 * gdb.cp/gdb2384.exp: Extended to test more cases.
14975 * gdb.cp/gdb2384.cc: Likewise.
14976 * gdb.cp/gdb2384-base.h: Likewise.
14977 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 14978
d78df370
JK
149792008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14980
14981 * gdb.base/maint.exp (maint print type): Remove printing
14982 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14983
9a044a89
TT
149842008-09-30 Tom Tromey <tromey@redhat.com>
14985
14986 * gdb.base/macscp.exp: Add completion tests.
14987 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14988 (TWENTY_THREE): Likewise.
14989 (FORTY_EIGHT): Likewise.
14990
506800a9
TT
149912008-09-30 Tom Tromey <tromey@redhat.com>
14992
14993 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14994 everywhere.
14995 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14996
1a6f01b5
JK
149972008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14998
14999 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
15000 testcase is derived from. Fix racy dependency on an expected PID
15001 number. No longer support the testcase on Linux kernel 2.4.x.
15002
2fae03e8
TT
150032008-09-27 Tom Tromey <tromey@redhat.com>
15004
15005 * gdb.base/macscp.exp: Add tests for stringification, splicing,
15006 and varargs.
15007
1ad15515
PA
150082008-09-22 Pedro Alves <pedro@codesourcery.com>
15009
15010 * lib/mi-support.exp (mi_expect_interrupt): New.
15011 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
15012 from gdb.mi/mi-nonstop.exp.
15013 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
15014 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
15015 lib/mi-support.exp.
15016 Use mi_check_thread_states throughout. Avoid ".*" and do not
15017 require an anchor after -exec-run.
15018
d0b76dc6
DJ
150192008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
15020
15021 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
15022 stop is pending. Avoid ".*" when two stops are pending.
15023 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
15024 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
15025 newlines in fullnames.
15026 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
15027 (mi_expect_stop): Update comments. Only anchor in sync mode.
15028 Do not match newlines.
15029 (mi_send_resuming_command_raw): Always return status.
15030 (mi_get_stop_line): Do not match more than one line by accident.
15031 Only anchor in sync mode.
15032 (mi_run_inline_test): If -exec-next fails, give up.
15033
9990c830
UW
150342008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15035
15036 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
15037 on SPU.
15038
ebcf6f00
JB
150392008-09-10 Joel Brobecker <brobecker@adacore.com>
15040
15041 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
15042
b6db24e5
JB
150432008-09-10 Joel Brobecker <brobecker@adacore.com>
15044
15045 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
15046 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
15047 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
15048 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
15049 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
15050 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
15051 gdb.ada/interface.exp, gdb.ada/null_array.exp,
15052 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
15053 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
15054 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
15055 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
15056 Include the "= " sequence in the expected output of print tests.
15057
2bf448e0
JB
150582008-09-10 Joel Brobecker <brobecker@adacore.com>
15059
15060 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
15061 description for boolean types.
15062
d51fd4c8
PA
150632008-09-09 Pedro Alves <pedro@codesourcery.com>
15064
15065 * gdb.base/hook-stop-continue.c: New.
15066 * gdb.base/hook-stop-continue.exp: New.
15067
694182d2
DJ
150682008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
15069
15070 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
15071
3b8a7fc0
JG
150722008-09-08 Jerome Guitton <guitton@adacore.com>
15073
15074 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
15075 (stack_check_probe_2, stack_check_probe_loop_1)
15076 (stack_check_probe_loop_2): New functions.
15077 (main): Add call to these new functions.
15078 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
15079 functions, check that the breakpoint is inserted at the appropriate
15080 location.
15081 (insert_breakpoint): Slightly refine this procedure so that it can
15082 be called several times in the test.
15083
96cc0ae8
JG
150842008-09-08 Jerome Guitton <guitton@adacore.com>
15085
15086 * gdb.base/stack-checking.c: New file.
15087 * gdb.base/stack-checking.exp: New file.
15088
1f08b409
TJB
150892008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15090
15091 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
15092 * gdb.arch/altivec-regs.exp: Likewise.
15093 * gdb.arch/vsx-regs.exp: Likewise.
15094
3099e1c4
TJB
150952008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
15096
15097 * gdb.arch/ppc-fp.exp: New file.
15098 * gdb.arch/ppc-fp.c: New file.
15099
cc69bfc1
PP
151002008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15101
15102 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
15103 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 15104
b02a33db
MS
151052008-09-04 Michael Snyder <msnyder@vmware.com>
15106
15107 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
15108 as "at" (for non-debug functions such as _start).
15109
2992cbe0
UW
151102008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15111
15112 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
15113 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
15114 software watchpoints.
15115 * gdb.base/watch_thread_num.exp: Likewise.
15116
514f746b
AR
151172008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
15118
15119 * gdb.arch/i386-bp_permanent.exp: New test.
15120
876cecd0
TT
151212008-08-24 Tom Tromey <tromey@redhat.com>
15122
15123 * gdb.base/maint.exp: Update "maint print type".
15124
80f73d71
VP
151252008-08-21 Vladimir Prus <vladimir@codesourcery.com>
15126
15127 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
15128 support. Adjust the order of "*running" notifications.
15129 * gdb.mi/non-stop.c: Don't cast from int to void* and
15130 back.
15131
d9c78d7d
MK
151322008-08-20 Mark Kettenis <kettenis@gnu.org>
15133
15134 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
15135 expect to find it in the "info frame" output.
15136
97a2d1d3
DJ
151372008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
15138
15139 * gdb.base/interp.exp: Always consume both prompts.
15140
b96e2927
PA
151412008-08-20 Pedro Alves <pedro@codesourcery.com>
15142
15143 * gdb.base/pending.exp: Test pending breakpoints without symbols
15144 loaded.
15145
8cf6e61a
VP
151462008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15147
15148 * lib/mi-support.exp (mi_expect_stop): Produce
15149 more details on failures.
15150 * gdb.mi/mi-nonstop.exp: New.
15151 * gdb.mi/non-stop.c: New.
15152
c6ebd6cf
VP
151532008-08-19 Vladimir Prus <vladimir@codesourcery.com>
15154
a9c64011
AS
15155 * gdb.mi/mi-async.exp: Use 'set target-async'.
15156 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 15157
46a9b8ed
DJ
151582008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
15159
15160 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
15161
44feb3ce
TT
151622008-08-17 Tom Tromey <tromey@redhat.com>
15163
15164 * gdb.base/help.exp (help catch): Rewrite.
15165
311a4e6b
TJB
151662008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
15167
15168 * gdb.base/define.exp: Test indented command documentation.
15169 * gdb.python/python.exp: Test indented multi-line command.
15170
604c2f83
LM
151712008-08-15 Luis Machado <luisgpm@br.ibm.com>
15172
15173 * testsuite/gdb.arch/vsx-regs.c: New source file.
15174 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
15175 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
15176
886a217c
TT
151772008-08-14 Tom Tromey <tromey@redhat.com>
15178
15179 * gdb.base/macscp.exp: Add regression test for "macro define" or
15180 "macro undef" with no arguments.
15181
c814a4f3
PP
151822008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15183
15184 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 15185
12ab8a60
UW
151862008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15187
15188 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
15189
d57a3c85
TJB
151902008-08-06 Tom Tromey <tromey@redhat.com>
15191
15192 * gdb.python/python.exp: New file.
15193
c7b778ff
JK
151942008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
15195
15196 Fix for PR gdb/1543.
15197 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
15198 $LOCATION.
15199 (location): New variable.
15200 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
15201 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
15202 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
15203 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
15204 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
15205 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
15206 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
15207 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
15208 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
15209 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
15210 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
15211 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
15212 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
15213 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
15214 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15215 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
15216 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
15217 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
15218 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
15219 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15220 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
15221 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
15222 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
15223 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
15224 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
15225 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
15226 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
15227 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
15228 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
15229 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
15230 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
15231 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
15232 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
15233 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
15234 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
15235 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
15236 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
15237 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15238 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
15239 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
15240 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
15241 gdb.base/type-opaque.exp, gdb.base/until.exp,
15242 gdb.base/value-double-free.c, gdb.base/varargs.exp,
15243 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
15244 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
15245 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
15246 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
15247 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
15248 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
15249 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
15250 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
15251 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
15252 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
15253 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
15254 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
15255 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
15256 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
15257 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
15258 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15259 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
15260 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
15261 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
15262 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
15263 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
15264 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
15265 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
15266 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15267 gdb.pascal/types.exp, gdb.stabs/weird.exp,
15268 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
15269 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
15270 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
15271 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
15272 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
15273 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
15274 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15275 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
15276 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15277 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
15278 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15279 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15280 lib/mi-support.exp, lib/trace-support.exp: Remove reference
15281 to bug-gdb@prep.ai.mit.edu .
15282
5e06a3d1
VP
152832008-07-31 Vladimir Prus <vladimir@codesourcery.com>
15284
15285 * lib/mi-support.exp (mi_load_shlibs): New.
15286 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
15287
9d81d21b
VP
152882008-07-30 Vladimir Prus <vladimir@codesourcery.com>
15289
15290 * lib/mi-support.exp (get_mi_thread_list)
15291 (check_mi_and_console_threads): New, moved from ...
15292 * gdb.mi/mi-pthread.exp: ...here.
15293 * gdb.mi/gdb669.exp (get_mi_thread_list)
15294 (check_mi_and_console_threads): Delete.
15295 * gdb.mi/mi2-pthread.exp: Likewise.
15296
bae98fe0
TT
152972008-07-28 Tom Tromey <tromey@redhat.com>
15298
15299 * Makefile.in (just-check): Remove. Move body to...
15300 (check): ... here.
15301
57380f4e
DJ
153022008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15303
15304 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
15305 Add a test for duplicated SIGINTs.
15306
e09490f1
DJ
153072008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15308
15309 * gdb.threads/schedlock.exp (get_args): Update to work for any
15310 value of NUM.
15311 (Top level): Report the number of threads that did not resume.
15312
6387b45f
DJ
153132008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15314
15315 * gdb.dwarf2/dw2-compressed.S: Also define __start.
15316
62f64ff2
DJ
153172008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15318
15319 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
15320 non-MI prompt.
15321
fa8de41e
TT
153222008-07-26 Tom Tromey <tromey@redhat.com>
15323
15324 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
15325 (function_struct, function_struct_ptr): New globals.
15326 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
15327 function pointer in a struct.
15328
ccb3ac8a
TT
153292008-07-26 Tom Tromey <tromey@redhat.com>
15330
15331 * gdb.base/macscp.exp: Add test for macro lexing bug.
15332
d7d9f01e
TT
153332008-07-18 Tom Tromey <tromey@redhat.com>
15334
15335 * gdb.base/macscp.exp: Add macro tests.
15336
9bf07184
PP
153372008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15338
15339 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
15340
becf6477
PP
153412008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15342
15343 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
15344
0709f7d3
PP
153452008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
15346
15347 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 15348
7093c834
PP
153492008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
15350
15351 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 15352
b432ffe3
JK
153532008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15354
15355 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
15356
b1a268e5
VP
153572008-07-12 Vladimir Prus <vladimir@codesourcery.com>
15358
15359 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
15360
e2995f8e
KB
153612008-07-11 Kevin Buettner <kevinb@redhat.com>
15362
15363 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
15364 of regexp to account for changes made to GDB in the printing of
15365 byte vectors.
15366
14032a66
TT
153672008-07-11 Tom Tromey <tromey@redhat.com>
15368
15369 * gdb.base/completion.exp: Add 'help' completion test.
15370
981505ef
JK
153712008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15372
15373 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
15374
10568435
JK
153752008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15376
15377 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
15378
4487aabf
PA
153792008-07-09 Pedro Alves <pedro@codesourcery.com>
15380
15381 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
15382
a4a9b1c4
PA
153832008-07-09 Pedro Alves <pedro@codesourcery.com>
15384
15385 * gdb.base/fullname.exp: Restore pwd if compiling failed.
15386
3c3185ac
JK
153872008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15388
15389 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
15390
7ebd49dc
VP
153912008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15392
15393 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
15394 previous commit. Add a comment.
15395
84e46146
PA
153962008-06-28 Pedro Alves <pedro@codesourcery.com>
15397
15398 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
15399
0f8d4a2f
VP
154002008-06-28 Vladimir Prus <vladimir@codesourcery.com>
15401
15402 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
15403
f747e0ce
PA
154042008-06-27 Pedro Alves <pedro@codesourcery.com>
15405
15406 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
15407 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
15408 compiling an executable, link in an object that forces unbuffered
15409 output.
15410 * lib/set_unbuffered_mode.c: New file.
15411
734a5c36
JK
154122008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15413
15414 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
15415
a2840c35
VP
154162008-06-25 Vladimir Prus <vladimir@codesourcery.com>
15417
a9c64011
AS
15418 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
15419 mi_expect_stop.
15420 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
15421 Demand that *running is output.
15422 (detect_async): Perform checking every time.
15423 (mi_send_resuming_command): Extract everything into...
15424 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
15425 (mi_expect_stop): Don't accept any output before *stopped.
15426
6ae37fef
VP
154272008-06-13 Vladimir Prus <vladimir@codesourcery.com>
15428
15429 Robustify mi-simplerun.
a9c64011
AS
15430 * gdb.mi/basics.c (main): Add a call to sleep.
15431 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
15432 * gdb.mi/mi2-cli.exp: Likewise.
15433 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 15434
b4aa76f0 154352008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
15436
15437 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
15438
e1ac3328
VP
154392008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15440
a9c64011
AS
15441 * gdb.mi/mi-console.exp: Adjust.
15442 * gdb.mi/mi-syn-frame.exp: Adjust.
15443 * gdb.mi/mi2-console.exp: Adjust.
15444 * gdb.mi/mi2-syn-frame.exp: Adjust.
15445 * lib/mi-support.exp (mi_run_cmd): Adjust.
15446 (mi_send_resuming_command): Adjust.
e1ac3328 15447
f7f9a841
VP
154482008-06-10 Vladimir Prus <vladimir@codesourcery.com>
15449
15450 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
15451 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
15452 testing of stopped.
15453 * gdb.mi/mi2-syn-frame.exp: Likewise.
15454 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
15455 (async, detect_async): New.
15456 (mi_expect_stop, mi_continue_to_line): Adjust expectation
15457 depending on if we're running in sync or async mode.
f7f9a841 15458
37cd5d19
TT
154592008-06-09 Tom Tromey <tromey@redhat.com>
15460
15461 * gdb.base/completion.exp: New tests for field name completion
15462 with spaces, and field name completion with '->'.
15463
65d12d83
TT
154642008-06-06 Tom Tromey <tromey@redhat.com>
15465
15466 * gdb.base/break1.c (struct some_struct): New struct.
15467 (values): New global.
15468 * gdb.base/completion.exp: Add field name completion test.
15469
ebfe2e3f
PP
154702008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15471
15472 * gdb.cp/call-c.exp: Test for incorrect handling of reference
15473 to pointer.
15474 * gdb.cp/call-c.cc: Likewise.
15475
bcf6fc3a
NR
154762008-06-06 Nick Roberts <nickrob@snap.net.nz>
15477
15478 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
15479 annotation.
15480
49fd4a42 154812008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 15482 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
15483
15484 * gdb.threads/execl.c, gdb.threads/execl1.c,
15485 gdb.threads/execl.exp: New tests.
a9c64011 15486
8a34ac3f
AR
154872008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
15488 Daniel Jacobowitz <dan@codesourcery.com>
15489
15490 * gdb.cp/exception.exp: Activate test, make it work with pending
15491 catchpoints.
15492
86ae69ef
JK
154932008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
15494
15495 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
15496
f7f9ae2c
VP
154972008-05-28 Vladimir Prus <vladimir@codesourcery.com>
15498
a9c64011
AS
15499 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
15500 now printed.
15501 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 15502
2a2d4dc3
AS
155032008-05-27 Andreas Schwab <schwab@suse.de>
15504
15505 * gdb.base/frame-args.exp: Handle arguments that are optimized
15506 out.
15507
5099e4d9
LM
155082008-05-26 Luis Machado <luisgpm@br.ibm.com>
15509
15510 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15511 quiet for ppc32 and group options into a single variable.
15512
d9c36a91
JB
155132008-05-23 Joel Brobecker <brobecker@adacore.com>
15514
15515 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15516 of zero-size elements.
15517 * gdb.ada/null_array.exp: Test printing this new array.
15518
103a8671
JK
155192008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15520
15521 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15522
07a4cc1a 155232008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
15524
15525 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15526 of the "finish" command.
15527
55f996a7
NR
155282008-05-21 Nick Roberts <nickrob@snap.net.nz>
15529
15530 * gdb.base/annota1.exp: Test for new annotation.
15531
907fc202
UW
155322008-05-16 Pedro Alves <pedro@codesourcery.com>
15533
15534 * gdb.base/fixsection.exp: New file.
15535 * gdb.base/fixsection0.c: New file.
15536 * gdb.base/fixsection1.c: New file.
15537
e8f97270
UW
155382008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15539
15540 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15541 * gdb.base/annota3.exp: Likewise.
15542
ac0bb574
NF
155432008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15544
15545 * gdb.base/watch_thread_num.exp: Don't run tests that require
15546 watchpoints if the target doesn't support them.
15547
6fadd07a
DE
155482008-05-12 Doug Evans <dje@google.com>
15549
15550 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15551
6e9a4a30
JB
155522008-05-09 Joel Brobecker <brobecker@adacore.com>
15553
15554 * gdb.ada/assign_1.exp: New testcase.
15555
08388c79
DE
155562008-05-09 Doug Evans <dje@google.com>
15557
a3c83fae
DE
15558 * gdb.base/find.exp: New file.
15559 * gdb.base/find.c: New file.
08388c79 15560
bd5ddfe8
DJ
155612008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15562
15563 * gdb.base/commands.exp (watchpoint_command_test): Handle
15564 gdb,no_hardware_watchpoints.
15565 * gdb.base/float.exp: Allow ARM targets without floating point.
15566 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15567
b5dd68e2 155682008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 15569 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
15570
15571 * gdb.ada/lang_switch: New test program.
15572 * gdb.ada/lang_switch.exp: New testcase.
15573
382d13d1
DE
155742008-05-05 Doug Evans <dje@google.com>
15575
15576 * gdb.base/help.exp (disassemble): Update expected help text.
15577
9dd789d0
PA
155782008-05-04 Pedro Alves <pedro@codesourcery.com>
15579
15580 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15581
611c83ae
PA
155822008-05-04 Pedro Alves <pedro@codesourcery.com>
15583
15584 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15585 different times.
15586
ff013f42
JK
155872008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15588
15589 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15590 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15591 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15592 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15593
96dff6a2
VP
155942008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15595
15596 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15597 notification to appear.
15598
55cd6f92
DJ
155992008-05-04 Daniel Jacobowitz <dan@debian.org>
15600
15601 * gdb.base/fullname.c: New file.
15602 * gdb.base/fullname.exp: New file.
15603 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15604
d705c43c
PA
156052008-05-03 Pedro Alves <pedro@codesourcery.com>
15606
15607 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15608 expressions with macros.
15609
333222e1
JK
156102008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15611
15612 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15613
5ac01682
DJ
156142008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15615
15616 * gdb.base/completion.exp: Handle lack of other symbols beginning
15617 with "a".
15618
15619 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15620
237fc4c9
PA
156212008-05-02 Jim Blandy <jimb@codesourcery.com>
15622
15623 * gdb.asm/asmsrc1.s: Add scratch space.
15624
ed5e9466
DJ
156252008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15626 Daniel Jacobowitz <dan@codesourcery.com>
15627
15628 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15629 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15630 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15631
b39cc962
DJ
156322007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15633
15634 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15635
36d520f5
JB
156362008-05-01 Joel Brobecker <brobecker@adacore.com>
15637
15638 * gdb.base/info-target.exp: New testcase.
15639
8d4e3071
DJ
156402008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15641
15642 * gdb.cp/hang.exp: Use .cc instead of .C.
15643 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15644 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15645
6f3f3097
DJ
156462008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15647
15648 * gdb.base/gdb1250.exp: Remove perror.
15649 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15650
5550a914
PA
156512008-04-30 Pedro Alves <pedro@codesourcery.com>
15652
15653 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15654 .2byte.
15655
d848e687
DJ
156562008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15657
15658 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15659 (maybe_kfail): New.
15660
93b5768b
PA
156612008-04-25 Pedro Alves <pedro@codesourcery.com>
15662
15663 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15664
721c02de
VP
156652008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15666
a9c64011
AS
15667 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15668 * gdb.mi/mi2-syn-frame.exp: Likewise.
15669 * lib/mi-support.exp: Likewise.
721c02de 15670
74960c60
VP
156712008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15672
15673 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15674 to specify regexp for the location to stop at.
15675 * gdb.base/break-always.c: New.
15676 * gdb.base/break-always.exp: New.
15677
d24317b4
VP
156782008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15679
15680 * lib/mi-support.exp (mi_runto_helper): Adjust
15681 for the original-location field.
15682 (mi_create_breakpoint, mi_list_breakpoints): New.
15683 * gdb.mi/mi-break.exp: Adjust.
15684 * gdb.mi/mi2-break.exp: Adjust.
15685 * gdb.mi/mi-pending.exp: Adjust.
15686 * gdb.mi/mi-simplerun.exp: Adjust.
15687 * gdb.mi/mi2-simplerun.exp: Adjust.
15688 * gdb.mi/mi-syn-frame.exp: Adjust.
15689 * gdb.mi/mi2-syn-frame.exp: Adjust.
15690 * gdb.mi/mi-until.exp: Adjust.
15691 * gdb.mi/mi2-until.exp: Adjust.
15692 * gdb.mi/mi-var-display.exp: Adjust.
15693 * gdb.mi/mi2-var-display.exp: Adjust.
15694 * gdb.mi/mi-watch.exp: Adjust.
15695 * gdb.mi/mi2-watch.exp: Adjust.
15696
fdc59709 156972008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 15698
a9c64011
AS
15699 * aclocal.m4: Add override.m4.
15700 * configure: Regenerate.
fdc59709 15701
8e91f023
VP
157022008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15703
15704 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15705 '-var-update --all-values' reports new value even the type
15706 of a variable object has changed.
15707
233a11ab
CS
157082008-04-18 Craig Silverstein <csilvers@google.com>
15709
15710 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15711 files.
d24317b4 15712
9c1137ad
JB
157132008-04-18 Joel Brobecker <brobecker@adacore.com>
15714
15715 * gdb.ada/atomic_enum: New test program.
15716 * gdb.ada/atomic_enum.exp: New testcase.
15717
66d0bbc7
DE
157182008-04-17 Doug Evans <dje@google.com>
15719
15720 * gdb.opt/Makefile.in: Fix whitespace.
15721
100906b0
UW
157222008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15723
15724 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15725
4584e32e
DE
157262008-04-17 Doug Evans <dje@google.com>
15727
15728 * gdb.base/hashline1.exp: New testcase.
15729 * gdb.base/hashline2.exp: New testcase.
15730 * gdb.base/hashline2.exp: New testcase.
15731
0a320680
PA
157322008-04-17 Pedro Alves <pedro@codesourcery.com>
15733
15734 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15735
18ac113b
AR
157362008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15737
15738 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15739 temporary breakpoint to match "Temporary breakpoint".
15740 * gdb.base/break.exp (delete_breakpoints): Likewise.
15741 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15742 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15743 * gdb.base/display.exp: Likewise.
15744 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15745 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15746 * gdb.base/restore.exp (restore_tests): Likewise.
15747 * gdb.base/sepdebug.exp: Likewise.
15748 * gdb.base/watchpoint.exp: Likewise.
15749 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15750 * gdb.mi/mi-pending.exp: Likewise.
15751 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15752 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15753 * gdb.mi/mi-var-cmd.exp: Likewise.
15754 * gdb.mi/mi-var-display.exp: Likewise.
15755 * gdb.mi/mi2-cli.exp: Likewise.
15756 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15757 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15758 * gdb.mi/mi2-var-display.exp: Likewise.
15759 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15760 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15761 new "disp" field.
a9c64011 15762 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
15763 reason. This is to support fix for PR2424.
15764
add38693
JK
157652008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15766
15767 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15768
fcacd99f
VP
157692008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15770
15771 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 15772 field. Add more floating varobj tests.
fcacd99f 15773 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
15774 field.
15775 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15776 (main): Call do_at_tests.
15777 * lib/mi-support.exp (mi_create_floating_varobj)
15778 (mi_varobj_update_with_type_change): New.
fcacd99f 15779
de051565
MK
157802008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15781
15782 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15783 option of -var-evaluate-expression.
15784 * gdb.mi/mi2-var-display.exp: Likewise.
15785
dbc52822
VP
157862008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15787
15788 Introduce test setup helpers.
a9c64011
AS
15789 * lib/gdb.exp (build_executable, clean_restart)
15790 (prepare_for_testing): New.
15791 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15792 * gdb.base/return.exp: Likewise.
15793 * gdb.base/ending-run.exp: Likewise.
dbc52822 15794
473591da
NR
157952008-04-07 Nick Roberts <nickrob@snap.net.nz>
15796
15797 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15798 Interface (MI) responses.
15799
2b2d9e11
VP
158002008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15801
a9c64011
AS
15802 * gdb.cp/breakpoint.cc: New code to test conditions involving
15803 member variables.
15804 * gdb.cp/breakpoint.exp: Test condition involving member
15805 variables.
2b2d9e11 15806
bb378428
VP
158072008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15808
15809 * lib/mi-support.exp (mi_expect_stop): New.
15810 (mi_run_cmd): Change the
15811 token. Use mi_send_resuming_command, use
15812 mi_expect_stop.
15813 (mi_execute_to_helper): Rename to mi_execute_to.
15814 (mi_send_resuming_command): Add more error patterns.
15815 (mi_wait_for_stop): Renamed to...
15816 (mi_get_stop_line): ...this.
15817 (mi_run_inline_test): Adjust.
15818
15819 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15820 * gdb.mi/mi-console.exp: Likewise.
15821 * gdb.mi/mi-pending.exp: Likewise.
15822 * gdb.mi/mi-simplerun.exp: Likewise.
15823 * gdb.mi/mi-stack.exp: Likewise.
15824 * gdb.mi/mi-stepi.exp: Likewise.
15825 * gdb.mi/mi-syn-frame.exp: Add comment.
15826 * gdb.mi/mi-until.exp: Likewise.
15827 * gdb.mi/mi-var-display.exp: Likewise.
15828 * gdb.mi/mi-watch.exp: Likewise.
15829 * gdb.mi/mi2-cli.exp: Likewise.
15830 * gdb.mi/mi2-console.exp: Likewise.
15831 * gdb.mi/mi2-simplerun.exp: Likewise.
15832 * gdb.mi/mi2-stack.exp: Likewise.
15833 * gdb.mi/mi2-stepi.exp: Likewise.
15834 * gdb.mi/mi2-until.exp: Likewise.
15835 * gdb.mi/mi2-var-display.exp: Likewise.
15836 * gdb.mi/mi2-watch.exp: Likewise.
15837
62172bb9
UW
158382008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15839
15840 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15841
15842 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15843
a13e061a
PA
158442008-04-04 Pedro Alves <pedro@codesourcery.com>
15845
15846 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15847 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15848 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15849 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15850 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15851 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15852 expect an mi error duplicated in stderr.
15853
eae06beb
JB
158542008-04-03 Joel Brobecker <brobecker@adacore.com>
15855
15856 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15857 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15858 Add a couple of tests that verify the behavior when the new setting
15859 is set to "cancel" and "all".
15860 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15861 "ask" before we start the testing.
15862
79c6ced6
AR
158632008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15864
15865 * gdb.cp/casts.cc: Add class reference variables.
15866 * gdb.cp/casts.exp: New test cases for up/down casting references.
15867
6c2d1a6b
MK
158682008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15869
15870 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15871 instead of beginning to make an extra test pass.
15872 * gdb.mi/mi2-var-display.exp: Likewise.
15873
55b411d9
MR
158742008-03-31 Maciej W. Rozycki <macro@mips.com>
15875
15876 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15877
c6140da2
MD
158782008-03-31 Markus Deuling <deuling@de.ibm.com>
15879 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15880
15881 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15882 value. Add xfail for older kernels.
15883
79732189
AR
158842008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15885
15886 Bring mi-support in line with gdb.exp.
15887 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15888 (mi_gdb_start): New function.
15889
33c3676e
MR
158902008-03-28 Maciej W. Rozycki <macro@mips.com>
15891
15892 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15893
92e28119
VP
158942008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15895
15896 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15897 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 15898
9e8e3afe
VP
158992008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15900
15901 * lib/mi-support.exp (mi_create_varobj_checked): New.
15902 (mi_list_varobj_children): Allow to check for a
15903 value.
15904 (mi_list_array_varobj_children): New.
15905
15906 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15907 and mi_list_varobj_children, as opposed to hardcoding
15908 expected strings.
15909 * gdb.mi/gdb701.exp: Likewise.
15910 * gdb.mi/gdb792.exp: Likewise.
15911 * gdb.mi/mi-var-block.exp: Likewise.
15912 * gdb.mi/mi-var-cmd.exp: Likewise.
15913 * gdb.mi/mi-var-invalidate.exp: Likewise.
15914 * gdb.mi/mi2-var-block.exp: Likewise.
15915 * gdb.mi/mi2-var-child.exp: Likewise.
15916 * gdb.mi/mi2-var-cmd.exp: Likewise.
15917 * gdb.mi/mi2-var-display.exp: Likewise.
15918
9df50351
JK
159192008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15920
15921 Fix random false FAILs on i386.
15922 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15923
31e5d73a
DJ
159242008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15925
15926 PR gdb/544
15927 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15928
12f4afab
DJ
159292008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15930
15931 PR gdb/544
15932 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15933
b562a0cb
DJ
159342008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15935
15936 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15937 fixed PR gdb/544.
15938
17faa917
DJ
159392008-03-21 Pedro Alves <pedro@codesourcery.com>
15940
15941 * gdb.threads/fork-child-threads.exp: Test next over fork.
15942
6214f497
DJ
159432008-03-21 Chris Demetriou <cgd@google.com>
15944
15945 * gdb.base/break.exp (rbreak junk): New test for rbreak
15946 "Junk at end of arguments" issue.
15947
63092375
DJ
159482008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15949
15950 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15951 *& to work on created array elements.
15952 (Top level): Test print $pc with a file. Test string operations
15953 without a target.
15954 * gdb.base/ptype.exp: Do not expect *& to work on created array
15955 elements.
15956
b21991b0
DJ
159572008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15958
15959 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15960 gdb.threads/staticthreads.exp: Update exit query.
15961
c4b347c7
SL
159622008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15963
15964 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15965
fa4727a6
DJ
159662008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15967
15968 * gdb.base/watchpoint.c (global_ptr, func4): New.
15969 (main): Call func4.
15970 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15971 (test_inaccessible_watchpoint): New.
15972
2f34202f
MR
159732008-02-29 Maciej W. Rozycki <macro@mips.com>
15974
15975 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15976 select the largest.
15977
0d6ba1b1
DJ
159782008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15979
15980 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15981 frames-invalid annotations.
15982
e691325a
PM
159832008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15984
a9c64011 15985 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 15986
f85b5ecc
DE
159872008-02-27 Doug Evans <dje@google.com>
15988
15989 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15990 for bug 1738.
15991 (breakpoint_to_handler_entry): Ditto.
15992
b40e7bf3
JB
159932008-02-27 Joel Brobecker <brobecker@adacore.com>
15994
15995 * gdb.base/ending-run.exp: Use the first line of code inside
15996 function body to test breakpoints.
15997 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15998 location where the breakpoint is inserted when using the line
15999 where a function is declared. Fix typo in the description of
16000 one of the tests.
16001 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
16002
2faca73a
PM
160032008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16004
16005 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 16006 tests.
2faca73a 16007
6f439c36
PM
160082008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
16009
16010 * gdb.base/args.exp: avoid same output for tests
16011 with single quotes.
16012
54e52265
VP
160132008-02-26 Vladimir Prus <vladimir@codesourcery.com>
16014
a9c64011
AS
16015 * gdb.base/annota1.exp: Adjust for 'info break'
16016 format changes.
16017 * gdb.base/annota3.exp: Likewise.
16018 * gdb.base/break.exp: Likewise.
16019 * gdb.base/condbreak.exp: Likewise.
16020 * gdb.base/pending.exp: Likewise.
16021 * gdb.base/sepdebug.exp: Likewise.
16022 * gdb.base/unload.exp: Likewise.
16023 * gdb.cp/ovldbreak.exp: Likewise.
16024 * gdb.mi/mi-pending.exp: Likewise.
54e52265 16025
897b09ca
DE
160262008-02-07 Doug Evans <dje@google.com>
16027
16028 * gdb.cp/mb-inline.exp: New.
16029 * gdb.cp/mb-inline.h: New.
16030 * gdb.cp/mb-inline1.cc: New.
16031 * gdb.cp/mb-inline2.cc: New.
16032
b1c32d35
PM
160332008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
16034
16035 * gdb.pascal/floats.pas: New test program.
16036 * gdb.pascal/floats.exp: New testcase.
16037
1a4ca44a
TJB
160382008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
16039
16040 * gdb.base/callfuncs.c (t_float_many_args): New function.
16041 (t_double_many_args): New function.
16042 * gdb.base/callfuncs.exp: Add tests for exceeding float
16043 and double parameters passed through the stack.
16044
439048e8
JB
160452008-02-05 Joel Brobecker <brobecker@adacore.com>
16046
16047 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
16048 gdb.ada/complete/foo.adb: New files.
16049 * gdb.ada/complete.exp: New testcase.
16050
81fe8080
DE
160512008-02-03 Doug Evans <dje@google.com>
16052
301f0ecf
DE
16053 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
16054
81fe8080
DE
16055 * gdb.cp/gdb2384.exp: New file.
16056 * gdb.cp/gdb2384.cc: New file.
16057 * gdb.cp/gdb2384-base.h: New file.
16058 * gdb.cp/gdb2384-base.cc: New file.
16059
4b071aec
DE
160602008-02-02 Doug Evans <dje@google.com>
16061
16062 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
16063
61137ba6
JB
160642007-02-01 Joel Brobecker <brobecker@adacore.com>
16065
16066 * gdb.ada/sym_print_name: New test program.
16067 * gdb.ada/sym_print_name.exp: New testcase.
16068
160692007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
16070
16071 * gdb.ada/nested/hello.adb: New file.
16072 * gdb.ada/nested.exp: New testcase.
16073 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16074
98deb0da
VP
160752008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16076
16077 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
16078 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
16079 don't cause future evaluations of function to report
16080 creation of internal breakpoints.
98deb0da 16081
723a2275
VP
160822008-02-01 Vladimir Prus <vladimir@codesourcery.com>
16083
16084 * gdb.mi/mi-break.exp (test_error): New.
16085 Call it.
16086
fb546a2f
LM
160872008-01-31 Luis Machado <luisgpm@br.ibm.com>
16088
16089 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
16090 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
16091
2d8fd90a
PM
160922008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16093
16094 * gdb.pascal/integers.pas: New test program.
16095 * gdb.pascal/integers.exp: New testcase.
16096
a7fa0ded
PM
160972008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
16098
16099 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
16100
5e1a1926
TJB
161012008-01-30 Luis Machado <luisgpm@br.ibm.com>
16102
16103 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
16104 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
16105
8d04f9f0
JB
161062008-01-30 Paul Hilfinger <hilfinger@adacore.com>
16107
16108 * gdb.ada/formatted_ref: New test program.
16109 * gdb.ada/formatted_ref.exp: New testcase.
16110
16111 * gdb.cp/formatted-ref.cc: New file.
16112 * gdb.cp/formatted-ref.exp: New testcase.
16113
ce75a98f
JB
161142008-01-30 Joel Brobecker <brobecker@adacore.com>
16115
16116 * gdb.base/ptype.exp: Add testing of "ptype $pc".
16117
e835f6bf
NR
161182008-01-30 Nick Roberts <nickrob@snap.net.nz>
16119
16120 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
16121 (test_file_list_exec_source_file): Update to new macro-info field.
16122
d118ef87
PH
161232008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
16124
16125 * gdb.ada/exprs: New test program.
16126 * gdb.ada/exprs.exp: New testcase.
16127
7d35ab09
TJB
161282008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
16129
16130 * dfp-test.c (DELTA, DELTA_B): New definitions.
16131 (double_val1, double_val2, double_val3, double_val4, double_val5,
16132 double_val6, double_val7, double_val8, double_val9, double_val10,
16133 double_val11, double_val12, double_val13, double_val14, dec32_val1,
16134 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
16135 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
16136 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
16137 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
16138 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
16139 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
16140 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
16141 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
16142 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
16143 dec128_val16): New global variables.
16144 (decimal_dec128_align): New function.
16145 (decimal_mixed): Likewise.
16146 (decimal_many_args_dec32): Likewise.
16147 (decimal_many_args_dec64): Likewise.
16148 (decimal_many_args_dec128): Likewise.
16149 (decimal_many_args_mixed): Likewise.
16150 * dfp-test.exp: Add tests calling new inferior functions.
16151
2d717e4f
DJ
161522008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16153
16154 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
16155 gdb.server/ext-run.exp: New files.
16156 * lib/gdbserver-support.exp (gdbserver_download): New.
16157 (gdbserver_start): New. Update gdbserver expected
16158 output.
16159 (gdbserver_spawn): Use them.
16160 (gdbserver_start_extended): New.
16161
e85a822c
DJ
161622008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16163
16164 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
16165 Run on GNU/Linux.
16166 (do_exec_tests): Check for systems which do not support catchpoints.
16167 Do not match START.
16168 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
16169 Run on GNU/Linux. Enable verbose output.
16170 (check_fork_catchpoints): New.
16171 (explicit_fork_child_follow, catch_fork_child_follow)
16172 (tcatch_fork_parent_follow): Update expected messages.
16173 (do_fork_tests): Use check_fork_catchpoints.
16174 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
16175 Run on GNU/Linux. Enable verbose output.
16176 (check_vfork_catchpoints): New.
16177 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
16178 expected messages.
16179 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
16180
401ea829
JB
161812008-01-29 Jim Blandy <jimb@red-bean.com>
16182
16183 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
16184 host' errors.
16185 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
16186
aceaf3ad
JB
161872008-01-29 Jim Blandy <jimb@red-bean.com>
16188
16189 * gdb.threads/sigthread.c: Use barriers to ensure that
16190 child_thread and child_thread_two are always initialized before we
16191 start to use them.
16192
a5606eee
VP
161932008-01-29 Vladimir Prus <vladimir@codesourcery.com>
16194
16195 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
16196 * gdb.base/watchpoint-solib.c: New.
16197 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 16198
c55a82bb
PM
161992008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
16200
16201 * gdb.base/gdb1056.exp: Add unsigned integer test.
16202
0993fe05
DE
162032008-01-28 Doug Evans <dje@google.com>
16204
16205 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
16206
4fe42e7f
JB
162072008-01-27 Jim Blandy <jimb@codesourcery.com>
16208
c7a69933
JB
16209 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
16210
4fe42e7f
JB
16211 * gdb.base/expand-psymtabs.exp: Doc fix.
16212
5def8285
MK
162132008-01-26 Mark Kettenis <kettenis@gnu.org>
16214
16215 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16216
5313c911
NR
162172008-01-24 Nick Roberts <nickrob@snap.net.nz>
16218
a9c64011 16219 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
16220 -var-set-format.
16221
93815fbf
VP
162222008-01-23 Chris Demetriou <cgd@google.com>
16223
16224 * gdb.threads/thread_events.c: New testcase source file.
16225 * gdb.threads/thread_events.exp: New testcase expect file.
16226
467a88ee
NR
162272008-01-23 Nick Roberts <nickrob@snap.net.nz>
16228
16229 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
16230
16231 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
16232 -var-set-format.
16233
d8f82aba
DJ
162342008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
16235 Vladimir Prus <vladimir@codesourcery.com>
16236
16237 * gdb.base/float.exp: Allow missing floating point for m68k and
16238 PowerPC.
16239
60c46647
VP
162402008-01-22 Vladimir Prus <vladimir@codesourcery.com>
16241
16242 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
16243 ignore count.
16244 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
16245 * gdb.mi/mi-cli.exp: Adjust.
16246 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 16247
c7dd36a1
PA
162482008-01-17 Pedro Alves <pedro@codesourcery.com>
16249
16250 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
16251 and 'dummy_ptr' integer pointer. Initialize struct_declarations
16252 with dummy_ptr's address.
16253 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
16254 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
16255 all targets.
16256 * gdb.mi/mi2-var-child.exp: Likewise.
16257
39d5313e
JB
162582008-01-09 Joel Brobecker <brobecker@adacore.com>
16259
16260 * gdb.ada/null_array: New test program.
16261 * gdb.ada/null_array.exp: New testcase.
16262
0aea4bf3
LM
162632008-01-09 Luis Machado <luisgpm@br.ibm.com>
16264
16265 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
16266 with required float modifiers.
16267
0b354900
JB
162682008-01-08 Joel Brobecker <brobecker@adacore.com>
16269
16270 * gdb.ada/funcall_param: New test program.
16271 * gdb.ada/funcall_param.exp: New testcase.
16272
cdb7f5d4
JB
162732008-01-08 Joel Brobecker <brobecker@adacore.com>
16274
16275 * gdb.ada/arrayparam: New test program.
16276 * gdb.ada/arrayparam.exp: New testcase.
16277
88e2547f
JB
162782008-01-08 Joel Brobecker <brobecker@adacore.com>
16279
16280 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
16281 landed. Should also fix random failures in the test following it.
16282
f6867ce0
TJB
162832008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
16284
16285 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
16286 for expressions with decimal float values.
16287 (test_dfp_conversions): New function to test casts to and from
16288 decimal float types.
16289 Call test_dfp_conversions.
16290 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
16291 elements.
16292 (main): Initialize ds.float4 and ds.double8 elements.
16293 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
16294 string to new error message.
16295 (d64_set_tests): Likewise.
16296 (d128_set_tests): Likewise.
16297 Add tests for expressions with decimal float variables. Add tests for
16298 conversions to and from decimal float types.
16299
f9c11282
JB
163002008-01-05 Joel Brobecker <brobecker@adacore.com>
16301
16302 * gdb.ada/packed_tagged/comp_bug.adb: New file.
16303 * gdb.ada/packed_tagged.exp: New testcase.
16304
0ecbca72
JB
163052008-01-04 Joel Brobecker <brobecker@adacore.com>
16306
16307 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
16308 gdb.ada/homonym/homonym_main.adb: New files.
16309 * gdb.ada/homonym.exp: New testcase.
16310
c18d3d89
JB
163112008-01-04 Joel Brobecker <brobecker@adacore.com>
16312
16313 * gdb.ada/packed_array.exp: Add testing of references to
16314 a packed array.
16315
ecc7085b
JB
163162008-01-04 Joel Brobecker <brobecker@adacore.com>
16317
16318 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
16319 New files.
16320 * gdb.ada/type_coercion.exp: New testcase.
16321
c474c922
JB
163222008-01-04 Joel Brobecker <brobecker@adacore.com>
16323
16324 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
16325 gdb.ada/tagged/foo.adb: New file.
16326 * gdb.ada/tagged.exp: New testcase.
16327
9005b927
JB
163282008-01-04 Joel Brobecker <brobecker@adacore.com>
16329
16330 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
16331 gdb.ada/ptype_field/foo.adb: New files.
16332 * gdb.ada/ptype_field.exp: New testcase.
16333
1a6aaad8
JB
163342008-01-03 Joel Brobecker <brobecker@adacore.com>
16335
16336 * gdb.ada/print_pc.exp: New testcase.
16337
0ef22f53
JB
163382008-01-03 Joel Brobecker <brobecker@adacore.com>
16339
16340 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
16341 gdb.ada/taft_type/p.adb: New files.
16342 * gdb.ada/taft_type.exp: New testcase.
16343
1689ecf8
JB
163442008-01-03 Joel Brobecker <brobecker@adacore.com>
16345
16346 * gdb.ada/array_bounds/bar.adb: New file.
16347 * gdb.ada/array_bounds.exp: New testcase.
16348
a4d0b9c3
JB
163492008-01-03 Joel Brobecker <brobecker@adacore.com>
16350
16351 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
16352 gdb.ada/arrayptr/foo.adb: New files.
16353 * gdb.ada/arrayptr.exp: New testcase.
16354
a31ace00
JB
163552008-01-03 Joel Brobecker <brobecker@adacore.com>
16356
16357 * gdb.base/set-lang-auto.exp: New testcase.
16358
a97fced3
JB
163592008-01-03 Joel Brobecker <brobecker@adacore.com>
16360
16361 * gdb.ada/fun_addr/foo.adb: New file.
16362 * gdb.ada/fun_addr.exp: New testcase.
16363
ef29ce1a
JK
163642008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16365
16366 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
16367 New files
16368
0fafefe3
JB
163692008-01-02 Joel Brobecker <brobecker@adacore.com>
16370
16371 * array_subscript_addr/p.adb: New file.
a9c64011 16372 * array_subscript_addr.exp: New testcase.
0fafefe3 16373
c4359f8d
JB
163742008-01-02 Joel Brobecker <brobecker@adacore.com>
16375
a9c64011 16376 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
16377 New files.
16378 * gdb.ada/str_cmp_ref.exp: New testcase.
16379
1aa1b15b
JB
163802008-01-01 Joel Brobecker <brobecker@adacore.com>
16381
16382 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
16383 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 16384 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 16385
81c9b2cf
JB
163862008-01-01 Joel Brobecker <brobecker@adacore.com>
16387
16388 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
16389 gdb.ada/ref_param/pck.ads: New files.
16390 * gdb.ada/ref_param.exp: New testcase.
16391
319e4674
JB
163922008-01-01 Joel Brobecker <brobecker@adacore.com>
16393
16394 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
16395 gdb.ada/interface/foo.adb: New files.
16396 * gdb.ada/interface.exp: New testcase.
16397
ef682c56
JB
163982007-12-31 Jim Blandy <jimb@codesourcery.com>
16399
16400 * gdb.base/multi-forks.exp: Consume all output from child
16401 processes before proceeding to next test.
16402
f6f3eb6c
JB
164032007-12-29 Jim Blandy <jimb@codesourcery.com>
16404
16405 * configure: Regenerated.
16406
f652e42f
JB
164072007-12-27 Joel Brobecker <brobecker@adacore.com>
16408
16409 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
16410 gdb.ada/fixed_cmp/fixed.adb: New files.
16411 * gdb.ada/fixed_cmp.exp: New testcase.
16412
6943e596
JB
164132007-12-27 Joel Brobecker <brobecker@adacore.com>
16414
16415 * gdb.ada/boolean_expr.exp: New testcase.
16416
aad9a193
JB
164172007-12-26 Jim Blandy <jimb@codesourcery.com>
16418
16419 * gdb.base/multi-forks.exp: Doc fix.
16420
fb5f3683
JB
164212007-12-26 Joel Brobecker <brobecker@adacore.com>
16422
16423 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
16424 * gdb.ada/char_param.exp: Do not compile our test program with
16425 -gnata, this is unnecessary.
16426 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
16427
384e4a9c
JB
164282007-12-24 Joel Brobecker <brobecker@adacore.com>
16429
16430 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
16431 gdb.ada/print_chars/foo.adb: New files.
16432 * gdb.ada/print_chars.exp: New testcase.
16433
01e044f7
JB
164342007-12-24 Joel Brobecker <brobecker@adacore.com>
16435
16436 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
16437 gdb.ada/char_param/foo.adb: New files.
16438 * gdb.ada/char_param.exp: New testcase.
16439
0ce17860
JB
164402007-12-22 Jim Blandy <jimb@codesourcery.com>
16441
16442 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
16443 hard-coding source line numbers into the test.
16444 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
16445 gdb_get_line_number to find.
16446
919809b9
JB
164472007-12-22 Joel Brobecker <brobecker@adacore.com>
16448
16449 * gdb.base/ptype.c (highest): New struct type.
16450 (the_highest): New variable of that type.
16451 (main): Add dummy assignment to a field of variable the_highest.
16452 * gdb.base/ptype.exp: Test type printing of our new variable.
16453
abc8a88d
PM
164542007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
16455
16456 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 16457 and record first explicitly generated thread number.
abc8a88d
PM
16458 Use that thread number for thread specific watchpoint test.
16459 Add iteration number to repetitive tests.
16460
5158f3e3
CES
164612007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16462 Jim Blandy <jimb@codesourcery.com>
16463
16464 * gdb.base/expand-psymtabs.c: New testcase
16465 source file.
16466 * gdb.base/expand-psymtabs.exp: New testcase
16467 expect file.
16468
37e4754d
LM
164692007-12-17 Luis Machado <luisgpm@br.ibm.com>
16470
16471 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
16472 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
16473
551e5d04
JB
164742007-12-17 Joel Brobecker <brobecker@adacore.com>
16475
16476 * gdb.ada/frame_args/foo.adb: New file.
16477 * gdb.ada/frame_args/pck.ads: New file.
16478 * gdb.ada/frame_args/pck.adb: New file.
16479 * gdb.ada/frame_args.exp: New testcase.
16480
a05ee097
JB
164812007-12-17 Joel Brobecker <brobecker@adacore.com>
16482
16483 * gdb.base/frame-args.c: New file.
16484 * gdb.base/frame-args.exp: New testcase.
16485
c162e8c9 164862007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 16487 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
16488
16489 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
16490
afe8ab22 164912007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16492
afe8ab22
VP
16493 * gdb.mi/mi-pending.exp: New.
16494 * gdb.mi/mi-pending.c: New.
16495 * gdb.mi/mi-pendshr.c: New.
16496
dfdfb3ca
JB
164972007-12-06 Jim Blandy <jimb@codesourcery.com>
16498
16499 * gdb.base/default.exp: Update expected output for 'info catch'.
16500
b7fca990
JK
165012007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
16502
16503 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
16504 must be set to binary.
16505
6a1afc1e
PA
165062007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16507
16508 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16509
a6b151f1
DJ
165102007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16511
16512 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16513 gdb.mi/mi-file-transfer.exp: New.
16514
43039443
JK
165152007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16516
16517 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16518
0ef2251b
MR
165192007-11-22 Maciej W. Rozycki <macro@mips.com>
16520
16521 * gdb.trace/backtrace.exp: Fix a typo.
16522 * gdb.trace/circ.exp: Likewise.
16523 * gdb.trace/collection.exp: Likewise.
16524 * gdb.trace/limits.exp: Likewise.
16525 * gdb.trace/report.exp: Likewise.
16526 * gdb.trace/tfind.exp: Likewise.
16527 * gdb.trace/while-dyn.exp: Likewise.
16528
5443631e
NR
165292007-11-21 Nick Roberts <nickrob@snap.net.nz>
16530
16531 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16532 objects of pointers that can't be dereferenced are now
16533 "noneditable".
16534
a4ce5b0d
UW
165352007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16536
16537 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16538 (target_cpu): Remove.
16539
d6e956e5
VP
165402007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16541
16542 * gdb.base/ending-run.exp: Expect the list of cleared
16543 breakpoint to come in natural order, not the reversed one.
a9c64011 16544
214270ab
VP
165452007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16546
16547 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16548 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 16549
1a619819
LM
165502007-11-05 Luis Machado <luisgpm@br.ibm.com>
16551
16552 * gdb.base/printcmds.exp: New function
16553 test_printf_with_dfp.
16554
5b01a6fa
DE
165552007-11-02 Doug Evans <dje@google.com>
16556
16557 * gdb.disasm/t01_mov.s: Remove carriage returns.
16558 * gdb.disasm/t02_mova.s: Ditto.
16559 * gdb.disasm/t03_add.s: Ditto.
16560 * gdb.disasm/t04_sub.s: Ditto.
16561 * gdb.disasm/t05_cmp.s: Ditto.
16562 * gdb.disasm/t06_ari2.s: Ditto.
16563 * gdb.disasm/t07_ari3.s: Ditto.
16564 * gdb.disasm/t08_or.s: Ditto.
16565 * gdb.disasm/t09_xor.s: Ditto.
16566 * gdb.disasm/t10_and.s: Ditto.
16567 * gdb.disasm/t11_logs.s: Ditto.
16568 * gdb.disasm/t12_bit.s: Ditto.
16569 * gdb.disasm/t13_otr.s: Ditto.
16570
ec33ab7f
JK
165712007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16572
16573 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16574
ae0d01ff
UW
165752007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16576
16577 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16578 provide DFP support.
16579
55eddb0f
DJ
165802007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16581
16582 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16583 Test "set powerpc vector-abi". Skip auto-detection tests for old
16584 toolchains.
16585
7020f05c
PA
165862007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16587
16588 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16589 with [string compare].
16590
84bc3db9
PA
165912007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16592
16593 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16594 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16595
5876dc88
LM
165962007-10-25 Luis Machado <luisgpm@br.ibm.com>
16597
16598 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16599 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16600 * gdb.opt/Makefile.in: New makefile.
16601 * Makefile.in: Create new directory "gdb.opt".
16602 * configure.ac: Add "gdb.opt" directory.
16603 * configure: Regenerated.
a9c64011 16604
c3ea9a14
DE
166052007-10-25 Doug Evans <dje@google.com>
16606
16607 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16608 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16609
a9c64011 166102007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
16611 Thiago Jung Bauermann <bauerman@br.ibm.com>
16612
16613 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16614 Floating Point expressions.
16615 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16616 Floating Point variables.
16617 * gdb.base/dfp-test.c: new file containing program with Decimal
16618 Floating variables, used by gdb.base/dfp-test.exp.
16619
62a24a2b
DJ
166202007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16621
16622 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16623
e7b1eae6
UW
166242007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16625
16626 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16627 compiling test case with GCC.
16628 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16629
c641edcc
UW
166302007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16631
16632 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16633 format changes.
16634
5e5ebfe6
MS
166352007-10-18 Michael Snyder <msnyder@specifix.com>
16636
16637 * gdb.base/dbx.exp: Add missing "-re " operator.
16638
e831e7b6
GM
166392007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16640
16641 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16642 * configure.ac: Removed trailing spaces after backslash.
16643 * gdb.modula2: New directory.
16644 * gdb.modula2/Makefile.in: New file.
16645 * gdb.modula2/unbounded-array.exp: New file.
16646 * gdb.modula2/unbounded1.c: New file.
16647
7cc46491
DJ
166482007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16649
16650 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16651
166522007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
16653
16654 * gdb.base/sigstep.c (main): Add checks for
16655 return values for setitimer call.
16656 Call setitimer again with itimer = ITIMER_REAL
16657 if first call to setitimer fails.
16658
e91528f0
KH
166592007-10-11 Kazu Hirata <kazu@codesourcery.com>
16660
16661 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16662 of $timeout.
16663
2ec9a4f8
DJ
166642007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16665
16666 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16667
166682007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
16669
16670 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16671 of gdb_expect call, to avoid interruption.
16672
64b2fa04
PA
166732007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16674
16675 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16676 (v_unsigned_long_long, v_long_long_array)
16677 (v_signed_long_long_array, v_unsigned_long_long_array)
16678 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16679 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16680 [!NO_LONG_LONG]: New.
16681 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16682 v_long_long_member.
16683
16684 (v_long_long_func, v_signed_long_long_func)
16685 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16686 (main) [!NO_LONG_LONG]: Initialize long long variants.
16687
16688 * gdb.base/whatis.exp: If board file requests no_long_long, build
16689 test with NO_LONG_LONG defined. Test long long, signed long long,
16690 and unsigned long long variants but only if board file doesn't
16691 disable it.
16692
a912286e 166932007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 16694 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
16695
16696 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16697 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16698 * configure: Regenerated.
16699 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16700 gdb.pascal/types.exp, lib/pascal.exp: New files.
16701
471ba8c9
DJ
167022007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16703
16704 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16705 call.
16706 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16707 to return to the call.
16708 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16709 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16710 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16711 * gdb.mi/mi-until.exp (test_until): Likewise.
16712 * gdb.mi/mi2-until.exp (test_until): Likewise.
16713
fef8a650
DJ
167142007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16715
16716 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16717 two-char array.
16718 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16719
d983da9c
DJ
167202007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16721
16722 * gdb.threads/watchthreads.c (thread_function): Sleep between
16723 iterations.
16724 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16725 at once for S/390. Generate matching fails and passes.
16726
17f62551
VP
167272007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16728
16729 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16730 the 'struct_declarations' variable to zeros.
a9c64011 16731
ed0616c6
VP
167322007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16733
16734 * gdb.cp/mb-ctor.cc: New.
16735 * gdb.cp/mb-ctor.exp: New.
16736 * gdb.cp/mb-templates.cc: New.
16737 * gdb.cp/mb-templates.exp: New.
16738
41f1b697
DJ
167392007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16740
16741 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16742
3f213f78
PA
167432007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16744
16745 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16746 targets.
16747 * configure: Regenerate.
16748
0d381245 167492007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16750
0d381245
VP
16751 * gdb.base/annota1.exp: Adjust for 'info break'
16752 format changes.
16753 * gdb.base/annota3.exp: Likewise.
16754 * gdb.base/break.exp: Likewise.
16755 * gdb.base/condbreak.exp: Likewise.
16756 * gdb.base/pending.exp: Likewise.
16757 * gdb.base/sepdebug.exp: Likewise.
16758 * gdb.base/unload.exp: Likewise.
16759 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 16760
fe3f5fa8
VP
167612007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16762
16763 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16764 messages.
16765 * gdb.base/chng-syms.exp: Likewise.
16766 * gdb.base/unload.exp: Likewise.
a9c64011 16767
a75cf6c0
DJ
167682007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16769
16770 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16771
18ecae38
DJ
167722007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16773
16774 * schedlock.c (NUM): Change to 1.
16775 (main): Use args[0] for the main thread.
16776 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16777 regardless of the number of threads.
16778
5509918f
MR
167792007-09-14 Maciej W. Rozycki <macro@mips.com>
16780
4a543daf
MR
16781 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16782 type down.
16783 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16784 test.
16785 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16786 watchpoint type down.
16787 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16788 test.
16789
167902007-09-14 Maciej W. Rozycki <macro@mips.com>
16791
5509918f
MR
16792 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16793 Move all the tests here and run them twice, once using software
16794 watchpoints and once using hardware watchpoints.
16795 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16796
40b53987
DJ
167972007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16798
16799 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16800 test.
16801
695e2681
MK
168022007-09-10 Mark Kettenis <kettenis@gnu.org>
16803
8b3fc8d8
MK
16804 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16805 build-id.
16806
695e2681
MK
16807 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16808 know about $ORIGIN. Calculate output dir from $dest instead of
16809 using ${objdir}/{$subdir}.
16810
58d69f29
MK
168112007-09-09 Mark Kettenis <kettenis@gnu.org>
16812
16813 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16814 gcore, before continuing with the test.
16815
3e347599
DJ
168162007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16817
16818 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16819 * gdb.mi/mi-watch.exp: Likewise.
16820
ea37ba09
DJ
168212007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16822 Jim Blandy <jimb@codesourcery.com>
16823
16824 * gdb.arch/i386-sse.exp: Do not expect character constants.
16825 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16826 * gdb.base/display.exp: Allow print/s.
16827 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16828 and unsigned char array changes.
16829
2025a643
DJ
168302007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16831
16832 * gdb.base/display.exp: Add tests for printf %p.
16833
26669a27
PA
168342007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16835
16836 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16837 the dll name to unicode.
16838
c8f021f8
JK
168392007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16840
16841 * gdb.base/default.exp (show version): Update the version text.
16842 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16843
4cf31eea
JK
168442007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16845
16846 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16847 New files.
16848
4935890f
JK
168492007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16850
16851 * lib/gdb.exp (build_id_debug_filename_get): New function.
16852 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16853 Remove the generate DEBUG file for the future testcase runs.
16854 New testcase for the NT_GNU_BUILD_ID retrieval.
16855 Move the final testing step to ...
16856 (test_different_dir): ... a new function.
16857 New parameter XFAIL to XFAIL all the tests performed.
16858 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16859 New parameter TYPE to PF_PREFIX all the tests performed.
16860
02142340
VP
168612007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16862
16863 * gdb.mi/mi-var-cp.cc (path_expression): New
16864 function.
16865 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16866
36acd84e
UW
168672007-08-27 Markus Deuling <deuling@de.ibm.com>
16868
16869 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16870 to fit into SPU Local Store memory.
16871
a896d121
JB
168722007-08-23 Joel Brobecker <brobecker@adacore.com>
16873
16874 * gdb.base/default.exp: Adjust the expected output of "info
16875 warranty" after the switch to GPLv3.
16876
7b433602
JB
168772007-08-23 Joel Brobecker <brobecker@adacore.com>
16878
16879 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16880 to 30000 (from 20000).
16881
e22f8b7c
JB
168822007-08-23 Joel Brobecker <brobecker@adacore.com>
16883
16884 Switch the license of all .exp files to GPLv3.
16885 Switch the license of all .f and .f90 files to GPLv3.
16886 Switch the license of all .s and .S files to GPLv3.
16887
5a0e3bd0
JB
168882007-08-23 Joel Brobecker <brobecker@adacore.com>
16889
16890 * configure.ac: Switch license to GPLv3.
16891
cc00619d
JB
168922007-08-23 Joel Brobecker <brobecker@adacore.com>
16893
16894 Switch the licensing to GPLv3 for all .ads and .adb files.
16895
8d26208a
DJ
168962007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16897
16898 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16899 and t_int_double.
16900 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16901
4fcb9948
JB
169022007-08-17 Joel Brobecker <brobecker@adacore.com>
16903
16904 * gdb.base/step-line.c: Switch license to GPL version 3, and
16905 update copyright year.
16906 * gdb.base/step-line.inp: Likewise.
16907
b9c34f67
JB
169082007-08-17 Joel Brobecker <brobecker@adacore.com>
16909
16910 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16911 changes inside gdb1555.c.
16912 * gdb.base/pending.exp: Likewise.
16913
2cc17678
DJ
169142007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16915
16916 * config/default.exp: New file.
16917
e48883f7
DJ
169182007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16919
16920 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16921 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16922
1ab80e5b
MR
169232007-07-30 Maciej W. Rozycki <macro@mips.com>
16924
16925 * gdb.base/dump.exp: Force the correct endianness for binary
16926 formats not carrying this information.
16927
aba471f5
DJ
169282007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16929
16930 * gdb.threads/staticthreads.exp: Match .*sem_post.
16931
d4e07204
DJ
169322007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16933
16934 * gdb.base/readline.exp (operate_and_get_next): Match the final
16935 prompt.
16936
2b97317d
KB
169372007-07-23 Kevin Buettner <kevinb@redhat.com>
16938
16939 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16940 to restarting SID.
16941
44efa07a
KB
169422007-07-18 Kevin Buettner <kevinb@redhat.com>
16943
16944 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16945 prior to `gdb_start'.
16946
7b5ebade
KB
169472007-07-18 Kevin Buettner <kevinb@redhat.com>
16948
16949 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16950 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16951 Remove call to gdb_unload.
16952
255e7678
DJ
169532007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16954 Daniel Jacobowitz <dan@codesourcery.com>
16955
16956 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16957 for __WIN32__.
16958 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16959 * gdb.base/unload.exp: Use shared library test routines.
16960
3a40aaa0
UW
169612007-07-03 Markus Deuling <deuling@de.ibm.com>
16962
16963 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16964 * gdb.base/solib-symbol-lib.c: Likewise.
16965 * gdb.base/solib-symbol-main.c: Likewise.
16966
b0f4b84b
DJ
169672007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16968
16969 * config/gdbserver.exp (gdb_reconnect): New.
16970 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16971 gdb.base/solib-disc.exp: New files.
16972 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16973 remote debugging".
16974 (gdb_compile): Add shlib_load flag.
16975 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16976 port.
16977 (gdbserver_reconnect): New.
16978
1b05479a
DJ
169792007-07-01 Nick Roberts <nickrob@snap.net.nz>
16980 Daniel Jacobowitz <dan@codesourcery.com>
16981
16982 * gdb.base/annota3.exp: Test for if construct.
16983
86f78eb2
DJ
169842007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16985
16986 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16987
6a2eb474 169882007-06-21 Chris Dearman <chris@mips.com>
a9c64011 16989 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
16990
16991 * gdb.base/display.exp: Allow a newline after display/i.
16992 * gdb.base/pc-fp.exp: Likewise.
16993 * gdb.base/sigbpt.exp: Likewise.
16994
f8b73d13
DJ
169952007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16996
16997 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16998 required features to be included.
16999
4339e69e
DJ
170002007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17001
17002 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
17003 in info threads output.
17004
23d964e7
UW
170052007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17006 Markus Deuling <deuling@de.ibm.com>
17007
17008 * gdb.arch/spu-info.exp: New testcase.
17009 * gdb.arch/spu-info.c: New file.
17010
fd20f75b
DJ
170112007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
17012
17013 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
17014 tpcs_offset. Restore lr after the call.
17015 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
17016
2226f861
DJ
170172007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
17018
17019 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
17020 (gdbserver_run): Kill any running gdbserver.
17021 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
17022
d12371a9
MR
170232007-05-17 Maciej W. Rozycki <macro@mips.com>
17024
17025 * gdb.base/sigbpt.exp: Preset segv_addr.
17026
93f02886
DJ
170272007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
17028
17029 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
17030 (gdb_compile_shlib): Likewise.
17031 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
17032 (default_gdb_init): Clear cleanfiles.
17033 (gdb_finish): Delete recorded cleanfiles.
17034 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
17035
17036 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
17037 Do not use isnative.
17038 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
17039 gdb.base/so-impl-ld.exp: Likewise.
17040 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
17041 * gdb.base/unload.exp: Likewise. Do not pass empty option to
17042 gdb_compile.
17043
b04e06d7
VP
170442007-05-15 Vladimir Prus <vladimir@codesourcery.com>
17045
17046 * config/unknown.exp: Remove.
17047
069ed931
UW
170482007-05-15 Markus Deuling <deuling@de.ibm.com>
17049
17050 * gdb.base/info-proc.exp: Check is_remote.
17051
09db0d03
UW
170522007-05-14 Markus Deuling <deuling@de.ibm.com>
17053
17054 * gdb.base/gcore.exp: Initialize variable core_supported.
17055
af2cbe8c
DJ
170562007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17057
17058 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
17059
027c0295
DJ
170602007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17061
17062 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
17063 * gdb.threads/print-threads.exp (test_all_threads): Allow
17064 negative and hexadecimal thread IDs.
17065
dc5000e7
DJ
170662007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
17067
17068 * gdb.java/jprint.java (public): Avoid invalid call to static
17069 method.
17070
2e74ed18
DP
170712007-05-14 Denis Pilat <denis.pilat@st.com>
17072
17073 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
17074 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
17075 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
17076 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
17077 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
17078
83547f02
UW
170792007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17080
17081 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 17082 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
17083 this mode.
17084 * gdb.base/ovlymgr.c: Provide stubs for spu target.
17085 * gdb.base/spu.ld: New file.
17086
b18be20d
DJ
170872007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
17088
17089 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
17090
be444858
DJ
170912007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
17092
17093 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
17094
b1d53152
DJ
170952007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17096
17097 * gdb.java/jmain.exp: Handle demangled names with and without method
17098 signatures.
17099
d084b331
DJ
171002007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
17101
17102 * gdb.mi/mi-syn-frame.c (main, foo, bar)
17103 (have_a_very_merry_interrupt): Remove calls to puts.
17104 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
17105 inferior output.
17106 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
17107 test names.
17108
db9d7fc5
DJ
171092007-04-29 Markus Deuling <deuling@de.ibm.com>
17110 Daniel Jacobowitz <dan@codesourcery.com>
17111
17112 * gdb.base/auxv.exp (core_works): Also check is_remote.
17113 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
17114
ef783a7d 171152007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 17116
ef783a7d
VP
17117 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
17118 message, not the undefined 'module' variable.
17119 * gdb.base/siginfo.exp: Likewise.
17120 * gdb.base/sigstep.exp: Likewise.
17121 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
17122 serialport.
17123 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
17124
b7b73cae
CV
171252007-04-25 Corinna Vinschen <vinschen@redhat.com>
17126
17127 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
17128 target sim fails. Return 0 otherwise.
17129 (gdb_load): Return prematurely if gdb_target_sim fails.
17130
7d90fdfa
DP
171312007-04-16 Denis Pilat <denis.pilat@st.com>
17132
17133 * gdb.base/setshow.exp: Reset height after having set it to 100.
17134
5d3e9c85
DP
171352007-04-16 Denis Pilat <denis.pilat@st.com>
17136
17137 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
17138
18e75969
DP
171392007-04-16 Denis Pilat <denis.pilat@st.com>
17140
17141 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
17142
25d5ea92
VP
171432007-04-14 Vladimir Prus <vladimir@codesourcery.com>
17144
17145 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
17146 tests. Run the frozen varobjs test.
17147 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 17148 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 17149
0b49cb80
JK
171502007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17151
17152 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
17153 gdb.base/type-opaque.exp: New files.
17154
a73bafbc 171552007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
17156
17157 * gdb.mi/mi-var-child.c
a73bafbc
VP
17158 (do_children_tests): User char[2] instead of
17159 char so that automatic printing of pointers to char
17160 don't give unpredicable result.
17161 * gdb.mi/var-cmd.c (do_locals_test): Initialize
17162 local variables.
17163 * gdb.mi/mi-var-child.exp: Step to right line
17164 of do_children_tests.
17165 * gdb.mi/mi2-var-child.exp: Likewise.
17166 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 17167 do_locals_tests.
a73bafbc
VP
17168 (do_children_tests): User char[2] instead of
17169 char so that automatic printing of pointers to char
a9c64011 17170 don't give unpredicable result.
a73bafbc 17171 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17172 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
17173 Pass test name to mi_wait_for_stop.
17174
7ce59000
DJ
171752007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17176
17177 * gdb.asm/asm-source.exp: Remove d10v case.
17178 * lib/gdb.exp (skip_cplus_tests): Likewise.
17179 * gdb.asm/d10v.inc: Deleted.
17180
20389057
DJ
171812007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17182
17183 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
17184
8807d78b
DJ
171852007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17186
17187 * config/netware.exp: Delete file.
17188
aa3edb8e
JB
171892007-03-29 Joel Brobecker <brobecker@adacore.com>
17190
17191 * gdb.dwarf2/dw2-noloc.S: New file.
17192 * gdb.dwarf2/dw2-noloc.exp: New file.
17193
297561ac
PA
171942007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
17195
17196 * gdb.cp/method2.cc: New test.
17197 * gdb.cp/method2.exp: New test.
17198 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
17199
1f81bd39
DJ
172002007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17201
17202 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
17203
9453113a
DJ
172042007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
17205
17206 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
17207
b741e217
DJ
172082007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
17209
17210 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
17211 (gdb_load): Delete, replace with...
17212 (gdb_reload): ...this.
17213 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
17214 * gdb.server/server-mon.exp: Likewise.
17215 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
17216 (gdb_start_cmd): New.
17217 (gdb_file_cmd): Save the last loaded file.
17218 (gdb_reload): New.
17219 (gdb_gnu_strip_debug): Use transform.
17220 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
17221 support here. Use new $last_loaded_file. Check mtime.
17222 (gdb_target_cmd): Handle ObjC failure case.
17223 (infer_host_exec): Delete.
17224 (gdbserver_load): Rename to...
17225 (gdbserver_run): ...this. Simplify.
17226 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
17227 (mi_gdb_load): Move most contents to a new function...
17228 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
17229 (mi_run_cmd): Use mi_gdb_target_load.
17230 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
17231 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
17232 Use gdb_run_cmd.
17233 * gdb.base/charsign.exp: Remove incorrect comment.
17234 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
17235 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
17236 gdb.base/start.exp: Use gdb_start_cmd.
17237
446ab585 172382007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 17239 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
17240
17241 * gdb.base/sigbpt.exp: Fix the message when skipping test.
17242 * gdb.base/signull.exp: Similarly.
17243
bbb88ebf
UW
172442007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17245
17246 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
17247 messages available to test cases (like chng-sym.exp).
17248
cb8c4a99
AS
172492007-03-14 Andreas Schwab <schwab@suse.de>
17250
17251 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
17252 format changes.
17253
4e463ff5
DJ
172542007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
17255
17256 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
17257 (optimized_1): New.
17258 (main): Call optimized_1.
17259 (gdb2029): Correct typos. Call gdb2029_marker.
17260 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
17261 for gdb2029.
17262
b6db2c47
MK
172632007-03-12 Mark Kettenis <kettenis@gnu.org>
17264
17265 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
17266 as tabs. Remove redundant test pattern.
17267
70ed3737
UW
172682007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17269
17270 * gdb.base/long_long.exp: Accept optional symbol name in <...>
17271 for /a format output.
17272
47b67b60
DJ
172732007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
17274
17275 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
17276 collect output incrementally.
17277
b8953b0e
UW
172782007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17279
17280 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
17281 for -var-create lpcharacter test.
17282 * gdb.mi/mi2-var-cmd.exp: Likewise.
17283
7acd5c40
UW
172842007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17285
17286 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
17287 pass on targets where address zero is readable.
17288
9c6759c1
UW
172892007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17290
17291 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
17292 just a single architecture.
17293
a2f1aeb4
UW
172942007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17295
17296 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
17297 (fetch_all_registers): New function, uses gdb_test_multiple and
17298 exp_continue to fetch inferior output line-by-line.
17299 Replace all uses of do_get_all_registers by fetch_all_registers.
17300
46579ac2
UW
173012007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17302
17303 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
17304 in target_info.
17305
fc133f24
MS
173062007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17307
a9c64011 17308 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
17309 consistancy; add a default (timeout) case.
17310
7646a51d
MS
173112007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17312
17313 * gdb.base/watchpoint.exp: Fix truncated comment.
17314
dcfff61f
MS
173152007-03-02 Michael Snyder <michael.snyder@palmsource.com>
17316
17317 * Makefile.in: Remove spurious single-quotes from sed command.
17318
664e3ee9
DJ
173192007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
17320
17321 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
17322 func.
17323 * gdb.mi/mi2-var-cmd.exp: Likewise.
17324
d7cc6f2f
JB
173252007-02-27 Joel Brobecker <brobecker@adacore.com>
17326
a9c64011
AS
17327 * gdb.dwarf2/dw2-producer.S: New file.
17328 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
17329
173302007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
17331
17332 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17333 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17334 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17335 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17336 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
17337 Revert tests to use mi_gdb_test and include value field in output
17338 of -var-create.
17339
93d42b30
DJ
173402007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17341
17342 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
17343
c499ed39
DJ
173442007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
17345
17346 * gdb.base/maint.exp: Remove full paths from test names.
17347 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
17348 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
17349
9836f81b
JB
173502007-02-27 Joel Brobecker <brobecker@adacore.com>
17351
17352 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
17353
c74d0ad8
DJ
173542007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17355
17356 * gdb.server/server-mon.exp: New test.
17357
2711e456
DJ
173582007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17359
17360 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
17361
ff6f572f
DJ
173622007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
17363
17364 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
17365 register capitalization.
17366
fada3feb
DP
173672007-02-13 Denis Pilat <denis.pilat@st.com>
17368
17369 * gdb.mi/mi-var-invalidate.exp: New file.
17370
fb1e4ffc
DJ
173712007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17372
17373 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
17374
3da939d7
DJ
173752007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17376
17377 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
17378
123dc839
DJ
173792007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
17380
17381 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
17382 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
17383
877e3645 173842007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
17385
17386 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
17387 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
17388 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
17389 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
17390 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 17391 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 17392 Update tests to include value field in output of -var-create.
a9c64011 17393
3c0a2960
AS
173942007-02-08 Andreas Schwab <schwab@suse.de>
17395
17396 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
17397
108546a0
DJ
173982007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
17399
17400 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
17401 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
17402
d701dcab
DP
174032007-02-02 Denis Pilat <denis.pilat@st.com>
17404
17405 * gdb.threads/threadapply.exp: check that frame is not changed by
17406 the thread apply all command.
17407
783e3e2f
AS
174082007-01-31 Andreas Schwab <schwab@suse.de>
17409
6d9c3a87
AS
17410 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
17411
3c50d7b9
AS
17412 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
17413 in the dwarf sections.
17414 * gdb.dwarf2/mac-fileno.S: Likewise.
17415
783e3e2f
AS
17416 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
17417 bspstore register on ia64.
17418
78ff580e
AS
174192007-01-29 Andreas Schwab <schwab@suse.de>
17420
cc8e9b12
AS
17421 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
17422 "frame-begin" annotation.
17423
78ff580e
AS
17424 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
17425 number of "frames-invalid" annotations.
17426
704a4f78
DJ
174272007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
17428
17429 * gdb.base/commands.exp: Call if_commands_test.
17430 (gdb_test_no_prompt, if_commands_test): New.
17431
e741bf94
MK
174322007-01-28 Mark Kettenis <kettenis@gnu.org>
17433
17434 * gdb.threads/sigthread.c (NSIGS): Make bigger.
17435
474d0ad3
AS
174362007-01-27 Andreas Schwab <schwab@suse.de>
17437
17438 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
17439 .short/.int/.quad in the dwarf sections.
17440 * gdb.dwarf2/dw2-intercu.S: Likewise.
17441 * gdb.dwarf2/dw2-intermix.S: Likewise.
17442
e784b426
JK
174432007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17444
17445 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
17446 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
17447 array.
e784b426
JK
17448 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
17449 * gdb.base/setvar.exp: Likewise.
17450
37f08e04
AS
174512007-01-26 Andreas Schwab <schwab@suse.de>
17452
9a01813a
AS
17453 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
17454 test.
17455
37f08e04
AS
17456 * gdb.base/multi-forks.exp ("restart $i"): Also match
17457 __kernel_syscall_via_break.
17458
6e2a9270
VP
174592007-01-24 Vladimir Prus <vladimir@codesourcery.com>
17460
17461 * lib/mi-support.exp (mi_delete_varobj): New.
17462 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
17463 testcase.
17464 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
17465 (main): Call the above.
17466 (reference_update_test, base_in_reference_test)
17467 (reference_to_pointer): Delete the created varobjs.
a9c64011 17468
e515b470
DJ
174692007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
17470
17471 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
17472 * configure: Regenerated.
17473 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
17474 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
17475 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
17476 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
17477 * lib/gdb.exp (gdb_skip_xml_test): New function.
17478
08d8bcd7
DJ
174792007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
17480
17481 * gdb.base/sigrepeat.exp: Correct error message.
17482
174832007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
17484 Daniel Jacobowitz <dan@codesourcery.com>
17485
17486 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
17487 gdb.arch/i386-gnu-cfi-asm.S: New files.
17488
97c3f1f3
JK
174892007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
17490
17491 * lib/gdb.exp: Abort on missing `site.exp'.
17492
cb1df416
DJ
174932007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
17494 Daniel Jacobowitz <dan@codesourcery.com>
17495
17496 * gdb.base/included.c, gdb.base/included.exp,
17497 gdb.base/included.h: New files.
17498
35990120
DJ
174992007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17500
17501 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
17502 (maximize_rlimit): Reduce limits on 64-bit systems.
17503
6e81a116 175042007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
17505
17506 From Marcus Deuling <deuling@de.ibm.com>:
17507 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17508 every case.
17509
6c3c41f3
NR
175102007-01-13 Nick Roberts <nickrob@snap.net.nz>
17511
17512 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17513 (test_path_specification): Use objdir instead of srcdir to always
17514 get an absolute filename.
17515
2f12c312
DJ
175162007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17517
17518 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17519
81121995
VP
175202007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17521
17522 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17523 Make sure the variable we're using is in scope.
17524 (reference_to_pointer): Likewise.
17525
4741b737
DJ
175262007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17527
17528 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17529 has no debug information.
17530
054410c3
DJ
175312007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17532
17533 * gdb.base/annota1.exp: Remove extra send_gdb.
17534
818f79f6
DJ
175352007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17536
17537 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17538
f7a6bb70
DJ
175392007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17540
17541 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17542
57e66780
DJ
175432007-01-08 Nick Roberts <nickrob@snap.net.nz>
17544 Daniel Jacobowitz <dan@codesourcery.com>
17545
17546 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17547 lcharacter or linteger change. Correct duplicated test name.
17548 * gdb.mi/mi2-var-cmd.exp: Likewise.
17549
3d799a95
DJ
175502007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17551
17552 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17553
175542007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 17555
a9c64011
AS
17556 * gdb.base/nofield.c: New file.
17557 * gdb.base/nofield.exp: New testcase.
51679ba9 17558
eafb94e8
NR
175592007-01-05 Nick Roberts <nickrob@snap.net.nz>
17560
17561 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17562
17563 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17564 test.
17565
5e572bb4
DJ
175662007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17567
17568 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17569
74a44383
DJ
175702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17571
17572 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17573 when continuing.
17574
1b572db9
DJ
175752007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17576
17577 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17578 Expect ".exe" extension.
17579
381bc39b
DJ
175802007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17581
17582 * gdb.base/charset.exp: Add explicit filename to break.
17583 * gdb.base/dbx.exp: Add explicit filename to breaks.
17584
2b70e4c6
DJ
175852007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17586
17587 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17588 * gdb.mi/mi2-file.exp: Likewise.
17589
303b6f5d
DJ
175902007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17591
17592 Implement specification of MI tests as comments
17593 in C and C++ sources.
17594 * lib/mi-support.exp (mi_autotest_data): New variable.
17595 (mi_autotest_source): New variable.
17596 (count_newlines, mi_prepare_inline_tests)
17597 (mi_get_inline_test, mi_continue_to_line)
17598 (mi_run_inline_test, mi_tbreak)
17599 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17600 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17601 Run inline tests.
17602 * gdb.mi/mi-var-cp.cc: Define tests here.
17603
23da0d94
VP
176042007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17605
17606 Simplify usage of mi_continue_to.
17607 * lib/mi-support.exp (mi_runto_helper): Renamed
17608 from mi_runto, added new parameter 'run_or_continue'.
17609 (mi_runto): Use mi_runto_helper.
17610 (mi_continue_to): Accept just function name as parameter.
17611 Use mi_runto_helper.
17612 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17613 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17614
f9e18282
JB
176152006-01-04 Joel Brobecker <brobecker@adacore.com>
17616
17617 Make this testcase a bit more realistic. The current code
17618 is too simplistic, and allows the compiler to optimize out
17619 some of the entities we need for this testcase.
17620 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17621 (Do_Nothing): Add extra parameter.
17622 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17623 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17624 by using a variable of type Void_Star.
17625
fd678c65
JB
176262006-01-04 Joel Brobecker <brobecker@adacore.com>
17627
17628 * gdb.ada/catch_ex/foo.adb: New file.
17629 * gdb.ada/catch_ex.exp: New testcase.
17630
05cfdb42
DJ
176312007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17632
17633 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17634 pass --image-base to linker.
17635
2e03ee74
DJ
176362007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17637 Daniel Jacobowitz <dan@codesourcery.com>
17638
17639 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17640 secondary prompts.
17641
0d5de010
DJ
176422007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17643
17644 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17645 output. Test the types of members and member pointers.
17646 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17647 gdb/2092.
17648 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17649 statement. Enable for GCC. Update expected output for some tests
17650 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17651 layout.
17652 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17653 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17654 (Diamond::vget_base): New.
17655 (main): Add new tests.
17656 * gdb.cp/printmethod.exp: Update expected output for member functions.
17657 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17658 print pEe->D::vg().
17659
61a771aa
DJ
176602007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17661
17662 * gdb.threads/tls.exp: Allow stops in sem_post.
17663
2fa63963
DJ
176642006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17665
17666 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17667 * gdb.base/annota3.exp: Likewise.
17668 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17669 again (instead of timing out).
17670 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17671 GCC bug 26475.
17672 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17673 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17674 test from jmisc1.exp.
17675 * gdb.java/jmisc1.exp: Delete.
17676 * gdb.java/jprint.exp: Adjust to work with method signatures including
17677 return types.
17678 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17679 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17680 * lib/java.exp (compile_java_from_source): Pass the correct type
17681 to target_compile.
17682
5eefc2b7
JB
176832006-12-31 Joel Brobecker <brobecker@adacore.com>
17684
17685 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17686 (stack_align_edx): New function.
17687 (stack_align_eax): New function.
17688 (main): Add calls to stack_align_edx and stack_align_eax.
17689 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17690 Add testing for the cases where the register used during a stack
17691 realignment is edx. Same for eax.
17692
227c54da
DJ
176932006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17694
17695 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17696 and generic PE targets.
17697
cab8ac94
JB
176982006-12-29 Joel Brobecker <brobecker@adacore.com>
17699
17700 * gdb.ada/array_return.exp: Update copyright date list.
17701
ba54f318
JB
177022006-12-27 Joel Brobecker <brobecker@adacore.com>
17703
17704 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17705 (Create_Small_Float_Vector): New function.
17706 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17707 function body.
17708 * gdb.ada/array_return/p.adb: Use new type and function from
17709 package Pck.
17710 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17711 able to print the value returned by a function returning an
17712 array of float.
17713
6b7a35dd
JB
177142006-12-20 Joel Brobecker <brobecker@adacore.com>
17715
17716 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17717 The associated tests should be PASSing.
17718
038224f6
VP
177192006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17720
17721 Test for base in references.
17722 * gdb.mi/mi-var-cp.cc: Add test code.
17723 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17724 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17725 * gdb.mi/mi2-watch.exp: Likewise.
17726 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17727 (mi_list_varobj_children): New function.
17728
b26ed50d
VP
177292006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17730
17731 * lib/mi-support.exp
17732 (mi_runto): Accept "()" after function name.
17733 (mi_create_varobj): New function.
17734 (mi_varobj_update): New function.
17735 (mi_Check_varobj_value): New function.
17736 * gdb.mi/mi-var-cp.exp: New file.
17737 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 17738
08232497
DJ
177392006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17740
17741 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17742 gdb.base/weaklib2.c: New files.
17743
d394c993 177442006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 17745
ac6c2fba
NS
17746 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17747 info. Adjust test names.
17748
8ec659a0 17749 * gdb.base/break.c (main): Move position of malloc.
d394c993 17750 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 17751
acd65feb
VP
177522006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17753
17754 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17755 assignement of arrays and function pointers.
17756 * gdb.mi/var-cmd.c: Add declaration necessary for above
17757 tests.
17758
f556d5e5
NS
177592006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17760
17761 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
17762
17763 * gdb.threads/linux-dp.exp: Read thread table before and after
17764 creating each philosopher and verify it.
17765
697bc68d
NS
177662006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17767 Paul Brook <paul@codesourcery.com>
17768 Daniel Jacobowitz <dan@codesourcery.com>
17769
17770 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 17771 main to remove duplication. Add start function of the form
697bc68d
NS
17772 '_*start[1-9]*'. Add RVDS start function.
17773
29d73ae4
DJ
177742006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17775
17776 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17777
c1d88655
UW
177782006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17779
17780 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17781 * gdb.asm/spu.inc: New file.
17782 * gdb.base/term.exp: Disable if [target_info exists noargs].
17783 * gdb.gdb/complaints.exp: Disable if ![isnative].
17784 * gdb.gdb/selftest.exp: Likewise.
17785 * gdb.gdb/observer.exp: Likewise.
17786 * gdb.gdb/xfullpath.exp: Likewise.
17787 * gdb.base/attach.exp: Disable on SPU target.
17788 * gdb.cp/bs145503.exp: Likewise.
17789 * gdb.cp/exception.exp: Likewise.
17790 * gdb.cp/userdef.exp: Likewise.
17791
32a13b1a
DJ
177922006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17793
17794 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17795
d8295fe9
VP
177962006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17797
17798 * gdb.base/completion.exp: Fix completion tests for
17799 'info' and 'info '.
17800 * gdb.base/help.exp (help_test_raw, test_class_help)
17801 (test_prefix_command_help): Move...
17802 * lib/gdb.exp: Here.
17803 * gdb.base/main.exp: Adjust.
17804 * gdb.cp/maint.exp: Adjust.
17805 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 17806
8c394015
VP
178072006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17808
17809 * gdb.stabs/weird.exp (print_weird_var): Use
17810 gdb_test_multiple instead of gdb_expect.
17811
027fc1bc
VP
178122006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17813
17814 * gdb.base/help.exp (help_test_raw): New.
17815 (test_class_help): New.
17816 (test_prefix_command_help): New.
17817 Adjust testcases.
17818
67609209
FR
178192006-11-09 Christophe Lyon <christophe.lyon@st.com>
17820
17821 * gdb.base/constvars.c (main): Write to crass and crips, so that
17822 they are allocated by the compiler.
17823
f73adfeb
AS
178242006-10-27 Andreas Schwab <schwab@suse.de>
17825
17826 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17827 "detach-fork".
17828
2f83a18e
DJ
178292006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17830
17831 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17832 of patterns.
17833
94277a38
DJ
178342006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17835
17836 * gdb.base/sepdebug.exp: Remove debug format test.
17837 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17838 Handle no-symtab.
17839 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17840
5bd2f6e2
DJ
178412006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17842
17843 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17844 int to pointer or pointer to int.
17845 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17846
8c008720
DJ
178472006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17848
17849 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17850
9e35dae4
DJ
178512006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17852
17853 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17854
d9639e13
DJ
178552006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17856
17857 PR c++/2116
17858 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17859
390a1bd0
JB
178602006-10-06 Joel Brobecker <brobecker@adacore.com>
17861
17862 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17863 the corresponding bug has been fixed in GDB (PR/2018).
17864
dd920c33
JB
178652006-10-06 Joel Brobecker <brobecker@adacore.com>
17866
17867 * gdb.base/subst.exp: New testcase.
17868
53bbefe9
JB
178692006-10-06 Joel Brobecker <brobecker@adacore.com>
17870
17871 * gdb.ada/array_return/pck.ads: Add copyright notice.
17872 * gdb.ada/array_return/pck.adb: Likewise.
17873 * gdb.ada/array_return/p.adb: Likewise.
17874 * gdb.ada/exec_changed/first.adb: Likewise.
17875 * gdb.ada/exec_changed/second.adb: Likewise.
17876
09851417
JB
178772006-10-06 Joel Brobecker <brobecker@adacore.com>
17878
17879 * gdb.ada/watch_arg/watch.adb: New file.
17880 * gdb.ada/watch_arg.exp: New testcase.
17881
041bf30d
VP
178822006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17883
17884 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 17885 via string_to_regexp.
041bf30d 17886 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 17887
f286fbdd 178882006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
17889
17890 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17891 Remove unused / obsolete files.
17892
7c07f349
NR
178932006-09-19 Nick Roberts <nickrob@snap.net.nz>
17894
17895 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17896
cd5ff84a
VP
178972006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17898
17899 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17900 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 17901 the number of frames.
cd5ff84a 17902
ae018d1a
DJ
179032006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17904
17905 * gdb.base/args.c (main): Add breakpoint marker.
17906 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17907 really test empty arguments.
17908 (args_load): Delete.
17909 (args_test): New.
17910
b399c549
NR
179112006-09-13 Nick Roberts <nickrob@snap.net.nz>
17912
17913 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 17914 check for one file.
b399c549 17915
2ab1eb7a
VP
179162006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17917
17918 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17919 HIGH_FRAME argument to -stack-list-locals can be larger than
17920 the number of frames.
a9c64011 17921
476308bf
FF
179222006-08-18 Fred Fish <fnf@specifix.com>
17923
17924 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17925 '$' in front of skip_vmx_tests_saved when setting that.
17926
8625200f
AS
179272006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17928
17929 * gdb.base/trace-commands.exp: New file.
17930
089ec8f1
DJ
179312006-08-10 Joel Brobecker <brobecker@adacore.com>
17932 Daniel Jacobowitz <dan@codesourcery.com>
17933
17934 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17935 expected output of the backtrace commands.
17936
b60f0898
JB
179372006-08-09 Joel Brobecker <brobecker@adacore.com>
17938
17939 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17940 untested followed by return combination.
17941 * gdb.arch/altivec-regs.exp: Likewise.
17942 * gdb.arch/e500-abi.exp: Likewise.
17943 * gdb.arch/e500-regs.exp: Likewise.
17944 * gdb.arch/gdb1291.exp: Likewise.
17945 * gdb.arch/gdb1431.exp: Likewise.
17946 * gdb.arch/gdb1558.exp: Likewise.
17947 * gdb.arch/i386-prologue.exp: Likewise.
17948 * gdb.arch/i386-unwind.exp: Likewise.
17949 * gdb.asm/asm-source.exp: Likewise.
17950 * gdb.base/a2-run.exp: Likewise.
17951 * gdb.base/advance.exp: Likewise.
17952 * gdb.base/all-bin.exp: Likewise.
17953 * gdb.base/annota1.exp: Likewise.
17954 * gdb.base/annota3.exp: Likewise.
17955 * gdb.base/args.exp: Likewise.
17956 * gdb.base/arithmet.exp: Likewise.
17957 * gdb.base/assign.exp: Likewise.
17958 * gdb.base/async.exp: Likewise.
17959 * gdb.base/attach.exp: Likewise.
17960 * gdb.base/bang.exp: Likewise.
17961 * gdb.base/bigcore.exp: Likewise.
17962 * gdb.base/bitfields.exp: Likewise.
17963 * gdb.base/bitfields2.exp: Likewise.
17964 * gdb.base/break.exp: Likewise.
17965 * gdb.base/call-sc.exp: Likewise.
17966 * gdb.base/call-strs.exp: Likewise.
17967 * gdb.base/callfuncs.exp: Likewise.
17968 * gdb.base/checkpoint.exp: Likewise.
17969 * gdb.base/chng-syms.exp: Likewise.
17970 * gdb.base/code-expr.exp: Likewise.
17971 * gdb.base/commands.exp: Likewise.
17972 * gdb.base/completion.exp: Likewise.
17973 * gdb.base/cond-expr.exp: Likewise.
17974 * gdb.base/condbreak.exp: Likewise.
17975 * gdb.base/consecutive.exp: Likewise.
17976 * gdb.base/constvars.exp: Likewise.
17977 * gdb.base/corefile.exp: Likewise.
17978 * gdb.base/cvexpr.exp: Likewise.
17979 * gdb.base/dbx.exp: Likewise.
17980 * gdb.base/define.exp: Likewise.
17981 * gdb.base/detach.exp: Likewise.
17982 * gdb.base/display.exp: Likewise.
17983 * gdb.base/dump.exp: Likewise.
17984 * gdb.base/ena-dis-br.exp: Likewise.
17985 * gdb.base/ending-run.exp: Likewise.
17986 * gdb.base/environ.exp: Likewise.
17987 * gdb.base/eval-skip.exp: Likewise.
17988 * gdb.base/exprs.exp: Likewise.
17989 * gdb.base/fileio.exp: Likewise.
17990 * gdb.base/finish.exp: Likewise.
17991 * gdb.base/float.exp: Likewise.
17992 * gdb.base/foll-exec.exp: Likewise.
17993 * gdb.base/foll-fork.exp: Likewise.
17994 * gdb.base/foll-vfork.exp: Likewise.
17995 * gdb.base/freebpcmd.exp: Likewise.
17996 * gdb.base/funcargs.exp: Likewise.
17997 * gdb.base/gcore.exp: Likewise.
17998 * gdb.base/gdb1090.exp: Likewise.
17999 * gdb.base/gdb1250.exp: Likewise.
18000 * gdb.base/huge.exp: Likewise.
18001 * gdb.base/info-proc.exp: Likewise.
18002 * gdb.base/interrupt.exp: Likewise.
18003 * gdb.base/jump.exp: Likewise.
18004 * gdb.base/langs.exp: Likewise.
18005 * gdb.base/lineinc.exp: Likewise.
18006 * gdb.base/list.exp: Likewise.
18007 * gdb.base/logical.exp: Likewise.
18008 * gdb.base/long_long.exp: Likewise.
18009 * gdb.base/macscp.exp: Likewise.
18010 * gdb.base/maint.exp: Likewise.
18011 * gdb.base/mips_pro.exp: Likewise.
18012 * gdb.base/miscexprs.exp: Likewise.
18013 * gdb.base/multi-forks.exp: Likewise.
18014 * gdb.base/opaque.exp: Likewise.
18015 * gdb.base/overlays.exp: Likewise.
18016 * gdb.base/pc-fp.exp: Likewise.
18017 * gdb.base/pointers.exp: Likewise.
18018 * gdb.base/printcmds.exp: Likewise.
18019 * gdb.base/psymtab.exp: Likewise.
18020 * gdb.base/ptype.exp: Likewise.
18021 * gdb.base/recurse.exp: Likewise.
18022 * gdb.base/relational.exp: Likewise.
18023 * gdb.base/relocate.exp: Likewise.
18024 * gdb.base/remote.exp: Likewise.
18025 * gdb.base/reread.exp: Likewise.
18026 * gdb.base/restore.exp: Likewise.
18027 * gdb.base/return.exp: Likewise.
18028 * gdb.base/return2.exp: Likewise.
18029 * gdb.base/scope.exp: Likewise.
18030 * gdb.base/sect-cmd.exp: Likewise.
18031 * gdb.base/sep.exp: Likewise.
18032 * gdb.base/sepdebug.exp: Likewise.
18033 * gdb.base/setshow.exp: Likewise.
18034 * gdb.base/setvar.exp: Likewise.
18035 * gdb.base/sigall.exp: Likewise.
18036 * gdb.base/sigbpt.exp: Likewise.
18037 * gdb.base/signals.exp: Likewise.
18038 * gdb.base/signull.exp: Likewise.
18039 * gdb.base/sizeof.exp: Likewise.
18040 * gdb.base/solib.exp: Likewise.
18041 * gdb.base/step-line.exp: Likewise.
18042 * gdb.base/step-test.exp: Likewise.
18043 * gdb.base/structs.exp: Likewise.
18044 * gdb.base/structs2.exp: Likewise.
18045 * gdb.base/term.exp: Likewise.
18046 * gdb.base/twice.exp: Likewise.
18047 * gdb.base/until.exp: Likewise.
18048 * gdb.base/varargs.exp: Likewise.
18049 * gdb.base/volatile.exp: Likewise.
18050 * gdb.base/watchpoint.exp: Likewise.
18051 * gdb.base/whatis-exp.exp: Likewise.
18052 * gdb.base/whatis.exp: Likewise.
18053 * gdb.cp/ambiguous.exp: Likewise.
18054 * gdb.cp/annota2.exp: Likewise.
18055 * gdb.cp/annota3.exp: Likewise.
18056 * gdb.cp/bool.exp: Likewise.
18057 * gdb.cp/breakpoint.exp: Likewise.
18058 * gdb.cp/casts.exp: Likewise.
18059 * gdb.cp/class2.exp: Likewise.
18060 * gdb.cp/classes.exp: Likewise.
18061 * gdb.cp/cplusfuncs.exp: Likewise.
18062 * gdb.cp/ctti.exp: Likewise.
18063 * gdb.cp/derivation.exp: Likewise.
18064 * gdb.cp/exception.exp: Likewise.
18065 * gdb.cp/gdb1355.exp: Likewise.
18066 * gdb.cp/hang.exp: Likewise.
18067 * gdb.cp/inherit.exp: Likewise.
18068 * gdb.cp/local.exp: Likewise.
18069 * gdb.cp/m-data.exp: Likewise.
18070 * gdb.cp/m-static.exp: Likewise.
18071 * gdb.cp/member-ptr.exp: Likewise.
18072 * gdb.cp/method.exp: Likewise.
18073 * gdb.cp/misc.exp: Likewise.
18074 * gdb.cp/namespace.exp: Likewise.
18075 * gdb.cp/overload.exp: Likewise.
18076 * gdb.cp/ovldbreak.exp: Likewise.
18077 * gdb.cp/pr-1023.exp: Likewise.
18078 * gdb.cp/pr-1210.exp: Likewise.
18079 * gdb.cp/pr-574.exp: Likewise.
18080 * gdb.cp/printmethod.exp: Likewise.
18081 * gdb.cp/psmang.exp: Likewise.
18082 * gdb.cp/ref-params.exp: Likewise.
18083 * gdb.cp/ref-types.exp: Likewise.
18084 * gdb.cp/rtti.exp: Likewise.
18085 * gdb.cp/templates.exp: Likewise.
18086 * gdb.cp/try_catch.exp: Likewise.
18087 * gdb.cp/userdef.exp: Likewise.
18088 * gdb.cp/virtfunc.exp: Likewise.
18089 * gdb.disasm/am33.exp: Likewise.
18090 * gdb.disasm/h8300s.exp: Likewise.
18091 * gdb.disasm/mn10300.exp: Likewise.
18092 * gdb.disasm/sh3.exp: Likewise.
18093 * gdb.disasm/t01_mov.exp: Likewise.
18094 * gdb.disasm/t02_mova.exp: Likewise.
18095 * gdb.disasm/t03_add.exp: Likewise.
18096 * gdb.disasm/t04_sub.exp: Likewise.
18097 * gdb.disasm/t05_cmp.exp: Likewise.
18098 * gdb.disasm/t06_ari2.exp: Likewise.
18099 * gdb.disasm/t07_ari3.exp: Likewise.
18100 * gdb.disasm/t08_or.exp: Likewise.
18101 * gdb.disasm/t09_xor.exp: Likewise.
18102 * gdb.disasm/t10_and.exp: Likewise.
18103 * gdb.disasm/t11_logs.exp: Likewise.
18104 * gdb.disasm/t12_bit.exp: Likewise.
18105 * gdb.disasm/t13_otr.exp: Likewise.
18106 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
18107 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
18108 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
18109 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
18110 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
18111 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18112 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18113 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18114 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
18115 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
18116 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18117 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18118 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18119 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18120 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18121 * gdb.mi/gdb701.exp: Likewise.
18122 * gdb.mi/gdb792.exp: Likewise.
18123 * gdb.mi/mi-basics.exp: Likewise.
18124 * gdb.mi/mi-break.exp: Likewise.
18125 * gdb.mi/mi-cli.exp: Likewise.
18126 * gdb.mi/mi-console.exp: Likewise.
18127 * gdb.mi/mi-disassemble.exp: Likewise.
18128 * gdb.mi/mi-eval.exp: Likewise.
18129 * gdb.mi/mi-file.exp: Likewise.
18130 * gdb.mi/mi-read-memory.exp: Likewise.
18131 * gdb.mi/mi-regs.exp: Likewise.
18132 * gdb.mi/mi-return.exp: Likewise.
18133 * gdb.mi/mi-simplerun.exp: Likewise.
18134 * gdb.mi/mi-stack.exp: Likewise.
18135 * gdb.mi/mi-stepi.exp: Likewise.
18136 * gdb.mi/mi-syn-frame.exp: Likewise.
18137 * gdb.mi/mi-until.exp: Likewise.
18138 * gdb.mi/mi-var-block.exp: Likewise.
18139 * gdb.mi/mi-var-child.exp: Likewise.
18140 * gdb.mi/mi-var-cmd.exp: Likewise.
18141 * gdb.mi/mi-var-display.exp: Likewise.
18142 * gdb.mi/mi-watch.exp: Likewise.
18143 * gdb.mi/mi2-basics.exp: Likewise.
18144 * gdb.mi/mi2-break.exp: Likewise.
18145 * gdb.mi/mi2-cli.exp: Likewise.
18146 * gdb.mi/mi2-console.exp: Likewise.
18147 * gdb.mi/mi2-disassemble.exp: Likewise.
18148 * gdb.mi/mi2-eval.exp: Likewise.
18149 * gdb.mi/mi2-file.exp: Likewise.
18150 * gdb.mi/mi2-read-memory.exp: Likewise.
18151 * gdb.mi/mi2-regs.exp: Likewise.
18152 * gdb.mi/mi2-return.exp: Likewise.
18153 * gdb.mi/mi2-simplerun.exp: Likewise.
18154 * gdb.mi/mi2-stack.exp: Likewise.
18155 * gdb.mi/mi2-stepi.exp: Likewise.
18156 * gdb.mi/mi2-syn-frame.exp: Likewise.
18157 * gdb.mi/mi2-until.exp: Likewise.
18158 * gdb.mi/mi2-var-block.exp: Likewise.
18159 * gdb.mi/mi2-var-child.exp: Likewise.
18160 * gdb.mi/mi2-var-cmd.exp: Likewise.
18161 * gdb.mi/mi2-var-display.exp: Likewise.
18162 * gdb.mi/mi2-watch.exp: Likewise.
18163 * gdb.stabs/exclfwd.exp: Likewise.
18164 * gdb.stabs/weird.exp: Likewise.
18165 * gdb.threads/gcore-thread.exp: Likewise.
18166 * gdb.trace/actions.exp: Likewise.
18167 * gdb.trace/backtrace.exp: Likewise.
18168 * gdb.trace/circ.exp: Likewise.
18169 * gdb.trace/collection.exp: Likewise.
18170 * gdb.trace/deltrace.exp: Likewise.
18171 * gdb.trace/infotrace.exp: Likewise.
18172 * gdb.trace/limits.exp: Likewise.
18173 * gdb.trace/packetlen.exp: Likewise.
18174 * gdb.trace/passc-dyn.exp: Likewise.
18175 * gdb.trace/passcount.exp: Likewise.
18176 * gdb.trace/report.exp: Likewise.
18177 * gdb.trace/save-trace.exp: Likewise.
18178 * gdb.trace/tfind.exp: Likewise.
18179 * gdb.trace/tracecmd.exp: Likewise.
18180 * gdb.trace/while-dyn.exp: Likewise.
18181 * gdb.trace/while-stepping.exp: Likewise.
18182
f4b618d1
JB
181832006-08-08 Joel Brobecker <brobecker@adacore.com>
18184
18185 * gdb.base/step-bt.c: New file.
18186 * gdb.base/step-bt.exp: New testcase.
18187
3d00d119
DJ
181882006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
18189
18190 * config/monitor.exp (gdb_load): Remove support for obsolete
18191 download-write-size.
18192 * gdb.base/remote.exp: Likewise. Update all callers of
18193 gdb_timed_load.
18194
017b5bd4
DJ
181952006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
18196
18197 * cursal.exp: Pass binfile to gdb_load.
18198
837c599d
DJ
181992006-08-01 Nathan Sidwell <nathan@codesourcery.com>
18200
18201 * gdb.base/cursal.exp: Add "" to gdb_load call.
18202
8dd4540b
MK
182032006-07-29 Mark Kettenis <kettenis@gnu.org>
18204
18205 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
18206 NetBSD/ELF targets.
18207
ab5c9f60
DJ
182082006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
18209
18210 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
18211 operator*.
18212
4c42eaff
DJ
182132006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
18214
18215 * gdb.base/completion.exp: Update for change in "file" behavior.
18216 * gdb.stabs/weird.exp: Likewise.
18217 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
18218 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
18219
0155cc76
NS
182202006-07-24 Nathan Sidwell <nathan@codesourcery.com>
18221
18222 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
18223 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
18224
16026cd7
AS
182252006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
18226
18227 * gdb.base/default.exp: Update source command error message.
18228 * gdb.base/help.exp: Update 'help source' message.
18229
16963cb6
DJ
182302006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
18231
18232 * gdb.cp/bs15503.exp: Update comment for no longer crashing
18233 test.
18234
6d7fd486
AS
182352006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
18236
18237 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
18238
29e8a844
DJ
182392006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18240
18241 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
18242
6afcfa39
DJ
182432006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
18244
18245 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
18246
267a692b
MK
182472006-07-17 Mark Kettenis <kettenis@gnu.org>
18248
18249 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
18250 *-*-openbsd* from targets for wich we expect ARM FPA floating
18251 point format.
18252
85d2fec4
NR
182532006-07-17 Nick Roberts <nickrob@snap.net.nz>
18254
18255 * gdb.cp/annota3.exp: Expect frame-begin annotation.
18256
182572006-07-17 Mark Kettenis <kettenis@gnu.org>
18258
18259 * gdb.base/annota3.exp: Expect frame-begin annotation.
18260
85b4c6e8
JB
182612006-07-14 Joel Brobecker <brobecker@adacore.com>
18262
18263 * gdb.base/help.exp: Adjust "help unset" test to accept
18264 any list of unset commands.
18265
fb933624
DJ
182662006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
18267 Daniel Jacobowitz <dan@codesourcery.com>
18268
18269 * gdb.cp/ref-params.exp: New test.
18270 * gdb.cp/ref-params.cc: New source file.
18271 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
18272
1dff4b64
MK
182732006-07-08 Mark Kettenis <kettenis@gnu.org>
18274
18275 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
18276 spaces/tabs in regular expressions since they might not be there.
18277
40d2e0e3
AS
182782006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
18279
18280 * gdb.base/ifelse.exp: New file.
18281
f6c957d2
NS
182822006-07-04 Nathan Sidwell <nathan@codesourcery.com>
18283
18284 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
18285 line.
18286 * gdb.base/huge.exp: Loop over compilation to find a size that
18287 is acceptable.
18288 * gdb.base/remote.exp: Correct expected strings.
18289 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
18290
b9c5a23d
DJ
182912006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18292
18293 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
18294
9af2e58d
DJ
182952006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18296
18297 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
18298 native.
18299
30930ca5
DJ
183002006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18301
18302 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
18303 enable stabs testing.
18304
aa32fa1d
DJ
183052006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18306
bd4a4c80 18307 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
18308 gdb_test_multiple does.
18309
321fef15
DJ
183102006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
18311
18312 * Makefile.in (host_alias): Remove.
18313 (target_alias): Use @target_noncanonical@.
18314 (site.exp): Don't set host_alias.
18315 * aclocal.m4: Remove contents. Include acx.m4.
18316 * configure: Regenerated.
18317 * configure.ac: Use ACX_NONCANONICAL_TARGET.
18318
e1c2defa
NS
183192006-06-13 Nathan Sidwell <nathan@codesourcery.com>
18320
e63b55d1
NS
18321 * lib/gdb.exp (gdb_load_cmd): New.
18322
5600ea19
NS
18323 * gdb.base/fileio.c: Add system(NULL) test.
18324 * gdb.base/fileio.exp: Check it.
18325
e1c2defa
NS
18326 * gdb.base/break.c: Add 10a breakpoint at }
18327 * gdb.base/break.exp: Add test for breakpoint at }
18328 * gdb.cp/anon-union.cc: Add code at end of function.
18329 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
18330 * gdb.mi/var-cmd.c: Add code at end of function.
18331 * gdb.mi/mi-var-display.exp: Adjust end of next.
18332 * gdb.mi/mi2-var-display.exp: Likewise.
18333 * gdb.base/fileio.c: Add stop function and insert calls at
18334 stopping places.
18335 * gdb.base/fileio.exp: Breakpoint stop function and remove
18336 explicit line number references.
18337
6c0112ec
JB
183382006-05-19 Joel Brobecker <brobecker@adacore.com>
18339
a9c64011
AS
18340 * gdb.base/del.exp (test_delete_alias): New function.
18341 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 18342
154189a4
FF
183432006-05-18 Fred Fish <fnf@specifix.com>
18344
18345 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
18346 required. Check for spurious output after program exits normally.
18347
582e64c2
FF
183482006-05-17 Fred Fish <fnf@specifix.com>
18349
18350 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
18351 gdb_load, so it works in the simulator.
18352
8ef6493a
FF
183532006-05-11 Fred Fish <fnf@specifix.com>
18354
18355 * gdb.base/bang.exp: Ignore unexpected output between the
18356 "program exited normally" and the gdb prompt, as many other
18357 tests do.
18358
692b141c
MK
183592006-05-07 Mark Kettenis <kettenis@gnu.org>
18360
18361 * gdb.base/help.exp: Make "delete checkpoint" part option for
18362 "help d" and "help delete" tests.
18363
540b8a30
UW
183642006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18365
a9c64011 18366 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
18367 expected output in some mi_gdb_test statements.
18368 * gdb.mi/mi2-basics.exp: Likewise.
18369
9b6462d9
JB
183702006-05-05 Joel Brobecker <brobecker@adacore.com>
18371
18372 * gdb.base/del.c: New file.
18373 * gdb.base/del.exp: New testcase.
18374
954de43b
DM
183752006-05-05 David S. Miller <davem@sunset.davemloft.net>
18376
18377 * gdb.base/break.exp: Do not assume a breakpoint on
18378 main will actually be in $srcfile when optimizing.
1303f75e
DM
18379 * gdb.base/savedregs.exp: Do not require that the dummy
18380 frame location match up to a symbol and source file location.
c3242428
DM
18381 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
18382 will get printed without a mi_cmd_data_list_register_values prefix.
18383 (*-data-list-register-*): Correct regular expressions to expect the new
18384 pseudo d? floating point registers.
18385 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 18386
c7e64c9a
DJ
183872006-05-05 Christophe Lyon <christophe.lyon@st.com>
18388
18389 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
18390 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
18391 is allocated by the compiler.
18392 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
18393 anons, e, anone to force their allocation by the compiler.
18394
183952006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
18396
18397 * gdb.base/help.exp: Update expected text for help d and
18398 help delete.
18399
27ce9a6d
MK
184002006-05-02 Mark Kettenis <kettenis@gnu.org>
18401
18402 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
18403 NetBSD/ELF targets.
18404
8608915f
MK
184052006-04-30 Mark Kettenis <kettenis@gnu.org>
18406
18407 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
18408 single-step breakpoint fails; make this a KFAIL on
18409 sparc*-*-openbsd*.
18410 * gdb.base/siginfo.exp: Likewise.
18411 * gdb.base/sigstep.exp (advance, advancei): Likewise.
18412
b8db102d
MS
184132006-04-26 Michael Snyder <msnyder@redhat.com>
18414
18415 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
18416 which may have to consume output from other forks.
18417 Add tests to make sure that "delete fork" succeeded.
18418
c702009a
MS
184192006-04-20 Michael Snyder <msnyder@redhat.com>
18420
18421 * 2006-03-22 Jim Blandy <jimb@redhat.com>
18422 Add support for the Renesas M32C and M16C.
18423
18424 * gdb.asm/asm-source.exp: Add m32c target.
18425 * gdb.asm/m32c.inc: Support for m32c target.
18426
e28493f2
AS
184272006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
18428
18429 * gdb.base/commands.exp (recursive_source_test): New test.
18430
880da185
DM
184312006-04-04 David S. Miller <davem@sunset.davemloft.net>
18432
18433 * gdb.base/float.exp: Add pattern for sparc targets.
18434
61d9b92f
DJ
184352006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
18436
18437 * gdb.base/commands.exp (stray_arg0_test): New test.
18438
bd717df8
PB
184392006-03-30 Paul Brook <paul@codesourcery.com>
18440
18441 * gdb.mi/mi-until.exp: kfail broken until command.
18442 * gdb.mi/mi2-until.exp: Ditto.
18443
ec793d3c
NR
184442006-03-27 Nick Roberts <nickrob@snap.net.nz>
18445
18446 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
18447
831004b7
AO
184482006-03-08 Alexandre Oliva <aoliva@redhat.com>
18449
18450 * gdb.base/prelink.exp: Anchor tested-for regular expression
18451 on gdb prompt.
18452
effe49a0
PB
184532006-03-07 Paul Brook <paul@codesourcery.com>
18454
18455 * gdb.base/assign.exp: Correct fail message.
18456
e5461016
PB
184572006-03-07 Paul Brook <paul@codesourcery.com>
18458
18459 * lib/compiler.c: Extract armcc version number.
18460 * lib/compiler.cc: Ditto.
18461
fc91c6c2
PB
184622006-03-07 Paul Brook <paul@codesourcery.com>
18463
18464 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
18465 additional_flags=-w.
18466 * gdb.arch/altivec-regs.exp: Ditto.
18467 * gdb.arch/e500-abi.exp: Ditto.
18468 * gdb.arch/e500-regs.exp: Ditto.
18469 * gdb.base/all-bin.exp: Ditto.
18470 * gdb.base/annota1.exp: Ditto.
18471 * gdb.base/annota3.exp: Ditto.
18472 * gdb.base/args.exp: Ditto.
18473 * gdb.base/arithmet.exp: Ditto.
18474 * gdb.base/assign.exp: Ditto.
18475 * gdb.base/async.exp: Ditto.
18476 * gdb.base/bang.exp: Ditto.
18477 * gdb.base/break.exp: Ditto.
18478 * gdb.base/call-rt-st.exp: Ditto.
18479 * gdb.base/completion.exp: Ditto.
18480 * gdb.base/cond-expr.exp: Ditto.
18481 * gdb.base/condbreak.exp: Ditto.
18482 * gdb.base/consecutive.exp: Ditto.
18483 * gdb.base/define.exp: Ditto.
18484 * gdb.base/display.exp: Ditto.
18485 * gdb.base/ena-dis-br.exp: Ditto.
18486 * gdb.base/environ.exp: Ditto.
18487 * gdb.base/eval-skip.exp: Ditto.
18488 * gdb.base/info-proc.exp: Ditto.
18489 * gdb.base/jump.exp: Ditto.
18490 * gdb.base/logical.exp: Ditto.
18491 * gdb.base/long_long.exp: Ditto.
18492 * gdb.base/maint.exp: Ditto.
18493 * gdb.base/miscexprs.exp: Ditto.
18494 * gdb.base/pc-fp.exp: Ditto.
18495 * gdb.base/pointers.exp: Ditto.
18496 * gdb.base/relational.exp: Ditto.
18497 * gdb.base/reread.exp: Ditto.
18498 * gdb.base/sect-cmd.exp: Ditto.
18499 * gdb.base/sep.exp: Ditto.
18500 * gdb.base/sepdebug.exp: Ditto.
18501 * gdb.base/until.exp: Ditto.
18502 * gdb.base/whatis-exp.exp: Ditto.
18503 * gdb.cp/annota2.exp: Ditto.
18504 * gdb.cp/annota3.exp: Ditto.
18505 * gdb.trace/actions.exp: Ditto.
18506 * gdb.trace/backtrace.exp: Ditto.
18507 * gdb.trace/circ.exp: Ditto.
18508 * gdb.trace/collection.exp: Ditto.
18509 * gdb.trace/deltrace.exp: Ditto.
18510 * gdb.trace/infotrace.exp: Ditto.
18511 * gdb.trace/limits.exp: Ditto.
18512 * gdb.trace/packetlen.exp: Ditto.
18513 * gdb.trace/passc-dyn.exp: Ditto.
18514 * gdb.trace/passcount.exp: Ditto.
18515 * gdb.trace/report.exp: Ditto.
18516 * gdb.trace/save-trace.exp: Ditto.
18517 * gdb.trace/tfind.exp: Ditto.
18518 * gdb.trace/tracecmd.exp: Ditto.
18519 * gdb.trace/while-dyn.exp: Ditto.
18520 * gdb.trace/while-stepping.exp: Ditto.
18521 * lib/gdb.exp: Ditto.
18522 (gdb_compile): Handle nowarning option.
18523
5f4a23d9
AO
185242006-03-07 Alexandre Oliva <aoliva@redhat.com>
18525
18526 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18527 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18528 Rename executable to prelinkt. Don't re-prelink if we didn't
18529 get a core file. Test prelink -u exit status to tell whether
18530 prelinking failed. Use gdb_test_multiple.
18531
9733fc94
DJ
185322006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18533
18534 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18535 (do_tests): Call it.
18536
cc10cae3
AO
185372006-02-28 Alexandre Oliva <aoliva@redhat.com>
18538
18539 * gdb.base/prelink.exp: New test.
18540 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18541
15c46491
WZ
185422006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18543
18544 * gdb.fortran/derived-type.f90: New file.
18545 * gdb.fortran/derived-type.exp: New testcase.
18546
5c9f7ded
DJ
185472006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18548
18549 * gdb.base/default.exp: Allow ';' as a directory separator.
18550
5b96932b
AS
185512006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18552
18553 * gdb.base/help.exp (help add-symbol-file): Update.
18554
1986bccd
AS
185552006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18556
18557 * gdb.base/help.exp (help load): Update expected results.
18558
a8b7528f
FF
185592006-02-19 Fred Fish <fnf@specifix.com>
18560
18561 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18562 specifix hex value as part of results.
18563 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 18564
f8261448
FF
185652006-02-16 Fred Fish <fnf@specifix.com>
18566
18567 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18568 ushort_addr, and slong_addr, so the typedefs are not optimized
18569 away.
18570 * gdb.base/whatis.exp: Add tests using type name for struct type,
18571 union type, enum type, and typedef.
a9c64011 18572
31d8bdd2
MK
185732006-02-13 Mark Kettenis <kettenis@gnu.org>
18574
18575 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18576
34e41e63
JB
185772006-02-13 Jim Blandy <jimb@redhat.com>
18578
18579 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18580 case where it takes two "next" commands to skip past the init
18581 call.
18582
ac6e4f31
FF
185832006-02-12 Fred Fish <fnf@specifix.com>
18584
18585 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18586 to handle cases where it takes two "next" commands to skip
18587 past the init call.
18588
2db2d571
JB
185892006-02-07 Joel Brobecker <brobecker@adacore.com>
18590
18591 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18592 on hppa32 targets.
18593
38fcd64c
DJ
185942006-02-06 Vladimir Prus <ghost@cs.msu.su>
18595
18596 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18597 field.
18598
1315ad46
MK
185992006-01-29 Mark Kettenis <kettenis@gnu.org>
18600
18601 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18602
5625b943
DJ
186032006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18604
18605 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18606 files.
18607
80df1bbe
DJ
186082006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18609
18610 * gdb.cp/maint.exp: Set complaints to a positive value.
18611
9078e690
DJ
186122006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18613
18614 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18615 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18616 function name.
18617
9c903399
DJ
186182006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18619
18620 * gdb.base/checkpoint.c: Update copyright notice. Include
18621 <stdlib.h>.
18622
761ae4d6
JB
186232006-01-04 Jim Blandy <jimb@redhat.com>
18624
18625 * gdb.asm/asm-source.exp: Independently provide default values for
18626 asm-flags and debug-flags. Use 'string equal' to do the
18627 comparison, not the implicit expr's '==' operator. Remove
18628 now-unneeded assignments to asm-flags. In h8300 case, place
18629 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18630
099ac3dd
MS
186312006-01-04 Michael Snyder <msnyder@redhat.com>
18632
18633 * gdb.base/checkpoint.c: New file.
18634 * gdb.base/checkpoint.exp: New file.
18635 * gdb.base/multi-fork.c: New file.
18636 * gdb.base/multi-fork.exp: New file.
18637 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18638
f4d85314
FF
186392006-01-04 Fred Fish <fnf@specifix.com>
18640
18641 * gdb.base/ptype.c (foo): Add typedef.
18642 (intfoo): Add function.
18643 * gdb.base/ptype1.c: New file.
18644 * gdb.base/ptype.exp: Handle compilation and linking with two
18645 source files. Test that proper type for "foo" is found based
18646 on source context rather than first match found in symtabs.
18647
a1b06f35
MK
186482005-12-28 Mark Kettenis <kettenis@gnu.org>
18649
18650 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18651 * gdb.asm/openbsd.inc: Indent commands.
18652
d082a1e2
MK
186532005-12-26 Mark Kettenis <kettenis@gnu.org>
18654
c65016bd
MK
18655 * gdb.base/freebpcmd.exp: Increase timeout.
18656
d082a1e2
MK
18657 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18658
d3c32a0e
DJ
186592005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18660
18661 * gdb.base/default.exp: Update check for "show version".
18662
9fdb1f50
RC
186632005-12-09 Randolph Chung <tausq@debian.org>
18664
18665 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18666 * gdb.asm/pa64.inc: New file.
18667
5f2c56f7
RC
186682005-12-09 Randolph Chung <tausq@debian.org>
18669
18670 * gdb.asm/common.inc: Indent commands.
18671 * gdb.asm/asmsrc1.s: Likewise.
18672 * gdb.asm/asmsrc2.s: Likewise.
18673
8117349c
RC
186742005-12-09 Randolph Chung <tausq@debian.org>
18675
18676 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18677 (get_addr_of_sym): Remove duplicate print.
18678 (gen_core): xfail hppa*-*-hpux*, update expected output.
18679 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18680 * gdb.arch/pa64-nullify.s: New file.
18681
8f07f25a
RC
186822005-12-09 Randolph Chung <tausq@debian.org>
18683
18684 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18685
55b39184
DJ
186862005-12-07 Christophe Lyon <christophe.lyon@st.com>
18687
18688 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18689 code generation for these functions.
18690 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18691 error message.
18692
31e2b00f
AS
186932005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18694
18695 * gdb.base/help.exp (help b, help br, help bre, help brea)
18696 (help break): Update the expected message.
18697
c3d0b56e
SC
186982005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18699
18700 * gdb.asm/m68hc11.inc: Setup the data section.
18701 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18702 script for this test.
18703 (m6812-*-*): Likewise.
18704
36ae0ea9
RC
187052005-11-09 Randolph Chung <tausq@debian.org>
18706
18707 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18708
9d6f42e9
WZ
187092005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18710
18711 * gdb.base/break.exp: Fix a comment typo.
18712
e2126a14
EZ
187132005-11-03 Jim Blandy <jimb@redhat.com>
18714
a9c64011
AS
18715 Checked in by Elena Zannoni <ezannoni@redhat.com>
18716
889bf7c5 18717 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 18718
e0ac7199
CV
187192005-11-02 Corinna Vinschen <vinschen@redhat.com>
18720
18721 * gdb.arch/gdb1558.c: Include stdio.h.
18722
31d3fb18
MK
187232005-10-31 Mark Kettenis <kettenis@gnu.org>
18724
18725 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18726
e52b687c
MK
187272005-10-31 Mark Kettenis <kettenis@gnu.org>
18728
18729 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18730
f4711d79
PG
187312005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18732
a9c64011
AS
18733 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18734 vscr" tests to better match output.
f4711d79 18735
987a9106
JB
187362005-10-12 Jim Blandy <jimb@redhat.com>
18737
18738 * gdb.base/structs.exp (any): New function.
18739 (test_struct_returns): Don't make any assumptions at all about
18740 what value the function returns when GDB can't set the return
18741 value.
18742
2336bb58
JB
187432005-10-09 Joel Brobecker <brobecker@adacore.com>
18744
18745 * gdb.ada/arrayidx/p.adb: New file.
18746 * gdb.ada/arrayidx.exp: New testcase
18747
187482005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
18749
18750 * gdb.ada/array_return/pck.ads: New file.
18751 * gdb.ada/array_return/pck.adb: New file.
18752 * gdb.ada/array_return/p.adb: New file.
18753 * gdb.ada/array_return.exp: New testcase.
18754
705335ea
JB
187552005-10-03 Joel Brobecker <brobecker@adacore.com>
18756
a9c64011
AS
18757 * gdb.base/arrayidx.c: New file.
18758 * gdb.base/arrayidx.exp: New testcase.
705335ea 18759
11ee9940
NR
187602005-09-29 Nick Roberts <nickrob@snap.net.nz>
18761
18762 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18763 frames-invalid and breakpoints-invalid are no longer generated
18764 with level 3 so don't expect them in the output.
18765
39fb8e9e
BR
187662005-09-27 Bob Rossi <bob@brasko.net>
18767
a9c64011 18768 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
18769 from test. Escape the | in mi_gdb_test call.
18770 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18771 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18772 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18773 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18774 expected regex's in mi_gdb_test calls.
18775 * lib/mi-support.exp: Remove arbitrary .* from tests.
18776 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18777 Fully anchor GDB/MI expected results in mi_gdb_test.
18778 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18779 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18780
2af48f68
PB
187812005-09-26 Paul Brook <paul@codesourcery.com>
18782
18783 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18784
f34502bc
WZ
187852005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18786
18787 * bfp-test.c: New file.
18788 * bfp-test.exp: New testcase.
18789
ca929517
WZ
187902005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18791
18792 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18793 of subarray and substring variable.
18794 * gdb.fortran/subarray.f: New source file for the test of subarray
18795 and substring variable evaluation.
18796 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18797 of string constant.
18798
c761af65
DJ
187992005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18800
18801 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18802 copyright dates.
18803
561d7a1d
PG
188042005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18805
18806 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18807 powerpc altivec' test with an almost identical 'info vector' test.
18808
b2b64cc9
PG
188092005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18810
a9c64011
AS
18811 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18812 vscr" tests to match output.
b2b64cc9 18813
6ac4d15a
PG
188142005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18815
a9c64011
AS
18816 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18817 output.
6ac4d15a 18818
40e55bef
BR
188192005-09-11 Bob Rossi <bob@brasko.net>
18820
889bf7c5
PA
18821 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18822 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18823 commands that return an MI output command and an asyncronous MI output
18824 command.
40e55bef
BR
18825 * gdb.mi/mi-console.exp: Ditto.
18826
3c7385ec
BR
188272005-09-11 Bob Rossi <bob@brasko.net>
18828
18829 * gdb.mi/mi-var-child.c: Include <string.h>.
18830
a6cd0eb3
DJ
188312005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18832
18833 * killed.exp: Correct gdb_expect syntax.
18834
2f168eed
CV
188352005-08-09 Corinna Vinschen <vinschen@redhat.com>
18836
18837 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18838
ecd3fd0f
BR
188392005-08-02 Bob Rossi <bob@brasko.net>
18840
18841 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18842 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18843 Change tests to inferior-tty-set/show.
18844 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18845 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18846 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18847 inferior. Use mi_gdb_test to get GDB and Inferior output.
18848 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18849 descriptor.
18850 (mi_inferior_tty_name): Add inferior PTY file name.
18851 (mi_gdb_start): Add INFERIOR_PTY parameter.
18852 (mi_gdb_test): Add IPATTERN parameter.
18853
f1ea48cb 188542005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 18855
f1ea48cb
BR
18856 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18857 parameter to mi_gdb_test.
18858 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18859
6e650a67
DJ
188602005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18861
18862 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18863 struct_declarations.
18864 * gdb.mi/mi-var-child.exp: Step over the initialization of
18865 struct_declarations.
18866
8be260b6
DJ
188672005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18868
18869 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18870 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18871 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18872 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18873 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18874 file.
18875
4e660f07
NR
188762005-07-27 Nick Roberts <nickrob@snap.net.nz>
18877
18878 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18879 (do_children_tests): Assign values to the extra elements.
18880
18881 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18882 them for tests for "-var-update --no-values" and
a9c64011 18883 "-var-update --all-values".
4e660f07
NR
18884 Add test for "-var-list-children --simple-values".
18885
18886 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18887
18888 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18889 "-stack-list-locals --simple-values" Improve doc strings and
18890 comments.
18891
6bdae935
MK
188922005-07-18 Mark Kettenis <kettenis@gnu.org>
18893
598b7a6f
MK
18894 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18895 *-*-openbsd*.
18896 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18897
6bdae935
MK
18898 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18899 sigaltsatck'.
18900
1323e929 189012005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 18902
1323e929
BR
18903 * gdb.base/default.exp (tty): Changed output of command.
18904 * gdb.base/help.exp (help tty): Ditto.
18905
b1a9c082
MK
189062005-07-12 Mark Kettenis <kettenis@gnu.org>
18907
18908 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18909
10a844a2
MK
189102005-07-10 Mark Kettenis <kettenis@gnu.org>
18911
18912 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18913 -stack-select-frame without arguments.
18914 (test_stack_frame_listing): Add test for newly implemented command
18915 -stack-info-frame.
18916
3cb3b8df
BR
189172005-07-06 Bob Rossi <bob@brasko.net>
18918
18919 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18920 command.
18921 (Copyright): Update copyright.
18922
a0c5fbcf
WZ
189232005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18924
18925 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18926 tests to evaluate exponentiation expression.
18927
984971d0
AS
189282005-06-29 Andreas Schwab <schwab@suse.de>
18929
18930 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18931 main to avoid warnings.
18932
18933 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18934
fe03833f
NR
189352005-06-20 Nick Roberts <nickrob@snap.net.nz>
18936
18937 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18938 -stack-select-frame without arguments.
18939 (test_stack_frame_listing): Add test for newly implemented command
18940 -stack-info-frame.
a9c64011 18941
7a55f279
WZ
189422005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18943
0ffa0ea5
DJ
18944 * gdb.fortran/array-element.f: New file.
18945 * gdb.fortran/array-element.exp: New testcase.
7a55f279 18946
26585198
DJ
189472005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18948
18949 * gdb.base/bigcore.exp: Correct checks for systems which can
18950 not dump a large core file.
18951
c1bd25fd
DJ
189522005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18953
18954 * gdb.base/relocate.c: Add a copyright notice.
18955 (dummy): Remove.
18956 * gdb.base/relocate.exp: Test printing the values of variables
18957 from a relocatable file.
18958
589e074d
DJ
189592005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18960
18961 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18962 excess MI output after an error.
18963
0915f927
JB
189642005-05-29 Joel Brobecker <brobecker@adacore.com>
18965
18966 * gdb.arch/alpha-step.c: New file.
18967 * gdb.arch/alpha-step.exp: New testcase.
18968
76ff342d
DJ
189692005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18970 Dennis Brueni <dennis@slickedit.com>
18971
18972 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18973 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18974 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18975 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18976 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18977 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18978 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18979
96b0c7ac
DJ
189802005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18981 Wu Zhou <woodzltc@cn.ibm.com>
18982
18983 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18984 IBM's xlc compiler.
18985 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18986 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18987
f21565d2
JB
189882005-05-13 Jim Blandy <jimb@redhat.com>
18989
18990 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18991 calling gdb_suppress_entire_file.
18992 * gdb.base/charset.exp: Same.
18993 * gdb.base/call-rt-st.exp: Same.
18994
6006a3a1
BR
189952005-05-05 Bob Rossi <bob_rossi@cox.net>
18996
18997 * lib/gdb.exp (fullname_syntax): Added global regex.
18998 (fullname_syntax_POSIX): Ditto.
18999 (fullname_syntax_UNC): Ditto.
19000 (fullname_syntax_DOS_CASE): Ditto.
19001 (fullname_syntax_DOS): Ditto.
19002 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
19003 fullname_syntax variable to scope and use it.
19004 (test_file_list_exec_source_files): Ditto.
19005 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
19006
c3b69c04
DJ
190072005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
19008
19009 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
19010
3c95e6af
PG
190112004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
19012
a9c64011
AS
19013 * lib/gdb.exp (skip_altivec_tests): New function, based on
19014 check_vmx_hw_available from the GCC testsuite.
19015 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
19016 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 19017
78df6c56
JB
190182005-05-02 Jim Blandy <jimb@redhat.com>
19019
19020 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
19021 calling gdb_suppress_entire_file.
19022
1690f9cf
DJ
190232005-04-30 Randolph Chung <tausq@debian.org>
19024
19025 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
19026 Slightly relax "sem_post" name checking.
19027
5ea106f7
PG
190282005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19029
19030 * gdb.base/unload.exp: Use new shared library infrastructure.
19031
bf7234cf
PG
190322005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
19033
19034 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 19035 infrastructure.
bf7234cf 19036
547b869a
CV
190372005-04-29 Corinna Vinschen <vinschen@redhat.com>
19038
19039 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
19040 * gdb.asm/h8300.inc: New file.
19041
f07e55f0
PG
190422005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19043
19044 * gdb.base/shlib-call.exp: Change to use new shared library
19045 infrastructure.
19046
3cbba3d1
PG
190472005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19048
a9c64011
AS
19049 * gdb.base/pending.exp: Change to use new shared library
19050 infrastructure.
3cbba3d1 19051
ed6df200
PG
190522005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
19053
a9c64011
AS
19054 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
19055 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 19056
8c8f4ebe
PG
190572005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
19058
a9c64011
AS
19059 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
19060 shared objects being adjusted and update copyright years.
8c8f4ebe 19061
607fbc54
DJ
190622005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
19063
19064 * ChangeLog: Correct some 2003-01-13 dates.
19065 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
19066 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
19067 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
19068 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
19069 gdb.trace/tfind.exp: Update copyright years.
19070
57bf0e56
DJ
190712005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
19072 Daniel Jacobowitz <dan@codesourcery.com>
19073
19074 * lib/gdb.exp (gdb_compile): Handle shlib=.
19075 (gdb_compile_shlib): New function.
19076
9b593790
PG
190772005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
19078
a9c64011 19079 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 19080
9494c6a5
DJ
190812005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19082
19083 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
19084 gdb.server.
19085 * configure.ac: Likewise.
19086 * configure: Regenerated.
19087 * gdb.gdbserver/Makefile.in: Moved to...
19088 * gdb.server/Makefile.in: ... here.
19089 * gdb.gdbserver/server.c: Moved to...
19090 * gdb.server/server.c: ... here.
19091 * gdb.gdbserver/server-run.exp: Moved to...
19092 * gdb.server/server-run.exp: ... here.
19093
6f8eac0e
DJ
190942005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
19095
19096 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
19097 * configure.ac: Create gdb.gdbserver/Makefile.
19098 * configure: Regenerated.
19099 * lib/gdbserver-support.exp: New file, derived from
19100 config/gdbserver.exp.
19101 * config/gdbserver.exp: Use gdbserver-support.exp.
19102 * gdb.gdbserver/Makefile.in: New file.
19103 * gdb.gdbserver/server.c: New file.
19104 * gdb.gdbserver/server-run.exp: New file.
19105
6e87504d
PG
191062005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
19107
a9c64011
AS
19108 * lib/gdb.exp (test_compiler_info): Return compiler_info
19109 if no arguments are given.
6e87504d 19110
d1779be4
PG
191112005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
19112
19113 * gdb.arch/altivec-abi.exp: Check for compiler and set
19114 use altivec' flag accordingly.
19115 * gdb.arch/altivec-regs.exp: Likewise.
19116
88750304
DJ
191172005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
19118
19119 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
19120
f3fb768d
AS
191212005-03-27 Andreas Schwab <schwab@suse.de>
19122
19123 * gdb.base/bigcore.c (main): Add missing mode argument in open
19124 call.
19125
7e813ac5
DJ
191262005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
19127
19128 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
19129 downloads.
19130 * config/gdbserver.exp (gdb_load): Likewise.
19131
8e3049aa
PB
191322005-03-14 Paul Brook <paul@codesourcery.com>
19133
19134 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
19135 targets.
19136
a9df7c44
JB
191372005-03-09 Joel Brobecker <brobecker@adacore.com>
19138
19139 * gdb.dwarf2/dup-psym.S: New file.
19140 * gdb.dwarf2/dup-psym.exp: New testcase.
19141
9f0d94e8
JB
191422005-03-09 Joel Brobecker <brobecker@adacore.com>
19143
19144 * gdb.ada/exec_changed/first.adb: New file.
19145 * gdb.ada/exec_changed/second.adb: New file.
19146 * gdb.ada/exec_changed.exp: New testcase.
19147
5f579bc5
NS
191482005-03-08 Nathan Sidwell <nathan@codesourcery.com>
19149
36e9969c
NS
19150 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
19151 (A2): New class.
19152 (main): Test operator+.
19153 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
19154 breakpoint test.
19155
5f579bc5
NS
19156 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
19157 * gdb.base/signull.exp: Disable if gdb,nosignals.
19158 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
19159 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
19160 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
19161 * gdb.mi/mi2-console.exp: Likewise.
19162 * gdb.trace/collection.exp (run_trace_experiment): Consume the
19163 continue output at start.
19164 (gdb_collect_locals_test): Robustify regexp.
19165 * gdb.trace/passc-dyn.exp: Fix comment typo.
19166 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
19167
be46087e
CV
191682005-03-08 Corinna Vinschen <vinschen@redhat.com>
19169
19170 * gdb.asm/asm-source.exp: Add iq2000 case.
19171 * gdb.asm/iq2000.inc: New file.
19172
384e1a61 191732005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 19174
384e1a61
MI
19175 * gdb.base/command.exp: Change hardcoded value to regular expression.
19176 * gdb.base/float.exp: Add powerpc to the list of targets checked.
19177
584b6e9e
DJ
191782005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
19179
19180 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
19181 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
19182 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
19183 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
19184 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
19185
ab5b5d61
MK
191862005-03-05 Mark Kettenis <kettenis@gnu.org>
19187
19188 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
19189 changes.
19190
ae051c1b
PG
191912004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
19192
a9c64011
AS
19193 * lib/compiler.c: Add test for IBM's xlc compiler.
19194 * lib/compiler.cc: Likewise.
ae051c1b 19195
3f0f6ed2
JB
191962004-02-24 Joel Brobecker <brobecker@adacore.com>
19197
19198 * gdb.ada/fixed_points.exp: Create compilation object directory
19199 before running the test.
19200 * gdb.ada/null_record.exp: Likewise.
19201 * gdb.ada/packed_array.exp: Likewise.
19202 * gdb.ada/start.exp: Likewise.
19203
724f452b
JB
192042005-02-15 Joel Brobecker <brobecker@adacore.com>
19205
19206 * gdb.ada/packed_array/pa.adb: New file.
19207 * gdb.ada/packed_array.exp: New testcase.
19208
57f5cdfb 192092005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 19210
1f393151
MK
19211 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
19212 files.
19213
ebdda337
MK
19214 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
19215 on *-*-openbsd*. Correctly match whitespace in regukar
19216 expressions.
19217
cf309262
DJ
192182005-02-10 Daniel Jacobowitz <dan@debian.org>
19219
19220 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
19221 PR exp/1821
19222 * gdb.base/gdb1821.c: New test file.
19223 * gdb.base/gdb1821.exp: New test file.
19224
3be49e7a
JB
192252005-02-09 Joel Brobecker <brobecker@adacore.com>
19226
19227 * gdb.base/start.c: New file.
19228 * gdb.base/start.exp: New testcase.
19229
e292e67d
JB
192302005-02-09 Joel Brobecker <brobecker@adacore.com>
19231
19232 * gdb.ada/start/dummy.adb: New file.
19233 * gdb.ada/start.exp: New testcase.
19234
dbdfa66c
CV
192352005-02-09 Corinna Vinschen <vinschen@redhat.com>
19236
19237 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
19238 for printing symbols and statistics.
19239 Add test for using relative pathnames in "maint print msymbols" test.
19240 Mark "maint info sections DATA" XFAIL on Cygwin.
19241 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
19242 tests.
19243
d7941671
AC
192442005-02-09 Andreas Schwab <schwab@suse.de>
19245
19246 Committed by Andrew Cagney <cagney@gnu.org>
19247 * gdb.base/remotetimeout.exp: New file.
19248
74e5ef44
MK
192492005-02-07 Mark Kettenis <kettenis@gnu.org>
19250
19251 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
19252
464dd14d
JB
192532005-02-03 Joel Brobecker <brobecker@adacore.com>
19254
19255 * gdb.ada/gnat_ada.gpr: New file.
19256 * gdb.ada/gnat_ada.gin: Delete, no longer used.
19257 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
19258 * configure.ac: No longer generate gnat_ada.gpr.
19259 * configure: Regenerate.
19260 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
19261 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
19262 * gdb.ada/null_record/bar.ads: Likewise.
19263 * gdb.ada/null_record/bar.adb: Likewise.
19264 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
19265 * gdb.ada/null_record.exp (testdir): New variable.
19266 (testfile): executable is now in testdir subdirectory.
19267 (srcfile): Use full path to the main compilation unit.
19268 * gdb.ada/fixed_points.exp: Same changes as above.
19269
30d756ae
NR
192702005-02-03 Nick Roberts <nickrob@snap.net.nz>
19271
19272 * gdb.base/interp.exp: New test.
19273
9d799f85
AC
192742005-01-24 Andrew Cagney <cagney@gnu.org>
19275
19276 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
19277
15656118
AC
192782005-01-19 Andrew Cagney <cagney@gnu.org>
19279
a892c31b
AC
19280 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
19281 configure.ac not configure.in.
19282
15656118
AC
19283 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
19284 of powerpc*-*-*.
19285 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 19286 * gdb.base/list.exp (test_list_function)
15656118
AC
19287 (test_list_filename_and_function): Ditto.
19288 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
19289
a7b01baf
AC
192902005-01-16 Andrew Cagney <cagney@gnu.org>
19291
17d92a02
AC
19292 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
19293
a7b01baf
AC
19294 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
19295
bc8332bb
AC
192962005-01-14 Andrew Cagney <cagney@gnu.org>
19297
19298 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
19299 * gdb.mi/mi2-var-cmd.exp: Ditto.
19300
4d074752
CV
193012005-01-10 Corinna Vinschen <vinschen@redhat.com>
19302
19303 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
19304
bec39cab
AC
193052005-01-07 Andrew Cagney <cagney@gnu.org>
19306
19307 * configure.ac: Rename configure.in, require autoconf 2.59.
19308 * configure: Re-generate.
19309 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
19310 * gdb.stabs/configure: Re-generate.
19311 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
19312 * gdb.hp/configure: Re-generate.
19313 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
19314 autoconf 2.59.
19315 * gdb.hp/gdb.objdbg/configure: Re-generate.
19316 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
19317 autoconf 2.59.
19318 * gdb.hp/gdb.defects/configure: Re-generate.
19319 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
19320 autoconf 2.59.
19321 * gdb.hp/gdb.compat/configure: Re-generate.
19322 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
19323 autoconf 2.59.
19324 * gdb.hp/gdb.base-hp/configure: Re-generate.
19325 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
19326 autoconf 2.59.
19327 * gdb.hp/gdb.aCC/configure: Re-generate.
19328
f10b16d4
JB
193292004-12-15 Jim Blandy <jimb@redhat.com>
19330
19331 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
19332 under NPTL when there is debugging info available for libpthread.
19333
fb6e1814
JG
193342004-12-13 Jerome Guitton <guitton@gnat.com>
19335
19336 * gdb.ada/fixed_points.c: New file.
19337 * gdb.ada/fixed_points.exp: New file.
19338
fe46cd3a
RC
193392004-12-03 Randolph Chung <tausq@debian.org>
19340
19341 * gdb.arch/pa-nullify.exp: New file.
19342 * gdb.arch/pa-nullify.s: New file.
19343
8de0841b
RC
193442004-11-30 Randolph Chung <tausq@debian.org>
19345
19346 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
19347 instead of "tbug". Fix regexp to work properly with gdb_test.
19348
c8170782
PH
193492004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
19350
19351 * gdb.base/bitfields2.exp: New test.
19352 * gdb.base/bitfields2.c: New file.
19353
954269c2
RE
193542004-11-28 Richard Earnshaw <rearnsha@arm.com>
19355
19356 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
19357
0107feed
RC
193582004-11-16 Randolph Chung <tausq@debian.org>
19359
19360 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
19361
f073ae8c
DJ
193622004-11-14 Daniel Jacobowitz <dan@debian.org>
19363
19364 * gdb.threads/threadapply.exp: Correct "macro details" test.
19365
19ad59e7
JJ
193662004-11-11 Jeff Johnston <jjohnstn@redhat.com>
19367
19368 * gdb.threads/threadapply.exp: New test.
19369 * gdb.threads/threadapply.c: New file.
19370
9cf0961b
MK
193712004-11-07 Mark Kettenis <kettenis@gnu.org>
19372
19373 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
19374 frames.
19375
c789492a
FL
193762004-11-05 Felix Lee <felix+log1@specifixinc.com>
19377
19378 * gdb.base/cursal.exp: New file.
19379 * gdb.base/cursal.c: New file.
19380
a1e167bb
AC
193812004-11-03 Andrew Cagney <cagney@gnu.org>
19382
19383 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
19384
b7cbf173
MK
193852004-10-30 Mark Kettenis <kettenis@gnu.org>
19386
19387 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
19388 NetBSD/ELF targets.
19389
88f9d34f
JB
193902004-10-29 Joel Brobecker <brobecker@gnat.com>
19391
19392 * gdb.threads/bp_in_thread.c: New file, copied from
19393 pthread_cond_wait.c.
19394 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
19395 file, rather than reusing the .c file from another testcase.
19396
ca7d6a0c
JB
193972004-10-20 Joel Brobecker <brobecker@gnat.com>
19398
19399 * gdb.ada/null_record.exp: Check where we stopped after
19400 sending the start command, instead of where the associated
19401 temporary breakpoint was inserted.
19402
0d863d03
AC
194032004-10-14 Andrew Cagney <cagney@gnu.org>
19404
19405 * gdb.mi/gdb701.c (main): Return 0.
19406
d11e72cb
DJ
194072004-10-13 Daniel Jacobowitz <dan@debian.org>
19408
d40539a4 19409 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 19410
e1923096
JJ
194112004-10-12 Jeff Johnston <jjohnstn@redhat.com>
19412
19413 * gdb.threads/schedlock.c: Add comment markers to use to find
19414 line numbers.
19415 * gdb.threads/schedlock.exp: Adjust regex to handle the new
19416 comments.
19417 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
19418 breakpoint lines.
19419
ec8ba2c9
DJ
194202004-10-12 Daniel Jacobowitz <dan@debian.org>
19421
19422 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
19423
0eb3658b
DJ
194242004-10-12 Daniel Jacobowitz <dan@debian.org>
19425
19426 * configure.in: Add gdb.dwarf2.
19427 * configure: Regenerated.
19428 * Makefile.in: Add gdb.dwarf2.
19429 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
19430 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
19431 gdb.dwarf2/file1.txt: New files.
19432
a271cc33
OF
194332004-10-11 Orjan Friberg <orjanf@axis.com>
19434
a9c64011 19435 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
19436 of "run", since the latter doesn't work with remote targets. Adjust
19437 the breakpoint numbering accordingly.
19438 * gdb.threads/pthread_cond_wait.exp: Ditto.
19439
895ce074
MC
194402004-10-08 Michael Chastain <mec.gnu@mindspring.com>
19441
19442 * gdb.base/overlays.exp: Update copyright years.
19443
6be3092d
KI
194442004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
19445
19446 * gdb.base/overlays.exp: Disable if target is Linux.
19447
e05389b8
FL
194482004-10-06 Felix Lee <felix+log1@specifixinc.com>
19449
19450 * config/gdbserver.exp (gdb_load): Use right filename on remote.
19451
73cb587d
KI
194522004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
19453
19454 * gdb.asm/asm-source.exp: Add m32r-linux target.
19455 * gdb.asm/m32r-linux.inc: New file.
19456
3c0edcdc
AC
194572004-09-24 Andrew Cagney <cagney@redhat.com>
19458 David Anderson <anderson@redhat.com>
19459
19460 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
19461 command fails, assume things will work.
19462 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
19463 (_GNU_SOURCE): Define.
19464 (print_unsigned, print_hex): Change parameter to "long long".
19465 (print_byte_count): New function, use to print byte counts.
19466 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
19467 O_LARGEFILE.
19468 (main): Compute an upper bound on a corefile in max_core_size.
19469 Limit memory chunk size to max_core_size. Limit total memory
19470 allocated to max_core_size.
19471
4bb3667f
AC
194722004-09-23 Andrew Cagney <cagney@gnu.org>
19473
19474 * gdb.base/bigcore.exp: Replace the code that creates a corefile
19475 from a separate process with code that creates a corefile by
19476 making the inferior dump core.
19477
60fe1a51
MK
194782004-09-23 Mark Kettenis <kettenis@gnu.org>
19479
19480 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
19481 block.
19482
8e937346
MC
194832004-09-23 Michael Chastain <mec.gnu@mindspring.com>
19484
19485 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
19486 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
19487 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
19488 Likewise.
19489
7213f6d6
JJ
194902004-09-20 Jeff Johnston <jjohnstn@redhat.com>
19491
19492 * gdb.java/jprint.exp: New test case for java inferior call.
19493 * gdb.java/jprint.java: Ditto.
19494
eac69dca
JB
194952004-09-15 Joel Brobecker <brobecker@gnat.com>
19496
19497 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
19498
22227696
MC
194992004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19500
19501 * gdb.threads/killed.c: Include <stdlib.h>.
19502 * gdb.threads/pthreads.c: Likewise.
19503
7dd403a4
MC
195042004-09-14 Michael Chastain <mec.gnu@mindspring.com>
19505
19506 * gdb.threads/killed.c: Add copyright notice.
19507
33f2d567
JM
195082004-09-10 Jason Molenda (jmolenda@apple.com)
19509
a9c64011
AS
19510 * gdb.base/define.exp: Two new tests to verify zero space chars
19511 after 'if' and 'while' commands in a user-defined command is correctly
19512 parsed.
33f2d567 19513
e05b62ac
AC
195142004-09-08 Andrew Cagney <cagney@gnu.org>
19515
19516 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19517 delivery test with duplicate at end of file.
19518
9cbe82da
MK
195192004-09-06 Mark Kettenis <kettenis@jive.nl>
19520
19521 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19522
564803d9
MC
195232004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19524
19525 * config/hppro.exp: Removed.
19526
7c6807ce
MC
195272004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19528
19529 * config/sparclet.exp: Removed.
19530
bf7e26dd
MC
195312004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19532
19533 * config/udi.exp: Removed.
19534
714e341b
MC
195352004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19536
19537 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19538 of "exp_continue".
19539 (advancei): Likewise.
19540
1236e623
JJ
195412004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19542
19543 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19544
3bdcad15
MI
195452004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19546
228af206 19547 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
19548 to check for nodebug in executable.
19549 * gdb.gdb/observer.exp (setup_test): Likewise.
19550 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19551 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19552
c72b934c
AC
195532004-09-01 Andrew Cagney <cagney@gnu.org>
19554
19555 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19556 files.
19557
edd9b715
JJ
195582004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19559
19560 * gdb.base/unload.exp: Fix expected warning message to match
19561 latest format.
19562
fb4ce06b
CV
195632004-09-01 Corinna Vinschen <vinschen@redhat.com>
19564
19565 * gdb.base/call-rt-st.exp: Fix typos.
19566
ce78e7c3
MI
195672004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19568
19569 * gdb.threads/thread_check.exp: New testcase.
19570 * gdb.threads/thread_check.c: New testcase.
19571
2dedb159
AC
195722004-08-31 Andrew Cagney <cagney@gnu.org>
19573
19574 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19575 (skip_to_handler_entry): New procedures. Test stepping into a
19576 handler when the breakpoint is at the handler's entry point.
19577
68f53502
AC
195782004-08-30 Andrew Cagney <cagney@gnu.org>
19579
19580 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19581 gdb/1757.
19582
3e3ffd2b
MC
195832004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19584
19585 With code from Manoj Iyer <manjo@austin.ibm.com>:
19586 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19587 return value. Add an arm for "no debugging symbols found".
19588 Change a stray "error" to "perror".
19589 (gdb_run_cmd): Adapt to new return value.
19590 * gdb.base/remote.exp: Adapt to new return value.
19591 * gdb.gdb/complaints.exp: Likewise.
19592 * gdb.gdb/observer.exp: Likewise.
19593 * gdb.gdb/selftest.exp: Likewise.
19594 * gdb.gdb/xfullpath.exp: Likewise.
19595
4b6f5fd2
JB
195962004-08-27 Joel Brobecker <brobecker@gnat.com>
19597
19598 * gdb.threads/bp_in_thread.exp: New testcase.
19599
e5b25496
MC
196002004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19601
19602 Fix PR testsuite/1735.
19603 * gdb.threads/schedlock.c (thread_function): Add a cast
19604 to suppress a gcc warning.
19605 * gdb.threads/thread-specific.c (thread_function): Likewise.
19606
934353d6
MC
196072004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19608
19609 * gdb.base/unload.c: Include <stdlib.h>.
19610
f98a0aef 196112004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 19612
f98a0aef 19613 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
19614 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19615 synchronized after the "return".
19616
5a2e8882
MC
196172004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19618
19619 * gdb.mi/basics.c: Include <stdio.h>.
19620 * gdb.mi/pthreads.c: Include <stdlib.h>.
19621 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19622
a9640423
MC
196232004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19624
19625 * gdb.threads/schedlock.c: Add copyright notice.
19626
b04e311d
AC
196272004-08-25 Andrew Cagney <cagney@gnu.org>
19628
19629 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19630 (skip_over_handler, breakpoint_over_hander): New test procedures.
19631 (advance, advancei): Add a proper prefix, do not use
19632 rerun_to_main.
19633 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19634
7c27f15b
MC
196352004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19636
19637 * gdb.mi/basics.c: Add copyright notice.
19638 * gdb.mi/var-cmd.c: Add copyright notice.
19639
fffc87ae
MC
196402004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19641
19642 * lib/gdb.exp: Remove signed_keyword_not_used.
19643 * lib/compiler.c: Likewise.
19644 * lib/compiler.cc: Likewise.
19645
d782e0bf
MC
196462004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19647
19648 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19649 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19650
96033e83
MC
196512004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19652
19653 * gdb.base/whatis.c: Add copyright notice.
19654
cf38c229
MK
196552004-08-20 Mark Kettenis <kettenis@gnu.org>
19656
19657 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19658 it to skip the breakpoints encoded in the inline assembly.
19659
f4b49756
MC
196602004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19661
19662 * Makefile.in: Add gdb.fortran.
19663
2f193b69
MC
196642004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19665
19666 * gdb.base/call-sc.exp (test_scalar_returns):
19667 Fix cut-and-paste glitch in "Make fun return now".
19668
89a237cb
MC
196692004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19670
19671 * configure.in: Add gdb.fortran.
19672 * configure: Regenerate.
19673 * gdb.fortran/Makefile.in: New file.
19674 * lib/gdb.exp (skip_fortran_tests): New procedure.
19675
469aff8e
MC
196762004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19677
19678 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19679 reference to bug-gnu@prep.ai.mit.edu.
19680 * gdb.mi/mi-var-child.exp: Likewise.
19681 * gdb.mi/mi-var-cmd.exp: Likewise.
19682 * gdb.mi/mi-var-display.exp: Likewise.
19683 * gdb.mi/mi2-var-block.exp: Likewise.
19684 * gdb.mi/mi2-var-child.exp: Likewise.
19685 * gdb.mi/mi2-var-cmd.exp: Likewise.
19686 * gdb.mi/mi2-var-display.exp: Likewise.
19687
00b51b9f
MK
196882004-08-15 Mark Kettenis <kettenis@gnu.org>
19689
19690 * gdb.base/unload.c (main): Make local variable msg const.
19691
45f07fef
MC
196922004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19693
19694 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19695 to bug-gnu@prep.ai.mit.edu.
19696 * gdb.mi/mi-disassemble.exp: Likewise.
19697 * gdb.mi/mi-eval.exp: Likewise.
19698 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19699 default line number.
19700 * gdb.mi/mi-return.exp: Likewise.
19701 * gdb.mi/mi-simplerun.exp: Likewise.
19702 * gdb.mi/mi-stack.exp: Likewise.
19703 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19704 number with explicit range test.
19705 * gdb.mi/mi-watch.exp: Likewise.
19706 * gdb.mi/mi2-break.exp: Likewise.
19707 * gdb.mi/mi2-cli.exp: Likewise.
19708 * gdb.mi/mi2-disassemble.exp: Likewise.
19709 * gdb.mi/mi2-eval.exp: Likewise.
19710 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19711 default line number.
19712 * gdb.mi/mi2-return.exp: Likewise.
19713 * gdb.mi/mi2-simplerun.exp: Likewise.
19714 * gdb.mi/mi2-stack.exp: Likewise.
19715 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19716 number with explicit range test.
19717 * gdb.mi/mi2-watch.exp: Likewise.
19718
dd8c8ee7
MC
197192004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19720
19721 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19722 * gdb.cp/m-static.exp: Likewise.
19723 * gdb.cp/rtti.exp: Likewise.
19724
4e838464
MK
197252004-08-14 Mark Kettenis <kettenis@gnu.org>
19726
19727 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19728
8d8cb839
EZ
197292004-08-14 Eli Zaretskii <eliz@gnu.org>
19730
19731 * ChangeLog: Prefix Local Variables with semi-colons and indent
19732 the reference to older ChangeLog files, to fix fontification in
19733 Emacs.
19734
deea8bb0
MC
197352004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19736
19737 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19738 * gdb.mi/mi2-break.exp: Likewise.
19739
c3297504
MC
197402004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19741
19742 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19743
25808999
MC
197442004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19745
19746 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19747
226a8d71
MC
197482004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19749
19750 * gdb.cp/classes.exp: Remove unused declarations. Just let
19751 test names default instead of providing special names. Remove
19752 extraneous demangler test.
19753
37fdf854
JJ
197542004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19755
19756 * gdb.base/unload.exp: New test for breakpoints in dynamically
19757 loaded libraries.
19758 * gdb.base/unload.c: Ditto.
19759 * gdb.base/unloadshr.c: Ditto.
19760
2d3a7986
MC
197612004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19762
19763 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19764 cp_test_ptype_class.
19765 (test_enums): Likewise.
19766
c72b934c
AC
197672004-08-10 Andrew Cagney <cagney@gnu.org>
19768
19769 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19770 files.
19771
cc503c8a
AC
197722004-08-10 Andrew Cagney <cagney@gnu.org>
19773
19774 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19775 init_malloc call.
19776
902f2ccb
MC
197772004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19778
19779 * ChangeLog: Add copyright notice. The notice is copied
19780 from emacs 21.3 top level ChangeLog.
19781
78c90502
MC
197822004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19783
19784 * lib/cp-support.exp: New file.
19785 * lib/cp-support.exp (cp_test_type_class): New function.
19786 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19787 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19788 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19789 cp_test_ptype_class.
19790
88e5ea78
MC
197912004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19792
19793 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19794 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19795 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19796 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19797 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19798 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19799 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19800 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19801 gdb.mi/mi2-watch.exp: Update copyright years.
19802
6a89fc9c
MK
198032004-08-09 Mark Kettenis <kettenis@gnu.org>
19804
19805 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19806
1482e0de
MC
198072004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19808
19809 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19810 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19811 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19812 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19813 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19814 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19815 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19816 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19817 gdb.mi/mi-watch.exp: Update copyright years.
19818
1a5ce3f3
DJ
198192004-08-08 Daniel Jacobowitz <dan@debian.org>
19820
19821 PR gdb/1738
19822 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19823 from a breakpoint with a pending signal.
19824
04f6ecf2
DJ
198252004-08-08 Daniel Jacobowitz <dan@debian.org>
19826
19827 PR gdb/1736
19828 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19829 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19830 the prompt.
19831 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19832
54d90d35
DJ
198332004-08-08 Daniel Jacobowitz <dan@debian.org>
19834
19835 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19836
d2f6abb0
DJ
198372004-08-08 Daniel Jacobowitz <dan@debian.org>
19838
19839 PR gdb/1736
19840 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19841 for i?86-*-linux*.
19842
5598c03d
DJ
198432004-08-08 Daniel Jacobowitz <dan@debian.org>
19844
19845 * gdb.arch/i386-prologue.exp: Compile without debug information.
19846
c6fee705
MC
198472004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19848
19849 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19850 rather than asking gdb to search.
19851
dd90efdb
MC
198522004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19853
19854 * gdb.base/gcore.c: Include <string.h>.
19855
1e84bec1
MC
198562004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19857
19858 * gdb.base/gcore.c: Add copyright notice.
19859
e425eb2b
MC
198602004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19861
19862 * gdb.base/freebpcmd.c: Include <stdio.h>.
19863 * gdb.base/long_long.c: Include <string.h>.
19864 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19865 * gdb.base/siginfo.c: Include <string.h>.
19866 * gdb.base/sigstep.c: Include <string.h>.
19867
cb9aaed5
MC
198682004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19869
19870 * gdb.base/complex.c: Include <stdlib.h>.
19871
55944f3d
MC
198722004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19873
19874 * gdb.base/complex.c: Add copyright notice.
19875
7b2953d9
MC
198762004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19877
19878 * gdb.base/charset.c: Include <stdlib.h>.
19879
c9133d23
MC
198802004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19881
19882 * gdb.base/auxv.c: Include <stdlib.h>.
19883
0a8490ad
MC
198842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19885
19886 * gdb.base/auxv.c: Add copyright notice.
19887
3426d5ec
MC
198882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19889
19890 * gdb.base/coremaker.c: Add copyright notice.
19891 * gdb.base/coremaker2.c: Add copyright notice.
19892
8da195dd
AC
198932004-08-04 Andrew Cagney <cagney@gnu.org>
19894
19895 * gdb.base/store.exp: Update copyright.
19896 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19897 names, do not import gdb_prompt.
19898
8d394f98
AC
198992004-08-01 Andrew Cagney <cagney@gnu.org>
19900
19901 Fix PR testsuite/1729.
19902 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19903 not use capture_value with value 4.
19904 (capture_value): Add optional test name parameter.
19905 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19906 the prefix, pass to capture_value.
19907
b6702b23
MK
199082004-08-01 Mark Kettenis <kettenis@gnu.org>
19909
19910 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19911 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19912 (main): Call new function.
19913
c203e0ca
MC
199142004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19915
19916 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19917
a7995a30
MC
199182004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19919
19920 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19921
9366563b
MC
199222004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19923
b6eeaf26 19924 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
19925 Accept more values of vtbl pointer. Remove some messages
19926 about "obsolete gcc or gdb".
19927
2fc1f950
MC
199282004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19929
19930 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19931
c724d49b
MC
199322004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19933
19934 * gdb.base/asm-source.exp: Properly convert target board
19935 debug flags from gcc format to binutils format.
19936
736b0fce
MK
199372004-07-28 Mark Kettenis <kettenis@gnu.org>
19938
19939 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19940 gdb1718". PR backtrace/1718 partially fixed.
19941
5633ea5c
JJ
199422004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19943
19944 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19945
575eebb1
NC
199462004-07-26 Nick Clifton <nickc@redhat.com>
19947
19948 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19949 good default value for a specific architecture is available then
19950 set it to that value. Otherwise default to the -gstabs switch.
19951 Remove the -g... switches from the asm-flags variable. Allow the
19952 target board info to override the value if it wants to. Pass the
19953 switch on the assembler command line.
19954
62104619
MK
199552004-07-23 Mark Kettenis <kettenis@gnu.org>
19956
19957 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19958 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19959 (main): Call new function.
19960
4a1135b8
MC
199612004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19962
19963 Test for PR exp/1715.
19964 * gdb.base/radix.exp: Refactor common procedures. Make all
19965 test names unique. Change XFAIL to KFAIL.
19966
8a12c1f0
MC
199672004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19968
19969 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19970 * gdb.ada/gnat_ada.gin: ... to here.
19971 * configure.in: Use gnat_ada.gin.
19972 * configure: Regenerate.
19973
23b451cf
AC
199742004-07-20 Andrew Cagney <cagney@gnu.org>
19975
19976 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19977 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19978 XFAILs. Clean up test messages and comments. Check backtraces.
19979 Delete re-sync code.
19980
ab618a02
MC
199812004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19982
19983 Fix PR cli/740.
19984 * gdb.base/annota1.exp: Honor gdb,nosignals.
19985 * gdb.base/annota3.exp: Likewise.
19986
46dad340
MC
199872004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19988
19989 * lib/java.exp: Update copyright notice.
19990
756d8c70
AC
199912004-07-19 Andrew Cagney <cagney@gnu.org>
19992
19993 * gdb.base/selftest.exp: Copy file from here ...
19994 * gdb.gdb/selftest.exp: ... to here.
19995
586027e6
AC
199962004-07-16 Andrew Cagney <cagney@redhat.com>
19997
19998 * lib/insight-support.exp: Delete file.
19999 * lib/java.exp (java_init): Fix copyright.
20000
029d2200
AC
200012004-07-16 Andrew Cagney <cagney@gnu.org>
20002
20003 * gdb.base/restore.c: Append "prologue" to comments marking the a
20004 function's prologue.
20005 * gdb.base/restore.exp: Update copyright, re-indent.
20006 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
20007 callerN" prefix where needed. Update patterns that match a
20008 function's prologue.
20009
653b62c5
MC
200102004-07-16 Michael Chastain <mec.gnu@mindspring.com>
20011
20012 * gdb.base/restore.c: Add copyright notice.
20013
f7d690e5
AC
200142004-07-16 Andrew Cagney <cagney@gnu.org>
20015
20016 * gdb.base/logical.exp: Update copyright.
20017 (evaluate): New procedure. Use to re-implement tests using
20018 several tables.
20019
d629a7cb
MH
200202004-07-14 Martin Hunt <hunt@redhat.com>
20021
20022 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
20023 which fixes some problems where init.tcl was not found.
20024
9c7bb332
AC
200252004-07-13 Andrew Cagney <cagney@gnu.org>
20026
6bf46641
AC
20027 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
20028 (check_sizeof, check_valueof): Do not include the output in the
20029 test name. Use gdb_test.
20030 (get_valueof): Use gdb_test_multiple.
20031
c4ffd4c0
AC
20032 * gdb.base/step-test.exp: Update copyright. Use
20033 gdb_test_multiple. Ensure that test names do not include
20034 architecture dependent output.
20035
ab89363a
AC
20036 * gdb.gdb/observer.exp: Update copyright.
20037 (setup_test): Use gdb_test_multiple.
20038 (attach_first_observer, attach_second_observer)
20039 (attach_third_observer, detach_first_observer)
20040 (detach_second_observer, detach_third_observer)
20041 (reset_counters, check_counters): Make $message a prefix.
20042 (test_normal_stop_notifications): Add "args" parameter - a list of
20043 init functions to be called. Make $message a prefix,
20044 (test_observer_normal_stop): Change the message prefixes so that
20045 they are unique, pass the attach / detach procedures to
20046 test_normal_stop_notifications.
20047
ec58997a
AC
20048 * gdb.base/signull.exp (test_segv): Prefix all tests with
20049 "${name}". Clean up test messages.
20050
b475183b
AC
20051 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
20052
9c7bb332
AC
20053 * gdb.base/ena-dis-br.exp: Update copyright.
20054 (break_at): New function. Replace send_gdb with gdb_test,
20055 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
20056 ignore count, not stopped at bpt", with KFAIL.
20057
2dd95497
CV
200582004-07-13 Corinna Vinschen <vinschen@redhat.com>
20059
20060 * gdb.base/attach.exp: Remove cleanupfile handling.
20061
419e626b
AC
200622004-07-12 Andrew Cagney <cagney@gnu.org>
20063
20064 * gdb.base/annota1.exp: Cleanup corefile test name.
20065 * gdb.base/annota3.exp: Ditto.
20066
8b1b3228
AC
200672004-07-12 Andrew Cagney <cagney@gnu.org>
20068
78650829
AC
20069 * gdb.base/signals.exp: Clean up copyright, re-indent.
20070
8b1b3228
AC
20071 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
20072 gdb_test and gdb_test_multiple.
20073
935c2760
JJ
200742004-07-08 Jeff Johnston <jjohnstn@redhat.com>
20075
20076 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 20077 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
20078 provide line number info for first statement in main.
20079
1544280f
AC
200802004-07-08 Andrew Cagney <cagney@gnu.org>
20081
1279f4ff
AC
20082 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
20083
1544280f
AC
20084 * gdb.base/sigbpt.exp: Make the common part of each test name a
20085 prefix instead of suffix.
20086
bcc82369
BR
200872004-07-07 Bob Rossi <bob_rossi@cox.net>
20088
20089 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
20090 test from test_tbreak_creation_and_listing to
20091 test_file_list_exec_source_file
20092 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
20093 Changed name of test from test_tbreak_creation_and_listing to
20094 test_file_list_exec_source_file
20095
23f4b0aa
JJ
200962004-07-07 Jeff Johnston <jjohnstn@redhat.com>
20097
20098 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
20099 the jmisc() constructor instead of <init>.
20100 * gdb.java/jmisc1.exp: Ditto.
20101
56401cd5
AC
201022004-07-07 Andrew Cagney <cagney@gnu.org>
20103
20104 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
20105 corrupting the PC.
20106
44ae2f6a
MC
201072004-07-06 Michael Chastain <mec.gnu@mindspring.com>
20108
20109 * gdb.cp/templates.exp: Accept whitespace change in demangler
20110 output.
20111
45a83408
AC
201122004-07-06 Andrew Cagney <cagney@gnu.org>
20113
20114 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
20115
d205ad70
MC
201162004-07-02 Michael Chastain <mec.gnu@mindspring.com>
20117
20118 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
20119 * lib/compiler.cc: Likewise.
20120
06ea1a61
MC
201212004-06-30 Michael Chastain <mec.gnu@mindspring.com>
20122
20123 * lib/compiler.cc: Work around string preprocessing problem
20124 with old hp c++ compiler.
20125 * lib/compiler.c: Likewise.
20126
daab1251
CV
201272004-06-29 Corinna Vinschen <vinschen@redhat.com>
20128
20129 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
20130 directives to conditionalize symbol prefixing.
20131 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
20132 additional_flags handling. Add underscore prefix for Cygwin.
20133 * gdb.arch/i386-unwind.c: Use preprocessor directives to
20134 conditionalize symbol prefixing.
20135 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
20136 additional_flags handling. Add underscore prefix for Cygwin.
20137
cc984116
CV
201382004-06-29 Corinna Vinschen <vinschen@redhat.com>
20139
20140 * gdb.base/bigcore.exp: Skip test on Cygwin.
20141
c279b077
MC
201422004-06-28 Michael Chastain <mec.gnu@mindspring.com>
20143
20144 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
20145 formats for "info register". Use gdb_test_multiple. Fix
20146 the "invalid register" test.
20147
0e915747
CV
201482004-06-28 Corinna Vinschen <vinschen@redhat.com>
20149
20150 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
20151 PID for Cygwin. Add Cygwin specific strings to check for in some
20152 tests.
20153 (do_attach_tests): Add a test for user interaction when attaching
20154 to a process with no matching symbol table already loaded.
20155
11422c86
AC
201562004-06-26 Andrew Cagney <cagney@gnu.org>
20157
20158 Test PR java/1567 and PR java/1565.
20159 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
20160 * gdb.java/jmisc2.exp: Delete file.
20161
cefbce26
MC
201622004-06-26 Michael Chastain <mec.gnu@mindspring.com>
20163
20164 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
20165
e19f872c
CV
201662004-06-25 Corinna Vinschen <vinschen@redhat.com>
20167
20168 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
20169 attach process.
20170
d931ba3b
MC
201712004-06-23 Michael Chastain <mec.gnu@mindspring.com>
20172
20173 * gdb.cp/pr-1553.exp: Remove.
20174
aef68c48
MC
201752004-06-22 Michael Chastain <mec.gnu@mindspring.com>
20176
20177 * gdb.cp/pr-1553.cc: Remove.
20178 * gdb.cp/pr-1553.exp: Disable this test.
20179
8d5df71a
JB
201802004-06-20 Jim Blandy <jimb@redhat.com>
20181
a9c64011 20182 Fix PR testsuite/1680.
8d5df71a
JB
20183 * gdb.arch/i386-sse.exp: Properly quote curly braces in
20184 regular expressions.
20185
4ac6f39d
MC
201862004-06-19 Michael Chastain <mec.gnu@mindspring.com>
20187
20188 Fix PR testsuite/1679.
20189 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
20190 Issue an UNSUPPORTED result instead.
20191
1b413552
JB
201922004-06-18 Jim Blandy <jimb@redhat.com>
20193
20194 * gdb.base/charset.exp: Only send a control-C if we see a new
20195 prompt and incomplete command.
20196
6daa6ebd
MC
201972004-06-18 Michael Chastain <mec.gnu@mindspring.com>
20198
20199 * gdb.cp/pr-574.cc: Add copyright notice.
20200
51fa4ae0
JB
202012004-06-17 Jim Blandy <jimb@redhat.com>
20202
20203 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
20204 cases where the regexp has no groups; this grabs random text from
20205 the previous test suite, whatever that was.
20206
8fea26c5
MC
202072004-06-17 Michael Chastain <mec.gnu@mindspring.com>
20208
20209 * gdb.cp/printmethod.cc: Add copyright notice.
20210
1e3aeb41
MC
202112004-06-16 Michael Chastain <mec.gnu@mindspring.com>
20212
20213 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
20214
9d9030bc
AC
202152004-06-16 Andrew Cagney <cagney@gnu.org>
20216
20217 * gdb.base/signull.c: Update copyright. Include <string.h>.
20218 (bowler): Replace data_pointer with data_read
20219 and data_write cases. Add code_descriptor case.
20220 (zero, desc): New array and pointer.
20221 (data, code): Change to simple pointers.
20222 * gdb.base/signull.exp: Fix probe pattern matching a function
20223 descriptor SIGSEGV. Replace data_pointer with data_read and
20224 data_write tests.
20225
acd4ad44
AC
202262004-06-16 Andrew Cagney <cagney@gnu.org>
20227
20228 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
20229
08fd625c
MC
202302004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20231
20232 * gdb.base/long_long.c: Add copyright notice.
20233
1903502c
MC
202342004-06-15 Michael Chastain <mec.gnu@mindspring.com>
20235
20236 * gdb.base/long_long.exp: Remove reference to
20237 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
20238 to gdb_breakpoint and gdb_continue_to_breakpoint.
20239
83313cb1
JB
202402004-06-14 Jim Blandy <jimb@redhat.com>
20241
20242 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
20243 endian case.
20244
1bf404ef
AC
202452004-06-14 Andrew Cagney <cagney@gnu.org>
20246
20247 * gdb.base/gcore.exp (capture_command_output): Delete the always
20248 passing tests containing inferior values.
20249 * gdb.base/ending-run.exp: Do not include the breakpoint address
20250 in the test message. Update copyright.
20251 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
20252 size in the test name, use gdb_test_multiple. Update copyright.
20253
ef220b33
MC
202542004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20255
20256 * gdb.cp/ref-types.cc: Add copyright notice.
20257
4f70a4c9
MC
202582004-06-14 Michael Chastain <mec.gnu@mindspring.com>
20259
20260 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
20261 hp_aCC_compiler.
20262 * lib/compiler.cc: Likewise.
20263 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
20264 'set' commands. Log diagnostics for other lines. Set
20265 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
20266
335928ac
MC
202672004-06-13 Michael Chastain <mec.gnu@mindspring.com>
20268
20269 * gdb.cp/try_catch.cc: Add copyright notice.
20270
2efb12e8
MC
202712004-06-12 Michael Chastain <mec.gnu@mindspring.com>
20272
20273 * gdb.cp/userdef.cc: Add copyright notice.
20274
0bbed51a
MC
202752004-06-11 Michael Chastain <mec.gnu@mindspring.com>
20276
20277 * gdb.cp/virtfunc.cc: Add copyright notice.
20278
e12a46c9
RC
202792004-06-11 Randolph Chung <tausq@debian.org>
20280
20281 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
20282 problem.
20283
338e05af
AC
202842004-06-10 Andrew Cagney <cagney@gnu.org>
20285
20286 * lib/compiler.cc, lib/compiler.c: Append either
20287 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
20288 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
20289 instead of gcc-3-3.
20290
dc3f10cb
AC
202912004-06-09 Andrew Cagney <cagney@gnu.org>
20292
b4d946af
AC
20293 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
20294 gdb/1455, bug is specific to "long long" and "double".
a9c64011 20295
dc3f10cb
AC
20296 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
20297 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
20298 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
20299 fixed.
20300
b5c0bfa2
AC
203012004-06-09 Andrew Cagney <cagney@gnu.org>
20302
20303 * gdb.base/structs.exp (test_struct_returns): Replace
20304 "return_value_unknown" and "finish_value_unknown" by
20305 "return_value_known" and "finish_value_known". Instead of
20306 "return_value_unknown" iff "finish_value_unknown", check
20307 "return_value_known" implies "finish_value_known".
20308
caeb605f
MH
203092004-06-08 Martin Hunt <hunt@redhat.com>
20310
20311 * gdb.base/float.exp: Add pattern for mips targets.
20312
c892bb64
RC
203132004-06-08 Randolph Chung <tausq@debian.org>
20314
20315 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
20316 message for unknown architectures more clear.
20317
48306d3e
JB
203182004-06-08 Joel Brobecker <brobecker@gnat.com>
20319
20320 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
20321 start the execution of the program.
20322
83ecb59f
JB
203232004-06-07 Jim Blandy <jimb@redhat.com>
20324
20325 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
20326 * gdb.arch/i386-cpuid.h: New helper file.
20327
55264cb4
RC
203282004-06-07 Randolph Chung <tausq@debian.org>
20329
20330 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
20331 has started.
20332
23cadb28
RM
203332004-06-04 Roland McGrath <roland@redhat.com>
20334
20335 Fix PR gdb/1647.
20336 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
20337 differently to be robust to output buffering differences.
20338
51d01eda
MC
203392004-06-04 Michael Chastain <mec.gnu@mindspring.com>
20340
20341 * gdb.threads/pthreads.exp: Update copyright years.
20342 (check_control_c): Change asynchronous 'after' to synchronous.
20343
f4fc3b93
RM
203442004-06-04 Roland McGrath <roland@redhat.com>
20345
20346 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
20347 next gdb prompt.
20348
4013522b
MC
203492004-06-02 Michael Chastain <mec.gnu@mindspring.com>
20350
20351 Fix PR gdb/1636.
20352 * gdb.threads/manythreads.exp: Change asynchronous 'after'
20353 calls to synchronous.
20354
7a8f1e6b
JB
203552004-05-26 Jim Blandy <jimb@redhat.com>
20356
20357 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
20358
81bb3443
RC
203592004-05-24 Randolph Chung <tausq@debian.org>
20360
20361 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
20362 * gdb.asm/pa.inc: New file.
20363
8f5a3103
MK
203642004-05-22 Mark Kettenis <kettenis@gnu.org>
20365
20366 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
20367
734b8fe8 203682004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 20369 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
20370
20371 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
20372 GDB prompt.
20373
725603e1
UW
203742004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20375
f4fc3b93 20376 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
20377 setjmp/longjmp. Use sigaction instead of signal.
20378
8b923272 203792004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 20380 Michael Snyder <msnyder@redhat.com>
8b923272
JB
20381
20382 * gdb.threads/pthread_cond_wait.c: New file.
20383 * gdb.threads/pthread_cond_wait.exp: New testcase.
20384
8bfabb04
AC
203852004-05-13 Andrew Cagney <cagney@redhat.com>
20386
20387 * gdb.base/signull.exp, gdb.base/signull.c: New files.
20388 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
20389
42edda50
AC
203902004-05-11 Andrew Cagney <cagney@redhat.com>
20391
20392 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
20393 fixed but revealed gdb/1639.
20394
d303a6c7
AC
203952004-05-10 Andrew Cagney <cagney@redhat.com>
20396
20397 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
20398 func1" and "next to 2nd alarm", kernel bug avoided.
20399
bf08c2a1
DJ
204002004-05-10 Daniel Jacobowitz <dan@debian.org>
20401
20402 PR external/1568
20403 * gdb.base/bigcore.exp: Check the size of the dumped core file.
20404 XFAIL if it is smaller than bytes_allocated.
20405 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
20406 (main): Make chunks_allocated unsigned. Correct comment.
20407
c0586a34
JB
204082004-05-07 Joel Brobecker <brobecker@gnat.com>
20409
20410 * gdb.arch/powerpc-aix-prologue.c: New file.
20411 * gdb.arch/powerpc-aix-prologue.exp: New file.
20412
f2785d12
JB
204132004-05-07 Jim Blandy <jimb@redhat.com>
20414
20415 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
20416 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
20417
bd7f6e30
JB
204182004-05-06 Joel Brobecker <brobecker@gnat.com>
20419
20420 * gdb.base/sep.exp: No longer setup_kfail when the program was
20421 built with dwarf2.
20422
0a5e7efe
JI
204232004-05-05 Jim Ingham <jingham@apple.com>
20424
20425 * gdb.base/pending.exp: Make sure pending breakpoints
20426 preserve the ignore count.
f4fc3b93 20427
a8958849
MK
204282004-04-27 Jerome Guitton <guitton@gnat.com>
20429
20430 * i386-prologue.exp: Add testcase for jump instruction as first
20431 instruction of the real code.
20432 * i386-prologue.c (jump_at_beginning): New function.
20433
7e103f5b
MK
204342004-04-28 Mark Kettenis <kettenis@gnu.org>
20435
20436 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
20437 x86_64-*-*.
20438
5d38b224
MK
204392004-04-28 Mark Kettenis <kettenis@gnu.org>
20440
20441 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
20442 i*86-*-*.
20443
0ef32fd9
MK
204442004-04-25 Mark Kettenis <kettenis@gnu.org>
20445
20446 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
20447 expression that checks the return type.
20448
71d7dd7c
AC
204492004-04-23 Andrew Cagney <cagney@redhat.com>
20450
20451 * gdb.base/call-sc.exp: New test of scalar call/return values.
20452 * gdb.base/call-sc.c: Ditto.
20453
1e9f977e
JJ
204542004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20455
20456 * gdb.threads/manythreads.c: Reduce thread stack size.
20457
899d9e3a
JJ
204582004-04-23 Jeff Johnston <jjohnstn@redhat.com>
20459
20460 * gdb.threads/manythreads.c: Add copyright notice.
20461
61bcae62
AC
204622004-04-23 Andrew Cagney <cagney@redhat.com>
20463
20464 * gdb.base/siginfo.exp: Better handle step out of signal.
20465 * gdb.base/sigstep.exp: Ditto.
20466
7339a42e 204672004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 20468 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
20469
20470 * gdb.threads/manythreads.c: New testcase.
20471 * gdb.threads/manythreads.exp: Ditto.
20472
5c98409b
JB
204732004-04-22 Jim Blandy <jimb@redhat.com>
20474
20475 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
20476 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
20477
3b611f1a
MC
204782004-04-21 Michael Chastain <mec.gnu@mindspring.com>
20479
20480 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
20481
f0fd9238
AC
204822004-04-21 Andrew Cagney <cagney@redhat.com>
20483
20484 * gdb.base/sigstep.c: New file.
20485 * gdb.base/sigstep.exp: New file.
20486
90990674
JB
204872004-04-16 Joel Brobecker <brobecker@gnat.com>
20488
20489 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
20490 call to observer_notify_normal_stop.
20491
78cef34b
AC
204922004-04-15 Andrew Cagney <cagney@redhat.com>
20493
20494 * gdb.base/siginfo.c: New file.
20495 * gdb.base/siginfo.exp: New file.
20496
d2343407
JB
204972004-04-12 J. Brobecker <brobecker@gnat.com>
20498
20499 * gdb.base/sep.exp: Fix typo in comment.
20500
a2dba3c8
JB
205012004-04-12 J. Brobecker <brobecker@gnat.com>
20502
20503 * gdb.base/sep.c: New file.
20504 * gdb.base/sep-proc.c: New file.
20505 * gdb.base/sep.exp: New testcase.
20506
15f7b60e
MK
205072004-04-09 Mark Kettenis <kettenis@gnu.org>
20508
20509 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20510 support.
20511
44f4de1a
AC
205122004-04-05 Andrew Cagney <cagney@redhat.com>
20513
20514 * gdb.base/sigaltstack.c: New file.
20515 * gdb.base/sigaltstack.exp: New file.
20516
ef04f396
JB
205172004-04-04 Joel Brobecker <brobecker@gnat.com>
20518
20519 * gdb.base/foll-fork.exp: Update the expected output for
20520 "help set follow-fork-mode", to match a change that was made
20521 to the help of this variable on 2004-01-13.
20522
d40d2c92
JB
205232004-04-01 Joel Brobecker <brobecker@gnat.com>
20524
20525 * lib/ada.exp: Add copyright notice.
20526 * bar.ads: Likewise.
20527 * bar.adb: Likewise.
20528 * null_record.adb: Likewise.
20529 * null_record.exp: Likewise.
20530 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20531
f86ef5a3
JB
205322004-04-01 Joel Brobecker <brobecker@gnat.com>
20533
20534 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20535 * configure: Regenerate.
20536
414e70e3
JB
205372004-04-01 Joel Brobecker <brobecker@gnat.com>
20538
20539 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20540 to build the application. Remove the message printed when in
20541 verbose mode, redundant with the UNSUPPORTED message above.
20542
f0aaee49
JB
205432004-03-31 Joel Brobecker <brobecker@gnat.com>
20544
20545 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20546 * gdb.ada (null_record.exp): New testcase.
20547
ac81cb54
JB
205482004-03-31 Joel Brobecker <brobecker@gnat.com>
20549
20550 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20551
854af2f7
JB
205522004-03-31 Joel Brobecker <brobecker@gnat.com>
20553
20554 * gdb.ada: New subdirectory.
20555 * gdb.ada/Makefile.in: New file.
20556 * gdb.ada/gnat_ada.gpr.in: New file.
20557
034cb681
JB
205582004-03-31 Joel Brobecker <brobecker@gnat.com>
20559
20560 * lib/ada.exp: New file.
20561
78a1a894
DJ
205622004-03-24 Daniel Jacobowitz <drow@mvista.com>
20563
20564 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20565 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20566
4b2b3b3e
AC
205672004-03-22 Andrew Cagney <cagney@redhat.com>
20568
20569 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20570 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20571 Problem identified by Ulrich Weigand.
20572
23c73aa3
DC
205732004-03-17 David Carlton <carlton@kealia.com>
20574
20575 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20576 PR c++/826.
20577
d63a86f8
RM
205782004-03-16 Roland McGrath <roland@redhat.com>
20579
20580 * gdb.base/auxv.exp: New file.
20581 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20582
0e02aa50
DC
205832004-03-12 David Carlton <carlton@kealia.com>
20584
20585 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20586 * gdb.cp/pr-1553.cc: Ditto.
20587 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20588 pass branch.
20589
c20b71be
MC
205902004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20591
20592 * gdb.cp/templates.exp: Accept more template types.
20593
c7414a01
MC
205942004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20595
20596 From Corinna Vinschen with modifications.
20597 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20598 local variable obj_with_enum.
20599 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20600 results with obj_with_enum.
20601
ed69573c
MC
206022004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20603
20604 * gdb.cp/classes.cc: New file, copied from misc.cc.
20605 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20606
28301461
MC
206072004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20608
20609 * gdb.cp/misc.cc: Add copyright notice.
20610
1198ecbe
DC
206112004-03-05 David Carlton <carlton@kealia.com>
20612
20613 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20614 * gdb.cp/rtti.h: Update copyright.
20615 (namespace n2::n3): New.
20616 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20617 (n2::n3::func3): New.
20618 (main): Call n2::n3::func3.
20619 * gdb.cp/rtti2.cc: Update copyright.
20620 (n2::create3): New.
20621
9e08c470
MK
206222004-03-04 Mark Kettenis <kettenis@gnu.org>
20623
20624 * gdb.asm/openbsd.inc: Fix typo.
20625
4bebc3aa
FF
206262004-03-03 Fred Fish <fnf@redhat.com>
20627
20628 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20629 "val" instead of unused "size". Update copyright year.
20630
6ea9fb37
DJ
206312004-02-29 Daniel Jacobowitz <drow@mvista.com>
20632
20633 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20634 to use unsigned char.
20635 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20636 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20637
23b23974
DJ
206382004-02-29 Daniel Jacobowitz <drow@mvista.com>
20639
20640 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20641 line of output.
20642
7574fd53
DJ
206432004-02-28 Daniel Jacobowitz <drow@mvista.com>
20644
20645 * gdb.base/relocate.c (dummy): Initialize.
20646
a195357f
DJ
206472004-02-28 Daniel Jacobowitz <drow@mvista.com>
20648
20649 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20650 a breakpoint at exit.
20651
72fd54a9
FF
206522004-02-27 Fred Fish <fnf@redhat.com>
20653
20654 * gdb.base/chng-syms.exp: Add expect condition to match failing
20655 case that isn't a timeout.
20656
b9d23137
AC
206572004-02-27 Andrew Cagney <cagney@redhat.com>
20658
20659 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20660 support.
20661
15d208f6 206622004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 20663
15d208f6
FF
20664 * gdb.arch/gdb1431.c: Remove.
20665 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20666 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20667 of "until" incorrectly.
20668
98f9cd2d
JB
206692004-02-26 J. Brobecker <brobecker@gnat.com>
20670
20671 * gdb.cp/class2.cc (empty): New class.
20672 (refer): New function.
20673 (main): Declare an object of type empty and use it.
20674 * gdb.cp/class2.exp: Print the value of an object of type empty.
20675
9b50c11b
JJ
206762004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20677
20678 * gdb.base/langs.exp: Update query string to match the
20679 new nquery format used for pending breakpoints.
20680
0dcd613f
AC
206812004-02-26 Andrew Cagney <cagney@redhat.com>
20682
20683 Fix PR i18n/1570.
20684 * gdb.base/charset.c: Update copyright notice.
20685 (main, init_string): Remove the escape character '\e' tests.
20686 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20687 * gdb.base/charset.exp (valid_host_charset): Ditto.
20688 * gdb.base/setvar.exp: Ditto.
20689
b8a56647
AC
206902004-02-24 Andrew Cagney <cagney@redhat.com>
20691
90d59e34
AC
20692 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20693 mmapped data in core file" PASS and FAIL messages consistent.
20694
b8a56647
AC
20695 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20696 setting a breakpoint. Work around PR java/1565.
20697
9f27c604
JJ
206982004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20699
20700 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20701 new nquery format.
20702 * gdb.base/pending.exp: Ditto.
20703
3224a706
MK
207042004-02-22 Mark Kettenis <kettenis@gnu.org>
20705
20706 * configure.in: Run stabs tests on *BSD.
20707 * configure: Regenerated.
20708
41e0a9ca
MK
207092004-02-21 Mark Kettenis <kettenis@gnu.org>
20710
20711 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20712
1e1b3428
FF
207132004-02-20 Fred Fish <fnf@redhat.com>
20714
20715 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20716 blank in test for "returns short", for consistency with other
20717 "returns xxx" tests. Update copyright year.
20718
f9a7572a
FF
207192004-02-19 Fred Fish <fnf@redhat.com>
20720
20721 New testcase for PR breakpoint/1558.
20722 * gdb.arch/gdb1558.exp: New file.
20723 * gdb.arch/gdb1558.c: New file.
20724
b2ce2854
EZ
207252004-02-19 Elena Zannoni <ezannoni@redhat.com>
20726
20727 * gdb.base/nodebug.exp: Fix typo.
20728
e7c9ff01
JB
207292004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20730
20731 Committed by Jim Blandy <jimb@redhat.com>.
20732
62f4b920
JB
20733 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20734
2db536a1
JB
20735 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20736
e7c9ff01
JB
20737 * gdb.base/float.exp: Support s390*-*-* targets.
20738
f3205b34
AF
207392004-02-17 Adam Fedor <fedor@gnu.org>
20740
20741 * gdb.base/gdb1555.exp: New file.
20742 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20743
9d62932d
EZ
207442004-02-17 Elena Zannoni <ezannoni@redhat.com>
20745
20746 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20747
344c9711
FF
207482004-02-16 Fred Fish <fnf@redhat.com>
20749
20750 * gdb.arch/gdb1291.c: Remove
20751 * gdb.arch/gdb1291.s: New test input file.
20752 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20753 fail. Test for correct result, known incorrect result, other
20754 failures and timeouts.
20755
2d822687
AC
207562004-02-16 Andrew Cagney <cagney@redhat.com>
20757
20758 * gdb.base/bigcore.exp: New file.
20759 * gdb.base/bigcore.c: New file.
20760
dac15b66
AC
207612004-02-13 Andrew Cagney <cagney@redhat.com>
20762
20763 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20764 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20765 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20766 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20767 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20768 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20769 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20770 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20771 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20772 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20773
6bdfc2c4
JJ
207742004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20775
20776 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20777 executed is an alloc instruction.
20778
87b3ede8
DC
207792004-02-11 David Carlton <carlton@kealia.com>
20780
20781 * gdb.cp/breakpoint.exp: New.
20782 * gdb.cp/breakpoint.cc: New.
20783
6e19e2bf
MC
207842004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20785
20786 Partial fix for PR gdb/1543.
20787 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20788 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20789 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20790 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20791 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20792 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20793 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20794 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20795 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20796 to bug-gdb@prep.ai.mit.edu .
20797 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20798 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20799 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20800 Likewise.
20801
5c5455dc
AC
208022004-02-10 Andrew Cagney <cagney@redhat.com>
20803
20804 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20805 using gdb_internal_error_resync.
20806
9cf689d7
DJ
208072004-02-09 Daniel Jacobowitz <drow@mvista.com>
20808
20809 * gdb.threads/thread-specific.exp: Stop early if no threads are
20810 found.
20811
d2dc51db
MC
208122004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20813
20814 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20815
14b1a056
DJ
208162004-02-08 Daniel Jacobowitz <drow@mvista.com>
20817
20818 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20819 breakpoints.
20820
83f66e8f
DJ
208212004-02-07 Daniel Jacobowitz <drow@mvista.com>
20822
20823 * config/sim.exp (gdb_load): Handle $arg == "".
20824 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20825 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20826
30fc0091
EZ
208272004-02-07 Elena Zannoni <ezannoni@redhat.com>
20828
a9c64011
AS
20829 * gdb.base/maint.exp: Update test to reflect
20830 obstack changes.
30fc0091 20831
4d806929
JJ
208322004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20833
20834 * gdb.base/pendshr.c (pendfunc): New function that calls
20835 pendfunc1.
20836 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20837
7bfdd688
FF
208382004-02-04 Fred Fish <fnf@redhat.com>
20839
20840 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20841 function symbols and update copyright years.
20842 * gdb.arch/gdb1291.c: Ditto.
20843
aaa08ee4
MC
208442004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20845
20846 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20847
dbad7755
MC
208482004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20849
20850 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20851
ec4646ef
MC
208522004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20853
20854 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20855
1b802196
FF
208562004-02-02 Fred Fish <fnf@redhat.com>
20857
20858 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20859 remote targets. Update copyright years.
20860
18fe2033
JJ
208612004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20862
20863 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20864 support.
20865 * gdb.base/langs.exp: Fix test which attempts to create
20866 breakpoint on non-existent function to handle new pending
20867 support.
20868 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20869 a breakpoint.
20870 * gdb.base/pending.exp: New test.
20871 * gdb.base/pending.c: New file.
20872 * gdb.base/pendshr.c: Ditto.
20873
8d577d32
DC
208742004-02-02 David Carlton <carlton@kealia.com>
20875
20876 * gdb.cp/overload.exp: Add overloadNamespace tests.
20877 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20878 (overloadNamespace, XXX): New.
20879 (main): Call XXX::marker2.
20880
3ad13771
FF
208812004-02-01 Fred Fish <fnf@redhat.com>
20882
20883 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20884 * gdb.base/finish.exp: Ditto.
20885 * gdb.base/gcore.exp: Ditto.
20886 * gdb.base/huge.exp: Ditto.
20887 * gdb.base/info-proc.exp: Ditto.
20888 * gdb.base/return2.exp: Ditto.
20889 * gdb.threads/gcore-thread.exp: Ditto.
20890
44c75849
DJ
208912004-02-01 Daniel Jacobowitz <drow@mvista.com>
20892
20893 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20894
005bc093
MK
208952004-02-01 Mark Kettenis <kettenis@gnu.org>
20896
20897 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20898 that opening the file succeeds on OpenBSD.
20899
c47cebdb
DJ
209002004-02-01 Daniel Jacobowitz <drow@mvista.com>
20901
20902 * gdb.threads/thread-specific.c: New file.
20903 * gdb.threads/threads-specific.exp: New test script.
20904 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20905 to expect_out.
20906
5a01311c
MK
209072004-02-01 Mark Kettenis <kettenis@gnu.org>
20908
20909 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20910 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20911 only on the "print_small_structs from print_long_arg_list" test.
20912
ce22a4f1
DJ
209132004-02-01 Daniel Jacobowitz <drow@mvista.com>
20914
20915 * gdb.base/completion.exp: Kill a stray backslash.
20916
20917 From Jim Ingham <jingham@apple.com>:
20918 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20919 agrees with the result from sending a tab.
20920
abbab9d3
DJ
209212004-01-31 Daniel Jacobowitz <drow@mvista.com>
20922
20923 * gdb.base/chng-syms.exp: Remove stray newline.
20924
53904d1e
MK
209252004-01-31 Mark Kettenis <kettenis@gnu.org>
20926
20927 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20928 *-*-openbsd*.
20929 * gdb.asm/openbsd.inc: New file.
20930
3a4b3aac
MK
209312004-01-30 Mark Kettenis <kettenis@gnu.org>
20932
20933 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20934 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20935 *-*solaris2*. Remove commented out default settings for
20936 asm-flags. Replace gdb_compile with target_link.
20937
ebac27b4
MC
209382004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20939
20940 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20941 for all tests. Remove old hp-ux and cygnus xfail cases.
20942
d8679d84
PH
209432004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20944
20945 * gdb.base/chng-syms.exp: New file.
20946 * gdb.base/chng-syms.c: New file.
20947
0a55bc22
MC
209482004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20949
20950 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20951 Provide arms for current output in all my configurations.
20952
94b8e876
MC
209532004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20954
20955 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20956 * lib/compiler.cc: Likewise.
20957 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20958 get the right preprocessor. Eval the output directly. Remove
20959 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20960 hp_f77_compiler and hp_f90_compiler completely.
20961 (gdb_preprocess): Delete.
20962 (get_compiler): Delete.
20963
7cf03d44
MK
209642004-01-24 Mark Kettenis <kettenis@gnu.org>
20965
20966 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20967 <string.h>.
20968
68b6dce9
NR
209692004-01-24 Nick Roberts <nick@nick.uklinux.net>
20970
20971 * gdb.mi/mi-stack.exp: Update copyright.
20972
b368761e
DC
209732004-01-23 David Carlton <carlton@kealia.com>
20974
20975 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20976 test for cp_lookup_transparent_type.
20977 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20978 call them.
20979
f2061b53
DJ
209802004-01-23 Daniel Jacobowitz <drow@mvista.com>
20981
20982 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20983 after -var-update.
20984
37fc574a
DC
209852004-01-23 David Carlton <carlton@kealia.com>
20986
20987 * gdb.cp/namespace.cc (C::ensureRefs): New.
20988 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20989
8e94b928
NR
209902004-01-20 Nick Roberts <nick@nick.uklinux.net>
20991
20992 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20993 case "-stack-list-locals 2".
20994 * gdb.mi/mi-var-child.exp: Test for case
20995 "-var-list-children --all-values NAME".
20996
997b0952
MC
209972004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20998
20999 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
21000
52470da3
MK
210012004-01-18 Mark Kettenis <kettenis@gnu.org>
21002
7049b4b8
MK
21003 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
21004 used with gdb_test_multiple.
21005
52470da3
MK
21006 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
21007 read at address 0. This fixes PR testsuite/1504.
21008
da6012e5
DJ
210092004-01-18 Daniel Jacobowitz <drow@mvista.com>
21010
21011 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
21012 Remove downloading, guessing the host executable, the calls to
21013 gdb_file_cmd and gdb_target_cmd, and "load" support.
21014 (infer_host_exec): New function broken out from gdb_load.
21015 (gdb_load): New wrapper for gdbserver_gdb_load.
21016 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
21017 gdb_target_cmd. Use -target-select.
21018 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
21019 Download binaries to the host. Clear last_mi_remote_file when
21020 we load a new binary.
21021 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
21022 call gdbserver_gdb_load and mi_gdb_target_cmd.
21023
32c70722
MC
210242004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21025
21026 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
21027 type patterns.
21028
b0cecf36
MC
210292004-01-17 Michael Chastain <mec.gnu@mindspring.com>
21030
21031 * gdb.cp/templates.exp: Fix typo in test name of
21032 "print Foo<volatile char*>::foo".
21033
4120d7e6
MC
210342004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21035
21036 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
21037
f679e530
BE
210382004-01-16 Ben Elliston <bje@wasabisystems.com>
21039
21040 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
21041 (clean mostlyclean): Remove empty rm.
21042
091c48f6
MC
210432004-01-15 Michael Chastain <mec.gnu@mindspring.com>
21044
21045 * gdb.base/setvar.exp: Add copyright years.
21046
3e5fc8d2
DC
210472004-01-14 David Carlton <carlton@bactrian.org>
21048
21049 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
21050 PR c++/1511 and update coment.
21051 * gdb.cp/templates.exp: Update patterns to match current output.
21052 If changes involve something other than whitespace, KFAIL
21053 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
21054
63d06c5c
DC
210552004-01-14 David Carlton <carlton@kealia.com>
21056
21057 * gdb.cp/namespace.exp: Add tests involving classes defined within
21058 namespaces.
21059 * gdb.cp/namespace.cc (C::CClass): New.
21060 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
21061
a51dab88
EZ
210622004-01-14 Elena Zannoni <ezannoni@redhat.com>
21063
21064 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
21065 what debug info we have. Print a better message if something goes
21066 wrong while producing the separate debug info file.
21067
a476ccc9
MC
210682004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21069
21070 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
21071
f453692c
MC
210722004-01-14 Michael Chastain <mec.gnu@mindspring.com>
21073
21074 * gdb.base/callfuncs.c: Add copyright notice.
21075
f40063a5
MC
210762004-01-13 Michael Chastain <mec.gnu@mindspring.com>
21077
21078 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
21079 inheritance. PR gdb/1498, PR gcc/13539.
21080
19ac3974
EZ
210812004-01-13 Elena Zannoni <ezannoni@redhat.com>
21082
a9c64011
AS
21083 * gdb.threads/gcore-thread.exp: Prefix name of binary with
21084 test specific name.
21085 * gdb.mi/gdb669.exp: Ditto.
21086 * gdb.mi/mi-pthreads.exp: Ditto.
21087 * gdb.mi/mi1-pthreads.exp: Ditto.
21088 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 21089
56c97c6e
MC
210902004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21091
21092 * gdb.cp/member-ptr.cc: Add copyright notice.
21093
a0644324
MC
210942004-01-12 Michael Chastain <mec.gnu@mindspring.com>
21095
21096 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
21097 some patterns for recent versions of gcc and hpacc. Delete
21098 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
21099 Delete tests that access a NULL pointer-to-member-data. This
21100 script is still disabled for gcc.
21101
32fabe09
EZ
211022004-01-12 Elena Zannoni <ezannoni@redhat.com>
21103
21104 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 21105 escaped correctly.
32fabe09 21106
1f8a6abb
EZ
211072004-01-12 Elena Zannoni <ezannoni@redhat.com>
21108
21109 * gdb.base/sepdebug.exp: New file.
21110 * gdb.base/sepdebug.c: New file.
21111 * lib/gdb.exp (separate_debug_filename): New procedure.
21112 (gdb_gnu_strip_debug): New procedure.
21113
48efe704
AC
211142004-01-12 Andrew Cagney <cagney@redhat.com>
21115
21116 * gdb.mi/ChangeLog: Delete file. Renamed to ...
21117 * gdb.mi/ChangeLog-1999-2003: New file.
21118
a9415475
AC
211192004-01-12 Andrew Cagney <cagney@redhat.com>
21120
21121 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
21122 "Renaming a directory to a non-empty directory returns ENOTEMPTY
21123 or EEXIST", treat EBUSY as an XFAIL.
21124
83b8cf9d
MC
211252004-01-11 Michael Chastain <mec.gnu@mindspring.com>
21126
21127 * gdb.base/scope.exp: Remove obsolete setup_xfail for
21128 hp_cc_compiler.
21129
9939d2a8
MC
211302004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21131
21132 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
21133 decorations.
21134
1ff8cadf
MC
211352004-01-10 Michael Chastain <mec.gnu@mindspring.com>
21136
21137 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
21138 and "(aCC)" decorations. Remove obsolete doco about old
21139 test results.
21140
6fa9022e
MC
211412004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21142
21143 * gdb.cp/exception.exp: Fix typo in doco.
21144
209721fe
MK
211452004-01-09 Mark Kettenis <kettenis@gnu.org>
21146
21147 * gdb.base/gdb1476.exp: Fix typo.
21148
ef11303e
MC
211492004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21150
21151 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
21152 file.
21153
041ab88c
MC
211542004-01-09 Michael Chastain <mec.gnu@mindspring.com>
21155
21156 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
21157 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
21158 Use gdb_compile. Remove restriction on gcc. Add some patterns
21159 for recent version of gdb. Delete second half, which was a copy
21160 of the first half with different build flags. This test is
21161 still disabled because it is still not ready for production.
21162
e36d075a
MC
211632004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21164
21165 * gdb.cp/exception.cc: Add copyright notice.
21166 * gdb.cp/exception.exp: Add a notice that this file is broken
21167 because of line number changes caused by addition of copyright
21168 notice.
21169
42b190ad
MC
211702004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21171
21172 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
21173 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
21174
8f25f06b
MC
211752004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21176
21177 * gdb.cp/classes.exp: Accept gnu abi 2.
21178 * gdb.cp/derivation.exp: Likewise.
21179 * gdb.cp/overload.exp: Likewise.
21180 * gdb.cp/virtfunc.exp: Likewise.
21181
06ded8b8
MC
211822004-01-08 Michael Chastain <mec.gnu@mindspring.com>
21183
21184 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
21185 semicolon after end of function.
21186
77c26ae3
MC
211872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21188
21189 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
21190 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
21191 boilerplate code for compiling and running the program under
21192 test. Add some string method tests.
21193
20757486
MC
211942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21195
21196 * gdb.cp/bs15503.cc: Add copyright notice.
21197 * gdb.cp/bs15503.exp: Adjust line number.
21198
0fd3b503
MC
211992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21200
21201 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
21202 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
21203
10d1bea8
MC
212042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21205
21206 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
21207 hp_cc_compiler.
21208
2789202a
MC
212092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21210
21211 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
21212 * gdb.cp/ctti.exp: Use the marker instead of "next".
21213 With gcc, run further before bailing.
21214
b862f14c
MC
212152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21216
21217 * gdb.cp/cttiadd.cc: Add copyright notice.
21218 * gdb.cp/cttiadd1.cc: Likewise.
21219 * gdb.cp/cttiadd2.cc: Likewise.
21220 * gdb.cp/cttiadd3.cc: Likewise.
21221
96da2469
MC
212222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21223
21224 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
21225 Use gdb_test, gdb_test_multiple. Use floating-point values that
21226 have exact representations in IEEE-ish formats.
21227
053248ff
MC
212282004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21229
21230 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
21231 compilers. Delete duplicate call to get_compiler_info.
21232 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
21233 * gdb.base/volatile.exp: Likewise.
21234
84acecdd
MK
212352004-01-07 Mark Kettenis <kettenis@gnu.org>
21236
21237 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
21238 memory at address 0.
21239
fe11a27f
MC
212402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
21241
21242 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
21243 to test for hp-ux assembler. Fix copyright years.
21244
60ad077b
AC
212452004-01-07 Andrew Cagney <cagney@redhat.com>
21246
21247 * gdb.base/fileio.c (strerrno): Add "EBUSY".
21248
1c9b8f33
AC
212492004-01-07 Andrew Cagney <cagney@redhat.com>
21250
21251 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
21252 when creating the read-only file. From analysis by Roland McGrath
21253 and Elena Zannoni.
21254
753ccc7a
MC
212552004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21256
21257 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
21258
eca3e36b
MC
212592004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21260
21261 * gdb.base/cvexpr.c: Be type-safe with function pointers and
21262 data pointers.
21263
f8d4bac4
MC
212642004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21265
21266 * gdb.cp/m-static.exp: Compile one source file at a time.
21267 Delete unused call to get_compiler_info.
21268
9b4e0f94
MC
212692004-01-06 Michael Chastain <mec.gnu@mindspring.com>
21270
21271 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
21272 * gdb.base/call-rt-st.exp: Likewise.
21273 * gdb.base/nodebug.exp: Likewise.
21274 * gdb.base/volatile.exp: Likewise.
21275 * gdb.cp/ref-types.exp: Likewise.
21276 * gdb.cp/templates.exp: Likewise.
21277
023c1024
MK
212782004-01-05 Mark Kettenis <kettenis@gnu.org>
21279
21280 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
21281
19703c4a
MC
212822004-01-05 Michael Chastain <mec.gnu@mindspring.com>
21283
21284 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
21285 hppa*-hp-hpux*.
21286
18b67037
MK
212872004-01-04 Mark Kettenis <kettenis@gnu.org>
21288
ba6219c8
MK
21289 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21290 x86_64-*-*.
21291
18b67037
MK
21292 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
21293 sparc64-*-* and sparc*-solaris2*.
21294
1bfbbb9d
MK
212952004-01-04 Mark Kettenis <kettenis@gnu.org>
21296
21297 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
21298 return ${tests}" test. The ${tests} already mentions the
21299 filename.
21300
06846494
MC
213012004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21302
21303 * gdb.cp/local.exp: Accept gcc abi 2.
21304
3b0cb202
MC
213052004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21306
21307 * gdb.cp/templates.exp: Accept gcc abi 2.
21308
0643ec3f
MC
213092004-01-02 Michael Chastain <mec.gnu@mindspring.com>
21310
21311 * lib/compiler.cc: Remove supports_template_debugging.
21312 * gdb.cp/templates.exp: Do not test supports_template_debugging.
21313
d231d0b1
MC
213142004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21315
21316 * gdb.cp/namespace.exp: Accept gcc abi 2.
21317
44ffb27c
MC
213182004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21319
21320 * gdb.cp/method.exp: Accept gcc abi 2.
21321
184ad485
MC
213222004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21323
21324 * gdb.cp/classes.exp: Generate identical results as old version.
21325 * gdb.cp/derivation.exp: Likewise.
21326 * gdb.cp/overload.exp: Likewise.
21327 * gdb.cp/virtfunc.exp: Likewise.
21328
116f09e7
MC
213292004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21330
21331 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
21332 mysterious bug with sourceware version of expect.
21333
b1379776
MC
213342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21335
21336 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
21337 current versions of gcc, including gcc abi 2. Remove gratuitous
21338 restart of test program. Use gdb_test_multiple and gdb_test for
21339 all tests. Add patterns to xfail missing "const" in "const char *"
21340 and kfail PR gdb/1155.
21341
6b7a4c0e
MC
213422004-01-01 Michael Chastain <mec.gnu@mindspring.com>
21343
21344 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
21345 current versions of gcc, including gcc abi 2. Remove gratuitous
21346 restart of test program. Use gdb_test_multiple and gdb_test for
21347 all tests. Add patterns to kfail PR gdb/1498.
21348
51615d72
MC
213492003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21350
21351 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
21352 current versions of gcc, including gcc abi 2. Use "breakpoint"
21353 and "continue" instead of restarting the target program. Use
21354 gdb_test_multiple and gdb_test for all tests.
21355
7b79a9d7
MK
213562004-01-01 Mark Kettenis <kettenis@gnu.org>
21357
21358 * gdb.asm/asm-source.exp: Update copyright year. Link statically
21359 for *-*-solaris2*.
21360
1cd3489f
MC
213612003-12-31 Michael Chastain <mec.gnu@mindspring.com>
21362
21363 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
21364 current versions of gcc, including gcc abi 2. Use "breakpoint"
21365 and "continue" instead of restarting the target program several
21366 times. Use gdb_test_multiple and gdb_test for all tests.
21367
850742db
MC
213682003-12-18 Michael Chastain <mec.gnu@mindspring.com>
21369
21370 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
21371 source files.
21372
eb4bbda8
MC
213732003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21374
21375 * gdb.base/environ.exp: Handle compiling test case from multiple
21376 source files.
21377
e42c7771
MC
213782003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21379
21380 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
21381
80e4b428
JB
213822003-12-17 Jim Blandy <jimb@redhat.com>
21383
5f06973a
JB
21384 * gdb.base/freebpcmd.c: Add copyright notice.
21385
80e4b428
JB
21386 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
21387
0ab84fb7
MC
213882003-12-16 Michael Chastain <mec.gnu@mindspring.com>
21389
21390 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
21391
1b3bb3d0
JB
213922003-12-13 Jim Blandy <jimb@redhat.com>
21393
21394 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
21395
3a4c9371
KB
213962003-12-12 Kevin Buettner <kevinb@redhat.com>
21397
21398 * gdb.asm/frv.inc: New file.
21399 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
21400
a1dea79a
FF
214012003-12-09 Fred Fish <fnf@redhat.com>
21402
21403 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
21404 functions to break1.c and leave prototypes behind. Add more
21405 "set breakpoint NN here" comments.
21406 * gdb.base/break1.c: New file.
21407
21408 * gdb.base/break.exp: Handle compiling test case from multiple
21409 source files and change source file references as needed.
21410 * gdb.base/completion.exp: Ditto.
21411 * gdb.base/condbreak.exp: Ditto.
21412 * gdb.base/define.exp: Ditto.
21413 * gdb.base/ena-dis-br.exp: Ditto.
21414 * gdb.base/info-proc.exp: Ditto.
21415 * gdb.base/maint.exp: Ditto.
21416 * gdb.base/until.exp: Ditto.
21417
21418 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
21419 hardcoded line numbers.
21420 * gdb.base/define.exp: Ditto.
21421 * gdb.base/ena-dis-br.exp: Ditto.
21422 * gdb.base/maint.exp: Ditto.
21423 * gdb.base/until.exp: Ditto.
21424
21425 * gdb.base/completion.exp: Use "break1" for completion tests since
21426 "break" is no longer a unique prefix.
21427
5266b69c
AC
214282003-12-06 Andrew Cagney <cagney@redhat.com>
21429
21430 * gdb.base/structs.exp (test_struct_returns): When applicable, set
21431 "return_value_unimplemented". When an unimplemented struct return
21432 architecture, report incorrect values as a KFAIL
21433
374451f0
MC
214342003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21435
21436 * gdb.cp/rtti.exp: Accept new wording of warning from
21437 cp_lookup_rtti_type.
21438
ba9b20a7
MC
214392003-12-05 Michael Chastain <mec.gnu@mindspring.com>
21440
21441 Partial fix for PR testsuite/1456.
21442 * gdb.base/scope.exp (test_at_main): Replace references to
21443 gcc_compiled with calls to test_compiler_info.
21444 (test_at_foo): Likewise.
21445 (test_at_bar): Likewise.
21446
b74b6d0b
MC
214472003-12-04 Michael Chastain <mec.gnu@mindspring.com>
21448
21449 Partial fix for PR testsuite/1456.
21450 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
21451 to test_compiler_info.
21452
ccfa3402
MC
214532003-12-03 Michael Chastain <mec.gnu@mindspring.com>
21454
21455 * gdb.base/so-impl-ld.exp: Update copyright notice.
21456
f6246aba
MC
214572003-12-02 Michael Chastain <mec.gnu@mindspring.com>
21458
21459 Partial fix for PR testsuite/1456.
21460 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
21461 to test_compiler_info.
21462
13ae734a
MC
214632003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21464
21465 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
21466 from current versions of gdb. Clean up regular expressions.
21467 Delete redundant timeout case.
21468
d8e1cdee
MC
214692003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21470
21471 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
21472 from current versions of gdb. Clean up regular expressions.
21473 Delete redundant timeout case.
21474
96457b64
MC
214752003-12-01 Michael Chastain <mec.gnu@mindspring.com>
21476
21477 Partial fix for PR testsuite/1456.
21478 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
21479 gcc_compiled with call to test_compiler_info.
21480
f35309fc
MC
214812003-11-30 Michael Chastain <mec.gnu@mindspring.com>
21482
21483 Partial fix for PR testsuite/1456.
21484 * gdb.base/list.exp (test_list_function): Delete unused declaration
21485 of gcc_compiled.
21486
d7afdf9b
MC
214872003-11-29 Michael Chastain <mec.gnu@mindspring.com>
21488
21489 Partial fix for PR testsuite/1456.
21490 * gdb.base/complex.exp: Replace reference to gcc_compiled with
21491 call to test_compiler_info.
21492
71507b56
MK
214932003-11-29 Mark Kettenis <kettenis@gnu.org>
21494
21495 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
21496 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
21497 it to create the appropriate note.inc.
21498 * gdb.asm/asmsrc1.s: Include "note.inc".
21499 * gdb.asm/netbsd.inc: New file.
21500 * gdb.asm/empty.inc: New file.
21501
f81f93f7
MC
215022003-11-28 Michael Chastain <mec.gnu@mindspring.com>
21503
21504 Partial fix for PR testsuite/1456.
21505 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21506 calls to test_compiler_info.
21507
9a77938e
MC
215082003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21509
21510 Partial fix for PR testsuite/1456.
21511 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21512 calls to test_compiler_info.
21513
e8367dc7
MK
215142003-11-27 Mark Kettenis <kettenis@gnu.org>
21515
21516 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21517 pattern for the KFAILs.
21518
526c61ee
AF
215192003-11-25 Adam Fedor <fedor@gnu.org>
21520
21521 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21522 * gdb.objc/objcdecode.m: New file.
21523
28f2d600
AF
215242003-11-25 Adam Fedor <fedor@gnu.org>
21525
21526 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21527 * gdb.objc/nondebug.m: New file.
21528
a3895cee
BE
215292003-11-26 Ben Elliston <bje@wasabisystems.com>
21530
21531 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21532 NetBSD as it does on FreeBSD. Modelled on a similar change by
21533 Mark Kettenis on 2003-05-30.
21534 (link-flags): Set to "--entry _start" regardless of target.
21535 Special linker flags are to be appended to $link-flags.
21536 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21537
c9f2c8a3
MC
215382003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21539
21540 * gdb.cp/method.exp: Accept output of new demangler.
21541
15a0587a 215422003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
21543
21544 * gdb/class2.exp: New file.
21545 * gdb/class2.cc: New file.
21546
3c00b570
MC
215472003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21548
21549 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21550 of new demangler.
21551
7027acc7
MK
215522003-11-23 Mark Kettenis <kettenis@gnu.org>
21553
21554 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21555 of gdb_test "run".
21556
b0e1598a
MK
215572003-11-23 Mark Kettenis <kettenis@gnu.org>
21558
21559 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21560 "continue" into "run".
21561
4d9eda44
MC
215622003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21563
21564 Partial fix for PR testsuite/1456.
21565 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21566 call to test_compiler_info.
21567 * gdb.cp/ctti.exp: Likewise.
21568 * gdb.cp/derivation.exp: Likewise.
21569 * gdb.cp/member-ptr.exp: Likewise.
21570 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21571 reference to gcc_compiled.
21572
215732003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
21574
21575 Fix PR testsuite/1463.
21576 * gdb.base/structs.exp (start_structs_test): Call
21577 get_debug_format before using the debug format.
21578
d422fe19
AC
215792003-11-22 Andrew Cagney <cagney@redhat.com>
21580
21581 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21582 * gdb.base/structs.exp: Use gdb_test_multiple.
21583
039cf96d
AC
215842003-11-20 Andrew Cagney <cagney@redhat.com>
21585
6882279b
AC
21586 * gdb.base/structs.exp: Handle and recover from internal errors.
21587 Replace "foo${n}" with "foo<n>" in test messages.
21588
e53890ae
AC
21589 * gdb.base/structs.exp: Update copyright. Rewrite.
21590 * gdb.base/structs.c: Update copyright. Rewrite.
21591
2b211c59
AC
21592 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21593 resync count exceeded.
d63a86f8 21594
039cf96d
AC
21595 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21596 from the internal error.
21597 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21598 Original from Jim Blandy.
21599 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 21600
eac98b22
AC
216012003-11-19 Andrew Cagney <cagney@redhat.com>
21602
21603 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21604 KFAIL.
21605
67455b2a
MK
216062003-11-17 Mark Kettenis <kettenis@gnu.org>
21607
21608 New testcase for PR backtrace/1435.
21609 * gdb.arch/i386-unwind.exp: New file.
21610 * gdb.arch/i386-unwind.c: New file.
21611
853d6e5b
AC
216122003-11-17 Andrew Cagney <cagney@redhat.com>
21613
21614 * lib/gdb.exp (compiler_info): New global.
21615 (test_compiler_info): New function.
21616 (get_compiler_info): Set compiler_info.
21617 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21618 "compiler_info" to gcc-<major>-<minor>.
21619
38cf6e11
MC
216202003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21621
21622 * gdb.trace/configure: Remove.
21623
a50d3602
EZ
216242003-11-13 Elena Zannoni <ezannoni@redhat.com>
21625
21626 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 21627 breakpoints.
a50d3602
EZ
21628 * gdb.base/break.exp: Remove all references to explicit line
21629 numbers.
21630
d9407aaa
NC
216312003-11-11 Nick Clifton <nickc@redhat.com>
21632
21633 * gdb.base/shreloc.exp: Do not run for targets which do not
21634 support shared objects.
21635
db488fc1
CV
216362003-11-10 Corinna Vinschen <vinschen@redhat.com>
21637
21638 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21639 Don't run tests if nofileio flag is given.
21640
6a90a18e
EZ
216412003-11-07 Elena Zannoni <ezannoni@redhat.com>
21642
21643 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 21644 as well as 'Watchpoint'.
6a90a18e 21645
0b915e9c
EZ
216462003-11-06 Elena Zannoni <ezannoni@redhat.com>
21647
21648 Reported by Jim Ingham <jingham@apple.com>:
21649 * gdb.base/annota1.exp: Match at least one occurrence of the
21650 signal handler annotation.
21651
d7e4b55f
EZ
216522003-11-06 Elena Zannoni <ezannoni@redhat.com>
21653
a9c64011
AS
21654 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21655 as well as 'Watchpoint'.
d7e4b55f 21656
2fe4e8d0
MC
216572003-11-05 Michael Chastain <mec@shout.net>
21658
21659 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21660
6ef88553
KW
216612003-11-03 Kris Warkentin <kewarken@qnx.com>
21662
21663 * gdb.arch/gdb1291.c: New test file.
21664 * gdb.arch/gdb1291.exp: New test script.
21665 * gdb.arch/gdb1431.c: New test file.
21666 * gdb.arch/gdb1431.exp: New test script.
21667
ae7dc4d8
MC
216682003-10-22 Michael Chastain <mec@shout.net>
21669
21670 * gdb.mi/pthreads.c: Add copyright notice.
21671
c39d7427
MC
216722003-10-22 Michael Chastain <mec@shout.net>
21673
21674 * gdb.threads/pthreads.c: Add copyright notice.
21675
8b7d96c1
MC
216762003-10-20 Michael Chastain <mec@shout.net>
21677
21678 * gdb.base/gdb1056.exp: New test script.
21679
d1d69fdd
DJ
216802003-10-13 Daniel Jacobowitz <drow@mvista.com>
21681
21682 * gdb.threads/killed.exp: Use gdb_run_cmd.
21683
7d605576
DJ
216842003-10-13 Daniel Jacobowitz <drow@mvista.com>
21685
21686 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21687 create a core file.
21688 * gdb.threads/gcore-thread.exp: Likewise.
21689
618ec112
CV
216902003-10-13 Corinna Vinschen <vinschen@redhat.com>
21691
21692 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21693 type, based on char type.
21694 (struct bit_flags_short_t): New bitfield type, based on short type.
21695 (init_bit_flags_char): New fuction.
21696 (init_bit_flags_short): Ditto.
21697 (print_bit_flags_char): Ditto.
21698 (print_bit_flags_short): Ditto.
21699 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21700
9367a73c
MC
217012003-10-11 Michael Chastain <mec@shout.net>
21702
21703 * gdb.base/call-rt-st.exp: Update copyright year.
21704
1decf120
KI
217052003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21706
21707 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21708 * gdb.disasm/sh3.s: Ditto.
21709
5445b2ae
DJ
217102003-10-07 Daniel Jacobowitz <drow@mvista.com>
21711
21712 * gdb.threads/switch-threads.exp: New test.
21713 * gdb.threads/switch-threads.c: New source file.
21714
aec24853
CV
217152003-10-07 Corinna Vinschen <vinschen@redhat.com>
21716
21717 * gdb.base/ending-run.exp: Add sh specific case.
21718
adc7428d
AC
217192003-10-06 Andrew Cagney <cagney@redhat.com>
21720
21721 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21722 * gdb.disasm/mn10200.exp: Delete obsolete file.
21723
c9d37158
DJ
217242003-09-29 Daniel Jacobowitz <drow@mvista.com>
21725
21726 * ChangeLog: Correct an entry command.exp -> commands.exp.
21727 * gdb.base/commands.exp (bp_deleted_in_command_test)
21728 (temporary_breakpoint_commands): Check noargs.
21729
79c2c32d
DC
217302003-09-25 David Carlton <carlton@kealia.com>
21731
21732 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21733 of some print tests, where appropriate. Add tests for C::D::cd,
21734 E::ce, F::cXfX, G::XgX.
21735 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21736
594e6d67
RE
217372003-09-25 Richard Earnshaw <rearnsha@arm.com>
21738
21739 * lib/java.exp (java_init): Import target_alias before using it.
21740
10f0d451
DC
217412003-09-25 David Carlton <carlton@kealia.com>
21742
21743 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21744
274bcba0
EZ
217452003-09-23 Elena Zannoni <ezannoni@redhat.com>
21746
d63a86f8 21747 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 21748 weirdness.
274bcba0 21749
cdbf20f7
MC
217502003-09-17 Michael Chastain <mec@shout.net>
21751
21752 * gdb.cp/gdb1355.exp: New file.
21753 * gdb.cp/gdb1355.c: New file.
21754
71e06f80
CV
217552003-09-15 Corinna Vinschen <vinschen@redhat.com>
21756
21757 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21758 * gdb.asm/sh.inc: New file.
21759
5c4e30ca
DC
217602003-09-11 David Carlton <carlton@kealia.com>
21761
bd45b7af
DC
21762 * gdb.cp/namespace.exp: Add tests for namespace types.
21763 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
21764 (test_namespace): New.
21765
1c199746
EZ
217662003-09-11 Elena Zannoni <ezannoni@redhat.com>
21767
a9c64011 21768 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 21769 * gdb.stabs/weird.exp: Ditto.
1c199746 21770
04ed252f
MC
217712003-09-08 Michael Chastain <mec@shout.net>
21772
21773 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21774
d8a2d9e7
MC
217752003-09-07 Michael Chastain <mec@shout.net>
21776
21777 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21778 'parse error'.
21779
161afb24
MK
217802003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21781
21782 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21783
49f2741a
MC
217842003-08-30 Michael Chastain <mec@shout.net>
21785
21786 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21787 * gdb.gdb/observer.exp: Ditto.
21788 * gdb.gdb/xfullpath.exp: Ditto.
21789
8afa723e
MK
217902003-08-29 Mark Kettenis <kettenis@gnu.org>
21791
21792 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21793 *-*-*bsd*.
21794
f31dfe3b
JJ
217952003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21796
21797 * gdb.base/dump.exp: Skip for ia64.
21798
4630e498
JJ
217992003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21800
21801 * gdb.asm/asm-source.exp: Add ia64 support.
21802 * gdb.asm/ia64.inc: New file.
21803
1105b7ef
MC
218042003-08-22 Michael Chastain <mec@shout.net>
21805
21806 * gdb.cp: New directory.
21807 * gdb.cp/*: Copy from gdb.c++/*.
21808 * gdb.c++/*: Remove.
21809 * Makefile.in: Change gdb.c++ to gdb.cp.
21810 * configure.in: Ditto.
21811 * configure: Regnerate.
21812
c945b932
MK
218132003-08-18 Mark Kettenis <kettenis@gnu.org>
21814
21815 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21816 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21817
2b66634b
DJ
218182003-08-17 Daniel Jacobowitz <drow@mvista.com>
21819
21820 * mi-var-display.exp (-var-list-children weird): Accept function
21821 pointers with argument types.
21822 * mi1-var-display.exp (-var-list-children weird): Likewise.
21823 * mi2-var-display.exp (-var-list-children weird): Likewise.
21824
a356f73b
DJ
218252003-08-17 Daniel Jacobowitz <drow@mvista.com>
21826
21827 * gdb.base/annota3.exp: Add missing newline.
21828
483417b8
MC
218292003-08-06 Michael Chastain <mec@shout.net>
21830
21831 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21832
c99c59c3
MS
218332003-08-12 Michael Snyder <msnyder@redhat.com>
21834
21835 * gdb.base/float.exp: Add test for SH.
21836
55ed7501
MK
218372003-08-10 Mark Kettenis <kettenis@gnu.org>
21838
21839 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21840
1a371f2e
EZ
218412003-08-07 Elena Zannoni <ezannoni@redhat.com>
21842
21843 * gdb.base/completion.exp: Remove reduntant completion test
21844 on filename.
21845
e0f353ce
EZ
218462003-08-07 Elena Zannoni <ezannoni@redhat.com>
21847
a9c64011
AS
21848 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21849 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21850 gdb.trace/save-trace.exp: Make sure that full pathnames are
21851 escaped correctly.
e0f353ce 21852
5710a1af 218532003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 21854
a9c64011
AS
21855 * configure.in: Don't generate config.h from config.hin.
21856 * configure: Regenerate.
21857 * config.hin: Remove file.
21858 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21859 * gdb.threads/pthreads.c: Ditto.
5710a1af 21860
dcd81ce9
DJ
218612003-08-07 Daniel Jacobowitz <drow@mvista.com>
21862
21863 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21864 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21865 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21866 Replace ld24 with seth/add3.
21867
6009d884
AC
218682003-08-02 Andrew Cagney <cagney@redhat.com>
21869
21870 * gdb.base/annota3.exp: New file.
21871 * gdb.base/annota3.c: New file.
21872 * gdb.c++/annota3.exp: New file.
21873 * gdb.c++/annota3.cc: New file.
21874
51514e06
MC
218752003-07-29 Michael Chastain <mec@shout.net>
21876
21877 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21878 actually failed.
21879 (do_pass): Likewise.
21880 * gdb.threads/tls.exp: Always initialize no_of_threads.
21881
4ee6625b
DJ
218822003-07-27 Daniel Jacobowitz <drow@mvista.com>
21883
21884 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21885 pattern.
21886 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21887 * gdb.threads/tls.exp: Recognize one case of the host library not
21888 supporting TLS.
21889
225f2bf6
AC
218902003-07-27 Andrew Cagney <cagney@redhat.com>
21891
21892 * gdb.base/fileio.exp: Use SH when running commands using
21893 remote_exec.
21894
bcb27c9f
DJ
218952003-07-24 Daniel Jacobowitz <drow@mvista.com>
21896
21897 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21898 * gdb.base/relocate.c (dummy): New padding array.
21899
3d67be83
MS
219002003-07-22 Michael Snyder <msnyder@redhat.com>
21901
d63a86f8 21902 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
21903
21904 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21905 patterns to be more general, accepting old and new output.
21906 Some output chars (such as '+') also must be quoted.
d63a86f8 21907 Some addresses are displayed numerically instead of
3d67be83
MS
21908 symbolically.
21909
57ba3b85
MS
219102003-07-23 Michael Snyder <msnyder@redhat.com>
21911
686d097c
MS
21912 * gdb.base/return2.exp: Don't test long-long return.
21913
57ba3b85
MS
21914 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21915 * gdb.disasm/t01_mov.exp: Ditto.
21916 * gdb.disasm/t02_mova.s: Ditto.
21917 * gdb.disasm/t02_mova.exp: Ditto.
21918 * gdb.disasm/t03_add.s: Ditto.
21919 * gdb.disasm/t03_add.exp: Ditto.
21920 * gdb.disasm/t04_sub.s: Ditto.
21921 * gdb.disasm/t04_sub.exp: Ditto.
21922 * gdb.disasm/t05_cmp.s: Ditto.
21923 * gdb.disasm/t05_cmp.exp: Ditto.
21924 * gdb.disasm/t06_ari2.s: Ditto.
21925 * gdb.disasm/t06_ari2.exp: Ditto.
21926 * gdb.disasm/t07_ari3.s: Ditto.
21927 * gdb.disasm/t07_ari3.exp: Ditto.
21928 * gdb.disasm/t08_or.s: Ditto.
21929 * gdb.disasm/t08_or.exp: Ditto.
21930 * gdb.disasm/t09_xor.s: Ditto.
21931 * gdb.disasm/t09_xor.exp: Ditto.
21932 * gdb.disasm/t10_and.s: Ditto.
21933 * gdb.disasm/t10_and.exp: Ditto.
21934 * gdb.disasm/t11_logs.s: Ditto.
21935 * gdb.disasm/t11_logs.exp: Ditto.
21936 * gdb.disasm/t12_bit.s: Ditto.
21937 * gdb.disasm/t12_bit.exp: Ditto.
21938 * gdb.disasm/t13_otr.s: Ditto.
21939 * gdb.disasm/t13_otr.exp: Ditto.
21940
e00759ef
EZ
219412003-07-22 Elena Zannoni <ezannoni@redhat.com>
21942
21943 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21944
8bc2021f
EZ
219452003-07-22 Elena Zannoni <ezannoni@redhat.com>
21946
a9c64011
AS
21947 * gdb.threads/tls.c : New file.
21948 * gdb.threads/tls.exp : New file.
21949 * gdb.threads/tls-main.c : New file.
21950 * gdb.threads/tls-shared.c : New file.
21951 * gdb.threads/tls-shared.exp : New file.
8bc2021f 21952
89320c4c
AS
219532003-07-22 Andreas Schwab <schwab@suse.de>
21954
21955 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21956
180dea7c
AS
219572003-07-20 Andreas Schwab <schwab@suse.de>
21958
21959 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21960 due to insn reordering.
21961
0714963c
AC
219622003-07-15 Andrew Cagney <cagney@redhat.com>
21963
21964 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21965
98a23b3f
MC
219662003-07-15 Michael Chastain <mec@shout.net>
21967
21968 * gdb.base/gdb1250.exp: New file.
21969 * gdb.base/gdb1250.c: New file.
21970
27e417a2
ML
219712003-07-09 Michal Ludvig <mludvig@suse.cz>
21972
21973 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21974 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21975
8bc2021f
EZ
219762003-07-09 Elena Zannoni <ezannoni@redhat.com>
21977
a9c64011
AS
21978 * gdb.threads/tls.c: New file.
21979 * gdb.threads/tls.exp: New file.
21980 * gdb.threads/tls-main.c: New file.
21981 * gdb.threads/tls-shared.c: New file.
21982 * gdb.threads/tls-shared.exp: New file.
8bc2021f 21983
d99968dc
EZ
219842003-07-09 Elena Zannoni <ezannoni@redhat.com>
21985
21986 * gdb.base/annota1.exp: Make sure that we properly escape the
21987 full path of the source file. Xfail more permissive patterns,
d63a86f8 21988 due to a compiler debug info problem.
d99968dc 21989
83876b3b
AS
219902003-07-07 Andreas Schwab <schwab@suse.de>
21991
2705e972
AS
21992 * gdb.asm/m68k.inc: New file.
21993 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21994
83876b3b
AS
21995 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21996 arguments"): Also match negative number.
21997
21998 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21999
3a871b37
DJ
220002003-07-03 Daniel Jacobowitz <drow@mvista.com>
22001
22002 * gdb.base/store.c (charest): New typedef.
22003 (add_char): Rename to add_charest, update.
22004 (wack_char): Rename to wack_charest, update types. Return l + r
22005 to keep r live across the call.
22006 (wack_short, wack_int, wack_long, wack_longest, wack_float)
22007 (wack_double, wack_doublest): Return l + r to keep r live across
22008 the call.
22009 * gdb.base/store.exp: Accomodate store.c changes.
22010
b2a7f303
DC
220112003-06-30 David Carlton <carlton@kealia.com>
22012
22013 * gdb.c++/maint.exp (test_invalid_name): New.
22014 (test_first_component): Add tests for invalid names.
22015
3c6cb4a1
MC
220162003-06-29 Michael Chastain <mec@shout.net>
22017
22018 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
22019 output of '<VTT for class>' for virtual base classes.
22020
f1c2644b
DJ
220212003-06-29 Daniel Jacobowitz <drow@mvista.com>
22022
22023 * gdb.base/completion.exp: Tab-complete "complet" instead of
22024 "compl".
22025 * gdb.base/complex.exp, gdb.base/complex.c: New files.
22026
18080350
DJ
220272003-06-29 Daniel Jacobowitz <drow@mvista.com>
22028
22029 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
22030 * gdb.base/volatile.exp: Likewise.
22031
f56973f8
DJ
220322003-06-29 Daniel Jacobowitz <drow@mvista.com>
22033
22034 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
22035 gdb/1265.
22036
220372003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
22038 Daniel Jacobowitz <drow@mvista.com>
22039
22040 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
22041 initial line count of 'captured_main' from 26 to 32.
22042 (test_with_self): Allow xmalloc call to be interleaved with the
22043 preceding two lines.
22044
e766d4d6
JB
220452003-06-24 Joel Brobecker <brobecker@gnat.com>
22046
22047 * gdb.base/bang.exp: New testcase.
22048
f125c9a4
JB
220492003-06-23 Joel Brobecker <brobecker@gnat.com>
22050
22051 * gdb.base/langs.exp: Add some tests for the "minimal" language
22052 support.
22053
6e25beaf
EZ
220542003-06-23 Elena Zannoni <ezannoni@redhat.com>
22055
22056 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
22057 the testcase.
22058
2f816dda
DJ
220592003-06-22 Daniel Jacobowitz <drow@mvista.com>
22060
22061 * gdb.base/relocate.exp: Test add-symbol-file with a variable
22062 offset.
22063
db5a5748
DJ
220642003-06-22 Daniel Jacobowitz <drow@mvista.com>
22065
22066 * gdb.c++/pr-1210.cc: New file.
22067 * gdb.c++/pr-1210.exp: New file.
22068
1df0c130
DJ
220692003-06-21 Daniel Jacobowitz <drow@mvista.com>
22070
22071 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
22072 000-exec-continue.
22073
a92feac0
MK
220742003-06-15 Mark Kettenis <kettenis@gnu.org>
22075
22076 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
22077 on *-*-*bsd* instead of *-*-freebsd*.
22078
81a58f5b
AC
220792003-06-14 Andrew Cagney <cagney@redhat.com>
22080
22081 * gdb.base/store.exp: Test longest and doublest. Test all
22082 parameters. Weaken return statement match.
22083 * gdb.base/store.c: Add longest and doublest - aka long long and
22084 long double functions. Put all parameters into local register
22085 variables. Use negative values.
22086
b257a0d3
AC
220872003-06-14 Andrew Cagney <cagney@redhat.com>
22088
22089 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
22090 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
22091 exit status.
22092 * gdb.base/fileio.exp: Disable target when nointerrupts and
22093 noinferiorio, instead of limiting it to remote. Use remote_exec
22094 instead of system.
d63a86f8 22095
21c38304
JJ
220962003-06-12 Jeff Johnston <jjohnstn@redhat.com>
22097
22098 * gdb.base/float.exp: Add ia64 support.
22099
1bcdb424
CV
221002003-06-12 Corinna Vinschen <vinschen@redhat.com>
22101
22102 * gdb.base/fileio.exp: Run only on remote targets.
22103
6aeb981f
CV
221042003-06-10 Corinna Vinschen <vinschen@redhat.com>
22105
22106 * gdb.base/fileio.c: New file, testing File-I/O.
22107 * gdb.base/fileio.exp: Ditto.
22108
53df362e
RG
221092003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
22110
22111 * gdb.base/shreloc.exp: New file, check symbol values obtained from
22112 shared objects after relocation at load time (gdb PR/1132).
22113 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 22114 as above, part of the shared object relocation test.
53df362e 22115
ffee1b46
MK
221162003-06-08 Mark Kettenis <kettenis@gnu.org>
22117
b5ca3722
MK
22118 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
22119 fully filled history list.
22120 * gdb.base/gdb_history: New file.
22121
03ed860d
MK
22122 * gdb.base/signals.exp: XFAIL "continue to func1" on
22123 i*86-*-freebsd*.
22124
ffee1b46
MK
22125 * gdb.base/attach.exp: When trying to attach to a nonexistent
22126 process, make it possible to specify the PID based on the target,
22127 and do so for *-*-freebsd*.
22128
d80dbb52
RH
221292003-06-02 Richard Henderson <rth@redhat.com>
22130
22131 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
22132
6dd77b81
RH
221332003-06-02 Richard Henderson <rth@redhat.com>
22134
22135 * gdb.base/selftest.exp: Next over lim_at_start initialization.
22136
f6347e16
RH
221372003-06-02 Richard Henderson <rth@redhat.com>
22138
22139 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
22140
2c161407
DJ
221412003-06-01 Daniel Jacobowitz <drow@mvista.com>
22142
22143 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
22144 of globalvar.
22145
572eb746
MK
221462003-06-01 Mark Kettenis <kettenis@gnu.org>
22147
22148 * gdb.asm/asm-source.exp: Check for memory read errors in
22149 disassembler test on *BSD too.
22150
9e9617a5
RH
221512003-06-01 Richard Henderson <rth@redhat.com>
22152
22153 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
22154 for .frame.
22155 (gdbasm_call): Lose ldgp.
22156 (gdbasm_startup): Add frame information.
22157 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
22158
7b34ad4e
MK
221592003-05-31 Mark Kettenis <kettenis@gnu.org>
22160
22161 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
22162 i?86-*-*.
22163
10059fdf
MK
221642003-05-30 Mark Kettenis <kettenis@gnu.org>
22165
22166 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
22167 FreeBSD.
22168
acf4b816
RH
221692003-05-29 Richard Henderson <rth@redhat.com>
22170
22171 * gdb.asm/alpha.inc: New file.
22172 * gdb.asm/asm-source.exp: Use it.
22173
e9ecd949
JB
221742003-05-29 Jim Blandy <jimb@redhat.com>
22175
22176 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
22177 'core.PID'.
22178
e3e5a4f3
JB
221792003-05-22 Jim Blandy <jimb@redhat.com>
22180
22181 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
22182 backtrace.
d63a86f8 22183
72fe3d25
DC
221842003-05-20 David Carlton <carlton@math.stanford.edu>
22185
22186 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
22187 this time.
22188
58da2eb2
DC
221892003-05-19 David Carlton <carlton@bactrian.org>
22190
22191 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
22192 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
22193
1fcb5155
DC
221942003-05-19 David Carlton <carlton@bactrian.org>
22195
22196 * gdb.c++/namespace.exp: Add namespace scope and anonymous
22197 namespace tests.
22198 Bump copyright date.
22199 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
22200 (main): Call C::D::marker2.
22201 * gdb.c++/namespace1.cc: New file.
22202
85e85163
JJ
222032003-05-14 Jeff Johnston <jjohnstn@redhat.com>
22204
22205 Roland McGrath <roland@redhat.com>
d63a86f8 22206 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
22207 there is no manager thread.
22208
a25fbfec
JJ
222092003-05-08 Jeff Johnston <jjohnstn@redhat.com>
22210
d63a86f8
RM
22211 * gdb.threads/schedlock.exp: Remove assumption that all threads
22212 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
22213 in one of the child threads rather than the main thread.
22214
be375bae
JB
222152003-05-07 Jim Blandy <jimb@redhat.com>
22216
09bf6082
JB
22217 Add support for assembly source testing on the s390x.
22218 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
22219 architecture.
22220 * gdb.asm/s390x.inc: New file.
22221
be375bae
JB
22222 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
22223 succession of 'if' statements.
22224
00905d52
AC
222252003-05-05 Andrew Cagney <cagney@redhat.com>
22226
22227 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
22228
b1e29e33
AC
222292003-05-05 Andrew Cagney <cagney@redhat.com>
22230
22231 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
22232 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
22233
e33d66ec
EZ
222342003-05-02 Elena Zannoni <ezannoni@redhat.com>
22235
22236 * gdb.base/charset.exp: Update based on new behavior of set/show
22237 charset commands.
22238
2b6fd0d8
AC
222392003-05-01 Andrew Cagney <cagney@redhat.com>
22240
22241 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
22242 variable do not give memory errors.
22243
130cacce
AF
222442003-04-30 Adam Fedor <fedor@gnu.org>
22245
22246 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
22247 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
22248 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
22249 gdb.objc/basicclass.m: : New files
22250
22251 * lib/gdb.exp (gdb_compile_objc): New procedure.
22252
bea71854
DJ
222532003-04-27 Daniel Jacobowitz <drow@mvista.com>
22254
22255 * gdb.base/signals.exp: Make backtrace tests more specific.
22256
0f20eeea
DC
222572003-04-23 David Carlton <carlton@bactrian.org>
22258
22259 * gdb.c++/maint.exp (test_first_component): Add tests for
22260 'operator' in more locations.
22261
c8c4d8dc
KB
222622003-04-16 Kevin Buettner <kevinb@redhat.com>
22263
22264 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
22265
3fe60e3c
EZ
222662003-04-16 Elena Zannoni <ezannoni@redhat.com>
22267
22268 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 22269 func marke' instead. Update test name.
3fe60e3c 22270
9219021c
DC
222712003-04-15 David Carlton <carlton@math.stanford.edu>
22272
22273 * gdb.c++/maint.exp: New file.
22274
5dd55bdd
EZ
222752003-04-14 Elena Zannoni <ezannoni@redhat.com>
22276
22277 * gdb.threads/schedlock.c: Change type of thread function argument
22278 to long, to avoid warnings on 64-bit platforms.
22279
00890572
EZ
222802003-04-14 Elena Zannoni <ezannoni@redhat.com>
22281
a9c64011
AS
22282 * gdb.base/attach.exp: Add new message from ptrace in case of
22283 attaching to nonexistent process.
d63a86f8 22284
93201743
JB
222852003-04-11 Jim Blandy <jimb@redhat.com>
22286
22287 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22288 gdb.c++/userdef.cc: Place comments on the lines to which the
22289 marker function might return.
22290 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22291 gdb.c++/userdef.exp: Look for those comments to check that we've
22292 returned to the right place, instead of checking line numbers.
22293
2a11c64d
EZ
222942003-04-11 Elena Zannoni <ezannoni@redhat.com>
22295
a9c64011
AS
22296 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
22297 match on sourcefile name, instead of directory name.
2a11c64d 22298
68ab8fc5
EZ
222992003-04-10 Elena Zannoni <ezannoni@redhat.com>
22300
d63a86f8 22301 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
22302 working directory name.
22303
5624293a
JB
223042003-04-09 Jim Blandy <jimb@redhat.com>
22305
22306 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
22307 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
22308 after an inferior function call, report the failure, but allow the
22309 test to continue.
22310
f1f02ee4
SC
223112003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22312
22313 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22314 with -DPROTOTYPES.
22315
6eb79af0
SC
223162003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22317
22318 * gdb.base/break.exp: Revert last patch.
22319
8dfb4cf0
SC
223202003-04-04 Stephane Carrez <stcarrez@nerim.fr>
22321
22322 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
22323 with -DPROTOTYPES.
22324
ed4c619a
AC
223252003-04-02 Andrew Cagney <cagney@redhat.com>
22326
22327 * gdb.base/callfuncs.exp: Make "print add" messages unique.
22328 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
22329 matching directories by the name breakpoint.
22330 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
22331 Make "continue to marker1" consistent.
22332 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
22333 message consistent.
22334 * lib/gdb.exp: Put "the program is no longer running", and "the
22335 program exited" in parenthesis.
22336 * lib/mi-support.exp: Ditto.
d63a86f8 22337
4e35d5f0 223382003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 22339
4e35d5f0
BR
22340 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
22341
71900fe8
AC
223422003-03-29 Andrew Cagney <cagney@redhat.com>
22343
22344 * gdb.base/sizeof.c (main): Print the value of '\377'.
22345 * gdb.base/sizeof.exp: Check the sign of '\377'.
22346
c0655a16
MC
223472003-03-27 Michael Chastain <mec@shout.net>
22348
22349 * gdb.base/gdb1090.exp: New file.
22350 * gdb.base/gdb1090.cc: New file.
22351
5b2a3989
JB
223522003-03-27 J. Brobecker <brobecker@gnat.com>
22353
22354 * gdb.gdb/observer.exp: New regression test.
22355
79876890
MC
223562003-03-27 Michael Chastain <mec@shout.net>
22357
22358 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
22359 * gdb.base/ptype.exp: Likewise.
22360
6eac95e3
CV
223612003-03-27 Corinna Vinschen <vinschen@redhat.com>
22362
22363 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
22364
e8c71839
MC
223652003-03-26 Michael Chastain <mec@shout.net>
22366
22367 * gdb.base/ptype.exp: Actually use some typedef'd types.
22368
71b10041
SC
223692003-03-21 Stephane Carrez <stcarrez@nerim.fr>
22370
22371 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
22372 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
22373
2512cf80
CV
223742003-03-20 Corinna Vinschen <vinschen@redhat.com>
22375
22376 * gdb.base/default.exp: Fix regular expression.
22377
0d195a4f
CV
223782003-03-20 Corinna Vinschen <vinschen@redhat.com>
22379
22380 * gdb.base/args.exp: Fix regular expression.
22381
8a2dbca8
CV
223822003-03-20 Corinna Vinschen <vinschen@redhat.com>
22383
22384 * gdb.base/help.exp: Allow Win32 child process.
22385
bf028682
CV
223862003-03-20 Corinna Vinschen <vinschen@redhat.com>
22387
22388 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
22389 when stepping out of main().
22390
182dbe85
CV
223912003-03-20 Corinna Vinschen <vinschen@redhat.com>
22392
22393 * gdb.base/default.exp: Check for win32 specific message when calling
22394 "run" without executable.
22395
d67a6ba5
CV
223962003-03-20 Corinna Vinschen <vinschen@redhat.com>
22397
22398 * gdb.base/args.exp: Expect .exe in output.
22399
a955b5bb
CV
224002003-03-20 Corinna Vinschen <vinschen@redhat.com>
22401
22402 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
22403 Cygwin native.
22404
bf6bad4b
AC
224052003-03-17 Andrew Cagney <cagney@redhat.com>
22406
22407 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
22408 vector registes.
22409 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
22410 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
22411
293e9a31
DC
224122003-03-17 David Carlton <carlton@math.stanford.edu>
22413
22414 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
22415 test, for PR breakpoints/38.
22416 Call test_watchpoint_and_breakpoint.
22417 * gdb.base/watchpoint.c (func3): New function.
22418 (main): Call func3.
22419
5330f2db
DC
224202003-03-04 David Carlton <carlton@math.stanford.edu>
22421
22422 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
22423 Garply<Garply<char> >:: garply".
22424 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
22425 with respect to PR c++/1111; note also PR c++/1113.
22426 (test_template_breakpoints): KFAIL "constructor breakpoint" with
22427 respect to PR c++/1062.
22428 KFAIL "destructor breakpoint" with respect to PR c++/1112.
22429
6ece72da
DC
224302003-03-03 David Carlton <carlton@math.stanford.edu>
22431
22432 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
22433 with respect to PR c++/57.
22434 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
22435 c++/826.
22436 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
22437 respect to PR c++/57.
22438
85ca1584
DC
224392003-03-03 David Carlton <carlton@math.stanford.edu>
22440
22441 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
22442 respect to PR c++/33 into FAILs.
22443
98e9c5b8
MC
224442003-03-03 Michael Chastain <mec@shout.net>
22445
7bedbf27
MC
22446 * configure.in: Update copyright years.
22447
224482003-03-03 Michael Chastain <mec@shout.net>
22449
22450 * Makefile.in: Update copyright years.
98e9c5b8 22451
f683e100
DC
224522003-02-28 David Carlton <carlton@math.stanford.edu>
22453
22454 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
22455 print class instead of struct and/or superfluous protection
22456 specifiers, as long as the resulting output is equivalent to the
22457 source code.
22458 Delete FIXME from end of messages on tests that don't need
22459 fixing.
22460
a9e0cf2c
DC
224612003-02-28 David Carlton <carlton@math.stanford.edu>
22462
22463 * gdb.c++/templates.exp (do_tests): Allow const in the two
22464 Foo<volatile char *>::foo tests.
22465
e8d359df
MS
224662003-02-27 Michael Snyder <msnyder@redhat.com>
22467
d63a86f8 22468 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
22469 will be consistant.
22470
0b71dc91
DC
224712003-02-26 David Carlton <carlton@math.stanford.edu>
22472
22473 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
22474 char *>::foo" test with respect to PR c++/33. Create a new test
22475 which is identical to that one except that it doesn't put the
22476 space between the "char" and the "*"; KFAIL it, too.
22477
dd14ab43
DC
224782003-02-26 David Carlton <carlton@math.stanford.edu>
22479
22480 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
22481 template types into either PASSes or KFAILs (corresponding to PR
22482 c++/57). Tweak indentation. Update copyright.
22483
1146c7f1
SC
224842003-02-23 Stephane Carrez <stcarrez@nerim.fr>
22485
22486 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
22487
74641dfb
MC
224882003-02-13 Michael Chastain <mec@shout.net>
22489
22490 * gdb.base/exprs.exp: Remove i960 remnants.
22491 * gdb.base/funcargs.exp: Likewise.
22492 * gdb.base/list.exp: Likewise.
22493 * gdb.base/ptype.exp: Likewise.
22494
559cd2d0
DC
224952003-02-14 David Carlton <carlton@math.stanford.edu>
22496
22497 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
22498 pEe->D::vg()" from XFAIL to KFAIL.
22499
c4f90d87
JM
225002003-02-13 Jason Molenda (jmolenda@apple.com)
22501
22502 * gdb.base/maint.exp: Update maint print statistics regexp to include
22503 new entries.
22504
cbc4d97c
MC
225052003-02-13 Michael Chastain <mec@shout.net>
22506
22507 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22508
40f235b7
MC
225092003-02-12 Michael Chastain <mec@shout.net>
22510
22511 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22512 * gdb.c++/inherit.exp: Likewise.
22513 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22514 * gdb.c++/templates.exp: Likewise.
22515 * gdb.c++/virtfunc.exp: Likewise.
22516
c56716b0
JM
225172003-02-06 Jason Molenda (jason-cl@molenda.com)
22518
22519 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22520 why the code is written that way.
22521
070afcf8
MC
225222003-02-05 Michael Chastain <mec@shout.net>
22523
22524 * gdb.base/dump.exp: Add missing copyright line.
22525
5d0331e5
JM
225262003-02-05 Jason Molenda (jason-cl@molenda.com)
22527
f7ae6d3e 22528 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
22529 at the beginning so the breakpoint doesn't get set on the loop.
22530
92851186
MC
225312003-02-05 Michael Chastain <mec@shout.net>
22532
22533 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22534 output for configurations with gcc 2.95.3.
22535
cbf1e085
AC
225362003-02-05 Keith Seitz <keiths@redhat.com>
22537 Andrew Cagney <ac131313@redhat.com>
22538
22539 * gdb.mi/mi-cli.exp: New file.
d63a86f8 22540
29518e1e
MC
225412003-02-04 Michael Chastain <mec@shout.net>
22542
22543 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22544 Call perror and then continue.
22545
5af1d5f3
MC
225462003-02-03 Michael Chastain <mec@shout.net>
22547
22548 * gdb.c++/pr-1023.cc: New file.
22549 * gdb.c++/pr-1023.exp: New file.
22550
6b549786
JB
225512003-02-05 Jim Blandy <jimb@redhat.com>
22552
22553 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22554 it's local to foobar. Check for it there, and check that it's not
22555 present in main.
22556 * gdb.c++/local.cc (marker2): New function.
22557 (foobar): Call marker1.
22558 (main): Call marker2 instead of marker1.
22559
67f16606
AC
225602003-02-04 Andrew Cagney <ac131313@redhat.com>
22561
22562 * gdb.disasm/mn10200.exp: Obsolete file.
22563 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22564 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22565 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22566
1c5cb38e
DC
225672003-02-04 David Carlton <carlton@math.stanford.edu>
22568
22569 * gdb.c++/overload.exp: Test intToChar(1).
22570 * gdb.c++/overload.cc (intToChar): New.
22571 (main): Call intToChar.
22572
d1fe6965
DC
225732003-02-03 David Carlton <carlton@math.stanford.edu>
22574
22575 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22576 'might_kfail' arg.
22577 KFAIL some of the continue_to_bp_overloaded calls, according to
22578 PR c++/1025.
22579
9ba61c5d
MC
225802003-02-01 Michael Chastain <mec@shout.net>
22581
22582 * gdb.base/advance.c (marker1): New marker function.
22583 * gdb.base/advance.exp: When the 'advance' command lands on the
22584 return breakpoint, it can legitimately stop on either the
22585 current line or the next line. Accommodate both outcomes.
22586 * gdb.base/until.exp: Likewise.
22587
e7494ffb
AC
225882003-02-02 Andrew Cagney <ac131313@redhat.com>
22589
22590 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
22591 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22592 now a list, not a tuple.
22593 * gdb.mi/mi-var-display.exp: Ditto.
22594 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 22595
075559bc
AC
225962003-02-01 Andrew Cagney <ac131313@redhat.com>
22597
22598 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
22599 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22600 stack backtraces.
22601 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 22602
2bd4c7b1
MK
226032003-02-01 Mark Kettenis <kettenis@gnu.org>
22604
22605 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22606 gdb.mi/mi1-pthreads.exp: Return instead of calling
22607 gdb_suppress_entire_file.
22608
eabd8992
MS
226092003-02-01 Mark Salter <msalter@redhat.com>
22610
22611 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22612
71469e2f
MS
226132003-01-31 Mark Salter <msalter@redhat.com>
22614
22615 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22616 Support empty arg.
22617
38a94d44
MC
226182003-01-30 Michael Chastain <mec@shout.net>
22619
22620 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22621 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22622 has been fixed in gdb/readline on 2003-01-09.
22623
19ea9e73
MS
226242003-01-29 Michael Snyder <msnyder@redhat.com>
22625
e8d359df
MS
22626 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22627 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
22628 * gdb.base/args.exp: Skip if target does not support args passing.
22629
2307bd6a
DJ
226302003-01-22 Daniel Jacobowitz <drow@mvista.com>
22631
19ea9e73 22632 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
22633 gdb_test. Accept a list of expect arguments as the third
22634 parameter.
22635 (gdb_test): Use it.
22636
f2dd3617
EZ
226372003-01-20 Elena Zannoni <ezannoni@redhat.com>
22638
22639 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22640 allow for different test tree configurations. Update some
22641 tescases accordingly.
22642 * gdb.arch/altivec-regs.exp: Ditto.
22643 * gdb.asm/asm-source.exp: Ditto.
22644 * gdb.base/advance.exp: Ditto.
22645 * gdb.base/display.exp: Ditto.
d63a86f8 22646 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
22647 * gdb.base/mips_pro.exp: Ditto.
22648 * gdb.base/overlays.exp: Ditto.
22649 * gdb.base/relocate.exp: Ditto.
22650 * gdb.base/setshow.exp: Ditto.
22651 * gdb.base/step-line.exp: Ditto.
22652 * gdb.base/step-test.exp: Ditto.
22653 * gdb.base/until.exp: Ditto.
22654 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22655
c71cdefd
DC
226562003-01-17 David Carlton <carlton@math.stanford.edu>
22657
22658 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22659 corresponding to PR c++/945.
22660 Update copyright.
22661
fdba05d7
DC
226622003-01-17 David Carlton <carlton@math.stanford.edu>
22663
22664 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22665 corresponding to PR c++/68.
22666
226672003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
22668
22669 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22670 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22671 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22672
c362c33a
EZ
226732003-01-15 Elena Zannoni <ezannoni@redhat.com>
22674
0fbc361c
EZ
22675 * gdb.base/break.exp: Fix change of default location, because of
22676 removal of until tests.
22677 * gdb.base/help.exp: Update test for new 'until' help message.
22678 Add test for help on 'advance'.
a9c64011 22679 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 22680
dabf8a35
MK
226812003-01-15 Mark Kettenis <kettenis@gnu.org>
22682
22683 * gdb.base/default.exp: Adapt "info float" test for recent changes
22684 to that command. Add test for "info vector".
22685 * gdb.base/float.exp: New file. Add test for "info float" that
22686 resembles the old test in gdb.base/default.exp.
22687
a1769aca
DC
226882003-01-15 David Carlton <carlton@math.stanford.edu>
22689
22690 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22691
82025e13
EZ
226922003-01-15 Elena Zannoni <ezannoni@redhat.com>
22693
22694 * gdb.base/break.exp: Move the tests of until command from here...
22695 * gdb.base/until.exp: ... to here. New file. Add other tests.
22696 * gdb.base/advance.c: New file.
22697 * gdb.base/advance.exp: New file.
22698
8f9ab801
EZ
226992003-01-14 Elena Zannoni <ezannoni@redhat.com>
22700
a9c64011
AS
22701 * gdb.base/args.c: New file.
22702 * gdb.base/args.exp: New file.
8f9ab801 22703
9ae66589
DJ
227042003-01-14 Daniel Jacobowitz <drow@mvista.com>
22705
22706 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22707
8d77e5c3
DJ
227082003-01-14 Daniel Jacobowitz <drow@mvista.com>
22709
22710 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22711
12d2f0a1
DJ
227122003-01-14 Daniel Jacobowitz <drow@mvista.com>
22713
22714 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22715 dates.
22716
6ca37014
DJ
227172003-01-13 Daniel Jacobowitz <drow@mvista.com>
22718
22719 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22720
b0023472
DJ
227212003-01-13 Daniel Jacobowitz <drow@mvista.com>
22722
22723 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22724 (ptype &*"foo").
22725 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22726
607fbc54 227272003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
22728
22729 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22730 * gdb.mi/mi1-console.exp: Likewise.
22731
607fbc54 227322003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
22733
22734 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22735 * gdb.mi/mi1-console.exp: Likewise.
22736
a1fb14a2
DJ
227372003-01-13 Daniel Jacobowitz <drow@mvista.com>
22738
22739 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22740
c4cf40b7
DJ
227412003-01-09 Daniel Jacobowitz <drow@mvista.com>
22742
22743 * gdb.base/detach.exp: New test.
22744
696d5a5b
DJ
227452003-01-09 Daniel Jacobowitz <drow@mvista.com>
22746
22747 * Makefile.in (ALL_SUBDIRS): New variable.
22748 (subdirs, clean, distclean): Use it.
22749 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22750 regenerating Makefile, since it is generated from the top level.
22751 * gdb.asm/Makefile.in: Likewise.
22752 * gdb.base/Makefile.in: Likewise.
22753 * gdb.c++/Makefile.in: Likewise.
22754 * gdb.disasm/Makefile.in: Likewise.
22755 * gdb.java/Makefile.in: Likewise.
22756 * gdb.mi/Makefile.in: Likewise.
22757 * gdb.threads/Makefile.in: Likewise.
22758 * gdb.trace/Makefile.in: Likewise.
22759
754533e4
DC
227602003-01-09 David Carlton <carlton@math.stanford.edu>
22761
22762 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22763 Add copyright year 2003.
22764
d8b3e9ee
MC
227652003-01-06 Michael Chastain <mec@shout.net>
22766
22767 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22768 When selecting a thread, 'line' and 'file' are optional.
22769 * gdb.mi/mi1-pthreads.exp: Likewise.
22770
8e9e0fe6
AS
227712003-01-06 Andreas Schwab <schwab@suse.de>
22772
22773 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22774 failures.
22775
b5ab8ff3
DJ
227762003-01-04 Daniel Jacobowitz <drow@mvista.com>
22777
22778 Fix PR gdb/844
22779 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22780 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22781
22782 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22783 instead of calling gdb_suppress_entire_file.
22784 * gdb.threads/print-threads.exp: Likewise.
22785 * gdb.threads/schedlock.exp: Likewise.
22786
22787 * gdb.threads/killed.exp: Return instead of calling
22788 gdb_suppress_entire_file.
22789 * gdb.threads/linux-dp.exp: Likewise.
22790 * gdb.threads/pthreads.exp: Likewise.
22791
1e698235
DJ
227922003-01-04 Daniel Jacobowitz <drow@mvista.com>
22793
22794 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22795 stabs.
22796 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22797 * gdb.base/whatis.exp: Always allow (void) after function names.
22798
147ff08c
DJ
227992003-01-04 Daniel Jacobowitz <drow@mvista.com>
22800
22801 * gdb.c++/casts.exp: Correct regexp.
22802
dc62bfc2
MK
228032003-01-04 Mark Kettenis <kettenis@gnu.org>
22804
22805 * configure.in: Call AC_CONFIG_HEADER. Don't call
22806 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22807 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22808 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22809 aforementioned directories in the AC_OUPUT call.
22810 * config.hin: New file.
22811 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22812 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22813 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22814 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22815 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22816 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22817 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22818 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22819 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22820 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22821 gdb.threads/configure.in, gdb.threads/configure,
22822 gdb.threads/config.in, gdb.trace/configure.in,
22823 gdb.trace/configure: Removed.
22824
77afa639
MC
228252003-01-03 Michael Chastain <mec@shout.net>
22826
22827 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22828 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22829
7634bb6e
DJ
228302003-01-03 Daniel Jacobowitz <drow@mvista.com>
22831
22832 * gdb.base/store.exp: Fix regular expressions.
22833
b39c905e
MK
228342002-12-28 Mark Kettenis <kettenis@gnu.org>
22835
22836 * configure.in: Rewrite.
22837 * configure: Regenerated.
22838
0a8551dd
DC
228392003-01-03 David Carlton <carlton@math.stanford.edu>
22840
22841 * gdb.base/psymtab.exp: New file.
22842 * gdb.base/psymtab1.c: Ditto.
22843 * gdb.base/psymtab2.c: Ditto.
22844
c60b7188
AF
228452002-12-23 Adam Fedor <fedor@gnu.org>
22846
22847 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22848
ee73db83
DC
228492002-12-23 David Carlton <carlton@math.stanford.edu>
22850
22851 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22852 and current_directory initialization.
22853
d6c1774e
JB
228542002-12-22 Jim Blandy <jimb@redhat.com>
22855
f0a847b8
JB
22856 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22857 rather than as part of the output file name.
22858
d6c1774e
JB
22859 * gdb.base/attach.exp: There's no need to copy the test program to
22860 /tmp; that was only ever necessary on HP/UX, and this test is
22861 entirely disabled there anyway.
22862
f0708dbb
JB
228632002-12-21 Jim Blandy <jimb@redhat.com>
22864
4c2acfea
JB
22865 * gdb.c++/psmang.exp: Doc fix.
22866
f0708dbb
JB
22867 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22868 test.
22869
9579e000
DC
228702002-12-20 David Carlton <carlton@math.stanford.edu>
22871
22872 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22873
d1810171
MC
228742002-12-18 Michael Chastain <mec@shout.net>
22875
22876 * gdb.c++/annota2.exp: Add copyright year 2002.
22877
76565097
DC
228782002-12-17 David Carlton <carlton@math.stanford.edu>
22879
22880 * gdb.c++/try_catch.cc: Add marker comments.
22881 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22882 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22883 * gdb.c++/m-static.cc: Ditto.
22884 * gdb.c++/m-static1.cc: Ditto.
22885 * gdb.c++/try_catch.cc: Ditto.
22886
da81390b
JJ
228872002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22888
22889 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22890 to see whether we are using the new -environment-directory
22891 command which resets via -r or the old version of the command
22892 which may prompt the user. Part of fix for gdb/741.
22893
b304d130
AC
228942002-12-13 Andrew Cagney <ac131313@redhat.com>
22895
22896 * gdb.fortran/types.exp: Update obsolete comment.
22897 * gdb.fortran/exprs.exp: Ditto.
22898 * lib/gdb.exp: Delete obsolete code.
22899 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22900 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22901 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22902 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22903 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22904 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22905 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22906 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22907 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22908 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22909 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22910 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22911 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22912 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22913 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22914 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22915 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22916 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22917 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22918 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22919 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22920 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22921 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22922 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22923 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22924 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22925 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22926 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22927 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22928 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22929 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22930 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22931 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22932 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22933 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22934 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22935 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22936
a23b6e6a
DC
229372002-12-11 David Carlton <carlton@math.stanford.edu>
22938
22939 * gdb.c++/m-data.exp: Add test for members that shadow global
22940 variables: see PR gdb/804.
22941 * gdb.c++/m-data.cc: Ditto.
22942
6604731b
DJ
229432002-12-10 Daniel Jacobowitz <drow@mvista.com>
22944
22945 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22946
de46ecd7
DC
229472002-12-06 David Carlton <carlton@math.stanford.edu>
22948
22949 * gdb.base/store.c: Don't declare functions static.
22950
27e829d0
AC
229512002-12-04 Andrew Cagney <ac131313@redhat.com>
22952
22953 * gdb.base/store.exp, gdb.base/store.c: New files.
22954
92806416
DJ
229552002-12-03 Daniel Jacobowitz <drow@mvista.com>
22956
22957 * gdb.base/selftest.exp: Update for current gdb.
22958
3bcbaac5
DJ
229592002-12-03 Daniel Jacobowitz <drow@mvista.com>
22960
22961 * gdb.base/maint.exp: Only dump symbols from one source file
22962 or objfile.
22963
f4f00b1f
DJ
229642002-12-03 Daniel Jacobowitz <drow@mvista.com>
22965
22966 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22967 function call.
22968
f1c8a949
JB
229692002-11-25 Jim Blandy <jimb@redhat.com>
22970
22971 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22972 function appearing in error message.
22973
9e297a97
DJ
229742002-11-21 Daniel Jacobowitz <drow@mvista.com>
22975
22976 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22977
1f312e79
JJ
229782002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22979
d63a86f8
RM
22980 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22981 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
22982 should be in mi console format. This is part of fix for PR gdb/604.
22983
83c31e7d
FN
229842002-09-18 Fernando Nasser <fnasser@redhat.com>
22985
22986 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22987 which explicitly prints the zero offset as "+0".
22988
322b3f65
DJ
229892002-10-22 Daniel Jacobowitz <drow@mvista.com>
22990
22991 * gdb.threads/schedlock.c (args): Make unsigned.
22992
229932002-10-21 Daniel Jacobowitz <drow@mvista.com>
22994
22995 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22996 numbers. Allow "foo2|selected stack frame".
22997 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22998 * gdb.asm/asmsrc2.s: Likewise.
22999 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
23000 comments.
23001 * gdb.asm/mips.inc: New file.
23002
5e2fe5b8
AF
230032002-10-18 Adam Fedor <fedor@gnu.org>
23004
23005 * gdb.base/default.exp: Update expected output to include 'ObjC'.
23006 * gdb.base/help.exp: Likewise.
23007
abe1a5d0
KB
230082002-10-17 Kevin Buettner <kevinb@redhat.com>
23009
23010 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
23011 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
23012
10abb1d4
JB
230132002-10-02 Jim Blandy <jimb@redhat.com>
23014
23015 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
23016
1f609b42
AC
230172002-10-01 Andrew Cagney <ac131313@redhat.com>
23018
23019 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
23020 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
23021 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
23022 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
23023 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
23024 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
23025 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
23026
0aee02e4
AC
230272002-09-29 Andrew Cagney <ac131313@redhat.com>
23028
23029 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
23030 * mi0-disassemble.exp, mi0-eval.exp: Delete.
23031 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
23032 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
23033 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
23034 * mi0-var-block.exp, mi0-var-child.exp: Delete.
23035 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 23036
6fde09ad
KB
230372002-09-27 Kevin Buettner <kevinb@redhat.com>
23038
23039 * gdb.base/annota1.exp (info break): Make directory components of
23040 path optional since not all compilers emit this debug information.
23041
889bf7c5
PA
23042 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
23043 step ends up stepping out of the function instead of stopping on
23044 the epilogue.
6fde09ad 23045
9e8aab75
KS
230462002-09-26 Keith Seitz <keiths@redhat.com>
23047
23048 * lib/insight-support.exp (gdbtk_start): Figure out where
23049 the insight executable is based on where gdb is. Use this
23050 executable to start insight instead of gdb.
23051
e36180d7
AC
230522002-09-25 Andrew Cagney <cagney@redhat.com>
23053
23054 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
23055
9dd34b2b
AC
230562002-09-24 Andrew Cagney <ac131313@redhat.com>
23057
23058 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
23059 test_isolated_complaints.
23060 (test_empty_complaint): New function.
23061 (test_empty_complaints): New function. Check no output when no
23062 complaints.
d63a86f8 23063
dea97812
KB
230642002-09-19 Jim Blandy <jimb@redhat.com>
23065
a9c64011 23066 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 23067
54951bd7
AC
230682002-09-19 Andrew Cagney <ac131313@redhat.com>
23069
23070 * gdb.gdb/complaints.exp: New file.
23071
dec43320
AC
230722002-09-18 Andrew Cagney <ac131313@redhat.com>
23073
23074 * gdb.base/maint.exp: Check `help maint internal-warning'.
23075
e70d6e3f
DC
230762002-09-18 David Carlton <carlton@math.stanford.edu>
23077
23078 * gdb.c++/m-static.exp: Remove breakpoints depending on line
23079 numbers, and replace them by a single breakpoint after the
23080 constructors are all finished.
23081 Add test 4.
23082 * gdb.c++/m-static.cc: Add test 4.
23083 * gdb.c++/m-static.h: New file.
23084 * gdb.c++/m-static1.cc: New file.
23085
23086 * gdb.c++/printmethod.exp: New file.
23087 * gdb.c++/printmethod.cc: New file.
23088
23089 * gdb.c++/pr-574.exp: New file.
23090 * gdb.c++/pr-574.cc: New file.
23091
afb5c968
CV
230922002-09-18 Corinna Vinschen <vinschen@redhat.com>
23093
23094 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
23095 embedded targets which never actually exit.
23096
31e45dee
FN
230972002-09-18 Fernando Nasser <fnasser@redhat.com>
23098
23099 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
23100 "don't step after run" as unresolved or unsupported, instead of xfail.
23101
a283c5a1
CV
231022002-09-18 Corinna Vinschen <vinschen@redhat.com>
23103
23104 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
23105 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
23106 Add newline to expected string in "step out of main (status wrapper)"
23107 case.
23108
11350d2a
CV
231092002-09-18 Corinna Vinschen <vinschen@redhat.com>
23110
23111 * lib/gdb.exp (rerun_to_main): Allow restarting application.
23112 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
23113
0deec7d6
TT
231142002-09-17 Tom Tromey <tromey@redhat.com>
23115
23116 * gdb.base/printcmds.exp (test_print_string_constants): Expect
23117 \000, not \0, in double-quoted string.
23118
b2b4a1b5
CV
231192002-09-14 Corinna Vinschen <vinschen@redhat.com>
23120
c9d37158 23121 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
23122 string after running the commands execution on breakpoint tests.
23123
1c56143a
CV
231242002-09-13 Corinna Vinschen <vinschen@redhat.com>
23125
23126 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
23127
37f8da45
JB
231282002-09-12 Joel Brobecker <brobecker@gnat.com>
23129
23130 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
23131
08b468e0
KS
231322002-09-10 Keith Seitz <keiths@redhat.com>
23133
23134 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
23135 runto proc.
23136 (mi_run_to_main): Use mi_runto.
23137 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
23138
dc360f58
KS
231392002-09-10 Keith Seitz <keiths@redhat.com>
23140
23141 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
23142 regexp for stopping at main. Could have multiple event notifications.
23143 Don't assume that main was declared with no parameters.
23144 (mi_next): Use mi_step_to.
23145 (mi_step): Use mi_next_to.
23146
ce3abcfb
CV
231472002-09-09 Corinna Vinschen <vinschen@redhat.com>
23148
23149 * gdb.base/default.exp: Fix expected string in `info float' test.
23150
d1f5b980
BE
231512002-09-09 Ben Elliston <bje@redhat.com>
23152
23153 * config/mips.exp: Update comments.
23154 * config/mips-idt.exp: Likewise.
23155 * config/nind.exp: Likewise.
23156 * config/slite.exp: Likewise.
23157 * config/sparclet.exp: Likewise.
23158 * config/udi.exp: Likewise.
23159 * config/vx.exp: Likewise.
23160 * config/vxworks29k.exp: Likewise.
23161
2f71430b
JB
231622002-09-05 Jim Blandy <jimb@redhat.com>
23163
23164 * gdb.threads/killed.exp: Fix test failure message.
23165
7ddebc7e
KS
231662002-09-04 Keith Seitz <keiths@redhat.com>
23167
23168 * lib/mi-support.exp: Update copyright.
23169 (mi_gdb_test): Increase the priority of the expected pattern
23170 so that it matches gdb_test.
23171
0ae67eb3
KS
231722002-09-03 Keith Seitz <keiths@redhat.com>
23173
23174 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
23175 Use integer comparison instead of string comparison for testing
23176 whether binary was built.
23177
38fc42c8
JB
231782002-09-03 Jim Blandy <jimb@redhat.com>
23179
23180 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
23181
b6ff0e81
JB
231822002-08-29 Jim Blandy <jimb@redhat.com>
23183
23184 * gdb.threads/pthreads.exp: Move the portable thread compilation
23185 code into a function in lib/gdb.exp, and call that from here.
23186 * lib/gdb.exp (gdb_compile_pthreads): New function.
23187
07c98896
KS
231882002-08-29 Keith Seitz <keiths@redhat.com>
23189
23190 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
23191 expect_out so that callers can get at it.
23192
0312286c
DJ
231932002-08-23 Daniel Jacobowitz <drow@mvista.com>
23194
23195 * gdb.threads/print-threads.c: New file.
23196 * gdb.threads/print-threads.exp: New file.
23197 * gdb.threads/schedlock.c: New file.
23198 * gdb.threads/schedlock.exp: New file.
23199
dd039bc4
EZ
232002002-08-22 Elena Zannoni <ezannoni@redhat.com>
23201
a9c64011
AS
23202 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
23203 not altivec.c.
dd039bc4 23204
1f36144c
MK
232052002-08-17 Mark Kettenis <kettenis@gnu.org>
23206
23207 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
23208 targets. The problem should be fixed now.
23209
16057ec7 232102002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
23211
23212 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
23213 2002-07-24 change that removes final dots from error messages.
23214
3c1499ad
TT
232152002-08-13 Tom Tromey <tromey@redhat.com>
23216
23217 * gdb.base/readline.exp: New file.
23218
a20ce2c3
AC
232192002-08-01 Andrew Cagney <ac131313@redhat.com>
23220
23221 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
23222 supress message.
23223
db034ac5
AC
232242002-08-01 Andrew Cagney <cagney@redhat.com>
23225
23226 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
23227 CHILL_FOR_TARGET and CHILL_LIB.
23228 * configure.in (configdirs): Remove gdb.chill.
23229 * configure: Regenerate.
23230 * lib/gdb.exp: Obsolete references to chill.
23231 * gdb.fortran/types.exp: Ditto.
23232 * gdb.fortran/exprs.exp: Ditto.
23233
3e000b18
KB
232342002-07-30 Kevin Buettner <kevinb@redhat.com>
23235
23236 * gdb.base/shlib-call.exp (additional_flags): Conditionally
23237 set Irix-specific compile and link flags.
23238
28f4966b
KB
232392002-07-29 Kevin Buettner <kevinb@redhat.com>
23240
23241 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
23242 source files. The ``-o'' option doesn't work with the ``-E'' option
23243 when using the Irix compiler.
23244
46c0d5a6
DJ
232452002-07-19 Daniel Jacobowitz <drow@mvista.com>
23246
23247 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
23248 Improve support for reusing an exec file. Copy exec file
23249 to target, and run gdbserver on the target instead of on the host.
23250
eecf4bed
JB
232512002-07-18 Jim Blandy <jimb@redhat.com>
23252
0f815cdf
JB
23253 * gdb.base/ending-run.exp: Don't expect to see the program end in
23254 some orderly fashion when we're running on a real stand-alone
23255 board.
23256
eecf4bed
JB
23257 * gdb.base/interrupt.exp: Correct logic for skipping tests on
23258 targets that don't support interrupts.
23259
52d309e4
JB
232602002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
23261
23262 * gdb.base/attach.exp: Add patterns to match output from /proc-based
23263 systems.
23264 Move comments in expect statements to inside the actions, so that they
23265 don't get matched against.
23266
ff683d9e
MK
232672002-07-10 Mark Kettenis <kettenis@gnu.org>
23268
23269 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
23270 function when asleep" test.
23271
b5356753
AC
232722002-07-10 Andrew Cagney <ac131313@redhat.com>
23273
23274 * gdb.base/page.exp: Rewrite to handle problems with very long
23275 `info set' output. Update copyright.
23276
6aa4d13a
AC
232772002-06-26 Andrew Cagney <ac131313@redhat.com>
23278
23279 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
23280 gdb.threads-hp.
23281 * gdb.hp/configure: Regenerate.
23282 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
23283 * gdb.hp/gdb.threads-hp/configure: Delete file.
23284 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
23285
8cf8c2b8
AC
232862002-06-22 Andrew Cagney <ac131313@redhat.com>
23287
23288 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
23289 setlocale, bindtextdomain and textdomain.
23290
6827a8f8
JB
232912002-06-11 Jim Blandy <jimb@redhat.com>
23292
919d772c
JB
23293 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
23294 preprocessor macro information is present.
23295
6827a8f8
JB
23296 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
23297 tests.
23298
c15b0d21
MS
232992002-06-06 Michael Snyder <msnyder@redhat.com>
23300
c5984d70
MS
23301 * gdb.base/overlays.exp: Record addresses of overlay
23302 functions in TCL variables rather than in GDB variables,
23303 to avoid having GDB convert them to pointers (with loss
23304 of information).
23305
d63a86f8 23306 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 23307 default linker script changes.
c15b0d21
MS
23308 * gdb.base/long_long.exp: Add check for sizeof (long double).
23309
be26fe0d
ML
233102002-06-06 Michal Ludvig <mludvig@suse.cz>
23311
23312 * gdb.asm/asm-source.exp: Add x86-64 target.
23313 * gdb.asm/x86_64.inc: New.
d63a86f8 23314
258093ca 233152002-05-30 Michael Chastain <mec@shout.net>
258093ca 23316
4b3153f1 23317 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
23318 * gdb.c++/m-static.cc: New file.
23319 * gdb.c++/m-static.exp: New file.
23320
241264c6
MS
233212002-05-28 Michael Snyder <msnyder@redhat.com>
23322
23323 * gdb.base/call-ar-st.exp: Allow for reduced floating point
23324 precision.
23325
9bba8c8f 233262002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 23327
4b3153f1 23328 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
23329 * gdb.c++/m-data.cc: New file.
23330 * gdb.c++/m-data.exp: New file.
23331
233322002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 23333
4b3153f1 23334 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 23335 * gdb.c++/try_catch.cc: New file.
d63a86f8 23336 * gdb.c++/try_catch.exp: New file.
9bba8c8f 23337
def1b996
MC
233382002-05-27 Michael Chastain <mec@shout.net>
23339
23340 * gdb.c++/local.exp: Accept more nested types in output.
23341
522ba268
MC
233422002-05-26 Michael Chastain <mec@shout.net>
23343
23344 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
23345
277254ba
MS
233462002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
23347
23348 * lib/gdb.exp (gdb_wrapper_init): Just because
23349 gdb_wrapper_file exists, this does not mean that the file
23350 should not be rebuilt. That is what gdb_wrapper_initialized
23351 is for.
23352 (default_gdb_init): Reset gdb_wrapper_initialized.
23353
b61a8733
MS
233542002-05-23 Michael Snyder <msnyder@redhat.com>
23355
d63a86f8 23356 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
23357 the precision of the floating point test results.
23358 * gdb.base/call-rt-st.exp: Ditto.
23359
b61a8733
MS
23360 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
23361 * gdb.base/call-rt-st.exp: Ditto.
23362
56f6e910
MC
233632002-05-19 Michael Chastain <mec@shout.net>
23364
23365 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
23366
ad0b0016
EZ
233672002-05-19 Elena Zannoni <ezannoni@redhat.com>
23368
a9c64011
AS
23369 * configure.in (configdirs): Add gdb.arch.
23370 * configure: Regenerate.
ad0b0016 23371
f617d2b6
JB
233722002-05-17 Jim Blandy <jimb@redhat.com>
23373
23374 * gdb.base/completion.exp: Recognize the more detailed error
23375 messages produced by the macro expander's lexical analyzer.
23376
eac2a696
EZ
233772002-05-14 Elena Zannoni <ezannoni@redhat.com>
23378
a9c64011
AS
23379 * gdb.arch/altivec-abi.c: New file.
23380 * gdb.arch/altivec-abi.exp: New file.
23381 * gdb.arch/altivec-regs.c: New file.
23382 * gdb.arch/altivec-regs.exp: New file.
eac2a696 23383
2fdde8f8
DJ
233842002-05-14 Daniel Jacobowitz <drow@mvista.com>
23385
23386 * gdb.base/maint.exp (maint print type): Update for new type
23387 structure.
d63a86f8 23388
e31f1a7c
EZ
233892002-05-14 Elena Zannoni <ezannoni@redhat.com>
23390
23391 * gdb.arch: New directory.
23392 * gdb.arch/configure.in: New file.
23393 * gdb.arch/configure: New file.
23394 * gdb.arch/Makefile.in: New file.
23395
db589741
CV
233962002-05-13 Corinna Vinschen <vinschen@redhat.com>
23397
23398 * gdb.asm/asm-source.exp: Add v850 as supported target.
23399 * gdb.asm/v850.inc: New file.
23400
8ce2a7dc
DJ
234012002-05-13 Daniel Jacobowitz <drow@mvista.com>
23402
23403 * gdb.c++/annota2.exp (annotate-quit): Add comment.
23404
df763c7f
DJ
234052002-05-12 Daniel Jacobowitz <drow@mvista.com>
23406
23407 * gdb.base/break.exp: Check 'break "marker2"'.
23408
377daeed
MS
234092002-05-10 Michael Snyder <msnyder@redhat.com>
23410
23411 * gdb.base/long_long.exp: Fix typo.
23412
c4b7bc2b
JB
234132002-05-10 Jim Blandy <jimb@redhat.com>
23414
ecac9a4e
JB
23415 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
23416 a bug.
23417
c4b7bc2b
JB
23418 * gdb.base/printcmds.exp (test_integer_literals_rejected):
23419 Recognize more detailed error message produced by the macro
23420 expander's lexical analyzer.
23421 * lib/gdb.exp (test_print_reject): Same.
23422
e71019a1
MK
234232002-05-09 Mark Kettenis <kettenis@gnu.org>
23424
23425 * gdb.c++/method.exp: Fix typo.
23426
fedfc8e6
MS
234272002-05-08 Michael Snyder <msnyder@redhat.com>
23428
166a1957
MS
23429 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
23430 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 23431 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
23432 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
23433 Add iftarget clause for strongarm.
d63a86f8 23434
f1c47eb2
MS
234352002-05-06 Michael Snyder <msnyder@redhat.com>
23436
cb9a9d3e
MS
23437 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
23438 (gdb_continue_to_end): Accept output from status wrapper.
23439 * gdb.base/ending-run.exp: Add case for output from status wrapper.
23440 Clean up fail messages to match pass messages.
23441
f1c47eb2
MS
23442 Enable the "needs_status_wrapper" testsuite feature.
23443 * lib/gdb.exp (gdb_wrapper_init): New procedure.
23444 (gdb_compile): Conditionally call gdb_wrapper_init.
23445 * gdb.base/a2-run.exp: Recognize output from status wrapper.
23446 * gdb.c++/method.exp: Recognize output from status wrapper.
23447
6079c749
BE
234482002-05-06 Ben Elliston <bje@redhat.com>
23449From Graydon Hoare <graydon@redhat.com>
23450
23451 * config/sid.exp: Include support for "rawsid" protocol.
23452
188baff3
JB
234532002-05-03 Jim Blandy <jimb@redhat.com>
23454
23455 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
23456 * gdb.c++/hang3.C: New file.
23457
b9c07f0f
AC
234582002-05-04 Andrew Cagney <ac131313@redhat.com>
23459
23460 * gdb.base/default.exp: Remove obsolete code.
23461 * gdb.c++/misc.exp: Ditto. Update copyright.
23462 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
23463 * gdb.base/whatis.exp: Ditto. Update copyright.
23464 * gdb.base/scope.exp: Ditto. Update copyright.
23465 * gdb.base/ptype.exp: Ditto. Update copyright.
23466 * gdb.base/printcmds.exp: Ditto. Update copyright.
23467 * gdb.base/opaque.exp: Ditto. Update copyright.
23468 * gdb.base/list.exp: Ditto.
23469 * gdb.base/funcargs.exp: Ditto. Update copyright.
23470 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
23471 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
23472 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
23473 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
23474 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
23475 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
23476
5c7a0397
MS
234772002-05-02 Michael Snyder <msnyder@redhat.com>
23478
d6dcc264 23479 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
23480 * gdb.base/long_long.exp: Add xscale target.
23481 * gdb.base/default.exp: Add xscale target.
23482
eb7f1c48
JB
234832002-05-01 Jim Blandy <jimb@redhat.com>
23484
23485 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
23486 gdb.c++/hang.exp: New test.
23487
a6befae8
FF
234882002-05-01 Fred Fish <fnf@redhat.com>
23489
23490 * gdb.base/completion.exp: Handle completions of "./Make" for
23491 more than one completion possibility, as is the case when we
23492 build and test in the source tree.
23493
0a310277
AG
234942002-04-29 Anthony Green <green@redhat.com>
23495
23496 * gdb.java/jmisc1.exp: New file.
23497 * gdb.java/jmisc2.exp: New file.
23498
6ff9af88
DJ
234992002-04-24 Daniel Jacobowitz <drow@mvista.com>
23500
23501 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
23502
96b3d632
EZ
235032002-04-23 Elena Zannoni <ezannoni@redhat.com>
23504
23505 * gdb.base/help.exp: Change 'help status' to allow for target
23506 dependent output differences.
23507
5019bb54
MC
235082002-04-22 Michael Chastain <mec@shout.net>
23509
23510 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23511
a805a116
MC
235122002-04-22 Michael Chastain <mec@shout.net>
23513
23514 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23515
a1706bfd
DM
235162002-04-17 David S. Miller <davem@redhat.com>
23517
23518 * gdb.asm/sparc64.inc: New file.
23519 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23520
a73a20a2
EZ
235212002-04-19 Elena Zannoni <ezannoni@redhat.com>
23522
23523 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23524 instruction file directly into the build tree. Clean up at end of
23525 test.
23526
ba678339
DM
235272002-04-18 David S. Miller <davem@redhat.com>
23528
23529 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23530 handle 64-bit platforms correctly.
23531 * gdb.base/maint.exp: Likewise.
23532
b03399da
KB
235332002-04-18 Kevin Buettner <kevinb@redhat.com>
23534
23535 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23536 ``-fpic'' when compiling files comprising a shared library, but
23537 it does need additional linker flags in order to find shared
23538 libraries at run time.
23539
e2004992
KB
235402002-04-18 Kevin Buettner <kevinb@redhat.com>
23541
23542 * gdb.base/cvexpr.c (use): New function.
23543 (main): Invoke use() on all global variables to prevent
23544 some linkers from deleting these otherwise unused symbols.
23545
d8937120
MC
235462002-04-17 Michael Chastain <mec@shout.net>
23547From David S. Miller <davem@redhat.com>
23548
23549 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23550 handle 64-bit platforms correctly.
23551
ffd61a58
MS
235522002-04-12 Michael Snyder <msnyder@redhat.com>
23553From Jim Blandy <jimb@redhat.com>
a9c64011 23554 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
23555 script can handle this instead.
23556 * gdb.base/bar.c (barx): Same.
23557 * gdb.base/baz.c (bazx): Same.
23558 * gdb.base/grbx.c (grbxx): Same.
23559
23560 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23561 manager doesn't automatically unmap overlays unnecessarily.
23562
6b8426a6
MH
235632002-04-10 Martin M. Hunt <hunt@redhat.com>
23564
23565 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23566 stepping out of main.
23567
34af4875
MC
235682002-04-09 Michael Chastain <mec@shout.net>
23569
23570 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23571 scope so that the nested scope tests will make sense.
23572 * gdb.c++/local.exp: Write patterns that actually work with gcc
23573 (the HP patterns "were never known to work with gcc").
23574 Keep the old aCC patterns too.
23575
2d1676a0
DJ
235762002-04-09 Daniel Jacobowitz <drow@mvista.com>
23577
23578 * gdb.base/attach.exp: Correct target board test.
23579
3a63e3f9
MC
235802002-04-08 Michael Chastain <mec@shout.net>
23581
23582 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23583 in a const method. Add some xfail and fail cases for configurations
23584 that do not emit the "const ...".
23585
f18dabd2
MC
235862002-04-07 Michael Chastain <mec@shout.net>
23587
23588 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23589 Accept "A * const" and "const A * const" as type of "this".
23590 Fix spelling of getFunky throughout. Make messages uniform.
23591
0fcddd82
EZ
235922002-04-07 Elena Zannoni <ezannoni@redhat.com>
23593
a9c64011 23594 Work around for PR gdb/285:
0fcddd82
EZ
23595 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23596
16a8534a
EZ
235972002-04-07 Elena Zannoni <ezannoni@redhat.com>
23598
23599 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23600 instructions file at run time instead of configure time.
23601 Sometimes we run the test in a directory that is not the one we
23602 configured in.
23603 * gdb.asm/configure.in: Delete creation of symlink.
23604 * gdb.asm/configure: Regenerate.
23605
24181d81
JB
236062002-04-05 J. Brobecker <brobecker@gnat.com>
23607
23608 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23609 xfullpath () function.
23610
7cdb7107
DJ
236112002-04-04 Daniel Jacobowitz <drow@mvista.com>
23612
23613 * gdb.asm/Makefile.in: Correct dependencies.
23614
23615 * gdb.asm/powerpc.inc: New file.
23616 * gdb.asm/asm-source.exp: Add PowerPC.
23617 * gdb.asm/configure.in: Likewise.
23618 * gdb.asm/configure: Regenerated.
23619
a7d17088
DJ
236202002-04-04 Daniel Jacobowitz <drow@mvista.com>
23621
23622 * gdb.base/relocate.exp: New file.
23623 * gdb.base/relocate.c: New file.
23624
cd721503
FF
236252002-04-04 Fred Fish <fnf@redhat.com>
23626
23627 * gdb.base/step-test.exp: Update comment regarding stopping in
23628 memcpy/bcopy calls inserted as part of the compiler runtime.
23629
b22ad7a7
MS
236302002-04-04 Michael Snyder <msnyder@redhat.com>
23631
23632 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23633
5f279fa6
DJ
236342002-04-03 Daniel Jacobowitz <drow@mvista.com>
23635
23636 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23637 (gdb_expect): Remove $notransfer hack.
23638
dd0fd3ce
DJ
236392002-04-02 Daniel Jacobowitz <drow@mvista.com>
23640
23641 * gdb.c++/classes.exp ("calling method for small class"): Match
23642 updated register output.
23643
1e50cda1
DJ
236442002-03-30 Daniel Jacobowitz <drow@mvista.com>
23645
23646 Fix PR gdb/452
23647 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23648 when finished. Make gdb_file_cmd send "exec-file" when
23649 appropriate.
23650
24015922
DJ
236512002-03-30 Daniel Jacobowitz <drow@mvista.com>
23652
23653 * gdb.base/attach.exp: Remove extra setup_xfail.
23654
dd7dfd64
MS
236552002-03-26 Michael Snyder <msnyder@redhat.com>
23656
23657 * gdb.base/default.exp: Add tests for dump, append, and restore.
23658 * gdb.base/help.exp: Add tests for dump, append, and restore.
23659 * gdb.base/dump.exp: New file, test dump, append and restore.
23660 * gdb.base/dump.c: New file.
23661
48b2f8d7
MS
236622002-03-27 Michael Snyder <msnyder@redhat.com>
23663
d63a86f8 23664 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
23665 clean-ups in help messages.
23666
05b4d525
FF
236672002-03-26 Fred Fish <fnf@redhat.com>
23668
23669 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23670 have debugging info for those functions and the compiler uses them
23671 internally to copy structs around.
23672
d7679631
FF
236732002-03-26 Fred Fish <fnf@redhat.com>
23674
23675 * gdb.base/list.exp: Revert the change made yesterday and add note
23676 about why we don't list the default lines for remote targets.
23677
523ac3f9
MS
236782002-03-25 Michael Snyder <msnyder@redhat.com>
23679
23680 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23681
754b2b8d
FF
236822002-03-25 Fred Fish <fnf@redhat.com>
23683
23684 * gdb.base/list.exp: This test works on remote targets so remove
23685 the short circuit for remote targets. Update copyright.
23686
33c3e192
FF
236872002-03-25 Fred Fish <fnf@redhat.com>
23688
23689 * gdb.base/attach.exp: Fix logic error that was suppressing this
23690 test for all non hppa*-*-hpux* targets, instead of the hp target.
23691 Move comments closer to the suppression point. Also now need to
23692 check that we are running natively.
23693
d43e73ee
MS
236942002-03-22 Michael Snyder <msnyder@redhat.com>
23695
882c8f02
MS
23696 * gdb.base/default.exp: Add test for gcore. Update copyright.
23697 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 23698
04c12f60
FF
236992002-03-06 Fred Fish <fnf@redhat.com>
23700
23701 * gdb.base/funcargs.c: Remove extraneous ';' character.
23702 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23703
b43df995
MC
237042002-03-04 Michael Chastain <mec@shout.net>
23705
23706 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23707 accommodate gcc v3 function signature.
23708 * gdb.mi/mi0-var-cmd-exp: Ditto.
23709
92362027
AC
237102002-02-24 Andrew Cagney <ac131313@redhat.com>
23711
23712 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23713 ``GNU/Linux'' or ``Linux kernel''
23714 * testsuite/gdb.threads/pthreads.c: Ditto.
23715
258ad32d
MC
237162002-02-24 Michael Chastain <mec@shout.net>
23717
23718 * gdb.threads/pthreads.c (thread1): Add a return statement.
23719 (thread2): Likewise.
23720 (foo): Likewise.
23721
04c3b3d4
MC
237222002-02-23 Michael Chastain <mec@shout.net>
23723
23724 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23725 to placate gcc.
23726
5a2a0a20
MC
237272002-02-23 Michael Chastain <mec@shout.net>
23728
23729 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23730 test "ptype bint". The test passes on all my stabs configurations.
23731
a640f7fc
JB
237322002-02-21 Jim Blandy <jimb@redhat.com>
23733
27924826
JB
23734 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23735 filename at a time, and watch for the ones we want to see.
23736
a640f7fc
JB
23737 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23738 types of pointers to prototyped functions.
23739
edcc8c75
AC
237402002-02-20 Andrew Cagney <ac131313@redhat.com>
23741
23742 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23743 signed, unsigned and straight char.
23744 (padding_char, padding_short, padding_int, padding_long,
23745 padding_long_long, padding_float, padding_double,
23746 padding_long_double): New global variables.
23747 (fill, fill_structs): New functions.
23748
23749 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23750 for correctly sized writes. Update copyright.
23751 (get_valueof): New procedure.
23752 (get_sizeof): Call get_valueof.
23753 (check_valueof): New procedure.
23754 (check_padding): New procedure.
23755
ac57ea44
MC
237562002-02-20 Michael Chastain <mec@shout.net>
23757
23758 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23759 to setup_xfail. Document some of the remaining calls.
23760
7a10c941
MC
237612002-02-18 Michael Chastain <mec@shout.net>
23762
23763 * gdb.c++/userdef.exp: Update copyright year.
23764
fb8acdcc
DJ
237652002-02-18 Daniel Jacobowitz <drow@mvista.com>
23766
23767 * gdb.c++/userdef.exp: Test overloaded operators properly.
23768 Remove xfails.
23769
fda6ae12
MS
237702002-02-14 Michael Snyder <msnyder@redhat.com>
23771
23772 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23773
676a0442
DJ
237742002-02-14 Daniel Jacobowitz <drow@mvista.com>
23775
23776 * gdb.base/a2-run.exp: Check for a remote target properly.
23777 * gdb.base/annota1.exp: Likewise.
23778 * gdb.base/list.exp: Likewise.
23779 * gdb.base/reread.exp: Likewise.
23780 * gdb.base/scope.exp: Likewise.
23781 * gdb.base/shlib-call.exp: Likewise.
23782 * gdb.base/term.exp: Likewise.
23783 * gdb.c++/annota2.exp: Likewise.
23784
78b4f468
RE
237852002-02-13 Richard Earnshaw <rearnsha@arm.com>
23786
23787 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23788
9a81ba51
MC
237892002-02-10 Michael Chastain <mec@shout.net>
23790
23791 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23792 (call_after_alloca): Ditto.
23793
004af6c7
DJ
237942002-02-10 Daniel Jacobowitz <drow@mvista.com>
23795
23796 * gdb.base/ending-run.exp: Guard "cont" test with
23797 gdb_skip_stdio_test.
23798
37225f62
JB
237992002-02-06 Jim Blandy <jimb@redhat.com>
23800
23801 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23802 from here...
23803 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23804 To here. Disable this test on non-HP platforms. Add big comment.
23805
fe6fdd96
MS
238062002-02-04 Michael Snyder <msnyder@redhat.com>
23807
23808 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23809 other than d10v and m32r.
23810
036fad3f
RE
238112002-02-02 Richard Earnshaw <rearnsha@arm.com>
23812
23813 * gdb.base/default.exp: Rewrite test patterns to reduce time
23814 taken to match them.
23815
7148ab62
DJ
238162002-01-30 Daniel Jacobowitz <drow@mvista.com>
23817
23818 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23819 Allow a start function above main.
23820 * gdb.threads/linux-dp.exp: Fix copyright date.
23821
396cc255
DJ
238222002-01-30 Daniel Jacobowitz <drow@mvista.com>
23823
a9c64011
AS
23824 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23825 (check_philosopher_stack): Check for manager thread before checking
23826 for a just-starting thread.
396cc255 23827
f038d31b
DJ
238282002-01-30 Daniel Jacobowitz <drow@mvista.com>
23829
23830 From Neil Booth <neil@daikokuya.demon.co.uk>:
23831 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23832 warnings.
23833
b3ff9d9a
FF
238342002-01-21 Fred Fish <fnf@redhat.com>
23835
23836 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23837 not caller.
23838
39ad761d
JB
238392002-01-21 Jim Blandy <jimb@redhat.com>
23840
23841 * gdb.base/reread.exp: Check that GDB properly re-reads the
23842 executable file when it changes while no inferior is running.
23843
aaf320fa
FF
238442002-01-21 Fred Fish <fnf@redhat.com>
23845
a9c64011
AS
23846 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23847 optionally accept the "shlib events" variation.
aaf320fa 23848
808a31f5
JB
238492002-01-21 Jim Blandy <jimb@redhat.com>
23850
23851 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23852 call `fflush' after every `printf', so that the output is produced
23853 at predictable points, regardless of whatever buffering does (or
23854 doesn't) take place.
23855 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23856 at different points.
23857
4420d5e2
DJ
238582002-01-20 Daniel Jacobowitz <drow@mvista.com>
23859
23860 * gdb.c++/inherit.exp: Update copyright years.
23861 * gdb.c++/method.exp: Likewise.
23862
3e36a0f4
DJ
238632002-01-20 Daniel Jacobowitz <drow@mvista.com>
23864
23865 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23866 artificial methods/arguments.
23867 * gdb.c++/derivation.exp: Likewise.
23868 * gdb.c++/inherit.exp: Likewise.
23869 * gdb.c++/method.exp: Likewise.
23870 * gdb.c++/virtfunc.exp: Likewise.
23871
b4ceaee6
AC
238722002-01-18 Andrew Cagney <ac131313@redhat.com>
23873
23874 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23875 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23876 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23877 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23878 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23879 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23880
ecace851
JB
238812002-01-17 Jim Blandy <jimb@redhat.com>
23882
23883 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23884 anchoring the pattern matching the entry point symbol's name.
23885
375fc983
AC
238862002-01-17 Andrew Cagney <ac131313@redhat.com>
23887
23888 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23889 continue/quit query. Update copyright.
23890
fe6fdd96
MS
238912002-01-14 Michael Snyder <msnyder@redhat.com>
23892
23893 * gdb.base/gcore.exp: Remove extra debugging output.
23894
e017c81f
DJ
238952002-01-13 Daniel Jacobowitz <drow@mvista.com>
23896
23897 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23898 for slightly dubious v2 mangled string.
23899
37ab3bf8
DJ
239002002-01-13 Daniel Jacobowitz <drow@mvista.com>
23901
23902 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23903
1bc05c3a 239042002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 23905
1bc05c3a 23906 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 23907
1bc05c3a
JM
23908 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23909 constructors.
23910 * gdb.c++/derivation.exp: Likewise.
23911 * gdb.c++/templates.exp: Likewise.
23912 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 23913
1bc05c3a
JM
239142002-01-10 Michael Snyder <msnyder@redhat.com>
23915
23916 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 23917
a911c360
MS
239182002-01-08 Michael Snyder <msnyder@redhat.com>
23919
23920 * gdb.base/gcore.exp: New test for generate-core-file command.
23921 * gdb.base/gcore.c: Testcase for above.
23922 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23923
ea2119ec
JM
239242002-01-08 Jason Merrill <jason@redhat.com>
23925
23926 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23927
68203136
FF
239282002-01-07 Fred Fish <fnf@redhat.com>
23929
23930 * gdb.c++/overload.exp: Remove unconditional xfails for:
23931 print foo_instance1.overloadargs(1)
23932 print foo_instance1.overloadargs(1, 2)
23933 print foo_instance1.overloadargs(1, 2, 3)
23934 print foo_instance1.overloadargs(1, 2, 3, 4)
23935 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23936 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23937 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23938 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23939 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23940 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23941 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23942 print foo_instance1.overload1arg()
23943 print foo_instance1.overload1arg((char)arg2)
23944 print foo_instance1.overload1arg((signed char)arg3)
23945 print foo_instance1.overload1arg((unsigned char)arg4)
23946 print foo_instance1.overload1arg((int)arg7)
23947 print foo_instance1.overload1arg((unsigned int)arg8)
23948 print foo_instance1.overload1arg((float)arg11)
23949 print foo_instance1.overload1arg((double)arg12)
d63a86f8 23950
21b9b5b1
MS
239512002-01-07 Michael Snyder <msnyder@redhat.com>
23952
23953 * gdb.base/huge.exp: New test. Print a very large target data object.
23954 (skip_huge_test): New test variable. Define if you want to skip this
23955 test. The test reads an 8 megabyte data object from the target, so it
23956 might be very time consuming on remote targets with a slow connection.
23957 * gdb.base/huge.c: New file. Test case for above.
23958
725f922e
FF
239592002-01-07 Fred Fish <fnf@redhat.com>
23960
23961 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23962 g_instance.bfoo, and g_instance.cfoo.
23963
889bf7c5 239642002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 23965
889bf7c5
PA
23966 * gdb.base/break.c (multi_line_if_conditional): New function.
23967 (multi_ilne_while_conditional): Likewise.
23968 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23969 IF or WHILE condition puts the breakpoint at the start of
23970 the condition.
f286b2c3 23971
634d57ec
JL
23972 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23973 hppa*-*-hpux* expected failure.
23974 * gdb.base/structs.exp (do_function_calls): Similarly.
23975
23976 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23977 watchpoints.
23978
9fbfe2dc
AC
239792002-01-06 Andrew Cagney <ac131313@redhat.com>
23980
23981 Fix PR gdb/66.
23982 * gdb.base/structs.exp: Replace skip for a29k with skip for
23983 gdb,cannot_call_functions.
23984 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23985 * gdb.base/callfuncs.exp: Ditto.
23986 * gdb.base/call-rt-st.exp: Ditto.
23987 * gdb.base/call-strs.exp: Ditto.
23988 * gdb.base/callfwmall.exp: Ditto.
23989 * gdb.base/scope.exp: Obsolete xfail a29k.
23990 * gdb.c++/misc.exp: Ditto.
23991 * gdb.c++/cplusfuncs.exp: Ditto.
23992 * gdb.base/ptype.exp: Ditto.
23993 * gdb.base/printcmds.exp: Ditto.
23994 * gdb.base/opaque.exp: Ditto.
23995 * gdb.base/list.exp: Ditto.
23996 * gdb.base/funcargs.exp: Ditto.
23997 * gdb.base/default.exp: Ditto.
23998
8ddad156
MS
239992002-01-04 Michael Snyder <msnyder@redhat.com>
24000
ca4976a6 24001 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
24002 * gdb.base/maint.exp: Add tests for maint info sections options.
24003
1b074332
JL
24004Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
24005
24006 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
24007
7d159115
CV
240082001-12-20 Corinna Vinschen <vinschen@redhat.com>
24009
24010 * gdb.asm/arm.inc: New file.
24011 * gdb.asm/asm-source.exp: Add arm targets.
24012 * gdb.asm/configure.in: Ditto.
24013 * gdb.asm/configure: Recreated from configure.in.
24014
8fb87725
JL
24015Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
24016
afabe08c
JL
24017 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
24018 with HP's compiler.
24019 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
24020 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
24021 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
24022 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
24023
24024 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
24025 either HP's compilers or GCC.
24026
db521deb
JL
24027 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
24028 a SIGBUS or SIGSEGV.
24029
24030 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
24031
24032 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
24033 can be compiled with either HP's compiler or GCC.
24034
cfa88ab7
JL
24035 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
24036 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
24037 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
24038
ca344dff
JL
24039 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
24040 to match current gdb output. Update due to using auto-solib-limit
24041 for limiting instead of overloading auto-solib-add.
24042 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
24043 test program.
24044
3f3c6e55 24045 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
24046 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
24047 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
24048 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
24049 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
24050 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
24051 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
24052 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
24053 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
24054 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
24055 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
24056 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
24057 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 24058
8fb87725
JL
24059 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
24060 a SIGTRAP to the inferior.
24061
cf599fa7
CV
240622001-12-19 Corinna Vinschen <vinschen@redhat.com>
24063
24064 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
24065 Substitute call to target_link by call to gdb_compile.
24066
2cd045cd
JL
24067Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
24068
a9c64011
AS
24069 * gdb.base/break.exp: Fix HP specific search string when testing
24070 backtracing in a called function.
2cd045cd 24071
a9c64011
AS
24072 * gdb.base/constvars.exp: Only set lang to C++ if we're
24073 compiling the test with HP's compilers.
24074 * gdb.base/volatile.exp: Similarly.
2cd045cd 24075
99ebe9ac
JB
240762001-12-19 Jim Blandy <jimb@redhat.com>
24077
24078 * gdb.base/printcmds.exp: Expect the null character to be printed
24079 as '\0', and the '\013' to be printed as '\v'.
24080 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
24081 * gdb.base/setvar.exp: Same.
24082
b9891b29
JB
240832001-12-17 Jim Blandy <jimb@redhat.com>
24084
0eba65ab
JB
24085 * gdb.base/completion.exp: Rather than completing very long
24086 filenames, which can make the readline library produce output we
24087 don't recognize, cd to the directory first, and then complete
24088 using nice, short relative paths.
24089
6970b5b1
JB
24090 * gdb.base/completion.exp: On some systems, there is, in fact, a
24091 variable named `b' in scope, since GDB treats all static
a9c64011
AS
24092 variables as being in scope. So use `no_var_named_this'
24093 instead of `b'.
6970b5b1 24094
b9891b29 24095 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 24096 can't find the core file's registers as a failure.
b9891b29 24097
e6ccd35f
JSC
240982001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
24099
a9c64011
AS
24100 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
24101 test expect string more specific.
e6ccd35f 24102
105ba819
CV
241032001-12-13 Corinna Vinschen <vinschen@redhat.com>
24104
24105 * gdb.asm/asm-source.exp: Add support for xstormy16.
24106 * gdb.asm/configure.in: Ditto.
24107 * gdb.asm/configure: Rebuild.
24108 * gdb.asm/xstormy16.inc: New file.
24109
e9e79dd9
FF
241102001-12-10 Fred Fish <fnf@redhat.com>
24111
24112 * gdb.base/maint.exp: Update to match changes in type dumping code.
24113
347dc97d
JB
241142001-12-10 Jim Blandy <jimb@redhat.com>
24115
24116 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
24117 matching the entry point symbol's name at the beginning of the
24118 line.
347dc97d 24119
5178b9d6
DJ
241202001-12-07 Daniel Jacobowitz <drow@mvista.com>
24121
24122 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
24123 gdb.c++/inherit.exp, gdb.c++/method.exp,
24124 gdb.c++/namespace.exp, gdb.c++/templates.exp,
24125 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
24126 and class layout support.
24127
af890c52
DJ
241282001-12-07 Daniel Jacobowitz <drow@mvista.com>
24129
24130 * gdb.c++/classes.exp: Add test for static member function.
24131 * gdb.c++/misc.cc: Add class with static member function.
24132
7a345fb3
JB
241332001-12-07 Jim Blandy <jimb@redhat.com>
24134
f2e54a80 24135 If GDB says it can't find the struct the function returned, report
8032bf31
JB
24136 those tests as `unsupported'.
24137 * gdb.base/call-rt-st.exp (print_struct_call): New function.
24138 Rewrite subsequent tests to use it.
24139
24140 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
24141 those tests as `unsupported'.
24142 * gdb.base/structs.exp (call_struct_func): New function.
24143 (do_function_calls): Use call_struct_func to call the functions
24144 returning structs.
24145
0bc69509
JB
24146 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
24147 whether functions are prototyped or not, so we can't possibly pass
24148 arguments to t_float_values2 properly.
24149
7a345fb3
JB
24150 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
24151 value of `timeout' for targets other than the mips*tx39-*.
24152
edb6ede1
MS
241532001-12-06 Michael Snyder <msnyder@redhat.com>
24154
d63a86f8 24155 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
24156 and detect whether the start symbol has a leading underscore.
24157
2d842f13
JB
241582001-12-04 Jim Blandy <jimb@redhat.com>
24159
24160 * gdb.base/completion.exp: Clarify indentation.
24161
68550daf
JB
241622001-12-03 Jim Blandy <jimb@redhat.com>
24163
24164 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
24165 variables on the S/390, not `.word'.
24166
cd5195a8
JB
241672001-11-30 Jim Blandy <jimb@redhat.com>
24168
24169 Add assembly-source tests for s390-ibm-linux.
24170 * gdb.asm/s390.inc: New file.
24171 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
24172 the S/390 architecture.
a9c64011 24173 * gdb.asm/configure: Regenerated.
cd5195a8 24174
ca9efc90
MS
241752001-11-30 Michael Snyder <msnyder@redhat.com>
24176
24177 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
24178 next, info source, info sources, info line, global and static
24179 variables, and static functions.
24180 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
24181 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
24182 * gdb.asm/asmsrc1.s: Add a static function and some variables.
24183 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
24184 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
24185 (gdbasm_leave): Restore frame pointer.
24186 (gdbasm_startup): Copy stack set-up from crt0.S.
24187
d0e66976
FN
241882001-11-26 Fernando Nasser <fnasser@redhat.com>
24189
24190 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
24191 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
24192 to a local (non-static) variable. Copy tstruct.a to a static buffer
24193 and return a pointer to that buffer.
24194 * gdb.base/callfwmall.c (t_structs_a): Ditto.
24195
e2334072
MK
241962001-11-24 Mark Kettenis <kettenis@gnu.org>
24197
24198 * gdb.asm/configure.in: Fix recognition of ix86 target.
24199 * gdb.asm/configure: Regenerate.
24200
756caa3d
MS
242012001-11-21 Michael Snyder <msnyder@redhat.com>
24202
24203 * gdb.asm/sparc.inc: New file.
24204 * gdb.asm/asm-source.exp: Recognize sparc target.
24205 * gdb.asm/configure.in: Recognize sparc target.
24206 * gdb.asm/configure: Regenerate.
d63a86f8 24207
9a4d72d5
MS
242082001-11-21 Michael Snyder <msnyder@redhat.com>
24209
24210 * gdb.asm/m32r.inc: New file.
24211 * gdb.asm/asm-source.exp: Recognize m32r target.
24212 * gdb.asm/configure.in: Recognize m32r target.
24213 * gdb.asm/configure: Regenerate.
24214
a773d1cd
MS
242152001-11-20 Michael Snyder <msnyder@redhat.com>
24216
017ac23d
MS
24217 * gdb.asm/i386.inc: New file.
24218 * gdb.asm/asm-source.exp: Recognize ix86 target.
24219 * gdb.asm/configure.in: Recognize ix86 target.
24220 * gdb.asm/configure: Regenerate.
24221
a773d1cd
MS
24222 * gdb.c++/namespace.exp: Fix quotes in output messages.
24223
bb632afb
MS
242242001-11-14 Michael Snyder <msnyder@redhat.com>
24225
25d559ca 24226 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
24227 qualifier in a type cast expression, to designate an address
24228 in the instruction space (Harvard architecture).
24229
4749e309
MS
242302001-11-13 Michael Snyder <msnyder@redhat.com>
24231
24232 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
24233 Tests for expressions using 'const' and 'volatile'.
24234
25050984
CV
242352001-11-13 Corinna Vinschen <vinschen@redhat.com>
24236
24237 * gdb.asm/asm-sources.exp: Allow defining linker flags.
24238
1902c51f
DJ
242392001-11-12 Daniel Jacobowitz <drow@mvista.com>
24240
24241 * lib/mi-support.exp (mi_run_to_helper): Move comments
24242 outside of gdb_expect.
24243
dcf95b47
DJ
242442001-11-11 Daniel Jacobowitz <drow@mvista.com>
24245
24246 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
24247 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
24248 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
24249 mi0_run_to): New functions.
24250 * gdb.mi/mi-simplerun.exp: Use them.
24251 * gdb.mi/mi0-simplerun.exp: Likewise.
24252 * gdb.mi/mi-var-cmd.exp: Likewise.
24253 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 24254
45b074e1
AC
242552001-11-10 Andrew Cagney <ac131313@redhat.com>
24256
24257 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
24258 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
24259
bf50d346
AC
242602001-11-09 Andrew Cagney <ac131313@redhat.com>
24261
24262 * gdb.base/restore.exp: Include $expected value in restored test
24263 message.
24264
9383332c
AC
242652001-11-09 Andrew Cagney <ac131313@redhat.com>
24266
24267 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
24268 implemented.
24269
db62520a
MS
242702001-11-08 Michael Snyder <msnyder@redhat.com>
24271
24272 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
24273 Add pass/fail message for stop at breakpoint in call dummy function.
24274
b5703437
MS
242752001-11-07 Michael Snyder <msnyder@redhat.com>
24276
d63a86f8
RM
24277 * gdb.c++/templates.exp (test_template_breakpoints):
24278 If we get an overload menu, but it does not match what
760f6330 24279 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
24280 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
24281 making the whitespace optional. Argument for "new" may be
24282 "unsigned" as well as "unsigned int/long".
d63a86f8 24283 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
24284 making the whitespace optional. Also replace "(void) with
24285 "((void|)), making the keyword "void" optional.
d63a86f8 24286 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
24287 making the whitespace optional. Also replace "(void) with
24288 "((void|)), making the keyword "void" optional.
3bf40917
MS
24289 * gdb.base/callfuncs.c (t_float_values): This function must
24290 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 24291 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
24292 can be tested against both cases. Usually one case involves
24293 promotion of float to double, while the other does not.
24294 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
24295 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
24296 includes a stack frame for "start".
24297
c8ab4e6d
JB
242982001-11-05 Jim Blandy <jimb@redhat.com>
24299
24300 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
24301 pointers are 32 bits long, and that offsets of relocs are always
24302 stored in the data (REL-style), and not in the reloc entry itself
24303 (RELA-style).
24304 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
24305 stabs.
24306
3f08ced9
MS
243072001-11-01 Michael Snyder <msnyder@redhat.com>
24308
24309 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
24310 and regular expression operators by using quoting.
24311
cbfa24cd
MS
243122001-10-31 Michael Snyder <msnyder@redhat.com>
24313
24314 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
24315 depending on what the symbol table contains.
24316 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
24317 the output of the ptype command. Similarly, accept both "const &"
24318 and "const&".
24319
aaa68313
CV
243202001-10-31 Corinna Vinschen <vinschen@redhat.com>
24321
24322 * gdb.base/miscexprs.c (main): Add usage of preprocessor
24323 symbol `STORAGE' to allow to choose the storage class of
24324 the local datastructures.
24325 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
24326 compiler directive.
24327
91740388
MS
243282001-10-30 Michael Snyder <msnyder@redhat.com>
24329
24330 * gdb.base/jump.exp: Allow it to run for all targets.
24331
1b7c05e7
CV
243322001-10-29 Corinna Vinschen <vinschen@redhat.com>
24333
24334 * gdb.base/call-ar-st.c (print_double_array): Match for loop
24335 with new double_array size.
24336 (main): Change storage class of all local variables to static.
24337 Reduce size of double_array to 9.
24338 * gdb.base/call-ar-st.exp: Increase timeout value.
24339 Change expected output for double array to match new size in
24340 call-ar-st.c.
24341
36a22261
CV
243422001-10-29 Corinna Vinschen <vinschen@redhat.com>
24343
24344 * gdb.base/ending-run.exp: Create identical output when passing
24345 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 24346 Stormy16 target.
36a22261 24347
92b8ae91
MK
243482001-10-28 Mark Kettenis <kettenis@gnu.org>
24349
24350 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
24351 that we catch the expected failure under Linux/x86.
24352
cb135b83
OF
243532001-10-29 Orjan Friberg <orjanf@axis.com>
24354
24355 * gdb.base/setvar.exp: Escape curly braces.
24356 * gdb.stabs/weird.exp: Ditto.
24357
6884aa54
DJ
243582001-10-27 Daniel Jacobowitz <drow@mvista.com>
24359
24360 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
24361 * gdm.mi/mi0-hack-cli.exp: Likewise.
24362
0398c9aa
AC
243632001-10-25 Andrew Cagney <ac131313@redhat.com>
24364
24365 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
24366 messages.
24367
d20bf2e8
AC
243682001-10-21 Andrew Cagney <ac131313@redhat.com>
24369
24370 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
24371 checking MI enabled.
24372
03dd63aa
CV
243732001-10-09 Corinna Vinschen <vinschen@redhat.com>
24374
24375 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
24376
1d9d99f3
FCE
243772001-10-04 Frank Ch. Eigler <fche@redhat.com>
24378
24379 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
24380 if gdb child process crashes, just signal an error.
24381
838ae6c4
JB
243822001-10-02 Jim Blandy <jimb@redhat.com>
24383
24384 * lib/gdb.exp (test_xfail_format): Simplify.
24385
24386 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
24387 front of the variable name `format'. Simplify `if'.
24388
8f0cbc1c
DJ
243892001-10-01 Daniel Jacobowitz <drow@mvista.com>
24390
24391 * gdb.threads/pthreads.exp: Wait for output and delay
24392 before sending ^C.
24393
1f08dafd
DJ
243942001-10-01 Daniel Jacobowitz <drow@mvista.com>
24395
24396 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
24397 some incorrect output instead of timing out.
24398 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
24399
674f90ff
CV
244002001-09-28 Corinna Vinschen <vinschen@redhat.com>
24401
24402 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
24403 check to allow additional `int'.
24404
9b284272
DJ
244052001-09-27 Daniel Jacobowitz <drow@mvista.com>
24406
24407 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
24408 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
24409
b55a4771
MS
244102001-09-27 Michael Snyder <msnyder@redhat.com>
24411
24412 * lib/gdb.exp (test_debug_format): New proc.
24413 (setup_xfail_format): Use new proc test_debug_format.
24414 * gdb.base/constvars.exp (local_compiler_xfail_check): New
24415 proc; use new service proc test_debug_format.
24416 Replace all other "gcc_compiled" tests with this test.
24417 * gdb.base/volatile.exp (local_compiler_xfail_check): New
24418 proc; use new service proc test_debug_format.
24419 Replace all other "gcc_compiled" tests with this test.
24420
244212001-09-27 Michael Snyder <msnyder@redhat.com>
24422
24423 * gdb.base/cvexpr.exp: New file.
24424 * gdb.base/cvexpr.c: New file
24425 Test for expressions using const and volatile keywords.
24426
4e6667ac
CV
244272001-09-26 Corinna Vinschen <vinschen@redhat.com>
24428
24429 * gdb.base/constvars.exp: Check for different orders of keywords
24430 and additional "int" strings in output.
24431
4f337972
AC
244322001-09-22 Andrew Cagney <ac131313@redhat.com>
24433
24434 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
24435 responses from "help maint".
24436
2015650d
FCE
244372001-09-19 Frank Ch. Eigler <fche@redhat.com>
24438
24439 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
24440 to localhost:NNN instead of :NNN, in case Xvfb is listening
24441 only on TCP.
24442
f3bcedc1
CV
244432001-09-19 Corinna Vinschen <vinschen@redhat.com>
24444
24445 * gdb.base/recurse.exp: When checking leaving the watchpoint
24446 scope, recognize when gdb is in function's epilogue and pass.
24447
6b819c92
KS
244482001-09-18 Keith Seitz <keiths@redhat.com>
24449
24450 * lib/insight-support.exp (_gdbtk_export_target_info): Add
24451 support for running tests against sid targets.
24452 (gdbtk_done): Ditto.
24453
a10c9419
CV
244542001-09-18 Corinna Vinschen <vinschen@redhat.com>
24455
24456 * gdb.base/ending-run.c (main): Set stdout buffersize
24457 to the same reasonable value for any target.
24458 * gdb.base/ending-run.exp: Add a regular expression
24459 to make testsuite happy on Sanyo Stormy16 target.
24460
739d0d99
CV
244612001-09-17 Corinna Vinschen <vinschen@redhat.com>
24462
24463 * gdb.base/display.c (do_loops): Add float variable `f'.
24464 Increment f in loop.
24465 * gdb.base/display.exp: Increment timeout by 60 seconds.
24466 Change float display test to use variable `f'.
24467
1b8947f0
JB
244682001-09-17 Jim Blandy <jimb@redhat.com>
24469
24470 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
24471 overflowing the limited breakpoint tables on some ROM monitors
24472 (like the ROM68K).
24473
9890ac81
FCE
244742001-09-15 Frank Ch. Eigler <fche@redhat.com>
24475
24476 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
24477 the "-ac" (disable access control) flag.
24478
6db765ea
JH
244792001-08-30 Jeff Holcomb <jeffh@redhat.com>
24480
24481 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
24482 ints.
24483
4c32cc04
KS
244842001-08-30 Keith Seitz <keiths@redhat.com>
24485
24486 * lib/gdb.exp: Move all insight-related functionality into
24487 separate file.
24488 * lib/insight-support.exp: New file.
24489
8d6e6f81
FCE
244902001-08-29 Frank Ch. Eigler <fche@redhat.com>
24491
24492 * config/sid.exp (sid_start): Never set sid verbosity; disable
24493 expect_background {} that consumed its stdout; tolerate </dev/null.
24494 Attempt to set endianness override in "sid" protocol mode. Cleanup.
24495
6a90e1d0
AC
244962001-08-18 Andrew Cagney <ac131313@redhat.com>
24497
24498 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
24499 CLI jump command to start it.
24500 (mi_run_to_main): Fail immediatly when unexpected output.
24501
1759b3c3
AC
245022001-08-18 Andrew Cagney <ac131313@redhat.com>
24503
24504 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
24505 beginning of function. Fix PR gdb/191.
24506
61d11d80
FCE
245072001-08-16 Frank Ch. Eigler <fche@redhat.com>
24508
24509 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24510 what to force sid endianness to.
24511
942a4df2
KS
245122001-08-15 Keith Seitz <keiths@redhat.com>
24513
24514 * lib/gdb.exp (gdbtk_start): Don't set environment
24515 variables for TCL_LIBRARY and friends. Insight will
24516 now figure these out for itself.
24517
0521c418
MS
245182001-08-02 Michael Snyder <msnyder@redhat.com>
24519
24520 * gdb.base/completion.exp: Remove the symbol "a64l" from
24521 the expect string; this is target-specific, and not related
24522 to what is being tested.
24523
74a9a58a
DB
245242001-08-02 Dave Brolley <brolley@redhat.com>
24525
24526 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24527
c70819fa
MS
245282001-07-25 Michael Snyder <msnyder@redhat.com>
24529
c2b8fa57
MS
24530 * gdb.base/consecutive.exp: New file. Test stepping over
24531 breakpoints on consecutive instructions.
24532 * gdb.base/consecutive.c: New file.
24533
c70819fa
MS
24534 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24535 curly braces in regular expressions.
24536
2b1a1355
MS
245372001-07-25 Michael Snyder <msnyder@redhat.com>
24538
24539 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24540 legitimate output from stepping out of main.
24541
413eca6f
KS
245422001-07-22 Keith Seitz <keiths@redhat.com>
24543
24544 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24545 the empty string, do not run the tests.
24546
7e5a9322
SC
245472001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24548
24549 * gdb.base/long_long.exp: Detect size of pointer. Take into
24550 account 2-byte pointers when testing for p/a results.
24551
de58f10f
SC
245522001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24553
d63a86f8 24554 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
24555 and defined to 1K for m68hc11.
24556 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24557 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24558 (sizeof_random_data): New variable to tell the size of the data table;
24559 don't test past this size; always run to main.
24560
d6f5fea1
SC
245612001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24562
24563 * gdb.base/return2.exp: return of long long and double fails for
24564 68HC11; don't execute these tests on that platform.
24565 * gdb.base/return.exp: Return of a double fails for 68hc11.
24566
c477543d
SC
245672001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24568
24569 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24570 tests that print a float.
24571 * call-rt-st.exp: Likewise.
24572
63cf1c79
MK
245732001-07-12 Mark Kettenis <kettenis@gnu.org>
24574
24575 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24576 running this test on Linux.
24577
112f9ab5
MC
245782001-06-24 Michael Chastain <chastain@redhat.com>
24579
24580 * gdb.base/arithmet.exp: Remove some tests to make all test names
24581 unique.
24582
4970cb0f
MS
245832001-07-03 Michael Snyder <msnyder@redhat.com>
24584
24585 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24586 the output of the ptype command.
24587
d85da69f
MS
245882001-07-02 Michael Snyder <msnyder@redhat.com>
24589
4c8a82de
MS
24590 * gdb.base/completion.exp: Don't assume that break.c is the only
24591 source file that may contain functions named "marker".
d85da69f
MS
24592 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24593
8afc772b
AC
245942001-06-28 Andrew Cagney <ac131313@redhat.com>
24595
24596 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24597 of files to delete.
24598
24599 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24600 * gdb.disasm/h8300s.exp: New file.
24601 gdb.disasm/h8300s.s: Likewise.
24602
cff22675
AC
246032001-06-27 Andrew Cagney <ac131313@redhat.com>
24604
24605 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24606 empty breakpoint tables.
24607
68c81b54
AC
246082001-06-25 Andrew Cagney <ac131313@redhat.com>
24609
24610 * lib/mi-support.exp: Update args=... part of stop-reason
24611 patterns. Accept either a list or a tuple.
24612
2dd62704
AC
246132001-06-23 Andrew Cagney <ac131313@redhat.com>
24614
24615 * lib/mi-support.exp: Remove local emacs variable defining
24616 change-log-default-name.
24617
b4127474
MC
246182001-06-22 Michael Chastain <chastain@redhat.com>
24619
24620 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24621 This is operationally compatible with the previous version.
24622
8dbfb380
JB
246232001-06-13 Jim Blandy <jimb@redhat.com>
24624
24625 * lib/gdb.exp (gdb_test): Doc fix.
24626
f2d8c86d
MC
246272001-06-10 Michael Chastain <chastain@redhat.com>
24628
24629 * gdb.base/exprs.exp: Remove a duplicate test.
24630
81564d34
JB
246312001-06-06 Jim Blandy <jimb@redhat.com>
24632
24633 * gdb.base/return2.exp (main): Use values to test float and double
24634 returns that are not NaN's, to avoid being confused by IEEE
24635 comparison rules.
24636
da55addb
MS
246372001-06-04 Michael Snyder <msnyder@redhat.com>
24638
24639 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 24640 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
24641 rather than wait for 12 more tests to time out.
24642
42c65987
JB
246432001-06-06 Jim Blandy <jimb@redhat.com>
24644
b18bced9 24645 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 24646 Don't forget to match the GDB prompt.
b18bced9 24647
42c65987
JB
24648 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24649
5b41e5f0
JB
246502001-06-04 Jim Blandy <jimb@redhat.com>
24651
24652 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24653 command.
24654
015e046f
KB
246552001-05-31 Kevin Buettner <kevinb@redhat.com>
24656
24657 * gdb.base/annota1.exp (info break): Match four or more spaces
24658 after "Address".
24659
fb1ffbbe
MC
246602001-05-31 Michael Chastain <chastain@redhat.com>
24661
24662 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24663 (dm_type_int_star): Likewise.
24664 (dm_type_long_star): Likewise.
24665 (dm_type_void_star): Likewise.
24666
5ea2a32c
KB
246672001-05-29 Kevin Buettner <kevinb@redhat.com>
24668
24669 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24670 to a known value in order to get consistent results regardless
24671 of the setting of INPUTRC or the presence or contents of .inputrc.
24672
ae23c492
MS
246732001-05-24 Michael Snyder <msnyder@redhat.com>
24674
ac55707e
MS
24675 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24676 Don't require that the main thread and the manager thread are the
24677 first in the list.
24678
ae23c492
MS
24679 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24680 debugging. If test fails, issue an "unsupported" not a "fail".
24681
400071f1
JB
246822001-05-24 Jim Blandy <jimb@redhat.com>
24683
24684 Don't assume that short is shorter than int.
24685 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24686 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 24687 this isn't true.
400071f1
JB
24688 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24689 an int, is not equal to ~0 stored in an unsigned char. This tests
24690 the same thing that the previous test meant to, but works on
24691 16-bit machines, too.
24692 ("print unsigned char != (~0)"): Same test, complemented.
24693
0816a3e5
MS
246942001-05-24 Michael Snyder <msnyder@redhat.com>
24695
24696 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 24697 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
24698 and prevents dejagnu getting out of step.
24699
f6dc23a9
KB
247002001-05-23 Kevin Buettner <kevinb@redhat.com>
24701
24702 * gdb.base/finish.exp (finish_void): Revise pattern for
24703 stopping on the call statement to not permit stopping at
24704 the start of the instructions comprising the call sequence.
24705
7dbd117d
MC
247062001-05-19 Michael Chastain <chastain@redhat.com>
24707
24708 * gdb.base/callfuncs.exp: Make all test names unique.
24709 * gdb.base/commands.exp: Make all test names unique.
24710 * gdb.base/condbreak.exp: Make all test names unique.
24711 * gdb.base/dbx.exp: Make all test names unique.
24712 * gdb.base/default.exp: Make all test names unique.
24713 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24714 and TIMEOUT messages to their corresponding PASS message.
24715 * gdb.base/ending-run.exp: Make all test names unique.
24716 * gdb.base/long_long.exp: Remove duplicate test.
24717
6b0b0a9e
KB
247182001-05-21 Kevin Buettner <kevinb@redhat.com>
24719
24720 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24721 stop on the call statement as well as the statement after the
24722 call.
24723
2caa35cb
MS
247242001-05-21 Michael Snyder <msnyder@redhat.com>
24725
24726 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24727
40713331
EZ
247282001-05-10 Elena Zannoni <ezannoni@redhat.com>
24729
a9c64011
AS
24730 * gdb.base/completion.exp: Revamp test. Make it execute on all
24731 platforms.
40713331 24732
c2c1be8d
EZ
247332001-05-10 Elena Zannoni <ezannoni@redhat.com>
24734
a9c64011
AS
24735 * config/gdbserver.exp (gdb_load): Handle the case
24736 in which the arguments to gdbserver are given in the
24737 baseboard configuration file.
24738 Also handle the case in which the server needs to do a
24739 load.
2c9cd303 24740
9671de48
KS
247412001-05-07 Keith Seitz <keiths@cygnus.com>
24742
a9c64011
AS
24743 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24744 set up the display for testing.
24745 (gdbtk_start): Convert all paths to paths that tcl will like.
24746 Export target information to environment.
24747 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24748 necessary.
24749 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24750 (to_tcl_path): New proc to convert a given pathname into
24751 a path acceptible as an argument to a tcl command.
24752 (_gdbtk_export_target_info): New proc to export target info
24753 into the environment for gdbtk testing.
24754 (gdbtk_done): New proc to signal end-of-test.
9671de48 24755
5a360f47
JB
247562001-05-06 Jim Blandy <jimb@redhat.com>
24757
24758 * restore.c: Make the code of caller0 correspond to its comment.
24759
66c756c6
MS
247602001-05-03 Michael Snyder <msnyder@redhat.com>
24761
24762 * config/sid.exp (gdb_target_sid): Check for error messages.
24763 On error or timeout, don't make expect exit (which will terminate
24764 all subsequent tests); instead just make gdb exit.
d63a86f8 24765 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
24766 return a negative value.
24767
a966fde5
JB
247682001-04-24 Jim Blandy <jimb@redhat.com>
24769
851c18e0
JB
24770 * gdb.c++/templates.exp: If we see the prompt for the overload
24771 list, but we haven't recognized any of the longer patterns,
24772 arrange for this test to fail, not hang.
24773
a966fde5
JB
24774 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24775 variations.
24776
db144853
MC
247772001-04-22 Michael Chastain <chastain@redhat.com>
24778
24779 * gdb.c++/local.exp: Use the 'runto' library function.
24780 * gdb.c++/namespace.exp: Likewise.
24781 * gdb.c++/overload.exp: Likewise.
24782
3207ec21
KB
247832001-03-26 Kevin Buettner <kevinb@redhat.com>
24784
24785 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24786 * gdb.base/step-line.exp: New file. Test step/next in presence of
24787 #line directives.
24788 * gdb.base/step-line.c: New file. Test program for the above.
24789 * gdb.base/step-line.inp: New file. We pretend that this file has
24790 been transformed by some other tool into step-line.c.
24791
13b57657
JB
247922001-03-21 Jim Blandy <jimb@redhat.com>
24793
24794 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24795 unmangled operator names.
24796
754cbe1c
JB
247972001-03-20 Jim Blandy <jimb@redhat.com>
24798
24799 * gdb.threads/linux-dp.exp: Recognize an additional message
24800 generated by GDB when it doesn't understand how to debug threads
24801 on the target system.
24802
177495c9
AC
248032001-03-19 Andrew Cagney <ac131313@redhat.com>
24804
24805 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24806
f266096b
MC
248072001-03-12 Michael Chastain <chastain@redhat.com>
24808
24809 * gdb.c++/derivation.exp: Use the 'runto' library function.
24810
cac3c2ff
MC
248112001-03-12 Michael Chastain <chastain@redhat.com>
24812
24813 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24814
b6c11a24
MC
248152001-02-24 Michael Chastain <chastain@redhat.com>
24816
24817 * gdb.c++/ref-types.exp: Change handwritten code to library
24818 function 'runto'.
24819
6bae5bce
OF
248202001-03-16 Orjan Friberg <orjanf@axis.com>
24821
24822 * gdb.base/signals.exp: Set count to 0 explicitly.
24823
0015fd9a
MS
248242001-03-15 Mark Salter <msalter@redhat.com>
24825
24826 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24827 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
24828 (gdb_load): Add support for additional target_info: gdb_download_size
24829 and gdb_load_timeout.
0015fd9a 24830
fc33412a
DT
24831Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24832
24833 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
24834 file -- to prevent failing when the compile fails but we have no
24835 intention of running the tests anyway.
fc33412a
DT
24836
24837 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24838 tests if set.
24839
24840 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 24841 integers.
fc33412a
DT
24842
24843 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24844 * gdb.c++/namespace.exp: Ditto.
24845
115f06de
OF
248462001-03-07 Orjan Friberg <orjanf@axis.com>
24847
24848 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24849 * gdb.base/pointers.exp: Relax pattern match of decimals.
24850
b6ba6518
KB
248512001-03-06 Kevin Buettner <kevinb@redhat.com>
24852
24853 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24854 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24855 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24856 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24857 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24858 config/sh.exp, config/sid.exp, config/slite.exp,
24859 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24860 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24861 config/vxworks.exp, config/vxworks29k.exp,
24862 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24863 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24864 gdb.base/arithmet.exp, gdb.base/assign.exp,
24865 gdb.base/async.exp, gdb.base/attach.exp,
24866 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24867 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24868 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24869 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24870 gdb.base/commands.exp, gdb.base/completion.exp,
24871 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24872 gdb.base/constvars.exp, gdb.base/corefile.exp,
24873 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24874 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24875 gdb.base/ending-run.exp, gdb.base/environ.exp,
24876 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24877 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24878 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24879 gdb.base/funcargs.exp, gdb.base/help.exp,
24880 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24881 gdb.base/logical.exp, gdb.base/long_long.exp,
24882 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24883 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24884 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24885 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24886 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24887 gdb.base/regs.exp, gdb.base/relational.exp,
24888 gdb.base/remote.exp, gdb.base/reread.exp,
24889 gdb.base/restore.exp, gdb.base/return2.exp,
24890 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24891 gdb.base/selftest.exp, gdb.base/setshow.exp,
24892 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24893 gdb.base/sigall.exp, gdb.base/signals.exp,
24894 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24895 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24896 gdb.base/step-test.exp, gdb.base/structs.c,
24897 gdb.base/structs.exp, gdb.base/structs2.exp,
24898 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24899 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24900 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24901 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24902 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24903 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24904 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24905 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24906 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24907 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24908 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24909 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24910 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24911 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24912 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24913 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24914 gdb.trace/circ.exp, gdb.trace/collection.exp,
24915 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24916 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24917 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24918 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24919 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24920 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24921 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24922 notices.
24923
dc96c6c7 249242001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
24925
24926 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24927 first arg is int not float.
24928
dc96c6c7 249292001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
24930
24931 * gdb.base/reread.exp: Unsupported for non-native targets;
24932 doesn't work for remote debugging.
24933
9b0c4aeb
FN
249342001-02-19 Fernando Nasser <fnasser@redhat.com>
24935
24936 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
24937 * gdb.base/ending-run.exp: Properly handle the BSP state when
24938 stepping past the end of main.
9b0c4aeb 24939
02aa71d5
MC
249402001-02-19 John Moore <jmoore@redhat.com>
24941
24942 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24943 Converted HPUX fix for non-expected items following multiple
24944 step commands into general solution for all platforms.
24945
1fa449a4
MC
249462001-02-18 Michael Chastain <chastain@redhat.com>
24947
24948 * gdb.c++/classes.exp (do_tests): Change runto statements
24949 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24950 statements demangler agnostic.
24951 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24952 (gdb_virtfunc_restart): Likewise.
24953
b2f9ec70
MC
249542001-02-14 Michael Chastain <chastain@redhat.com>
24955
24956 * gdb.c++/inherit.exp (do_tests): Change runto statements
24957 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24958 statements demangler agnostic.
24959
cf74b8ca
AC
24960Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24961
24962 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
24963 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24964 before calling common_routine 15 times'' tests.
cf74b8ca 24965
99f78f56
MC
249662001-02-11 Michael Chastain <chastain@redhat.com>
24967
24968 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24969 Helps the test script figure out which demangler is in use.
24970 (dm_type_foo_ref): Ditto.
24971 (dm_type_int_star): Ditto.
24972 (dm_type_long_star): Ditto.
24973 (dm_type_unsigned_int): Ditto.
24974 (dm_type_void): Ditto.
24975 (dm_type_void_star): Ditto.
99707966 24976 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
24977 Probe the gdb demangler and set variables to accommodate
24978 formatting differences.
24979 (info_func_regexp): New function. Same as info_func, but
24980 matches against a regexp.
24981 (info_func): Match against a literal string.
24982 (print_addr_2): New function. Match against a literal string,
24983 which can be different from the input to gdb.
24984 (print_addr): Simply call print_addr_2 with the same argument twice.
24985 (test_lookup_operator_functions): Use demangler formatting variables.
24986 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24987 the tests in the same order as the C++ class declaration.
24988 (test_paddr_operator_functions): Ditto.
24989 (test_paddr_overloaded_functions): Ditto.
24990 (test_paddr_hairy_functions): Use demangler formatting variables.
24991 Add reference to gdb/19 for related tests.
24992 (do_tests): Call probe_demangler.
24993
1de8f023
KB
249942001-01-30 Kevin Buettner <kevinb@redhat.com>
24995
24996 * gdb.c++/templates.cc (printf): Remove unused function definition.
24997
ca3f91ed
MS
249982001-01-26 Felix Lee <flee@redhat.com>
24999
25000 * sid.exp (sid_exit): Pass host, not target, to remote_close.
25001
250022001-01-25 matthew green <mrg@redhat.com>
25003
25004 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
25005 up sid.
25006 (sid_exit): Call `remote_pop_conn' after GDB is gone.
25007
250082001-01-25 matthew green <mrg@redhat.com>
25009
25010 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 25011 Deprecate $sid_spawn_id.
ca3f91ed
MS
25012 (sid_exit): Remove code necessary only for `spawn.'
25013
250142001-01-25 matthew green <mrg@redhat.com>
25015
25016 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
25017
fb18ec4a
MC
250182001-01-28 Michael Chastain <chastain@redhat.com>
25019
25020 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
25021 to call when tests fail. It takes gdb out of the overloaded
25022 function choice menu back to the main prompt, so that the test
25023 program stays synchronized.
25024 (set_bp_overloaded): New proc to collect all the common
25025 code for setting a breakpoint on an overloaded name. Calls
25026 take_gdb_out_of_choice_menu when needed.
25027 (menu_overload1arg): New variable to collect the repeated
25028 instances of the expected menu for an overloaded name. Change
25029 the regular expression to handle changes in g++ type encoding:
25030 "void" can be either "void" or "", and "unsigned int" can be
25031 either "unsigned int" or "unsigned".
25032 (continue_to_bp_overloaded): Change regular expressions to handle
25033 changes in g++ type encoding.
25034 (no proc): Call take_gdb_out_of_choice_menu when needed.
25035 Remove redundant calls to "info break". Accept either "canceled"
25036 or "cancelled". Change regular expressions in "info break"
25037 calls to handle changes in g++ type encoding. Give all tests
25038 unique strings.
25039
9c646a6e
BE
250402001-01-17 Ben Elliston <bje@redhat.com>
25041
25042 * config/sid.exp: New file.
25043
9549d9c1
AC
25044Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
25045
25046 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
25047
dc96c6c7 250482000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
25049
25050 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
25051 Add a RE to accept a non-ascii char if one is ever presented.
25052
b4df4f68
FN
250532000-12-20 Fernando Nasser <fnasser@redhat.com>
25054
297dd0fd 25055 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 25056
dc96c6c7 250572000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 25058
d63a86f8 25059 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
25060 in regexp. One '\' does not suffice on Linux.
25061
4a7bddb6
MC
250622000-12-09 Michael Chastain <chastain@redhat.com>
25063
25064 * gdb.base/break.exp (test_clear_command): Use a marker function
25065 rather than 'main' for the test function. Also move this
25066 test to an execution point where the marker function names are
25067 guaranteed to be bound to functions. (Executing tests after a
25068 'finish' from main runs into name conflicts with local names
25069 in __libc_start_main).
25070
dc96c6c7 250712000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
25072
25073 * gdb.base/finish.exp: New test for gdb's "finish" command.
25074 * gdb.base/return2.exp: New test for gdb's "return" command.
25075 * gdb.base/return2.c: New source file for above.
25076
dc96c6c7 250772000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
25078
25079 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
25080 * gdb.base/miscexprs.exp: Ditto.
25081 * gdb.base/pointers.exp: Ditto.
25082 * gdb.c++/derivation.exp: Ditto.
25083 * gdb.c++/local.exp: Ditto.
25084 * gdb.c++/namespace.exp: Ditto.
25085 * gdb.c++/overload.exp: Ditto.
25086 * gdb.c++/ref-types.exp: Ditto.
25087
dc96c6c7 250882000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
25089
25090 * gdb.base/constvars.exp: Test result of "up" command.
25091 * gdb.base/miscexprs.exp: Ditto.
25092 * gdb.base/pointers.exp: Ditto.
25093 * gdb.base/scope.exp: Ditto.
25094 * gdb.c++/derivation.exp: Ditto.
25095 * gdb.c++/local.exp: Ditto.
25096 * gdb.c++/namespace.exp: Ditto.
25097 * gdb.c++/overload.exp: Ditto.
25098 * gdb.c++/ref-types.exp: Ditto.
25099
44097287
FN
251002000-11-22 Michael Chastain <chastain@redhat.com>
25101
25102 * mips_pro.exp: Accept either "middle -> top -> main" or
25103 "middle -> main" in the backtrace, because gcc can optimize
25104 tail calls to jumps. Remove setup_xfail for the hppa case.
25105 Add a comment with the original warning messages from PR 3016,
25106 which was filed in 1993, to preserve them for posterity.
25107
9d2e1bab
ND
251082000-11-17 Nick Duffek <nsd@redhat.com>
25109
25110 * lib/gdb.exp (gdb_test): Override timeout with board info.
25111
1aca8eb7
ND
251122000-11-17 Nick Duffek <nsd@redhat.com>
25113
25114 * gdb.base/display.exp: Don't kill running stub. Add "again" to
25115 the second kill and detach messages.
25116
93076499
ND
251172000-11-17 Nick Duffek <nsd@redhat.com>
25118
25119 * configure.in: Add AC_EXEEXT.
25120 * configure: Regenerate.
25121 * Makefile.in (just-check): Export EXEEXT.
25122 * lib/gdb.exp ($EXEEXT): Import from environment.
25123 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
25124 expect "maint dump-me" on Cygwin.
25125 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
25126 $EXEEXT.
25127
30e87cd3
ND
251282000-11-17 Nick Duffek <nsd@redhat.com>
25129
25130 * gdb.base/break.exp: Test backtrace and finish from called
25131 function on all platforms, not just HP-UX.
25132
dc96c6c7 251332000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
25134
25135 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
25136 code from gdb_target_monitor, so it can be used independantly
25137 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 25138
dc96c6c7 251392000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
25140
25141 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
25142 * gdb.base/corefile.exp: Expect the message "Program is being
25143 debugged already" when we send the "corefile" command, since
25144 the preceeding gdb_load may have connected gdb to a remote target.
25145 * gdb.base/display.exp: Disable hardware watchpoints if new
25146 board info variable "no_hardware_watchpoints" is true.
25147 Replace single-letter commands with more readable ones.
25148 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
25149 if new board info variable "no_hardware_watchpoints" is true.
25150 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
25151 to see if stdio (printf) testing is possible.
25152 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
25153 board info variable "no_hardware_watchpoints" is true. Use new
25154 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
25155
39124dea
FN
251562000-11-13 Fernando Nasser <fnasser@redhat.com>
25157
25158 From Orjan Friberg <orjanf@axis.com>:
25159 * gdb.base/printcmds.exp: Escape curly braces followed by a number
25160 in array print pattern match.
25161
a9e2e984
FN
251622000-11-09 Fernando Nasser <fnasser@redhat.com>
25163
25164 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
25165 spelling "cancelled" to U.S. spelling "canceled" to match changes
25166 made to gdb.
25167 * gdb.c++/ovldbreak.exp: Ditto.
25168
c7db355b
PS
251692000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25170
25171 * gdb.base/callfuncs.c (main): Moved to end of file, call
25172 t_double_values to initialize the FPU before inferior calls are made.
25173 * gdb.base/callfuncs.exp: Test for register preservation after calling
25174 inferior functions. Add tests for continuining, finishing and
25175 returning from a stop in a call dummy.
25176
dc96c6c7 251772000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
25178
25179 * gdb.base/commands.exp: Break up long lines, and re-indent.
25180
dc96c6c7 251812000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
25182
25183 * config/gdbserver.exp: Rewritten from the ground up, to make it
25184 compatible with the current dejagnu tree, and to make it work with
25185 the new "gdbserver" in libremote.
25186
dc96c6c7 251872000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25188
25189 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
25190 * gdb.base/varargs.exp: Skip entire test if no printf support.
25191 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
25192 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
25193
dc96c6c7 251942000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
25195
25196 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
25197 no floating point support.
25198 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
25199 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
25200 * gdb.base/call-rt-st.exp: Ditto.
25201 * gdb.base/call-strs.exp: Ditto.
25202
bac5fc66
JG
252032000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
25204
25205 * gdb.base/sizeof.c: include <stdio.h>.
25206
25207 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
25208 'finish', otherwise uncaptured gdb_prompt would potentially
25209 throw remaining test points out of sync.
bac5fc66 25210
b22a6027
SB
252112000-07-26 Scott Bambrough <scottb@netwinder.org>
25212
25213 * gdb.base/recurse.exp: Run tests for all targets.
25214 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
25215 gnu-oldld case on ARM.
25216 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
25217 for ARM targets.
d63a86f8 25218
d8231941
AG
25219Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
25220
25221 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
25222 * gdb.java/configure: Rebuild.
25223
8caabe69
AG
25224Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
25225
25226 * gdb.java/jv-exp.exp: New file.
25227
9d273ca3
AG
25228Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
25229
25230 * configure: Rebuilt.
25231 * configure.in (configdirs): Add gdb.java.
25232 * gdb.java/jmisc.java: New file.
25233 * gdb.java/jmisc.exp: New file.
25234 * gdb.java/Makefile.in: New file.
25235 * gdb.java/configure: Rebuilt.
25236 * gdb.java/configure.in: New file.
25237 * lib/java.exp: New file.
25238
4f823a66
AC
25239Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
25240
25241 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 25242 underflow.
4f823a66 25243
2391e11d
AC
25244Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
25245
25246 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 25247 and the compilers sizes.
2391e11d 25248
54602222
ND
252492000-07-09 Nick Duffek <nsd@redhat.com>
25250
25251 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
25252 (use_methods): New function.
25253 (main): Call use_methods().
25254 * gdb.c++/classes.exp (test_method_param_class): New procedure.
25255 (do_tests): Call test_method_param_class.
25256
2bec0572
ND
252572000-07-09 Nick Duffek <nsd@redhat.com>
25258
25259 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
25260 spelling.
25261 (test_enums): New procedure. Move enum tests from end of script
25262 to here. Set breakpoint on function name instead of line number.
25263 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
25264 (enums2): New marker function.
25265 (enums1): New function.
25266 (main): Call enums1(). Move enum tests to enums1().
25267
78492fde
AC
25268Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
25269
25270 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 25271 compile/link program. Update line numbers.
78492fde
AC
25272 * gdb.asm/d10v.inc: Define ``startup''.
25273 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 25274
49a2cef8
AC
25275Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
25276
25277 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
25278
3e6c8688
EZ
252792000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25280
25281 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 25282 of 'help maint print' command.
3e6c8688 25283
9ff5cbe9
AC
25284Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
25285
25286 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 25287 they use gdb_expect_list.
9ff5cbe9 25288
17c579bd
AC
25289Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
25290
25291 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
25292 memory-read-packet-size'' instead of ``set endian big'' to test
25293 long commands.
17c579bd 25294
e6d71bf3
DB
252952000-06-03 Daniel Berlin <dan@cgsoftware.com>
25296
25297 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 25298 g++, and stop skipping them.
e6d71bf3
DB
25299
25300 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
25301 work under g++.
25302
d63a86f8 25303 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
25304 initialization.
25305
dc96c6c7 253062000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
25307
25308 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
25309 the regular expression: accept an (almost) arbitrary sequence of
25310 "frames-invalid" and "breakpoints-invalid" messages both before
25311 and after the "starting" message.
25312
dc96c6c7 253132000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
25314
25315 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 25316
dc96c6c7 253172000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
25318
25319 * gdb.base/annota1.exp (annotate-signal-handler-caller):
25320 Relax the regular expression a little, make it pass on Solaris 8.
25321
8216cda9
KB
253222000-05-12 Kevin Buettner <kevinb@redhat.com>
25323
25324 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 25325 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
25326 Instead, it is permissible for gdb to stop on the line of the
25327 call itself.
25328
1a570b2f
MS
253292000-05-12 Michael Snyder <msnyder@.cygnus.com>
25330
25331 * gdb.base/break.exp (bp on small function, optimized file):
25332 Add a second pass pattern. The behavior differs here between stabs
25333 and dwarf for one-line functions. Stabs preserves two line symbols
25334 (one before the prologue and one after) with the same line number,
25335 but dwarf regards these as duplicates and discards one of them.
25336 Therefore the address after the prologue (where the breakpoint is)
25337 has no exactly matching line symbol, and GDB reports the breakpoint
25338 as if it were in the middle of a line rather than at the beginning.
25339
dc96c6c7 253402000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 25341
d63a86f8 25342 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
25343 rather than "send_gdb" (for consistancy).
25344
7d418785
AC
25345Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
25346
25347 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
25348 * gdb.c++/templates.cc: Properly check for GCC version number.
25349 * lib/compiler.cc: Likewise
25350
dc96c6c7 253512000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 25352
d63a86f8 25353 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
25354 gdb may not stop at the first line of main, due to code motion.
25355
dc96c6c7 253562000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
25357
25358 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
25359 This test depends on parsing the printf output from the target.
25360 Since the sparclet stub doesn't do stdio, this will never work.
25361 * gdb.base/call-rt-st.exp: ditto.
25362 * gdb.base/call-strs: ditto.
25363
dc96c6c7 253642000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
25365
25366 * gdb.base/miscexprs.exp: make sizeof long array test portable.
25367
25368 * gdb.base/ending-run.exp: After connecting to a remote target,
25369 but before running, the target will appear to be in a random
25370 location. Specify both a file and a line for breakpoints.
25371 Also, the function that calls main may be called 'init'
25372 rather than 'start'.
25373
a5a51225
EZ
253742000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25375
25376 * gdb.base/help.exp: Update output for add-symbol-file command.
25377
7930cc7c
FN
253782000-04-10 Fernando Nasser <fnasser@cygnus.com>
25379
25380 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25381 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
25382
23e37ab1
C
253832000-04-07 J.T. Conklin <jtc@redback.com>
25384
e93c542c
C
25385 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
25386
23e37ab1
C
25387 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
25388
591b8fa3
PDM
25389Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
25390
25391 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 25392 values that can be represented exactly.
591b8fa3
PDM
25393 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
25394 above change, and to not check against the directory part of the source
25395 file name.
25396 (step into print_long_arg_list): Likewise.
25397 (print print_small_structs from print_long_arg_list): Likewise.
25398 (print print_long_arg_list): Likewise.
25399
7a495180
EZ
254002000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25401
30b53638 25402 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 25403
beb998c6
AC
25404Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
25405
25406 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
25407
1c689132
DB
254082000-03-25 Daniel Berlin <dan@cgsoftware.com>
25409
25410 * gdb.base/commands.exp (deprecated_command_test): Add test for
25411 deprecate with no arguments.
25412
c1790a9d
JL
254132000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
25414
25415 * gdb.base/break.exp: Add new test for setting breakpoints on
25416 optimized code so we can test breakpoints work even when function
25417 prologues may be optimized away
25418
003ba290
FN
254192000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
25420
25421 From David Whedon <dwhedon@gordian.com>
a9c64011 25422 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 25423
6837a0a2
DB
254242000-03-22 Daniel Berlin <dan@cgsoftware.com>
25425
25426 * gdb.base/help.exp: Added test for new apropos command.
25427
b9593231
KB
254282000-03-21 Kevin Buettner <kevinb@redhat.com>
25429
25430 * gdb.base/pointers.c (usevar): New function.
25431 (main): Make sure that global variables v_int_pointer2, rptr,
25432 and y are all referenced someplace in the program by calling
25433 usevar() on them. [Some linkers delete symbols which are
25434 never referenced. The space remains, but there's no way to
25435 get a (symbolic) handle on the variable from the debugger.]
25436
751a959b
EZ
254372000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25438
25439 * gdb.base/printcmds.c: Add typedeffed arrays.
25440
25441 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 25442 procedure to test arrays that are typedef'd.
751a959b 25443
73a93a32
JI
254442000-03-13 James Ingham <jingham@leda.cygnus.com>
25445
25446 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 25447 the library directories.
73a93a32 25448
fb40c209
AC
25449Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
25450
25451 * configure.in (configdirs): Add sub directory gdb.mi.
25452 * configure: Re-generate.
25453
25454 * gdb.mi: New directory.
d63a86f8 25455
ee4dd2c9
AC
254562000-02-25 Scott Bambrough <scottb@netwinder.org>
25457
25458 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 25459 a long long value as a double on ARM platforms.
ee4dd2c9 25460
70f0cc22
JB
254612000-02-16 Jim Blandy <jimb@redhat.com>
25462
25463 * gdb.base/break.exp ("breakpoint line number"): Make sure the
25464 default source file is set properly before running this test.
25465
853819b8
EZ
254662000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25467
25468 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 25469 gdbtk/library directory, not in gdbtcl2.
853819b8 25470
dfcd3bfb
JM
254712000-02-04 Jim Blandy <jimb@redhat.com>
25472
25473 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
25474 backslash from regexp pattern.
25475
25476 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
25477 procedure. Use it to run all the "continue to bp overloaded"
25478 tests. Note that this changes the names of the tests slightly.
25479 If the breakpoint hit message includes a hex PC value, because
25480 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
25481 from the real source code, still consider that a pass.
25482
25483 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
25484 XFAIL here if the breakpoint message contains a hex address. Note
25485 similar change on 1999-11-02.
25486
25487 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
25488
25489 * gdb.base/ptype.exp: Establish a default source file before
25490 calling get_debug_format.
25491
254922000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
25493
25494 * gdb.base/watchpoint.exp: Remove duplication of test messages.
25495
8b93c638
JM
254962000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25497
25498 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
25499 of successive stepi commands -- while in the prologue we should see
25500 the function entry bracket.
25501
255022000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
25503
25504 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
25505 reach __change_mode() when stepping through the end of main().
25506
c5394b80
JM
255072000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25508
25509 * gdb.base/default.exp: Fix expected pattern.
25510 * gdb.base/help.exp: Same.
25511
0d06e24b
JM
255122000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25513
25514 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 25515 Don't use xfail's because that affects only the following test.
d63a86f8 25516
0d06e24b 25517 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 25518 solaris or linux.
0d06e24b
JM
25519
25520 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25521
dc96c6c7 255222000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 25523
d63a86f8 25524 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
25525 "A syntax error" rather than "A parse error". Accept both.
25526
255272000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25528
25529 * gdb.base/default.exp: Remove OS dependent string from "target
25530 remote" test.
25531 * gdb.base/help.exp: Same for "help target remote" test.
25532
c3f6f71d
JM
255332000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25534
25535 From Jim Kingdon <kingdon@redhat.com>:
25536
25537 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
25538 prompt (cleanup rather than necessity, but still might keep output
25539 from spilling to next test).
c3f6f71d
JM
25540
255412000-01-02 Fred Fish <fnf@cygnus.com>
25542
25543 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25544 AIX, which defines them in <sys/types.h>.
25545
ed9a39eb 255461999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 25547
ed9a39eb 25548 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 25549 float" test.
ed9a39eb
JM
25550
255511999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 25552
ed9a39eb 25553 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
25554
25555 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25556 outermost frame disallowed".
25557
255581999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25559
25560 * gdb.base/setvar.exp: New tests for setting the value of a struct
25561 with a constant list.
25562
255631999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25564
25565 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25566 require the user to type a cast before setting the value of a struct.
25567
de57eccd
JM
255681999-12-06 Jim Blandy <jimb@cygnus.com>
25569
25570 * gdb.base/default.exp: Expect the new 'info float' command on
25571 all i386 platforms.
25572
25573 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25574 LinuxThreads libraries that don't support debugging.
25575
c2d11a7d
JM
25576Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25577
25578 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
25579 Change the buffer type to ``unsigned char'' to simplify size
25580 arithmetic.
c2d11a7d
JM
25581
25582 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
25583 stub only handles 400-1 byte packets. Verify that the download
25584 worked.
c2d11a7d
JM
25585
255861999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25587
25588 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25589 tests, using UNRESOLVED for the untested cases. Also, does not wait
25590 for a timeout if the prompt was received before a recognizable pattern.
25591
255921999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25593
25594 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25595
255961999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25597
25598 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 25599 watchpoints.
c2d11a7d
JM
25600
256011999-11-24 Jason Merrill <jason@casey.cygnus.com>
25602
25603 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25604
25605 * gdb.c++/local.exp: Be more flexible in recognizing local class
25606 name mangling. Don't allow horribly truncated method names.
25607 * gdb.c++/derivation.exp: Expect protected inheritance.
25608 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25609 * gdb.c++/virtfunc.exp: Likewise.
25610 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25611 when printing a nested enum.
25612
256131999-11-22 Jim Blandy <jimb@cygnus.com>
25614
25615 * gdb.base/step-test.exp: Properly await GDB's response to setting
25616 a breakpoint on the call to large_struct_by_value.
25617
25618 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25619 just because we have debug info for the `start' function.
25620
256211999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25622
25623 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25624 "Unknown signal" messages, which indicate (on LinuxThreads) that
25625 GDB doesn't know how to debug threads on this system. This is
25626 better than hanging while philosopher 0 dumps chatter into gdb.log.
25627
256281999-11-18 Tom Tromey <tromey@cygnus.com>
25629
25630 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25631
256321999-11-18 Fred Fish <fnf@cygnus.com>
25633
25634 * gdb.base/coremaker2.c: Add sample program for generating
25635 cores that is more self contained than coremaker.c. Eventually
25636 I'll add more code to this and tie it into the testsuite.
25637
4ce44c66
JM
256381999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25639
25640 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25641
256421999-11-10 Jimmy Guo <guo@cup.hp.com>
25643
25644 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 25645 from $srcdir/lib/.
4ce44c66 25646 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 25647 and gdb.c++/.
4ce44c66
JM
25648
25649 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25650
d63a86f8 25651 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
25652 'continue with watch' test point.
25653
256541999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25655
25656 Merged from p2linux-990323-branch:
d63a86f8 25657
4ce44c66
JM
25658 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25659
11cf8741
JM
25660Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25661
25662 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 25663 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
25664
25665Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25666
25667 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 25668 gdb_expect_list.
11cf8741
JM
25669
25670Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25671
25672 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25673
256741999-11-03 Mark Salter <msalter@cygnus.com>
25675
25676 * gdb.base/break.exp: Fix "stub continue" pattern.
25677
256781999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25679
25680 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25681
256821999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25683
25684 * gdb.base/display.exp ("finish"): Add timeout clause.
25685
25686 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25687 plain prompt clause, so this doesn't have to time out in order to
25688 fail.
25689
25690 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 25691 breakpoint hit messages include an address.
11cf8741
JM
25692
25693 * gdb.base/display.exp: Don't forget to escape parens in regular
25694 expressions. Unix regexp notatation sucks.
25695
256961999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25697
25698 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 25699 order for 'signalled' message.
11cf8741 25700
5c44784c
JM
257011999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25702
25703 From Jimmy Guo <guo@cup.hp.com>:
25704 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25705 * gdb.base/annota1.c: Add code for tests to work with.
25706
257071999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25708
25709 * gdb.base/remote.exp: New test for remote downloading settings.
25710 * gdb.base/remote.c: New file with large .data.
25711
917317f4
JM
257121999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25713
25714 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25715 for LinuxThreads support, merged from the Code Fusion branch.
25716
25717Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25718
25719 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
25720 containing exp_continue into a while within an expect. Don't
25721 attempt a start more than three times. Check return value from
25722 gdb_load.
d63a86f8 25723
2df3850c
JM
25724Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25725
25726 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 25727 a pass case.
2df3850c 25728
2acceee2
JM
257291999-10-01 Kevin Buettner <kevinb@cygnus.com>
25730
25731 * gdb.base/break.c (main): Added a statement that we can step
25732 off of.
25733 * gdb.base/break.exp: Added tests for setting a breakpoint
25734 at an offset and stepping onto a breakpoint.
25735
257361999-10-01 Fred Fish <fnf@cygnus.com>
25737
d63a86f8 25738 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
25739 gdb output.
25740
c2c6d25f
JM
257411999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25742
25743 * gdb.base/break.exp: Code locations are in hex, don't forget!
25744 (For HP-UX.)
25745
257461999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25747
25748 * condbreak.exp: Use break.c as test program.
25749 * condbreak.c: Remove, redundant with break.c.
25750
257511999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25752
25753 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 25754 Z-packets if the target needs it.
c2c6d25f
JM
25755
257561999-09-13 James Ingham <jingham@leda.cygnus.com>
25757
25758 * gdb.c++/overload.exp: Added tests for listing overloaded
25759 functions with function pointers in the arg, explicitly calling
25760 out the version you want.
25761
cff3e48b
JM
257621999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25763
25764 * long_long.exp: Add variations of test cases that work for
25765 targets with 16-bit ints and 32-bit doubles.
25766
d4f3574e
SS
257671999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25768
25769 * break.c (main): Compare a possibly-uninitialized argc with an
25770 unlikely value that fits in 16 bits.
25771
257721999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25773
25774 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25775 0xfeeb, don't want negative numbers if ints are 16 bits.
25776
25777 * lib/gdb.exp (skip_cplus_tests): New proc.
25778 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
25779 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25780 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25781 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25782 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25783 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25784 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25785 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
25786
25787 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25788
25789Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25790
25791 * gdb.base/corefile.exp (up): Allow a parameter to appear
25792 in the frame that we're going up to.
25793
25794 From Jim Blandy <jimb@cygnus.com>:
25795
25796 * gdb.base/default.exp (info float): Expect some output now.
25797
25798 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25799 returning floating-point values to fail on the x86.
25800 * gdb.base/callfwmall.exp (do_function_calls): Same.
25801
25802 * gdb.base/list.exp (test_listsize): Correct expectations for
25803 listing line 1 with listsize 2. Also, listing a single line
25804 works now, as does listing three lines. [Kevin's note: There
25805 were a number of other cases fixed too where the expectations
25806 differed...]
25807
258081999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25809
25810 * gdb.base/selftest.exp: Add case for when version prints as
25811 constant string instead of char pointer.
25812
104c1213
JM
258131999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25814
25815 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 25816 stepping out of main.
104c1213
JM
25817
25818 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25819 G++ used.
25820
25821 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 25822 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
25823
25824 * gdb.c++/ovldbreak.exp: Update match string in test that
25825 includes a warning of multiple breakpoints.
25826
258271999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25828
25829 * gdb.base/display.exp: Improve precision of step-after-finish
25830 added yesterday.
25831
25832 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 25833 test.
104c1213
JM
25834
25835 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25836 configs when using G++, not just hppa*.
25837
258381999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25839
25840 * gdb.base/async.c: New file.
25841 * gdb.base/async.exp: New file.
25842
25843Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25844
25845 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25846 PA64.
25847
53a5351d
JM
25848Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25849
104c1213
JM
25850 * gdb.base/display.exp: "finish" can leave us mid-line on many
25851 targets, deal with it. Add a small constant to main, instead of
25852 1000 since main+1000 may not be a valid address in the target.
25853
53a5351d
JM
25854 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25855 on hpux11.
25856
25857 * gdb.base/attach.exp: Handle another hpux11 error message variant
25858 when attaching to a process that does not exist.
25859
258601999-08-19 J.T. Conklin <jtc@redback.com>
25861
25862 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 25863 characters in 'continue to 1241' test.
53a5351d
JM
25864
258651999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25866
25867 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25868 stop in print_long_arg_list, define and use a whitespace
25869 variable in print_small_structs test, add an XFAIL for Solaris.
25870 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25871 interested enough to fix.
25872
7be570e7
JM
258731999-08-13 Keith Seitz <keiths@cygnus.com>
25874
25875 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25876 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25877 proc knows about targets other than the natives.
25878 (test_assign): Use "gdb_run_cmd" to "run" the target.
25879 Check that we've actually hit the breakpoint at main.
25880 When we attempt to assign a value to a local variable, check
25881 that the variable is in the current scope, i.e., don't use
25882 a test with an empty result.
25883
25884Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25885
25886 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 25887 command.
7be570e7
JM
25888
258891999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25890
25891 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25892 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25893 gdb.compat, gdb.threads-hp.
25894 gdb.hp/configure, gdb.hp/configure.in: New files.
25895 gdb.hp/Makefile.in: Recurse into new subdirs.
25896 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25897 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25898 in object files.
25899 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25900
96baa820
JM
259011999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25902
25903 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 25904 funky printf, remove a bogus p/a test.
96baa820
JM
25905
259061999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25907
25908 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
25909 connected to the target. This is necessary when running not
25910 natively.
96baa820
JM
25911
259121999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25913
25914 * gdb.base/step-test.exp: Removed some extraneous messages.
25915
25916 * gdb.base/long_long.exp: Don't run memory examination tests
25917 on little-endian targets (they will need a different set of
25918 results to match).
25919
259201999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25921
25922 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25923 until somebody decides to fix GDB.
25924
25925 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 25926 constant as "ULL".
96baa820
JM
25927 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25928 matches for a couple x/2 commands.
25929
a0b3c4fd
JM
259301999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25931
25932 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25933 by merging in ref-types2 tests.
25934 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25935
25936 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25937 * gdb.c++/Makefile.in: Add standard actions.
25938 (EXECUTABLES): Rename from PROGS, update list.
25939 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25940 from gdb.hp.
25941 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25942 foo and bar locals.
25943 * gdb.c++/anon-union.exp: Fix tests to match.
25944 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25945 expect matches to handle output variations.
25946 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25947 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 25948 output, add HP alternatives for new and delete prints.
a0b3c4fd 25949 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 25950 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
25951 * gdb.c++/demangle.exp: Use $style when reporting failure.
25952 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25953 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25954 match alternatives.
25955 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 25956 compilers.
a0b3c4fd
JM
25957 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25958 * gdb.c++/method.exp: Add match alternatives.
25959 * gdb.c++/misc.cc: Add bool types.
25960 * gdb.c++/misc.exp: Add tests for bool types.
25961 * gdb.c++/overload.exp: Add xfails.
25962 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25963 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25964 add some more template parameter tests (only for HP currently).
25965 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25966 * gdb.c++/virtfunc.cc: Add return type and value for main.
25967 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25968 match alternatives.
d63a86f8 25969
a0b3c4fd
JM
259701999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25971
25972 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25973
259741999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25975
25976 * gdb.base/signals.exp: Don't expect getting a backtrace from
25977 within a signal handler to fail on Linux.
25978
259791999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25980
25981 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25982 * lib/gdb.exp: Remove some gratuitious semicolons.
25983 (delete_breakpoints): Increase timeout.
25984 (gdb_expect): Add -notransfer option.
25985 (gdb_test): Use -notransfer option.
25986 (get_compiler_info): Add f77 case.
25987 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 25988 case.
a0b3c4fd
JM
25989 (gdb_preprocess): Call get_compiler.
25990
25991 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25992 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
25993 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25994 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25995 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25996 third arg to gdb_test.
a0b3c4fd
JM
25997 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25998 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 25999 HP-UX xfails, add others.
a0b3c4fd
JM
26000 * gdb.base/completion.exp: Reflect name change of self-test.
26001 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
26002 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
26003 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
26004 HP failure number.
a0b3c4fd
JM
26005 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
26006 useless HP-UX 10.30 references.
26007 * gdb.base/maint.exp: Loosen matches.
26008 * gdb.base/pointers.c (main): Declare more_code.
26009 * gdb.base/pointers.exp: Match on output of a `next'.
26010 * gdb.base/structs.c: Add prototypes.
26011 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
26012 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
26013
260141999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26015
26016 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 26017 command.
a0b3c4fd
JM
26018
260191999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26020
26021 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
26022 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
26023
26024 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
26025 debug info. Deal with lack of signal hanlder info in stack.
26026
a9c64011 26027 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
26028 * gdb.base/annota1.exp: If printf has debug info, deal with it.
26029
5a2468f5
JM
260301999-07-19 Stan Shebs <shebs@andros.cygnus.com>
26031
26032 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 26033 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 26034
adf40b2e
JM
26035Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
26036
26037 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 26038 a1-selftest.exp.
adf40b2e
JM
26039 * gdb.base/configure: Re-generate.
26040
260411999-07-12 Stan Shebs <shebs@andros.cygnus.com>
26042
26043 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
26044 in trying to run first and name is too long.
26045
26046 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
26047 pointers2.c and pointers2.exp, respectively.
26048 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
26049 doschk happier.
26050
43e526b9
JM
260511999-07-08 Stan Shebs <shebs@andros.cygnus.com>
26052
26053 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
26054 callfuncs2.c and callfuncs2.exp.
26055
26056 * gdb.base/list.exp: Remove mistaken xfails.
26057 * gdb.base/list0.h: Add optional prototypes.
26058
9846de1b
JM
26059Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
26060
a9c64011 26061 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 26062 calling malloc.
a9c64011
AS
26063 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
26064 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 26065 use.
9846de1b
JM
26066
260671999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26068
26069 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
26070 * gdb.base/annota2.cc, annota2.exp: Move from here.
26071 * gdb.c++/annota2.cc, annota2.exp: To here.
26072 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
26073
43ff13b4
JM
26074Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
26075
26076 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 26077 a consistent format.
43ff13b4 26078
085dd6e6
JM
260791999-06-25 Stan Shebs <shebs@andros.cygnus.com>
26080
26081 From Jimmy Guo <guo@cup.hp.com> and others at HP:
26082 * lib/gdb.exp (get_compiler_info): Add detection for assorted
26083 HP compilers, also set the globals $true and $false.
26084
26085 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
26086 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
26087 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
26088 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
26089 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
26090 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
26091 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
26092 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
26093 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
26094 whatis.c} Add C++ compatible function definitions and return
26095 types, add includes for library functions.
085dd6e6
JM
26096 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
26097 * gdb.base/step-test.c (myglob): Rename from glob.
26098 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
26099 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
26100 files, move here from gdb.hp.
085dd6e6 26101 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
26102 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
26103 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
26104 Adjust line numbers in regexps.
085dd6e6
JM
26105
26106 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
26107 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
26108 instead of 0/1.
26109
26110 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
26111 foll-vfork.exp: New files, move here from gdb.hp.
26112 * gdb.base/page.exp: New file, test of pagination command.
26113
26114 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
26115 recursion test.
26116 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
26117
26118 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 26119 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
26120
26121 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 26122 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 26123 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 26124 watchpoint test.
085dd6e6
JM
26125 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
26126 them work.
26127 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
26128 expressions properly.
26129 * gdb.base/corefile.exp: Loosen the match slightly.
26130 * gdb.base/default.exp: Allow "Error accessing memory" message
26131 also.
26132 * gdb.base/display.exp: Skip over x/0 j if PA64.
26133 * gdb.base/funcargs.exp: Add xfails for HP-UX.
26134 * gdb.base/interrupt.exp: Ditto.
26135 * gdb.base/langs.exp: Add symbolic matches governed by compiler
26136 in use.
26137 * gdb.base/list.exp: Add xfails for HP-UX.
26138 * gdb.base/long_long.exp: Refine some of the numeric matches.
26139 * gdb.base/mips_pro.exp: Xfail on HP-UX.
26140 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
26141 * gdb.base/nodebug.exp: Succeed on more varieties of output.
26142 * gdb.base/opaque.exp: Remove some HP-UX xfails.
26143 * gdb.base/ptype.exp: Succeed on more varieties of output.
26144 * gdb.base/scope.exp: Add xfails for HP-UX.
26145 * gdb.base/sect-cmd.exp: Add more cases.
26146 * gdb.base/setvar.exp: Add xfails for HP-UX.
26147 * gdb.base/shlib-call.exp: Loosen some matches slightly.
26148 * gdb.base/signals.exp: Match on void symbolically.
26149 * gdb.base/step-test.exp: Add case for PA64.
26150 * gdb.base/term.exp: Add exit and restart.
26151 * gdb.base/twice.exp: Clean up after self.
26152 * gdb.base/varargs.exp: Disable overload resolution explicitly.
26153 * gdb.base/whatis.exp: Allow more ways to pass tests.
26154
26155 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 26156 no longer useful.
085dd6e6
JM
26157
26158Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
26159
26160 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 26161 list of patterns.
085dd6e6 26162 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
26163 print_double_array(double_array)", "continuing to breakpoint
26164 1018", "print print_double_array(array_d)" and "continuing to
26165 1034" tests.
d63a86f8 26166
085dd6e6
JM
261671999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
26168
a9c64011 26169 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
26170
261711999-06-24 Stan Shebs <shebs@andros.cygnus.com>
26172
26173 * config/mt-*: Remove, these haven't been used since 1996.
26174
261751999-06-22 Stan Shebs <shebs@andros.cygnus.com>
26176
26177 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 26178 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
26179 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
26180
9e0b60a8
JM
261811999-06-18 Stan Shebs <shebs@andros.cygnus.com>
26182
26183 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
26184 simpler match case for the ptype of the big class.
26185
261861999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26187
26188 * gdb.exp: Fix test for gdb_prompt existence.
26189
261901999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26191
26192 * gdb.exp (gdb_test): Add fail after calls to perror.
26193
261941999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26195
26196 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
26197
261981999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
26199
26200 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
26201
0f71a2f6
JM
26202Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
26203
26204 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 26205 malloc() is linked in.
0f71a2f6
JM
26206
262071999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
26208
26209 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
26210 step at end.
26211
26212 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
26213
262141999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
26215
26216 * gdb.java/jv-print.exp: New file. (Our first Java test!)
26217
cce74817
JM
26218Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
26219
26220 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
26221 * gdb.base/mips_pro.exp: Likewise.
26222
262231999-06-02 Keith Seitz <keiths@cygnus.com>
26224
26225 * gdb.c++/templates.cc: Change all "new" operators to throw
26226 an exception.
26227 * gdb.c++/cplusfuncs.cc: Likewise.
26228
26229 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
26230
26231Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
26232
26233 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
26234 * gdb.base/ending-run.exp: When stepping out of main, accept a
26235 step into an arbitrary assembler file.
cce74817 26236
392a587b
JM
262371999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26238
d63a86f8 26239 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 26240 "breakpoint-invalid" to be printed.
6fdff2c5
PA
26241 * gdb.base/annota2.exp: Revise line number for main
26242 breakpoint. Allow any number of "frames-invalid" and
26243 "breakpoint-invalid" to be printed.
392a587b
JM
26244 * gdb.base/annota2.cc: Initialize a.x to 0.
26245
9e086581
JM
262461999-05-17 Keith Seitz <keiths@cygnus.com>
26247
6fdff2c5
PA
26248 * gdb.base/call-ar-st.exp: Skip
26249 "print print_double_array (double_array)" when "skip_float_tests" set.
26250 Ditto for "print print_double_array(array_d)",
26251 "print print_small_structs", "print print_ten_doubles", and
26252 "step into print_long_arg_list".
26253 Don't assume we can step into "print_long_arg_list": we could step
26254 into memcpy.
26255 * gdb.base/call-rt-st.exp: Don't run float-related tests when
26256 "skip_float_tests" is set: "print print_one_double(*d1)"
26257 and "print print_two_floats(*f3)".
9e086581
JM
26258 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
26259 "skip_float_tests" is set.
6fdff2c5
PA
26260 * gdb.base/varargs.exp: Skip
26261 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
26262 "skip_float_tests" set.
d63a86f8 26263
cd0fc7c3
SS
262641999-05-06 Keith Seitz <keiths@cygnus.com>
26265
26266 * gdb.base/annota2.cc: Include stdio.h.
26267
26268Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
26269
26270 * gdb.base/crossload.exp: Remove, this has been disabled ever
26271 since BFD stopped including all targets, and cross-GDB gets
26272 plenty of testing anyway.
26273 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
26274 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
26275 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
26276 * gdb.base/README: Remove, was doc for this.
26277 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 26278 needed.
cd0fc7c3 26279
b83266a0
SS
262801999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26281
26282 * gdb.base/call-ar-st.exp: Fix one regular expression in test
26283 output.
26284
26285 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
26286 * gdb.base/annota2.exp: New file. More annotation tests.
26287 * gdb.base/annota1.c: New file. Source file for annota1.exp.
26288 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
26289
262901999-04-23 Angela Marie Thomas <angela@cygnus.com>
26291
26292 * config/cfdbug.exp: New file.
26293
7a292a7a
SS
262941999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
26295
26296 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
26297 Marcus Daniel's and Dale Hawkins's demangler crashes.
26298
26299 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
26300 test_lucid_style_demangling, test_arm_style_demangling,
26301 test_hp_style_demangling): Try Tom Tromey's core-dumping
26302 identifier under each demangling style.
7a292a7a
SS
26303
263041999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
26305
26306 * gdb.c++/demangle.exp: Include the current demangling style
26307 in all test names.
26308 (current_demangling_style): New global variable.
26309 (set_demangling_style, test_demangling_core, test_demangling,
26310 test_demangling_exact): New functions.
26311 (test_gnu_style_demangling, test_lucid_style_demangling,
26312 test_arm_style_demangling, test_hp_style_demangling): Use those,
26313 instead of calling gdb_test and gdb_test_exact directly.
26314 (catch_demangling_errors): New function, which reports errors
26315 signalled by the demangling test functions in an orderly way.
26316 (do_tests): Use catch_demangling_errors.
26317
263181999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
26319
26320 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 26321 grouping in expressions, not {}.
7a292a7a
SS
26322
26323 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 26324 initialized yet.
7a292a7a
SS
26325
263261999-04-01 Stan Shebs <shebs@andros.cygnus.com>
26327
26328 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
26329 are listed.
26330
263311999-03-26 Stan Shebs <shebs@andros.cygnus.com>
26332
26333 * gdb.stabs/weird.exp: Test for CC being defined before
26334 looking at its value.
26335
263361999-03-25 Stan Shebs <shebs@andros.cygnus.com>
26337
26338 * gdb.base/call-ar-st.exp: Remove stray '#'.
26339 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
26340 "short int" and "long int".
26341 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 26342 change, to mollify finicky HP compiler.
7a292a7a
SS
26343 * gdb.hp/reg-test.exp (testfile): Fix file name.
26344 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 26345
7a292a7a
SS
26346 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
26347 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
26348 alternate form of enum ptype.
26349
c906108c
SS
263501999-03-23 Stan Shebs <shebs@andros.cygnus.com>
26351
7a292a7a
SS
26352 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
26353 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
26354 passing skip_hp_tests, so as not to waste time on guaranteed
26355 failure.
7a292a7a 26356
c906108c
SS
26357 * gdb.c++/overload.cc: Pass string instead of char addr, always
26358 init ccpfoo.
26359 * gdb.c++/templates.cc: Fix syntax error.
26360
7a292a7a
SS
26361Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26362
26363 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 26364 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
26365 command.
26366
263671999-03-18 James Ingham <jingham@cygnus.com>
26368
26369 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
26370
26371 * gdb.c++/method.exp: It was testing an uninitialized int on the
26372 stack and assuming it was positive.
26373
26374 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
26375
26376 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 26377 keep it from killing the rest of the tests.
7a292a7a
SS
26378 Use gdb_continue_to_end.
26379
26380 * gdb.base/sigall.exp: use gdb_continue_to_end.
26381
26382 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
26383
26384 * gdb.base/display.exp: use runto_main, not run.
26385
d63a86f8
RM
26386 * gdb.base/default.exp: Check for the current error message in the
26387 r abbreviation test.
7a292a7a
SS
26388 Add strongarm to the targets that know info float.
26389
d63a86f8 26390 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
26391 run which doesn't work with monitors.
26392
6fdff2c5
PA
26393 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
26394 1034 test.
7a292a7a
SS
26395
26396 * gdb.base/break.exp: use the gdb_continue_to_end proc.
26397
6fdff2c5
PA
26398 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
26399 end of a program. Traps the case (in Cygmon) when the program
26400 never really exits. Same as Mark's continue_to_exit, but I had
26401 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
26402
26403 * config/monitor.exp (gdb_target_monitor): added another
26404 target_info parameter: remotebinarydownload. This will set the
26405 remotebinarydownload flag if this is causing some boards trouble.
26406
264071999-03-18 Mark Salter <msalter@cygnus.com>
26408
26409 * lib/gdb.exp (continue_to_exit): New function.
26410
26411 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
26412 * gdb.base/ending-run.exp: Ditto.
26413 * gdb.base/step-test.exp: Ditto.
26414
264151999-03-16 Stan Shebs <shebs@andros.cygnus.com>
26416
26417 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
26418 (suggested by Art Haas <ahaas@neosoft.com>).
26419
264201999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
26421
889bf7c5 26422 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
26423
26424Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
26425
26426 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 26427 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
26428
264291999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
26430
26431 * gdb.base/call-strs.exp: Don't assume that `step' will step over
26432 a call to strlen; sometimes we do have sources.
26433
264341999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
26435
26436 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 26437 character, so GDB won't print garbage after its end.
d63a86f8 26438
c906108c
SS
26439 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
26440 breakpoint there instead. Sometimes GCC emits memcpy to handle
26441 the large structures being passed by value, so we step into that
26442 instead of sum_array_print, which obscures what we're really testing.
26443 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
26444 the bizarre steps into memcpy, so do that here. Add check for
26445 stepping into function calls that pass large structures by value.
26446 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
26447 Remove all references to specific line numbers.
26448 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
26449 New type and function.
26450 (main): Call large_struct_by_value, passing it a large struct by value.
26451 * lib/gdb.exp (gdb_get_line_number): New function.
26452
26453 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
26454 more portable.
26455
7a292a7a
SS
264561999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
26457
c906108c
SS
26458 * lib/gdb.exp: Doc fixes.
26459
7a292a7a
SS
264601999-03-05 Nick Clifton <nickc@cygnus.com>
26461
d63a86f8 26462 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
26463
264641999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
26465
c906108c 26466 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
26467 commands. They're not germane to this test, and they don't work
26468 that way on remote targets.
c906108c 26469
3fc11d3e
JM
264701999-03-01 James Ingham <jingham@cygnus.com>
26471
26472 * Changelog entries merged over from gdb development branch.
26473
3fc11d3e
JM
26474 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
26475
26476 * lib/gdb.exp (gdbtk_analyze_results): Generic function
26477 for outputting results of test run.
26478
2d4a1622 26479 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
26480
26481 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 26482
7a292a7a
SS
264831999-02-25 Felix Lee <flee@cygnus.com>
26484
26485 * lib/gdb.exp (debug_format): initialize
26486
c906108c
SS
264871999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
26488
26489 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
26490 * gdb.base/call-rt-st.c: Ditto.
26491
c906108c
SS
264921999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
26493
26494 * gdb.threads/pthreads.exp (horiz): New variable.
26495 (test_startup): Fix regexps that capture thread numbers.
26496
264971999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
26498
26499 * gdb.base/smoke.exp: Disambiguate two test case names (both
26500 called ``print'').
26501
26502Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26503
26504 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 26505 compilation.
c906108c
SS
26506
265071999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26508
26509 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26510 actual output formatting.
26511 * gdb.base/smoke.exp: GDB removes leading 0's.
26512 * gdb.base/volatile.exp: Don't check type of remuneration;
26513 that variable is no longer defined in constvars.c.
26514 * gdb.base/step-test.c (main): Exit with explicit exit code.
26515 * gdb.base/step-test.exp: Remove two nexti checks--they are
26516 not portable.
26517
265181999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26519
26520 * gdb.base/help.exp ("help delete display"): Fix test to match
26521 gdb's output.
26522
26523 * gdb.base/long_long.c (known_types): Initialize values to zero.
26524 * gdb.base/long_long.exp: Step one more line
26525 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
26526 leading zeros. Explicitly ask for hex formatting. Use
26527 unique test case names.
c906108c
SS
26528
26529Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26530
d63a86f8 26531 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
26532
26533 * gdb.c++/method.exp: Add missing close brace.
26534
265351999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26536
26537 * gdb.base/maint.exp: Use 'set height 0' to disable page
26538 prompting, not 'set height 400'.
26539
26540 Fix a bunch of timeouts.
26541 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26542 four separate tests, so expect doesn't take forever to match a ton
26543 of text against a regexp with lots of .* forms.
26544 ("maint print psymbols", "maint print symbols"): Make some of
26545 these greps more selective, so that expect doesn't try to wade
26546 through huge piles of output and time out.
26547
26548 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26549
26550 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
26551 tests: one which doesn't expect shlib events to be reported, and
26552 another which does, but is XFAIL for all platforms other than
26553 HP/UX.
c906108c
SS
26554
26555 * gdb.base/break.exp: Teach the test suite that the `catch
26556 fork', `catch vfork', and `catch exec' commands produce error
26557 messages on platforms that don't provide these features.
26558
26559Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26560
26561 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
26562 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26563 (shortening names from solib_threshold.exp etc), won't run on
26564 anything but HP-UX for the foreseeable future.
c906108c 26565 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 26566 reflect move.
c906108c
SS
26567
26568Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26569
26570 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 26571 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
26572
26573Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26574
26575 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26576 successfully re-sets breakpoints in shared libraries.
26577 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26578
26579Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26580
d63a86f8
RM
26581 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26582 and compiled w/o GCC.
c906108c
SS
26583
26584 * gdb.hp/watch-cmd.exp: ditto.
26585
26586 * gdb.hp/watch-hp.exp: ditto.
26587
26588 * gdb.hp/xdb1.exp: ditto.
26589
26590 * gdb.hp/xdb2.exp: ditto.
26591
26592 * gdb.hp/dbx.exp: ditto.
26593
26594Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26595
26596 * constvars.c: Remove C++-isms.
26597 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 26598 with GCC.
c906108c
SS
26599
26600Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26601
26602 The following changes are part of the HP merge.
26603
26604 * gdb.base/break.exp: new tests to verify that catchpoints for
26605 fork, vfork, and exec don't trigger inappropriately.
26606
26607 * gdb.base/opaque.exp: compile one file at a time, then link.
26608
26609 * gdb.base/signals.exp: be more restrictive about which hppa
26610 systems receive a setup_xfail. new tests.
26611
26612 * gdb.base/solib_threshold.build: new file.
26613 * gdb.base/solib_threshold.exp: new file.
26614 * gdb.base/solib_threshold.link_opts: new file.
26615 * gdb.base/solib_threshold.mk: new file.
26616 * gdb.base/gen_solib_threshold.c: new file.
26617
26618 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26619 tests. New tests for enums inside classes.
26620
26621 * gdb.c++/compiler.cc: indicate support of template debugging.
26622
26623 * gdb.c++/demangle.exp: run hp style demangling tests.
26624
26625 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26626 tests.
26627
26628 * gdb.c++/misc.cc: changes to support new tests.
26629
26630 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26631 to support new tests.
26632
26633 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26634 gcc, then skip these tests.
26635
26636Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26637
26638 The following files are part of the HP merge; some had longer
26639 names at HP, but have been renamed to be no more than 14
26640 characters in length.
26641
26642 * gdb.hp/ambiguous.cc: new file.
26643 * gdb.hp/ambiguous.exp: new file.
26644 * gdb.hp/attach.exp: new file.
26645 * gdb.hp/attach2.exp: new file.
26646 * gdb.hp/classes-hp.exp: new file.
26647 * gdb.hp/ctti.exp: new file.
26648 * gdb.hp/ctti-add.cc: new file.
26649 * gdb.hp/ctti-add1.cc: new file.
26650 * gdb.hp/ctti-add2.cc: new file.
26651 * gdb.hp/ctti-add3.cc: new file.
26652 * gdb.hp/dbx.exp: new file.
26653 * gdb.hp/exception.cc: new file.
26654 * gdb.hp/exception.exp: new file.
26655 * gdb.hp/foll-exec.c: new file.
26656 * gdb.hp/foll-exec.exp: new file.
26657 * gdb.hp/foll-fork.c: new file.
26658 * gdb.hp/foll-fork.exp: new file.
26659 * gdb.hp/foll-vfork.c: new file.
26660 * gdb.hp/foll-vfork.exp: new file.
26661 * gdb.hp/inherit-hp.exp: new file.
26662 * gdb.hp/more-steps.exp: new file.
26663 * gdb.hp/namespace.cc: new file.
26664 * gdb.hp/namespace.exp: new file.
26665 * gdb.hp/optimize.exp: new file.
26666 * gdb.hp/pxdb.c: new file.
26667 * gdb.hp/pxdb.exp: new file.
26668 * gdb.hp/quicksort.exp: new file.
26669 * gdb.hp/reg-test.exp: new file.
26670 * gdb.hp/reg-test.s: new file.
26671 * gdb.hp/sized-enum.c: new file.
26672 * gdb.hp/sized-enum.exp: new file.
26673 * gdb.hp/start-stop.exp: new file.
26674 * gdb.hp/templ-hp.cc: new file.
26675 * gdb.hp/templ-hp.exp: new file.
26676 * gdb.hp/thr-lib.c: new file.
26677 * gdb.hp/thr-lib.exp: new file.
26678 * gdb.hp/thr-lib.h: new file.
26679 * gdb.hp/thr-liblib.c: new file.
26680 * gdb.hp/virtfun-hp.c: new file.
26681 * gdb.hp/virtfun-hp.exp: new file.
26682 * gdb.hp/watch-cmd.exp: new file.
26683 * gdb.hp/watch-hp.exp: new file.
26684 * gdb.hp/xdb1.exp: new file.
26685 * gdb.hp/xdb2.exp: new file.
26686 * gdb.hp/xdb3.exp: new file.
26687
26688Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26689
26690 The following files are part of the HP merge; some had longer
26691 names at HP, but have been renamed to be no more than 14
26692 characters in length.
26693
26694 * gdb.base/ss.h: new file.
26695 * gdb.base/call-ar-st.c: new file.
26696 * gdb.base/call-ar-st.exp: new file.
26697 * gdb.base/call-rt-st.c: new file.
26698 * gdb.base/call-rt-st-exp: new file.
26699 * gdb.base/call-strs.exp: new file.
26700 * gdb.base/ena-dis-br.exp: new file.
26701 * gdb.base/environ.exp: new file.
26702 * gdb.base/long_long.exp: new file.
26703 * gdb.base/sect-cmd.exp: new file.
26704 * gdb.base/shlib-cl2.exp: new file.
26705 * gdb.base/smoke.exp: new file.
26706 * gdb.base/so-impl-ld.c: new file.
26707 * gdb.base/so-impl-ld.exp: new file.
26708 * gdb.base/so-indr-cl.c: new file.
26709 * gdb.base/so-indr-cl.exp: new file.
26710 * gdb.base/varargs.exp: new file.
26711 * gdb.base/volatile.exp: new file.
26712 * gdb.base/whatis-exp.exp: new file.
7a292a7a 26713 * gdb.base/display.exp: new file.
c906108c
SS
26714 * gdb.c++/derivation.exp: new file.
26715 * gdb.c++/local.exp: new file.
26716 * gdb.c++/member-ptr.exp: new file.
26717 * gdb.c++/overload.exp: new file.
26718 * gdb.c++/ovldbreak.exp: new file.
26719 * gdb.c++/ref-types.exp: new file.
26720 * gdb.c++/ref-types2.exp: new file.
26721 * gdb.c++/userdef.exp: new file.
d63a86f8 26722
c906108c
SS
26723Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26724
26725 * gdb.base/default.exp: Reflect wording change in remote.c.
26726
dc96c6c7 26727Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26728
26729 * gdb.base/help.exp: Update to reflect current text.
26730
26731Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26732
26733 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26734 they're stack variables and contain garbage.
26735 * gdb.c++/anon-union.exp: new file.
26736
26737 The following changes were made by David Taylor
889bf7c5
PA
26738 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26739 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26740 in changes by HP.
c906108c
SS
26741
26742 * gdb.base/bitops.exp: new file.
26743 * gdb.base/default.exp: change expected messages for catch and
26744 info catch tests to reflect HP merge changes.
26745 * gdb.base/enable-disable-break.exp
26746 * gdb.base/ending-run.c: new file.
26747 * gdb.base/long_long.c: new file.
26748 * gdb.base/maint.exp: new file.
26749 * gdb.base/pointers2.exp: new file.
26750 * gdb.base/shlib-call2.exp: new file.
26751 * gdb.base/solib.exp: new file.
26752 * gdb.base/step-test.c: new file.
26753 * gdb.c++/anon-union.cc: new file.
26754 * gdb.c++/local.cc: new file.
26755 * gdb.c++/member-pointer.cc: new file.
26756 * gdb.c++/method.cc: new file.
26757 * gdb.c++/ref-types.cc: new file.
26758 * gdb.c++/ref-types2.cc: new file.
26759 * gdb.c++/userdef.cc: new file.
d63a86f8 26760
c906108c
SS
26761 * gdb.base/scope.exp: compile one file at a time, then link.
26762 * gdb.base/langs.exp: ditto.
26763 * gdb.base/list.exp: ditto.
d63a86f8 26764
c906108c
SS
26765Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26766
26767 The following changes were made by David Taylor
889bf7c5
PA
26768 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26769 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26770 in changes by HP.
d63a86f8 26771
c906108c
SS
26772 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26773 skip tests. When compiling pass c++ flag to gdb_compile.
26774 * gdb.c++/
d63a86f8 26775
c906108c
SS
26776 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26777 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26778 (skip_hp_tests): new function.
26779 (gdb_preprocess): new function.
26780
26781 * configure.in (hpdir): decide whether to configure gdb.hp.
26782 * configure: regenerated.
26783
26784 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26785 to delete on clean.
26786 (EXECUTABLES): update to reflect new additions.
26787 * gdb.base/commands.exp: update message expected.
26788 * gdb.base/default.exp: add copyright notice.
26789 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26790 * gdb.base/help.exp: update messages to reflect current text.
26791 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26792 targets for recurse tests.
26793 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26794 skip this file.
26795
26796 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26797 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26798 compilation.
26799 * gdb.c++/misc.exp: ditto.
26800 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26801 run the tests. tell gdb_compile that it's a c++ compilation.
26802
26803 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 26804
c906108c
SS
26805 * gdb.base/all-bin.exp: new file.
26806 * gdb.base/arithmet.exp: new file.
26807 * gdb.base/assign.exp: new file.
26808 * gdb.base/completion.exp: new file.
26809 * gdb.base/cond-expr.exp: new file.
26810 * gdb.base/condbreak.exp: new file.
26811 * gdb.base/define.exp: new file.
26812 * gdb.base/dollar.exp: new file.
26813 * gdb.base/environment.exp: new file.
26814 * gdb.base/eval-skip.exp: new file.
26815 * gdb.base/jump.exp: new file.
26816 * gdb.base/logical.exp: new file.
26817 * gdb.base/pointers.exp: new file.
26818 * gdb.base/relational.exp: new file.
26819 * gdb.base/section_command.exp: new file.
26820 * gdb.base/whatis-expr.exp: new file.
26821
26822 * gdb.base/all-types.c: new file.
26823 * gdb.base/call-array-struct.c: new file.
26824 * gdb.base/call-return-struct.c: new file.
26825 * gdb.base/call-strings.c: new file.
26826 * gdb.base/callfuncs2.c: new file.
26827 * gdb.base/condbreak.c: new file.
26828 * gdb.base/constvars.c: new file.
26829 * gdb.base/display.c: new file.
26830 * gdb.base/int-type.c: new file.
26831 * gdb.base/jump.c: new file.
26832 * gdb.base/miscexprs.c: new file.
26833 * gdb.base/pointers.c: new file.
26834 * gdb.base/pointers2.c: new file.
26835 * gdb.base/shmain.c: new file.
26836 * gdb.base/shr1.c: new file.
26837 * gdb.base/shr2.c: new file.
26838 * gdb.base/solib.c: new file.
26839 * gdb.base/solib1.c: new file.
26840 * gdb.base/solib2.c: new file.
26841 * gdb.base/varargs.c: new file.
26842 * gdb.c++/derivation.cc: new file.
26843 * gdb.c++/overload.cc: new file.
26844 * gdb.c++/ovldbreak.cc: new file.
26845 * gdb.hp/attach.c: new file.
26846 * gdb.hp/attach2.c: new file.
26847 * gdb.hp/average.c: new file.
26848 * gdb.hp/compiler.c: new file.
26849 * gdb.hp/compiler.cc: new file.
26850 * gdb.hp/execd-program.c: new file.
26851 * gdb.hp/follow-exec.c: new file.
26852 * gdb.hp/follow-fork.c: new file.
26853 * gdb.hp/follow-vfork-and-exec.c: new file.
26854 * gdb.hp/misc-hp.cc: new file.
26855 * gdb.hp/more-steps.c: new file.
26856 * gdb.hp/optimize.c: new file.
26857 * gdb.hp/quicksort.c: new file.
26858 * gdb.hp/run-hp.c: new file.
26859 * gdb.hp/start-stop.c: new file.
26860 * gdb.hp/sum.c: new file.
26861 * gdb.hp/templates-hp.cc: new file.
26862 * gdb.hp/thread-local-in-lib.c: new file.
26863 * gdb.hp/thread-local-in-lib.h: new file.
26864 * gdb.hp/thread-local-in-lib.lib.c: new file.
26865 * gdb.hp/vforked-program.c: new file.
26866 * gdb.hp/virtfunc-hp.cc: new file.
26867 * gdb.hp/watchpoint-hp.c: new file.
26868 * gdb.hp/xdb.c: new file.
26869 * gdb.hp/xdb0.c: new file.
26870 * gdb.hp/xdb0.h: new file.
26871 * gdb.hp/xdb1.c: new file.
26872
26873Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26874
26875 The following change was made by Edith Epstein
889bf7c5
PA
26876 <eepstein@cygnus.com> as part of a project to merge in changes
26877 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
26878
26879 * gdb.c++/demangle.exp: changed the expected output for some
26880 ARM-style mangling -- removed second reference to datatype.
889bf7c5 26881 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 26882 T1<char>::~T1<char>(void)
c906108c 26883 becomes,
a9c64011
AS
26884 maint demangle __dt__11T1__pt__2_cFv
26885 T1<char>::~T1(void)
c906108c 26886
889bf7c5 26887 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 26888
c906108c
SS
26889Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26890
26891 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26892 * gdb.trace/backtrace.exp: Likewise.
26893 * gdb.trace/circ.exp: Likewise.
26894 * gdb.trace/collection.exp: Likewise.
26895 * gdb.trace/deltrace.exp: Likewise.
26896 * gdb.trace/infotrace.exp: Likewise.
26897 * gdb.trace/limits.exp: Likewise.
26898 * gdb.trace/packetlen.exp: Likewise.
26899 * gdb.trace/passc-dyn.exp: Likewise.
26900 * gdb.trace/passcount.exp: Likewise.
26901 * gdb.trace/report.exp: Likewise.
26902 * gdb.trace/save-trace.exp: Likewise.
26903 * gdb.trace/tfind.exp: Likewise.
26904 * gdb.trace/tracecmd.exp: Likewise.
26905 * gdb.trace/while-dyn.exp: Likewise.
26906 * gdb.trace/while-stepping.exp: Likewise.
26907
269081998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26909
26910 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26911
26912Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26913
26914 From Brendan Kehoe:
26915 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26916 int return types.
26917
26918Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26919
26920 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 26921 remote dos host testing right.
c906108c
SS
26922
26923Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26924
26925 * gdb.base/corefile.exp: remove some xfails.
26926
26927Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26928
26929 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 26930 have different timestamps.
c906108c
SS
26931
26932Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26933
26934 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 26935 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
26936
26937Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26938
26939 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 26940 delta.
c906108c
SS
26941
26942Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26943
26944 * gdb.base/default.exp: Add brace missing from previous delta.
26945
26946Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26947
26948 * gdb.base/default.exp: Support test for info float for all
26949 varieties of arm toolchain.
26950
dc96c6c7 26951Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26952
26953 * gdb.trace/*.exp: remove "remote_download" command.
26954
dc96c6c7 26955Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26956
26957 * gdb.trace/*.exp: remove -gdwarf from compile.
26958
26959Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26960
26961 * gdb.trace/configure.in(AC_INIT): typo
26962 * gdb.trace/configure: regenerated
26963
dc96c6c7 26964Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26965
26966 * config/m68k-emc.exp: New file.
26967 * lib/<emc-support.exp trace-support.exp}: New files.
26968 * configure.in: add new test directory gdb.trace.
26969 * gdb.trace/{configure configure.in Makefile.in}: New files.
26970 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26971 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26972 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26973 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26974 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26975 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26976 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 26977
dc96c6c7 26978Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26979
26980 * gdb.c++/classes.exp: Change all regular expressions to match
26981 arbitrary combinations of newline/carriage-return, so that they
26982 will work equally well on Unix and Windows.
26983 * gdb.c++/inherit.exp: ditto.
26984 * gdb.c++/virtfunc.exp: ditto.
26985
269861998-08-11 Dawn Perchik <dawn@cygnus.com>
26987
26988 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26989
c2d11a7d
JM
26990Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26991
26992 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26993 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26994 to use a0-a3/d0-d3 as needed.
26995
26996Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26997
26998 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26999 * gdb.disasm/am33.exp: Corresponding changes.
27000
c906108c
SS
270011998-07-11 Felix Lee <flee@cygnus.com>
27002
27003 * gdb.base/callfuncs.exp: add cmp10 test.
27004 * gdb.base/callfuncs.c (cmp10): new function.
27005
27006Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
27007
d63a86f8 27008 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
27009 into two parts to get around a synchronization problem in expect.
27010
3fc11d3e
JM
27011Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
27012
27013 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
27014
27015 * configure.in: Add options for gdbtk testsuite.
27016
27017 * configure: Regenerate.
27018
27019 * gdb.gdbtk: New directory to hold gdbtk tests.
27020
c906108c
SS
27021Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27022
27023 * gdb.fortran/types.exp: Escape brackets in expect patterns
27024 for test_float_literal_types_accepted tests.
27025 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
27026 before run test.
27027
c2d11a7d
JM
27028Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
27029
27030 * am33.exp: Just compile, do not link the testcase.
27031 * am33.s: Add ".am33" pseudoop to force am33 mode.
27032
c906108c
SS
270331998-06-25 Felix Lee <flee@cygnus.com>
27034
27035 * gdb.base/setshow.exp: make sure $pc is sane.
27036
27037 * gdb.stabs/weird.exp: split expect patterns properly.
27038
c2d11a7d
JM
27039Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
27040
27041 * gdb.disasm/am33.s: New disassembler testfile for the am33.
27042 * gdb.disasm/am33.exp: Run it.
27043
dc96c6c7 27044Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27045
27046 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
27047 match processing (and eliminate spurious timeouts when running).
27048
dc96c6c7 27049Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27050
27051 * gdb.base/signals.exp (test_handle_all_print): put back Mach
27052 exception test, but conditionalize it on target [mach | gnu].
27053
dc96c6c7 27054Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27055
27056 * gdb.base/overlays.exp: fixup compile line for linker script.
27057
27058Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
27059
27060 * gdb.fortran/types.exp: don't guess at float size.
27061
27062Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
27063
27064 * gdb.base/exprs.exp: delete test that depends on int size.
27065
27066Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
27067
27068 * config/sim.exp: Removed checks for target triplets.
27069 (gdb_target_sim): Use gdb,target_sim_options.
27070
27071Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
27072
27073 * gdb.base/reread.exp: New file.
27074 * gdb.base/reread1.c: New file.
27075 * gdb.base/reread2.c: New file.
27076
27077Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
27078
27079 * config/sim.exp: Use 'target sim -sparclite' when running
27080 SPARClite programs.
27081
27082Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
27083
27084 * gdb.base/structs2.exp: New file.
27085 * gdb.base/structs2.c: New file.
27086
27087Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
27088
27089 * gdb.asm/common.inc: New file.
27090 * gdb.asm/d10v.inc: New file.
27091 * asm-source.exp: Pass -I's to gas to find .inc files.
27092 Update line numbers in expected output.
27093 * asmsrc1.s: Rewrite.
27094 * asmsrc2.s: Rewrite.
27095 * configure.in: Create arch.inc symlink.
27096 * configure: Regenerate.
27097 * Makefile.in (distclean): Delete arch.inc.
27098
27099Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
27100
27101 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
27102 (t_enum_value2): ditto
27103 (t_enum_value3): ditto
27104 (main): ditto
c906108c
SS
27105Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
27106
27107 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
27108 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
27109 change.
27110 Use gdb_test instead of send_gdb/gdb_expect sequences.
27111
27112Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
27113
27114 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
27115 not void.
27116
27117Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
27118
27119 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
27120 subroutines. Used to test gdbs ability to single step through PC
27121 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
27122
27123Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
27124
27125 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
27126 more rigorous EGCS C++ error checking.
27127
27128Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27129
a9c64011
AS
27130 * gdb.base/help.exp: Clean up `help set args' and `help show args'
27131 tests.
27132 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
27133 function when asleep.
27134 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
27135 for i*86 Linux and SVR4 signal handling problems.
27136 Remove linux xfail for `next to handler in signals_tests_1', fixed
27137 by recent infrun.c change.
27138 Limit backtrace to 10 frames to avoid timeout problems with infinite
27139 stack backtraces.
27140 Adjust expect pattern in `handle all print' test to match Apr 28 1997
27141 target.[ch] change.
c906108c
SS
27142
27143Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
27144
27145 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
27146 for a newline from gdb before continuing.
27147 (default_gdb_exit): Just look for y or n.
27148 (gdb_test): Detect abnormal exit from GDB running on DOS; if
27149 it does, fail the rests of the tests in the file.
27150
27151Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
27152
27153 * config/cygmon.exp: New file.
27154
27155Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
27156
27157 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 27158 main" test on remote targets.
c906108c
SS
27159
27160 * gdb.base/scope.exp: Fix problem with filelocal_bss before
27161 run test on remote targets.
27162
27163Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
27164
27165 * gdb.asm: New directory.
27166 * configure.in: Configure it.
27167 * configure: Regenerate.
27168 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
27169 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
27170
27171Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
27172
27173 * config/mn10300-eval.exp: New file to support MN10300 eval board.
27174
dc96c6c7 27175Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27176
a9c64011
AS
27177 * gdb.base/overlays (several files): Merge the two overlay
27178 managers into one. Change variables (foox, barx, bazx, grbxx)
27179 back into ints but force them to load in their proper sections.
c906108c
SS
27180
27181Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
27182
27183 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 27184 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
27185 (D10VCopy): Handle memory regions crossing 16k boundaries.
27186 (D10VCopy): Transfer data in 32 bit chunks.
27187
27188Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
27189
27190 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 27191 correct.
c906108c
SS
27192
27193 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 27194 map. Include space for printf in .text segment.
c906108c
SS
27195
27196 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 27197 updated d10v memory VMA/LMA map.
c906108c 27198 (D10VCopy): Call D10VTranslate.
d63a86f8 27199
c906108c
SS
27200Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
27201
27202 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
27203
27204 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
27205 that it won't be put into the .sdata - small data -
27206 section. Update reference.
c906108c
SS
27207 * gdb.base/baz.c (bazx, baz): Ditto.
27208 * gdb.base/foo.c (foox, foo): Ditto.
27209 * gdb.base/grbx.c (grbxx, grbx): Ditto.
27210
27211 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 27212 to be arrays.
d63a86f8 27213
dc96c6c7 27214Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 27215
a9c64011
AS
27216 * gdb.base/overlays.exp: fix up and get working again.
27217 Add tests for backtraces from an overlay function.
d63a86f8 27218
c906108c
SS
27219Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
27220
27221 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
27222 "calling function with watchpoint enabled".
27223
27224Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
27225
27226 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 27227 gdb_suppress_tests for d10v-*-*.
c906108c
SS
27228 * lib/gdb.exp (gdb_suppress_tests): Disable this function
27229 pending review of whether it is useful or not.
27230
27231Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
27232
27233 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
27234
27235Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
27236
27237 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
27238 * config/dve.exp: New file to support Densan boards.
27239
27240Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
27241
27242 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 27243 reads and BSD.
c906108c
SS
27244
27245Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
27246
27247 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
27248 response.
27249
27250 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
27251
27252Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
27253
27254 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 27255 test.
c906108c
SS
27256
27257 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 27258 target_sizeof_long and target_bigendian_p.
c906108c 27259 (structs_by_value, structs_by_reference): Check values according
889bf7c5 27260 to targets word size and endianess.
d63a86f8 27261
c906108c
SS
27262Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
27263
27264 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 27265 output.
c906108c
SS
27266
27267Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
27268
27269 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 27270 Update test of set args help to match source change.
c906108c
SS
27271
27272Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
27273
27274 * gdb.base/default.exp: Expect help system output to be in
27275 alphabetical order.
27276 * gdb.base/help.exp: Ditto.
27277
27278Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
27279
27280 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
27281 "i*86-pc-linux-gnu*".
27282 * gdb.base/interrupt.exp: Ditto.
27283 * gdb.base/corefile.exp: Ditto.
27284
27285 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 27286 define vxworks when building the testcase.
c906108c
SS
27287
27288 * gdb.base/ptype.exp: Fix testnames to be unique.
27289 * gdb.base/radix.exp: Ditto.
27290 * gdb.base/term.exp: Ditto.
27291 * gdb.base/whatis.exp: Ditto.
27292 * gdb.c++/classes.exp: Ditto.
27293
27294Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
27295
27296 * gdb.base/callfuncs.exp: Fix indentation.
27297
27298 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
27299 suppress_flag has been set.
27300 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
27301 target feature.
27302
27303Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
27304
27305 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
27306 the testcase.
27307
27308 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 27309 set_debug_traps() and breakpoint().
c906108c
SS
27310 * gdb.c++/misc.cc (main): Ditto.
27311 * gdb.c++/templates.cc (main): Ditto.
27312 * gdb.c++/virtfunc.cc (main): Ditto.
27313
27314Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
27315
27316 * lib/gdb.exp(gdb_step_for_stub): New function.
27317 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
27318 exists, reload the executable and do a "continue" instead of
27319 doing a jump.
27320 (runto_main): Use gdb_step_for_stub.
d63a86f8 27321
c906108c 27322 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 27323 tests to have unique names.
c906108c
SS
27324 * gdb.base/callfuncs.exp: Ditto.
27325 * gdb.base/commands.exp: Ditto.
27326 * gdb.base/default.exp: Ditto.
27327 * gdb.base/help.exp: Ditto.
27328 * gdb.base/list.exp: Ditto.
27329 * gdb.base/opaque.exp: Ditto.
27330 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
27331 similar tests.
d63a86f8 27332
c906108c
SS
27333 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
27334 * gdb.c++/cplusfuncs.cc: Ditto.
27335 * gdb.c++/virtfunc.cc: Ditto.
27336
27337 * config/monitor.exp: Keep track of the last file we saw, rather
27338 than trying to get the info from gdb.
27339
27340 * gdb.fortran/types.exp: Move comment to previous line.
27341
27342Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
27343
27344 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 27345 target mode.
c906108c
SS
27346
27347Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
27348
27349 From Bob Manson:
27350 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 27351 string from GDB when it connects.
c906108c
SS
27352
27353 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
27354
27355Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
27356
27357 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
27358 if we can't get a debug format from GDB (we may be testing an
27359 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
27360
27361 * gdb.stabs/weird.exp: Fix quoting.
27362
27363 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
27364
27365Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
27366
27367 * config/arm-ice.exp: New file.
27368
27369Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
27370
27371 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 27372 until it has been modified to work with the new testsuite.
c906108c 27373
99707966 27374 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
27375 testcase won't compile, cause all of the testcases in the file to
27376 fail instead.
c906108c
SS
27377
27378 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
27379 (gdb_clear_suppressed): New procedure.
27380 (gdb_stop_suppressing_tests): Only clear suppress_flag if
27381 it contains a positive value.
27382
27383Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
27384
27385 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
27386
27387 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
27388
27389Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
27390
27391 * lib/gdb.exp (setup_xfail_format): New function.
27392 (get_debug_format): New function to get debug format.
27393 (debug_format): New global variable to hold last value set
27394 by get_debug_format.
27395 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 27396 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
27397 * gdb.c++/ptype.exp: Ditto.
27398 * gdb.c++/classes.exp: Ditto.
27399 * gdb.c++/cplusfuncs.exp: Ditto.
27400 * gdb.c++/inherit.exp: Ditto.
27401 * gdb.c++/templates.exp: Ditto.
27402 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 27403
c906108c
SS
27404Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
27405
27406 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
27407 host doesn't have a currently-open connection.
27408
27409 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
27410 any gdb stub target. Handle cases where gdb doesn't respond when
27411 interrupted in a sane fashion.
c906108c
SS
27412
27413 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 27414 same thing in a totally different way.
c906108c
SS
27415
27416 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 27417 setting "timeout".
c906108c 27418 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 27419 default_gdb_init now.
c906108c
SS
27420
27421Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
27422
27423 * gdb.base/printcmds.exp: Fix "check for floating addition"
27424 regexp to accept results within approx +/- .01 of exact value.
27425 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
27426
27427Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
27428
27429 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 27430 properly.
c906108c
SS
27431 (gdb_expect): Add optional timeout parameter, and add timeout
27432 value to various calls.
27433 (gdb_suppress_tests): Only give one warning message per group.
27434
27435Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
27436
27437 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
27438 global variables. Handle getting a value for $timeout more
27439 gracefully.
c906108c
SS
27440
27441Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27442
27443 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 27444 initialize.
c906108c 27445 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 27446 by a target configuration file.
c906108c
SS
27447 (gdb_expect): Pass the timeout to remote_expect.
27448
27449 * config/monitor.exp(gdb_load): Fix typo in regexp.
27450
27451Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
27452
27453 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
27454
27455Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
27456
27457 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
27458 here. Call gdb_target_exec before rebooting the target, to make
27459 sure the connection to the target is closed.
c906108c
SS
27460 (gdb_load): Pass the name of the executable to gdb_target_monitor.
27461 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
27462 Also detect "Timeout reading from remote" error.
27463
27464 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
27465 gdb_target_monitor. Don't call gdb_file_cmd here; let
27466 gdb_target_monitor do it.
c906108c
SS
27467
27468 * gdb.disasm/hppa.exp: Don't use exec_output.
27469
27470Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
27471
27472 * gdb.base/list.exp: If we're debugging a non-native target,
27473 try to set the pc register to point to the start of the
27474 program before doing the first list command.
27475
27476 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 27477 test_calls after restarting.
c906108c
SS
27478
27479 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 27480 reloading.
c906108c
SS
27481
27482 * gdb.base/watchpoint.exp: Fix typo.
27483
27484 * gdb.base/setshow.exp: Check for use_gdb_stub.
27485
27486 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 27487 stub case.
c906108c
SS
27488 * gdb.base/langs.exp: Ditto.
27489
27490 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
27491 gdb_load_offset. If we weren't given a file to load, figure out
27492 what the current file is and use it.
c906108c
SS
27493
27494 * config/i386-bozo.exp: New file.
27495
27496Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
27497
27498 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
27499 feature.
27500
27501 * config/proelf.exp: New entry.
27502
27503Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
27504
27505 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27506 of regexps.
27507
27508 * gdb.base/watchpoint.exp: Don't run the test_stepping
27509 tests if gdb can't call functions on the target.
27510
27511 * gdb.base/setshow.exp: Don't run the set prompt tests if
27512 the board has gdb_prompt set.
27513
27514Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27515
27516 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27517 * gdb.base/commands.exp: Likewise.
27518 * gdb.base/setshow.exp: Likewise.
27519
27520Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27521
27522 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27523 feature.
27524
27525 * config/i960.exp: New file.
27526
27527Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27528
27529 * gdb.base/funcargs.exp: Check for gdb,short_int target
27530 feature instead of looking for explicit target triplets.
27531
dc96c6c7 27532Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 27533
d63a86f8 27534 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
27535 "p 123DEADBEEF", to check parse_number.
27536 * top.c: change "to enable to enable" to "to enable" in a couple
27537 of help strings.
27538
27539Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27540
27541 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27542 on the mn10300.
d63a86f8 27543
c906108c
SS
27544Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27545
27546 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27547 where the test executable is run with explicit args.
27548 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27549
27550Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27551
27552 * gdb.base/run.c: Use FAKEARGV to build test executable that
27553 does not require a command line arg, since most simulators
27554 don't currently support passing such an arg into the simulated
27555 program.
27556 * gdb.base/commands.exp: Change tests to insert the proper
27557 value as the arg to the first recursive factorial call. Change
27558 compilation line to define FAKEARGV at compile time.
27559
27560Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27561
27562 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27563 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27564 function with watchpoint enabled" test.
27565
27566Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27567
27568 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 27569 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
27570
27571 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 27572 "Tests restarted" messages.
c906108c
SS
27573
27574Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27575
27576 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27577
dc96c6c7 27578Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27579
27580 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27581 for INFO SYMBOL; add help tests for OVERLAY commands.
27582 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27583 add tests for OVERLAY commands
27584 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27585 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27586 * gdb.base/sigall.c: add usestubs code frag
27587 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 27588
c906108c
SS
27589Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27590
27591 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27592 failures.
27593 (gdb_stop_suppressing_tests): Note that tests have restarted.
27594
27595Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27596
27597 * config/h8300.exp: New file.
27598
27599Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27600
27601 * gdb.base/setshow.exp: Check for the existence of a
27602 feature, not its value.
27603
27604Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27605
27606 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27607
27608 * gdb.base/scope.exp: It's now init0(), not init().
27609
27610 * gdb.base/scope0.c: For now, change init() to be init0().
27611
27612 * config/monitor.exp: Use gdb_serial in preference to serial
27613 or netport.
27614
27615 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 27616 and it's not already set.
c906108c
SS
27617
27618Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27619
27620 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 27621 isn't using a stub and if it supports argument passing.
c906108c
SS
27622
27623Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27624
27625 * config/udi.exp(gdb_start): Make sure UDICONF is set
27626 properly before starting gdb.
27627
27628Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27629
27630 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27631 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27632 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27633
27634Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27635
27636 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 27637 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
27638
27639 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27640
27641 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27642
27643 * config/monitor.exp: Make sure we disconnect from the target.
27644 Also, try a reboot/reload cycle instead of failing if the
27645 load fails.
27646
27647Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27648
27649 * gdb.base/default.exp: Don't set match_max.
27650 * gdb.base/help.exp: Ditto.
27651 * gdb.base/list.exp: Ditto.
27652 * gdb.base/signals.exp: Ditto.
27653
27654 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27655 set, use remote_ld to download the testcase instead of
27656 the GDB loader.
27657
27658Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27659
27660 * config/vr5000.exp: New file.
27661
27662 * config/monitor.exp(gdb_target_monitor): Add pattern for
27663 "Ending remote" to detect errors in connecting.
27664
27665 * gdb.base/setshow.exp: Add .* within auto language test.
27666
27667 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27668 target feature.
27669
27670 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 27671 and reboot the board if necessary.
c906108c
SS
27672
27673 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27674 a set of tests. Remove print.* from the patterns being checked.
27675
27676Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27677
27678 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27679 refer to gdb_spawn_id.
27680
27681 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27682 longer used.
27683 * config/sparclet.exp: Ditto.
27684 * config/sparclet-old.exp: Ditto.
27685 * config/slite.exp: Ditto.
27686 * config/sim.exp: Ditto.
27687 * gdb.base/funcargs.exp: Ditto.
27688
27689 * lib/gdb.exp:Remove references to gdb_spawn_id.
27690 (gdb_expect): Move to remote.exp.
27691
27692Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27693
27694 * config/monitor.exp: Detect the "Couldn't establish connection"
27695 message from GDB.
27696
27697Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27698
27699 * gdb.base/bitfields.exp: Use runto instead of explicit
27700 gdb_run_cmd/gdb_expect sequences.
27701
27702 * gdb.base/break.exp(text_next_with_recursion): Add match for
27703 gdb_expect call.
27704
27705 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27706 We also need to handle the "A program is being debugged already"
27707 prompt from gdb. Use gdb_test to set the baud rate.
27708
27709 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27710 to 20000. Really. I mean it.
27711
27712Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27713
27714 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
27715 fails. If suppress_flag is set, skip perror message about not
27716 being able to send to GDB.
c906108c 27717 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 27718 GDB.
c906108c
SS
27719 (gdb_expect): If suppress_flag is set, always fail immediately.
27720 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27721 (gdb_init): Call gdb_stop_suppressing_tests.
27722 (default_gdb_exit): Ditto.
27723 (default_gdb_start): Ditto.
27724
27725 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 27726 gdb_stop_suppressing_tests as appropriate.
c906108c 27727 * gdb.base/break.exp: Ditto.
889bf7c5 27728 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
27729 * gdb.base/commands.exp: Ditto.
27730 * gdb.base/exprs.exp: Ditto.
889bf7c5 27731 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
27732 * gdb.base/list.exp: Ditto.
27733 * gdb.base/recurse.exp: Ditto.
889bf7c5 27734 * gdb.base/scope.exp: Ditto.
c906108c
SS
27735 * gdb.base/structs.exp: Ditto.
27736 * gdb.c++/inherit.exp: Ditto.
27737
27738Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27739
27740 * config/vr4300.exp: New file.
27741
99707966 27742 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 27743
99707966 27744 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
27745
27746Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27747
27748 * lib/gdb.exp(gdb_init): New function.
27749
27750 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 27751 for each individual variable set.
c906108c
SS
27752
27753 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27754 name.
27755
27756 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27757
27758 * gdb.base/scope.exp: Use gdb_test.
27759
27760 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27761 aborting; the testsuite driver will do that for us (see
27762 gdb_finish). Also, use gdb_test in a few more places.
27763
27764Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27765
27766 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27767
27768Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27769
27770 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27771 and "add_tests" are not at the same address.
27772
27773Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27774
27775 * gdb.base/ptype.exp: Use gdb_test.
27776
27777Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27778
27779 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27780 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27781 left in. No longer expect them to fail.
27782
27783 * gdb.stabs/*.mt; Deleted, no longer used.
27784 * gdb.stabs/configure.in: Remove references to target makefile
27785 frags.
27786 * gdb.stabs/configure: Rebuilt.
27787
27788 * gdb.disasm/*.mt: Deleted, no longer used.
27789 * gdb.disasm/configure.in: Remove references to target makefile
27790 frags. Use "sh3.s" as the unique filename for this directory.
27791 * gdb.disasm/configure: Rebuilt.
27792
27793 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27794 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27795 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27796
27797Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27798
27799 * config/udi.exp: Use mondfe,name instead of remote_host.
27800
27801Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27802
27803 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27804 a function with a watchpoint enabled on the mn10200.
27805
27806 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27807 before trying to create it!
27808
27809Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27810
27811 * config/vx.exp: Use hostname instead of netport.
27812
27813 * config/vxworks.exp: New file.
27814
27815 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27816
27817 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 27818 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
27819 occurs.
27820
27821 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27822 $gdb_spawn_id directly.
27823 (gdb_run_cmd): Try _start as well as start. Use the target feature
27824 gdb,start_symbol as the symbol to start from when jumping.
27825
27826Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27827
27828 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27829 redundant) test.
27830
27831 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27832 it doesn't lose for 16bit integer systems.
27833
27834Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27835
27836 * gdb.fortran/types.exp: If the target doesn't support "double"
27837 data types, then expect "real" types to only be 4 bytes.
27838
27839 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27840 call tests if the target doesn't support inferior function calls.
27841
27842 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27843 in printf tests.
27844
27845Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27846
27847 * gdb.base/help.exp: Disable "help set", "help show", and
27848 "help support". Simplify regexp for "help stack".
27849
27850 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27851 to 60 seconds. Temporarily set match_max to 15000 around the
27852 "info copying" test.
27853
27854 * gdb.base/nodebug.exp: Don't try to do an inferior function
27855 call if the target doesn't support them.
27856 * gdb.base/printcmds.exp: Likewise.
27857 * gdb.base/setvar.exp: Likewise.
27858 * gdb.base/structs.exp: Likewise.
27859 * gdb.c++/templates.exp: Likewise.
27860 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27861
27862 * gdb.base/recurse.exp: Enable for the mn10200.
27863
27864 * configure.in: Do configure gdb.stabs directory for *-*-elf
27865 targets.
27866 * configure: Rebuilt.
27867
27868 * gdb.base/break.exp: Check for gdb,noresults before testing
27869 exit status and/or results from the target.
27870 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27871 * lib/gdb.exp: Remove old (now bogus) initialization of
27872 noinferior, noargs, noresults and nosignals.
27873
27874Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27875
27876 * config/sh.exp: New file.
27877
27878 * config/slite.exp: Try to connect multiple times to the board
27879 before rebooting. Only send a "monitor run" if need_monitor_run
27880 is set.
27881
27882 * gdb.base/break.exp: Don't do the "stub continue" test if
27883 the target has gdb_stub set.
27884
27885 * gdb.base/callfuncs.exp: Increase the timeout.
27886
27887 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27888 if the target has gdb,noinferiorio set.
27889
27890 * gdb.base/list.exp: Increase match_max to 10000 characters.
27891
27892 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27893
27894 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27895 target.
27896
27897 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27898
27899Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27900
27901 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
27902 trying to delete the copy of gdb. Catch the file delete so we
27903 don't die if the delete fails; also, the file should be copied to
27904 the host, not to the build.
c906108c
SS
27905
27906Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27907
27908 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 27909 parenthesis in case it contains multiple regexps separated
c906108c
SS
27910 with |.
27911
27912 * gdb.base/watchpoint.exp: Use gdb_test.
27913 * gdb.base/default.exp: Ditto.
27914
27915Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27916
99707966 27917 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 27918
c906108c
SS
27919 * gdb.base/scope.exp: Use gdb_test.
27920 * gdb.c++/classes.exp: Ditto.
27921 * gdb.c++/inherit.exp: Ditto.
27922
27923Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27924
27925 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27926 remote_exec instead.
27927 * gdb.base/corefile.exp: Don't be ridiculous.
27928 * gdb.base/*.c: Add missing stub invocations.
27929
27930Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27931
27932 * config/slite.exp: Miscellaneous fixes.
27933
27934 * lib/gdb.exp: Fix runto.
27935
27936 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27937 the target.
27938
27939 * gdb.base/watchpoint.exp: Fix regexp.
27940
27941 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27942 close and wait commands, as the descriptor may now be
27943 invalid. Always call "remote_close host".
27944
27945Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27946
27947 Major rewrite for testsuite revision.
d63a86f8 27948
c906108c
SS
27949 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27950 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27951 instead of relying on spawn_id to always contain a valid
27952 spawn id.
27953 (get_compiler_info): New procedure to build the ${binfile}.ci
27954 file, instead of replicating this in N different places.
27955 (gdb_compile): New procedure.
d63a86f8 27956
c906108c 27957 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
27958 appropriate arguments) instead of compile. Use gdb_test in a lot
27959 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
27960 at the start of a testcase, as this is no longer done magically.
27961
27962 config/*-gdb.exp: Rename without the -gdb suffix.
27963
27964 config/mips.exp: Use remote_close instead of exit_remote_shell.
27965 config/monitor.exp: Use target_info instead of looking at
27966 baud, timeout, etc.
27967 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27968
27969Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27970
27971 * gdb.c++/templates.exp (test_ptype_of_templates),
27972 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27973 Update expect patterns for destructors and assignment operators
27974 to match corresponding c-typeprint.c changes.
27975 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27976 to destructor breakpoint test, GDB should be able to set the
27977 destructor breakpoint without specifying arguments.
27978
27979Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27980
27981 * gdb.threads/pthreads.exp: Change result for failure to compile due
27982 to lack of pthreads runtime support from an error to simply an
27983 unsupported test, per dejagnu standards.
27984
27985Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27986
27987 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27988 where GDB exits to reduce pattern match time.
27989 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27990
27991 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27992
dc96c6c7 27993Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27994
27995 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27996 * gdb.base/default.exp: ditto.
27997 * gdb.base/nodebug.exp: ditto.
27998 * gdb.base/printcmds.exp: ditto.
27999 * gdb.base/ptype.exp: ditto.
28000 * gdb.base/setvar.exp: ditto.
28001 * gdb.base/structs.exp: ditto.
28002 * gdb.base/setshow.c: Guard against uninitialized values of argc.
28003
28004Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
28005
28006 * configure, */configure: Rebuild with autoconf 2.12.
28007
28008Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
28009
28010 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
28011 use new i*86-pc-linux*-gnu quads.
28012 * gdb.base/corefile.exp: Ditto.
28013 * gdb.base/signals.exp: Ditto.
28014 * gdb.base/sigall.exp: Ditto.
28015 * gdb.base/interrupt.exp: Ditto.
28016
28017 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
28018 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
28019 RedHat 4.0.
d63a86f8 28020
c906108c 28021 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
28022 linux. This allows the test case to at least compile on latest
28023 linux, but still not run due to missing the threads runtime library.
c906108c
SS
28024
28025Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28026
28027 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
28028 directory to search gdb directory. Accept and step over conditional
28029 stack alignment code. Consume $prompt in failure cases.
28030 Reset timeout to $oldtimeout instead of some arbitrary value.
28031 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
28032 timeout problems with infinite stack backtraces.
28033 * gdb.base/ptype.exp (ptype struct link, union tu_link):
28034 Accept function parameters for linkfunc member.
28035
28036Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
28037
28038 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
28039 (CXXFLAGS): Remove, unreferenced.
28040 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
28041 previous -B options and also add -B option to pick up cross compiled
28042 runtime.
c906108c
SS
28043 (TARGET_INCLUDES): Add for -I options and add code to initialize when
28044 doing cross compiles.
28045 (target_alias): Declare global.
28046 (xgcc): Set variable to full path of gcc in build tree. Use findfile
28047 to verify that gcc exists in build tree, and if so set CC to that
28048 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 28049
c906108c
SS
28050Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
28051
28052 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
28053 ptype test for anonymous union. Fixup testcase to match
28054 current gcc debug output.
28055
28056Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
28057
28058 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
28059 force argument to an unsigned long type.
28060
28061Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
28062
28063 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 28064 tests and anonymous union print/ptype tests.
c906108c
SS
28065 * gdb.base/list.exp (test_forward-search): Increase timeout by
28066 5 minutes for the "search extremely long line" case.
28067 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
28068 completely optional and that the pass/fail messages use the command as
28069 the message if that third arg is a null string.
28070 (gdb_test_exact): Arrange that a null string pattern means match a
28071 null string output rather than any output, which might include random
889bf7c5 28072 errors.
c906108c
SS
28073 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
28074 backtrace test.
28075 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
28076 always failing and failure is now exposed by gdb.exp changes.
28077
28078Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
28079
28080 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
28081 weren't being noted.
28082
28083Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28084
28085 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
28086 * gdb.stabs/weird.exp: Remove v_comb xfails.
28087
dc96c6c7 28088Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28089
28090 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 28091 list.exp scope.exp watchpoint.exp]
c906108c 28092 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 28093
dc96c6c7 28094Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28095
28096 * config/monitor.exp: Increase download timeout to 1000 seconds.
28097
dc96c6c7 28098Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28099
28100 * config/m32r.exp: Increase timeout to 120 seconds.
28101
28102Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
28103
28104 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
28105 and accept older ordering as obsolescent gcc or gdb.
28106 * gdb.c++/templates.exp: Ditto.
28107 * gdb.c++/virtfunc.exp: Ditto.
28108
28109Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
28110
28111 * gdb.base/coremaker.c: Add code to mmap some data so we
28112 can check that it ends up in the core file.
28113 * gdb.base/corefile.exp: Add test to read mmapped data
28114 from core file.
28115
dc96c6c7 28116Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28117
28118 * config/m32r.exp: New file.
28119
28120Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
28121
28122 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
28123 that cflags can contains -gstabs, and work correctly for other tests.
28124
dc96c6c7 28125Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
28126
28127 * gdb.base/setshow.exp: New file, tests show and set.
28128 * gdb.base/setshow.c: New file, tests show and set.
28129 * gdb.base/help.exp: Add test for help set|show annotate.
28130 * gdb.base/default.exp: Add test for set|show annotate.
28131
28132Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
28133
28134 * testsuite/gdb.base/break.exp: Make backtrace from factorial
28135 errors unique.
28136 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
28137 explicitly.
28138
28139Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
28140
28141 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
28142 and width commands. This is done elsewhere.
28143 * (gdb_start): Don't call gdb_start_sim here. That's already
28144 done in gdb_load. This fixes lots of failures in default.exp.
28145
28146Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
28147
28148 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
28149 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
28150 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
28151 in the same we we treat other failures (since it may be an expected
889bf7c5 28152 condition), rather than as an error.
c906108c
SS
28153 * gdb.base/signals.exp (test_handle_all_print): Revert back to
28154 old test format.
28155
28156Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
28157
28158 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
28159 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 28160 twice. Nuke the duplicates.
c906108c 28161 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 28162 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
28163 Remove config.h along with other config files.
28164
28165Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
28166
28167 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
28168 "p func1 ()" and note that rests of tests are skipped.
28169 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28170 setup_xfails for "print func2::coremaker_local".
c906108c
SS
28171 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
28172 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
28173 affected by the previous run test.
28174 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
28175 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
28176 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
28177 "pass int powerset tuple" and "pass modeless int powerset tuple".
28178 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
28179 "real write 4" and "real write 8".
28180 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 28181 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
28182 "print \$i after tuple assign 2", and
28183 "print vs2 after tuple assign 2".
28184 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
28185 meaningful error message and return -1 so the caller can
28186 suppress further tests and avoid a cascade of errors.
d63a86f8 28187
c906108c
SS
28188Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
28189
28190 * gdb.base/a1-selftest.exp: Tweak tests to account for new
28191 format for printing version.
28192 * gdb.base/default.exp: Ditto.
28193 * gdb.base/interrupt.exp: Fix problem with cascade of
28194 errors if child process dies while calling a function.
d63a86f8 28195
c906108c
SS
28196Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
28197
28198 * Makefile.in (VPATH): Add
28199 * Makefile.in (Makefile, config.status): Fix rules so things get
28200 remade when necessary.
28201
28202Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
28203
28204 * Makefile.in (just-check): Add path to sibling expect dir
28205 to environment variable specified by RPATH_ENVVAR.
28206
28207Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
28208
28209 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
28210 (just-check): Add shared library paths for libstdc++, tk,
28211 tcl, bfd, and opcodes to the environment variable specified
28212 in RPATH_ENVVAR.
28213 * configure.in: Add support to recognize --enable-shared flag
28214 and generate correct value for RPATH_ENVVAR.
28215 * configure: Regenerated with autoconf.
28216
28217Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
28218
28219 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 28220 include all osf versions.
c906108c
SS
28221 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
28222 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
28223 when target is linux. When failing to build pthreads test
28224 executable, give more meaningful message.
28225 * gdb.threads/pthreads.c: Hpux also uses old definition of second
28226 arg for pthread_create.
d63a86f8 28227
c906108c
SS
28228Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
28229
28230 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 28231 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 28232 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 28233 and -lpthreads (everybody else).
c906108c
SS
28234 (test_startup): Fail gracefully if threads are not supported.
28235 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
28236 "p/c array_index("abcdef",2)" when not gcc compiled.
28237 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
28238 "print func2::coremaker_local" when not gcc compiled.
28239 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
28240 "ptype on opaque struct tagname (statically)",
28241 "ptype on opaque struct tagname (dynamically) 1", and
28242 "ptype on opaque struct tagname (dynamically) 2"
28243 for not compiled with gcc.
28244 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
28245 backtrace when compiled with gcc.
d63a86f8 28246 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
28247 than always return success.
28248
28249Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
28250
28251 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
28252
28253Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
28254
28255 * gdb.base/structs.exp: Undo last change.
28256
28257Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
28258
28259 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
28260 encapsulate all the steps/nexts done during self test, starting
28261 at main, and makes them less sensitive to optimization issues.
28262 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
28263 signal handler" test.
28264 * gdb.threads/pthreads.exp: Only run this for native configs.
28265 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
28266 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
28267 tests.
28268 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
28269 for "runto test_calls(void)" test.
d63a86f8 28270
c906108c
SS
28271Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
28272
28273 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
28274 and don't expect address info in breakpoint confirmations.
28275
28276Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
28277
28278 * gdb.base/list.exp (test_forward_search): Increase timeout
28279 temporarily by 60 seconds for searching extremely long line,
889bf7c5 28280 and then reset to old value when done. Increase expect input
c906108c
SS
28281 buffer to 10000.
28282
28283Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
28284
28285 * gdb.base/list.exp (test_forward_search): Fix to handle very
28286 long source line without overflowing expect's input buffer.
28287
28288Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
28289
28290 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
28291 "buffer_full".
28292
28293 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
28294 "buffer_full".
28295
28296 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
28297 "buffer_full".
28298
28299 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
28300 "buffer_full".
28301
28302Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
28303
28304 * configure.in (configdirs): Add gdb.threads.
28305 * configure: Regenerated with autoconf.
28306 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
28307 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
28308 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 28309
c906108c
SS
28310Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
28311
28312 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
28313
28314Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
28315
28316 * gdb.base/signals.exp (test_handle_all_print): Test separately for
28317 each signal's status in the output of "handle all print".
28318 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
28319 the \r\n sequence that immediately precedes the gdb prompt.
28320 * gdb.base/a1-selftest.exp: Save original timeout and restore
28321 after test.
28322
28323Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
28324
28325 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
28326 symbol.
28327
28328Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
28329
28330 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
28331
28332Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
28333
28334 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
28335 timeout by 60 seconds.
28336
28337Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
28338
28339 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
28340 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
28341 error return.
28342
28343Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
28344
28345 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
28346 gdb initialization, also report how long dejagnu waited. Restore
28347 old timeout before doing error return. Temporarily increase timeout
889bf7c5 28348 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
28349
28350Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
28351
28352 * lib/gdb.exp: Report timeout value for verbosity level 2.
28353 * config/gdbserver.exp: Ditto.
28354 * config/hppro.exp: Ditto.
28355 * config/mips-gdb.exp: Ditto.
28356 * config/monitor.exp: Ditto.
28357 * config/netware.exp: Ditto.
28358 * config/sim-gdb.exp: Ditto.
28359 * config/slite-gdb.exp: Ditto.
28360 * config/udi-gdb.exp: Ditto.
28361 * config/unix-gdb.exp: Ditto.
28362 * config/vx-gdb.exp: Ditto.
28363 * gdb.base/a1-selftest.exp: Ditto.
28364 * gdb.base/a2-run.exp: Ditto.
28365 * gdb.base/break.exp: Ditto.
28366 * gdb.base/corefile.exp: Ditto.
28367 * gdb.base/list.exp: Ditto.
28368 * gdb.base/recurse.exp: Ditto.
28369 * gdb.base/scope.exp: Ditto.
28370 * gdb.base/signals.exp: Ditto.
28371
28372Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28373
28374 * gdb.threads/Makefile.in (docdir): Removed.
28375
28376Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
28377
28378 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 28379 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 28380 @srcdir@.
d63a86f8 28381 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
28382 autoconf 2.5 or higher.
28383 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
28384
28385Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
28386
28387 * configure: Regenerated.
28388 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
28389 avoid name clashes with SunOS headers.
28390
28391Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
28392
28393 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
28394
28395Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
28396
28397 * gdb.base/callfuncs.exp: Finish last change -- make sure the
28398 prototype information ends up in the compiler info file.
28399
28400Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
28401
28402 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
28403 attempting to regenerate it. Eliminate use of a temporary file
28404 and just generate the info file directly. Source it immediately,
28405 for consistency of use.
28406 * gdb.base/corefile.exp: Ditto
28407 * gdb.base/exprs.exp: Ditto.
28408 * gdb.base/funcargs.exp: Ditto.
28409 * gdb.base/langs.exp: Ditto.
28410 * gdb.base/list.exp: Ditto.
28411 * gdb.base/mips_pro.exp: Ditto.
28412 * gdb.base/nodebug.exp: Ditto.
28413 * gdb.base/opaque.exp: Ditto.
28414 * gdb.base/ptype.exp: Ditto.
28415 * gdb.base/scope.exp: Ditto.
28416 * gdb.base/setvar.exp: Ditto.
28417 * gdb.base/signals.exp: Ditto.
28418 * gdb.base/whatis.exp: Ditto.
28419 * gdb.c++/templates.exp: Ditto.
28420 * gdb.c++/virtfunc.exp: Ditto.
28421 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 28422 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
28423
28424Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28425
28426 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
28427 it got fixed by the recent lookup_minimal_symbol_by_pc change.
28428 Increase timeout, a lot of single stepping might be needed if the
28429 target has no hardware watchpoints.
28430
28431Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
28432
28433 * gdb.base/break.exp: Ignore compiler warnings when compiling
28434 break.c.
28435 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
28436 * gdb.base/default.exp: Add h8300 xfails. Handle messages
28437 from remote-sim.
28438 * gdb.base/exprs.exp: Add h8300 xfails.
28439 * gdb.base/funcargs.exp: Likewise.
28440 * gdb.base/nodebug.exp: Likewise.
28441 * gdb.base/printcmds.exp: Likewise.
28442 * gdb.base/ptype.exp: Likewise.
28443 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
28444 h8300 xfails.
d63a86f8 28445 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
28446 on the h8300.
28447 * gdb.base/funcargs.c: Explicitly make last constant argument to
28448 call_after_alloca_subr an unsigned long type.
28449 * gdb.base/return.c: Include stdio.h.
28450
28451Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
28452
28453 * config/abug.exp: New file for the older Motorola Bug monitor
28454 that runs on the mvme13x series VME boards.
28455 * config/monitor.exp: Use the new config array for target settings
28456 if they exist.
28457
28458Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
28459
28460 * sim-gdb.exp: Make the SH simulator allocate less space when
28461 it is targeted.
28462
28463Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
28464
28465 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
28466 test.
28467
28468Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
28469
28470 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
28471 "rs6000-*-*" for "list function in include file" when gcc compiled.
28472 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
28473 for "p ctable1[120]".
28474 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
28475 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
28476 Remove setup_xfail for "rs6000-*-*" for
28477 "print 'scope0.c'::filelocal before run".
28478 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
28479 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
28480 since some compilers don't allow both options to be given
28481 on the same command line. Create object file and move it.
d63a86f8 28482
c906108c
SS
28483Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
28484
28485 * gdb.base/corefile.exp: Always regenerate the core file, since
28486 we always regenerate the coremaker program. Detect special case
28487 where registers cannot be read from core file.
d63a86f8 28488
c906108c
SS
28489Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
28490
28491 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
28492 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
28493 * gdb.c++/templates.exp: Only match on basename of file since
28494 some formats like xcoff don't encode directory information.
28495 * gdb.stabs/weird.exp: Use the right sed script for powerpc
28496 and rs6000 AIX xcoff targets.
28497 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
28498 * configure: Regenerate.
28499 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
28500 here, rather than in distclean.
d63a86f8 28501
c906108c
SS
28502Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
28503
28504 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
28505 defined, and use it to compile the test case with -O2. The
28506 native compilation still uses no optimization.
28507 * gdb.base/mips_pro.c: Remove inline assembly code since
28508 it is compiled PIC by default, which results in assembler
28509 warnings that make the testsuite think the compilation
28510 was unsuccessful.
28511
28512Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28513
28514 * gdb.c++/misc.exp: Add note to message for
28515 "print s.a for foo struct" that this is a known gcc 2.7.2
28516 and earlier bug.
28517
28518Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28519
28520 * gdb.base/break.exp: Fix pattern for matching "Delete all
28521 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28522 setup_xfail for deleting all breakpoints test. Fix various
28523 timeout messages to include "(timeout)".
28524 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28525 for "p t_float_values2(3.14159,float_val2)".
28526 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28527 for "continue to call2g" when gcc compiled.
28528 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28529 "up to foo in langs.exp", "show language at foo in langs.exp",
28530 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28531 and "show language at fsub in langs.exp".
28532 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28533 "list line 1 in include file", "list message for lines past EOF",
28534 "list function in include file", "list list0.h:foo", and
28535 "list filename:function; nonexistant function".
28536 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28537 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28538 and "ptype t_char_array" to be for native cc only.
d63a86f8 28539
c906108c
SS
28540Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28541
d63a86f8 28542 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 28543 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 28544 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
28545
28546Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28547
28548 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28549 "bt in signals.exp". This problem only appears when running
28550 the testsuite, and then only intermittently.
28551
28552Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28553
28554 * gdb.base/return.exp (return_tests): Differentiate between
28555 two tests of continuing.
28556
28557Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28558
28559 * */Makefile.in (maintainer-clean): Remove config.log.
28560 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28561 * gdb.c++/Makefile.in (PROGS): Add inherit.
28562 (clean): Remove *.ci.
28563
28564Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28565
28566 * gdb.c++/misc.cc: Add test code from Mike Stump.
28567 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28568
28569Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28570
28571 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28572 to "alpha-*-osf2*" and add comment.
28573 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
28574 setup_xfail for "step over execarg initialization" and
28575 "step over corearg initialization".
c906108c
SS
28576 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28577 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28578 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 28579 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
28580 "print func2::coremaker_local", and "backtrace in corefile.exp".
28581 * gdb.base/signals.exp: Build and source signals.ci.
28582 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28583 to be for gcc only.
28584 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 28585
c906108c
SS
28586Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28587
28588 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28589 Feb 3 procfs.c change.
28590
28591Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28592
28593 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28594
28595Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28596
28597 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28598 from dejagnu's apparent default of 10 seconds, which gives random
28599 results when running the tests over NFS on moderately loaded systems.
28600 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28601
28602Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28603
28604 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28605 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 28606 result reports.
c906108c
SS
28607
28608Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28609
28610 * configure.in (CY_AC_PATH_TCLH): Remove.
28611 * configure: Regenerate.
28612
28613Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28614
28615 * gdb.c++/Makefile.in (clean): Add missing '{'.
28616
28617Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28618
28619 * lib/gdb.exp: Provide a default value for noinferior.
28620
28621 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28622 Load libgloss.exp.
28623
28624Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28625
28626 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28627 the executable, not the .o to run the tests from.
28628
28629Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28630
28631 * gdb.base/break.exp: Don't test for program exit or exit status
28632 if $noresults if nonzero.
28633 * gdb.base/langs.exp: Likewise.
28634 * gdb.base/watchpoint.exp: Likewise.
28635
28636 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28637 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28638 trying to compile the testcase.
28639
28640Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28641
28642 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28643 * gdb.base/signals.exp (continue to handler): Likewise.
28644
28645Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28646
28647 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28648
28649 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28650
28651Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28652
28653 * gdb.base/corefile.exp: Recognize "not found" as failure
28654 when trying to determine if a core file was generated.
28655 If no core file was generate the first time, try again without
28656 the ulimit -c to work around braindamaged shells.
28657
28658Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28659
28660 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28661 [] tests with "test" and enclose string in quotes.
28662 * gdb.stabs/configure: Rebuild
d63a86f8 28663
c906108c
SS
28664Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28665
28666 Changes in sync with expect:
28667 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28668 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28669 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28670 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28671 argument to AC_REQUIRE.
28672 * configure: Regenerated.
28673
28674Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28675
28676 * gdb.base/corefile.exp: When generating a core, discard any
28677 error messages about ulimit not found and the "core dumped"
28678 message from the shell that runs the coredumper.
28679
28680Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28681
28682 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28683
28684 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28685 which sed script to run. Expect failure for v_comb test
28686 on PA targets too.
d63a86f8 28687
c906108c
SS
28688Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28689
28690 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 28691 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
28692
28693Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28694
28695 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28696 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 28697 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
28698 * lib/gdb.exp (default_gdb_start): Fix typo.
28699 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28700 messages to not include the full program name that caused
28701 the core dump since some systems (such as solaris) apparently
28702 truncate this path to about 80 characters.
28703 When generating a core file first try increasing the core file
28704 size limit to unlimited since some systems may default it to
28705 zero, and it is harmless to try it. Move the test for failing
28706 to generate a core file to where it will actually get executed.
28707 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28708 new gdb result from g++ debug info improvements and make old
28709 pattern obsolescent. Also account for size_t differences
28710 (may be int or long).
28711 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28712 initialization before function call is placed in the delay slot
28713 and thus appears to be skipped over by commands such as "next".
28714
28715Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28716
28717 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28718
28719Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28720
28721 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28722 input source file; fix code to compile test to deal with this
28723 convention.
28724 * gdb.c++/*.exp: Likewise.
28725
28726Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28727
28728 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28729 "bt in signals.exp".
28730
28731Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28732
28733 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28734 "step over execarg initialization" and
889bf7c5 28735 "step over corearg initialization".
c906108c
SS
28736
28737Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28738
28739 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28740 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28741
28742Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28743
28744 From Rob Savoye (rob@poseidon.cygnus.com)
28745 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28746 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
28747 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28748 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28749 configure.in}: Major reworking for autoconfig.
c906108c
SS
28750 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28751 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 28752 New files.
c906108c
SS
28753 * config/unix-gdb.exp: Make GDB global.
28754 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
28755 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28756 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28757 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28758 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28759 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 28760 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
28761 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28762 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28763 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28764 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 28765 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
28766 to returns as necessary, arrange for test to compile own testcase
28767 executable.
c906108c 28768 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 28769
c906108c
SS
28770Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28771
28772 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 28773 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
28774 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28775 "backtrace through signal handler".
28776
28777Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28778
28779 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28780 continuing from a job control stop signal.
28781 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28782
28783Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28784
28785 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28786 * gdb.base/corefile.exp: Likewise.
28787 * gdb.base/funcargs.exp: Likewise.
28788
28789Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28790
28791 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28792 * config/monitor.exp: Add support for setting baud rate.
28793
28794Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28795
28796 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28797 i*86-*-linux* xfails for "backtrace through signal handler".
28798 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28799 "print func2::coremaker_local".
28800 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 28801 alpha-dec-osf2* xfail for
c906108c
SS
28802 "delete all breakpoints when none".
28803
28804Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28805
28806 * gdb.base/break.exp: Change test that deletes all breakpoints
28807 when no user breakpoints are installed. A post 4.15 change
28808 causes gdb to no longer prompt in this case.
28809
28810Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28811
28812 * gdb.base/return.exp (return_tests): Change xfail for test
28813 "correct value returned double test" to stop xfailing at
28814 Solaris 2.5. Apparently the bug has been fixed.
28815
28816Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28817
28818 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28819 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28820
28821Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28822
28823 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28824 * gdb.disasm/hppa.s: Corresponding changes.
28825
28826Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28827
28828 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28829 makefile fragment.
28830 * config/mt-hpux: Deleted.
28831
28832Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28833
d63a86f8 28834 * Many files: When warning about suppressed tests due to a
c906108c
SS
28835 nonexistant test binary, avoid incrementing the warning count.
28836
28837Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28838
28839 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 28840
c906108c
SS
28841Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28842
28843 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28844 "sparc-*-solaris2*".
28845
28846Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28847
28848 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28849 Add global and local variables and initialize them.
28850 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28851 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28852 extracts the file name and terminating signal from the core file.
28853 * TODO: Remove note about tests for correct mapping of corefile.
28854 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28855 from optimizing it away.
28856 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28857 handles common blocks.
28858
28859Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28860
28861 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28862 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28863
28864Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28865
28866 * Makefile.in (maintainer-clean): New target, synonym for
28867 realclean.
28868 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28869 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28870 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28871 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28872 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28873 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28874
28875Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28876
28877 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28878 xfails when not gcc compiled for "print foo::funclocal".
28879 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28880 "print foo::funclocal at foo",
28881 "print 'scope1.c'::foo::funclocal at foo",
28882 "print foo::funclocal_bss at foo",
28883 "print 'scope1.c'::foo::funclocal_bss at foo",
28884 "print foo::funclocal_ro at foo",
28885 "print 'scope1.c'::foo::funclocal_ro at foo",
28886 "print bar::funclocal at foo" and
28887 "print 'scope1.c'::bar::funclocal at foo".
28888 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28889 gcc compiled for "print foo::funclocal at bar".
28890 Expand all messages to ensure that they identify that
28891 the test is at bar().
28892 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28893 gcc compiled for:
28894 "ptype on opaque struct pointer (statically)",
28895 "ptype on opaque struct tagname (statically)",
28896 "ptype on opaque struct pointer (dynamically) 1",
28897 "ptype on opaque struct tagname (dynamically) 1",
28898 "ptype on opaque struct pointer (dynamically) 2" and
28899 "ptype on opaque struct tagname (dynamically) 2
28900 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28901 gcc compiled for:
28902 "p datalocal"
28903 "whatis datalocal",
28904 "ptype datalocal",
28905 "p bsslocal",
28906 "whatis bsslocal", and
28907 "ptype bsslocal".
28908 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28909 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28910 when not gcc compiled.
28911 * gdb.base/funcargs.exp (float_and_integral_args): Add
28912 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28913 compiled.
28914 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28915 "backtrace from call6a" when not gcc compiled.
28916 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28917 "backtrace from call7a" when not gcc compiled.
28918 * gdb.base/callfuncs.exp (do_function_calls):
28919 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28920 "p t_char_array_values(char_array_val2,char_array_val1)",
28921 "p t_char_array_values(char_array_val1,char_array_val2)",
28922 "p t_char_array_values("carray 1","carray 2")",
28923 "p t_char_array_values("carray 1",char_array_val2)",
28924 "p t_char_array_values(char_array_val1,"carray 2")",
28925 "p sum_args(1,{2})",
28926 "p sum_args(2,{2,3})",
28927 "p sum_args(3,{2,3,4})",
28928 "p sum_args(4,{2,3,4,5})"
28929 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28930 "backtrace in corefile.exp" when not gcc compiled.
28931
28932Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28933
28934 * gdb.base/signals.exp: Rewrite `handle all print' test as
28935 a procedure. Accept blanks or TABs as whitespace, increase
28936 timeout and expect input buffer size for the large output
28937 from the command. Remove "i*86-*-bsdi2.0" xfail.
28938
28939Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28940
28941 * gdb.base/setvar.exp: Add new testcases for truncation when
28942 assigning invalid values to bitfields.
28943
28944Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28945
d63a86f8 28946 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
28947 mips-sgi-irix* xfail for
28948 "call inferior func with struct - returns char *"
28949 and fix test so that an optional (unsigned char *) cast is
889bf7c5 28950 accepted in the result.
c906108c
SS
28951
28952Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28953
28954 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28955 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28956 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28957 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28958 that accidentally got checked in.
28959
28960Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28961
d63a86f8 28962 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
28963 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28964 compiled test.
28965 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28966 Add mips-sgi-irix5* xfail for not gcc compiled.
28967 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
28968 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28969 compiled for "p top", "whatis top", "p middle", and "whatis
28970 middle".
c906108c
SS
28971 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28972 "whatis signed char" for not gcc compiled.
28973 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28974 "set variable signed char=-1 (-1)" and
28975 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28976 * gdb.base/funcargs.exp (float_and_integral_args):
28977 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28978 Add mips-sgi-irix* xfail when not gcc compiled for
28979 "continue to call2b".
28980 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28981 "continue to call2g".
6fdff2c5
PA
28982 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28983 compiled for "backtrace from call6a"
28984 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28985 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28986 when not gcc compiled for "backtrace from call7a".
c906108c
SS
28987 (localvars_after_alloca): Fix gdb_test cmds for
28988 "print * after runto ...".
28989 Remove rs6000-*-* xfails for
28990 "print i after runto localvars_after_alloca" and
28991 "print l after runto localvars_after_alloca"
28992 for all compilers.
28993 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 28994 when not compiled with gcc, for:
c906108c
SS
28995 "print signed char == (minus)",
28996 "print signed char != (minus)",
28997 "print signed char < (minus)",
28998 "print signed char > (minus)".
28999 * gdb.base/callfuncs.exp (do_function_calls):
29000 Add mips-sgi-irix* xfail, when compiled with native compiler, for
29001 "call inferior func with struct - returns char *".
d63a86f8 29002 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
29003 "correct value returned double test" to include Solaris 2.4.
29004 * gdb.base/funcargs.exp (float_and_integral_args):
29005 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 29006
c906108c
SS
29007Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29008
29009 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
29010 enumeration bitfields if compiling with GNU C.
29011 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
29012 to empty' prompt.
29013
29014Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
29015
29016 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
29017 test for PRO targets.
29018
29019 * gdb.base/funcargs.exp: Avoid ever setting more than 8
29020 breakpoints in the inferior at any given time by making
29021 two groups of breakpoints for call2*, call6* and call7*
29022 tests.
29023
29024Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29025
29026 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
29027 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
29028 from optimizing it away.
29029 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
29030 "call inferior func with struct".
29031
29032Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
29033
29034 * configure.in: Only configure gdb.chill for particular targets.
29035
29036Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
29037
29038 * gdb.base/Makefile.in: Add action to .c.o transformation
29039 rule that generates a .ci file for each .o file and remove
29040 explicit .c.o rules except for callfuncs.o.
29041 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
29042 generates a .ci file for each .o file and remove explicit
29043 .cc.o rules.
29044 (clean): Remove *.tmp *.ci files.
29045 (EXECUTABLES): Remove templ-info.exp.
29046 * gdb.base/compiler.c: New file.
29047 * gdb.c++/compiler.cc: New file
29048 * gdb.base/scope.exp: Source gdb.base/scope.ci.
29049 Change rs6000-*-* xfail for
29050 "print 'scope0.c'::filelocal_ro" and
29051 "print 'scope1.c'::filelocal" and
29052 "print 'scope1.c'::filelocal_bss" and
29053 "print 'scope1.c'::filelocal_ro" and
29054 "print 'scope1.c'::foo::funclocal" and
29055 "print 'scope1.c'::foo::funclocal_ro" and
29056 "print 'scope1.c'::bar::funclocal" and
29057 "print 'scope0.c'::filelocal_ro" and
29058 "print 'scope1.c'::filelocal at foo" and
29059 "print 'scope1.c'::filelocal_bss at foo" and
29060 "print 'scope1.c'::filelocal_ro at foo" and
29061 "print 'scope1.c'::foo::funclocal at foo" and
29062 "print 'scope1.c'::foo::funclocal_bss at foo" and
29063 "print 'scope1.c'::foo::funclocal_ro at foo" and
29064 "print 'scope1.c'::bar::funclocal at foo" and
29065 "print 'scope0.c'::filelocal_ro" and
29066 "print 'scope1.c'::filelocal" and
29067 "print 'scope1.c'::filelocal_bss" and
29068 "print 'scope1.c'::filelocal_ro" and
29069 "print 'scope1.c'::foo::funclocal" and
29070 "print 'scope1.c'::foo::funclocal_bss" and
29071 "print 'scope1.c'::foo::funclocal_ro" and
29072 "print 'scope1.c'::bar::funclocal" and
29073 "print 'scope1.c'::bar::funclocal_bss"
29074 to only be xfail'd when not compiled with gcc.
d63a86f8 29075 Add rs6000-*-* xfail for
c906108c
SS
29076 "print 'scope0.c'::filelocal_bss before run"
29077 when compiled with gcc.
29078 (test_at_main): Add rs6000-*-* xfail for
29079 "print filelocal_ro in test_at_main"
29080 when compiled with gcc.
29081 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 29082 Add rs6000-*-aix* xfail for
c906108c
SS
29083 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
29084 "ptype t_char_array", not compiled with gcc.
29085 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
29086 xfail for "list foo (in include file)" when gcc compiled.
29087 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 29088 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
29089 "run to call0a" if not compiled with gcc.
29090 (unsigned_integral_args): Add rs6000-*-* xfail for
29091 "run to call1a" if not compiled with gcc.
29092 (float_and_integral_args): Add rs6000-*-* xfail for
29093 "run to call2a" if not compiled with gcc and for
29094 "continue to call2b" for any compiler.
29095 Add rs6000-*-* xfail to
29096 "print f1 after run to call2a" for gcc compiled.
29097 (discard_and_shuffle): Add rs6000-*-* xfail for
29098 "run to call6a".
29099 (shuffle_round_robin): Add rs6000-*-* xfail for
29100 "backtrace from call7a" if not compiled with gcc.
29101 Add rs6000-*-* xfail for
29102 "backtrace from call7b" if compiled with gcc.
29103 (call_after_alloca): Add rs6000-*-* xfail for
29104 "print c in call_after_alloca" and
29105 "print s in call_after_alloca" and
29106 "backtrace from call_after_alloca_subr"
29107 if not compiled with gcc.
29108 (localvars_in_indirect_call): Add rs6000-*-* xfail for
29109 "print c in localvars_in_indirect_call" and
29110 "print c in localvars_in_indirect_call" and
29111 "backtrace in indirectly called function" and
29112 "stepping into indirectly called function"
29113 if not compiled with gcc.
29114 (localvars_after_alloca): Add rs6000-*-* xfail for
29115 "print c after runto localvars_after_alloca" and
29116 "print s after runto localvars_after_alloca" and
29117 "print i after runto localvars_after_alloca" and
29118 "print l after runto localvars_after_alloca"
29119 for all compilers.
29120 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
29121 than whatis-info.exp.
29122 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
29123 than opaque-info.exp.
29124 Setup rs6000-*-* xfail for
d63a86f8 29125 "ptype on opaque struct pointer (statically)" and
c906108c
SS
29126 "ptype on opaque struct pointer (dynamically)" when
29127 not compiled with gcc.
29128 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
29129 rather than callf-info.exp.
29130 (do_function_calls): Add clear_xfail for rs6000-*-* for
29131 "p t_float_values2(3.14159,float_val2)". Seems to work
29132 fine there, both with xlc and gcc. Need to find out what
29133 it is doing right and fix other platforms.
29134 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
29135 "call inferior func with struct - returns int",
29136 "call inferior func with struct - returns long",
29137 "call inferior func with struct - returns float",
29138 "call inferior func with struct - returns double",
29139 "call inferior func with struct - returns char *",
29140 but only if not gcc compiled (presumes xlc compiled).
29141 Change rs6000-*-* xfails for
29142 "call inferior func with struct - returns char" and
29143 " call inferior func with struct - returns short" to only
29144 xfail if not using gcc.
29145 (clean mostlyclean): Remove *.ci and *.tmp files.
29146 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
29147 than templ-info.exp.
29148 * gdb.base/langs.exp: Source gdb.base/langs.ci.
29149 Add rs6000-*-* xfail for "up to foo in langs.exp"
29150 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 29151 when not gcc compiled.
d63a86f8 29152
c906108c
SS
29153Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29154
29155 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
29156 * gdb.base/corefile.exp: Likewise.
29157 * gdb.base/list.exp: Likewise.
29158 * gdb.base/scope.exp: Likewise.
29159 * gdb.base/siganls.exp: Likewise.
29160
29161 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
29162 compiler output.
29163 * gdb.base/whatis.exp: Likewise.
29164
29165Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
29166
29167 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
29168 failure (opcode table has been fixed to match reality).
29169
29170Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
29171
29172 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
29173 "call inferior func with struct - returns char",
29174 "call inferior func with struct - returns short"
29175
29176 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
29177 "print 'scope0.c'::filelocal at main",
29178 "print 'scope0.c'::filelocal_bss in test_at_main",
29179 "print 'scope0.c'::filelocal at foo",
29180 "print 'scope0.c'::filelocal_bss in test_at_foo",
29181 "print 'scope0.c'::filelocal at bar",
29182 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 29183
c906108c
SS
29184 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
29185 in source file 1". This bug seems to have been fixed with both
29186 gcc and native cc (was native assembler bug?).
29187
29188Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
29189
29190 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
29191 "backtrace through signal handler" to "i*86-*-sysv4*".
29192 * gdb.base/signals.exp: Add xfail for "'next' behaved as
29193 continue" case. Add "known SVR4 bug" to fail message.
29194 Add "i*86-*-bsdi2.0" xfail for "handle all print".
29195 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
29196 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
29197 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
29198 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
29199 "up to foo in langs.exp", "show language at foo in
29200 langs.exp", "up to cppsub_ in langs.exp", "show
29201 language at cppsub_ in langs.exp", "up to fsub in
29202 langs.exp", and "show language at fsub in langs.exp".
29203 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
29204 "bactrace in corefile.exp".
29205 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
29206 "call inferior function with struct - returns float" and
29207 "call inferior function with struct - returns double".
d63a86f8 29208
c906108c
SS
29209Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
29210
29211 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
29212 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
29213 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
29214 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
29215
29216Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
29217
29218 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
29219 (or overriden) "CHILL" macro rather then bare "gcc".
29220 Also look for ../../gcc/xgcc since that is what we will
29221 actually need, not "Makefile". Remove following assignment
29222 of CHILL to CHILL_FOR_TARGET because that results in
29223 recursive definition.
29224
29225Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
29226
29227 * gdb.base/corefile.exp: Change xfail for backtrace in
29228 corefile.exp from linuxaout to all linux.
29229 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
29230 cases where we miss the breakpoint at the signal handler
29231 for some reason. Setup xfail for linuxoldld/linuxaout and
29232 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
29233 hitting SIGURG breakpoint.
29234 * gdb.base/signals.exp: Setup xfail for "next" acting like
29235 continue to add linuxoldld. Setup xfail for all linux for
29236 "next to handler in signals_tests_1", "backtrace in
29237 signals_tests_1", "continue to func1", "pass SIGUSR1",
29238 and continue to handler".
29239
29240Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
29241
29242 * Update all FSF addresses except those in COPYING* files.
29243
29244Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
29245
29246 * gdb.base/a2-run.exp: Change messages to be more explicit about
29247 the status of args, and quote binfile in results.
29248
29249Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
29250
29251 * gdb.base/callfuncs.exp: Add tests for passing structs to
29252 inferior functions and return various types.
29253 * gdb.base/callfuncs.c: Add functions to receive a struct
29254 and return a member of the struct, in various types.
29255
29256Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29257
29258 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
29259
29260Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
29261
29262 * config/vxworks29k.exp: New file, sources vxworks.exp.
29263
29264Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29265
29266 * config/gdbremote.exp: New file. Testing framework using
29267 gdbserver.
29268
29269Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
29270
29271 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
29272 "call function when asleep" and "send end of file".
29273 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
29274 for "backtrace in corefile.exp".
29275 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
29276 for "backtrace through signal handler".
29277 * gdb.base/corefile.exp: Make sure we actually generate a core file
29278 before trying the core tests. Some systems allow the user to suppress
29279 generation of core files and default to that (linux for example).
29280 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
29281 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
29282
29283Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29284
29285 * gdb.threads: New directory with some crude multi-threaded
29286 gdb tests (step.exp and step2.exp).
29287 * config/mt-lynx (STEP_EXECUTABLE): Define.
29288 (THREADFLAGS): Define.
29289
29290Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
29291
29292 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
29293
29294 * gdb.base/signals.exp: Disable whole file for lynx until
29295 further notice.
29296
29297 * gdb.base/signals.exp: xfail test where "next" acts like
29298 "continue" for lynx.
29299
29300 * gdb.base/interrupt.exp: xfail test for calling function while
29301 inferior is asleep for lynx.
29302
29303 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
29304 than one cr-lf after each command.
29305
29306Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29307
29308 * configure.in: Reinstate setting of stabsdirs variable, fix
29309 typo in setting up configdirs for native builds.
29310
29311 * gdb.base/return.exp: Fix typo in return double test.
29312 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
29313 compiler from optimizing them away.
29314
29315Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
29316
29317 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
29318 sequences to be echo'd by gdb when using gdb_test.
29319 * gdb.chill/chexp.exp: Likewise.
29320 * gdb.fortran/exprs.exp: Likewise
29321
29322Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
29323
29324 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
29325 after the inferior gdb has started.
29326
29327 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
29328 after each command.
29329 * gdb.base/funcargs.exp: Likewise.
29330 * gdb.base/gdbvars.exp: Likewise.
29331 * gdb.base/interrupt.exp: Likewise.
29332 * gdb.base/list.exp: Likewise.
29333 * gdb.base/watchpoint.exp: Likewise.
29334 * gdb.c++/demangle.exp: Likewise.
29335 * gdb.c++/inherit.exp: Likewise.
29336 * gdb.chill/chexp.exp: Likewise.
29337 * gdb.fortran/exprs.exp: Likewise.
29338
29339 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
29340 test if we can't handle IO to/from the inferior.
29341
29342 * gdb.c++/misc.exp: Always check for a program already being
29343 started after sending a "run" command to gdb.
29344
29345 * gdb.base/twice.exp: Start with a fresh gdb.
29346
29347 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
29348 only depend on gdb's expression code, not the chill runtime.
29349
29350 * gdb.base/return.c: Put return values into variables so we
29351 can have gdb print them rather than depending on the program
29352 to print them.
29353 * gdb.base/return.exp: Corresponding changes.
29354
29355 * lib/gdb.exp: Provide default value for noinferiorio.
29356 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
29357 the inferior.
29358
29359 * gdb.base/break.exp: Always check for a program already being
29360 started after sending a "run" command to gdb.
29361 (text_next_with_recursion): Don't check the output from the
29362 program's printf statement. Instead just make sure the program
29363 exited.
29364
29365 * gdb.base/commands.exp: Protect tests which need arguments with
29366 $noargs conditionals.
29367
29368Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29369
29370 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
29371 of structure member arrays to match gdb/valops.c:value_addr change.
29372
29373Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
29374
29375 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
29376 cases.
29377
29378Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
29379
29380 * configure.in (configdirs): Remove gdb.chill from default list
29381 of subdirs and then add it back in only if doing a native build.
29382 The current chill compiler does not yet work in any cross build.
29383 * Revert all signal changes from Jul 6.
29384 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
29385 for sh-hms targets, allowing these tests to link, with no other
29386 changes. Testing is suppressed by setting "nosignals" in site.exp.
29387
29388Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
29389
29390 * configure.in (signaldirs): Define and add to configdirs for all
29391 targets except some specific ones that are known to not support signals.
29392 Also clean up formatting.
29393 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
29394 (signals, sigall): Remove rules to build.
29395 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
29396 Moved to new gdb.signals directory.
29397 * gdb.signals: New test directory.
29398 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
29399 signals.c signals.exp}: New or moved files.
29400
29401Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
29402
29403 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
29404
29405Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
29406
29407 * gdb.base/return.exp: Xfail `return double' test failure
29408 on at least Solaris 2.3 and handle future/past versions on
29409 a case by case basis as appropriate. Also update message
29410 to include i*86 failures.
29411
29412Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29413
29414 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
29415
29416 * lib/gdb.exp: Fix comment which erroneously identified
29417 gdb_file_cmd as gdb_load (the 19 May change was in fact to
29418 gdb_file_cmd not gdb_load).
29419 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
29420
29421 * gdb.base/setvar.exp: Make test names consistent between pass and
29422 fail cases. Use gdb_test more.
29423
29424Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29425
29426 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
29427
29428Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29429
29430 * gdb.base/help.exp: Fix expected help string for `show commands'.
29431
29432Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
29433
29434 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
29435
29436 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
29437 of a text section.
29438
29439Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
29440
29441 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
29442 that loop eventually terminates. Fix Connection refused logic so
29443 that testsuite will expire nicely.
29444
29445Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
29446
29447 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
29448 config/rom68k.exp: New tcl glue for the appropriate monitors.
29449 These all just end up calling monitor.exp.
29450 * config/monitor.exp (gdb_target_monitor): Handle `Connection
29451 refused' by retrying. Cleanup some timeout issues.
29452 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
29453 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
29454 callers don't have to set/restore global timeout variable.
29455
29456 * The following set of changes centralizes management of the global
29457 timeout variable. This way, it can be set in one target dependent
29458 place instead of dozens of places scattered throughout the test suite.
29459 If you need to lengthen a timeout, then you should either set timeout
29460 in one of the config/{target}.exp files, or multiply it by a factor.
29461 Setting it to an absolute value is always going to lose for some
29462 targets.
29463 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
29464 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
29465 * gdb.base/funcargs.exp: Don't set timeout.
29466 * gdb.base/list.exp (test_forward_search): Only use local timeout.
29467 * gdb.base/printcmds.exp (test_print_string_constants
29468 test_print_array_constants): Don't set timeout.
29469 * gdb.base/ptype.exp: Don't set timeout.
29470 * gdb.base/recurse.exp: Don't set timeout.
29471 * gdb.base/return.exp: Don't set timeout.
29472 * gdb.base/watchpoint.exp: Don't set timeout.
29473 * gdb.c++/classes.exp (do_tests): Don't set timeout.
29474 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
29475
29476Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
29477
29478 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
29479
29480Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29481
29482 * lib/gdb.exp: Disable chill tests for irix5.
29483
29484Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29485
29486 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
29487 each test pass or fail.
29488
29489Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29490
29491 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
29492 xlc not gcc.
29493
29494Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
29495
29496 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
29497
29498Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
29499
29500 * config/est.exp: Fix copyright and comments. Remove dead code.
29501 Use targetname, serialport and baud variables instead of fixed
29502 constants.
29503 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
29504 * config/cpu32bug.exp: New file to support cpu32bug monitors.
29505
29506Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29507
29508 * gdb.base/watchpoint.exp: Don't run
29509 test_watchpoint_triggered_in_syscall for sunos.
29510
29511Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29512
29513 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29514 they don't seem to exist. Do include stdio.h.
29515
29516Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29517
29518 * gdb.base/a1-selftest.exp: Add alpha xfail.
29519
29520Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29521
29522 * gdb.base/watchpoint.c (main): Prompt before calling read().
29523 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29524 Revise accordingly. Remove cruft about sending "123" several
29525 times, until it gets noticed. Clean up the "print buf[0]" stuff
29526 so that it passes or fails, and waits for prompts in the usual way.
29527
29528Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29529
29530 * gdb.base/recurse.exp: Fix comment.
29531
29532 * TODO: Remove item about printing variables in nodebug.exp. Add
29533 item about enabling tests which are only run on some targets.
29534
29535 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29536 fail, make test names unique, use new gdb_test convention
29537 regarding pattern, use gdb_test more, etc.).
29538
29539 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29540 fail, make test names unique, etc.).
29541
29542Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29543
29544 * gdb.base/nodebug.c: Change return type of top and middle to
29545 short.
29546 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29547 are fixed by the recent mdebugread.c changes. Allow `short ()'
29548 as type for top and middle.
29549
29550Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29551
29552 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29553 nearly as I can tell, the whole thing was an accident in Stu's
29554 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29555 to replace a send/expect pair with gdb_test, but ended up only
29556 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29557 of 30 Mar 1995 took care of it, but left this vestigial comment
29558 which I am now nuking.
29559
29560Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29561
29562 * gdb.base/break.exp: Look for different line number for
29563 breakpoint at main depending on usestubs.
29564
29565Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29566
29567 * gdb.base/list.exp: Adjust some alternate expect patterns to
29568 match recent list0.c change. Add alternate expect pattern for
29569 output from `list default lines around main' for optimizing
29570 compilers.
29571
29572Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29573
29574 * lib/gdb.exp: If nosignals is not set, set it to 0.
29575
29576Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29577
29578 * config/slite-gdb.exp: Responds to load symbol table prompt.
29579 * gdb.base/break.exp: Adjust line number, fix rerun.
29580 * gdb.base/langs0.c: Add #ifdef usestubs.
29581
29582Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29583
29584 * gdb.base/list.exp: Adjust line contents after adding new lines in
29585 list0.c. Also fix a syntax error.
29586
29587 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29588 * gdb.base/break.exp: ditto.
29589 * gdb.base/list.exp: ditto.
29590 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29591 * gdb.base/run.c: ditto.
29592 * gdb.base/list0.c: ditto.
29593 * gdb.base/funcargs.c: ditto.
29594
29595Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29596
29597 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29598 $targetname, $serialport and $baud instead of hardwired variables.
29599 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29600 target doesn't support signals.
29601
29602Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29603
29604 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29605
29606Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29607
29608 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29609 Don't rely on the value of an auto variable before it has been
29610 initialized. Use gdb_test more.
29611
29612Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29613
29614 * lib/gdb.exp (default_gdb_version): A version number must start
29615 with a digit, but other than that contains all characters up to
29616 the first whitespace character.
29617
29618Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29619
29620 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29621
29622Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29623
29624 * gdb.c++/*.exp: Warn if executable does not exist. The original
29625 reason for skipping the warning was that configure.in sometimes
29626 intentionally skipped building the executables but the tcl code
29627 had no way of knowing. That (a) was always bogus with respect to
29628 error handling, (b) is no longer true (right now there is no way
29629 to skip C++ tests).
29630
29631 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29632
29633Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29634
29635 * gdb.base/list.exp: Add expect patterns for output from
29636 SunPRO compiled executables.
29637 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29638 types.
29639
29640Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29641
29642 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29643 number (we are already testing that the correct source line text
29644 gets printed).
29645
29646 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29647 that is what is intended, but something needed to be done to get
29648 sunos4 native working again.
29649
29650 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29651
29652 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29653 apparently went with a (very) old xfail.
29654
29655Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29656
29657 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29658 runto_main is a proc in gdb.exp that will do 'step' for target use
29659 stubs.
29660 * gdb.base/exprs.exp: ditto.
29661 * gdb.base/interrupt.exp: ditto.
29662 * gdb.base/opaque.exp: ditto.
29663 * gdb.base/printcmds.exp: ditto.
29664 * gdb.base/ptype.exp: ditto.
29665 * gdb.base/scope.exp: ditto.
29666 * gdb.base/setvar.exp: ditto.
29667 * gdb.base/signals.exp: ditto.
29668 * gdb.base/twice.exp: ditto.
29669 * gdb.c++/classes.exp: ditto.
29670 * gdb.c++/inherit.exp: ditto.
29671 * gdb.c++/templates.exp: ditto.
29672 * gdb.base/break.exp: no run and hit main for stubs. Change line
29673 numbers for breakpoints and info breakpoint.
29674 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29675 breakpoint().
29676 * gdb.base/callfuncs.c: ditto.
29677 * gdb.base/exprs: ditto.
29678 * gdb.base/interrupt.c: ditto.
29679 * gdb.base/opaque0.c: ditto.
29680 * gdb.base/printcmds.c: ditto.
29681 * gdb.base/ptype.c: ditto.
29682 * gdb.base/scope0.c: ditto.
29683 * gdb.base/setvar.c: ditto.
29684 * gdb.base/signals.c: ditto.
29685 * gdb.base/twice.c: ditto.
29686 * gdb.c++/misc.cc: ditto.
29687 * gdb.c++/templates.cc: ditto.
29688
29689Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29690
29691 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29692
29693 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29694 somewhere between `read' and `main.c'. I'm pretty sure the
29695 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29696 and it isn't particularly useful.
29697
29698 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29699
29700Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29701
29702 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29703
29704Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29705
29706 * config/mt-slite: add LIBS and -nostdlib.
29707 * config/slite-gdb.exp: add this new file to support sparclite target.
29708
29709Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29710
29711 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29712
29713 * gdb.base/a2-run.exp: Change argument to istarget from
29714 "*-*-vxworks" to "*-*-vxworks*".
29715 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29716
29717Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29718
29719 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29720 will not runto main but do a 'step' to step out of breakpoint().
29721 * config/mt-slite: add -Dusestubs.
29722
29723Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29724
29725 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29726 instead of just @.
29727
29728 * gdb.base/signals.exp: Add test for "handle all print".
29729 * TODO: Remove "handle all print". Also remove item about
29730 checking copyright date (I don't like the idea of a spurious FAIL
29731 based on when we run the tests).
29732
29733 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29734 for SunOS4 (reason for failure not investigated). Remove
29735 redundant test for $binfile.
29736
29737 * gdb.base/nodebug.c (array_index): Call malloc.
29738
29739 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29740
29741Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29742
29743 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29744 conventions and slightly simplify the matching regexp.
29745
29746Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29747
29748 * gdb.base/break.exp: Update gdb_test invocation to use new
29749 convention.
29750
29751 * lib/gdb.exp: If noargs is not set, set it to 0.
29752
29753 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29754 tests unique.
29755
29756 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29757
29758Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29759
29760 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29761 one argument of type "<non-float parameter>".
29762
29763Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29764
29765 * config/rom68k.exp: New file to support Motorola IDP board.
29766 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29767 * gdb.base/break.c: Change things around so that this program
29768 doesn't depend upon args. This is necessary to make remote
29769 targets work (in general, they can't take args).
29770 * gdb.base/break.exp: Don't try to send args to program. Don't
29771 expect output. Also, replace lots of code with gdb_test.
29772
29773Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29774
29775 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29776 printing of '\'' (which is what the comment says we are testing,
29777 even though we were not), not '''.
29778 (test_integer_literals_rejected): Test that printing ''' is an error.
29779
29780 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29781 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29782 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29783 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29784 Use gdb_test not test_print_accept.
29785 * lib/gdb.exp: Remove test_print_accept.
29786
29787 * gdb.base/signals.exp (signal_tests_1): Make pass message
29788 consistent with fail message.
29789
29790 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29791 unsigned char; the bug (PR 1821) is fixed.
29792
29793 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29794
29795 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29796 successful tests--makes xfailing them work right.
29797
29798Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29799
29800 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29801 only \r\n, not .*. The test can pass .* as the last thing in
29802 $pattern if that is what it wants. In addition to providing this
29803 flexibility, this change should speed up pattern matching in cases
29804 where the pattern already ended with .* (there were a number of
29805 them). This change also helps catch bad patterns--in the old
29806 scheme the typo "char \*" instead of "char \\*" would pass. Now
29807 it is caught.
29808 * Many .exp files: Update callers.
29809
29810 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29811 clearer and does not spuriously match multiple ('s. Likewise for
29812 ) and *.
29813
29814 * gdb.base/nodebug.exp: Test ability to call a function and pass
29815 it a string (even with no debugging info).
29816
29817 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29818 "p '\'", which is the same as "p ''" once tcl gets done with
29819 quoting, to "p '\\'", which I suspect is what is intended (one
29820 backslash gets sent to GDB).
29821
29822 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29823
29824Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29825
29826 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29827 1817) was fixed literally years ago.
29828
29829Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29830
29831 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29832 test, it causes stepping out of call_after_alloca_subr with
29833 optimizing compilers.
29834 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29835 fails.
29836
29837 * gdb.c++/templates.exp: Source templ-info.exp only if
29838 the templates executable exists.
29839
29840 * gdb.c++/misc.cc (class Contains_static_instance,
29841 class Contains_nested_static_instance),
29842 gdb.c++/classes.exp (test_static_members): Test printing of
29843 a class that contains a static instance of the class.
29844
29845Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29846
29847 * gdb.base/langs2.c (cppsub_): Don't prototype.
29848 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29849 only, I believe).
29850
29851Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29852
29853 * lib/gdb.exp (skip_chill_tests): New procedure.
29854
29855 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29856
29857Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29858
29859 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29860 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29861
29862Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29863
29864 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29865
29866 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29867 disassemble 8, not 16, instructions for part 4.
29868
29869 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29870 support the latter anymore.
29871
29872 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29873 -DNO_PROTOTYPES.
29874 * gdb.base/callfuncs.c: Control use of prototypes based on
29875 NO_PROTOTYPES, not __STDC__.
29876 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29877 t_float_values2 tests if prototypes in use.
29878
29879 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29880 t_double_values): When checking differences against DELTA, check
29881 that difference is within the range (-DELTA,DELTA), not just
29882 (-infinity,DELTA).
29883
29884Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29885
29886 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29887 'file' command firts, then 'target', then 'load', this is due to gdb
29888 target set up.
29889 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29890
29891Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29892
29893 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29894 FP load/store variants.
29895 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29896
29897Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29898
29899 * gdb.base/term.exp: Do not give a warning if not native, it is
29900 not an abnormal condition.
29901
29902Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29903
29904 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29905 t_char_array".
29906
29907Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29908
29909 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29910 are getting the version number.
29911
29912 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29913 if not native, it is not an abnormal condition.
29914
29915Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29916
29917 * lib/gdb.exp: Just use "file exists", rather than undocumented
29918 dejagnu procedure "findfile".
29919
29920Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29921
29922 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29923 (LDFLAGS): Set to -Xlinker -Ur.
29924
29925 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29926 Removed, these values are set by lib/gdb.exp.
29927
29928 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29929
29930Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29931
29932 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29933 of replicating gdb startup code.
29934
29935 * config/mt-vxworks (LDFLAGS): Set to -r.
29936 (CFLAGS_FOR_TARGET): Removed.
29937
29938 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29939 (gdb) and gdb for vxworks uses (vxgdb).
29940
29941 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29942 executable is not in the tree and host != target, use sed and
29943 program_transform_name to determine the gdb name used by the
29944 target.
29945
29946 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29947 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29948
29949Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29950
29951 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29952 floats, chars, and shorts where there are ANSI-style function
29953 definitions.
29954
29955 * gdb.base/langs.exp, gdb.base/langs*: New test.
29956 * gdb.base/Makefile.in: Build it.
29957 * TODO: Remove item about checking that C names don't get C++
29958 demangling applied; this test tests it.
29959
29960Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29961
29962 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29963 went with the const70 xfail. The xfail went away a year ago.
29964
29965 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29966
29967 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29968 for hp300.
29969
29970 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29971
29972 * gdb.base/a1-selftest.exp: Don't run on hp300.
29973
29974Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29975
29976 * Makefile.in (site.exp): Set host_alias and target_alias as well
29977 as host_triplet and target_triplet.
29978
29979Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29980
29981 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29982
29983 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29984 places as other ecoff systems).
29985
29986 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29987 ultrix.
29988
29989Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29990
29991 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29992 remove them.
29993 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29994 variable and "variable" in addition to "data variable".
29995 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29996
29997 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29998 2.
29999 * gdb.base/list1.c (long_line): Add additional statement at start
30000 of function.
30001 * gdb.base/list.exp (test_forward_search): Update line number to
30002 reflect new statement.
30003
30004Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30005
30006 * gdb.base/signals.exp: Reinitialize searched source directories
30007 after gdb_start call.
30008
30009Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
30010
30011 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
30012 * gdb.stabs/Makefile.in: Likewise.
30013
30014 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
30015 change. Instead split the tests into smaller pieces.
30016 * gdb.disasm/hppa.s: Corresponding changes.
30017
30018Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30019
30020 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30021 Quote ^C when passing it to stty. For some shells ^ is a pipe.
30022
30023 * gdb.base/funcargs.exp: Modify many tests so that every test
30024 either passes or fails. Make some test names unique.
30025
30026Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30027
30028 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
30029 Call stty to set interrupt character.
30030
30031 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
30032 for HP assembler versus GNU assembler based on actual behavior of
30033 $(CC), rather than assuming that $(AS) is always the GNU assembler.
30034
30035 * TODO: Suggest a few more stepping tests.
30036
30037Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
30038
30039 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
30040 restart GDB for h8300 after a continue.
30041 (return): Add pattern to match a29k-udi behavior.
30042 * gdb.base/nodebug.exp: Remove obsolete comment.
30043 * gdb.base/regs.exp: New file, testing of register displays.
30044 * gdb.base/return.exp: Fix typo in reference to $objdir.
30045 * gdb.base/whatis.exp: Always start with a fresh GDB.
30046
30047Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30048
30049 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
30050 higher, these tests generate a lot of output.
30051
30052Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30053
30054 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
30055 code following the catch silently ignored some errors; without the
30056 catch they should be thrown like any other tcl error. Also, the
30057 catch used "" instead of {} which meant all the callers who wanted
30058 to include one of the characters "[]$ had to quote it an extra time.
30059 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
30060 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
30061 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
30062 Remove extra quoting.
30063
30064Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
30065
30066 * gdb.base/commands.exp: Make test names unique; every test either
30067 passes or fails. Update some comments.
30068
30069 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
30070
30071Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30072
30073 The following fixes a FAIL caused by the fact that the alpha stabs
30074 configuration didn't use the ".if alpha" code in weird.def.
30075 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
30076 bit pointer, so the 32 bit version works even on the alpha.
30077 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
30078 Remove the stuff which allowed us to have separate versions for
30079 alpha and everything else.
30080
30081 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
30082 regexp which "info func operator\[\](" is supposed to match. Fix
30083 string to send to GDB. Note that GDB still doesn't work right. Add a
30084 new test for "info func .perator\[\](" which GDB does handle correctly.
30085
30086 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
30087
30088Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30089
30090 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
30091 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
30092 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
30093 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
30094 it makes the tests harder to understand and confuses test-o-matic.
30095 The preferred style is that each test provides a PASS or a FAIL,
30096 and has a unique message (e.g. "continue #54" not just "continue")
30097 which is the same for the pass and the fail.
30098 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
30099 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
30100 to lib/gdb.exp.
30101 * gdb.base/printcmds.exp: Use test_print_accept. Remove
30102 prt_accept which was basically the same thing. Likewise for
30103 test_print_reject and prt_reject.
30104 * lib/gdb.exp (test_print_reject): Add some more error message
30105 patterns to match from the former printcmds.exp (prt_reject).
30106 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
30107 One defect of the passcount stuff is that some of it failed to
30108 report XPASS where appropriate.
30109 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
30110 stuff before and after arg in expected pattern.
30111 (test_paddr_operator_functions): Re-do test without print_addr_of;
30112 this is the only test which seems to want extra stuff there.
30113
30114Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30115
30116 * gdb.base/nodebug.exp: Update new tests to reflect improved
30117 wording of gdb output.
30118
30119 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
30120 and "ptype" work on variables in files compiled without -g.
30121 Replaces commented out "maint print msymbol" tests.
30122
30123Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30124
30125 * gdb.base/setvar.c (dummy): Call malloc.
30126
30127 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
30128 losing with the irix4 sed.
30129
30130 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
30131 ALRM" on irix4.
30132
30133Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30134
30135 * TODO: Remove items about corefile.exp testing new exec-file and
30136 backtrace; both are now done. Add items about printing enums.
30137
30138Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30139
30140 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
30141 "get signal $thissig" test fails.
30142
30143 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
30144
30145Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30146
30147 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
30148 compiler warning with dec alpha compiler.
30149
30150 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
30151 extra \n from gdb_test call (this explains why the prompt test
30152 that I removed yesterday was there).
30153 (user_defined_command_test): Remove extra \n and prompt test.
30154
30155 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
30156 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
30157 doesn't exist.
30158 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
30159 Also remove alpha workaround, which turns out to be because
30160 SIGABRT == SIGLOST.
30161
30162 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
30163
30164 * gdb.base/help.exp: Don't test "help show".
30165
30166Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30167
30168 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
30169 "set print address" is on.
30170 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
30171 pass prompt to gdb_test; gdb_test already looks for the prompt.
30172
30173 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
30174
30175 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
30176 was a vestige of the manual TESTSTRATEGY, and the purpose of it
30177 was to make sure that gdb can read a core file. But (a) the "read
30178 the corefile" part didn't make it to a1-selftest.exp, we just
30179 delete the corefile after creating it, and (b) we test reading
30180 corefiles in corefile.exp anyway. Also, this test left around a
30181 xgdb process on Solaris.
30182
30183 * gdb.base/corefile.exp: Also test backtrace.
30184
30185Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
30186
30187 * gdb.base/commands.exp: Test a simple user defined command with
30188 arguments and if/while statements; verify the full user command is
30189 printed by "show user".
30190
30191 * gdb.base/commands.exp: Test if/while commands as part of a
30192 breakpoint command list; verify they appear in breakpoint
30193 information.
30194
30195Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30196
30197 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
30198 than by dividing by zero.
30199
30200Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
30201
30202 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
30203 performing an inferior call with watchpoints enabled.
30204 * gdb.base/watchpoint.c (main): Delete second unnecessary read
30205 call.
30206
30207Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30208
30209 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
30210 of "file" command.
30211
30212 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
30213 Add additional pattern for when "int operator int(void);" appears
30214 in a different order.
30215
30216Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
30217
30218 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
30219
30220 * gdb.base/help.exp: Replace most of docstrings for "info signals"
30221 and "signal" with ".*".
30222
30223Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
30224
30225 * TODO: Add note about "handle all nostop".
30226
30227 * gdb.base/{sigall.c, sigall.exp}: New test.
30228 * gdb.base/Makefile.in: Add it.
30229
30230Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
30231
30232 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
30233 when invoking GDB, suppresses any windowing interface.
30234
30235Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
30236
30237 * config/sim-gdb: New file, simulator testing support.
30238
30239Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
30240
30241 * gdb.base/interrupt.exp: Test calling func1 twice.
30242
30243Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
30244
30245 * gdb.base/list.exp (test_forward_search): Set timeout higher
30246 when we'll be getting lots of output from gdb.
30247
30248 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
30249 "init_malloc" to after the expect statement. Run it if that
30250 regexp is taken, but also for two others which happen if source
30251 cannot be found.
30252
30253Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30254
30255 * gdb.base/printcmds.exp: New test, for printing register before
30256 program is running.
30257
30258Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30259
30260 * gdb.base/list.exp: Correct some alternate expect patterns
30261 to reflect changes in list1.c.
30262
30263Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30264
30265 * TODO: Add item regarding large frames.
30266
30267 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
30268
30269 * TODO: Remove item about enabling return.exp; it
30270 is enabled. Suggest a few more "return" tests.
30271
30272Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30273
30274 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
30275 anonymous unions.
30276
30277Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30278
30279 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
30280 and pr-5646.o, so "make" is the same as "make all", not "make
30281 pr-4975.o".
30282
30283Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
30284
30285 * gdb.base/list.exp: Adjust expectations to reflect changes in
30286 list1.c.
30287 (test_forward_search): New test proc.
30288 * gdb.base/list1.c (long_line): New function, has long source line.
30289
30290Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
30291
30292 * gdb.base/a1-selftest.exp: Change initial stepping to know about
30293 additional line of code that was added.
30294
30295Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
30296
30297 * gdb.disasm/hppa.s: Break the large branching tests into smaller
30298 tests so as not to overflow expect's input buffers.
30299 * gdb.disasm/hppa.exp: Corresponding changes.
30300
30301Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30302
30303 Beginnings of template debugging tests.
30304 * gdb.c++/templ-info.cc: New file to test for template
30305 debugging capability of the compiler.
30306 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
30307 templ-info.cc.
30308 * gdb.c++/templates.cc: Add explicit template instantiations
30309 to enable compiling with -fno-implicit-templates. Add destructor
30310 and 'value' method to T5 class for template tests.
30311 * gdb.c++/templates.exp: Add testcases for printing of template
30312 types, setting breakpoints on template methods and calling a
d63a86f8 30313 template method.
c906108c
SS
30314
30315Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
30316
30317 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
30318 branch target since some assemblers (gas-2.5) may emit a
30319 relocation for the branch instead of resolving it in the
30320 assembler.
30321
30322Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30323
30324 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
30325 through signal handler.
30326
30327Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30328
30329 * configure.in (*-*-netware): Use config/mt-netware.
30330
30331 * config/mt-netware: New file.
30332 * config/mt-i386-netware: Removed, separate configs for different
30333 netware architectures are no longer needed now that we have
30334 --with-headers.
30335
30336Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30337
30338 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
30339 by the recent changes to use ANSI C arithmetic conversions.
30340
30341Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30342
30343 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
30344 bug involving using inferior_pid to figure out whether to select a
30345 frame.
30346
30347Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
30348
30349 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
30350 match the current disassembler output.
30351
30352Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
30353
30354 * gdb.fortran/exprs.exp: Expect VOID instead of void.
30355 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
30356 types, expect "int" as type of integer values (for now).
30357
30358Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
30359
30360 * gdb.base/commands.exp: New tests for if/while commands.
30361
30362Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
30363
30364 * lib/gdb.exp (runto): Replace sub-pattern for hex value
30365 by .*, since hex values have different syntax in Chill mode.
30366
30367Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30368
30369 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
30370 linefeed from expect pattern for repeated types with indices > 9.
30371
30372Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
30373
30374 First part of Fortran test suite.
30375 * gdb.fortran: New directory.
30376 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
30377
30378Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30379
30380 * gdb.base/default.exp: Update expect pattern for load command
30381 without arguments.
30382
30383Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
30384
30385 * configure.in: Change i386 to i[345]86.
30386 * gdb.base/configure.in: Likewise.
30387 * gdb.c++/configure.in: Likewise.
30388 * gdb.chill/configure.in: Likewise.
30389
30390Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
30391
30392 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
30393 patterns, since that is not a valid context for comments.
30394
30395Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
30396
30397 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
30398 repeated types and repeated types with indices > 9.
30399
30400Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
30401
30402 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
30403 2417; old bug has been fixed.
30404
30405Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
30406
30407 * gdb.base/interrupt.exp: When trying to wake up the inferior,
30408 send the newline ourselves instead of assuming gdb_test will do
30409 so when passed an empty input string.
30410
30411 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
30412 stabs testcode.
30413
30414Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30415
30416 * lib/gdb.exp (gdb_test): Don't send anything if the first
30417 argument is an empty string. This makes cases where we want to
30418 match output that is already in expect's buffers (for example,
30419 matching a breakpoint after gdb_run_cmd has been called) work
30420 reliably.
30421
30422Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30423
30424 * config/netware.exp: New file.
30425
30426Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30427
30428 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
30429 the -B and -L prefixes so we can find the debugging stub.
30430
30431 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
30432 there and we are using the gcc from the tree.
30433
30434 * gdb.base/types.c: Removed.
30435
30436 * gdb.base/configure.in: Look for makefile fragments in ../config.
30437 Recognize i386-*-netware.
30438 * gdb.c++/configure.in: Likewise.
30439
30440Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30441
30442 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
30443 the correct TCL syntax.
30444
30445Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30446
30447 * gdb.base/opaque.exp: use runto instead of messing around with
30448 breakpoints. Simplify by using gdb_test.
30449
30450 * gdb.base/bitfields.exp: restart between tests on netware targets
30451 because breakpoints aren't relocated after target death. Run
30452 processes to completion.
30453
30454 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
30455
30456Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
30457
30458 * Makefile.in: Remove extra tabs that confuse some versions
30459 of "make". Use the newly built gdb to test with by default,
30460 rather than the first one in the tester's search path.
30461
30462Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
30463
30464 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
30465
30466 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
30467 condition help.
30468
30469Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30470
30471 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
30472
30473 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
30474 running.
30475 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
30476 * gdb.base/funcargs.exp: Likewise.
30477
30478 * gdb.base/bitfields.exp: Simplify by using gdb_test.
30479 * gdb.base/funcargs.exp: Likewise.
30480
30481 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
30482 message is "".
30483
30484Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30485
30486 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
30487 return,signals,twice}.exp: Handle non-existant binaries
30488 consistantly.
30489
30490 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
30491 * gdb.base/Makefile.in: Don't try to generate a core dump, we
30492 might testing a cross development system.
30493
30494Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30495
30496 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
30497 runtest script is relative to ${srcdir}, not ${rootdir}.
30498
30499Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
30500
30501 * gdb.base/signals.exp: Allow for optionality of breakpoint
30502 address.
30503
30504Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30505
30506 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30507
30508Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30509
30510 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30511 for size_t definition.
30512 * gdb.c++/templates.cc: Likewise
30513
30514 * config/mt-i386-netware: New file.
30515
30516 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30517 defined.
30518
30519 * gdb.base/Makefile.in: Added support for systems that name core
30520 files by appending "core" to the program name.
30521 * gdb.base/a1-selftest.exp: Likewise.
30522
30523Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30524
30525 * gdb.base/return.exp: Add comment and message for `return double'
30526 test failure on Sparc Solaris.
30527
30528Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30529
30530 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30531
30532Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30533
30534 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30535 from optimizing them away.
30536 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30537 patterns to include default constructors and assignment operators,
30538 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30539 character in the output of the virtual base pointer.
30540
30541Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30542
30543 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30544 expression match in print_addr_of to avoid unintented matches.
30545 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30546 versions up to 2.5.8.
30547
30548Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30549
30550 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30551 included file to run under newer versions of expect.
30552 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30553 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30554 Remove xfail for the virtual table of BDDHookV.
30555
30556Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30557
30558 * lib/gdb.exp (string_to_regexp): Set a default result.
30559 (default_gdb_start): Fix misleading message.
30560
30561Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30562
30563 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30564 Remove all CC, etc definitions.
30565 * config/mt-hpux: New file.
30566 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30567 (CFLAGS, LDFLAGS): Define.
30568 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30569
30570 * Makefile.in (site.exp): Don't insert host_os, etc.
30571 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30572 (distclean): Check existence of subdir.
30573 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30574 * gdb.base/Makefile.in: General cleanup and simplification.
30575 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30576 to build executables. Use default rule to build .o files.
30577 (EXPECT, RUNTEST, CC): Fix relative pathname.
30578 (site.exp): Don't insert host_os, etc.
30579 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30580 and/or SIGUSR1 defined.
30581 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30582 * gdb.c++/Makefile.in: General cleanup and simplification.
30583 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30584 (CFLAGS): Remove.
30585 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30586
30587Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30588
30589 * gdb.base/recurse.exp: Misc changes to get tests running again
30590 after Kung's changes to the watchpoint code.
30591 * gdb.base/watchpoint.exp: Likewise.
30592
30593Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30594
30595 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30596
30597Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30598
30599 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30600 * lib/gdb.exp (default_gdb_start): Define.
30601 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30602 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30603 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30604 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30605 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30606 Don't call gdb_target_udi in between tests.
30607
30608Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30609
30610 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30611 (which was basically just a local version of the same thing). In
30612 addition to avoiding duplication, gdb_test_exact is faster.
30613 * lib/gdb.exp (gdb_test_exact): Fix typo.
30614
30615 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30616 don't give an error.
30617
30618 * gdb.base/term.exp: Call delete_breakpoints before starting.
30619
30620 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30621 (t10): Add comment.
30622
30623Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30624
30625 Reorganization of the GDB Test Suite.
30626
30627 * gdb.base: New directory, contains all the basic tests.
30628 * gdb.c++: New directory, tests specific to C++.
30629 * gdb.chill: New directory, tests specific to Chill.
30630 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30631 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30632 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30633 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30634 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30635 t30-31 to chill).
30636 * */gdbme.*: Rename to match appropriate expect scripts.
30637 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30638 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30639 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30640 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30641 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30642 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30643 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30644 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30645 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30646 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30647 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30648 gdb.c++/virtfunc.cc: New names of C++ files.
30649 * gdb.chill/chillvars.ch: New name of Chill file.
30650 * gdb.base/configure.in, gdb.c++/configure.in,
30651 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30652 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30653 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30654 * configure.in (configdirs): Update to reflect directory changes.
30655 (target_abbrev): No longer define for any configuration.
30656 * Makefile.in: Cosmetic improvements to header comments.
30657
30658Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30659
30660 Various changes to gdb.t31:
30661
30662 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30663 * gdbme.ch: Make all key-words and predefineds be upper-case.
30664 * chillvars.exp: Expect key-words and predefinds in upper-case.
30665
30666 * chillvars.exp: Use gdb_test_exact many places.
30667 Change expected output for arrays (which now includes index labels).
30668
30669 * pr-5020.exp, gdme.ch (module PR_5020):
30670 New test, for PR-5020.
30671
30672Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30673
30674 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30675 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30676
30677Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30678
30679 * Makefile.in: Fix bit-rot in definitions of CHILL,
30680 CHILL_FOR_TARGET and Chill_LIB.
30681 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30682 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30683 CHILL, and CHILL_LIB.
30684
30685Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30686
30687 * Revert the previous changes. Please see Rob's directory
30688 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30689
30690Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30691
30692 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
30693 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30694 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30695 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
30696 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30697 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30698 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30699 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30700 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30701 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30702 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30703 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30704 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30705 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30706 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30707 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30708 changes from 94Q1.
30709
30710Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30711
30712 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30713 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30714 Rob's new testing fragments.
30715
30716Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30717
30718 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 30719 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
30720
30721Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30722
30723 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30724 version also, match on casted version strings, and match on
30725 gdb startup case where the line numbers might be messed up.
30726
30727Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30728
30729 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 30730 (CFLAGS): Delete it from here.
c906108c
SS
30731
30732Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30733
30734 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30735
30736Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30737
30738 * Makefile.in (RUNTEST): Default to just "runtest".
30739
30740Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30741
30742 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30743 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30744 the code has been restructured.
30745
30746Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30747
30748 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30749 \n, not just one of each.
30750
30751 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30752 /bin/cc gives a warning if you do.
30753
30754Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30755
d63a86f8 30756 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
30757 __t10ListS_link1ZUiRCUiPT0
30758
30759Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30760
30761 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30762 on local variables in recursive functions.
30763
30764 * gdb.t07/Makefile.in: Build the new test.
30765
30766Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30767
30768 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30769 directly. Instead compare the return values from actual calls.
30770
30771Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30772
30773 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30774
30775Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30776
30777 * From Peter Schauer with minor modifications.
a9c64011
AS
30778 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30779 stops in mid-line in the caller. Add xfail for returning a float
30780 value on X86 targets.
c906108c
SS
30781
30782Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30783
30784 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30785 to avoid expect lossage.
30786 (fmem_LRbug_tests): Likewise.
30787 * gdb.disasm/hppa.s: Corresponding changes.
30788
30789 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30790 conditions to work with latest dejagnu/expect.
30791
30792 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30793 expected to fail on the PA.
30794 (backtrace in call with trampolines): Explicitly require main
30795 to be frame #1 (no trampolines should show up in backtrace).
30796
30797 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30798 "continue -expect".
30799 * gdb.t06/break.exp: Likewise.
30800 * gdb.t07/watchpoint.exp: Likewise.
30801 * gdb.t13/bitfields.exp: Likewise.
30802 * gdb.t15/{funcargs,return}.exp: Likewise.
30803 * gdb.stabs/weird.exp: Likewise.
30804 * config/{mips,udi}-gdb.exp: Likewise.
30805
30806 * hppa.sed: Enclose comments within a sed command to avoid
30807 losing with the old OSF1 sed.
30808
30809Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30810
30811 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30812 sequent dynix.
30813 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30814 * gdb.t15/funcargs.exp: Conditionally step again to really
30815 finish from marker_call_with_trampolines. Handle the case where
30816 the first step from within call_with_trampolines already steps
30817 us back to main.
30818 * gdb.t15/gdbme.c: Add comment to closing brace of
30819 call_with_trampolines for funcargs.exp.
30820
30821Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30822
d63a86f8 30823 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
30824 Fix typo(s).
30825
30826Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30827
30828 * gdb.t07/gdbme.c: More code for watchpoint testing.
30829
30830 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30831 "Hardware watchpoint" throughout file.
30832 (test_watchpoint_triggered_in_syscall): New test.
30833 (test_complex_watchpoint): New test.
30834
30835Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30836
30837 * gdbme.c (call_with_trampolines): New function to try and step
30838 into. Tests trampoline problems on the PA.
30839
30840 * funcargs.exp (localvars_in_indirect_call): No longer expect
30841 stepping into indirect call to fail on PAs.
30842 (test_stepping_over_trampolines): New test.
30843
30844Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30845
30846 * TODO: Add suggestions for static member function tests, and
30847 completion tests.
30848
30849Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30850
30851 * TODO: Add suggestions for "p/a" tests.
30852
30853 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30854 (default_gdb_exit): Replace all the hair with sending "quit" to
30855 the process with a simple close.
30856
30857Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30858
30859 * TODO: Add suggestions for shared library tests.
30860
30861Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30862
30863 * TODO: Add suggestions for x/s tests.
30864
30865Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30866
30867 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30868 "enable once", and "enable breakpoints once" with ".*".
30869
30870Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30871
30872 * TODO: Add suggestions about structure passing tests.
30873
30874Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30875
30876 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30877 the primary1 test, use work around if __GNUC__ < 2.
30878 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30879 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30880 Test for bad output rather than waiting for timeout. Issue
30881 second continue only if first continue failed.
30882
30883Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30884
30885 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30886 operator[] test with gdb_test because the old code didn't seem to
30887 be getting the quoting right with the new dejagnu.
30888
30889Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30890
30891 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30892 one from the path.
30893 * Makefile.in: Use a fresh expect if there is one, use runtest
30894 from the src tree if there is one.
d63a86f8 30895
c906108c
SS
30896Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30897
30898 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30899 next over recursive call. Revise the tests from that point on
30900 (which had been skipped) to match GDB's actual (correct) output.
30901
30902 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30903 with next over a breakpoint whose condition is false.
30904
30905 * gdb.t00/help.exp: Comment out "help set print" tests just like
30906 (and for same reason as) "help set" test.
30907
30908Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30909
30910 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30911 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30912
30913Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30914
30915 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30916 necessary gdb_target_udi.
30917
30918 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30919
30920 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30921 1838 and 2417; they are fixed.
30922
30923 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30924 gdb.t03/ptype.exp (ptype structure, ptype union):
30925 Remove xfails; the test is looser than when the xfails were added.
30926
30927 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30928 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30929
30930 * gdb.t01/run.exp: Only run shell test if isnative.
30931
30932 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30933 since "run" automatically loads if necessary. Call gdb_target_udi
30934 after the "file" since "file" kills any execution target.
30935
30936 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30937 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30938 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30939 argument for UDI.
30940
30941Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30942
30943 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30944
30945 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30946
30947Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30948
30949 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30950 properly quoting regexps. This makes the second argument to
30951 demangle a fixed string, which matches the callers, instead of a
30952 shell-style pattern which is what the previous implementation
30953 used. Update some of the callers.
30954
30955Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30956
30957 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30958 (comib_nullified_tests): Fix typo.
30959 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30960 strings. No longer expected to fail.
30961
30962 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30963 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30964 strings. No longer expected to fail.
30965
30966 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30967 string. No longer expected to fail.
30968
30969Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30970
30971 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30972 No longer expected to fail.
30973
30974 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30975 string. No longer expected to fail.
30976
30977Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30978
30979 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30980 only in the names (I probably got most of them). I was even
30981 generous with some which differed in underscores in names, and
30982 probably missed a few, and I *still* was able to remove almost a
30983 third of the file with almost no impact on testsuite coverage.
30984
30985Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30986
30987 * gdb.t00/default.exp: Match udi_attach error message as well as
30988 the one from child_attach.
30989
30990 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30991
30992 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30993
30994 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30995 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30996
30997 * Move test with enums and partial symbols back to
30998 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30999 Reverts the change of 26 May 93. Per today's change to
31000 stabs.texinfo, the behavior that weird.exp was expecting was
31001 unreasonable; what is important is that the compiler+gdb get
31002 things right, which happens with a recent gcc. Also fix the test
31003 to deal with native compilers which put out the stab gdb can't
31004 deal with.
31005
31006Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31007
31008 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
31009 in the names. The main thing these accomplish is to slow things down.
31010 Many more such duplicates surely remain.
31011
31012 * gdb.t00/help.exp: Comment out "help support" test just like
31013 (and for same reason as) "help set" test.
31014
31015Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
31016
31017 * gdb.t06/break.exp: Remove setup_xfails for
31018 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
31019 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
31020 about known bug in gcc to include up through 2.5.8.
31021 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
31022 well as "_vb$".
31023 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
31024 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
31025 with latest gcc and gdb.
31026 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
31027 well as "_vb$".
31028
31029Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31030
31031 * configure.in (hppa*-*-*): Also configure and build stabs-only
31032 tests.
31033
31034Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31035
31036 * gdb.t10/hppa.mt: A makefile fragment for the PA.
31037 * gdb.t10/configure.in (hppa*-*-*): Use it.
31038
31039Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31040
31041 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
31042
31043Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31044
31045 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
31046 versions prior to 1.13.5.
31047
31048Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31049
31050 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
31051 the prompt is at the start of a line.
31052
31053Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
31054
31055 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
31056 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
31057 in the copr tests now.
31058 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
31059 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
31060 expected to fail.
31061
31062Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
31063
31064 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
31065 gdb.t31/chillvars.exp, lib/gdb.exp:
31066 Tweak to run under either version of expect.
31067 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
31068 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
31069 * gdb.t11/list.exp: Remove extraneous whitespace.
31070
31071Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31072
31073 * gdb.t16/printcmds.exp (test_print_strings): Accept
31074 "(unsigned char *) " before the string.
31075
31076 * TODO: Add notes about printing of fancy types and GDB expressions.
31077
31078Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
31079
31080 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
31081 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 31082 if doing mips-idt-ecoff.
c906108c
SS
31083
31084Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
31085
31086 * Most .exp files: Tweak to run under either version of expect.
31087
31088Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31089
31090 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
31091 xfails; I'm not sure why they are failing, but not because of PR 1806.
31092
31093Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
31094
31095 * config/unix-gdb.exp: Remove gdb_unload cause it's already
31096 defined in lib/gdb.exp.
31097
31098Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31099
31100 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
31101 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
31102 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
31103 have to be typeless.
31104
31105Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
31106
31107 * TODO: Add suggestion for copyright year test.
31108
31109Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
31110
31111 * configure.in (*-*-lynxos*): Add stabs tests.
31112
31113Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31114
31115 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
31116 so insert a tab before any assembler directive in column zero.
31117
31118 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
31119 stores.
31120 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
31121 stores.
31122 (fpu_short_memory_tests): Likewise.
31123
31124Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31125
31126 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
31127 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
31128 .stabs directives in comments.
31129
31130Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31131
31132 * TODO: New file, describing tests we could write.
31133 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
31134
31135Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31136
31137 * gdb.t06/signals.exp: Add kludge to force re-sync.
31138
31139 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
31140 to xgdb instead of gdb, get out of gdb.
31141
31142Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
31143
31144 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
31145 for info.
31146
31147Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
31148
31149 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
31150 * gdb.stabs/configure.in (hppa*-*-*): Use it.
31151 * gdb.stabs/hppa.sed: New sed script for the PA.
31152
31153Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31154
31155 * gdb.stabs: Re-write weird.def and configuration to use sed
31156 instead of cpp. sed is portable and POSIX; cpp is neither.
31157
31158Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31159
31160 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
31161
31162Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31163
31164 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
31165
31166Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31167
31168 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
31169 "_vb$".
31170 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
31171 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
31172
31173Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31174
31175 * lib/gdb.exp: Comment out code which depends on non-existent
31176 `transform' procedure.
31177
31178Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
31179
31180 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
31181 * lib/gdb.exp: Transform tool name.
31182 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
31183 1.1's new error handling system.
31184
31185Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31186
31187 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
31188
31189Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31190
31191 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
31192 They made pattern matching so slow that timeouts happened on
31193 heavily loaded systems. Now any output from "show print" which
31194 gets us back to the GDB prompt is a PASS.
31195
31196Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
31197
31198 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
31199
31200Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31201
31202 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
31203
31204 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
31205 It is not from PR 3220.
31206
31207Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31208
31209 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
31210 just started failing because they depended on the order the
31211 subcommands are presented, or exact docstring text. This kind of
31212 test is a pain and has minimal benefit.
31213
31214Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31215
31216 * gdb.t09/corefile.exp: At end of test, use "core" command with
31217 no arguments.
31218
31219Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
31220
31221 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
31222 17}/Makefile.in: Make it possible to run the testsuite with Sun
31223 make and CC = cross gcc by adding explicit build rules for .o
31224 files.
31225
31226Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31227
31228 * gdb.t15/funcargs.exp: Don't put comments on same line as
31229 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 31230
c906108c
SS
31231Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31232
31233 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
31234
31235Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
31236
31237 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
31238 * gdb.t20/inherit.exp: remove three dumplicate entries.
31239
31240Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31241
31242 * gdb.t06/break.exp: For "next over recursive call", fail on any
31243 incorrect output, not just on "factorial (value=2)".
31244
31245Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31246
31247 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
31248 working now. Add an xfail if accesing a bss variable causes
31249 a memory error if the target is not yet run.
31250
31251Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31252
31253 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
31254 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
31255 name of __st* demangling (2 strings). Did Kung really get the
31256 more than 95 others right without testing them?
31257
31258Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
31259
31260 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
31261
31262Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
31263
31264 * configure.in (configdirs): Add gdb.disasm
31265 * gdb.disasm: New directory for GDB disassembler tests.
31266 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
31267
31268Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31269
31270 * gdb.t00/help.exp: Don't test "help set".
31271
31272 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
31273 from within expect statements. None of these happen anymore and
31274 they cause regressions to be silently unnoticed.
31275
31276 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
31277 messages) about known failures with gcc cygnus-2.4.5-930417.
31278
31279 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
31280 comp-info.exp so it gets built if it doesn't exist.
31281
31282 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
31283 it is no longer used.
31284 * gdb.t13/comp-info.c: Removed.
31285
31286Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31287
31288 * gdb.t06/signals.exp: Add xfail for sun3.
31289
31290Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31291
31292 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
31293 relevant because ^C doesn't get sent but failure can be reproduced
31294 interactively).
31295
31296Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31297
31298 * gdb.stabs/alpha.mt: New configuration file for alpha.
31299 * gdb.stabs/configure.in: Use it.
31300 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
31301 sharing with alpha.mt, redefine long to word via preprocessor.
31302 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
31303 for alpha.
31304 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
31305 native cc.
31306 * gdb.t00/teststrategy.exp: Change expect string so that we
31307 consume the `(xgdb)' from the command echo and from the gdb prompt.
31308 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
31309 gdb currently compares all values as long, so this failure probably
31310 applies to any configuration where LONGEST is bigger than a target int.
31311 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
31312 with gcc.
31313 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
31314 to handle opaque pointers, gcc is.
31315 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
31316 as first argument. Include <sys/types.h> and change all operator
31317 new definitions to use size_t.
31318 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
31319 now that we use size_t.
31320
31321Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31322
a9c64011 31323 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 31324 a long or float array cast all array members to the same type.
a9c64011 31325 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 31326 with 64 bit longs.
a9c64011 31327 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 31328 on alpha.
a9c64011 31329 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
31330
31331Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31332
31333 * gdb.t24 (demangle.exp): Constructors of templates have names like
31334 vector<int>::vector(int) not vector<int>::vector<int>(int). See
31335 section 14.6 of the ARM.
31336
31337 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
31338 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
31339 accomplish little and slow down the testsuite.
31340
31341 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
31342 Accept spaces various places.
31343
31344Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31345
31346 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
31347 with watchpoint enabled.
31348
31349 * Makefile.in: Remove definition of CC and remove the second
31350 definition of CXX (the "CXX = gcc" one remains). These definitions
31351 were causing backquotes to be expanded within backquotes, which
31352 doesn't work.
31353
31354Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
31355
31356 * gdb.t17/callfuncs.exp: Add "return 0" to end.
31357
31358Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31359
a9c64011
AS
31360 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
31361 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
31362 by mips cc and contains no stabs entries.
31363
31364Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
31365
31366 * config/vx-gdb.exp: Use fake device to load files rather than
31367 NFS.
31368 * lib/gdb.exp: New proc to do "file" command.
31369 * config/unix-gdb.exp: Use new "file" proc.
31370
31371Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
31372
31373 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
31374 Rework board rebooting slightly.
31375 (gdb_exit): Don't exit from the remote shell; there isn't one.
31376 * gdb.stabs/weird.exp: If a program is being debugged already,
31377 kill it.
31378 * gdb.t04/setvar.exp: Stop and restart gdb.
31379 * gdb.t05/expr.exp: Likewise.
31380 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
31381 restart gdb and reload the program.
31382 * gdb.t08/opaque.exp: Likewise.
31383 * gdb.t12/scope.exp: Likewise.
31384 * gdb.t13/bitfields.exp: Likewise.
31385 * gdb.t15/funcargs.exp: Likewise.
31386 * gdb.t20/classes.exp: Likewise.
31387 * gdb.t03/ptype.exp: Increase timeout.
31388 * gdb.t16/printcmds.exp (test_print_string_constants,
31389 test_print_array_constants): Likewise.
31390 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
31391 * gdb.t20/classes.exp (do_tests): Likewise.
31392 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
31393
31394Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
31395
31396 * gdb.stabs: Renamed *wierd* to *weird*.
31397
31398Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31399
31400 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
31401 for timeout. Add "known gcc 2.4.5 bug" to failure message.
31402
31403Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
31404
31405 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
31406 (do_tests): Remove xfail for whatis on one_var and two_var.
31407
31408Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
31409
31410 * Makefile.in: Made cross building work better by adding
31411 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
31412
31413Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31414
31415 * gdb.t15/{return.c,return.exp,Makefile.in}:
31416 New test, currently commented out.
31417
31418Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
31419
31420 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
31421 still running and removes the leftover named socket so GDb can do
31422 clean restarts.
31423
31424Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
31425
31426 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
31427 console, not GDB.
31428 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
31429 cross testing works better with "make check"
31430 * config/unix-gdb: Use default procedures for exit and version.
31431 * config/vx-gdb.exp: Cleaned up and massaged back to working order
31432 with the newest VxWorks.
31433
31434Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31435
31436 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
31437 old form.
31438
31439 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
31440 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
31441
31442 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
31443
31444 * config/unix-gdb.exp: Remove this version of gdb_exit
31445 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
31446 Rob says he'll look at it when he gets back to testing boards.
31447
31448Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
31449
31450 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
31451 an expected fail for certain ptype commands.
31452
31453 * gdb.t20/classes.exp: Update expected results of "ptype class
31454 Base1" to account for the constructor that now appears in the type.
31455
31456Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
31457
31458 * configure.in (configdirs): Restore gdb.t04, which mysteriously
31459 disappeared from list.
31460 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
31461 "alldone" proc with call to cleanup and exit.
31462 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
31463 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
31464 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
31465 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
31466 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
31467 "alldone" proc with simple returns that suppress remaining
31468 tests. The alldone proc went away many months ago.
31469
31470Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31471
31472 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
31473
31474 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
31475
31476Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31477
31478 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
31479 as vax gdb will display them.
31480
31481Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31482
31483 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
31484 optimizers.
31485
31486 * scope.exp: Change "bad value for localval" messages so each one
31487 is unique.
31488
31489 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
31490 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
31491
31492 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
31493
31494Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31495
31496 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
31497 doesn't exist (due to optimization).
31498
31499Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31500
31501 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
31502 contains \r because the filename is long.
31503
31504 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
31505 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31506
31507Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31508
31509 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31510 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31511 Ultrix.
31512 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31513 int tests.
31514 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31515
31516Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31517
31518 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31519
31520 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 31521 to match does not match the passing case but still matches the
c906108c
SS
31522 failing case.
31523
31524Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31525
31526 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31527
31528Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31529
31530 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31531 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31532 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31533 Remove various versions of gdb_exit.
31534 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31535 gdb_exit.
31536 * config/unix-gdb.exp: gdb_exit remains here, and should override
31537 the generic version, since it's doing a lot of wierd stuff that
31538 the other versions aren't. FIXME, fold it in, or abandon this
31539 version.
31540
31541Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31542
31543 * gdb.t24/demangle.exp: Add tests for PR 3220.
31544
31545Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31546
31547 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31548
31549Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31550
31551 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31552 "i386-*-*". Works for i486 as well.
31553
31554 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31555 bug, and expand domain of xfail to all SVR4 systems, since the
31556 actual problem is likely to be in generic SVR4 /proc support.
31557
31558Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31559
31560 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31561
31562Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31563
31564 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31565 xfails for other systems. Match a missing 'Continuing.' as an
31566 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31567
31568 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31569 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31570 Only issue warning for missing executables if -all option is used.
31571
31572 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31573 file if -all option is used. It's like an unpredictable XFAIL.
31574
31575Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31576
31577 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31578 for dynamically linked binaries.
31579
31580 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31581
31582Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31583
31584 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31585 to state that this is a known bug in old versions of g++.
31586
31587Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31588
31589 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31590 while waiting for `Continuing'.
31591
31592Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31593
31594 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31595 in text, data, and bss.
31596 * gdb.t10/nodebug.c: Add local and global test variables for
31597 initialized and uninitialized data.
31598
31599Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31600
31601 * config/unix-gdb.exp (gdb_exit): Add "wait".
31602
31603Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31604
31605 * gdb.t06/signals.exp: xfail the continue from the handler for all
31606 targets.
31607
31608 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31609 function with watchpoints enabled, the i386 call dummy starts with
31610 a call.
31611
31612 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31613 386 bsd names its corefiles.
31614
31615Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31616
31617 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31618 compilers don't grok it.
31619 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31620 with small octal ints rather than character constants, which
31621 are signed and might not fit if first promoted to int.
31622
31623Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31624
31625 * gdb.t09/Makefile.in (clean): Remove corefile.
31626
31627Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31628
31629 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31630
31631Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31632 and Jim Kingdon (kingdon@cygnus.com)
31633
31634 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31635 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31636 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31637
31638Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31639
31640 * gdb.t17/interrupt.exp: Add xfail for hppa.
31641
31642Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31643
31644 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31645 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31646 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31647 to determine signed-ness of bitfields and use the result to setup
31648 the xfail.
31649 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31650 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31651 call line is reached if necessary.
31652
31653Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31654
31655 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31656
31657Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31658
31659 * gdb.t06/break.exp: Also test `clear' command.
31660
31661Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31662
31663 * gdb.t00/teststrategy.exp: Remove extra quote.
31664
31665 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31666 watchpoint enabled to be for all non-68k machines.
31667
31668 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31669
31670Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31671
31672 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31673 targets use aout.mt instead of ecoff.mt as gas understands
31674 standard aout format.
31675
31676Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31677
31678 * lib/gdb.exp (runto): Don't insist that function we are running to
31679 was compiled with -g.
31680
31681 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31682
31683 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31684 to get back into the read system call.
31685 Accept leading newline in case where we woke it up.
31686
31687Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31688
31689 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31690 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31691 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31692 enable ecoff configuration.
31693
31694Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31695
31696 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31697
31698Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31699
31700 * gdb.t16/printcmds.exp: Add another printf test.
31701
31702Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31703
31704 * configure.in: If configured -with-stabs on any target, add
31705 stabsdirs to configdirs.
31706
31707Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31708
31709 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31710 fun" so pattern does not match the command itself.
31711
31712Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31713
31714 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31715
31716Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31717
31718 * gdb.t17/interrupt.exp: Test for more things.
31719
31720Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31721
31722 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31723 compiler arranges the code and line numbers.
31724
31725 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31726
31727Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31728
31729 * gdb.t00/help.exp: Increase expect input buffer size.
31730
31731Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31732
31733 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31734
31735 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31736
31737 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31738
31739 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31740 [0-9]*, not just [0-9].
31741
31742Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31743
31744 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31745
31746 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31747
31748Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31749
31750 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31751
31752Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31753
31754 * gdb.t06/signals.c: Add xfails for sun3.
31755
31756 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31757
31758 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31759 test_stepping tests.
31760
31761Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31762
31763 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31764
31765 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31766
31767 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31768 rather than actually putting it through cpp twice.
31769
31770 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31771
31772Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31773
31774 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31775 no longer needed.
31776
31777Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31778
31779 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31780
31781 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31782 C++ features prints as "struct", make it a pass, not an xfail.
31783
31784Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31785
31786 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31787 Don't require VA to print as "class" rather than "struct".
31788
31789Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31790
31791 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31792
31793Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31794
31795 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31796
31797Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31798
31799 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31800 order.
31801
31802Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31803
31804 * gdb.t16/printcmds.exp: Add printf tests.
31805
31806 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31807
31808 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31809
31810Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31811
31812 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31813 pass counts, to counteract any existing or future setup_xfails.
31814
31815Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31816
31817 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31818 {BEGIN,END}_COMMON for common block instead of STAB.
31819 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31820
31821 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31822 intp_var should be N_GSYM not N_LSYM.
31823 wierd-aout.S: Use a label for the value of the N_SO.
31824 wierd.def: Remove all backslashes.
31825 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31826
31827Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31828
31829 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31830 get the expected next to inheritance3.
31831
31832Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31833
31834 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31835 now that gcc-2.4 gets it right.
31836
31837Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31838
31839 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31840
31841 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31842 generating comp-info.exp which works for cross-compilation.
31843
31844Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31845
31846 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31847 "*-*-sysv4.*".
31848
31849Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31850
31851 * gdb.t01/run.exp: Start with a fresh gdb.
31852 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31853 SVR4.x.
31854
31855Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31856
31857 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31858 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31859 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31860 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31861 things to remove.
31862
31863Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31864
31865 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31866 test cases from bug reports.
31867
31868Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31869
31870 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31871 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31872 avoid spurious xfails.
31873 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31874 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31875 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31876
31877Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31878
31879 * gdb.t00/teststrategy.exp: Rework to provide more useful
31880 description of each test, fix problem with systems that define
31881 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31882 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31883 results for "next over recursive call" so timeouts aren't taken
31884 by error.
31885
31886Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31887
31888 * gdb.t12/scope.exp: Test printing of variables before run.
31889
31890 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31891 printed in wrong order due to sorting.
31892
31893Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31894
31895 * gdb.t00/teststrategy.exp: Fix expected results for printing
31896 user entered string constant. Is array of char, prints with no
31897 address.
31898
31899 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31900 commands.
31901 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31902 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31903 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31904 of struct of char arrays.
31905 * gdb.t00/radix.exp: New tests for radix commands.
31906
31907Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31908
31909 * gdb.t16/printcmd.exp: Print a variable before running program
31910 (with xfail for AIX).
31911
31912Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31913
31914 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31915
31916 * gdb.t16/printcmd.exp: Don't print variables before running program.
31917
31918 * gdb.t06/break.exp: Don't require envp argument to main.
31919
31920 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31921
31922 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31923 Add xfails for rs6000.
31924
31925 * gdb.t02/whatis.exp: Change other tests not to re-test something
31926 we already tested.
31927
31928 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31929 each type used has a variable of that type.
31930
31931Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31932
31933 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31934
31935Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31936
31937 * configure.in: change srctrigger to be a file, not a directory
31938
31939Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31940
31941 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31942
31943 * gdb.t11/list.exp: Fixed a couple of typos.
31944
31945Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31946
31947 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31948 is fixed and PR is closed.
31949 * gdb.t16 (gdbme.c): Add simple test string variable.
31950 * gdb.t16 (printcmds.exp): Add tests with simple test string
31951 variable, primarily for boundaries on "set print elements".
31952
31953Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31954
31955 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31956 Make leading 0's optional and don't expect a tab in the middle
31957 of the number.
31958
31959 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31960
31961 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31962 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31963 don't end command passed to gdb_test with newline.
31964
31965 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31966 signed keyword away, don't expect signed bitfields to be signed.
31967
31968 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31969 printing with only as many 1's as are in the field as well as printing
31970 with 32 1's (see comment).
31971
31972Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31973
31974 * gdb.t00/default.exp: Start with a fresh gdb.
31975 * configure.in (configdirs): Remove gdb.t31 until the chill
31976 compiler works again. It no longer is able to find chillrt0
31977 since it isn't in libchill.a anymore.
31978 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31979 wierd.o, make more modular.
31980 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31981 spurious newlines that caused problems.
31982
31983Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31984
31985 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31986 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31987 gdb.stabs/wierd.{exp,def}: Many new tests.
31988
31989 * gdb.t00/default.exp: update info line for new message.
31990
31991 * gdb.t02/{whatis.exp,gdbme.c}:
31992 Test that "char *" doesn't print as "caddr_t".
31993
31994Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31995
31996 * gdb.t00/help.exp: Use .* in place of some help messages which
31997 just changed.
31998 gdb.t00/default.exp: Update "info frame" test for new message.
31999 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
32000 Remove some xfails
32001
32002Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32003
32004 * gdb.t03/{gdbme.c,ptype.exp}:
32005 Add tests for typedef'd struct and union without tags.
32006 Also check "whatis" on a variable of a typedef'd enum without a tag.
32007
32008 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
32009 PRMS 1823; the bug still exists but isn't reproduced by this test
32010 anymore), and remove rs6000 XFAIL (the bug is fixed).
32011
32012 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
32013 duplicated from whatis.exp. For those that are left, accept
32014 "long", "long int", or "int" for long variables (whatis.exp already
32015 has an XFAIL for "int", so no need to fail it here).
32016
32017 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32018 Deal with GCC's names for types now that GDB uses the compiler's names.
32019
32020 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
32021 setup_xfail's for sunos4. If we #defined the signed keyword away,
32022 don't expect GDB to know that char it is signed.
32023
32024 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
32025
32026Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
32027
32028 * configure.in (configdirs): Add gdb.t24 for C++ tests that
32029 should work on any system, regardless of debugging format.
32030 * gdb.t21/demangle.exp: Move to gdb.t24.
32031 * gdb.t24/demangle.exp: Move from gdb.t21.
32032 * gdb.t24/{Makefile.in, configure.in}: New files.
32033
32034Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32035
32036 * configure.in: Do gdb.stabs and C++ tests only for stabs.
32037 * gdb.stabs: New directory.
32038
32039Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
32040
32041 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
32042 not just "Quit anyway?".
32043
32044Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
32045
32046 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
32047 that all setup_xfails are immediately followed by clear_xfails.
32048
32049Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
32050
32051 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
32052 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
32053 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
32054 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
32055 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
32056 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32057 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32058 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
32059 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
32060 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
32061 gdb.t31/chillvars.exp, lib/gdb.exp:
32062 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
32063 bug-gdb@prep.ai.mit.edu.
32064
32065Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
32066
32067 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
32068 with 0.0, not integer 0.
32069
32070Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
32071
32072 * gdb.t06/break.exp: Update for "Kill the program" message change.
32073
32074Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
32075
32076 * Makefile.in (GDBFLAGS): Set to -nx.
32077 * Makefile.in (site.exp): Use GDBFLAGS.
32078
32079Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32080
32081 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
32082 Makefiles.
32083 (check): depend on just-check.
32084 (just-check): added so that tests can be run without a noop
32085 build pass.
32086
32087Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
32088
32089 Switch to using configure's configdirs.
32090 * Makefile.in (Makefile): add configure.in dependency.
32091 (SUBDIRS): removed redundant assignment.
32092 * configure.in: switch subdirs assignment to configdirs.
32093 * gdb.t*/configure.in: new files.
32094
32095Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
32096
32097 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
32098 works.
32099
32100Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
32101
32102 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
32103 in explicit rules. Apparently this is not supported by some makes.
32104
32105Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
32106
32107 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
32108
32109Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32110
32111 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
32112 disappeared.
32113
32114Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
32115
32116 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
32117
32118Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
32119
32120 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
32121 watchpoint problem that is now fixed.
32122 * gdb.t30/chexp.exp: Remove setup_xfail for printing
32123 uninitialized convenience variables.
32124 * gdb.t31/chillvars.exp: Fix expected patterns for printing
32125 structures.
32126
32127Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32128
32129 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
32130 which causes expect to get out of sync with gdb on long output
32131 from help set.
32132 * gdb.t09/corefile.exp: Make expected pattern for core file
32133 failing signal and frame output format less sun specific.
32134
32135Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
32136
32137 * gdb.t31/chillvars.exp: Add and remove initial dummy
32138 breakpoint, so that symbol table is forced in.
32139 (Needed at least on Sunos4, though it seems not SVR4.)
32140 * gdb.t31/chillvars.exp: Update for changed output format.
32141
32142Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
32143
a9c64011 32144 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
32145
32146Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
32147
32148 * Makefile.in: Added --srcdir when invoking runtest, removed the
32149 need for a local config file. (optional now)
32150
32151Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
32152
32153 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
32154 failure count used to force early termination. Add some more
32155 expected failures for gnu style demangling.
32156
32157Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32158
32159 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
32160 pmi variable from gdb.t20/gdbme to get optimized away.
32161 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
32162 Check for written corefile upon timeout _and_ eof.
32163
32164Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32165
32166 * config/unix-gdb.exp: Add missing return 0.
32167
32168Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
32169
32170 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
32171 test termination.
32172
32173Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
32174
32175 * configure.in (subdirs): Put back gdb.t17 which mysteriously
32176 disappeared.
32177
32178Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
32179
32180 * gdb.t10/crossload.exp: Disable the i860-elf test until such
32181 time as i860 support works.
32182
d63a86f8 32183 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
32184 "backtrace 100\r" rather than just "backtrace\r", to match last
32185 change.
32186
32187Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
32188
32189 * config/udi-gdb.exp (gdb_exit): Remove close command.
32190 (gdb_target_udi): New procedure to set the UDI target.
32191 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
32192 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
32193 Added waits for prompts after several question responses. Added
32194 some more responses used by a29k-amd-udi-gdb.
32195 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
32196 pass different arguments, restart UDI connection after program
32197 completion.
32198 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
32199 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
32200 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
32201 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
32202 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
32203 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
32204 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
32205 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
32206 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
32207 after program completion.
32208 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
32209 compiled with a SELECT_VECS setting.
32210 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
32211 infinite recursion.
32212
32213 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
32214 Added checks for COFF results, and made them expected failures for
32215 all targets. It would be better to make them expected failures
32216 for COFF targets only.
32217
32218Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
32219
32220 * Makefile.in: add null dvi target, don't bother to recurse
32221 through test directories for info and install-info; rename
32222 $(datadir) to be dejagnu instead of deja-gnu
32223
32224Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
32225
32226 * gdb.t31/gdbme.ch: Re-enable code that previously caused
32227 compiler to coredump.
32228 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
32229 code.
32230
32231Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
32232
32233 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
32234 coredump.
32235 * gdb.t31/chillvars.exp: Comment out tests that depend on that
32236 code.
32237
32238Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
32239
32240 * gdb.t03/ptype.exp: tests for return code from gdb_test.
32241 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
32242 which in a shell. Deletes xgdb when done.
32243 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
32244 Tests the return from the "set height" or "set width" commands.
32245 Added a few return codes where needed.
32246
32247Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
32248
32249 * Makefile.in (SUBDIRS): Add gdb.t17.
32250 * configure.in (subdirs): Add gdb.t17.
32251 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
32252 files to test gdb's calling of functions in the inferior with
32253 the correct arguments and gdb's ability to retrieve any
32254 result returned.
32255
32256Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
32257
32258 * config/unix-gdb.exp (gdb_exit): Remove close commands that
32259 may be called after gdb goes away. Previous versions of expect
32260 needed these to avoid file descriptor leaks, but they cause
32261 errors with the current revision of expect.
32262 * gdb.t00/gdbvars.exp: Use -re on expected output after
32263 setting sevenbit-strings.
32264 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
32265 to set sevenbit-strings consistent across tests.
32266 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
32267 set sevenbit-strings consistent across tests.
32268
32269Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
32270
32271 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
32272 expected output to match current "expect" expectations.
32273
32274Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
32275
32276 * gdb.t00/default.exp: Change expected output for default "source"
32277 command, to match new gdb behavior which requires a filename to
32278 source.
32279
32280Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
32281
32282 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
32283 expected fail for i486-*-* that misses the marker2 function.
32284 * gdb.t10/crossload.exp (bfddefault): Allow successful
32285 recognition of a format to pass even if no symbols are found.
32286 Explicitly catch failures where the format is not recognized
32287 or is ambiguous, and add the reason to the fail message.
32288 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
32289 the cause is and invalid target and add reason to failure message.
32290 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
32291 elf32-i386, elf32-sparc, and elf32-i860.
32292 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
32293 Set up expected failure for 'filename'::variable scope resolution,
32294 which is now apparently broken on all targets.
32295 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
32296 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
32297 gdb.t23/templates.exp: Change failure for missing binfile into
32298 just a warning.
32299 gdb.t21/demangle.exp: Change all cfront references to 'arm'
32300 references.
32301
32302Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
32303
32304 * gdb.t00/default.exp: Add expected output for default "source"
32305 command, to match new gdb behavior.
32306 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
32307
32308Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
32309
32310 * config/*-gdb.exp: returns an error, rather than exiting on
32311 internal errors.
32312
32313Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
32314
32315 * gdb.t03/gdbme.c: Add pointer to struct variable.
32316 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
32317 referencing struct members.
32318
32319Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
32320
32321 * configure.in (mips-idt-ecoff): New target.
32322 * config/mips-gdb.exp: New file for remote board using MIPS remote
32323 debugging protocol.
32324
32325 * Redid configuration scheme. Removed gdb.t*/configure.in.
32326 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
32327 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
32328 distclean targets. Built executables via .o files. Adjusted
32329 tests to account for source files in $(srcdir) rather than
32330 $(objdir).
32331 * lib/gdb.exp (runto): Don't expect () after the function name,
32332 because it may have arguments.
32333
32334Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
32335
32336 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
32337 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
32338 expected failures for mips-idt-* and mips-sgi-*.
32339 * gdb.t00/default.exp (attach): Kill process if requested.
32340 * gdb.t00/help.exp (help target core, help target): Accept a gdb
32341 that does not read core files.
32342 * gdb.t01/run.exp: Removed checks for exit status code.
32343 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
32344 it is linked in.
32345 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
32346 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
32347 appropriate, rather than doing it by hand.
32348 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
32349 execution.
32350 * gdb.t10/crossload.exp: Kill existing program if needed.
32351 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
32352 appropriate, rather than doing it by hand. Always increase
32353 timeout for this test, not just for VxWorks.
32354
32355Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
32356
32357 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
32358 of Chill STRUCT types and STRUCT values.
32359 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
32360 than "char".
32361 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 32362 struct2): New struct definitions and initializations to test
c906108c
SS
32363 simple Chill STRUCT types.
32364
32365Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
32366
32367 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
32368 the null byte at the end of strings.
32369 * gdb.t00/default.exp: Make show version insensitive to copyright
32370 date.
32371 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
32372 to avoid dependencies on target char signedness.
32373 * gdb.t16/printcmds.exp: Update expected results for explicitly
32374 unsigned char.
32375 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
32376 now work.
32377 * gdb.t21/demangle.exp: Add many more patterns for template
32378 demangling, most of them being expected failures.
32379 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
32380 string we are matching for, to match on the whole string.
32381 * gdb.t21/demangle.exp: Add many new test strings to demangle,
32382 and fix a whole bunch that had incorrect expected output but were
32383 passing anyway because of the bug in "proc demangle".
32384 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
32385 type.
32386 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
32387
32388Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
32389
a9c64011
AS
32390 * gdb/testsuite: made modifications to testcases, etc., to allow
32391 them to work properly given the reorganization of deja-gnu and the
32392 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
32393
32394Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
32395
32396 * gdb/testsuite: Initial creation of gdb/testsuite.
32397 Migrated dejagnu testcases and support files for testing nm to
32398 gdb/testsuite from deja-gnu. These files were moved "as is"
32399 with no modifications. This migration is part of a major overhaul
32400 of dejagnu. The modifications to these testcases, etc., which
32401 will allow them to work with the new version of dejagnu will be
32402 made in a future update.
48efe704 32403
8d8cb839 32404 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 32405\f
8d8cb839
EZ
32406;; Local Variables:
32407;; mode: change-log
32408;; left-margin: 8
32409;; fill-column: 74
32410;; version-control: never
32411;; End:
902f2ccb 32412
28e7fd62 32413 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
32414 Copying and distribution of this file, with or without modification,
32415 are permitted provided the copyright notice and this notice are preserved.