gas/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
6de7c271
WN
12013-06-18 Will Newton <will.newton@linaro.org>
2
3 * gdb.base/skip.c: Use comma to evaluate results of foo()
4 and bar() before passing to baz().
5 * gdb.base/skip.c: baz() now takes one argument instead of
6 two.
7
5bd1ef56
TT
82013-06-18 Tom Tromey <tromey@redhat.com>
9
10 * gdb.dwarf2/implptrpiece.exp: New file.
11 * gdb.dwarf2/implptrconst.exp (d): New variable.
12 Print d.
13 * lib/dwarf2.exp (Dwarf::_location): Handle DW_OP_piece.
14
e379b391
TT
152013-06-18 Tom Tromey <tromey@redhat.com>
16
17 * lib/selftest-support.exp (do_self_tests): Reject remote or
18 non-native targets.
19 * gdb.gdb/complaints.exp: Remove check.
20 * gdb.gdb/observer.exp: Remove check.
21 * gdb.gdb/xfullpath.exp: Remove check.
22 * gdb.gdb/complaints.exp: Remove check.
23
4ec70201
PA
242013-06-07 Pedro Alves <palves@redhat.com>
25
26 * boards/native-extended-gdbserver.exp: Remove semicolon.
27 * config/arm-ice.exp: Likewise.
28 * config/bfin.exp: Likewise.
29 * config/cygmon.exp: Likewise.
30 * config/h8300.exp: Likewise.
31 * config/monitor.exp: Likewise.
32 * config/sid.exp: Likewise.
33 * config/sim.exp: Likewise.
34 * config/slite.exp: Likewise.
35 * config/vx.exp: Likewise.
36 * gdb.arch/i386-bp_permanent.exp: Likewise.
37 * gdb.asm/asm-source.exp: Likewise.
38 * gdb.base/args.exp: Likewise.
39 * gdb.base/attach-pie-misread.exp: Likewise.
40 * gdb.base/auxv.exp: Likewise.
41 * gdb.base/bigcore.exp: Likewise.
42 * gdb.base/bitfields2.exp: Likewise.
43 * gdb.base/bitfields.exp: Likewise.
44 * gdb.base/break.exp: Likewise.
45 * gdb.base/break-interp.exp: Likewise.
46 * gdb.base/callfuncs.exp: Likewise.
47 * gdb.base/call-sc.exp: Likewise.
48 * gdb.base/commands.exp: Likewise.
49 * gdb.base/corefile.exp: Likewise.
50 * gdb.base/dbx.exp: Likewise.
51 * gdb.base/ending-run.exp: Likewise.
52 * gdb.base/exprs.exp: Likewise.
53 * gdb.base/funcargs.exp: Likewise.
54 * gdb.base/hbreak2.exp: Likewise.
55 * gdb.base/huge.exp: Likewise.
56 * gdb.base/list.exp: Likewise.
57 * gdb.base/memattr.exp: Likewise.
58 * gdb.base/overlays.exp: Likewise.
59 * gdb.base/printcmds.exp: Likewise.
60 * gdb.base/recurse.exp: Likewise.
61 * gdb.base/remotetimeout.exp: Likewise.
62 * gdb.base/reread.exp: Likewise.
63 * gdb.base/savedregs.exp: Likewise.
64 * gdb.base/scope.exp: Likewise.
65 * gdb.base/sepdebug.exp: Likewise.
66 * gdb.base/setshow.exp: Likewise.
67 * gdb.base/setvar.exp: Likewise.
68 * gdb.base/sigaltstack.exp: Likewise.
69 * gdb.base/siginfo-addr.exp: Likewise.
70 * gdb.base/siginfo.exp: Likewise.
71 * gdb.base/siginfo-obj.exp: Likewise.
72 * gdb.base/sigrepeat.exp: Likewise.
73 * gdb.base/sigstep.exp: Likewise.
74 * gdb.base/structs.exp: Likewise.
75 * gdb.base/testenv.exp: Likewise.
76 * gdb.base/twice.exp: Likewise.
77 * gdb.base/valgrind-db-attach.exp: Likewise.
78 * gdb.base/valgrind-infcall.exp: Likewise.
79 * gdb.base/varargs.exp: Likewise.
80 * gdb.base/watchpoint.exp: Likewise.
81 * gdb.cp/gdb1355.exp: Likewise.
82 * gdb.cp/misc.exp: Likewise.
83 * gdb.disasm/hppa.exp: Likewise.
84 * gdb.disasm/t01_mov.exp: Likewise.
85 * gdb.disasm/t02_mova.exp: Likewise.
86 * gdb.disasm/t03_add.exp: Likewise.
87 * gdb.disasm/t04_sub.exp: Likewise.
88 * gdb.disasm/t05_cmp.exp: Likewise.
89 * gdb.disasm/t06_ari2.exp: Likewise.
90 * gdb.disasm/t07_ari3.exp: Likewise.
91 * gdb.disasm/t08_or.exp: Likewise.
92 * gdb.disasm/t09_xor.exp: Likewise.
93 * gdb.disasm/t10_and.exp: Likewise.
94 * gdb.disasm/t11_logs.exp: Likewise.
95 * gdb.disasm/t12_bit.exp: Likewise.
96 * gdb.disasm/t13_otr.exp: Likewise.
97 * gdb.gdb/selftest.exp: Likewise.
98 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
99 * gdb.mi/mi-reverse.exp: Likewise.
100 * gdb.pascal/floats.exp: Likewise.
101 * gdb.python/py-inferior.exp: Likewise.
102 * gdb.threads/attach-into-signal.exp: Likewise.
103 * gdb.threads/pthreads.exp: Likewise.
104 * gdb.threads/thread_events.exp: Likewise.
105 * gdb.threads/watchthreads.exp: Likewise.
106 * gdb.trace/actions-changed.exp: Likewise.
107 * gdb.trace/actions.exp: Likewise.
108 * gdb.trace/ax.exp: Likewise.
109 * gdb.trace/backtrace.exp: Likewise.
110 * gdb.trace/change-loc.exp: Likewise.
111 * gdb.trace/deltrace.exp: Likewise.
112 * gdb.trace/disconnected-tracing.exp: Likewise.
113 * gdb.trace/ftrace.exp: Likewise.
114 * gdb.trace/infotrace.exp: Likewise.
115 * gdb.trace/passc-dyn.exp: Likewise.
116 * gdb.trace/passcount.exp: Likewise.
117 * gdb.trace/pending.exp: Likewise.
118 * gdb.trace/qtro.exp: Likewise.
119 * gdb.trace/range-stepping.exp: Likewise.
120 * gdb.trace/report.exp: Likewise.
121 * gdb.trace/save-trace.exp: Likewise.
122 * gdb.trace/status-stop.exp: Likewise.
123 * gdb.trace/strace.exp: Likewise.
124 * gdb.trace/tfile.exp: Likewise.
125 * gdb.trace/tfind.exp: Likewise.
126 * gdb.trace/trace-break.exp: Likewise.
127 * gdb.trace/tracecmd.exp: Likewise.
128 * gdb.trace/trace-mt.exp: Likewise.
129 * gdb.trace/tspeed.exp: Likewise.
130 * gdb.trace/tsv.exp: Likewise.
131 * gdb.trace/while-stepping.exp: Likewise.
132 * lib/gdb.exp: Likewise.
133 * lib/gdbserver-support.exp: Likewise.
134 * lib/java.exp: Likewise.
135 * lib/mi-support.exp: Likewise.
136 * lib/pascal.exp: Likewise.
137 * lib/prompt.exp: Likewise.
138 * lib/trace-support.exp: Likewise.
139
47d48711
PA
1402013-06-07 Pedro Alves <palves@redhat.com>
141
142 * gdb.ada/info_types.c: Fix formating in copyright header.
143 * gdb.base/break-on-linker-gcd-function.cc: Likewise.
144 * gdb.base/float.c: Likewise.
145 * gdb.base/inferior-died.c: Likewise.
146 * gdb.base/interp.c: Likewise.
147 * gdb.base/jit-main.c: Likewise.
148 * gdb.base/jit-solib.c: Likewise.
149 * gdb.base/long_long.c: Likewise.
150 * gdb.base/longjmp.c: Likewise.
151 * gdb.base/nextoverexit.c: Likewise.
152 * gdb.base/pr11022.c: Likewise.
153 * gdb.base/prelink-lib.c: Likewise.
154 * gdb.base/prelink.c: Likewise.
155 * gdb.base/prologue.c: Likewise.
156 * gdb.base/restore.c: Likewise.
157 * gdb.base/sigchld.c: Likewise.
158 * gdb.base/solib-search-lib1.c: Likewise.
159 * gdb.base/solib-search-lib2.c: Likewise.
160 * gdb.base/solib-search.c: Likewise.
161 * gdb.base/solib-search.h: Likewise.
162 * gdb.base/whatis.c: Likewise.
163 * gdb.cp/abstract-origin.cc: Likewise.
164 * gdb.cp/anon-struct.cc: Likewise.
165 * gdb.cp/baseenum.cc: Likewise.
166 * gdb.cp/bs15503.cc: Likewise.
167 * gdb.cp/call-c-1.c: Likewise.
168 * gdb.cp/call-c.cc: Likewise.
169 * gdb.cp/class2.cc: Likewise.
170 * gdb.cp/classes.cc: Likewise.
171 * gdb.cp/cttiadd.cc: Likewise.
172 * gdb.cp/cttiadd1.cc: Likewise.
173 * gdb.cp/cttiadd2.cc: Likewise.
174 * gdb.cp/cttiadd3.cc: Likewise.
175 * gdb.cp/derivation.cc: Likewise.
176 * gdb.cp/derivation2.cc: Likewise.
177 * gdb.cp/dispcxx.cc: Likewise.
178 * gdb.cp/exception.cc: Likewise.
179 * gdb.cp/gdb2384-base.cc: Likewise.
180 * gdb.cp/gdb2384-base.h: Likewise.
181 * gdb.cp/gdb2384.cc: Likewise.
182 * gdb.cp/gdb2495.cc: Likewise.
183 * gdb.cp/mb-inline.h: Likewise.
184 * gdb.cp/mb-inline1.cc: Likewise.
185 * gdb.cp/mb-inline2.cc: Likewise.
186 * gdb.cp/member-name.cc: Likewise.
187 * gdb.cp/member-ptr.cc: Likewise.
188 * gdb.cp/misc.cc: Likewise.
189 * gdb.cp/namespace1.cc: Likewise.
190 * gdb.cp/nextoverthrow.cc: Likewise.
191 * gdb.cp/pr-574.cc: Likewise.
192 * gdb.cp/pr9631.cc: Likewise.
193 * gdb.cp/printmethod.cc: Likewise.
194 * gdb.cp/psmang1.cc: Likewise.
195 * gdb.cp/psmang2.cc: Likewise.
196 * gdb.cp/psymtab-parameter.cc: Likewise.
197 * gdb.cp/ptype-flags.cc: Likewise.
198 * gdb.cp/ref-params.cc: Likewise.
199 * gdb.cp/ref-types.cc: Likewise.
200 * gdb.cp/smartp.cc: Likewise.
201 * gdb.cp/try_catch.cc: Likewise.
202 * gdb.cp/userdef.cc: Likewise.
203 * gdb.cp/using-crash.cc: Likewise.
204 * gdb.cp/virtfunc.cc: Likewise.
205 * gdb.cp/virtfunc2.cc: Likewise.
206 * gdb.dwarf2/callframecfa.S: Likewise.
207 * gdb.dwarf2/dw2-ranges.c: Likewise.
208 * gdb.dwarf2/dw2-ranges2.c: Likewise.
209 * gdb.dwarf2/dw2-ranges3.c: Likewise.
210 * gdb.dwarf2/dw2-restore.S: Likewise.
211 * gdb.dwarf2/pieces.S: Likewise.
212 * gdb.dwarf2/valop.S: Likewise.
213 * gdb.java/jnpe.java: Likewise.
214 * gdb.mi/mi-stepn.c: Likewise.
215 * gdb.mi/mi-var-cp.cc: Likewise.
216 * gdb.mi/mi-var-rtti.cc: Likewise.
217 * gdb.mi/ns-stale-regcache.c: Likewise.
218 * gdb.mi/pr11022.c: Likewise.
219 * gdb.mi/solib-lib.c: Likewise.
220 * gdb.mi/solib-main.c: Likewise.
221 * gdb.python/py-arch.c: Likewise.
222 * gdb.python/py-block.c: Likewise.
223 * gdb.python/py-breakpoint.c: Likewise.
224 * gdb.python/py-events.c: Likewise.
225 * gdb.python/py-evthreads.c: Likewise.
226 * gdb.python/py-explore.c: Likewise.
227 * gdb.python/py-explore.cc: Likewise.
228 * gdb.python/py-finish-breakpoint.c: Likewise.
229 * gdb.python/py-finish-breakpoint2.cc: Likewise.
230 * gdb.python/py-symbol.c: Likewise.
231 * gdb.threads/execl.c: Likewise.
232 * gdb.threads/execl1.c: Likewise.
233
88ab5684
WN
2342013-06-07 Will Newton <will.newton@linaro.org>
235
236 * gdb.base/long_long.exp: Fix ARM EABI target glob.
237
42daa7a0
WN
2382013-06-07 Will Newton <will.newton@linaro.org>
239
240 * gdb.cp/annota2.exp: Add empty line between "post-prompt"
241 and "starting".
242
f4059ef3
WN
2432013-06-07 Will Newton <will.newton@linaro.org>
244
245 * gdb.cp/anon-struct.exp: Conditionalize constructor and
246 destructor prototypes for ARM ABI.
247 * gdb.cp/m-static.exp: Likewise.
248
8cb5cc78
YQ
2492013-06-07 Yao Qi <yao@codesourcery.com>
250
251 * gdb.trace/mi-trace-unavailable.exp: New.
252 * gdb.trace/trace-unavailable.c: New.
253
c6cf1712
DE
2542013-06-06 Doug Evans <dje@google.com>
255
256 * gdb.cp/derivation.exp: Make tests have unique names.
257
bf6be0f4
TT
2582013-06-06 Tom Tromey <tromey@redhat.com>
259
260 * gdb.base/dump.exp (capture_value): Don't put expression into
261 test name if arguments passed in.
262 Rename a couple more tests to make them unique.
263
ebb022fa
TT
2642013-06-06 Tom Tromey <tromey@redhat.com>
265
266 * gdb.base/break-always.exp: Explicitly specify test name.
267
69fc87c2
DE
2682013-06-05 Doug Evans <dje@google.com>
269 Keith Seitz <keiths@redhat.com>
270
271 * gdb.cp/derivation2.cc: New file.
272 * gdb.cp/derivation.cc (main): Call foo2.
273 * gdb.cp/derivation.exp: Add tests for typedefs in another
274 file, and when there's an active block.
275
f993f39e
LM
2762013-06-05 Luis Machado <lgustavo@codesourcery.com>
277
278 * gdb.cp/virtfunc.exp (make_one_vtable_result): Handle extra output
279 from targets that use function descriptors in the virtual tables.
280 Handle presence of dot symbols.
281
afacd7f3
GB
2822013-06-04 Gary Benson <gbenson@redhat.com>
283
284 * gdb.base/break-probes.exp: New file.
285 * gdb.base/break-probes.c: Likewise.
286 * gdb.base/break-probes-solib.c: Likewise.
287 * gdb.base/info-shared.exp: New file.
288 * gdb.base/info-shared.c: Likewise.
289 * gdb.base/info-shared-solib1.c: Likewise.
290 * gdb.base/info-shared-solib2.c: Likewise.
291
a29a3fb7
GB
2922013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
293 Gary Benson <gbenson@redhat.com>
294
295 * lib/gdb.exp (build_executable_from_specs): Use gdb_compile_pthread,
296 gdb_compile_shlib or gdb_compile_shlib_pthreads where appropriate.
297 * lib/prelink-support.exp (build_executable_own_libs): Allow INTERP
298 to be set to "no" to indicate that no ld.so copy should be made.
299 * gdb.base/break-interp.exp (solib_bp): New constant.
300 (reach_1): Use the above instead of "_dl_debug_state".
301 (test_attach): Likewise.
302 (test_ld): Likewise.
303 * gdb.threads/dlopen-libpthread.exp: New file.
304 * gdb.threads/dlopen-libpthread.c: Likewise.
305 * gdb.threads/dlopen-libpthread-lib.c: Likewise.
306 * gdb.base/solib-corrupted.exp: Disable test if GDB is using probes.
307
62a813cc
YQ
3082013-05-30 Yao Qi <yao@codesourcery.com>
309
310 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
311 Add a test that no MI notification is emitted when executing
312 -exec-arguments.
313
8f56dad4
JK
3142013-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
315
316 PR testsuite/12649
317 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
318 $mi_gdb_prompt expectation by mi_expect_stop.
319 (mi 1st dprintf, agent, mi 2nd dprintf, agent)
320 (mi info dprintf second time): Replace them by mi_send_resuming_command
321 and mi_expect_stop.
322
c588eb20
GB
3232013-05-24 Gary Benson <gbenson@redhat.com>
324
325 * gdb.base/solib-disc.exp (exec_opts): Remove unnecesary
326 backslash.
327 * gdb.base/unload.exp (exec_opts): Remove two unnecessary
328 backslashes.
329 * gdb.base/watchpoint-solib.exp (exec_opts): Remove unnecesary
330 backslash.
331
c0ea94eb
YQ
3322013-05-24 Yao Qi <yao@codesourcery.com>
333
334 * gdb.trace/tfile.exp: Test inferior and thread.
335
db1ac436
YQ
3362013-05-24 Yao Qi <yao@codesourcery.com>
337 Pedro Alves <palves@redhat.com>
338
339 * gdb.base/range-stepping.exp: Skip the rest of tests if the
340 test fails.
341 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
342 Return 0 if the test passes, otherwise return 1.
343
b6abb10c
DE
3442013-05-23 Doug Evans <dje@google.com>
345
346 * boards/fission-dwp.exp: New file.
347
bc5065a7
PA
3482013-05-23 Yao Qi <yao@codesourcery.com>
349 Pedro Alves <palves@redhat.com>
350
351 * gdb.base/range-stepping.c: New file.
352 * gdb.base/range-stepping.exp: New file.
353 * gdb.trace/range-stepping.c: New file.
354 * gdb.trace/range-stepping.exp: New file.
355 * lib/range-stepping-support.exp: New file.
356
5f2e6b00
TT
3572013-05-22 Tom Tromey <tromey@redhat.com>
358
359 * gdb.cp/class2.cc (main): New local 'aref'.
360 * gdb.cp/class2.exp: Check printing of 'aref'.
361
e6ba475a
DE
3622013-05-22 Doug Evans <dje@google.com>
363
364 * gdb.threads/wp-replication.c (main): Insert some code at the start
365 to ensure the breakpoint on main is only hit once. Fix comment.
366
52c935b6
KS
3672013-05-21 Keith Seitz <keiths@redhat.com>
368 Pedro Alves <palves@redhat.com>
369
370 * gdb.base/filesym.exp: Use gdb_test_multiple instead of
371 gdb_expect.
372 Add test to flush the remaining input buffer so that this
373 file passes testsuite/12649.
374
bd9673a4
PW
3752013-05-21 Philippe Waroquiers <philippe.waroquiers@skynet.be>
376
377 * gdb.base/catch-signal-fork.exp: New file.
378 * gdb.base/catch-signal-fork.c: New file.
379
69a97597
SA
3802013-05-21 Sterling Augustine <saugustine@google.com>
381
382 * boards/remote-stdio-gdbserver.exp: New file.
383
44e97363
JK
3842013-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
385
386 PR testsuite/12649
387 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf): Fix expect strings for
388 racy matches.
389
02392865
CG
3902013-05-21 Christian Groessler <chris@groessler.org>
391
392 * gdb.dwarf2/dw2-dir-file-name.exp: Don't use brace expansion,
393 since it's not supported in all shells.
394
c5867ab6
HZ
3952013-05-21 Hui Zhu <hui@codesourcery.com>
396
397 * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
398 * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
399
6c9e2db4
DE
4002013-05-20 Doug Evans <dje@google.com>
401
402 * lib/dwarf.exp (Dwarf): New variable _abbrev_section.
403 (_handle_DW_TAG): Use it.
404 (cu, tu): Replace parameters is_64, version, addr_size with options.
405 All callers updated. Add Fission support.
406 * gdb.dwarf2/implptrconst.exp: Update callers of "cu".
407 * gdb.dwarf2/method-ptr.exp: Ditto.
408 * gdb.dwarf2/nostaticblock.exp: Ditto.
409 * gdb.dwarf2/subrange.exp: Ditto.
410 * gdb.dwarf2/missing-sig-type.exp: Update callers of "cu", "tu".
411
4a6e676c
TT
4122013-05-20 Tom Tromey <tromey@redhat.com>
413
414 * gdb.gdb/python-selftest.exp: New file.
415
e19d3afb
DE
4162013-05-20 Doug Evans <dje@google.com>
417
418 * gdb.base/maint.exp: Fix test for "mt expand-symtabs" to account for
419 -fdebug-types-section.
420
4d804846
JB
4212013-05-20 Joel Brobecker <brobecker@adacore.com>
422
423 * gdb.ada/float_param: New testcase.
424
8d324e83
DE
4252013-05-17 Doug Evans <dje@google.com>
426
7d0c9981
DE
427 * gdb.base/maint.exp: Update test for "maint check-psymtabs".
428 Add tests for "maint check-symtabs", "maint expand-symtabs".
429
8d324e83
DE
430 * gdb.base/maint.exp: Remove testing of individual maint command
431 help output.
432
177aadc4
PA
4332013-05-16 Pedro Alves <palves@redhat.com>
434
435 * gdb.ada/complete.exp (test_gdb_no_completion): Fix typo in
436 comment. Use gdb_test_no_output.
437
b8fea896
JB
4382013-05-16 Joel Brobecker <brobecker@adacore.com>
439
440 * gdb.ada/complete.exp: Add test verifying completion using
441 the "tab" key.
442
52c935b6
KS
4432013-05-15 Keith Seitz <keiths@redhat.com>
444
445 * gdb.base/filesym.exp: New completer test.
446 * gdb.base/filesym.c: New file.
447
ed0f00b8
PA
4482013-05-15 Pedro Alves <palves@redhat.com>
449
450 * gdb.base/fixsection.c: Remove attribution.
451 * gdb.base/watch-read.exp: Ditto.
452
55fb6d27
TT
4532013-05-13 Tom Tromey <tromey@redhat.com>
454
455 * gdb.dwarf2/implptrconst.exp: Create a CU with 4 byte address
456 size and change type sizes to 4 bytes.
457
ac1ca910
TT
4582013-05-13 Tom Tromey <tromey@redhat.com>
459
460 * gdb.base/exprs.exp (test_expr): Add regression test.
461 * gdb.base/exprs.c (null_t_struct): New global.
462
8414efef
MB
4632013-05-13 Muhammad Bilal <mbilal@codesourcery.com>
464
465 * gdb.base/default.exp: Disable history saving.
466 * gdb.base/setshow.exp: Likewise.
467
9779ab84
PA
4682013-05-10 Pedro Alves <palves@redhat.com>
469
470 PR remote/15455
471
472 * gdb.trace/qtro.c: New file.
473 * gdb.trace/qtro.exp: New file.
474
1e611234
PM
4752013-05-10 Phil Muldoon <pmuldoon@redhat.com>
476
477 * gdb.python/py-framefilter.py: New File.
478 * gdb.python/py-framefilter-mi.exp: Ditto.
479 * gdb.python/py-framefilter.c: Ditto.
480 * gdb.python/py-framefilter-mi.exp: Ditto.
481 * gdb.python/py-framefilter-mi.c: Ditto,
482 * gdb.python/py-framefilter-gdb.py.in: Ditto.
483
5e4c3ac4
TT
4842013-05-08 Tom Tromey <tromey@redhat.com>
485
486 * gdb.base/solib-search.exp: Set test name for "set
487 solib-search-path" test.
488
993654a9
HAQ
4892013-05-08 Hafiz Abid Qadeer <abidh@codesourcery.com>
490
491 * gdb.trace/circ.exp: Remove unnecessary 'if then' checks.
492 (set_a_tracepoint): Set tracepoint before prologue.
493 (run_trace_experiment): Test setup_tracepoints and 'break end'
494 in it.
495 (trace_buffer_normal): Remove.
496 (gdb_trace_circular_tests): Remove. Move tests to...
497 (top level): ...here. Call 'runto_main' before checking for
498 trace support. Use commands to check the support for circular
499 trace buffer and changing of trace buffer size. Add test
500 to calculate size of single frame. Use this size to
501 calculate the size of trace buffer. Use 'tfind pc func9'
502 instead of 'tfind 9'. Use 'with_test_prefix'.
503
c95aea6b
TT
5042013-05-07 Tom Tromey <tromey@redhat.com>
505
506 * lib/selftest-support.exp: New file.
507 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
508 do_self_tests.
509 (setup_test, find_gdb): Remove.
510 * gdb.gdb/observer.exp: Load selftest-support.exp. Use
511 do_self_tests.
512 (setup_test, find_gdb): Remove.
513 (test_observer): Don't call setup_test. Remove argument.
514 * gdb.gdb/selftest.exp: Load selftest-support.exp.
515 (find_gdb): Remove.
516 * gdb.gdb/complaints.exp: Load selftest-support.exp. Use
517 do_self_tests.
518 (setup_test, find_gdb): Remove.
519 (test_with_self): Don't call setup_test. Remove argument.
520
1f031429
PA
5212013-05-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
522
523 * gdb.arch/system-gcore.exp: Remove.
524 * gdb.arch/gcore.c: Remove.
525 * gdb.base/gcore.exp: Add "info reg system".
526
58ce7251
SDJ
5272013-05-07 Sergio Durigan Junior <sergiodj@redhat.com>
528
529 PR breakpoints/15413:
530 * gdb.base/pending.exp: Add test for completion of the "condition"
531 command for pending breakpoints.
532 * gdb.linespec/linespec.ex: Add test for completion of the
533 "condition" command when dealing with multiple locations.
534
aacbb8a5
LM
5352013-05-07 Luis Machado <lgustavo@codesourcery.com>
536
537 * gdb.threads/wp-replication.c: New file.
538 * gdb.threads/wp-replication.exp: New file.
539
2dd6254d
SL
5402013-05-06 Sandra Loosemore <sandra@codesourcery.com>
541
542 * gdb.xml/tdesc-regs.exp: Add case for nios2.
543
c2a96e8c
DE
5442013-05-06 Doug Evans <dje@google.com>
545
b903e17e
DE
546 * gdb.base/solib-search-lib1.c: New file.
547 * gdb.base/solib-search-lib2.c: New file.
548 * gdb.base/solib-search.c: New file.
549 * gdb.base/solib-search.h: New file.
550 * gdb.base/solib-search.exp: New file.
551
fac51dd9
DE
552 * lib/gdb.exp (gdb_core_cmd): New function.
553 * gdb.arch/system-gcore.exp: Use it.
554 * gdb.arch/vsx-regs.exp: Ditto.
555 * gdb.base/gcore.exp: Ditto.
556 * gdb.threads/gcore-thread.exp: Ditto.
557
c2a96e8c
DE
558 * gdb.reverse/shr.h: New file.
559 * gdb.reverse/shr1.c: New file.
560 * gdb.reverse/shr2.c: #include "shr.h".
561 * gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
562 #include "shr.h". Replace calls to printf,sleep to call shr1 instead.
563 * gdb.reverse/solib-precsave.exp: Build shr2.sl.
564 Update tests using sleep/printf to use shr2.sl instead.
565 * gdb.reverse/solib-reverse.exp: Ditto.
566
b6807d98
TT
5672013-05-06 Tom Tromey <tromey@redhat.com>
568
569 * gdb.dwarf2/implptrconst.c: New file.
570 * gdb.dwarf2/implptrconst.exp: New file.
571 * lib/dwarf.exp (Dwarf::_nz_quote): New proc.
572 (Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
573 (Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.
574
96f7d3f1
PW
5752013-05-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
576
577 * gdb.base/catch-sig.c (main): Raise SIGINT.
578 * gdb.base/catch-sig.exp: Test "catch signal SIGINT".
579
1ebff1fd
HAQ
5802013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
581
582 * status-stop.exp (test_tstart_tstart): Check for error
583 returned by the second 'tstart' command.
584
f92b06da
WT
5852013-03-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
586
587 * gdb.xml/maint_print_struct.exp: New file.
588 * gdb.xml/maint_print_struct.xml: New file.
589
ff546935
TT
5902013-04-25 Tom Tromey <tromey@redhat.com>
591
592 * gdb.dwarf2/nostaticblock.exp: New file.
593
bf9e4d0c
MB
5942013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
595
596 PR gdb/10462
597 * gdb.base/setshow.exp: Add test case.
598
a11cfd87
HZ
5992013-04-23 Hui Zhu <hui@codesourcery.com>
600
601 PR gdb/15293
a11cfd87
HZ
602 * gdb.base/dprintf.exp: Add ignore command.
603
2d9442cc
HZ
6042013-04-23 Hui Zhu <hui@codesourcery.com>
605
606 PR gdb/15165
2d9442cc
HZ
607 * gdb.base/save-bp.exp: Add test for dprintf.
608
0f3305ed
TT
6092013-04-22 Tom Tromey <tromey@redhat.com>
610
611 * gdb.gdb/selftest.exp (do_steps_and_nexts): Check for
612 notice_open_fds.
613
d504301e
SDJ
6142013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
615
616 * gdb.arch/arm-bl-branch-dest.exp: Replace additional_flags by
617 ldflags.
618
9991b207
SDJ
6192013-04-22 Sergio Durigan Junior <sergiodj@redhat.com>
620
621 * gdb.arch/arm-bl-branch-dest.c: New file.
622 * gdb.arch/arm-bl-branch-dest.exp: Likewise.
623
433730c9
PA
6242013-04-19 Vladimir Kargov <kargov@gmail.com>
625 Pedro Alves <palves@redhat.com>
626
627 * gdb.arch/i386-float.S: New file.
628 * gdb.arch/i386-float.exp: New file.
629
9a908334
LM
6302013-04-18 Luis Machado <lgustavo@codesourcery.com>
631
632 * gdb.mi/mi-var-create-rtti.exp: Create a variable of
633 type void *.
634
4f22ed5c
DE
6352013-04-17 Doug Evans <dje@google.com>
636
637 * lib/dwarf.exp (Dwarf): New proc "tu".
638 * gdb.dwarf2/missing-sig-type.exp: New file.
639
a0d3f2f5
SCR
6402013-04-15 Siva Chandra Reddy <sivachandra@google.com>
641
642 Add option to link testcases with Pthreads library when
643 using 'prepare_for_testing' in tests.
644
645 * lib/gdb.exp (build_executable_from_specs): Use
646 gdb_compile_pthreads to compile if option "pthreads" is
647 specified.
648
cc16e6c9
TT
6492013-04-15 Tom Tromey <tromey@redhat.com>
650
651 * gdb.cp/exceptprint.exp: Add regexp catchpoint tests.
652
72f1fe8a
TT
6532013-04-15 Tom Tromey <tromey@redhat.com>
654
655 * gdb.base/default.exp: Update for $_exception.
656 * gdb.cp/exceptprint.cc: New file.
657 * gdb.cp/exceptprint.exp: New file.
658 * lib/gdb.exp (skip_libstdcxx_probe_tests): New proc.
659
6e72ca20
TT
6602013-04-15 Tom Tromey <tromey@redhat.com>
661
662 * gdb.cp/typeid.cc: New file.
663 * gdb.cp/typeid.exp: New file.
664
591f19e8
TT
6652013-04-15 Tom Tromey <tromey@redhat.com>
666
667 * gdb.cp/exception.exp: Add "catch rethrow" tests.
668
da9160e4
YQ
6692013-04-13 Yao Qi <yao@codesourcery.com>
670
671 * gdb.base/completion.exp: Test completion of command
672 'target ctf' if target ctf is supported.
673
f81d1120
PA
6742013-04-10 Pedro Alves <palves@redhat.com>
675
676 * gdb.base/completion.exp: Test "set height", "set listsize" and
677 "set trace-buffer-size" completion.
678 * gdb.base/setshow.exp: Test "set height unlimited".
679 * gdb.trace/trace-buffer-size.exp: Test "set trace-buffer-size
680 unlimited".
681
393fd4c3
YQ
6822013-04-10 Yao Qi <yao@codesourcery.com>
683
684 * gdb.trace/actions.exp: Save trace data to CTF.
685 Change to ctf target if GDB supports, read CTF data in ctf
686 target, and check the actions of tracepoints.
687 * gdb.trace/while-stepping.exp: Likewise.
688 * gdb.trace/report.exp: Test GDB saves trace data to CTF
689 format and read CTF trace file if GDB supports.
690 * gdb.trace/tstatus.exp: Save trace data to CTF. If ctf
691 target is supported, change to ctf target, read trace data and
692 check output of command "tstatus".
693 * gdb.trace/tsv.exp: Save trace frame to CTF. If GDB supports,
694 read CTF data by target ctf and call check_tsv.
695
b7a273f8
YQ
6962013-04-10 Yao Qi <yao@codesourcery.com>
697
698 * gdb.trace/actions.exp (check_tracepoint): New.
699 (top level): Start the tracing and check the actions of
700 tracepoints. Save trace data to tfile format. Restart GDB
701 and read trace file in tfile target. Check the actions of
702 tracepoints again.
703 * gdb.trace/while-stepping.exp: Likewise.
704
f3786771
YQ
7052013-04-10 Yao Qi <yao@codesourcery.com>
706
707 * gdb.trace/report.exp: Use standard_output_file for saved
708 trace file.
709
5c2b4418
HZ
7102013-04-10 Hui Zhu <hui@codesourcery.com>
711
712 * gdb.base/Makefile.in (EXECUTABLES): Add dprintf-pending.
713 (MISCELLANEOUS): Add dprintf-pendshr.sl.
714 * gdb.base/dprintf-pending.c, gdb.base/dprintf-pending.exp: New.
715
f7543f0a
JK
7162013-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
717
718 * gdb.server/server-kill.exp (tstatus): Permit also ECONNRESET
719 response.
720
f6de8ec2
PA
7212013-04-08 Pedro Alves <palves@redhat.com>
722
723 * gdb.mi/mi-break.exp (test_error): Add tests with garbage after
724 the location.
725
b8abfd58
SL
7262013-04-04 Sandra Loosemore <sandra@codesourcery.com>
727
728 * gdb.cp/cplabel.exp: Allow empty directory in file reported
729 for breakpoint location.
730
156bffd0
SL
7312013-04-04 Sandra Loosemore <sandra@codesourcery.com>
732
733 * gdb.linespec/linespec.exp: Make dir/file:line tests
734 conditional for non-remote hosts only.
735
c9a6ce02
PA
7362013-04-04 Stan Shebs <stan@codesourcery.com>
737 Pedro Alves <palves@redhat.com>
738
739 * gdb.trace/Makefile.in (PROGS): Add actions-changed.
740 * gdb.trace/actions-changed.c: New file.
741 * gdb.trace/actions-changed.exp: New file.
742 * lib/trace-support.exp (gdb_trace_setactions): Rename to ...
743 (gdb_trace_setactions_command): ... this. Add "actions_command"
744 parameter, and handle it.
745 (gdb_trace_setactions, gdb_trace_setcommands): New procedures.
746
4bd05f24
YQ
7472013-04-04 Yao Qi <yao@codesourcery.com>
748
749 * gdb.server/server-kill.exp: Use command 'tstatus' instead of
750 'step'.
751
3758b5ce
YQ
7522013-04-03 Yao Qi <yao@codesourcery.com>
753
754 * gdb.trace/mi-traceframe-changed.exp: Update tfile name to
755 "tfile-basic.tf".
756 (test_tfind_tfile): Likewise.
757
1dcaed0d
YQ
7582013-04-03 Yao Qi <yao@codesourcery.com>
759
760 * gdb.trace/tfile.c (write_basic_trace_file): Pass argument
761 "tfile-basic.tf" instead of "basic.tf".
762 (write_error_trace_file): Pass argument "tfile-error.tf"
763 instead of "error.tf".
764 * gdb.trace/tfile.exp: Update tfile names to
765 "tfile-basic.tf" and "tfile-error.tf".
766
0e7a53fc
SL
7672013-04-02 Sandra Loosemore <sandra@codesourcery.com>
768
769 * gdb.cp/ovsrch.exp (test_class): Correct regexp to allow
770 empty directory in file for breakpoint hit.
771
9852c492
YQ
7722013-03-29 Yao Qi <yao@codesourcery.com>
773
774 * gdb.base/completion.exp: Test completion of commands
775 "target core", "target tfile" and "target exec".
776 * gdb.trace/tfile.exp: Test completion of command
777 "target tfile".
778
af312be7
JB
7792013-03-28 Joel Brobecker <brobecker@adacore.com>
780
781 * gdb.ada/win_fu_syms: New testcase.
782
e4a48d9d
DE
7832013-03-28 Doug Evans <dje@google.com>
784
785 * gdb.base/maint.exp (maint print statistics): Update expected output.
786
7f7cc265
PA
7872013-03-28 Pedro Alves <palves@redhat.com>
788
789 PR gdb/15294
790
791 * gdb.base/list.exp (set_listsize): Adjust to accept $arg == 0 to
792 mean unlimited instead of $arg < 0.
793 (test_listsize): Remove "listsize of 0 suppresses output" test.
794 Test that "set listsize 0" ends up with an unlimited listsize.
795
fc0da894
PA
7962013-03-28 Pedro Alves <palves@redhat.com>
797
798 * gdb.base/list.exp (last_line): New global.
799 (last_line_re): New global.
800 (test_listsize, test_list_function, test_list_forward)
801 (test_repeat_list_command, test_list_range)
802 (test_list_filename_and_function): Use them.
803 * gdb.base/list0.c: Comment the last line of the file with "last
804 line".
805
abe7b711
PA
8062013-03-28 Pedro Alves <palves@redhat.com>
807
808 * gdb.base/list.exp (test_listsize): Adjust test to make sure we
809 list the whole file.
810
15b3979c
PA
8112013-03-28 Pedro Alves <palves@redhat.com>
812
813 * gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
814 "set listsize".
815
96811e3b
KS
8162013-03-26 Keith Seitz <keiths@redhat.com>
817
818 * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
819 from passing.
820
4043f22b
PA
8212013-03-26 Pedro Alves <palves@redhat.com>
822
823 * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
824 until after GDB has run.
825
14a1aa17
YQ
8262013-03-26 Yao Qi <yao@codesourcery.com>
827
828 * gdb.trace/actions.c, gdb.trace/circ.c: Add license header.
829 * gdb.trace/collection.c, gdb.trace/tfile.c: Likewise.
830
99c819ee
MM
8312013-03-26 Markus Metzger <markus.t.metzger@intel.com>
832
833 * gdb.btrace/enable.exp: Add regression test.
834
24955f63
TT
8352013-03-25 Tom Tromey <tromey@redhat.com>
836
837 * gdb.cp/m-static.exp: Add destructor-printing tests.
838
fce632b6
TT
8392013-03-25 Tom Tromey <tromey@redhat.com>
840
841 * gdb.cp/m-static.exp: Add constructor ptype tests.
842 * gdb.cp/m-static.cc (single_constructor): New class.
843 (main): Make instance of single_constructor.
844
598d3636
JK
8452013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
846 Pedro Alves <palves@redhat.com>
847
848 * gdb.server/server-kill.c: New file.
849 * gdb.server/server-kill.exp: New file.
850
c12440c9
PA
8512013-03-21 Pedro Alves <palves@redhat.com>
852
853 * gdb.trace/trace-buffer-size.exp (get default buffer size):
854 Expect $gdb_prompt in gdb_test_multiple.
855
bd712aed
DE
8562013-03-21 Doug Evans <dje@google.com>
857
858 * gdb.base/maint.exp: Update tests for per-command stats.
859
b2f83c08
TT
8602013-03-21 Tom Tromey <tromey@redhat.com>
861
862 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
863 * gdb.cp/misc.exp: Add test for FILENAME:: case.
864
ef0026f0
PA
8652013-03-20 Pedro Alves <palves@redhat.com>
866
867 PR gdb/15289
868
869 * gdb.base/remote.exp: Test
870 "set remote hardware-watchpoint-limit -1",
871 "set remote hardware-breakpoint-limit -1",
872 "set remote hardware-watchpoint-limit 2147483647" and
873 "set remote hardware-breakpoint-limit 2147483647".
874
3f1175a9
PA
8752013-03-20 Pedro Alves <palves@redhat.com>
876 Yao Qi <yao@codesourcery.com>
877
878 * gdb.trace/tfile.c: Add comments.
879 (nonconstglob): New global.
880 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
881 global that is not covered by the trace frame. Test
882 disassembling.
883
a09ae1c1
JK
8842013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
885
886 * gdb.base/valgrind-infcall.exp
887 (continue #$continue_count) <remote connection closed>
888 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
889 $valgrind_pid.
890
9ce98649
TT
8912013-03-15 Tom Tromey <tromey@redhat.com>
892
893 * gdb.cp/overload.cc (intintfunc): New.
894 * gdb.cp/overload.exp: Add regression test.
895
0a251e08
YQ
8962013-03-15 Yao Qi <yao@codesourcery.com>
897
898 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
899 using with_test_prefix.
900 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
901 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
902 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
903 * gdb.threads/watchpoint-fork.exp (test): Likewise.
904 * gdb.base/break-interp.exp (test_core): Likewise.
905 (test_attach_gdb): Likewise.
906 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
907 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
908 Likewise.
909 * gdb.base/jit-so.exp (one_jit_test): Likewise.
910 * gdb.base/jit.exp (one_jit_test): Likewise.
911 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
912 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
913 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
914 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
915 Likewise.
916 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
917 Likewise.
918 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
919 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
920 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
921 (tracepoint_change_loc_2): Likewise.
922 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
923 Likewise.
924 (disconnected_tfind): Likewise.
925 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
926 Likewise.
927 (test_tfind_remote): Likewise.
928 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
929 Likewise.
930 (test_pending_resolved): Likewise.
931 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
932 Likewise.
933 (test_upload_tsv): Likewise.
934 * gdb.trace/pending.exp (pending_tracepoint_resolved):
935 Likewise.
936 (pending_tracepoint_works): Likewise.
937 * gdb.trace/report.exp (use_collected_data): Likewise.
938 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
939 Likewise.
940 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
941 * gdb.trace/strace.exp (strace_info_marker): Likewise.
942 (strace_trace_on_same_addr): Likewise.
943 (strace_trace_on_diff_addr): Likewise.
944 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
945 (gdb_collect_locals_test): Likewise.
946 (gdb_unavailable_registers_test): Likewise.
947 (gdb_collect_globals_test): Likewise.
948
2c415c0f
YQ
9492013-03-15 Yao Qi <yao@codesourcery.com>
950
951 * gdb.base/condbreak.exp: Add semicolon back which was removed
952 by my previous commit.
953
ae59b1da
YQ
9542013-03-14 Yao Qi <yao@codesourcery.com>
955
956 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
957 'return'.
958 (gdb_target_monitor, gdb_load): Likewise.
959 * config/sid.exp (gdb_load): Likewise.
960 * config/slite.exp (gdb_load): Likewise.
961 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
962 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
963 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
964 (single_step_until): Likewise.
965 * gdb.arch/powerpc-d128-regs.exp: Likewise.
966 * gdb.arch/system-gcore.exp: Likewise.
967 * gdb.base/bigcore.exp (extract_heap): Likewise.
968 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
969 * gdb.base/call-ar-st.exp: Likewise.
970 * gdb.base/call-rt-st.exp: Likewise.
971 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
972 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
973 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
974 * gdb.base/corefile.exp: Likewise.
975 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
976 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
977 * gdb.base/fixsection.exp: Likewise.
978 * gdb.base/funcargs.exp: Likewise.
979 * gdb.base/gcore-buffer-overflow.exp: Likewise.
980 * gdb.base/gcore-relro.exp: Likewise.
981 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
982 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
983 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
984 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
985 * gdb.base/list.exp: Likewise.
986 (set_listsize): Likewise.
987 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
988 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
989 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
990 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
991 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
992 * gdb.base/setvar.exp: Likewise.
993 (test_set): Likewise.
994 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
995 * gdb.base/solib-overlap.exp: Likewise.
996 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
997 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
998 * gdb.base/watchpoint.exp (initialize): Likewise.
999 (test_simple_watchpoint): Likewise.
1000 (test_disabling_watchpoints): Likewise.
1001 (test_watchpoint_triggered_in_syscall): Likewise.
1002 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
1003 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
1004 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
1005 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
1006 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
1007 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
1008 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
1009 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1010 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
1011 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
1012 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1013 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
1014 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
1015 * gdb.mi/gdb792.exp: Likewise.
1016 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
1017 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
1018 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
1019 * gdb.threads/gcore-thread.exp: Likewise.
1020 (load_core): Likewise.
1021 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
1022 (test_startup, check_control_c): Likewise.
1023 * gdb.threads/sigstep-threads.exp: Likewise.
1024 * gdb.threads/thread_check.exp: Likewise.
1025 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
1026 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
1027 (set_a_tracepoint, trace_buffer_normal): Likewise.
1028 (gdb_trace_circular_tests): Likewise.
1029 * gdb.trace/collection.exp: Likewise.
1030 * gdb.trace/disconnected-tracing.exp: Likewise.
1031 * gdb.trace/infotrace.exp: Likewise.
1032 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1033 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
1034 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
1035 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
1036 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
1037 * gdb.trace/stap-trace.exp: Likewise.
1038 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
1039 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
1040 * gdb.trace/trace-buffer-size.exp: Likewise.
1041 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
1042 * gdb.trace/unavailable.exp: Likewise.
1043 * gdb.trace/while-dyn.exp: Likewise.
1044 * lib/fortran.exp (set_lang_fortran): Likewise.
1045 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
1046 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
1047 (default_gdb_start, get_compiler_info): Likewise.
1048 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
1049 (get_debug_format, setup_xfail_format): Likewise.
1050 (rerun_to_main, gdb_skip_float_test): Likewise.
1051 (build_id_debug_filename_get, get_remotetimeout): Likewise.
1052 * lib/java.exp (set_lang_java): Likewise.
1053 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
1054 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
1055 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
1056 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
1057 * lib/objc.exp (set_lang_objc): Likewise.
1058 * lib/pascal.exp (set_lang_pascal): Likewise.
1059 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
1060 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
1061 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
1062
bb869963
SDJ
10632013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
1064
1065 PR c++/15203
1066 PR c++/15210
1067 * gdb.cp/m-static.cc (keepalive_int): New function.
1068 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
1069 * gdb.cp/m-static.exp: New test for `sintvar'.
1070
e2be70a0
YQ
10712013-03-14 Yao Qi <yao@codesourcery.com>
1072
1073 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
1074 of 'tstatus' into tstatus_output.
1075 (top level): Save the trace data to tfile. Read trace file in
1076 tfile target. Check the trace status.
1077
8ddb1965
YQ
10782013-03-13 Yao Qi <yao@codesourcery.com>
1079
1080 * gdb.trace/tsv.exp (check_tsv): New.
1081 (top level): Save a tfile on current trace session. Call
1082 check_tsv on live target. Load the tfile with target tfile
1083 and call check_tsv again.
1084
045dd51f
YQ
10852013-03-13 Yao Qi <yao@codesourcery.com>
1086
1087 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
1088 Replace some "gdb_test" with "gdb_test_no_output".
1089
82d049ab
PH
10902013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1091
1092 * gdb.ada/expr_delims.exp: New file.
1093 * gdb.ada/expr_delims/foo.adb: New file.
1094 * gdb.ada/expr_delims/pck.ads: New file.
1095 * gdb.ada/expr_delims/pck.adb: New file.
1096
cb8ea32b
KS
10972013-03-11 Keith Seitz <keiths@redhat.com>
1098
1099 * watchpoint.exp (test_no_hw_watchpoints): Add test using
1100 both condition and thread. Then delete the watchpoint.
1101
2f1d9bdd
MM
11022013-03-11 Christian Himpel <christian.himpel@intel.com>
1103
1104 * Makefile.in: Add btrace testsuite.
1105 * configure: Regenerated.
1106 * configure.ac: Add btrace testsuite.
1107 * gdb.btrace/Makefile.in: New file.
1108 * gdb.btrace/enable.c: New file.
1109 * gdb.btrace/enable.exp: New file.
1110 * gdb.btrace/function_call_history.c: New file.
1111 * gdb.btrace/function_call_history.exp: New file.
1112 * gdb.btrace/instruction_history.c: New file.
1113 * gdb.btrace/instruction_history.exp: New file.
1114 * gdb.btrace/instruction_history.S: New file.
1115 * lib/gdb.exp: Add btrace skip proc.
1116
05c56a9d
JK
11172013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1118
1119 Fix entry-values if the callee called a noreturn function.
1120 * gdb.arch/amd64-tailcall-noret.S: New file.
1121 * gdb.arch/amd64-tailcall-noret.c: New file.
1122 * gdb.arch/amd64-tailcall-noret.exp: New file.
1123
9112db09
JK
11242013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1125
1126 Fix entry-values in C++ across CUs.
1127 * gdb.arch/amd64-tailcall-cxx.exp: New file.
1128 * gdb.arch/amd64-tailcall-cxx1.S: New file.
1129 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
1130 * gdb.arch/amd64-tailcall-cxx2.S: New file.
1131 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
1132
be9a119c 11332013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
1134 Hafiz Abid Qadeer <abidh@codesourcery.com>
1135
1136 gdb/testsuite/
1137 * gdb.trace/trace-buffer-size.exp: New file.
1138 * gdb.trace/trace-buffer-size.c: New file.
1139
049109b0
PA
11402013-03-06 Pedro Alves <palves@redhat.com>
1141
1142 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
1143 doesn't support the tested optional feature, call "unsupported"
1144 with the same test message as the "pass" case, instead of calling
1145 "pass" with a different message. Use the same text for the "fail"
1146 cases too.
1147
4aa54120
YQ
11482013-03-06 Yao Qi <yao@codesourcery.com>
1149
1150 * gdb.trace/tstatus.exp: Remove the invocation of
1151 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
1152 (test_tracepoints): Don't set fast tracepoint.
1153 (top level): Don't check agent library is loaded or not.
1154
b8b71e63
YQ
11552013-03-06 Yao Qi <yao@codesourcery.com>
1156
1157 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
1158 parentheses by "\\".
1159
33f448b1
JK
11602013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1161
1162 * gdb.linespec/base/one/thefile.cc (twodup): New.
1163 (m): Call it.
1164 * gdb.linespec/base/two/thefile.cc (dupname): New.
1165 (n): Call it.
1166 * gdb.linespec/break-ask.exp: New file.
1167 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
1168
1c942fb9
YQ
11692013-02-28 Yao Qi <yao@codesourcery.com>
1170
1171 * gdb.trace/report.exp: Move some code to ...
1172 (use_collected_data): New.
1173 (top level): Call use_collected_data once on the live target.
1174 Save at file of the current trace session, load it with target
1175 tfile, and call use_collected_data again.
1176
5b967901
JK
11772013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1178
1179 * gdb.threads/fork-thread-pending.c (main): Add alarm.
1180
6447023f
JK
11812013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1182
1183 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
1184 Add final kill of ${valgrind_pid}.
1185
9f44fbc0
SCR
11862013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1187
1188 * gdb.python/py-arch.c: New test case
1189 * gdb.python/py-arch.exp: New tests to test
1190 gdb.Architecture.disassemble
1191 * gdb.python/Makefile.in: Add py-arch to the list of
1192 EXECUTABLES.
1193
4c9ad8c2
TT
11942013-02-18 Tom Tromey <tromey@redhat.com>
1195
1196 * gdb.dwarf2/subrange.exp: New file.
1197
f5911ea1
HAQ
11982013-02-15 Pedro Alves <pedro@codesourcery.com>
1199 Hafiz Abid Qadeer <abidh@codesourcery.com>
1200
1201 * gdb.trace/tfile.exp: Add test for -trace-status command.
1202
420f4384
JK
12032013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1204
1205 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
1206 nanosleep by sleep.
1207
4819b3f8
PA
12082013-02-14 Pedro Alves <palves@redhat.com>
1209
1210 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
1211
1773c82c
HAQ
12122013-02-14 Pedro Alves <pedro@codesourcery.com>
1213 Hafiz Abid Qadeer <abidh@codesourcery.com>
1214
1215 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
1216
e234dfaf
TT
12172013-02-12 Tom Tromey <tromey@redhat.com>
1218
1219 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
1220 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
1221
6c01dd94
PA
12222013-02-12 Pedro Alves <palves@redhat.com>
1223
1224 * gdb.base/catch-signal.c: Update copyright years.
1225 * gdb.base/catch-signal.exp: Update copyright years.
1226 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
1227 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
1228 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
1229 * gdb.dwarf2/dw2-error.S: Update copyright years.
1230 * gdb.dwarf2/dw2-error.c: Update copyright years.
1231 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
1232 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
1233 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
1234
595fc67f
PA
12352013-02-12 Pedro Alves <palves@redhat.com>
1236
1237 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
1238 message.
1239 * gdb.base/sigaltstack.exp: Ditto.
1240 * gdb.base/siginfo.exp: Ditto.
1241 * gdb.base/sizeof.exp: Ditto.
1242
17282693
PA
12432013-02-12 Pedro Alves <palves@redhat.com>
1244
1245 * gdb.mi/mi-basics.exp: Tweak intro comment.
1246 * gdb.mi/mi-break.exp: Tweak intro comment.
1247 * gdb.mi/mi-console.exp: Tweak intro comment.
1248 * gdb.mi/mi-file.exp: Tweak intro comment.
1249 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
1250 * gdb.mi/mi-return.exp: Tweak intro comment.
1251 * gdb.mi/mi-stepi.exp: Tweak intro comment.
1252 * gdb.mi/mi-until.exp: Tweak intro comment.
1253 * gdb.mi/mi-watch.exp: Tweak intro comment.
1254
8a4ac37e
PA
12552013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1256
1257 * gdb.server/no-thread-db.exp: New file.
1258 * gdb.server/no-thread-db.c: New file.
1259 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
1260
c2792f5a
DE
12612013-02-11 Doug Evans <dje@google.com>
1262
1263 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
1264 two decfloats.
1265
d9e98382
SDJ
12662013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1267
1268 * gdb.base/bitfields.c (struct internalvartest): New declaration.
1269 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
1270
a321661a
JK
12712013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1272
1273 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
1274
134a2066
YQ
12752013-02-06 Yao Qi <yao@codesourcery.com>
1276
1277 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
1278 to ...
1279 (test_create_delete_modify_tsv): ... here. New test on modifying
1280 the initial value of a tsv.
1281
5a2dc60a
JK
12822013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1283
1284 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
1285 (cd .../rdir): ... here.
1286
233d95b5
JK
12872013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1288
1289 * gdb.linespec/base/one/header.h: New file.
1290 * gdb.linespec/base/two/header.h: New file.
1291 * gdb.linespec/macro-relative.c: New file.
1292 * gdb.linespec/macro-relative.exp: New file.
1293
fbd9ab74
JK
12942013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1295
1296 * gdb.base/fullpath-expand-func.c: New file.
1297 * gdb.base/fullpath-expand.c: New file.
1298 * gdb.base/fullpath-expand.exp: New file.
1299 * gdb.base/realname-expand-real.c: New file.
1300 * gdb.base/realname-expand.c: New file.
1301 * gdb.base/realname-expand.exp: New file.
1302
1b56eb55
JK
13032013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1304
1305 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
1306 * gdb.dwarf2/dw2-dir-file-name.c: New file.
1307
af529f8f
JK
13082013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1309
1310 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
1311 (compare_filenames_for_search does not match)
1312 (compare_filenames_for_search does match): New tests.
1313
f5b95b50
JK
13142013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1315
1316 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
1317
d47921b9
JK
13182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1319
1320 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
1321
8a92335b
JK
13222013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1323
1324 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
1325 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
1326 ${binfile}.mini_debuginfo-debuglink and
1327 ${binfile}.mini_debuginfo-debuglink.xz.
1328
17f2157d
TT
13292013-02-01 Tom Tromey <tromey@redhat.com>
1330
1331 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
1332 attributes.
1333
d65f0a9c
TT
13342013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1335 Tom Tromey <tromey@redhat.com>
1336
1337 * gdb.dwarf2/method-ptr.exp: Link with c++.
1338 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
1339
f25c0135
TT
13402013-01-31 Tom Tromey <tromey@redhat.com>
1341
1342 * gdb.base/jit.exp (compile_jit_test): New proc.
1343 Add PIE tests.
1344
7078baeb
TT
13452013-01-31 Tom Tromey <tromey@redhat.com>
1346
1347 * gdb.dwarf2/method-ptr.cc: New file.
1348 * gdb.dwarf2/method-ptr.exp: New file.
1349
1d24041a
TT
13502013-01-31 Tom Tromey <tromey@redhat.com>
1351
1352 * lib/dwarf.exp (namespace Dwarf): New.
1353
8d9878a4
TT
13542013-01-29 Tom Tromey <tromey@redhat.com>
1355
1356 * gdb.dwarf2/fission-reread.exp: Add unload test.
1357
bed911e5
DE
13582013-01-28 Doug Evans <dje@google.com>
1359
1360 * gdb.dwarf2/fission-loclists.exp: New file.
1361 * gdb.dwarf2/fission-loclists.S: New file.
1362
e229648e
JK
13632013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1364
1365 Code cleanup.
1366 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
1367 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
1368 and prepare_for_testing.
1369 * gdb.base/store.exp: Likewise.
1370
86700f00
TT
13712013-01-25 Tom Tromey <tromey@redhat.com>
1372
1373 * gdb.python/py-explore.exp: Expect the gdb prompt.
1374
8954db33
AB
13752013-01-25 Andrew Burgess <aburgess@broadcom.com>
1376
1377 * gdb.base/gnu_vector.c: New variable for use in tests.
1378 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
1379 changes in scalar to vector casting and widening.
1380 * gdb.python/py-type.c: New variables for use in tests.
1381 * gdb.python/py-type.exp: Update vector related tests to reflect
1382 changes in scalar to vector casting and widening.
1383
2077afdd
TD
13842013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1385
1386 * gdb.base/prologue-include.c: New file.
1387 * gdb.base/prologue-include.exp: New file.
1388 * gdb.base/prologue-include.h: New file.
1389
d7499464
HAQ
13902013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
1391
1392 PR gdb/13443
1393 * gdb.mi/mi-var-block.exp: Make test messages unique.
1394
e2a3e0f1
TT
13952013-01-23 Tom Tromey <tromey@redhat.com>
1396
1397 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
1398
152fcc9c
TT
13992013-01-23 Tom Tromey <tromey@redhat.com>
1400
1401 * gdb.cp/converts.cc (main): Initialize 'a'.
1402
bea883fd
SCR
14032013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1404
1405 * testsuite/gdb.python/frame.exp: Add a test for
1406 gdb.Frame.architecture() method.
1407
0928e93d
PA
14082013-01-22 Pedro Alves <palves@redhat.com>
1409
1410 * gdb.base/annota1.exp (signal sent): No longer expect
1411 breakpoints-invalid.
1412 * gdb.cp/annota2.exp (continue until exit)
1413 (watch triggered on a.x): Ditto.
1414
9c97429f
PA
14152013-01-22 Pedro Alves <palves@redhat.com>
1416
1417 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
1418 Adjust tests to breakpoints-invalid changes.
1419 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
1420 variables.
1421 Adjust tests to breakpoints-invalid changes.
1422
187d10dd
PA
14232013-01-22 Pedro Alves <palves@redhat.com>
1424
1425 * gdb.base/annota1.exp (annotate ignore count change): Add
1426 expected output for failure case.
1427
ea3aedcb
TT
14282013-01-22 Tom Tromey <tromey@redhat.com>
1429
1430 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
1431 call.
1432
998580f1
MK
14332013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1434
1435 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
8f1d5693 1436 * gdb.mi/mi-catch-load.exp: Ditto.
998580f1
MK
1437 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
1438 Also handle 'thread' field.
1439 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
1440 * gdb.mi/mi-watch.exp: Ditto.
1441 * lib/mi-support.exp: Ditto.
1442
8f1d5693
MK
14432013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1444
1445 * gdb.python/py-explore.exp: Improve a test
1446
2d8c5d7c
DB
14472013-01-18  David Blaikie  <dblaikie@gmail.com>
1448
1449 * gdb.base/label.c (main): Correct the type of the second
1450 parameter.
1451
46f35228
TT
14522013-01-18 Tom Tromey <tromey@redhat.com>
1453
1454 * gdb.dwarf2/trace-crash.s: New file.
1455 * gdb.dwarf2/trace-crash.exp: New file.
1456
5965d69d
HAQ
14572013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
1458
43aaf8b6
PA
1459 PR gdb/13443
1460 * gdb.base/checkpoint.exp: Update test messages to make them
1461 unique.
5965d69d 1462
5ae4861a
YQ
14632013-01-18 Yao Qi <yao@codesourcery.com>
1464
1465 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
1466 output of 'info tracepoints'.
1467 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
1468 Likewise.
1469 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1470 * gdb.trace/disconnected-tracing.c (struct foo): New.
1471
d84fca2c
JK
14722013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1473
1474 * gdb.dwarf2/dw2-dos-drive.S: New file.
1475 * gdb.dwarf2/dw2-dos-drive.exp: New file.
1476
aebb1cc9
DE
14772013-01-17 Doug Evans <dje@google.com>
1478
2782d512
DE
1479 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
1480 CXX_FOR_TARGET.
1481
aebb1cc9
DE
1482 * boards/cc-with-tweaks.exp: New file.
1483
db2b2972
TT
14842013-01-17 Tom Tromey <tromey@redhat.com>
1485
1486 * gdb.base/completion.exp: Add "set cp-abi" completion test.
1487
96343774
PA
14882013-01-17 Pedro Alves <palves@redhat.com>
1489
1490 Merge dg-extract-results.sh from upstream (svn 195224).
1491
1492 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1493 * dg-extract-results.sh: Fix order of summary counts.
96343774
PA
1494
1495 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1496 * dg-extract-results.sh: Constrain the start-of-log pattern.
96343774
PA
1497
1498 2013-01-15 David Blaikie <dblaikie@gmail.com>
43aaf8b6 1499 * dg-extract-results.sh: Handle KPASSes.
96343774
PA
1500
1501 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1502 * dg-extract-results.sh: Redirect grep output to /dev/null instead
1503 of grep -q.
1504
675921c0
SD
15052012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1506
1507 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
1508 interface.
1509 * gdb.base/jithost.c: New file.
1510 * gdb.base/jithost.h: New file.
1511 * gdb.base/jitreader.c : New file.
1512 * gdb.base/jit-protocol.h: New file.
1513
ab04a2af
TT
15142013-01-16 Tom Tromey <tromey@redhat.com>
1515
1516 * gdb.base/catch-signal.c: New file.
1517 * gdb.base/catch-signal.exp: New file.
1518
8ac3646f
TT
15192013-01-16 Tom Tromey <tromey@redhat.com>
1520
1521 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
1522
22fc223e
JK
15232013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1524
1525 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
1526
44478ab3
TT
15272013-01-14 Tom Tromey <tromey@redhat.com>
1528
1529 * gdb.base/completion.exp: Add "set gnutarget" test.
1530
06d66ee9
TT
15312013-01-14 Tom Tromey <tromey@redhat.com>
1532
1533 * gdb.dwarf2/dw2-restrict.S: New file.
1534 * gdb.dwarf2/dw2-restrict.c: New file.
1535 * gdb.dwarf2/dw2-restrict.exp: New file.
1536
c9bf0622
TT
15372013-01-14 Tom Tromey <tromey@redhat.com>
1538
1539 * gdb.dwarf2/dw2-error.exp: New file.
1540 * gdb.dwarf2/dw2-error.c: New file.
1541 * gdb.dwarf2/dw2-error.S: New file.
1542
5b12a61c
JK
15432013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1544
1545 * gdb.cp/parse-lang.cc: New file.
1546 * gdb.cp/parse-lang.exp: New file.
1547
f0a4b570
JK
15482013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1549
1550 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
1551 (set substitute-path): New test.
1552 (fullname present): Remove content.
1553 (substituted fullname): New test.
1554
f751cc97
JB
15552013-01-13 Joel Brobecker <brobecker@adacore.com>
1556
1557 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
1558 check. Move $gdb_py_is_py24 value check right after.
1559
04164e8e
JK
15602013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1561
1562 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
1563 targets.
1564
5bf480a5
YQ
15652013-01-11 Yao Qi <yao@codesourcery.com>
1566
1567 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
1568 for dprintf.
1569 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1570 Check the fields in "=breakpoint-created" for dprintf.
1571
f35a17b5
JK
15722012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1573
1574 * gdb.mi/mi-fullname-deleted.exp: New file.
1575
85817405
JK
15762012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1577
1578 * gdb.base/skip-solib.exp (info skip with pending file): Update the
1579 expected output.
1580 (info skip with pending file): Remove.
1581 (ignoring function in solib, info skip for function multiply): Update
1582 the expected output.
1583 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
1584 (info skip (delete 1), info skip after disabling all)
1585 (info skip after enabling all, info skip after disabling 4 2-3)
1586 (info skip after enabling 2-3, info skip 2-3)
1587 (info skip after deleting 2 3): Update the expected output.
1588 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
1589 statement to its initialization and return.
1590 * gdb.linespec/skip-two.exp: New file.
1591
27210e12
DE
15922012-12-19 Doug Evans <dje@google.com>
1593
1594 * gdb.base/maint.exp: Handle testing with .gdb_index.
1595
bb627a12
JB
15962012-12-19 Joel Brobecker <brobecker@adacore.com>
1597
1598 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
1599 Cavium to FSF.
1600
7785b880
JB
16012012-12-19 Joel Brobecker <brobecker@adacore.com>
1602
1603 * dg-extract-results.sh: Update contact info in copyright notice.
1604 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
1605 GPL v3 or later. Update contact info.
1606 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
1607 gdb.threads/watchpoint-fork-mt.c,
1608 gdb.threads/watchpoint-fork-parent.c,
1609 gdb.threads/watchpoint-fork-st.c,
1610 gdb.threads/watchpoint-fork.h: Likewise.
1611
f2a8bc8a
YQ
16122012-12-15 Yao Qi <yao@codesourcery.com>
1613
1614 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
1615 'installed' field in '=breakpoint-modified'.
1616 (test_reconnect): Check 'installed' field in
1617 '=breakpoint-modified' and '=breakpoint-created'.
1618
1619 * gdb.trace/actions.exp: Update test for 'installed' field.
1620 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
1621 (tracepoint_change_loc_2): Likewise.
1622 Check 'info tracepoint' display nothing else.
1623 * gdb.trace/deltrace.exp: Likewise.
1624 * gdb.trace/infotrace.exp: Likewise.
1625 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
1626 Likewise.
1627 * gdb.trace/passcount.exp: Likewise.
1628 * gdb.trace/tracecmd.exp: Likewise.
1629 * gdb.trace/while-stepping.exp: Likewise.
1630
6592e36f
TT
16312012-12-14 Tom Tromey <tromey@redhat.com>
1632
1633 * gdb.cp/member-name.exp: New file.
1634 * gdb.cp/member-name.cc: New file.
1635
7d27a96d
TT
16362012-12-14 Tom Tromey <tromey@redhat.com>
1637
1638 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
1639
f8c05d0d
DE
16402012-12-14 Doug Evans <dje@google.com>
1641
1642 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
1643 DW_OP_GNU_implicit_pointer is section-relative.
1644
451b7c33
TT
16452012-12-14 Tom Tromey <tromey@redhat.com>
1646
43aaf8b6 1647 * gdb.base/info-proc.exp: Add core file tests.
451b7c33 1648
10e339df
PA
16492012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
1650
6fdff2c5 1651 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
10e339df 1652
e780d813
DE
16532012-12-13 Doug Evans <dje@google.com>
1654
1655 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
1656 * gdb.multi/multi-arch.exp: Ditto.
1657
ca3dbcc8 16582012-12-12 Keven Boell <keven.boell@intel.com>
6fdff2c5 1659
ca3dbcc8
MG
1660 * gdb.mi/mi-catch-load-so.c: New. Clone of the
1661 catch load test library source file.
1662 * gdb.mi/mi-catch-load.c: New. Clone of the catch
1663 load test source file.
1664 * gdb.mi/mi-catch-load.exp: New. Test file for
1665 basic MI -catch-load and -catch-unload tests.
1666
2960a434
PK
16672012-12-11 Paul Koning <paul_koning@dell.com>
1668
1669 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
1670 exception.
1671 (_iterator_except): New function.
1672 (ArrayPrinter): Use _iterator function instead of local _iterator
1673 class for Python 3 compatibility.
1674 (NoStringContainerPrinter): Use _iterator_except instead of
6fdff2c5 1675 _iterator.
2960a434
PK
1676 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
1677 execfile for Python 3 compatibility.
1678 * gdb.python/python.exp: Handle Python 2.4 exception traceback
1679 format in error_prompt test.
6fdff2c5 1680
9325cb04
PK
16812012-12-10 Paul Koning <paul_koning@dell.com>
1682
1683 * gdb.base/charset.exp: Change print syntax for Python 3
6fdff2c5 1684 compatibility.
9325cb04
PK
1685 * gdb.python/py-block.exp: Ditto.
1686 * gdb.python/py-breakpoint.exp: Ditto.
1687 * gdb.python/py-cmd.exp: Ditto.
1688 * gdb.python/py-events.py: Ditto.
1689 * gdb.python/py-finish-breakpoint.py: Ditto.
1690 * gdb.python/py-finish-breakpoint2.exp: Ditto.
1691 * gdb.python/py-finish-breakpoint2.py: Ditto.
1692 * gdb.python/py-frame-inline.exp: Ditto.
1693 * gdb.python/py-frame.exp: Ditto.
1694 * gdb.python/py-infthread.exp: Ditto.
1695 * gdb.python/py-objfile.exp: Ditto.
1696 * gdb.python/py-parameter.exp: Ditto.
1697 * gdb.python/py-progspace.exp: Ditto.
1698 * gdb.python/py-prompt.exp: Ditto.
1699 * gdb.python/py-symbol.exp: Ditto.
1700 * gdb.python/py-symtab.exp: Ditto.
1701 * gdb.python/py-template.exp: Ditto.
1702 * gdb.python/py-value-cc.exp: Ditto.
1703 * gdb.python/python.exp: Ditto.
1704 * gdb.python/source2.py: Ditto.
1705 * gdb.python/lib-types.exp: Change print syntax for Python 3
6fdff2c5 1706 compatibility.
9325cb04
PK
1707 Use sorted() function rather than sort() method.
1708 Accept either int or long values for enum values.
1709 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
1710 execfile for Python 3 compatibility.
1711 * gdb.python/py-evsignal.exp: Ditto.
1712 * gdb.python/py-evthreads.exp: Ditto.
1713 * gdb.python/py-mi.exp: Ditto.
1714 * gdb.python/py-pp-maint.exp: Ditto.
1715 * gdb.python/py-prettyprint.exp: Ditto.
1716 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
6fdff2c5 1717 Python 3 compatibility.
9325cb04
PK
1718 Skip tests for Python 2.4.
1719 * gdb.python/py-inferior.exp: Change print syntax for
6fdff2c5 1720 Python 3 compatibility.
9325cb04
PK
1721 Use byte string rather than character string in memory write test
1722 if Python 3.
1723 * gdb.python/py-pp-maint.py: Change class declarations to "new
1724 class" syntax.
1725 * gdb.python/py-prettyprint.py: Change iterator class to generator
1726 function for Python 3 compatibility.
1727 Make all classes "new style".
1728 Fix indentation issue and stray semicolon.
1729 * gdb.python/py-shared.expChange print syntax for Python 3
1730 compatibility.
1731 Define "long" if Python 3.
1732 * gdb.python/py-type.exp: Change print syntax for Python 3
6fdff2c5 1733 compatibility.
9325cb04
PK
1734 Accept either int or long values for enum values.
1735 * gdb.python/py-value.exp: Change print syntax for Python 3
6fdff2c5 1736 compatibility.
9325cb04
PK
1737 Skip "long" and "unicode" tests if Python 3.
1738 Accept either "type" or "class" in type checks.
1739 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
1740 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
1741
8b9737bf
TT
17422012-12-10 Tom Tromey <tromey@redhat.com>
1743
1744 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
1745 (test): Add "two_cu" argument.
1746 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
1747 for types; allow two CUs.
1748
1b80a9fa
JK
17492012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1750
1751 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
1752 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
1753
f0b6d50a
YQ
17542012-12-08 Yao Qi <yao@codesourcery.com>
1755 Pedro Alves <palves@redhat.com>
1756
1757 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
1758 '=breakpoint-created' when GDB merges the tracepoints of both
1759 sides.
1760
2f68a895
TT
17612012-12-07 Tom Tromey <tromey@redhat.com>
1762
1763 * gdb.base/break1.c (enum some_enum, union some_union): New.
1764 (some_enum_global, some_union_global, some_value): New globals.
1765 * gdb.base/completion.exp: Add tag completion tests.
1766
4fc5d43e
TT
17672012-12-07 Tom Tromey <tromey@redhat.com>
1768
1769 * gdb.base/completion.exp: Add tests for ptype and whatis
1770 completion.
1771
6559e013
JB
17722012-12-07 Joel Brobecker <brobecker@adacore.com>
1773
1774 * gdb.base/stale-infcall.exp: Fix copyright line.
1775
ae2b630d
JB
17762012-12-07 Joel Brobecker <brobecker@adacore.com>
1777
1778 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
1779
0ba2eb0f
TT
17802012-12-06 Pedro Alves <palves@redhat.com>
1781 Tom Tromey <tromey@redhat.com>
1782
1783 * gdb.base/exprs.exp: Add tests for cast to void.
1784
731145cb
TT
17852012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
1786
1787 * gdb.python/py-mi.exp: Correct expected results for attribute
1788 "dynamic" returned by -var-update.
1789 Add test case for correct handling of "diplayhint" for children
1790 of dynamic varobjs.
1791 * gdb.python/py-prettyprint.c (set_itme): New function.
1792 (bug_14741) New function.
1793 (main) Add call to bug_14741().
1794 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
1795
e58fcc15
UW
17962012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
1797
1798 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
1799 ${binfile}.funcsyms list.
1800
e9eb0d14
YQ
18012012-12-04 Yao Qi <yao@codesourcery.com>
1802
1803 PR gdb/13443
1804 * gdb.trace/actions.exp: Make test messages unique.
1805
4983028c
TT
18062012-11-29 Tom Tromey <tromey@redhat.com>
1807
1808 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
1809
ea5e6b0e
UW
18102012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
1811
1812 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
1813 * gdb.opencl/datatypes.exp: Likewise.
1814 * gdb.opencl/operators.exp: Likewise.
1815 * gdb.opencl/vec_comps.exp: Likewise.
1816
cdde3dfb
JG
18172012-11-29 Jerome Guitton <guitton@adacore.com>
1818
1819 * gdb.ada/iwide: New testcase.
1820
b50d69b5
JG
18212012-11-29 Jerome Guitton <guitton@adacore.com>
1822
1823 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
1824 ptype test.
1825
c2d3fccf
JG
18262012-11-29 Jerome Guitton <guitton@adacore.com>
1827
1828 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
1829 form {VARIANT_TYPE}ADDRESS.
1830
5edf51fe
YQ
18312012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
1832
1833 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
1834 (func): New function.
1835 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
1836 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
1837 pointers to members with pointer-to-function type.
1838
608e2dbb
TT
18392012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1840 Tom Tromey <tromey@redhat.com>
1841
1842 * gdb.base/gnu-debugdata.exp: New file.
1843 * gdb.base/gnu-debugdata.c: New file.
1844 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1845 (gdb_unload): Return 0 on success.
1846
4648e588
JK
18472012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1848
1849 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1850
17d6efc4
JB
18512012-11-26 Joel Brobecker <brobecker@adacore.com>
1852
1853 * gdb.base/empty_exe.exp: New testcase.
1854
ace21957
MF
18552012-11-20 Mike Frysinger <vapier@gentoo.org>
1856
1857 * gdb.base/completion.exp: Add test for help aliases completion.
1858
5c401a0a
YQ
18592012-11-20 Yao Qi <yao@codesourcery.com>
1860
1861 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1862 Don't test 'maint set show-debug-regs'.
1863 Use command 'set remotecache' instead of
1864 'set circular-trace-buffer'.
1865
8dea366b
KS
18662012-11-16 Keith Seitz <keiths@redhat.com>
1867
1868 PR c++/13615
1869 * gdb.cp/baseenum.cc: New file.
1870 * gdb.cp/baseenum.exp: New file.
1871 * gdb.cp/derivation.cc (A): Add copyright.
1872 Add a typedef.
1873 (B): Use A::value_type instead of int. Change all references.
1874 (D): Use value_type instead of int. Change all references.
1875 (E): Likewise.
1876 (F); Likewise.
1877 (Z): New class.
1878 (ZZ): New class.
6fdff2c5 1879 (N, Base, Derived): New namespace and classes.
8dea366b
KS
1880 (main): Add instances of Z and ZZ.
1881 Make sure all symbols from N are kept.
1882 * gdb.cp/derivation.exp: Update typedef changes in tests.
1883 Add tests for class typedefs both before and after starting
1884 the inferior.
1885 Add tests for searching for a typedef while stopped in a
1886 method.
1887
5e34c6c3
LM
18882012-11-14 Luis Machado <lgustavo@codesourcery.com>
1889
1890 * gdb.mi/mi-var-create-rtti.c: New file.
1891 * gdb.mi/mi-var-create-rtti.exp: New file.
1892
5e487a5f
LM
18932012-11-14 Luis Machado <lgustavo@codesourcery.com>
1894
1895 * gdb.base/structs3.exp: Run to main before doing any tests.
1896
6d67b990
AB
18972012-11-14 Andrew Burgess <aburgess@broadcom.com>
1898
1899 * gdb.python/py-type.exp: Uniquify test names.
1900
e5d98164
YQ
19012012-11-14 Yao Qi <yao@codesourcery.com>
1902
1903 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1904 (thread_function) [DEBUG]: Call 'printf'.
1905 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1906 command line if 'DEBUG=1' is passed to test.
1907 Remove a pattern to match inferior's output.
1908
62747a60
TT
19092012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1910
1911 * gdb.mi/mi-fill-memory.exp: New test.
1912
18a9fc12
TT
19132012-11-12 Tom Tromey <tromey@redhat.com>
1914
1915 * gdb.base/completion.exp: Update for "info type-printers".
1916 * gdb.python/py-typeprint.cc: New file.
1917 * gdb.python/py-typeprint.exp: New file.
1918 * gdb.python/py-typeprint.py: New file.
1919
bd69fc68
TT
19202012-11-12 Tom Tromey <tromey@redhat.com>
1921
1922 * gdb.base/call-sc.exp: Use "ptype/r".
1923 * gdb.base/volatile.exp: Don't expect "int".
1924 * gdb.cp/ptype-flags.cc: New file.
1925 * gdb.cp/ptype-flags.exp: New file.
1926 * gdb.cp/templates.exp: Use ptype/r.
1927 (test_ptype_of_templates, test_template_typedef): Likewise.
1928 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1929 argument. Handle template names and template parameters.
1930 * gdb.mi/mi-var-cmd.exp: Accept "long".
1931 * gdb.mi/mi-var-child.exp: Accept "long".
1932 * gdb.mi/mi-var-display.exp: Accept "long".
1933 * gdb.mi/mi2-var-child.exp: Accept "long".
1934
b3720c3a
TT
19352012-11-12 Tom Tromey <tromey@redhat.com>
1936
1937 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1938 "ptype" from calls to cp_test_ptype_class.
1939 (test_enums): Likewise.
1940 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1941 cp_test_ptype_class.
1942 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1943 calls to cp_test_ptype_class.
1944 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1945 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1946 from calls to cp_test_ptype_class.
1947 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1948 command here. Change "in_command" argument to "in_exp".
1949
0d63ecda
KS
19502012-11-10 Keith Seitz <keiths@redhat.com>
1951
1952 PR gdb/14288
1953 * gdb.base/printcmds.c: Add invalid_XXX globals
1954 for repeated byte tests.
1955 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1956 * gdb.base/wchar.c (main): Add and construct a wchar_t
1957 array with repeated characters.
1958 * gdb.base/wchar.exp: Add repeated character tests.
1959
ed8a1c2d
AB
19602012-11-09 Andrew Burgess <aburgess@broadcom.com>
1961
1962 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1963 disassembly output.
1964
9107fc8d
PA
19652012-11-09 Pedro Alves <palves@redhat.com>
1966
1967 PR gdb/14306
1968
1969 * gdb.multi/multi-arch-exec.c: New file.
1970 * gdb.multi/multi-arch-exec.exp: New file.
1971
558a9d82
YQ
19722012-11-09 Yao Qi <yao@codesourcery.com>
1973
1974 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1975 (top level): Call it.
1976
e714f336
YQ
19772012-11-09 Yao Qi <yao@codesourcery.com>
1978
1979 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1980 typo.
1981
6ecd4729
PA
19822012-11-09 Pedro Alves <palves@redhat.com>
1983
1984 * gdb.multi/multi-arch.exp: New.
1985
9015683b
TT
19862012-11-08 Tom Tromey <tromey@redhat.com>
1987
1988 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1989 core files, if possible.
1990 * gdb.base/siginfo-thread.c: New file
1991 * gdb.base/siginfo-thread.exp: New file
1992
ea9f10bb
TT
19932012-11-08 Tom Tromey <tromey@redhat.com>
1994
1995 * gdb.base/comprdebug.exp: New file.
1996
f6592439
PA
19972012-11-06 Pedro Alves <palves@redhat.com>
1998
1999 PR gdb/14810
2000
2001 * gdb.base/disabled-location.c: New file.
2002 * gdb.base/disabled-location.exp: New file.
2003
2d338fa9
TT
20042012-11-06 Tom Tromey <tromey@redhat.com>
2005
2006 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
2007 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
2008 gdb_gcore_cmd.
2009 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
2010 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
2011 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
2012 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
2013 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
2014 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
2015 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
2016 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
2017 * lib/gdb.exp (gdb_gcore_cmd): New proc.
2018
68c9da30
PA
20192012-11-05 Pedro Alves <palves@redhat.com>
2020
2021 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
2022 procedure.
2023 (do_vfork_and_follow_child_tests_exec)
2024 (do_vfork_and_follow_child_tests_exit): Call it.
2025
a7c8c931
PA
20262012-11-05 Pedro Alves <palves@redhat.com>
2027
2028 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
2029 fails.
2030
6f6484cd
YQ
20312012-11-03 Yao Qi <yao@codesourcery.com>
2032
2033 Fix PR gdb/14617.
2034 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
2035 Remove setup_kfail, and update test.
2036
b45627a0
TT
20372012-11-02 Tom Tromey <tromey@redhat.com>
2038
2039 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
2040 test.
2041
f50f4e56
PA
20422012-11-02 Pedro Alves <palves@redhat.com>
2043
2044 PR gdb/14766
2045
2046 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
2047 setup_kfail.
2048 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
2049 get registers".
2050
71ce889d
PA
20512012-11-02 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.base/foll-vfork-exit.c: New file.
2054 * gdb.base/foll-vfork.exp (top level): New file-describing
2055 comment.
2056 (vfork_child_follow_to_exit): New procedure.
2057 (tcatch_vfork_then_child_follow): Rename as ...
2058 (tcatch_vfork_then_child_follow_exec): ... this.
2059 (tcatch_vfork_then_child_follow_exit): New procedure.
2060 (do_vfork_and_follow_parent_tests): New procedure, factored out
2061 from do_vfork_and_exec_tests.
2062 (do_vfork_and_follow_child_tests_exec): Ditto.
2063 (do_vfork_and_exec_tests): Delete.
2064 (do_vfork_and_follow_child_tests_exit): New procedure.
2065 (top level): Run tests with both the program that has the vfork
2066 child execing, and the program has the vfork child exiting.
2067
1e35b1a9
PA
20682012-11-02 Pedro Alves <palves@redhat.com>
2069
2070 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
2071 (check_vfork_catchpoints, vfork_parent_follow_through_step)
2072 (vfork_parent_follow_to_bp): Call it.
2073 (kill_child): Delete.
2074 (vfork_and_exec_child_follow_to_main_bp)
2075 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
2076 longer call kill_child.
2077 (tcatch_vfork_then_parent_follow): Call setup_gdb.
2078 (do_vfork_and_exec_tests): Don't runto_main before calling each
2079 test procedure.
2080 (top level): Don't clean restart and set verbose before running
2081 each test procedure.
2082
20832012-11-02 Pedro Alves <palves@redhat.com>
2084
2085 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
2086 (vfork_parent_follow_to_bp)
2087 (vfork_and_exec_child_follow_to_main_bp)
2088 (vfork_and_exec_child_follow_through_step)
2089 (tcatch_vfork_then_parent_follow)
2090 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2091 Use with_test_prefix.
2092
20932012-11-02 Pedro Alves <palves@redhat.com>
2094
2095 * gdb.base/foll-vfork.c: Add copyright header.
2096 * gdb.base/vforked-prog.c: Add copyright header.
2097
20982012-11-02 Pedro Alves <palves@redhat.com>
2099
2100 * gdb.base/foll-vfork.exp
2101 (vfork_and_exec_child_follow_through_step): Don't skip on
2102 non-HP/UX targets. Expect the next to only step one line on
2103 non-HP/UX targets, rather than stopping only after the exec.
2104
21052012-11-02 Pedro Alves <palves@redhat.com>
2106
2107 Don't hard code line numbers.
2108
2109 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
2110 Expect text from the sources instead of a line number.
2111 (vfork_parent_follow_to_bp)
2112 (vfork_and_exec_child_follow_to_main_bp)
2113 (vfork_and_exec_child_follow_through_step)
2114 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
2115 Use gdb_get_line_number.
2116
21172012-11-02 Pedro Alves <palves@redhat.com>
2118
2119 Modernize.
2120
2121 * gdb.base/foll-vfork.exp: Use standard_testfile and
2122 build_executable. Pass descriptive string to untested.
2123 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
2124 (vfork_and_exec_child_follow_to_main_bp)
2125 (vfork_and_exec_child_follow_through_step)
2126 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
2127 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
2128 of send_gdb/gdb_expect.
2129
2130 (kill_child): New procedure.
2131 (vfork_and_exec_child_follow_to_main_bp)
2132 (vfork_and_exec_child_follow_through_step): Use it.
2133
f0559fff
YQ
21342012-11-02 Yao Qi <yao@codesourcery.com>
2135
2136 * gdb.base/setvar.exp: Test setting nested struct.
2137 * gdb.base/setvar.c (v_struct3): New.
2138
c207c6da
DE
21392012-11-01 Doug Evans <dje@google.com>
2140
2141 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
2142 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
2143 use them.
2144
2f27adfe
AB
21452012-10-31 Andrew Burgess <aburgess@broadcom.com>
2146
2147 PR cli/14772
2148 * gdb.base/gnu_vector.c (union_with_vector_1)
2149 (struct_with_vector_1): Add new struct and union for testing
2150 ptype.
2151 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
2152 structs / unions containing vectors.
2153
bb662ca6
YQ
21542012-10-25 Yao Qi <yao@codesourcery.com>
2155
2156 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
2157 'setup_kfail' instead of 'setup_kfail_for_target'.
2158 * gdb.base/varargs.exp: Likewise.
2159 * lib/gdb.exp (setup_kfail_for_target): Remove.
2160
635d23ff
MK
21612012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
2162
2163 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
2164
afdb064f
MK
21652012-10-25 Mark Kettenis <kettenis@gnu.org>
2166
2167 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
2168
d99dcf51
JB
21692012-10-24 Joel Brobecker <brobecker@adacore.com>
2170
2171 * gdb.ada/set_wstr: New testcase.
2172
32560274
JB
21732012-10-24 Joel Brobecker <brobecker@adacore.com>
2174
2175 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
2176
5ded5331
JB
21772012-10-24 Joel Brobecker <brobecker@adacore.com>
2178
2179 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
2180
d8d84291
MK
21812012-10-24 Mark Kettenis <kettenis@gnu.org>
2182
2183 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
2184
6e933c51
JK
21852012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2186
2187 * gdb.base/callfuncs.exp (do_function_calls): Fix
2188 setup_kfail_for_target for -m32 mode.
2189
274bd000
MK
21902012-10-23 Mark Kettenis <kettenis@gnu.org>
2191
2192 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
2193 are now fixed.
2194
545f743d
YQ
21952012-10-23 Yao Qi <yao@codesourcery.com>
2196
2197 * gdb.base/info-os.exp: Resume the inferior until it exits.
2198
48b56b6a 21992012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
2200
99c7d5a8 2201 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
2202 * gdb.base/print-file-var.exp: Likewise.
2203 * gdb.base/type-opaque.exp: Likewise.
48b56b6a 2204
8de0566d
YQ
22052012-10-17 Yao Qi <yao@codesourcery.com>
2206
2207 * gdb.mi/mi-memory-changed.exp: New.
2208
44883546
YQ
22092012-10-16 Yao Qi <yao@codesourcery.com>
2210
2211 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
2212 returns true.
2213 Call gdb_load_shlibs.
2214 * gdb.reverse/solib-reverse.exp: Likewise.
2215
345f514a
KS
22162012-10-15 Keith Seitz <keiths@redhat.com>
2217
2218 * lib/cp-support.exp (cp_test_ptype_class): Add support
2219 for class typedefs.
2220
2221 * gdb.cp/derivation.exp: Add tests for g_instance.
2222
9e3a7d65
JK
22232012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 Fix entry values resolving in inlined frames.
2226 * gdb.arch/amd64-entry-value-inline.S: New file.
2227 * gdb.arch/amd64-entry-value-inline.c: New file.
2228 * gdb.arch/amd64-entry-value-inline.exp: New file.
2229
21a7b089
JK
22302012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2231 Doug Evans <dje@google.com>
2232
2233 Fix recent gdb_breakpoint regression.
2234 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
2235 braces from the parameter.
2236 * gdb.java/jprint.exp: Likewise.
2237
2c47921e
DE
22382012-10-15 Doug Evans <dje@google.com>
2239
2240 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
2241
89398707
JB
22422012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
2243
2244 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2245
801e4185
TT
22462012-10-15 Tom Tromey <tromey@redhat.com>
2247
2248 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2249
74f910c8
TT
22502012-10-15 Tom Tromey <tromey@redhat.com>
2251
2252 * gdb.python/py-symbol.exp: Test symbol destructor.
2253
91567807
YQ
22542012-10-14 Yao Qi <yao@codesourcery.com>
2255
2256 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
2257 * gdb.mi/mi-cli.exp: New.
2258
2259 * gdb.mi/mi2-basics.exp: Remove.
2260 * gdb.mi/mi2-break.exp: Remove.
2261 * gdb.mi/mi2-console.exp: Remove.
2262 * gdb.mi/mi2-disassemble.exp: Remove.
2263 * gdb.mi/mi2-eval.exp: Remove.
2264 * gdb.mi/mi2-file.exp: Remove.
2265 * gdb.mi/mi2-hack-cli.exp: Remove.
2266 * gdb.mi/mi2-pthreads.exp: Remove.
2267 * gdb.mi/mi2-read-memory.exp: Remove.
2268 * gdb.mi/mi2-regs.exp: Remove.
2269 * gdb.mi/mi2-return.exp: Remove.
2270 * gdb.mi/mi2-simplerun.exp: Remove.
2271 * gdb.mi/mi2-stack.exp: Remove.
2272 * gdb.mi/mi2-stepi.exp: Remove.
2273 * gdb.mi/mi2-syn-frame.exp: Remove.
2274 * gdb.mi/mi2-until.exp: Remove.
2275 * gdb.mi/mi2-watch.exp: Remove.
2276 * gdb.mi/mi2-var-block.exp: Remove.
2277 * gdb.mi/mi2-var-cmd.exp: Remove.
2278 * gdb.mi/mi2-var-display.exp: Remove.
2279
87332029
YQ
22802012-10-12 Yao Qi <yao@codesourcery.com>
2281
2282 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
2283 trail '.*' on matching patterns.
2284
11fc9057
L
22852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2286
2287 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
2288 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
2289 * gdb.arch/i386-disp-step.exp: Likewise.
2290 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2291 * gdb.arch/i386-prologue.exp: Likewise.
2292 * gdb.arch/i386-size-overlap.exp: Likewise.
2293 * gdb.arch/i386-size.exp: Likewise.
2294 * gdb.arch/i386-unwind.exp: Likewise.
2295
7d46bcdc
L
22962012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2297
2298 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
2299 * gdb.arch/i386-word.exp: Likewise.
2300
31224d9d
L
23012012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2302
2303 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
2304 is_ilp32_target to set nr_regs.
2305 * gdb.arch/i386-sse.exp: Likewise.
2306
5b7d0050
DE
23072012-10-11 Doug Evans <dje@google.com>
2308
7c09e5a0
DE
2309 PR breakpoints/14643.
2310 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
2311 * gdb.linespec/thread.c: New file.
2312 * gdb.linespec/thread.exp: New file.
2313
5b7d0050
DE
2314 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
2315 Recognize "message" -> print pass and fail. Add eof case.
2316 (runto): Recognize message, no-message. Print pass/fail if requested,
2317 with same treatment as gdb_breakpoint.
2318 (runto_main): Pass no-message to runto.
2319 (gdb_internal_error_resync): Add log message.
2320 (gdb_file_cmd): Tweak internal error fail text for consistency.
2321
2e24f4aa
JK
23222012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 Fix crash during stepping on ppc32.
2325 * gdb.base/step-symless.c: New file.
2326 * gdb.base/step-symless.exp: New file.
2327
aa14df25
DE
23282012-10-03 Doug Evans <dje@google.com>
2329
2330 PR symtab/14601
2331 * gdb.cp/using-crash.exp: New file.
2332 * gdb.cp/using-crash.cc: New file.
2333
975531db
DE
23342012-10-02 Doug Evans <dje@google.com>
2335
2336 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
2337 more consistent.
2338 (runto,gdb_debug_format): Ditto.
2339 (gdb_file_cmd): Watch for eof in nested gdb_expect.
2340 Clean up logging and error messages.
2341
b3dc46ff
AB
23422012-10-01 Andrew Burgess <aburgess@broadcom.com>
2343
2344 Test find command on unmapped memory.
2345 * gdb.base/find-unmapped.c: New file.
2346 * gdb.base/find-unmapped.exp: New file.
2347
45814d45
YQ
23482012-09-29 Yao Qi <yao@codesourcery.com>
2349
2350 * gdb.trace/mi-tracepoint-changed.exp: New.
2351 * gdb.mi/mi-breakpoint-changed.exp: New.
2352 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
2353 * gdb.mi/pendshr2.c: New.
2354
4c2786ba
YQ
23552012-09-28 Yao Qi <yao@codesourcery.com>
2356
2357 * gdb.mi/pr11022.exp: New.
2358 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
2359
7977e5d2
TT
23602012-09-27 Tom Tromey <tromey@redhat.com>
2361
2362 * gdb.cp/derivation.exp: Add regression test.
2363 * gdb.cp/derivation.cc (class V_base, class V_inter, class
2364 V_derived): New.
2365 (vderived): New global.
2366
0971de02
TT
23672012-09-26 Tom Tromey <tromey@redhat.com>
2368
2369 * gdb.dwarf2/dw2-common-block.S: New file.
2370 * gdb.dwarf2/dw2-common-block.exp: New file.
2371
4357ac6c
TT
23722012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2373
2374 * gdb.fortran/common-block.exp: New file.
2375 * gdb.fortran/common-block.f90: New file.
2376
6f380991
AB
23772012-09-26 Andrew Burgess <aburgess@broadcom.com>
2378
2379 * gdb.base/duplicate-bp.c: New file.
2380 * gdb.base/duplicate-bp.exp: New file.
2381
8ae551cf
YQ
23822012-09-26 Yao Qi <yao@codesourcery.com>
2383
2384 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
2385
2386 Revert:
2387 2012-09-21 Yao Qi <yao@codesourcery.com>
2388
2389 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2390
318102b9
SP
23912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2392
2393 * gdb.base/longest-types.c: New test case.
2394 * gdb.base/longest-types.exp: New test case.
2395
a1e5fd69
YQ
23962012-09-25 Yao Qi <yao@codesourcery.com>
2397
2398 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
2399
04e7407c
JK
24002012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2401
2402 Fix internal error on canonicalization of clang types.
2403 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
2404 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
2405 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
2406
9bf4bce9
JK
24072012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2408
2409 Fix disassemble without parameters in tailcall frame.
2410 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
2411
2603f7ee
AB
24122012-09-21 Andrew Burgess <aburgess@broadcom.com>
2413
2414 * gdb.dwarf2/dw2-op-out-param.S: New file.
2415 * gdb.dwarf2/dw2-op-out-param.exp: New file.
2416
a3569abd
YQ
24172012-09-21 Yao Qi <yao@codesourcery.com>
2418
2419 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
2420
a065d7af
YQ
24212012-09-21 Yao Qi <yao@codesourcery.com>
2422
2423 * gdb.mi/mi-cli.exp: Remove.
2424 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
2425
15544bd9
YQ
24262012-09-21 Yao Qi <yao@codesourcery.com>
2427
2428 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
2429 "=record-started" notification.
2430
82a90ccf
YQ
24312012-09-21 Yao Qi <yao@codesourcery.com>
2432
2433 * gdb.mi/mi-record-changed.exp: New.
2434 * gdb.mi/mi-reverse.exp: Adjust expected output.
2435
d7de8e3c
TT
24362012-09-20 Tom Tromey <tromey@redhat.com>
2437
2438 * gdb.python/python.exp: Test atexit.register.
2439
1aa99537
DE
24402012-09-20 Doug Evans <dje@google.com>
2441
05eade73
DE
2442 * boards/dwarf4-gdb-index.exp: New file.
2443
1aa99537
DE
2444 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
2445 while running the tests.
2446
4ae24af0
JB
24472012-09-18 Joel Brobecker <brobecker@adacore.com>
2448
2449 * gdb.ada/bp_reset: New testcase.
2450
bb25a15c
YQ
24512012-09-18 Yao Qi <yao@codesourcery.com>
2452
2453 * gdb.trace/mi-tsv-changed.exp: New.
2454
201b4506
YQ
24552012-09-18 Yao Qi <yao@codesourcery.com>
2456
2457 * gdb.trace/mi-traceframe-changed.exp: New.
2458
6fc1c773
YQ
24592012-09-17 Yao Qi <yao@codesourcery.com>
2460
2461 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
2462 when it is less than 0.
2463
1ab3b62c
JK
24642012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2465
2466 PR 14119
2467 * gdb.arch/amd64-tailcall-ret.S: New file.
2468 * gdb.arch/amd64-tailcall-ret.c: New file.
2469 * gdb.arch/amd64-tailcall-ret.exp: New file.
2470 * gdb.reverse/amd64-tailcall-reverse.S: New file.
2471 * gdb.reverse/amd64-tailcall-reverse.c: New file.
2472 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
2473
acf9414f
JK
24742012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2475
2476 PR 14548
2477 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
2478 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
2479 * gdb.reverse/singlejmp-reverse.S: New file.
2480 * gdb.reverse/singlejmp-reverse.c: New file.
2481 * gdb.reverse/singlejmp-reverse.exp: New file.
2482
666b578b
JK
24832012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2484
2485 Fix compatibility with old GCC (~4.1).
2486 * gdb.cp/converts.cc (my_enum_var): New variable.
2487
42056501
AB
24882012-09-14 Andrew Burgess <aburgess@broadcom.com>
2489
2490 * gdb.xml/tdesc-regs.exp: Update expected output for new
2491 vector_size syntax of vector types.
2492
b9516fa1
YPK
24932012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
2494
2495 Refactor Python "gdb" module into a proper Python package, by
2496 introducing a new "_gdb" module for code implemented in C, and
2497 using reload/__import__ instead of exec.
2498 * gdb.python/python.exp (Test stderr location): Update module
2499 location of GDB-specific sys.stderr.
2500 (Test stdout location): Ditto for sys.stdout.
2501
18dc9ad8
JK
25022012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2503
2504 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
2505
ea3a9873
KS
25062012-09-12 Keith Seitz <keiths@redhat.com>
2507
2508 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
2509 conversion statement.
2510
5941debb
DE
25112012-09-12 Doug Evans <dje@google.com>
2512
2513 * gdb.base/help.exp: Remove testing of individual command help text,
2514 too much of a maintenance burden. Instead, test the functionality
2515 of "help" itself.
2516
cfc35e02
DE
25172012-09-11 Doug Evans <dje@google.com>
2518
3a0ed5d7
DE
2519 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
2520 breakpoint.
2521
cfc35e02
DE
2522 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
2523 * gdb.dwarf2/fission-reread.S: Ditto.
2524 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
2525 * gdb.dwarf2/fission-reread.exp: Ditto.
2526
350b1b26
AB
25272012-09-11 Andrew Burgess <aburgess@broadcom.com>
2528
2529 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
2530
2fa15f23
JB
25312012-09-10 Joel Brobecker <brobecker@adacore.com>
2532
2533 * gdb.ada/optim_drec: New testcase.
2534
09be558e
DE
25352012-09-10 Doug Evans <dje@google.com>
2536
2537 * boards/fission.exp: Explicitly mark "board" as not remote.
2538
5b4f6e25
KS
25392012-09-10 Keith Seitz <keiths@redhat.com>
2540
2541 PR gdb/13483
2542 * gdb.cp/converts.cc (A::A): Add ctor.
2543 (A::member_): Add member.
2544 (enum my_enum): New enumeration.
2545 (main): Add calls to foo1_7 with various
2546 permitted arguments.
2547 * gdb.cp/converts.exp: Add tests for boolean
2548 conversions permitted by the standard.
2549
b4ca5ed9
YPK
25502012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
2551
2552 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
2553 avoid spurious results due to ~/.gdbinit.
2554 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
2555 $INTERNAL_GDBFLAGS in run command.
2556 * gdb.gdb/observer.exp (setup_test): Ditto.
2557 * gdb.gdb/selftest.exp (test_with_self): Ditto.
2558 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
2559
d54b30bb
DE
25602012-09-06 Doug Evans <dje@google.com>
2561
14910956
DE
2562 * boards/fission.exp: New file.
2563
d54b30bb
DE
2564 * gdb.python/py-value.exp: Use clean_restart.
2565
91b253e1
DE
25662012-09-05 Doug Evans <dje@google.com>
2567
2568 * gdb.base/info-macros.c: Fix whitespace.
2569
1292279a
PA
25702012-08-28 Pedro Alves <palves@redhat.com>
2571
2572 PR gdb/14428
2573
2574 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
2575
1c8cdcb1
JK
25762012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2577
2578 * gdb.base/break-caller-line.c: New file.
2579 * gdb.base/break-caller-line.exp: New file.
2580
1e8e8b51
JK
25812012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2582
2583 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
2584 * gdb.arch/i386-cfi-notcurrent.S: New file.
2585 * gdb.arch/i386-cfi-notcurrent.exp: New file.
2586
1591a1e8
PA
25872012-08-27 Wei-cheng Wang <cole945@gmail.com>
2588 Yao Qi <yao@codesourcery.com>
2589 Pedro Alves <palves@redhat.com>
2590
2591 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
2592 New procedures.
2593 (top level): Add overlap checking tests.
2594
4442ada7
TT
25952012-08-24 Tom Tromey <tromey@redhat.com>
2596
2597 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
2598 gdb_test_multiple fails for other reasons.
2599
e7d50cc9
YQ
26002012-08-24 Yao Qi <yao@codesourcery.com>
2601
2602 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
2603
dfbd5e7b
PA
26042012-08-23 Pedro Alves <palves@redhat.com>
2605
2606 * gdb.base/help.exp: Adjust to "handle" help text change.
2607
8d735b87
YQ
26082012-08-23 Yao Qi <yao@codesourcery.com>
2609
2610 * gdb.trace/disconnected-tracing.c (start, end): New.
2611 (main): Call start and end.
2612 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
2613 existing tests into this proc.
2614 (disconnected_tfind): New.
2615
61b1d759
YQ
26162012-08-23 Yao Qi <yao@codesourcery.com>
2617
2618 * boards/native-gdbserver.exp (${board}_upload): New.
2619 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
2620 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
2621 Execute tfile on remote target.
2622 Copy trace file from target to host.
2623
6ca1b147
JM
26242012-08-22 Joseph Myers <joseph@codesourcery.com>
2625
2626 * gdb.arch/thumb-bx-pc.S: New file.
2627 * gdb.arch/thumb-bx-pc.exp: New file.
2628
706e3705
TT
26292012-08-22 Tom Tromey <tromey@redhat.com>
2630
2631 * gdb.base/maint.exp: Update.
2632
b4893d48
TT
26332012-08-22 Tom Tromey <tromey@redhat.com>
2634
2635 * lib/gdb.exp (skip_unwinder_tests): New proc.
2636 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
2637 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
2638
45b7da81
TT
26392012-08-21 Tom Tromey <tromey@redhat.com>
2640
2641 * gdb.hp/gdb.aCC/exception.exp: Remove.
2642
f94363d7
AP
2643012-08-19 Andrew Pinski <apinski@cavium.com>
2644
2645 * gdb.arch/mips-octeon-bbit.c: New file.
2646 * gdb.arch/mips-octeon-bbit.exp: New Test.
2647
e5afdbd7
KS
2648012-08-19 Keith Seitz <keiths@redhat.com>
2649
2650 PR c++/14365
2651 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
2652 * gdb.dwarf2/dw2-anon-mptr.S: New file.
2653
c29e8b64
JK
26542012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2655
2656 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
2657 verbose -log by more specific untested call.
2658
15a7e7bc
YQ
26592012-08-18 Yao Qi <yao@codesourcery.com>
2660
2661 * gdb.trace/tfind.exp: Move tests on various command help before
2662 checking target supports trace.
2663 Fix the expected output of 'help tfind end'.
2664
a451cb65
KS
26652012-08-17 Keith Seitz <keiths@redhat.com>
2666
2667 PR c++/13356
2668 * gdb.base/default.exp: Update all "check type" tests.
2669 * gdb.base/help.exp: Likewise.
2670 * gdb.base/setshow.exp: Likewise.
2671 * gdb.cp/converts.cc (foo1_type_check): New function.
2672 (foo2_type_check): New function.
2673 (foo3_type_check): New function.
2674 (main): Call new functions.
2675 * converts.exp: Add tests for integer-to-pointer conversions
2676 with/without strict type-checking.
2677
dbf6a605
MF
26782012-08-16 Mike Frysinger <vapier@gentoo.org>
2679
2680 * gdb.base/help.exp: Update expected output.
2681
0c92d8c1
JB
26822012-08-16 Joel Brobecker <brobecker@adacore.com>
2683
2684 * gdb.ada/rdv_wait: New testcase.
2685
e56f7f42
JK
26862012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2687
2688 * gdb.base/attach-twice.exp: Remove excessive ps exec.
2689
f47f77df
DE
26902012-08-13 Doug Evans <dje@google.com>
2691
e202d6e8 2692 * gdb.base/help.exp: Update expected output.
f47f77df
DE
2693 * gdb.base/default.exp: Update expected output of "show convenience".
2694
a72c3253
DE
26952012-08-10 Doug Evans <dje@google.com>
2696
2697 * gdb.python/py-strfns.c: New file.
2698 * gdb.python/py-strfns.exp: New file.
2699 * gdb.python/py-type.exp (test_fields): Add vector tests.
2700
de0bea00
MF
27012012-08-10 Mike Frysinger <vapier@gentoo.org>
2702
2703 PR cli/10436:
2704 * gdb.base/completion.exp: Add tests for handle completion.
2705
5b9afe8a
YQ
27062012-08-09 Yao Qi <yao@codesourcery.com>
2707
2708 * gdb.mi/mi-cmd-param-changed.exp: New.
2709 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
2710 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
2711 * gdb.mi/mi2-prompt.exp: Likewise.
2712
4f485ebc
DE
27132012-08-08 Doug Evans <dje@google.com>
2714
2715 * gdb.base/debug-expr.c: New file.
2716 * gdb.base/debug-expr.exp: New file.
2717 * gdb.base/exprs.exp: Test {type} casts.
2718 * gdb.cp/debug-expr.exp: New file.
2719
5888842d
JK
27202012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2721
2722 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
2723 global variable loop, not a 'break'. Add loop count limit to 100.
2724 Add new fail case for terminated vgdb.
2725
4f69f4c2
JK
27262012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2727 Jean-Marc Saffroy <saffroy@gmail.com>
2728
2729 PR 11804
2730 * gdb.base/gcore-relro.exp: New file.
2731 * gdb.base/gcore-relro-main.c: New file.
2732 * gdb.base/gcore-relro-lib.c: New file.
2733
e2de5390
JK
27342012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2735
2736 Do not false FAIL with old GCCs.
2737 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
2738 GCC < 4.5 in $no_hw mode.
2739
606603c5
JK
27402012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2741
2742 * gdb.base/default.exp (cd): Accept new directory with no arguments.
2743
777f26c2
JK
27442012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2745
2746 * gdb.base/list.exp (test_only_end): New function.
2747 Call it.
2748
2c12abee
TT
27492012-08-06 Tom Tromey <tromey@redhat.com>
2750
2751 * gdb.python/py-mi.exp: Add test for printer whose children
2752 are a list.
2753 * gdb.python/py-prettyprint.c (struct children_as_list): New.
2754 (main): New variable children_as_list.
2755 * gdb.python/py-prettyprint.py (class pp_children_as_list):
2756 New.
2757 (register_pretty_printers): Register new printer.
2758
0eae2cf4
EBM
27592012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
2760
2761 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
2762 symbols. Abort if vgdb remote connection is closed.
2763
09e0881d
DE
27642012-08-02 Doug Evans <dje@google.com>
2765
2766 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
2767
b40f514f
SDJ
27682012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
2769
2770 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
2771 s390x, PowerPC 64 and m68k-linux.
2772
11315ae0
UW
27732012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2774
2775 * gdb.base/annota1.exp: Accept no frames-invalid notification
2776 when starting up the program.
2777 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
2778 show a symbolic value as well.
2779 * gdb.server/server-exec-info.exp: Skip test when skipping
2780 gdbserver test and/or when skipping shared library tests.
2781 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
2782 avoid name conflicts with other tests.
2783
0547eeed
UW
27842012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2785
2786 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
2787 Fix wrong output on big-endian systems.
2788 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
2789 4-byte pointer types on 64-bit s390x.
2790
bdddb4de
UW
27912012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
2792
2793 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
2794 marker comment at the beginning (after intialization).
2795 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
2796 breakpoint on marker comment instead of function begin.
2797 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
2798 PowerPC.
2799 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
2800 or 64-bit PowerPC.
2801 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
2802 gdb,no_hardware_watchpoints flag is set.
2803 (initialize): Remove now redundant can-use-hw-watchpoints change.
2804
5d206025
YQ
28052012-08-02 Yao Qi <yao@codesourcery.com>
2806 Pedro Alves <palves@redhat.com>
2807
2808 * boards/local-remote-host.exp: New.
2809
4f665099
UW
28102012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2811
2812 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
2813 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
2814 * gdb.base/print-file-var.exp: Likewise.
2815 * gdb.server/solib-list.exp: Skip on remote targets.
2816
b62e2b27
UW
28172012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2818
2819 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
2820 watchpoints on ARM. When expecting software watchpoints, tolerate
2821 (remote) targets that report unsupported hardware watchpoint only
2822 at continue time.
2823 (test_wide_location_2): Likewise.
2824
a967a851
JK
28252012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2826
2827 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
2828 valgrind versions.
2829
75d9f9ff 28302012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
a14dd77e
JK
2831
2832 * gdb.base/valgrind-infcall.c: New file.
2833 * gdb.base/valgrind-infcall.exp: New file.
2834
75d9f9ff
JK
2835 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
2836
1c9f2ed2
KS
28372012-07-30 Keith Seitz <keiths@redhat.com>
2838
2839 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2840 linespecs.
2841
7f9b2034
DE
28422012-07-30 Doug Evans <dje@google.com>
2843
85220e01
DE
2844 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2845 * gdb.dwarf2/pr13961.S: Ditto.
2846
7f9b2034
DE
2847 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2848
4e969b4f
AB
28492012-07-30 Andrew Burgess <aburgess@broadcom.com>
2850
2851 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2852 change its format immediately after reloading the binary.
2853
e7de8362
JK
28542012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2855
2856 Fix testsuite regression after --use-deprecated-index-sections removal.
2857 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2858 string.
2859 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2860
7255706c
YQ
28612012-07-27 Yao Qi <yao@codesourcery.com>
2862
2863 KFAIL for PR remote/14161.
2864 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2865 Cleanup socket files.
2866 (strace_info_marker): Detach inferior.
2867
f2e8016f
TT
28682012-07-26 Tom Tromey <tromey@redhat.com>
2869
6fdff2c5 2870 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
f2e8016f 2871
f66713d2
JK
28722012-07-26 Markus Metzger <markus.t.metzger@intel.com>
2873
2874 * gdb.python/py-inferior.c (thread): New function.
2875 (check_threads): New function.
2876 (test_threads): New function.
2877 * gdb.python/py-inferior.exp: Added test.
2878 Replaced runto with continue to breakpoint.
2879
8223e12c
TT
28802012-07-26 Tom Tromey <tromey@redhat.com>
2881
2882 * lib/ada.exp (standard_ada_testfile): New proc.
2883 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2884 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2885 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2886 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2887 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2888 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2889 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2890 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2891 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2892 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2893 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2894 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2895 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2896 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2897 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2898 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2899 * gdb.ada/complete.exp: Use standard_ada_testfile.
2900 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2901 standard_output_file.
2902 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2903 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2904 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2905 standard_output_file.
2906 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2907 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2908 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2909 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2910 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2911 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2912 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2913 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2914 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2915 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2916 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2917 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2918 * gdb.ada/interface.exp: Use standard_ada_testfile.
2919 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2920 standard_output_file
2921 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2922 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2923 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2924 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2925 * gdb.ada/nested.exp: Use standard_ada_testfile.
2926 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2927 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2928 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2929 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2930 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2931 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2932 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2933 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2934 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2935 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2936 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2937 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2938 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2939 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2940 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2941 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2942 * gdb.ada/start.exp: Use standard_ada_testfile.
2943 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2944 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2945 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2946 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2947 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2948 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2949 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2950 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2951 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2952 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2953 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2954 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2955 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2956 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2957
bbec57e4
JK
29582012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2959
2960 Fix testsuite regression after --use-deprecated-index-sections removal.
2961 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2962
9cc8e32c
JK
29632012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2964
2965 Fix compatibility with Tcl before 7.5.
2966 * lib/future.exp (lreverse): New function if it does not exist.
2967
ea5ca7b5
MK
29682012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2969
2970 * gdb.mi/mi-pending.c: New method to set a second pending
2971 breakpoint.
2972 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2973 condition.
2974
64776a0b
PA
29752012-07-20 Pedro Alves <palves@redhat.com>
2976
2977 PR threads/11692
2978 PR gdb/12203
2979
2980 * gdb.threads/create-fail.c: New file.
2981 * gdb.threads/create-fail.exp: New file.
2982
13e4e967
PA
29832012-07-19 Pedro Alves <palves@redhat.com>
2984
2985 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2986 * config/vx.exp (gdb_start): Likewise.
2987 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2988 * gdb.base/setvar.exp (test_set): Likewise.
2989 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2990 * gdb.reverse/sigall-precsave.exp: Likewise.
2991 * gdb.reverse/sigall-reverse.exp: Likewise.
2992
b7aefa4d
PA
29932012-07-19 Pedro Alves <palves@redhat.com>
2994
2995 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2996 handler before recording.
2997
608b4967
TT
29982012-07-19 Tom Tromey <tromey@redhat.com>
2999
3000 * gdb.cp/casts.exp: Add tests for typeof and decltype.
3001 * gdb.cp/casts.cc (decltype): New function.
3002 (main): Use it.
3003
b1e0c0fa
PA
30042012-07-19 Pedro Alves <palves@redhat.com>
3005
3006 * gdb.base/sigall.exp (signals): New list.
3007 <top level>: Loop over signals in the $signals list instead of
3008 calling a test function once per signal.
3009 * gdb.reverse/sigall-precsave.exp (signals): New list.
3010 <top level>: Loop over signals in the $signals list instead of
3011 calling a test function once per signal.
3012 * gdb.reverse/sigall-reverse.exp (signals): New list.
3013 <top level>: Loop over signals in the $signals list instead of
3014 calling a test function once per signal.
3015
6ace3df1
YQ
30162012-07-19 Yao Qi <yao@codesourcery.com>
3017
3018 * gdb.base/setshow.exp: Test 'set args ~'.
3019
263a0f8c
JK
30202012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3021
3022 * gdb.base/store.exp (check_set): Import gdb_prompt.
3023 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
3024 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
3025
8f043999
JK
30262012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3027
3028 PR 11914
3029 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
3030 (main): Call eval_sub.
3031 * gdb.python/py-prettyprint.exp:
3032 (python execfile ('py-prettyprint.py')): Move it earlier.
3033 New breakpoint for eval-break.
3034 (continue to breakpoint: eval-break, info locals): New test.
3035 (python execfile ('py-prettyprint.py')): Move it from here.
3036 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
3037 (register_pretty_printers): Register pp_eval_type.
3038
725c7b66
JK
30392012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3040
3041 Fix a testcase regression by me.
3042 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
3043 DW_FORM_data4.
3044
4359dff1
JK
30452012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3046 Doug Evans <dje@google.com>
3047
3048 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
3049 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
3050
61e44cfa
JK
30512012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3052
3053 Fix gdbserver run regression.
3054 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
3055
93c0ef37
TT
30562012-07-12 Tom Tromey <tromey@redhat.com>
3057
3058 * lib/gdb.exp (standard_testfile): Don't declare objdir.
3059 (clean_restart): Likewise.
3060 (core_find): Use standard_output_file.
3061
76027ef5
TT
30622012-07-12 Tom Tromey <tromey@redhat.com>
3063
3064 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
3065 * gdb.dwarf2/dw2-anonymous-func.exp: Use
3066 prepare_for_testing_full.
3067 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
3068 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
3069 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
3070 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
3071 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
3072 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
3073 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
3074 prepare_for_testing_full.
3075 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
3076 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
3077 prepare_for_testing_full.
3078 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
3079 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
3080 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
3081
85b4440a
TT
30822012-07-12 Tom Tromey <tromey@redhat.com>
3083
3084 * lib/gdb.exp (build_executable_from_specs): New proc, from
3085 build_executable.
3086 (build_executable): Use it.
3087 (prepare_for_testing_full): New proc.
3088
55baab26
TT
30892012-07-11 Tom Tromey <tromey@redhat.com>
3090
3091 * gdb.reverse/break-precsave.exp: Use standard_output_file.
3092 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
3093 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
3094 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
3095 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
3096 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
3097 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
3098 * gdb.reverse/step-precsave.exp: Use standard_output_file.
3099 * gdb.reverse/until-precsave.exp: Use standard_output_file.
3100 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
3101
298a9cf0
TT
31022012-07-10 Tom Tromey <tromey@redhat.com>
3103
3104 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
3105 standard_output_file.
3106 * gdb.mi/gdb2549.exp: Use standard_testfile.
3107 * gdb.mi/gdb669.exp: Use standard_testfile.
3108 * gdb.mi/gdb701.exp: Use standard_testfile.
3109 * gdb.mi/gdb792.exp: Use standard_testfile.
3110 * gdb.mi/mi-async.exp: Use standard_testfile.
3111 * gdb.mi/mi-basics.exp: Use standard_testfile.
3112 * gdb.mi/mi-break.exp: Use standard_testfile.
3113 * gdb.mi/mi-cli.exp: Use standard_testfile.
3114 * gdb.mi/mi-console.exp: Use standard_testfile.
3115 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
3116 * gdb.mi/mi-eval.exp: Use standard_testfile.
3117 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
3118 * gdb.mi/mi-file.exp: Use standard_testfile.
3119 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
3120 * gdb.mi/mi-logging.exp: Use standard_testfile.
3121 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
3122 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
3123 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
3124 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
3125 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
3126 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
3127 * gdb.mi/mi-pending.exp: Use standard_testfile,
3128 standard_output_file.
3129 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
3130 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
3131 * gdb.mi/mi-regs.exp: Use standard_testfile.
3132 * gdb.mi/mi-return.exp: Use standard_testfile.
3133 * gdb.mi/mi-reverse.exp: Use standard_testfile.
3134 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
3135 * gdb.mi/mi-solib.exp: Use standard_testfile,
3136 standard_output_file.
3137 * gdb.mi/mi-stack.exp: Use standard_testfile.
3138 * gdb.mi/mi-stepi.exp: Use standard_testfile.
3139 * gdb.mi/mi-stepn.exp: Use standard_testfile.
3140 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
3141 * gdb.mi/mi-until.exp: Use standard_testfile.
3142 * gdb.mi/mi-var-block.exp: Use standard_testfile.
3143 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
3144 * gdb.mi/mi-var-child.exp: Use standard_testfile.
3145 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
3146 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
3147 * gdb.mi/mi-var-display.exp: Use standard_testfile.
3148 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
3149 standard_output_file.
3150 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
3151 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
3152 * gdb.mi/mi-watch.exp: Use standard_testfile.
3153 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
3154 * gdb.mi/mi2-basics.exp: Use standard_testfile.
3155 * gdb.mi/mi2-break.exp: Use standard_testfile.
3156 * gdb.mi/mi2-cli.exp: Use standard_testfile.
3157 * gdb.mi/mi2-console.exp: Use standard_testfile.
3158 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
3159 * gdb.mi/mi2-eval.exp: Use standard_testfile.
3160 * gdb.mi/mi2-file.exp: Use standard_testfile.
3161 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
3162 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
3163 * gdb.mi/mi2-regs.exp: Use standard_testfile.
3164 * gdb.mi/mi2-return.exp: Use standard_testfile.
3165 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
3166 * gdb.mi/mi2-stack.exp: Use standard_testfile.
3167 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
3168 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
3169 * gdb.mi/mi2-until.exp: Use standard_testfile.
3170 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
3171 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
3172 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
3173 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
3174 * gdb.mi/mi2-watch.exp: Use standard_testfile.
3175
f5f3a911
TT
31762012-07-10 Tom Tromey <tromey@redhat.com>
3177
3178 * gdb.cp/abstract-origin.exp: Use standard_testfile.
3179 * gdb.cp/ambiguous.exp: Use standard_testfile,
3180 prepare_for_testing.
3181 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
3182 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
3183 * gdb.cp/anon-ns.exp: Use standard_testfile.
3184 * gdb.cp/anon-struct.exp: Use standard_testfile.
3185 * gdb.cp/anon-union.exp: Use standard_testfile,
3186 prepare_for_testing.
3187 * gdb.cp/arg-reference.exp: Use standard_testfile,
3188 prepare_for_testing.
3189 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
3190 * gdb.cp/breakpoint.exp: Use standard_testfile,
3191 prepare_for_testing.
3192 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
3193 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
3194 standard_output_file.
3195 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
3196 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
3197 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
3198 (test_static_members): Update.
3199 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
3200 * gdb.cp/converts.exp: Use standard_testfile.
3201 * gdb.cp/cp-relocate.exp: Use standard_testfile.
3202 * gdb.cp/cpcompletion.exp: Use standard_testfile,
3203 prepare_for_testing.
3204 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
3205 * gdb.cp/cplabel.exp: Use standard_testfile.
3206 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
3207 prepare_for_testing.
3208 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
3209 * gdb.cp/derivation.exp: Use standard_testfile,
3210 prepare_for_testing.
3211 * gdb.cp/destrprint.exp: Use standard_testfile.
3212 * gdb.cp/dispcxx.exp: Use standard_testfile.
3213 * gdb.cp/exception.exp: Use standard_testfile,
3214 prepare_for_testing.
3215 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
3216 * gdb.cp/extern-c.exp: Use standard_testfile,
3217 prepare_for_testing.
3218 * gdb.cp/formatted-ref.exp: Use standard_testfile,
3219 prepare_for_testing.
3220 * gdb.cp/fpointer.exp: Use standard_testfile.
3221 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
3222 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
3223 standard_output_file.
3224 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
3225 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
3226 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
3227 standard_output_file.
3228 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
3229 (do_tests): Update.
3230 * gdb.cp/koenig.exp: Use standard_testfile.
3231 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
3232 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
3233 * gdb.cp/m-static.exp: Use standard_testfile,
3234 prepare_for_testing.
3235 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
3236 * gdb.cp/mb-inline.exp: Use standard_testfile,
3237 prepare_for_testing.
3238 * gdb.cp/mb-templates.exp: Use standard_testfile,
3239 prepare_for_testing.
3240 * gdb.cp/member-ptr.exp: Use standard_testfile,
3241 prepare_for_testing.
3242 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
3243 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
3244 * gdb.cp/method2.exp: Use standard_testfile.
3245 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
3246 standard_output_file.
3247 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
3248 (do_tests): Update.
3249 * gdb.cp/namespace-enum.exp: Use standard_testfile,
3250 prepare_for_testing.
3251 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
3252 prepare_for_testing.
3253 * gdb.cp/namespace.exp: Use standard_testfile,
3254 prepare_for_testing.
3255 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
3256 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
3257 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
3258 * gdb.cp/nsimport.exp: Use standard_testfile,
3259 prepare_for_testing.
3260 * gdb.cp/nsnested.exp: Use standard_testfile.
3261 * gdb.cp/nsnoimports.exp: Use standard_testfile.
3262 * gdb.cp/nsrecurs.exp: Use standard_testfile,
3263 prepare_for_testing.
3264 * gdb.cp/nsstress.exp: Use standard_testfile,
3265 prepare_for_testing.
3266 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
3267 * gdb.cp/operator.exp: Use standard_testfile.
3268 * gdb.cp/oranking.exp: Use standard_testfile.
3269 * gdb.cp/overload-const.exp: Use standard_testfile.
3270 * gdb.cp/overload.exp: Use standard_testfile,
3271 prepare_for_testing.
3272 * gdb.cp/ovldbreak.exp: Use standard_testfile.
3273 * gdb.cp/ovsrch.exp: Use standard_testfile.
3274 * gdb.cp/paren-type.exp: Use standard_testfile.
3275 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
3276 prepare_for_testing.
3277 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
3278 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
3279 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
3280 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
3281 * gdb.cp/pr10728.exp: Use standard_testfile,
3282 standard_output_file.
3283 * gdb.cp/pr12028.exp: Use standard_testfile.
3284 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
3285 * gdb.cp/pr9167.exp: Use standard_testfile.
3286 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
3287 * gdb.cp/printmethod.exp: Use standard_testfile,
3288 prepare_for_testing.
3289 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
3290 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
3291 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
3292 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
3293 standard_output_file.
3294 * gdb.cp/readnow-language.exp: Use standard_testfile.
3295 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
3296 (gdb_start_again): Use clean_restart.
3297 * gdb.cp/ref-types.exp: Use standard_testfile,
3298 prepare_for_testing.
3299 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
3300 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
3301 * gdb.cp/smartp.exp: Use standard_testfile.
3302 * gdb.cp/static-method.exp: Use standard_testfile.
3303 * gdb.cp/static-print-quit.exp: Use standard_testfile.
3304 * gdb.cp/temargs.exp: Use standard_testfile.
3305 * gdb.cp/templates.exp: Use standard_testfile,
3306 prepare_for_testing.
3307 (do_tests): Update.
3308 * gdb.cp/try_catch.exp: Use standard_testfile,
3309 prepare_for_testing.
3310 * gdb.cp/typedef-operator.exp: Use standard_testfile.
3311 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
3312 * gdb.cp/virtbase.exp: Use standard_testfile,
3313 prepare_for_testing.
3314 * gdb.cp/virtfunc.exp: Use standard_testfile,
3315 prepare_for_testing.
3316 (do_tests): Update.
3317 * gdb.cp/virtfunc2.exp: Use standard_testfile,
3318 prepare_for_testing.
3319
686f09d0
TT
33202012-07-10 Tom Tromey <tromey@redhat.com>
3321
3322 * lib/gdb.exp (standard_testfile): Unset output variables from
3323 earlier invocations.
3324
9357e021
YQ
33252012-07-10 Yao Qi <yao@codesourcery.com>
3326
3327 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
3328 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
3329 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
3330 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
3331 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
3332 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
3333 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
3334 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
3335 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
3336 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
3337 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
3338 * gdb.mi/mi-var-display.exp: Likewise.
3339 * gdb.mi/mi-var-invalidate.exp: Likewise.
3340 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
3341 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
3342 * gdb.mi/mi2-console.exp: Likewise.
3343 * gdb.mi/mi2-disassemble.exp: Likewise.
3344 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
3345 * gdb.mi/mi2-read-memory.exp: Likewise.
3346 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
3347 * gdb.mi/mi2-simplerun.exp: Likewise.
3348 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
3349 * gdb.mi/mi2-syn-frame.exp: Likewise.
3350 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
3351 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
3352 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
3353
e314d629
TT
33542012-07-09 Tom Tromey <tromey@redhat.com>
3355
3356 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
3357 * gdb.base/callfuncs.exp: Add cast-based test.
3358 * gdb.base/callfuncs.c (voidfunc): New function.
3359
06928b3f
DE
33602012-07-08 Doug Evans <dje@google.com>
3361
3362 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
3363
32f11bad
JK
33642012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3365
3366 Fix XFAIL compatibility with old i386 systems.
3367 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
3368 Check also 'Cannot insert breakpoint 0'.
3369
76b83c51
JK
33702012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3371
3372 PR 14321
3373 * gdb.base/find.exp
3374 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
3375
a6fb9c08
TT
33762012-07-06 Tom Tromey <tromey@redhat.com>
3377
3378 * gdb.base/whatis.exp: Add test.
3379
71918a86
TT
33802012-07-06 Tom Tromey <tromey@redhat.com>
3381
3382 * gdb.base/whatis.exp: Add regression test.
3383
fcde5961
TT
33842012-07-06 Tom Tromey <tromey@redhat.com>
3385
3386 * gdb.base/whatis.exp: Add tests.
3387
f9cf0f4a
JK
33882012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3389
3390 PR 12649
3391 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
3392 gdb_test_multiple $gdb_prompt terminator.
3393
979ade8b
PA
33942012-07-04 Pedro Alves <palves@redhat.com>
3395
3396 * gdb.mi/mi-reverse.exp: Use supports_reverse and
3397 supports_process_record.
3398
8a980b44
PA
33992012-07-04 Pedro Alves <palves@redhat.com>
3400
3401 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
3402 endings.
3403 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
3404
855ba978
SS
34052012-07-03 Stan Shebs <stan@codesourcery.com>
3406
3407 * gdb.base/info-os.c (main): Retry resource acquisition until an
3408 available one is found.
3409 * gdb.base/info-os.exp: Collect resource keys from the program
3410 and use them in matching.
3411
fcb44371
JK
34122012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3413
3414 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
3415 Wrap the test into loop for corefile and core0file.
3416
08a67be6
JK
34172012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3418
3419 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
3420 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
3421 .note.GNU-stack.
3422
0f3c2347
JK
3423 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
3424
ff4a4500
SDJ
34252012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
3426
3427 * gdb.base/help.exp (help b, help br, help bre, help brea, help
3428 break): Include help message for the new `-probe' and `-probe-stap'
3429 options.
3430
d3ce09f5
SS
34312012-07-02 Stan Shebs <stan@codesourcery.com>
3432
3433 * gdb.base/dprintf.exp: Add agent style tests.
3434
a1624241
JK
34352012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3436
3437 * gdb.base/stale-infcall.c (infcall): New label test-next.
3438 (main): New labels test-pass and test-fail.
3439 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
3440 $test_fail_bpnum to test-fail.
3441 (test system longjmp tracking support): New test.
3442 Delete $test_fail_bpnum.
3443 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
3444 breakpoint.
3445
42e7ad6c
DE
34462012-06-30 Doug Evans <dje@google.com>
3447
3448 * gdb.dwarf2/fission-reread.S: New file.
3449 * gdb.dwarf2/fission-reread.exp: New file.
3450
37ce89eb
SS
34512012-06-28 Stan Shebs <stan@codesourcery.com>
3452
3453 * gdb.mi/mi-logging.exp: New file.
3454
e5ef252a
PA
34552012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3456 Pedro Alves <palves@redhat.com>
3457
3458 * gdb.threads/siginfo-threads.exp: New file.
3459 * gdb.threads/siginfo-threads.c: New file.
3460 * gdb.threads/sigstep-threads.exp: New file.
3461 * gdb.threads/sigstep-threads.c: New file.
3462
22f1fbae
TT
34632012-06-28 Tom Tromey <tromey@redhat.com>
3464
3465 * gdb.go/package.exp: Partially revert earlier patch; use
3466 gdb_compile again. Use standard_output_file.
3467
2e3cf129
DE
34682012-06-27 Doug Evans <dje@google.com>
3469
3470 * gdb.dwarf2/fission-base.c: New file.
3471 * gdb.dwarf2/fission-base.S: New file.
3472 * gdb.dwarf2/fission-base.exp: New file.
3473
785fd303
JK
34742012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3475
3476 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
3477
1bb9788d
TT
34782012-06-27 Tom Tromey <tromey@redhat.com>
3479
3480 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
3481 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
3482
c83ee902
TT
34832012-06-27 Tom Tromey <tromey@redhat.com>
3484
3485 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
3486 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
3487 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
3488 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
3489 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
3490 prepare_for_testing.
3491 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
3492 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
3493 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
3494 standard_testfile.
3495 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
3496 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
3497 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
3498 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
3499 prepare_for_testing.
3500 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
3501 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
3502 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
3503 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
3504 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
3505 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
3506 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
3507 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
3508 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
3509 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
3510 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
3511 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
3512 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
3513 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
3514 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
3515 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
3516 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
3517 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
3518 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
3519 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
3520 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
3521 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
3522 standard_output_file.
3523 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
3524 standard_output_file.
3525 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
3526 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
3527 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
3528 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
3529 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
3530 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
3531 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
3532 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
3533 * gdb.dwarf2/implptr.exp: Use standard_testfile.
3534 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
3535 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
3536 * gdb.dwarf2/pieces.exp: Use standard_testfile.
3537 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
3538 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
3539 * gdb.dwarf2/valop.exp: Use standard_testfile,
3540 prepare_for_testing.
3541
5204774b
TT
35422012-06-27 Tom Tromey <tromey@redhat.com>
3543
3544 * gdb.python/python.exp: Fix regexps in pagination tests.
3545
ee0bf529
SCR
35462012-06-26 Siva Chandra Reddy <sivachandra@google.com>
3547
3548 * gdb.python/py-symtab.exp: Add tests to test the new attribute
3549 'last' of gdb.Symtab_and_line.
3550 * gdb.python/py-symbol.c: Move break point comment to enable
3551 testing of gdb.Symtab_and_line.last.
3552
14fcc022
TT
35532012-06-26 Tom Tromey <tromey@redhat.com>
3554
3555 * gdb.threads/step.c: Remove.
3556 * gdb.threads/step.exp: Remove.
3557 * gdb.threads/step2.exp: Remove.
3558
0efbbabc
TT
35592012-06-26 Tom Tromey <tromey@redhat.com>
3560
3561 * gdb.threads/watchpoint-fork.exp (test): Use
3562 standard_output_file. Don't declare objdir.
3563 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
3564 standard_output_file.
3565 * gdb.threads/attach-stopped.exp: Use standard_testfile.
3566 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
3567 clean_restart. Remove incdir.
3568 * gdb.threads/corethreads.exp: Use standard_testfile.
3569 * gdb.threads/execl.exp: Use standard_testfile,
3570 standard_output_file, clean_restart.
3571 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
3572 clean_restart.
3573 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
3574 clean_restart.
3575 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
3576 incdir.
3577 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
3578 clean_restart. Remove incdir.
3579 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
3580 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
3581 clean_restart. Remove incdir.
3582 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
3583 Remove incdir.
3584 * gdb.threads/leader-exit.exp: Use standard_testfile.
3585 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
3586 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
3587 clean_restart.
3588 * gdb.threads/manythreads.exp: Use standard_testfile,
3589 clean_restart. Remove incdir.
3590 * gdb.threads/multi-create.exp: Use standard_testfile,
3591 clean_restart.
3592 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
3593 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
3594 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
3595 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
3596 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
3597 * gdb.threads/pending-step.exp: Use standard_testfile,
3598 clean_restart. Remove incdir.
3599 * gdb.threads/print-threads.exp: Use standard_testfile,
3600 clean_restart. Remove incdir.
3601 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
3602 clean_restart. Remove incdir.
3603 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
3604 Remove incdir.
3605 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
3606 incdir.
3607 * gdb.threads/sigthread.exp: Use standard_testfile,
3608 clean_restart.
3609 * gdb.threads/staticthreads.exp: Use standard_testfile,
3610 clean_restart. Remove incdir.
3611 * gdb.threads/switch-threads.exp: Use standard_testfile,
3612 clean_restart. Remove incdir.
3613 * gdb.threads/thread-execl.exp: Use standard_testfile,
3614 clean_restart. Remove incdir.
3615 * gdb.threads/thread-find.exp: Use standard_testfile,
3616 clean_restart.
3617 * gdb.threads/thread-specific.exp: Use standard_testfile,
3618 clean_restart. Remove incdir.
3619 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
3620 clean_restart. Remove incdir.
3621 * gdb.threads/thread_check.exp: Use standard_testfile,
3622 clean_restart. Remove incdir.
3623 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
3624 incdir.
3625 * gdb.threads/threadapply.exp: Use standard_testfile,
3626 clean_restart. Remove incdir.
3627 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
3628 clean_restart. Remove incdir.
3629 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
3630 clean_restart.
3631 * gdb.threads/tls-shared.exp: Use standard_testfile,
3632 clean_restart, standard_output_file.
3633 * gdb.threads/tls-var.exp: Use standard_testfile,
3634 standard_output_file.
3635 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
3636 Remove incdir.
3637 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
3638 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
3639 incdir.
3640 * gdb.threads/watchthreads2.exp: Use standard_testfile,
3641 clean_restart. Remove incdir.
3642
497a5eb0
TT
36432012-06-26 Tom Tromey <tromey@redhat.com>
3644
3645 * gdb.trace/actions.exp: Use standard_testfile.
3646 * gdb.trace/ax.exp: Use standard_testfile.
3647 * gdb.trace/backtrace.exp: Use standard_testfile.
3648 * gdb.trace/change-loc.exp: Use standard_testfile.
3649 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
3650 * gdb.trace/collection.exp: Use standard_testfile,
3651 prepare_for_testing.
3652 * gdb.trace/deltrace.exp: Use standard_testfile.
3653 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
3654 * gdb.trace/ftrace.exp: Use standard_testfile.
3655 * gdb.trace/infotrace.exp: Use standard_testfile.
3656 * gdb.trace/packetlen.exp: Use standard_testfile.
3657 * gdb.trace/passc-dyn.exp: Use standard_testfile.
3658 * gdb.trace/passcount.exp: Use standard_testfile.
3659 * gdb.trace/pending.exp: Use standard_testfile.
3660 * gdb.trace/report.exp: Use standard_testfile.
3661 * gdb.trace/save-trace.exp: Use standard_testfile.
3662 * gdb.trace/stap-trace.exp: Use standard_testfile.
3663 * gdb.trace/status-stop.exp: Use standard_testfile.
3664 * gdb.trace/strace.exp: Use standard_testfile.
3665 * gdb.trace/tfile.exp: Use standard_testfile.
3666 * gdb.trace/tfind.exp: Use standard_testfile.
3667 * gdb.trace/trace-break.exp: Use standard_testfile.
3668 * gdb.trace/trace-mt.exp: Use standard_testfile.
3669 * gdb.trace/tracecmd.exp: Use standard_testfile.
3670 * gdb.trace/tspeed.exp: Use standard_testfile.
3671 * gdb.trace/tstatus.exp: Use standard_testfile.
3672 * gdb.trace/tsv.exp: Use standard_testfile.
3673 * gdb.trace/unavailable.exp: Use standard_testfile,
3674 prepare_for_testing.
3675 * gdb.trace/while-dyn.exp: Use standard_testfile.
3676 * gdb.trace/while-stepping.exp: Use standard_testfile.
3677
7686c074
TT
36782012-06-26 Tom Tromey <tromey@redhat.com>
3679
3680 * gdb.reverse/break-precsave.exp: Use standard_testfile.
3681 * gdb.reverse/break-reverse.exp: Use standard_testfile.
3682 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
3683 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
3684 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
3685 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
3686 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
3687 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
3688 prepare_for_testing.
3689 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
3690 prepare_for_testing.
3691 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
3692 prepare_for_testing.
3693 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
3694 prepare_for_testing.
3695 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
3696 prepare_for_testing
3697 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
3698 * gdb.reverse/machinestate.exp: Use standard_testfile.
3699 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
3700 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
3701 build_executable.
3702 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
3703 build_executable.
3704 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
3705 standard_output_file.
3706 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
3707 standard_output_file.
3708 * gdb.reverse/step-precsave.exp: Use standard_testfile.
3709 * gdb.reverse/step-reverse.exp: Use standard_testfile.
3710 * gdb.reverse/until-precsave.exp: Use standard_testfile.
3711 * gdb.reverse/until-reverse.exp: Use standard_testfile.
3712 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
3713 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
3714
481fc100
TT
37152012-06-26 Tom Tromey <tromey@redhat.com>
3716
3717 * gdb.stabs/weird.exp: Remove directory-checking code. Use
3718 standard_output_file.
3719 * gdb.stabs/exclfwd.exp: Use standard_testfile,
3720 prepare_for_testing. Remove directory-checking code.
3721
7bb18ae2
TT
37222012-06-25 Tom Tromey <tromey@redhat.com>
3723
3724 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
3725 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
3726 build_executable, not prepare_for_testing.
3727 * gdb.multi/base.exp: Use standard_output_file. Use
3728 build_executable, not prepare_for_testing.
3729
cf09b3e4
TT
37302012-06-25 Tom Tromey <tromey@redhat.com>
3731
3732 * gdb.fortran/subarray.exp: Use standard_testfile,
3733 prepare_for_testing.
3734 * gdb.fortran/multi-dim.exp: Use standard_testfile.
3735 * gdb.fortran/module.exp: Use standard_testfile.
3736 * gdb.fortran/logical.exp: Use standard_testfile.
3737 * gdb.fortran/library-module.exp: Use standard_testfile,
3738 standard_output_file.
3739 * gdb.fortran/derived-type.exp: Use standard_testfile,
3740 prepare_for_testing.
3741 * gdb.fortran/complex.exp: Use standard_testfile,
3742 prepare_for_testing.
3743 * gdb.fortran/charset.exp: Use standard_testfile.
3744 * gdb.fortran/array-element.exp: Use standard_testfile,
3745 prepare_for_testing.
3746
18b5ff1b
KS
37472012-06-25 Keith Seitz <keiths@redhat.com>
3748
3749 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
3750 Change rbreak-related tests to KFAIL and add bugzilla numbers.
3751
17b77626
TT
37522012-06-25 Tom Tromey <tromey@redhat.com>
3753
3754 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
3755 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
3756 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
3757 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
3758
f91e3dc1
TT
37592012-06-25 Tom Tromey <tromey@redhat.com>
3760
3761 * gdb.linespec/ls-errs.exp: Use standard_testfile.
3762 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
3763 * gdb.linespec/linespec.exp: Use standard_testfile.
3764
a884434d
TT
37652012-06-25 Tom Tromey <tromey@redhat.com>
3766
3767 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
3768 prepare_for_testing.
3769
efc9d70a
TT
37702012-06-25 Tom Tromey <tromey@redhat.com>
3771
3772 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
3773 prepare_for_testing.
3774 * gdb.opt/inline-break.exp: Use standard_testfile,
3775 prepare_for_testing.
3776 * gdb.opt/inline-bt.exp: Use standard_testfile,
3777 prepare_for_testing.
3778 * gdb.opt/inline-cmds.exp: Use standard_testfile,
3779 prepare_for_testing.
3780 * gdb.opt/inline-locals.exp: Use standard_testfile,
3781 prepare_for_testing.
3782
e2fc92c6
TT
37832012-06-25 Tom Tromey <tromey@redhat.com>
3784
3785 * gdb.asm/asm-source.exp: Use standard_output_file,
3786 standard_testfile. Construct .o files in proper subdir.
3787
b0963d73
TT
37882012-06-25 Tom Tromey <tromey@redhat.com>
3789
3790 * gdb.server/ext-attach.exp: Use standard_testfile,
3791 prepare_for_testing.
3792 * gdb.server/ext-run.exp: Use standard_testfile,
3793 build_executable.
3794 * gdb.server/file-transfer.exp: Use standard_testfile,
3795 prepare_for_testing.
3796 * gdb.server/server-exec-info.exp: Use standard_testfile.
3797 * gdb.server/server-mon.exp: Use standard_testfile,
3798 prepare_for_testing.
3799 * gdb.server/server-run.exp: Use standard_testfile,
3800 build_executable.
3801 * gdb.server/solib-list.exp: Use standard_testfile,
3802 standard_output_file.
3803
8a3e1f8d
TT
38042012-06-25 Tom Tromey <tromey@redhat.com>
3805
3806 * lib/gdb.exp (standard_output_file): Use "file join".
3807 * gdb.go/chan.exp: Use standard_testfile.
3808 * gdb.go/handcall.exp: Use standard_testfile.
3809 * gdb.go/hello.exp: Use standard_testfile.
3810 * gdb.integers/chan.exp: Use standard_testfile.
3811 * gdb.go/methods.exp: Use standard_testfile.
3812 * gdb.go/package.exp: Use standard_testfile.
3813 * gdb.go/strings.exp: Use standard_testfile.
3814 * gdb.go/types.exp: Use standard_testfile.
3815 * gdb.go/unsafe.exp: Use standard_testfile.
3816
944a9061
MGD
38172012-06-25 Greta Yorsh <greta.yorsh@arm.com>
3818
3819 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
3820
1c06bd58
JK
38212012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3822
3823 Fix regression by the previous commit.
3824 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
3825
b4a58790
TT
38262012-06-22 Tom Tromey <tromey@redhat.com>
3827
3828 * gdb.python/lib-types.exp: Use standard_testfile,
3829 prepare_for_testing.
3830 * gdb.python/py-block.exp: Use standard_testfile.
3831 * gdb.python/py-breakpoint.exp: Use standard_testfile.
3832 * gdb.python/py-events.exp: Use standard_testfile,
3833 standard_output_file.
3834 * gdb.python/py-evsignal.exp: Use standard_testfile.
3835 * gdb.python/py-evethreads.exp: Use standard_testfile.
3836 * gdb.python/py-explore-cc.exp: Use standard_testfile.
3837 * gdb.python/py-explore.exp: Use standard_testfile.
3838 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3839 standard_output_file.
3840 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3841 prepare_for_testing.
3842 * gdb.python/py-frame-inline.exp: Use standard_testfile.
3843 * gdb.python/py-frame.exp: Use standard_testfile.
3844 * gdb.python/py-inferior.exp: Use standard_testfile.
3845 * gdb.python/py-infthread.exp: Use standard_testfile.
3846 * gdb.python/py-mi.exp: Use standard_testfile.
3847 * gdb.python/py-objfile-script.exp: Use standard_testfile,
3848 build_executable.
3849 * gdb.python/py-objfile.exp: Use standard_testfile.
3850 * gdb.python/py-pp-maint.exp: Use standard_testfile,
3851 prepare_for_testing.
3852 * gdb.python/py-prettyprint.exp: Use standard_testfile.
3853 * gdb.python/py-progspace.exp: Use standard_testfile,
3854 build_executable.
3855 * gdb.python/py-prompt.exp: Use standard_testfile,
3856 build_executable.
3857 * gdb.python/py-section-script.exp: Use standard_testfile,
3858 build_executable.
3859 * gdb.python/py-shared.exp: Use standard_testfile,
3860 standard_output_file, clean_restart.
3861 * gdb.python/py-symbol.exp: Use standard_output_file,
3862 prepare_for_testing.
3863 * gdb.python/py-symtab.exp: Use standard_output_file,
3864 prepare_for_testing
3865 * gdb.python/py-template.exp: Use standard_testfile.
3866 * gdb.python/py-type.exp: Use standard_testfile.
3867 * gdb.python/py-value-cc.exp: Use standard_testfile.
3868 * gdb.python/py-value.exp: Use standard_testfile.
3869 * gdb.python/python.exp: Use standard_testfile, build_executable.
3870
2c44deac
TT
38712012-06-22 Tom Tromey <tromey@redhat.com>
3872
3873 * gdb.objc/basicclass.exp: Use standard_testfile.
3874 (do_objc_tests): Don't declare objdir.
3875 * gdb.objc/nondebug.exp: Use standard_testfile.
3876 (do_objc_tests): Don't declare objdir.
3877 * gdb.objc/objcdecode.exp: Use standard_testfile.
3878 (do_objc_tests): Don't declare objdir.
3879
c24ccbce
TT
38802012-06-22 Tom Tromey <tromey@redhat.com>
3881
3882 * gdb.java/jmain.exp: Use standard_testfile.
3883 * gdb.java/jmisc.exp: Use standard_testfile.
3884 * gdb.java/jnpe.exp: Use standard_testfile.
3885 * gdb.java/jprint.exp: Use standard_testfile.
3886
0a6d0306
TT
38872012-06-22 Tom Tromey <tromey@redhat.com>
3888
3889 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3890 (standard_output_file, standard_testfile): New procs.
3891 (build_executable, clean_restart): Use standard_output_file.
3892
6ea815ef
YQ
38932012-06-22 Yao Qi <yao@codesourcery.com>
3894
3895 * boards/native-gdbserver.exp: New proc ${board}_exec.
3896 * boards/native-stdio-gdbserver.exp: Likewise.
3897
4c93b1db
TT
38982012-06-21 Tom Tromey <tromey@redhat.com>
3899
3900 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3901 (build_executable): Update.
3902 (get_compiler_info): Remove 'binfile' argument.
3903 * gdb.ada/arrayidx.exp: Update.
3904 * gdb.ada/null_array.exp: Update.
3905 * gdb.arch/altivec-abi.exp: Update.
3906 * gdb.arch/altivec-regs.exp: Update.
3907 * gdb.arch/amd64-byte.exp: Update.
3908 * gdb.arch/amd64-dword.exp: Update.
3909 * gdb.arch/amd64-word.exp: Update.
3910 * gdb.arch/i386-avx.exp: Update.
3911 * gdb.arch/i386-byte.exp: Update.
3912 * gdb.arch/i386-sse.exp: Update.
3913 * gdb.arch/i386-word.exp: Update.
3914 * gdb.arch/ppc-dfp.exp: Update.
3915 * gdb.arch/ppc-fp.exp: Update.
3916 * gdb.arch/vsx-regs.exp: Update.
3917 * gdb.base/all-bin.exp: Update.
3918 * gdb.base/annota1.exp: Update.
3919 * gdb.base/async.exp: Update.
3920 * gdb.base/attach.exp: Update.
3921 * gdb.base/break-interp.exp: Update.
3922 * gdb.base/call-ar-st.exp: Update.
3923 * gdb.base/call-rt-st.exp: Update.
3924 * gdb.base/call-sc.exp: Update.
3925 * gdb.base/callfuncs.exp: Update.
3926 * gdb.base/catch-load.exp: Update.
3927 * gdb.base/completion.exp: Update.
3928 * gdb.base/complex.exp: Update.
3929 * gdb.base/condbreak.exp: Update.
3930 * gdb.base/consecutive.exp: Update.
3931 * gdb.base/constvars.exp: Update.
3932 * gdb.base/corefile.exp: Update.
3933 * gdb.base/eval-skip.exp: Update.
3934 * gdb.base/expand-psymtabs.exp: Update.
3935 * gdb.base/exprs.exp: Update.
3936 * gdb.base/fileio.exp: Update.
3937 * gdb.base/fixsection.exp: Update.
3938 * gdb.base/funcargs.exp: Update.
3939 * gdb.base/gdb11530.exp: Update.
3940 * gdb.base/gdb1555.exp: Update.
3941 * gdb.base/gnu-ifunc.exp: Update.
3942 * gdb.base/gnu_vector.exp: Update.
3943 * gdb.base/info-macros.exp: Update.
3944 * gdb.base/jit-simple.exp: Update.
3945 * gdb.base/jit-so.exp: Update.
3946 * gdb.base/jit.exp: Update.
3947 * gdb.base/langs.exp: Update.
3948 * gdb.base/list.exp: Update.
3949 * gdb.base/logical.exp: Update.
3950 * gdb.base/long_long.exp: Update.
3951 * gdb.base/longjmp.exp: Update.
3952 * gdb.base/macscp.exp: Update.
3953 * gdb.base/mips_pro.exp: Update.
3954 * gdb.base/miscexprs.exp: Update.
3955 * gdb.base/morestack.exp: Update.
3956 * gdb.base/nodebug.exp: Update.
3957 * gdb.base/opaque.exp: Update.
3958 * gdb.base/pc-fp.exp: Update.
3959 * gdb.base/pending.exp: Update.
3960 * gdb.base/permissions.exp: Update.
3961 * gdb.base/pointers.exp: Update.
3962 * gdb.base/prelink.exp: Update.
3963 * gdb.base/printcmds.exp: Update.
3964 * gdb.base/psymtab.exp: Update.
3965 * gdb.base/ptype.exp: Update.
3966 * gdb.base/relational.exp: Update.
3967 * gdb.base/scope.exp: Update.
3968 * gdb.base/setvar.exp: Update.
3969 * gdb.base/shlib-call.exp: Update.
3970 * gdb.base/shreloc.exp: Update.
3971 * gdb.base/signals.exp: Update.
3972 * gdb.base/sizeof.exp: Update.
3973 * gdb.base/so-impl-ld.exp: Update.
3974 * gdb.base/so-indr-cl.exp: Update.
3975 * gdb.base/solib-disc.exp: Update.
3976 * gdb.base/solib-display.exp: Update.
3977 * gdb.base/solib-nodir.exp: Update.
3978 * gdb.base/solib-overlap.exp: Update.
3979 * gdb.base/solib-symbol.exp: Update.
3980 * gdb.base/solib-weak.exp: Update.
3981 * gdb.base/solib.exp: Update.
3982 * gdb.base/store.exp: Update.
3983 * gdb.base/structs.exp: Update.
3984 * gdb.base/structs2.exp: Update.
3985 * gdb.base/type-opaque.exp: Update.
3986 * gdb.base/unload.exp: Update.
3987 * gdb.base/varargs.exp: Update.
3988 * gdb.base/volatile.exp: Update.
3989 * gdb.base/watch_thread_num.exp: Update.
3990 * gdb.base/watchpoint-solib.exp: Update.
3991 * gdb.base/watchpoint.exp: Update.
3992 * gdb.base/watchpoints.exp: Update.
3993 * gdb.base/whatis.exp: Update.
3994 * gdb.cell/arch.exp: Update.
3995 * gdb.cell/break.exp: Update.
3996 * gdb.cell/bt.exp: Update.
3997 * gdb.cell/core.exp: Update.
3998 * gdb.cell/data.exp: Update.
3999 * gdb.cell/ea-cache.exp: Update.
4000 * gdb.cell/f-regs.exp: Update.
4001 * gdb.cell/fork.exp: Update.
4002 * gdb.cell/gcore.exp: Update.
4003 * gdb.cell/mem-access.exp: Update.
4004 * gdb.cell/ptype.exp: Update.
4005 * gdb.cell/registers.exp: Update.
4006 * gdb.cell/sizeof.exp: Update.
4007 * gdb.cell/solib-symbol.exp: Update.
4008 * gdb.cell/solib.exp: Update.
4009 * gdb.cp/ambiguous.exp: Update.
4010 * gdb.cp/breakpoint.exp: Update.
4011 * gdb.cp/bs15503.exp: Update.
4012 * gdb.cp/casts.exp: Update.
4013 * gdb.cp/class2.exp: Update.
4014 * gdb.cp/cpexprs.exp: Update.
4015 * gdb.cp/cplusfuncs.exp: Update.
4016 * gdb.cp/ctti.exp: Update.
4017 * gdb.cp/dispcxx.exp: Update.
4018 * gdb.cp/gdb1355.exp: Update.
4019 * gdb.cp/gdb2384.exp: Update.
4020 * gdb.cp/gdb2495.exp: Update.
4021 * gdb.cp/infcall-dlopen.exp: Update.
4022 * gdb.cp/local.exp: Update.
4023 * gdb.cp/m-data.exp: Update.
4024 * gdb.cp/m-static.exp: Update.
4025 * gdb.cp/mb-ctor.exp: Update.
4026 * gdb.cp/mb-inline.exp: Update.
4027 * gdb.cp/mb-templates.exp: Update.
4028 * gdb.cp/member-ptr.exp: Update.
4029 * gdb.cp/method.exp: Update.
4030 * gdb.cp/namespace.exp: Update.
4031 * gdb.cp/nextoverthrow.exp: Update.
4032 * gdb.cp/nsdecl.exp: Update.
4033 * gdb.cp/nsrecurs.exp: Update.
4034 * gdb.cp/nsstress.exp: Update.
4035 * gdb.cp/nsusing.exp: Update.
4036 * gdb.cp/pr-1023.exp: Update.
4037 * gdb.cp/pr-1210.exp: Update.
4038 * gdb.cp/pr-574.exp: Update.
4039 * gdb.cp/pr9631.exp: Update.
4040 * gdb.cp/printmethod.exp: Update.
4041 * gdb.cp/psmang.exp: Update.
4042 * gdb.cp/re-set-overloaded.exp: Update.
4043 * gdb.cp/rtti.exp: Update.
4044 * gdb.cp/shadow.exp: Update.
4045 * gdb.cp/templates.exp: Update.
4046 * gdb.cp/try_catch.exp: Update.
4047 * gdb.dwarf2/dw2-ranges.exp: Update.
4048 * gdb.dwarf2/pr10770.exp: Update.
4049 * gdb.fortran/library-module.exp: Update.
4050 * gdb.hp/gdb.aCC/optimize.exp: Update.
4051 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
4052 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
4053 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
4054 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
4055 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
4056 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
4057 * gdb.hp/gdb.compat/xdb1.exp: Update.
4058 * gdb.hp/gdb.compat/xdb2.exp: Update.
4059 * gdb.hp/gdb.compat/xdb3.exp: Update.
4060 * gdb.hp/gdb.defects/bs14602.exp: Update.
4061 * gdb.hp/gdb.defects/solib-d.exp: Update.
4062 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
4063 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
4064 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
4065 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
4066 * gdb.mi/gdb792.exp: Update.
4067 * gdb.mi/mi-pending.exp: Update.
4068 * gdb.mi/mi-solib.exp: Update.
4069 * gdb.mi/mi-var-cp.exp: Update.
4070 * gdb.opt/clobbered-registers-O2.exp: Update.
4071 * gdb.opt/inline-bt.exp: Update.
4072 * gdb.opt/inline-cmds.exp: Update.
4073 * gdb.opt/inline-locals.exp: Update.
4074 * gdb.python/py-events.exp: Update.
4075 * gdb.python/py-finish-breakpoint.exp: Update.
4076 * gdb.python/py-type.exp: Update.
4077 * gdb.reverse/solib-precsave.exp: Update.
4078 * gdb.reverse/solib-reverse.exp: Update.
4079 * gdb.server/solib-list.exp: Update.
4080 * gdb.stabs/weird.exp: Update.
4081 * gdb.threads/attach-into-signal.exp: Update.
4082 * gdb.threads/attach-stopped.exp: Update.
4083 * gdb.threads/tls-shared.exp: Update.
4084 * gdb.trace/change-loc.exp: Update.
4085 * gdb.trace/strace.exp: Update.
4086
95c391b6
TT
40872012-06-19 Tom Tromey <tromey@redhat.com>
4088
4089 * gdb.base/whatis.exp: Add tests.
4090
e910f0b6
TT
40912012-06-19 Tom Tromey <tromey@redhat.com>
4092
4093 * gdb.cp/m-static.cc (keepalive): New function.
4094 (gnu_obj_1::method): Use it.
4095
422d65e7
DE
40962012-06-18 Doug Evans <dje@google.com>
4097
4098 * gdb.base/info-fun.exp: New file.
4099 * gdb.base/info-fun.c: New file.
4100 * gdb.base/info-fun-solib.c: New file.
4101
e2e4d78b
JK
41022012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4103
4104 Remove stale dummy frames.
4105 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
4106 (maintenance info breakpoints): New tests.
4107 * gdb.base/stale-infcall.c: New file.
4108 * gdb.base/stale-infcall.exp: New file.
4109
1788b2d3
JK
41102012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4111
4112 * gdb.arch/amd64-entry-value-param.S: New file.
4113 * gdb.arch/amd64-entry-value-param.c: New file.
4114 * gdb.arch/amd64-entry-value-param.exp: New file.
4115
663b969e
TT
41162012-06-15 Tom Tromey <tromey@redhat.com>
4117
4118 * gdb.cp/namespace.exp: Add "show lang" test.
4119
8e09ad05
IS
41202012-06-15 Iain Sandoe <iain@codesourcery.com>
4121
4122 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
4123 case. (top level): Use gdb_file_cmd instead of gdb_load.
4124
f85e18ee
JK
41252012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4126
4127 PR tdep/14222
4128 * gdb.arch/i386-sse-stack-align.S: New file.
4129 * gdb.arch/i386-sse-stack-align.c: New file.
4130 * gdb.arch/i386-sse-stack-align.exp: New file.
4131
f3b5e280
KS
41322012-06-13 Keith Seitz <keiths@redhat.com>
4133
4134 PR breakpoints/13798 and mi/11541
4135 * gdb.linespec/ls-errs.exp: Add a few more tests for
4136 filenames with spaces and colons.
4137
50af5481
JK
41382012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4139
4140 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
4141 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
4142 (test_function): Call CV_f.
4143 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
4144 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
4145 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
4146 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
4147 (p CV_f(CV::i)): New tests.
4148
d55637df
TT
41492012-06-13 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.base/condbreak.exp: Add tests for "condition" completion.
4152
cc80f267
JK
41532012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4154
4155 Fix regression by the "ambiguous linespec" series.
4156 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
4157 tests.
4158
bb2af9cc
JK
41592012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4160
4161 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
4162 missing.
4163
e81a37f7
TT
41642012-06-11 Tom Tromey <tromey@redhat.com>
4165
4166 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
4167 location...
4168 (main): ...here.
4169
8efd7788
YQ
41702012-06-07 Yao Qi <yao@codesourcery.com>
4171
4172 * gdb.trace/strace.exp: Shorten some too-long lines.
4173
359f5fe6
PA
41742012-06-06 Pedro Alves <palves@redhat.com>
4175
4176 * gdb.threads/clone-new-thread-event.c: New file.
4177 * gdb.threads/clone-new-thread-event.exp: New file.
4178
7b2fe205
YQ
41792012-06-06 Yao Qi <yao@codesourcery.com>
4180
4181 * gdb.base/dprintf.c (main): Add extra parameter when calling
4182 printf and fprintf.
4183 (bar): New function. It is a dead function, but to ensure
4184 'malloc' is linked explicitly.
4185
3eca55e8
YQ
41862012-06-06 Yao Qi <yao@codesourcery.com>
4187
4188 * gdb.base/info-proc.exp: Return if target doesn't support
4189 'info proc'.
4190
91cc9324
JK
41912012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4192
4193 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
4194 (run program with breakpoint commands): XFAIl if it is not.
4195
c56e7c43
JB
41962012-06-05 Joel Brobecker <brobecker@adacore.com>
4197
4198 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
4199 and add comment.
4200 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
4201 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
4202 "STOP" marker. Adjust testing strategy to make it work on
4203 all targets.
4204
4205 * gdb.base/print-file-var-main.c (main): Rewrite using local
4206 variables and adjust get_version_2's return value check.
4207 Add small comment.
4208 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
4209 marker. Adjust testing strategy to make it work on all targets.
4210
ccab2054
JB
42112012-06-05 Joel Brobecker <brobecker@adacore.com>
4212
4213 * gdb.ada/bad-task-bp-keyword: New testcase.
4214
d0d86158
JK
42152012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4216
4217 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
4218 Simplify it to ...
4219 (symbol-file ${testfile1}): ... here.
4220 (test eliminated var my_global_symbol)
4221 (test eliminated var my_static_symbol)
4222 (test eliminated var my_global_func, get address of main): Wrap them to
4223 'single psymtabs' and 'single symtabs'
4224 (get address of my_global_symbol, get address of my_static_symbol)
4225 (get address of my_global_func, get address of main): Wrap them to
4226 'order1' and 'order2'.
4227
952cf74c
JK
4228 * gdb.base/code_elim.exp
4229 (add-symbol-file ${testfile1} 0x100000)
4230 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
4231 'order2'.
4232 (order1: add-symbol-file ${testfile1} 0x100000)
4233 (order1: add-symbol-file ${testfile2} 0x200000)
4234 (order2: add-symbol-file ${testfile2} 0x200000)
4235 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
4236 .bss as appropriate.
4237
0c5bf5a9
JK
42382012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4239
4240 * gdb.server/solib-list-lib.c: New file.
4241 * gdb.server/solib-list-main.c: New file.
4242 * gdb.server/solib-list.exp: New file.
4243
4196f325
MR
42442012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
4245
4246 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
4247 for 'set print symbol' change.
4248
bfb05775
JK
42492012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4250
4251 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
4252 .debug_abbrev_seg3.
4253
685b1105
JK
42542012-05-24 John Steele Scott <toojays@toojays.net>
4255
4256 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
4257 * gdb.dwarf2/dw2-icc-opaque.S: New file.
4258 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
4259
f3e0e960
SS
42602012-05-23 Stan Shebs <stan@codesourcery.com>
4261
4262 * gdb.mi/mi-info-os.exp: New file.
4263
11eb1b4d
KS
42642012-05-23 Keith Seitz <keiths@redhat.com>
4265
4266 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
4267 return -1 to suppress the rest of the tests.
4268 (compile_stap_bin): Return boolean success value.
4269
b1af9e97
TT
42702012-05-21 Tom Tromey <tromey@redhat.com>
4271
4272 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
4273 Remove kfails.
4274 (test_print_mi_member_types): Likewise.
4275
248537e3
TT
42762012-05-21 Tom Tromey <tromey@redhat.com>
4277
4278 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
4279 print symbol' change.
4280
d791e155
TJB
42812012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
4282
4283 * gdb.python/py-prompt.exp: Quit if the target is remote.
4284
e77afa2e
JK
42852012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4286
4287 Fix ERROR: internal buffer is full.
4288 * gdb.base/info-os.exp (expect_multiline): New function.
4289 (get process list, get process groups, get threads)
4290 (get file descriptors, get internet-domain sockets)
4291 (get shared-memory regions, get semaphores, get message queues): Use
4292 it for these tests.
4293
9cb709b6
TT
42942012-05-18 Tom Tromey <tromey@redhat.com>
4295
4296 * gdb.mi/mi-var-cmd.exp: Update.
4297 * gdb.objc/basicclass.exp (do_objc_tests): Update.
4298 * gdb.cp/virtbase.exp: Update.
4299 * gdb.cp/classes.exp (test_static_members): Update.
4300 * gdb.cp/casts.exp: Update.
4301 * gdb.base/pointers.exp: Update.
4302 * gdb.base/funcargs.exp (pointer_args): Update.
4303 (structs_by_reference): Update.
4304 * gdb.base/find.exp: Update.
4305 * gdb.base/call-strs.exp: Send "set print symbol off".
4306 * gdb.base/call-ar-st.exp: Update.
4307 * gdb.ada/fun_addr.exp: Update.
4308 * gdb.base/printcmds.exp (test_print_symbol): New proc.
4309 Call it.
4310 (test_print_repeats_10, test_print_strings)
4311 (test_print_char_arrays): Update.
4312
b012acdd
TT
43132012-05-18 Tom Tromey <tromey@redhat.com>
4314
4315 * gdb.base/charset.exp (string_display): Update.
4316
1d51a733
TT
43172012-05-18 Tom Tromey <tromey@redhat.com>
4318
4319 * gdb.mi/mi2-var-display.exp: Update.
4320 * gdb.mi/mi-var-display.exp: Update.
4321 * gdb.mi/mi-var-child.exp: Update.
4322 * gdb.cp/expand-psymtabs-cxx.exp: Update.
4323 * gdb.cp/cp-relocate.exp (get_func_address): Update.
4324
957df313
DE
43252012-05-17 Doug Evans <dje@google.com>
4326
682c7f7b
DE
4327 * info-macros.exp: Pass "debug" to prepare_for_testing.
4328
957df313
DE
4329 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
4330 * gdb.ada/Makefile.in (clean): Ditto.
4331 * gdb.arch/Makefile.in (clean): Ditto.
4332 * gdb.asm/Makefile.in (clean): Ditto.
4333 * gdb.base/Makefile.in (clean): Ditto.
4334 * gdb.cell/Makefile.in (clean): Ditto.
4335 * gdb.cp/Makefile.in (clean): Ditto.
4336 * gdb.disasm/Makefile.in (clean): Ditto.
4337 * gdb.dwarf2/Makefile.in (clean): Ditto.
4338 * gdb.fortran/Makefile.in (clean): Ditto.
4339 * gdb.go/Makefile.in (clean): Ditto.
4340 * gdb.hp/Makefile.in (clean): Ditto.
4341 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
4342 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
4343 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
4344 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
4345 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
4346 * gdb.java/Makefile.in (clean): Ditto.
4347 * gdb.linespec/Makefile.in (clean): Ditto.
4348 * gdb.mi/Makefile.in (clean): Ditto.
4349 * gdb.modula2/Makefile.in (clean): Ditto.
4350 * gdb.multi/Makefile.in (clean): Ditto.
4351 * gdb.objc/Makefile.in (clean): Ditto.
4352 * gdb.opencl/Makefile.in (clean): Ditto.
4353 * gdb.opt/Makefile.in (clean): Ditto.
4354 * gdb.pascal/Makefile.in (clean): Ditto.
4355 * gdb.python/Makefile.in (clean): Ditto.
4356 * gdb.reverse/Makefile.in (clean): Ditto.
4357 * gdb.server/Makefile.in (clean): Ditto.
4358 * gdb.stabs/Makefile.in (clean): Ditto.
4359 * gdb.threads/Makefile.in (clean): Ditto.
4360 * gdb.trace/Makefile.in (clean): Ditto.
4361 * gdb.xml/Makefile.in (clean): Ditto.
4362
abc9d0dc
TT
43632012-05-16 Tom Tromey <tromey@redhat.com>
4364
4365 * gdb.base/macscp1.c (macscp_expr): Add comment.
4366 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
4367
6a3a010b
MR
43682012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4369
4370 * gdb.base/return-nodebug.exp: Also test float and double types.
4371
01429c8e
JK
43722012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4373
4374 PR testsuite/12649
4375 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
4376
54115cd4
JK
4377 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
4378
0c5f383f
SDJ
43792012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
4380
4381 * gdb.base/stap-probe.exp (stap_test): Remove calls to
4382 `rerun_to_main'.
4383 (stap_test_no_debuginfo): Likewise.
4384
e7e0cddf
SS
43852012-05-14 Stan Shebs <stan@codesourcery.com>
4386
4387 * gdb.base/dprintf.c: New file.
4388 * gdb.base/dprintf.exp: New file.
4389
c772f8e7
HZ
43902012-05-14 Hui Zhu <hui_zhu@mentor.com>
4391
4392 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
4393 * gdb.trace/disconnected-tracing.c: New file.
4394 * gdb.trace/disconnected-tracing.exp: New file.
4395
7efc75aa
SCR
43962012-05-13 Siva Chandra Reddy <sivachandra@google.com>
4397
4398 * gdb.python/python.c: Add a new breakpoint comment.
4399 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
4400
85d4a676
SS
44012011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
4402
4403 * gdb.base/info-os.exp: New file.
4404 * gdb.base/info-os.c: New file.
4405
64ea88dc
JB
44062012-05-10 Joel Brobecker <brobecker@adacore.com>
4407
4647ab1b
JB
4408 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
4409 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
4410 New files.
64ea88dc 4411
afba63f1
JB
44122012-05-10 Joel Brobecker <brobecker@adacore.com>
4413
4414 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
4415 gdb.base/ctxobj.exp: New files.
4416
9d198b1e
TT
44172012-05-09 Tom Tromey <tromey@redhat.com>
4418
4419 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
4420
9bfee719
MR
44212012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
4422
4423 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
4424
3a7341d8
MR
44252012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
4426
4427 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
4428 before using it.
4429
52b3699b
TG
44302012-05-04 Tristan Gingold <gingold@adacore.com>
4431
4432 * gdb.base/set-noassign.exp: New test.
4433
a20ee7a4
SCR
44342012-05-03 Siva Chandra Reddy <sivachandra@google.com>
4435
4436 * gdb.python/py-symbol.exp: Add tests to test the new methods
4437 gdb.Symtab.global_block() and gdb.Symtab.static_block().
4438 * gdb.python/py-symbol.c: Add new struct to help test
4439 gdb.Symtab.static_block().
4440
bf2f0858
DE
44412012-05-03 Doug Evans <dje@google.com>
4442
4443 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
4444 commented out.
4445
2d4e0376
YQ
44462012-05-03 Yao Qi <yao@codesourcery.com>
4447
4448 * gdb.base/catch-syscall.exp: Skip it before compilation if target
4449 doesn't support.
4450 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
4451 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
4452
6d0bb9f3
YQ
44532012-05-03 Yao Qi <yao@codesourcery.com>
4454
4455 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
4456
fd820528
DE
44572012-04-30 Doug Evans <dje@google.com>
4458
4459 PR testsuite/13961
4460 * gdb.dwarf2/pr13961.S: New file.
4461 * gdb.dwarf2/pr13961.exp: New file.
4462
b9e219b9
YQ
44632012-04-29 Yao Qi <yao@codesourcery.com>
4464
4465 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
4466
3019eac3
DE
44672012-04-28 Doug Evans <dje@google.com>
4468
4469 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
4470 .Ltype_int_in_cu2. Use name "int2" instead of "int".
4471 All uses updated.
4472 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
4473 "ptype func_cu1" to expand cu2 before cu1.
4474
62e5f89c
SDJ
44752012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
4476 Tom Tromey <tromey@redhat.com>
4477
4478 * gdb.base/default.exp: Add `$_probe_arg*' convenience
4479 variables.
4480 * gdb.base/stap-probe.c: New file.
4481 * gdb.base/stap-probe.exp: New file.
4482 * gdb.trace/stap-trace.c: New file.
4483 * gdb.trace/stap-trace.exp: New file.
4484 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
4485 libgcc's unwinder.
4486
14132e89
MR
44872012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
4488
4489 * gdb.arch/mips16-thunks-inmain.c: New file.
4490 * gdb.arch/mips16-thunks-main.c: New file.
4491 * gdb.arch/mips16-thunks-sin.c: New file.
4492 * gdb.arch/mips16-thunks-sinfrob.c: New file.
4493 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
4494 * gdb.arch/mips16-thunks-sinmain.c: New file.
4495 * gdb.arch/mips16-thunks-sinmips16.c: New file.
4496 * gdb.arch/mips16-thunks.exp: New file.
4497
a766d390
DE
44982012-04-25 Doug Evans <dje@google.com>
4499
4500 * configure.ac: Create gdb.go/Makefile.
4501 * configure: Regenerate.
4502 * gdb.base/default.exp: Add "go" to "set language" testing.
4503 * gdb.go/Makefile.in: New file.
4504 * gdb.go/basic-types.exp: New file.
4505 * gdb.go/chan.exp: New file.
4506 * gdb.go/chan.go: New file.
4507 * gdb.go/handcall.exp: New file.
4508 * gdb.go/handcall.go: New file.
4509 * gdb.go/hello.exp: New file.
4510 * gdb.go/hello.go: New file.
4511 * gdb.go/integers.exp: New file.
4512 * gdb.go/integers.go: New file.
4513 * gdb.go/methods.exp: New file.
4514 * gdb.go/methods.go: New file.
4515 * gdb.go/package.exp: New file.
4516 * gdb.go/package1.go: New file.
4517 * gdb.go/package2.go: New file.
4518 * gdb.go/print.exp: New file.
4519 * gdb.go/strings.exp: New file.
4520 * gdb.go/strings.go: New file.
4521 * gdb.go/types.exp: New file.
4522 * gdb.go/types.go: New file.
4523 * gdb.go/unsafe.exp: New file.
4524 * gdb.go/unsafe.go: New file.
4525 * lib/future.exp: Add Go support.
4526 (gdb_find_go, gdb_find_go_linker): New procs.
4527 (gdb_default_target_compile): Add Go support.
4528 * lib/gdb.exp (skip_go_tests): New proc.
4529 * lib/go.exp: New file.
4530
e65f9ffb
TT
45312012-04-25 Tom Tromey <tromey@redhat.com>
4532
4533 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
4534
14e75d8e
JK
45352012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4536 Jan Kratochvil <jan.kratochvil@redhat.com>
4537
4538 PR symtab/7259:
4539 * gdb.base/enumval.c: New test case.
4540 * gdb.base/enumval.exp: New test case.
4541 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
4542 field.bitpos.
4543
f3525b70
PA
45442012-04-17 Pedro Alves <palves@redhat.com>
4545
4546 * Makefile.in (site.exp): Make site.exp source
4547 $srcdir/lib/append_gdb_boards_dir.exp.
4548 * lib/append_gdb_boards_dir.exp: New file.
4549
bccbefd2
JK
45502012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4551
4552 New option "set auto-load safe-path".
4553 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
4554 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
4555
bf88dd68
JK
45562012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4557
4558 auto-load: Implementation.
4559 * gdb.base/help.exp (test set height): Increase the height.
4560 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
4561 to ...
4562 (info auto-load python-scripts): ... here.
4563 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
4564 to ...
4565 (info auto-load python-scripts *): ... here.
4566
c0d4d1c0
YQ
45672012-04-16 Yao Qi <yao@codesourcery.com>
4568
4569 * lib/trace-support.exp (get_in_proc_agent): New.
4570 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
4571 of in process trace agent.
4572 * gdb.trace/ftrace.exp: Likewise.
4573 * gdb.trace/pending.exp: Likewise.
4574 * gdb.trace/trace-break.exp: Likewise.
4575 * gdb.trace/trace-mt.exp
4576 * gdb.trace/tspeed.exp: Likewise.
4577 * gdb.trace/tstatus.exp
4578 * gdb.trace/strace.exp: Likewise.
4579
cbf68a60
TS
45802012-04-16 Thomas Schwinge <thomas@codesourcery.com>
4581
dd6d3b70
TS
4582 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
4583 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
4584
cbf68a60
TS
4585 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
4586
8264ba82
AG
45872012-04-14 Anton Gorenkov <xgsa@yandex.ru>
4588
4589 PR mi/13393
4590 * gdb.mi/mi-var-rtti.cc: New file.
4591 * gdb.mi/mi-var-rtti.exp: New file.
4592 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
4593 function.
4594 (mi_varobj_update_with_type_change): updated to avoid code duplication.
4595
de0919f8 45962012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
4597
4598 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
4599 EXECUTABLES.
4600 * gdb.python/py-explore.c: C program used for testing the new
4601 'explore' command on C constructs.
4602 * gdb.python/py-explore.cc: C++ program used for testing the new
4603 'explore' command on C++ constructs.
4604 * gdb-python/py-explore.exp: Tests for the new 'explore'
4605 command on C constructs.
4606 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
4607 command on C++ constructs.
4608
a82da7dd
MK
46092012-04-07 Mark Kettenis <kettenis@gnu.org>
4610
4611 * gdb.base/funcargs.exp (complex_args): Fix typo.
4612
e127cba8
JK
46132012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4614
4615 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
4616 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
4617
40e084e1
KS
46182012-04-05 Keith Seitz <keiths@redhat.com>
4619
4620 * gdb.base/advance.exp: Update error message for
4621 "advance malformed" test.
4622 * gdb.base/break.exp: Likewise for "breakpoint with
4623 trailing garbage" test.
4624 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
4625 with trailing garbage" test.
4626 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
4627 trailng garbage" test.
4628 * gdb.base/until.exp: Likewise for "malformed until" test.
4629 * gdb.cp/ovldbreak.exp: Create the breakpoint table
4630 for "breakpoint info (after setting on all)".
4631 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
4632 tests.
4633 * gdb.cp/cplabel.cc: New file.
4634 * gdb.cp/cplabel.exp: New test.
4635 * gdb.linespec/ls-errs.c: New file.
4636 * gdb.linespec/ls-errs.exp: New test.
4637
a72c8f6a
JK
46382012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4639
4640 * gdb.trace/unavailable.exp
4641 (collect globals: print object on: print derived_partial)
4642 (collect globals: print object on: print derived_whole)
4643 (collect globals: print object off: print derived_partial)
4644 (collect globals: print object off: print derived_whole): Update
4645 expected output.
4646
f87a3023
KS
46472012-03-30 Keith Seitz <keiths@redhat.com>
4648
4649 * gdb.python: Add test for linespecs with commas.
4650
e2171b3c
KS
46512012-03-28 Keith Seitz <keiths@redhat.com>
4652
4653 * gdb.linespec/ls-dollar.cc: New file.
4654 * gdb.linespec/ls-dollar.exp: New test.
4655
46562012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
4657
4658 * gdb.cp/namespace.exp: Add breakpoint tests for functions
4659 starting with the global namespace.
4660
2f4e0a80
DE
46612012-03-23 Doug Evans <dje@google.com>
4662
4663 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
4664
7b282c5a
SCR
46652012-03-22 Siva Chandra Reddy <sivachandra@google.com>
4666
4667 * gdb.python/py-value.cc: Add test case for testing the
4668 methodology exposing C++ values to Python.
4669 * gdb.python/py-value-cc.exp: Add tests testing the methodology
4670 exposing C++ values to Python.
4671 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
4672
2e98ca53
JK
46732012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4674 Siddhesh Poyarekar <siddhesh@redhat.com>
4675
4676 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
4677 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
4678 (generate native core dump): Make the test unsupported if core cannot
4679 be generated.
4680
8320cc4f
JK
46812012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4682
4683 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
4684 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
4685 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
4686
3a69ffb2
JK
46872012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4688
4689 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
4690
8fabffee
DE
46912012-03-17 Doug Evans <dje@google.com>
4692
4693 * dg-extract-results.sh: Handle KFAILs.
4694
ab260dad
JK
46952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4696
4697 PR symtab/13777
4698 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
4699
53ba8333
JB
47002012-03-16 Joel Brobecker <brobecker@adacore.com>
4701
4702 * gdb.ada/set_pckd_arr_elt: New testcase.
4703
481860b3
GB
47042012-03-16 Gary Benson <gbenson@redhat.com>
4705
4706 PR breakpoints/10738
4707 * gdb.opt/inline-break.exp: New file.
4708 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
4709 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
4710 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
4711 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
4712 * gdb.base/async-shell.exp: Likewise.
4713 * lib/mi-support.exp (library_loaded_re): Likewise.
4714
410528f0
TT
47152012-03-15 Tom Tromey <tromey@redhat.com>
4716
4717 * gdb.cp/virtfunc2.exp: Update expected output.
4718 * gdb.cp/pr9631.exp: Update expected output.
4719 * gdb.cp/member-ptr.exp: Update expected output.
4720 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
4721 output.
4722 * gdb.cp/casts.exp: Update expected output.
4723
c4aeac85
TT
47242012-03-15 Tom Tromey <tromey@redhat.com>
4725
4726 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
4727 (test_info_vtbl): Likewise.
4728 (do_tests): Call test_info_vtbl.
4729 * gdb.cp/virtfunc.cc (va): New global.
4730
856d06f9
TS
47312012-03-15 Thomas Schwinge <thomas@codesourcery.com>
4732
4733 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
4734 describing DWARF data structures.
4735 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
4736 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
4737 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
4738 * gdb.dwarf2/dw2-entry-value.S: Likewise.
4739 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
4740 * gdb.dwarf2/dw2-param-error.S: Likewise.
4741 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
4742 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
4743 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
4744 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
4745 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
4746 * gdb.dwarf2/pr11465.S: Likewise.
4747
e837f12a
JK
47482012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4749
4750 * gdb.mi/mi2-prompt.exp: New file.
4751
ccbb4f28
JB
47522012-03-13 Joel Brobecker <brobecker@adacore.com>
4753
4754 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
4755
32039130
JB
47562012-03-13 Joel Brobecker <brobecker@adacore.com>
4757
4758 * gdb.ada/bp_range_type: New testcase.
4759
16899756
DE
47602012-03-13 Doug Evans <dje@google.com>
4761
4762 * gdb.base/default.exp: Delete tests for symbol-reloading.
4763 * gdb.base/help.exp: Ditto.
4764 * gdb.base/setshow.exp: Ditto.
4765 * gdb.base/gdb_history: Delete references to symbol-reloading.
4766
87b0bb13
JK
47672012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4768
4769 * gdb.base/attach-twice.c: New files.
4770 * gdb.base/attach-twice.exp: New files.
4771
0d7941a9
KS
47722012-03-08 Keith Seitz <keiths@redhat.com>
4773
4774 * lib/gdb.exp (gdb_get_line_number): Throw an
4775 error instead of returning -1.
4776 * gdb.base/break.exp: Remove unused variable
4777 bp_location5.
4778 * gdb.base/hbreak2.exp: Likewise.
4779 * gdb.base/sepdebug.exp: Likewise.
4780
f4647387
YQ
47812012-03-08 Yao Qi <yao@codesourcery.com>
4782 Pedro Alves <palves@redhat.com>
4783
4784 Fix PR server/13392.
4785 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
4786 (tracepoint_change_loc_2): Remove kfail. Return if failed to
4787 download tracepoints.
4788 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
4789 (pending_tracepoint_resolved_during_trace): Likewise.
4790 (pending_tracepoint_installed_during_trace): Likewise.
4791 (pending_tracepoint_with_action_resolved): Likewise.
4792
83c532cb
KS
47932012-03-08 Keith Seitz <keiths@redhat.com>
4794
4795 * gdb.ada/array_bounds.exp: Get breakpoint for line
4796 with "START", not "STOP".
4797 * gdb.python/py-infthread.exp: Do not continue to
4798 line marked "Break here.", which is undefined.
4799
d6b6bbb7
LM
48002012-03-08 Luis Machado <lgustavo@codesourcery.com>
4801
4802 Revert:
4803
4804 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4805
4806 Implement testsuite workaround for PR breakpoints/13781.
4807 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4808 (set breakpoint condition-evaluation host): New conditional command.
4809
7fe25d9b
JK
48102012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4811
4812 Fix CU relative vs. absolute DIE offsets.
4813 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
4814 one.
4815
51898c15
JK
48162012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4817
4818 Fix false FAIL on distros with relro linkage as default.
4819 * gdb.reverse/solib-precsave.exp: Try to compile the test using
4820 -Wl,-z,norelro first.
4821
8131799e
JB
48222012-03-06 Joel Brobecker <brobecker@adacore.com>
4823
4824 * gdb.ada/bp_on_var: New testcase.
4825
ba241969
JB
48262012-03-06 Joel Brobecker <brobecker@adacore.com>
4827
4828 * gdb.ada/bp_enum_homonym: New testcase.
4829
abe49676
YQ
48302012-03-06 Yao Qi <yao@codesourcery.com>
4831
4832 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
4833 x86_64-*-* and i?86-*-*.
4834 Set up KFAIL for gdb/13808.
4835
d8df103b
TT
48362012-03-05 Tom Tromey <tromey@redhat.com>
4837
4838 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4839 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4840
b7b189f3
TT
48412012-03-05 Tom Tromey <tromey@redhat.com>
4842
4843 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4844
69dc1c4d
YQ
48452012-03-04 Yao Qi <yao@codesourcery.com>
4846
4847 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4848 messages for KFAIL.
4849
3f20c47f
JK
48502012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4851
4852 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
4853 (print one_two_three, indexes off, print few_reps, indexes off)
4854 (print many_reps, indexes off, print empty, indexes off)
4855 (print one_two_three, print few_reps, print many_reps, print empty):
4856 Call setup_xfail if $gcc_old.
4857
abf1152a
JK
48582012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4859
4860 Implement testsuite workaround for PR breakpoints/13781.
4861 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4862 (set breakpoint condition-evaluation host): New conditional command.
4863
a06715f8
JK
48642012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4865
4866 Code cleanup.
4867 * gdb.cp/mb-templates.exp: New variables executable. Use it for
4868 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
4869 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
4870 number 1 by $bpnum. Four times.
4871
5808517f
YQ
48722012-03-03 Yao Qi <yao@codesourcery.com>
4873
4874 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4875
dfe2ac14
JK
48762012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4877
4878 Setup KFAIL for PR server/13796.
4879 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4880
8bbc467a
JB
48812012-03-02 Joel Brobecker <brobecker@adacore.com>
4882
4883 * gdb.ada/operator_bp: New testcase.
4884
c0eac87f
JB
48852012-03-02 Joel Brobecker <brobecker@adacore.com>
4886
4887 * gdb.ada/info_locals_renaming: New testcase.
4888
4f42c881
TT
48892012-03-02 Tom Tromey <tromey@redhat.com>
4890
4891 * gdb.base/nextoverexit.c: New file.
4892 * gdb.base/nextoverexit.exp: New file.
4893
7380c0c9
EBM
48942012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4895
4896 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4897 parameter.
4898
1faeff08
MR
48992012-03-01 Maciej W. Rozycki <macro@mips.com>
4900
4901 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4902 core registers.
4903
320b6f49 49042012-03-01 Maciej W. Rozycki <macro@mips.com>
6fdff2c5
PA
4905 Maciej W. Rozycki <macro@codesourcery.com>
4906 Daniel Jacobowitz <dan@codesourcery.com>
320b6f49
MR
4907
4908 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4909
ad5f7d6e
PA
49102012-03-01 Pedro Alves <palves@redhat.com>
4911
4912 PR gdb/13767
4913
4914 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4915 (gdb_collect_globals_test): Call it.
4916
d3dc44a6
KS
49172012-03-01 Keith Seitz <keiths@redhat.com>
4918
4919 * gdb.cp/method2.exp: Output of overload menu is now
4920 alphabetized. Update tests for "break A::method".
4921 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4922 of hard-coding them.
4923 Overload menu is alphabetized: rewrite to accommodate.
4924 Unset variables LINE and TYPES which are used in other tests.
4925 Compute the output of "info break".
4926 Update the breakpoint table after all breakpoints are deleted.
4927 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4928 compute ACTUALS and the method body based on parameters.
4929 Update expected output accordingly.
4930 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4931 unique comments to allow the use of gdb_get_line_number.
4932
49332012-03-01 Keith Seitz <keiths@redhat.com>
4934
4935 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4936 some Tcl syntax.
4937 * gdb.cp/ovldbreak.exp: Likewise.
4938
7949c2a0
KS
49392012-03-01 Keith Seitz <keiths@redhat.com>
4940
4941 * gdb.base/help.exp (help show user): Update expected result
4942 for new doc string changes (add "non-python").
4943
7d74f244
DE
49442012-03-01 Scott J. Goldman <scottjg@vmware.com>
4945
4946 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4947 be put in the user-defined category and that the commands appear in
4948 "help user-defined".
4949
1b611343
JB
49502012-02-29 Joel Brobecker <brobecker@adacore.com>
4951
4952 * gdb.ada/tagged_not_init: New testcase.
4953
99b1c762
JB
49542012-02-29 Joel Brobecker <brobecker@adacore.com>
4955
4956 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4957 * gdb.ada/enum_idx_packed: New testcase.
4958
2d4a02ee
JB
49592012-02-29 Joel Brobecker <brobecker@adacore.com>
4960
4961 * gdb.ada/aliased_array: New testcase.
4962
2e6fda7d
JB
49632012-02-29 Joel Brobecker <brobecker@adacore.com>
4964
4965 * gdb.ada/whatis_array_val: New testcase.
4966
9a7f938f
JK
49672012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4968
4969 Fix disp-step-syscall.exp: fork: single step over fork.
4970 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4971 whitespaces.
4972 (single step over $syscall): Remove its check.
4973 (single step over $syscall final pc): New check.
4974
8703a944
JK
49752012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4976
4977 Support processors without SSSE3.
4978 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4979 pabsd into ...
4980 (ssse3_test): ... a new function.
4981 (main): Call ssse3_test.
4982 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4983 Update expected values everywhere.
4984 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4985 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4986 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4987 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4988 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4989 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4990 Move these tests lower.
4991 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4992 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4993 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4994 New tests.
4995
c03e6ccc
YQ
49962012-02-29 Yao Qi <yao@codesourcery.com>
4997 Pedro Alves <palves@redhat.com>
4998
4999 * gdb.trace/trace-mt.c: New.
5000 * gdb.trace/trace-mt.exp: New.
5001
7964b62a
TS
50022012-02-28 Thomas Schwinge <thomas@codesourcery.com>
5003
2c8910ba
TS
5004 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
5005 numbers instead of hardcoding them.
5006 * gdb.base/annota1.c: Provide suitable markers.
5007 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
5008 numbers instead of hardcoding them.
5009 * gdb.base/annota3.c: Provide suitable markers.
5010
5011 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
5012 * gdb.base/annota3.c: Likewise.
5013 * gdb.base/sigall.c: Likewise.
5014 * gdb.base/signals.c: Likewise.
5015 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 5016
5a41c0b7
MR
50172012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
5018
5019 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
5020 failure return path.
5021
ebbbe5c5
LM
50222012-02-27 Luis Machado <lgustavo@codesourcery.com>
5023
5024 * gdb.base/save-bp.exp: Account for new condition evaluator output.
5025
8d126d8a
LM
50262012-02-24 Luis Machado <lgustavo@codesourcery.com>
5027
5028 * gdb.base/cond-eval-mode.exp: New file.
5029
11337c2f
PA
50302012-02-24 Pedro Alves <palves@redhat.com>
5031
5032 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
5033 (top level): Use with_test_prefix.
5034
13fc3e3c
PA
50352012-02-24 Pedro Alves <palves@redhat.com>
5036
5037 * gdb.threads/attach-into-signal.exp (corefunc): Use
5038 with_test_prefix.
5039
07c1b626
JK
50402012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5041
5042 Fix false FAILs on old CPUs without SSE.
5043 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
5044 Return untested for Illegal instruction.
5045
596ba138
JK
50462012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5047
5048 Fix false FAILs with glibc debug infos installed.
5049 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
5050 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
5051
aeaa2474
SA
50522012-02-22 Sterling Augustine <saugustine@google.com>
5053
5054 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
5055 constant with cast.
5056
aed555c9
PA
50572012-02-21 Pedro Alves <palves@redhat.com>
5058
5059 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
5060
78afebb4
PA
50612012-02-21 Pedro Alves <palves@redhat.com>
5062
5063 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
5064
fdcfef12
PA
50652012-02-21 Pedro Alves <palves@redhat.com>
5066
5067 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
5068 with_test_prefix.
5069
0f4d39d5
PA
50702012-02-21 Pedro Alves <palves@redhat.com>
5071
5072 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
5073 with_test_prefix here.
5074 (top level): Do it here instead. Remove `:' from the
5075 with_test_prefix string.
5076 * gdb.base/attach-pie-misread.exp: Remove the leading space the
5077 the suffix `:' from the with_test_prefix prefix string.
5078 * gdb.base/break-interp.exp: Ditto.
5079 * gdb.base/catch-load.exp: Ditto.
5080 * gdb.base/disp-step-syscall.exp: Ditto.
5081 * gdb.base/jit-so.exp: Ditto.
5082 * gdb.base/jit.exp: Ditto.
5083 * gdb.base/sepdebug.exp: Ditto.
5084 * gdb.base/solib-display.exp: Ditto.
5085 * gdb.base/solib-overlap.exp: Ditto.
5086 * gdb.base/watch-cond-infcall.exp: Ditto.
5087 * gdb.base/watchpoint.exp: Ditto.
5088 * gdb.dwarf2/dw2-noloc.exp: Ditto.
5089 * gdb.mi/mi-watch.exp: Ditto.
5090 * gdb.mi/mi2-watch.exp: Ditto.
5091 * gdb.threads/non-ldr-exc-1.exp: Ditto.
5092 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5093 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5094 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5095 * gdb.threads/watchpoint-fork.exp: Ditto.
5096 * gdb.threads/watchthreads-reorder.exp: Ditto.
5097 * gdb.trace/change-loc.exp: Ditto.
5098 * gdb.trace/pending.exp: Ditto.
5099 * gdb.trace/status-stop.exp: Ditto.
5100 * gdb.trace/strace.exp: Ditto.
5101 * gdb.trace/trace-break.exp: Ditto.
5102 * gdb.trace/unavailable.exp: Ditto.
5103 * lib/gdb.exp (with_test_prefix): Always prefix with space and
5104 suffix with colon. Adjust leading comments.
5105
6a5870ce
PA
51062012-02-21 Pedro Alves <palves@redhat.com>
5107 Tom Tromey <tromey@redhat.com>
5108
5109 * lib/gdb.exp: Add description of test prefixes.
5110 (with_test_prefix): New procedure.
5111 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
5112 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
5113 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
5114 instead of lappend to append to pf_prefix.
5115 * gdb.base/catch-load.exp: Use with_test_prefix.
5116 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
5117 * gdb.base/jit-so.exp: Use with_test_prefix.
5118 * gdb.base/jit.exp: Use with_test_prefix.
5119 * gdb.base/return-nodebug.exp (do_test): Use append instead of
5120 lappend to append to pf_prefix.
5121 * gdb.base/sepdebug.exp: Use with_test_prefix.
5122 * gdb.base/solib-display.exp: Use with_test_prefix.
5123 * gdb.base/solib-overlap.exp: Use with_test_prefix.
5124 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
5125 * gdb.base/watchpoint.exp: Use with_test_prefix.
5126 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
5127 * gdb.mi/mi-watch.exp: Use with_test_prefix.
5128 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
5129 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
5130 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
5131 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
5132 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
5133 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
5134 append instead of lappend to append to pf_prefix.
5135 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
5136 * gdb.trace/change-loc.exp: Use with_test_prefix.
5137 * gdb.trace/pending.exp: Use with_test_prefix.
5138 * gdb.trace/status-stop.exp: Use with_test_prefix.
5139 * gdb.trace/strace.exp: Use with_test_prefix.
5140 * gdb.trace/trace-break.exp: Use with_test_prefix.
5141 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
5142 instead of lappend to append to pf_prefix.
5143
35dc4a6b
JK
51442012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5145
5146 Fix racy FAILs.
5147 * gdb.base/inferior-died.c (main): Add return of 0.
5148 * gdb.base/inferior-died.exp (continue): Fix expectation of
5149 asynchronous events.
5150 (p 1): New test.
5151
c5a006e6
PA
51522012-02-20 Pedro Alves <palves@redhat.com>
5153
5154 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
5155 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
5156 gdb's internal debug output. For the non-threaded case, look for
5157 "Program received signal SIGLARM", for the threaded case, peek at
5158 the thread's siginfo.
5159
cc51a170
PA
51602012-02-20 Pedro Alves <palves@redhat.com>
5161
5162 General cleanup, make output test messages unique, and build
5163 different executable files for the non-threaded and threaded
5164 cases.
5165
5166 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
5167 Delete.
5168 (executable_nothr, executable_thr): New globals.
5169 (top level): Adjust to delete both executables.
5170 (corefunc): New parameter $executable. Set $pf_prefix instead of
5171 hand writing a prefix in tests. Issue a clean_restart and enable
5172 lin-lwp debug output here.
5173 (top level): Adjust. Use build_executable. Don't start gdb here,
5174 and don't enable lin-lwp debug output here.
5175 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
5176
c755f03d
JK
51772012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5178
5179 Fix racy FAILs.
5180 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
5181 "continue" command.
5182
6bec5e0a
JK
51832012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5184
5185 Fix for gdbserver non-extended mode.
5186 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
5187 and gdb_run_cmd.
5188
2e8265fd
TT
51892012-02-17 Tom Tromey <tromey@redhat.com>
5190
5191 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
5192 * gdb.python/py-events.exp: Check 'dir' output.
5193 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
5194
9e507076
YQ
51952012-02-17 Yao Qi <yao@codesourcery.com>
5196
5197 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
5198
32d22ab1
TT
51992012-02-16 Tom Tromey <tromey@redhat.com>
5200
5201 * gdb.base/inferior-died.c: Don't include stdio.h.
5202
9addecb9
TT
52032012-02-16 Tom Tromey <tromey@redhat.com>
5204
5205 * gdb.base/inferior-died.c: New file.
5206 * gdb.base/inferior-died.exp: New file.
5207
4cb6da1c
AR
52082012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
5209
5210 * gdb.base/break-inline.exp: New file.
5211 * gdb.base/break-inline.c: New file.
5212
3af2590d
TT
52132012-02-15 Tom Tromey <tromey@redhat.com>
5214
5215 * gdb.base/pc-fp.exp: Add "info register" tests.
5216
29988831
TT
52172012-02-15 Tom Tromey <tromey@redhat.com>
5218
5219 * gdb.base/regs.exp: Remove.
5220
10010058
PA
52212012-02-15 Pedro Alves <palves@redhat.com>
5222
5223 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
5224 the target doesn't support tracepoints.
5225 * gdb.trace/circ.exp: Ditto.
5226 * gdb.trace/collection.exp: Ditto.
5227 * gdb.trace/packetlen.exp: Ditto.
5228 * gdb.trace/passc-dyn.exp: Ditto.
5229 * gdb.trace/report.exp: Ditto.
5230 * gdb.trace/tfind.exp: Ditto.
5231 * gdb.trace/tspeed.exp: Ditto.
5232 * gdb.trace/tsv.exp: Ditto.
5233 * gdb.trace/unavailable.exp: Ditto.
5234 * gdb.trace/while-dyn.exp: Ditto.
5235
a2e0062d
PA
52362012-02-15 Pedro Alves <palves@redhat.com>
5237
5238 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
5239 gdb_test_multiple, and call unsupported instead of fail, if the
5240 remote side does not support the request.
5241
a1999d40
PA
52422012-02-15 Pedro Alves <palves@redhat.com>
5243
5244 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
5245 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
5246 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
5247 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
5248 * gdb.server/server-run.exp: Make sure gdb is disconnected.
5249 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
5250 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
5251 doesn't start with "extended-" already.
5252
7cee1e54
PA
52532012-02-15 Pedro Alves <palves@redhat.com>
5254
5255 Support extended-remote. Avoid cascading timeouts.
5256
5257 * gdb.base/attach.exp (do_attach_tests): Add expected output for
5258 the extended-remote target. If attaching with no file fails, load
5259 the file manually.
5260 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
5261
816338b5
SS
52622012-02-14 Stan Shebs <stan@codesourcery.com>
5263
5264 * gdb.base/ena-dis-br.exp: Add enable count test.
5265
cc30c4bd
PA
52662012-02-13 Pedro Alves <palves@redhat.com>
5267
5268 * config/mips-idt.exp: Delete.
5269 * gdb.base/a2-run.exp: Remove mips-idt xfails.
5270 * gdb.base/bitfields.exp: Remove mips-idt restarts.
5271 * gdb.base/break.exp: Remove mips-idt references.
5272 * gdb.base/chng-syms.exp: Ditto.
5273 * gdb.base/default.exp: Ditto.
5274 * gdb.base/funcargs.exp (funcargs_reload): Delete.
5275 (top level): Don't call it.
5276 * gdb.base/opaque.exp: Remove mips-idt restarts.
5277 * gdb.base/ptype.exp: Remove mips-idt xfails.
5278 * gdb.base/scope.exp: Remove mips-idt restarts.
5279 * gdb.base/sepdebug.exp: Remove mips-idt references.
5280 * gdb.base/watchpoint.exp (maybe_clean_restart)
5281 (maybe_reinitialize): Delete.
5282 (test_disabling_watchpoints, test_disabling_watchpoints)
5283 (test_watchpoint_triggered_in_syscall)
5284 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5285 Don't call them.
5286
57008375
JK
52872012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5288
5289 * gdb.server/server-exec-info.exp: New file.
5290
4a2d9c08
PA
52912012-02-10 Pedro Alves <palves@redhat.com>
5292
5293 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
5294 always non-empty.
5295 (test_attach): Always pass $exec to test_attach_gdb.
5296
09fa21bd
TT
52972012-02-08 Tom Tromey <tromey@redhat.com>
5298
5299 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
5300 before inferior is started.
5301
f0823d2c
TT
53022012-02-07 Tom Tromey <tromey@redhat.com>
5303
5304 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
5305 Symbol.value.
5306 * gdb.python/py-symbol.c (qq): Set default value.
5307
53082012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
5309
5310 * gdb.python/py-symbol.c (qq): New global.
5311 * gdb.python/py-symbol.exp: Add test for frame-less
5312 lookup_symbol.
5313 * gdb.python/py-symtab.exp: Fix line number.
5314
f7e44f65
JB
53152012-02-03 Joel Brobecker <brobecker@adacore.com>
5316
5317 * gdb.ada/mi_task_arg: New testcase.
5318
4c9ed63c
PA
53192012-02-02 Pedro Alves <palves@redhat.com>
5320
5321 * gdb.reverse/until-precsave.exp: Also put "record save" under the
5322 extended timeout.
5323
c0b9f2c6
PA
53242012-02-02 Pedro Alves <palves@redhat.com>
5325
5326 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
5327 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
5328
5f8cefd7
PA
53292012-02-02 Pedro Alves <palves@redhat.com>
5330
5331 * gdb.base/term.exp: Rewrite.
5332 * gdb.base/term.c: New.
5333
2f3a2569
PA
53342012-02-02 Pedro Alves <palves@redhat.com>
5335
5336 * gdb.base/default.exp (run "r" abbreviation, run): Add
5337 extended-remote expected output.
5338
f149aabd
TT
53392012-02-02 Tom Tromey <tromey@redhat.com>
5340
5341 * gdb.cp/dispcxx.exp: New file.
5342 * gdb.cp/dispcxx.cc: New file.
5343
03bef283
TT
53442012-02-01 Tom Tromey <tromey@redhat.com>
5345
5346 * gdb.base/jit-simple.exp: New file.
5347 * gdb.base/jit-simple.c: New file.
5348
a79b18b5
YQ
53492012-01-30 Yao Qi <yao@codesourcery.com>
5350
5351 * gdb.base/skip.exp: Make test result unique.
5352
f0d1a53e
JK
53532012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5354
5355 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
5356 compatibility with valgrind-3.7.0.
5357
4b3c9f41
PA
53582012-01-27 Pedro Alves <palves@redhat.com>
5359
5360 * gdb.base/watchpoint.exp (no_hw): New global.
5361 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
5362 disable hw watchpoints.
5363 (test_wide_location_1, test_wide_location_2): If no_hw is set,
5364 don't expect hw watchpoints.
5365 (no_hw_watchpoints): Always clean restart.
5366 (do_tests): New procedure, factored out from the top level.
5367 (top level): Run tests twice. Once with hw watchpoints enabled,
5368 another time with hw watchpoints disabled.
5369
a13491c8
PA
53702012-01-27 Pedro Alves <palves@redhat.com>
5371
5372 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
5373 out from the top level.
5374 (top level): Call it instead.
5375
f2c8a051
PA
53762012-01-27 Pedro Alves <palves@redhat.com>
5377
5378 * gdb.base/watchpoint.exp (top level): Re-enable hardware
5379 watchpoints sooner.
5380
654d7a9e
PA
53812012-01-27 Pedro Alves <palves@redhat.com>
5382
5383 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
5384
274f47f3
PA
53852012-01-27 Pedro Alves <palves@redhat.com>
5386
5387 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
5388 "You may have requested too many hardware
5389 breakpoints/watchpoints".
5390
e4d63ba2
PA
53912012-01-27 Pedro Alves <palves@redhat.com>
5392
5393 * gdb.base/watchpoint.exp (maybe_clean_restart)
5394 (maybe_reinitialize): New.
5395 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
5396 expect "hit N times".
5397 (test_disabling_watchpoints, test_complex_watchpoint)
5398 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
5399 Call maybe_clean_restart.
5400 (top level): Use clean_restart. Remove "mips-idt-*"
5401 reinitialization.
5402
dbd95daf
PA
54032012-01-27 Pedro Alves <palves@redhat.com>
5404
5405 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
5406
f3ad2025
PA
54072012-01-27 Pedro Alves <palves@redhat.com>
5408
5409 * gdb.base/watchpoint.exp: Clean restart after tests that don't
5410 require `initialize' anymore. Remove unnecessary `initialize'
5411 calls.
5412
100aa3ae
PA
54132012-01-27 Pedro Alves <palves@redhat.com>
5414
5415 * gdb.base/watchpoint.exp (wp_set): Delete.
5416 (initialize, test_simple_watchpoint, top level): Remove dead code.
5417
c79a8e11
PA
54182012-01-27 Pedro Alves <palves@redhat.com>
5419
5420 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
5421 typo.
5422
048fe15a
PA
54232012-01-27 Pedro Alves <palves@redhat.com>
5424
5425 * config/extended-gdbserver.exp: New file.
5426 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
5427 comment.
5428 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
5429 * boards/native-extended-gdbserver.exp: New file.
5430
4033a6bf
PA
54312012-01-26 Pedro Alves <palves@redhat.com>
5432
5433 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
5434 and gdb_test_multiple.
5435
3d7f4b81
PA
54362012-01-26 Pedro Alves <palves@redhat.com>
5437
5438 Make test messages unique, and more identifiable.
5439 * gdb.multi/watchpoint-multi.exp: Change test messages.
5440
484abf42
TT
54412012-01-25 Tom Tromey <tromey@redhat.com>
5442
5443 * gdb.base/solib-disc.exp: Fix regexps.
5444
edcc5120
TT
54452012-01-24 Tom Tromey <tromey@redhat.com>
5446
5447 * lib/mi-support.exp (mi_expect_stop): Add special case for
5448 solib-event.
5449 * gdb.base/catch-load-so.c: New file.
5450 * gdb.base/catch-load.exp: New file.
5451 * gdb.base/catch-load.c: New file.
5452 * gdb.base/break-interp.exp (reach_1): Update regexp.
5453
30b91c90
JK
54542012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5455
5456 Fix fuzzy results.
5457 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
5458 lpsimple and func.
5459
53fe1783
GB
54602012-01-24 Gary Benson <gbenson@redhat.com>
5461
5462 Delete #if 0'd out code.
5463 * gdb.base/default.exp (info catch): Remove.
5464 * gdb.base/gdb_history (info catch): Likewise.
5465 * gdb.base/help.exp (info catch): Likewise.
5466
d0d8b0c6
JK
54672012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5468
5469 Fix watchpoints to be specific for each inferior.
5470 * gdb.multi/watchpoint-multi.c: New file.
5471 * gdb.multi/watchpoint-multi.exp: New file.
5472
4403d8e9
JK
54732012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5474
5475 Fix watchpoints across inferior fork.
5476 * gdb.threads/watchpoint-fork-child.c: New file.
5477 * gdb.threads/watchpoint-fork-mt.c: New file.
5478 * gdb.threads/watchpoint-fork-parent.c: New file.
5479 * gdb.threads/watchpoint-fork-st.c: New file.
5480 * gdb.threads/watchpoint-fork.exp: New file.
5481 * gdb.threads/watchpoint-fork.h: New file.
5482
050a2e1d
PA
54832012-01-23 Pedro Alves <palves@redhat.com>
5484
5485 * gdb.base/call-signal-resume.exp: Allow output after "return".
5486
6a52fb62
PA
54872012-01-20 Pedro Alves <palves@redhat.com>
5488
5489 * gdb.python/py-finish-breakpoint.py: Fix typo.
5490
145b16a9
UW
54912012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
5492
5493 * gdb.base/info-proc.exp: Also run on remote targets. Main
5494 "info proc" command is now always present; whether target supports
5495 actual info proc operation is detected when attempting to issue
5496 the command.
5497
26f6125e
JK
54982012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5499
5500 * .gdbinit: Remove.
5501
eb5227ce
PA
55022012-01-19 Pedro Alves <palves@redhat.com>
5503
5504 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
5505 look at the funtions' returns.
5506 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
5507 (jprint.print(int, int)): Change return type to int. Adjust.
5508
1db33378
PP
55092012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5510
5511 PR gdb/9538
5512 * gdb.base/sepdebug.exp: New test.
5513
b9736cf8
PA
55142012-01-18 Pedro Alves <palves@redhat.com>
5515
5516 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
5517 Allow output before ^done.
5518
4aac40c8
TT
55192012-01-16 Tom Tromey <tromey@redhat.com>
5520
5521 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
5522 Add tests for relative directory.
5523
cafec441
TT
55242012-01-16 Tom Tromey <tromey@redhat.com>
5525
5526 * gdb.base/printcmds.c (enum flag_enum): New.
5527 (three): New global.
5528 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
5529 enum printing.
5530 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
5531 FlagEnumerationPrinter.
5532 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
5533 * gdb.python/py-pp-maint.c (enum flag_enum): New.
5534 (fval): New global.
5535
abcc4978
PA
55362012-01-16 Pedro Alves <palves@redhat.com>
5537
5538 * lib/gdb.exp (banned_procedures): New variable.
5539 (banned_variables_traced): Rename to ...
5540 (banned_traced): ... this.
5541 (gdb_init): Also trace banned procedures.
5542 (gdb_finish): Also untrace banned procedures.
5543
97ccebe8
PA
55442012-01-16 Pedro Alves <palves@redhat.com>
5545
5546 Remove all calls to strace.
5547
2af7517b
JK
55482012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5549
5550 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
5551 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
5552
9241a8bc
PP
55532012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5554
5555 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
5556 * gdb.base/pie-execl.exp: Likewise.
5557
3848a17f
KS
55582012-01-12 Keith Seitz <keiths@redhat.com>
5559
5560 PR mi/10586
5561 * gdb.mi/var-cmd.c (struct anonymous): New structure.
5562 (do_anonymous_type_tests): New function.
5563 (main): Call do_anonymous_type_tests.
5564 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
5565 (verify_everything): New procedure.
5566 * gdb.mi/mi-var-cp.cc (class A): New class.
5567 (anonymous_structs_and_unions): New function.
5568 (main): Call anonymous_structs_and_unions.
5569 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
5570 (verify_everything): New procedure.
5571
440e2fca
KS
55722012-01-12 Keith Seitz <keiths@redhat.com>
5573
5574 * lib/mi-support.exp: Expand comments about PATH_EXPR.
5575 (varobj_tree::get_path_expr): Assume that all varobjs are
5576 compound unless they are known simple types.
5577 Adjust path expressions based on parent type, path parent type,
5578 and tree language.
5579 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
5580 the root varobj.
5581 (mi_walk_varobj_tree): Add LANGUAGE parameter.
5582
675399c9
PA
55832012-01-11 Pedro Alves <palves@redhat.com>
5584
5585 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
5586 core files on this machine" anymore.
5587
97ddaa9b
PH
55882012-01-11 Paul Hilfinger <hilfingr@adacore.com>
5589
5590 * gdb.base/watchpoint.c (recurser): Initialize local_x.
5591 (main): Repeat recurser call.
5592 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
5593 equivalent to 'local_x'.
5594
ea733575 55952012-01-11 Paul Hilfinger <hilfingr@adacore.com>
6fdff2c5 5596 Joel Brobecker <brobecker@adacore.com>
ea733575
PH
5597
5598 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
5599
2ca0b532
PA
56002012-01-05 Pedro Alves <alves.ped@gmail.com>
5601
5602 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
5603 * gdb.python/py-events.c (first): Add bits for new "step N" test.
5604 * gdb.python/py-events.exp: Test that "step N" tripping on a
5605 breakpoint emits a breakpoint event.
5606
6e681866
JB
56072012-01-03 Joel Brobecker <brobecker@adacore.com>
5608
5609 * gdb.base/auxv.exp: Reformat the copyright notice.
5610
3c2d6aff
YQ
56112012-01-03 Yao Qi <yao@codesourcery.com>
5612
5613 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
5614 (strace_trace_on_diff_addr): New.
5615 * gdb.trace/strace.c: (main): Add two local variables.
5616
0852fee3
UW
56172011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
5618
5619 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
5620 * gdb.cell/gcore.exp: Likewise.
5621 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
5622 to verify the correct instance of main is selected.
5623
12c3e59c
JB
56242012-01-02 Joel Brobecker <brobecker@adacore.com>
5625
5626 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
5627 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
5628 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
5629 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
5630 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
5631 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
5632 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
5633 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
5634 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
5635 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
5636 gdb.threads/thread_check.c: Reformat copyright header.
5637
c0f378ec
EBM
56382011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
5639
e4a7ca93 5640 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
5641 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
5642 is not enabled.
5643
3bc96cfb
JK
56442011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5645
5646 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
5647 parameter to self_exec, adjust the function.
5648 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
5649 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
5650 (set var do_exit = 0): Remove test.
5651 (newline at end of file): Add one.
5652
095bcf5e
JB
56532011-12-27 Joel Brobecker <brobecker@adacore.com>
5654
5655 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
5656 New files.
5657
18d19bd1
JK
56582011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5659
5660 Fix racy FAILs.
5661 * gdb.threads/fork-thread-pending.c (barrier): New variable.
5662 (thread_function, thread_forker): Call pthread_barrier_wait for it.
5663 (main): Call pthread_barrier_init for it.
5664
e809353a
JK
56652011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5666
5667 Fix double send_gdb leading to racy FAILs.
5668 * gdb.base/break.exp (set silent break bp_location1): Replace
5669 3x send_gdb and gdb_expect by gdb_test.
5670 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
5671 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
5672 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
5673 instead of send_gdb. Twice.
5674 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
5675 3x send_gdb and gdb_expect by gdb_test.
5676 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
5677
da8cb7ec
JK
56782011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5679
5680 * gdb.linespec/linespec.exp: Compile using {c++}.
5681
ae1a303e
JK
56822011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5683
5684 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
5685 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
5686 (verify GCC PR debug/51668): New test.
5687
cc72b2a2
KP
56882011-12-23 Kevin Pouget <kevin.pouget@st.com>
5689
5690 Introduce gdb.FinishBreakpoint in Python.
5691 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
5692 py-finish-breakpoint2
5693 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
5694 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
5695 instead of line number.
5696 * gdb.python/py-finish-breakpoint.c: New file.
5697 * gdb.python/py-finish-breakpoint.exp: New file.
5698 * gdb.python/py-finish-breakpoint.py: New file.
5699 * gdb.python/py-finish-breakpoint2.cc: New file.
5700 * gdb.python/py-finish-breakpoint2.exp: New file.
5701 * gdb.python/py-finish-breakpoint2.py: New file.
5702
3b7962f9
JK
57032011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5704
5705 Partial fix of compatibility with gcc-4.7.
5706 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
5707 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
5708 Add comment to add a PASS case in the future.
5709
6538471c
JK
5710 Fix compatibility with gcc-4.7.
5711 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
5712
7052e42c
UW
57132011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
5714
5715 PR tdep/12797
5716 * gdb.base/callfuncs.exp: Remove KFAIL.
5717
9ac7f98e
JB
57182011-12-21 Joel Brobecker <brobecker@adacore.com>
5719
5720 * gdb.ada/task_bp: New testcase.
5721
f6eeced0
JK
57222011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5723
5724 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
5725 -DNO_SECTIONS.
5726 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
5727
72225e17
JK
57282011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5729
5730 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
5731 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
5732 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5733 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
5734 conditional for gcc <= 4.5.
5735
13ac8d2c
JK
57362011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5737
5738 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
5739 by XFAIL.
5740 * gdb.cp/static-method.exp (info addr A::func())
5741 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5742 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5743 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5744 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
5745 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
5746 (test value of F in k3_m): Likewise.
5747 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
5748 Likewise.
5749
049682ba
JK
57502011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
5753 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
5754 Remove.
5755 * gdb.threads/attachstop-mt.c: Remove.
5756 * gdb.threads/attachstop-mt.exp: Remove.
5757
2c9d8796
MK
57582011-12-17 Mark Kettenis <kettenis@gnu.org>
5759
5760 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
5761
e0f9f062
DE
57622011-12-16 Doug Evans <dje@google.com>
5763
f4aa2101 5764 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
5765 * boards/native-gdbserver.exp: New file.
5766
e0f9f062
DE
5767 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
5768 gdbserver output.
5769 (gdbserver_default_get_remote_address): New function.
5770 (gdbserver_start): Call gdb,get_remote_address to compute argument
5771 to "target remote" command.
5772
80b6e756
PM
57732011-12-16 Phil Muldoon <pmuldoon@redhat.com>
5774
1c3ad6ab 5775 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
5776 python print-stack. Add set/show python print-stack
5777 off|full|message tests.
5778
1576bd00
YQ
57792011-12-15 Yao Qi <yao@codesourcery.com>
5780
5781 * gdb.trace/strace.c: New
5782 * gdb.trace/strace.exp: New.
5783
d6a0f6e0
TT
57842011-12-14 Tom Tromey <tromey@redhat.com>
5785
5786 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
5787
31015e1d
DE
57882011-12-14 Doug Evans <dje@google.com>
5789
5790 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
5791
7b50312a
PA
57922011-12-14 Pedro Alves <pedro@codesourcery.com>
5793
5794 PR threads/10729
5795
5796 * gdb.mi/watch-nonstop.c: New file.
6fdff2c5 5797 * gdb.mi/mi-watch-nonstop.exp: New file.
7b50312a 5798
924437bc
PA
57992011-12-13 Pedro Alves <pedro@codesourcery.com>
5800 Doug Evans <dje@google.com>
5801
5802 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
5803 (clean_restart): Remove references to the gdb_stub target board
5804 variable.
5805 (gdb_step_for_stub): Delete.
5806
5807 * gdb.base/annota1.exp: Remove all references to [target_info
5808 exists gdb_stub], gdb_step_for_stub and usestubs.
5809 * gdb.base/annota3.exp: Ditto.
5810 * gdb.base/async.exp: Ditto.
5811 * gdb.base/break.exp: Ditto.
5812 * gdb.base/code-expr.exp: Ditto.
5813 * gdb.base/commands.exp: Ditto.
5814 * gdb.base/completion.exp: Ditto.
5815 * gdb.base/condbreak.exp: Ditto.
5816 * gdb.base/consecutive.exp: Ditto.
5817 * gdb.base/cvexpr.exp: Ditto.
5818 * gdb.base/define.exp: Ditto.
5819 * gdb.base/display.exp: Ditto.
5820 * gdb.base/ena-dis-br.exp: Ditto.
5821 * gdb.base/environ.exp: Ditto.
5822 * gdb.base/gnu-ifunc.exp: Ditto.
5823 * gdb.base/maint.exp: Ditto.
5824 * gdb.base/pending.exp: Ditto.
5825 * gdb.base/sect-cmd.exp: Ditto.
5826 * gdb.base/sepdebug.exp: Ditto.
5827 * gdb.base/unload.exp: Ditto.
5828 * gdb.base/watchpoint-solib.exp: Ditto.
5829 * gdb.cp/annota2.exp: Ditto.
5830 * gdb.cp/annota3.exp: Ditto.
5831 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
5832 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
5833 * gdb.mi/mi-pending.exp: Ditto.
5834 * gdb.trace/circ.exp: Ditto.
5835 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
5836 * gdb.base/list.exp: Ditto.
5837
5838 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5839 breakpoint function and all references to the usestubs macro.
5840 * gdb.base/exprs.c: Ditto.
5841 * gdb.base/freebpcmd.c: Ditto.
5842 * gdb.base/bitfields.c: Ditto.
5843 * gdb.base/bitfields2.c: Ditto.
5844 * gdb.base/break.c: Ditto.
5845 * gdb.base/call-sc.c: Ditto.
5846 * gdb.base/call-signals.c: Ditto.
5847 * gdb.base/callfuncs.c: Ditto.
5848 * gdb.base/charset.c: Ditto.
5849 * gdb.base/consecutive.c: Ditto.
5850 * gdb.base/constvars.c: Ditto.
5851 * gdb.base/funcargs.c: Ditto.
5852 * gdb.base/int-type.c: Ditto.
5853 * gdb.base/interrupt.c: Ditto.
5854 * gdb.base/langs0.c: Ditto.
5855 * gdb.base/list0.c: Ditto.
5856 * gdb.base/mips_pro.c: Ditto.
5857 * gdb.base/miscexprs.c: Ditto.
5858 * gdb.base/nodebug.c: Ditto.
5859 * gdb.base/opaque0.c: Ditto.
5860 * gdb.base/pointers.c: Ditto.
5861 * gdb.base/printcmds.c: Ditto.
5862 * gdb.base/ptype.c: Ditto.
5863 * gdb.base/recurse.c: Ditto.
5864 * gdb.base/reread1.c: Ditto.
5865 * gdb.base/reread2.c: Ditto.
5866 * gdb.base/restore.c: Ditto.
5867 * gdb.base/return.c: Ditto.
5868 * gdb.base/run.c: Ditto.
5869 * gdb.base/scope0.c: Ditto.
5870 * gdb.base/sepdebug.c: Ditto.
5871 * gdb.base/setshow.c: Ditto.
5872 * gdb.base/setvar.c: Ditto.
5873 * gdb.base/sigall.c: Ditto.
5874 * gdb.base/signals.c: Ditto.
5875 * gdb.base/structs.c: Ditto.
5876 * gdb.base/structs2.c: Ditto.
5877 * gdb.base/testenv.c: Ditto.
5878 * gdb.base/twice.c: Ditto.
5879 * gdb.base/unwindonsignal.c: Ditto.
5880 * gdb.base/watchpoint.c: Ditto.
5881 * gdb.base/watchpoints.c: Ditto.
5882 * gdb.base/whatis.c: Ditto.
5883 * gdb.cp/classes.cc: Ditto.
5884 * gdb.cp/cplusfuncs.cc: Ditto.
5885 * gdb.cp/derivation.cc: Ditto.
5886 * gdb.cp/formatted-ref.cc: Ditto.
5887 * gdb.cp/misc.cc: Ditto.
5888 * gdb.cp/overload.cc: Ditto.
5889 * gdb.cp/ovldbreak.cc: Ditto.
5890 * gdb.cp/ref-params.cc: Ditto.
5891 * gdb.cp/ref-types.cc: Ditto.
5892 * gdb.cp/templates.cc: Ditto.
5893 * gdb.cp/virtfunc.cc: Ditto.
5894 * gdb.hp/gdb.aCC/run.c: Ditto.
5895 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5896 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5897 * gdb.reverse/consecutive-reverse.c: Ditto.
5898 * gdb.reverse/sigall-reverse.c: Ditto.
5899 * gdb.reverse/until-reverse.c: Ditto.
5900 * gdb.reverse/watch-reverse.c: Ditto.
5901 * gdb.trace/actions.c: Ditto.
5902 * gdb.trace/circ.c: Ditto.
5903 * gdb.trace/collection.c: Ditto.
5904
fabde485
PA
59052011-12-13 Pedro Alves <pedro@codesourcery.com>
5906
5907 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5908 (func6, func7): New.
5909 (main): Call func6 and func7.
5910 * gdb.base/watchpoint.exp (test_wide_location_1)
5911 (test_wide_location_2): New.
5912 (top level): Re-enable hardware watchpoints if necessary. Call
5913 test_wide_location_1 and test_wide_location_2.
5914
ff7d1690
YQ
59152011-12-11 Yao Qi <yao@codesourcery.com>
5916
5917 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5918
a6af7abe
JB
59192011-12-11 Joel Brobecker <brobecker@adacore.com>
5920
5921 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5922 expected output for unsupported case.
5923
61638e15
JK
59242011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5925
5926 PR testsuite/12649
5927 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5928 Protect gdb_test_multiple by final $gdb_prompt match.
5929
0a00efc3
JK
59302011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5931
5932 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5933 New variable, new test.
5934 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5935 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5936 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5937 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5938 them if HAVE_GCC_45682_FIXED is not set.
5939
4511b1ba
YQ
59402011-12-10 Yao Qi <yao@codesourcery.com>
5941
5942 * gdb.trace/status-stop.exp: New.
5943 * gdb.trace/status-stop.c: New.
5944
27949e73
JK
59452011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5946
5947 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5948 timeout.
5949
d8ea7931
TT
59502011-12-08 Tom Tromey <tromey@redhat.com>
5951
5952 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5953 condition.
5954
1cc310d2
SS
59552011-12-07 Stan Shebs <stan@codesourcery.com>
5956
5957 * gdb.trace/tfind.exp: Update for output changes.
5958
d482a875
PA
59592011-12-07 Pedro Alves <pedro@codesourcery.com>
5960
5961 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5962 throws "Cannot insert catchpoints in this configuration".
5963 * gdb.ada/mi_catch_ex.exp: Likewise.
5964
f0ba3972
PA
59652011-12-06 Pedro Alves <pedro@codesourcery.com>
5966
5967 * gdb.base/break-always.exp: Test changing memory at addresses
5968 with breakpoints inserted.
5969
f8eba3c6
TT
59702011-12-06 Joel Brobecker <brobecker@acacore.com>
5971
6fdff2c5
PA
5972 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5973 involving a fully qualified function name.
f8eba3c6
TT
5974
59752011-12-06 Tom Tromey <tromey@redhat.com>
5976
5977 * gdb.ada/homonym.exp: Add three breakpoint tests.
5978
59792011-12-06 Tom Tromey <tromey@redhat.com>
5980
5981 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5982 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5983 * gdb.objc/objcdecode.exp: Update for output changes.
5984 * gdb.linespec/linespec.exp: New file.
5985 * gdb.linespec/lspec.cc: New file.
5986 * gdb.linespec/lspec.h: New file.
5987 * gdb.linespec/body.h: New file.
5988 * gdb.linespec/base/two/thefile.cc: New file.
5989 * gdb.linespec/base/one/thefile.cc: New file.
5990 * gdb.linespec/Makefile.in: New file.
5991 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5992 output changes.
5993 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5994 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5995 makes one breakpoint.
5996 * gdb.cp/method2.exp (test_break): Update for output changes.
5997 * gdb.cp/mb-templates.exp: Update for output changes.
5998 * gdb.cp/mb-inline.exp: Update for output changes.
5999 * gdb.cp/mb-ctor.exp: Update for output changes.
6000 * gdb.cp/ovsrch.exp: Use fully-qualified names.
6001 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
6002 has multiple matches.
6003 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
6004 error message change.
6005 * gdb.base/list.exp (test_list_filename_and_number): Update for
6006 error message change.
6007 * gdb.base/break.exp: Disable pending breakpoints. Update for
6008 output changes.
6009 * configure.ac: Add gdb.linespec.
6010 * configure: Rebuild.
6011 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
6012
c642a434
UW
60132011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
6014
6015 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
6016 last_break register on s390*-*-* targets.
6017
b18003d1
JB
60182011-12-06 Joel Brobecker <brobecker@adacore.com>
6019
6020 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
6021 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
6022 of parameter X in procedure Foo.
6023
fe96589c
SS
60242011-12-05 Stan Shebs <stan@codesourcery.com>
6025
6026 * gdb.trace/tfind.exp: Update help string matches.
6027
1820ab47
JK
60282011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6029
6030 * gdb.server/ext-run.exp (get process list): Accept also systemd
6031 as PID 1.
6032
e11ac3a3
JK
60332011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6034 Pedro Alves <pedro@codesourcery.com>
6035
6036 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
6037 starting GDB.
6038 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
6039 $use_gdb_stub.
6040 * gdb.base/display.exp: Likewise.
6041 * gdb.base/ending-run.exp: Likewise.
6042 * gdb.base/list.exp (test_listsize): Likewise.
6043 * gdb.base/setshow.exp: Likewise.
6044 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
6045 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
6046 check by global $use_gdb_stub.
6047 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
6048 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
6049 (default_gdb_init): Unset global $use_gdb_stub.
6050 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
6051 by global $use_gdb_stub.
6052 * lib/gdbserver-support.exp: Extend comments for set_board_info
6053 gdb_protocol and gdb,socketport.
6054 (gdbserver_start_extended): Set global gdbserver_protocol and
6055 gdbserver_gdbport. Clear global use_gdb_stub.
6056 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
6057 from target use_gdb_stub.
6058 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
6059
1d41d75c
DE
60602011-12-03 Doug Evans <dje@google.com>
6061
6062 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
6063 (gdb_step_for_stub): Add comments.
6064
d6d7a51a
MR
60652011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
6066
6067 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
6068 to the caller.
6069 (gdb_test_multiple): Likewise.
6070
05acf274
JK
60712011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6072
6073 Fix gdb.mi/mi-solib.exp without system debug info installed.
6074 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
6075 expect attribute, return 0 for it. Update comments.
6076
2268b414
JK
60772011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6078
6079 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
6080 (corrupted list): Adjust the expectation.
6081
585861ea
JK
60822011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6083
6084 PR threads/13448
6085 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
6086 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
6087 * gdb.threads/tls-var-main.c: New file.
6088 * gdb.threads/tls-var.c: New file.
6089 * gdb.threads/tls-var.exp: New file.
6090
968643aa
JK
60912011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6092
6093 PR testsuite/12649
6094 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
6095 Protect gdb_test_multiple by final $gdb_prompt match.
6096 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
6097 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
6098 (test_tracepoints): Likewise.
6099
9750bca9
JK
61002011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6101
6102 PR breakpoints/13346
6103 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
6104 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
6105 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
6106
ac1349b7
JB
61072011-12-01 Joel Brobecker <brobecker@adacore.com>
6108
6109 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
6110 * gdb.ada/homonym/homonym.adb: For use of all types defined
6111 locally inside both Get_Value subprograms.
6112
26d44faf
JK
61132011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6114
6115 Fix racy FAILs.
6116 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
6117 of send_gdb.
6118
514f6425
UW
61192011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6120
6121 * gdb.base/testenv.exp: Skip on remote targets. Unset global
6122 environment variable after test completed.
6123
4255c8d2
UW
61242011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
6125
6126 * gdb.base/solib-nodir.exp: Skip if remote target.
6127 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
6128 application. Call gdb_load_shlibs.
6129 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
6130
a35ad96a
JB
61312011-11-29 Joel Brobecker <brobecker@adacore.com>
6132
6133 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
6134
1a1d5513
JB
61352011-11-28 Joel Brobecker <brobecker@adacore.com>
6136
6137 * gdb.ada/fullname_bp: New testcase.
6138
50b4ddf8
JK
61392011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6140
6141 PR testsuite/12649
6142 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
6143 Wrap send_gdb into a new gdb_test.
6144
fb0aec57
JK
6145 Code cleanup.
6146 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
6147 Convert send_gdb and gdb_expect to gdb_test_multiple.
6148
2376d946
JK
61492011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6150
6151 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
6152
1eec78bd
KS
61532011-11-23 Keith Seitz <keiths@redhat.com>
6154
6155 * lib/mi-support.exp (varobj_tree): New namespace and procs.
6156 (mi_varobj_tree_test_children_callback): New proc.
6157 (mi_walk_varobj_tree): New proc.
6158
36dfb11c
TT
61592011-11-22 Tom Tromey <tromey@redhat.com>
6160
6161 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
6162 Add "use_mi_command" argument.
6163 (mi_run_cmd, mi_run_with_cli): New procs.
6164 * gdb.mi/solib-lib.c: New file.
6165 * gdb.mi/solib-main.c: New file.
6166 * gdb.mi/mi-solib.exp: New file.
6167
0e965dd0
DE
61682011-11-21 Doug Evans <dje@google.com>
6169
6170 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
6171 _Unwind_DebugHook is missing.
6172
f196051f
SS
61732011-11-20 Stan Shebs <stan@codesourcery.com>
6174
6175 * gdb.trace/tstatus.exp: New.
6176 * gdb.trace/actions.c: Include string.h.
6177
bfccc43c
YQ
61782011-11-18 Yao Qi <yao@codesourcery.com>
6179
6180 * gdb.trace/pending.exp: New.
6181 * gdb.trace/pending.c: New.
6182 * gdb.trace/pendshr1.c: New.
6183 * gdb.trace/pendshr2.c: New.
6184 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
6185 tracepoint location becomes pending.
6186 (tracepoint_change_loc_2): New.
6187
73cd8ab1
DM
61882011-11-16 David S. Miller <davem@davemloft.net>
6189
6190 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
6191 target is sparc*-*-linux*
6192
77426730
PK
61932011-11-15 Paul Koning <paul_koning@dell.com>
6194
6195 * gdb.python/py-type.exp: New testcases for exceptions on scalar
6196 types.
6197
ed59ded5
DE
61982011-11-14 Doug Evans <dje@google.com>
6199
6200 * gdb.base/shell.exp: New file.
6201
405f8e94
SS
62022011-11-14 Stan Shebs <stan@codesourcery.com>
6203
6204 * gdb.trace/ftrace.c: New.
6205 * gdb.trace/ftrace.exp: New.
6206
1e4d1764
YQ
62072011-11-14 Yao Qi <yao@codesourcery.com>
6208
6209 * gdb.trace/change-loc-1.c: New.
6210 * gdb.trace/change-loc-2.c: New.
6211 * gdb.trace/change-loc.c: New.
6212 * gdb.trace/change-loc.exp: New.
6213 * gdb.trace/change-loc.h: New.
6214 * gdb.trace/trace-break.c (marker): Define new symbol.
6215 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
6fdff2c5 6216 New.
1e4d1764
YQ
6217 (break_trace_same_addr_6): New.
6218
71eba9c2 62192011-11-12 Matt Rice <ratmice@gmail.com>
6220
6221 * gdb.base/info-macros.exp: Make tests for info definitions
6222 test info macro. Add tests for info macro argument processing.
6223 Rename a few tests.
6224
1d93e29a
KS
62252011-11-11 Keith Seitz <keiths@redhat.com>
6226
6227 PR gdb/12843
6228 * gdb.base/linespecs.exp: New file.
6229
a4b5b48a
DE
62302011-11-11 Doug Evans <dje@google.com>
6231
6232 * gdb.threads/print-threads.exp: Extend timeout for slower
6233 tests.
6234
f6b47be4
DE
62352011-11-10 Doug Evans <dje@google.com>
6236
792a0230
DE
6237 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
6238 "record to end of main" test.
6239
f6b47be4
DE
6240 * gdb.python/py-type.c (TS): New typedef.
6241 (ts): New global.
6242 * gdb.python/py-type.exp: Test field list of typedef.
6243
22355c90
JB
62442011-11-10 Joel Brobecker <brobecker@adacore.com>
6245
6246 * gdb.ada/small_reg_param: New testcase.
6247
a7860e76
TT
62482011-11-09 Tom Tromey <tromey@redhat.com>
6249
6250 * gdb.cp/destrprint.exp: New file.
6251 * gdb.cp/destrprint.cc: New file.
6252
72a2e3dc
MI
62532011-11-08 Meador Inge <meadori@codesourcery.com>
6254
6255 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
6256 (switch_stack_to_other): New test function.
6257 * gdb.arch/thumb-prologue.exp: New test cases.
6258
c7195df2 62592011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
6260
6261 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
6262
d3895d7d
YQ
62632011-11-08 Yao Qi <yao@codesourcery.com>
6264
6265 * gdb.exp (supports_process_record): New.
6266 (supports_reverse): New.
6267 * gdb.reverse/break-precsave.exp: Call support_process_record
6268 to run test conditionally.
6269 * gdb.reverse/consecutive-precsave.exp: Likewise.
6270 * gdb.reverse/i386-precsave.exp: Likewise.
6271 * gdb.reverse/machinestate-precsave.exp: Likewise.
6272 * gdb.reverse/solib-precsave.exp: Likewise.
6273 * gdb.reverse/step-precsave.exp: Likewise.
6274 * gdb.reverse/until-precsave.exp: Likewise.
6275 * gdb.reverse/watch-precsave.exp: Likewise.
6276 * gdb.reverse/break-reverse.exp: Call support_reverse to run
6277 test conditionally.
6278 * gdb.reverse/consecutive-reverse.exp: Likewise.
6279 * gdb.reverse/finish-precsave.exp: Likewise.
6280 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
6281 * gdb.reverse/finish-reverse.exp: Likewise.
6282 * gdb.reverse/i386-reverse.exp: Likewise.
6283 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6284 * gdb.reverse/machinestate.exp: Likewise.
6285 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
6286 * gdb.reverse/sigall-precsave.exp: Likewise.
6287 * gdb.reverse/sigall-reverse.exp: Likewise.
6288 * gdb.reverse/solib-reverse.exp: Likewise.
6289 * gdb.reverse/step-reverse.exp: Likewise.
6290 * gdb.reverse/until-reverse.exp: Likewise.
6291 * gdb.reverse/watch-reverse.exp: Likewise.
6292
a59306a3
YQ
62932011-11-05 Yao Qi <yao@codesourcery.com>
6294
6295 * gdb.trace/trace-break.exp: Add test on setting two
6296 fast tracepoints at the same address.
6297
87769f59
JK
62982011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6299
6300 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
6301
3065dfb6
SS
63022011-11-02 Stan Shebs <stan@codesourcery.com>
6303
6304 * gdb.trace/collection.c: Add code using strings.
6305 * gdb.trace/collection.exp: Add tests of string collection.
6306
89e208db
JK
63072011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6308
6309 * gdb.base/skip-solib.exp (executable_main): New variable.
6310 (binfile_main): Base it on that.
6311 Use $executable_main in clean_restart calls. Drop gdb_exit and
6312 gdb_start calls.
6313
405e54e9
JK
63142011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6315
6316 Fix racy FAILs.
6317 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
6318 breakpoint_re globals import by async. Set string_regex to .* for
6319 async. Remove the optional thread_selected_re and breakpoint_re
6320 globals expectations.
6321
58e8570a
JM
63222011-11-01 Joseph Myers <joseph@codesourcery.com>
6323
6324 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
6325 well as Cygwin.
6326
7b35ec7f 63272011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
6328
6329 Add tests for skip command.
89e208db
JK
6330 * gdb.base/skip-solib-lib.c: New
6331 * gdb.base/skip-solib-main.c: New
6332 * gdb.base/skip-solib.exp: New
6333 * gdb.base/skip.c: New
6334 * gdb.base/skip.exp: New
6335 * gdb.base/skip1.c: New
6336 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 6337
b9fd1791
PA
63382011-10-31 Yao Qi <yao@codesourcery.com>
6339 Pedro Alves <pedro@codesourcery.com>
6340
6fdff2c5
PA
6341 * gdb.trace/trace-break.c: New.
6342 * gdb.trace/trace-break.exp: New.
b9fd1791 6343
4323fecc
JK
63442011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6345
6346 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
6347 break-here-2.
6348
0e5bf2a8
PA
63492011-10-28 Pedro Alves <pedro@codesourcery.com>
6350
6351 * gdb.threads/no-unwaited-for-left.c: New.
6352 * gdb.threads/no-unwaited-for-left.exp: New.
6353 * gdb.threads/non-ldr-exc-1.c: New.
6354 * gdb.threads/non-ldr-exc-1.exp: New.
6355 * gdb.threads/non-ldr-exc-2.c: New.
6356 * gdb.threads/non-ldr-exc-2.exp: New.
6357 * gdb.threads/non-ldr-exc-3.c: New.
6358 * gdb.threads/non-ldr-exc-3.exp: New.
6359 * gdb.threads/non-ldr-exc-4.c: New.
6360 * gdb.threads/non-ldr-exc-4.exp: New.
6361
3a3dad98
JK
63622011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6363
6364 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
6365 * gdb.base/attach-pie-misread.exp: Likewise.
6366 * gdb.base/break-interp.exp: Likewise.
6367 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
6368 testcases for use_gdb_stub.
6369 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
6370 (continue): New testcase.
6371 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
6372 * gdb.threads/attach-into-signal.exp: Likewise.
6373 * gdb.threads/attach-stopped.exp: Likewise.
6374 * gdb.threads/attachstop-mt.exp: Likewise.
6375
d6a5d40c
PK
63762011-10-28 Paul Koning <paul_koning@dell.com>
6377
6378 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
6379
ca539be8
JK
63802011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6381
6382 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
6383 (mi_gdb_test): Import globals thread_selected_re
6384 and breakpoint_re. Expect them optionally at the regex start.
6385
d234ef5c
DE
63862011-10-27 Doug Evans <dje@google.com>
6387
6388 * gdb.python/python.exp: Test source -s.
6389
ab964825
PK
63902011-10-26 Paul Koning <paul_koning@dell.com>
6391
6392 * gdb.python/lib-types.cc (struct A): New structure.
6393 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 6394
54d8a644
PK
63952011-10-25 Paul Koning <paul_koning@dell.com>
6396
6397 PR python/13327
d234ef5c 6398
54d8a644
PK
6399 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
6400 fetch_lazy method.
6401
b0221781
YQ
64022011-10-24 Yao Qi <yao@codesourcery.com>
6403
6404 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
6405 target is tic6x-*-*.
6406
6cda5a20
JB
64072011-10-21 Joel Brobecker <brobecker@adacore.com>
6408
6409 * gdb.ada/mi_task_info/task_switch.adb: New file.
6410 * gdb.ada/mi_task_info.exp: New file.
6411
5ed9db04
JK
64122011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6413
6414 * gdb.cp/expand-psymtabs-cxx.exp: New file.
6415 * gdb.cp/expand-psymtabs-cxx.cc: New file.
6416
9df2fbc4
PM
64172011-10-20 Phil Muldoon <pmuldoon@redhat.com>
6418
6419 PR python/12656
6420
6421 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
6422 global_block tests.
6423
736086ba
TT
64242011-10-18 Tom Tromey <tromey@redhat.com>
6425
6426 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
6427
4af31552
TT
64282011-10-18 Tom Tromey <tromey@redhat.com>
6429
6430 * gdb.base/source.exp: Don't include full file name in test name.
6431 * gdb.python/python.exp: Don't include full file name in test
6432 name.
6433
43136979
AR
64342011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6435
6436 * gdb.base/attach-pie-noexec.c: New files.
6437 * gdb.base/attach-pie-noexec.exp: New files.
6438
543a9323
JM
64392011-10-17 Joseph Myers <joseph@codesourcery.com>
6440
6441 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
6442 prompt for each extra line in command.
6443
21ae7a4d
JK
64442011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6445
6446 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
6447 Revert the part of:
6448 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6449 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6450 Change the expected string.
6451
20ec36d9
JK
64522011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6453
6454 Fix results with system glibc debug info installed.
6455 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
6456 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
6457 Accept also __libc_ symbol prefix and no prefix.
6458
6501c2fc
KS
64592011-10-14 Keith Seitz <keiths@redhat.com>
6460
6461 PR c++/13225
6462 * gdb.cp/converts.cc (foo3_1): New function.
6463 (foo3_2): New functions.
6464 * gdb.cp/converts.exp: Add tests for int to pointer conversion
6465 and null pointer conversions of integer constant zero.
6466 Add test to check if all arguments are checked for incompatible
6467 conversion BADNESS.
6468
55b1fd0c
TT
64692011-10-14 Tom Tromey <tromey@redhat.com>
6470
6471 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
6472 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
6473 linespec.
6474
22c05d8a
JK
64752011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6476
6477 Fix internal error regression.
6478 * gdb.dwarf2/implptr-optimized-out.S: New file.
6479 * gdb.dwarf2/implptr-optimized-out.exp: New file.
6480
1d6edc3c
JK
64812011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6482
6483 Fix empty DWARF expressions DATA vs. SIZE conditionals.
6484 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
6485 (loclist): New.
6486 (4): New abbrev.
6487 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
6488 Use prepare_for_testing, remove clean_restart.
6489 (p arraynoloc, p arraycallnoloc): New tests.
6490
9ec72168
JK
64912011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6492
6493 * gdb.cp/namespace-enum.exp (executable): New variable.
6494 (binfile): Use ${objdir}/${subdir}/ prefix.
6495 Use ${executable} for clean_restart.
6496
9c6c53f7
SA
64972011-10-11 Sterling Augustine <saugustine@google.com>
6498
6499 * gdb.cp/Makefile.in: Add namespace-enum test.
6500 * gdb.cp/namespace-enum.exp: New file.
6501 * gdb.cp/namespace-enum.c: New file.
6502 * gdb.cp/namespace-enum-main.c: New file.
6503
fac7ceb3
UW
65042011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
6505
6506 * gdb.python/py-shared.exp: Relax filename check to handle remote:
6507 sysroot.
6508
941b2081
JK
65092011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6510
6511 Reimplement @entry in input expressions.
6512 * gdb.base/exprs.c (v_int_array_init): New variable.
6513 * gdb.base/exprs.exp (print v_int_array_init)
6514 (print *v_int_array_init@1, print *v_int_array_init@2)
6515 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
6516 (print v_int_array_init[1]@1): New tests.
6517
0344e878
JM
65182011-10-10 Joseph Myers <joseph@codesourcery.com>
6519
6520 * gdb.cp/gdb2495.exp: Do not include directories in filename in
6521 expected message.
6522
5a56e9c5
DE
65232011-10-09 Doug Evans <dje@google.com>
6524
6525 * gdb.base/alias.exp: Add tests for alias command.
6526
2bda9cc5
JK
65272011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6528
6529 * gdb.arch/amd64-entry-value.s: New file.
6530 * gdb.mi/mi2-amd64-entry-value.s: New file.
6531
a471c594
JK
65322011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6533
6534 Display @entry parameter values even for references.
6535 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
6536 functions.
6537 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
6538 reference and datap_input.
6539 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
6540 breakpoints.
6541 (continue to breakpoint: entry_reference: reference)
6542 (entry_reference: bt at entry)
6543 (continue to breakpoint: entry_reference: breakhere_reference)
6544 (entry_reference: bt, entry_reference: ptype regparam)
6545 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
6546 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
6547 (entry_reference: p regcopy, entry_reference: p nodataparam)
6548 (entry_reference: p nodataparam@entry): New tests.
6549
36b11add
JK
65502011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6551
6552 Support @entry in input expressions.
6553 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
6554 (entry_stack: p s1@entry, entry_stack: p s2@entry)
6555 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
6556 (tailcall: p j@entry): New tests.
6557 * gdb.cp/koenig.cc (A::entry): New function.
6558 (main): Call it.
6559 * gdb.cp/koenig.exp (p entry (c)): New test.
6560
e18b2753
JK
65612011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6562
6563 Display @entry parameter values (without references).
6564 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
6565 (different, validity, invalid): New functions.
6566 (main): Call them.
6567 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
6568 stacktest, breakhere_stacktest, different, breakhere_different,
6569 breakhere_validity and breakhere_invalid.
6570 (entry: bt): Update for @entry.
6571 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
6572 (entry_validity: *, entry_invalid: *): Many new tests.
6573 * gdb.base/break.exp
6574 (run until breakpoint set at small function, optimized file): Accept
6575 also the @entry suffix.
6576 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
6577 * gdb.mi/mi2-amd64-entry-value.c: New files.
6578 * gdb.mi/mi2-amd64-entry-value.exp: New files.
6579
2d6c5dc2
JK
65802011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6581
6582 Protect entry values against self tail calls.
6583 * gdb.arch/amd64-entry-value.cc (self2, self): New.
6584 (main): Call self.
6585 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
6586 (set debug entry-values 1, self: bt debug entry-values): New tests.
6587
111c6489
JK
65882011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6589
6590 Recognize virtual tail call frames.
6591 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
6592 (amb_b, amb_a): New.
6593 (main): Call a and b.
6594 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
6595 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
6596 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
6597 New tests.
6598
8e3b41a9
JK
65992011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6600
6601 Implement basic support for DW_TAG_GNU_call_site.
6602 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
6603 * gdb.arch/amd64-entry-value.cc: New file.
6604 * gdb.arch/amd64-entry-value.exp: New file.
6605
181cebd4
JK
66062011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6607
6608 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
6609 * gdb.dwarf2/implptr-64bit.S: New file.
6610 * gdb.dwarf2/implptr-64bit.exp: New file.
6611
741f5e3c
JK
66122011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6613
6614 Fix initial language detection with -readnow.
6615 * gdb.cp/readnow-language.cc: New file.
6616 * gdb.cp/readnow-language.exp: New file.
6617
a73d2258
JK
66182011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6619
6620 Fix printed anonymous struct name.
6621 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
6622
af369495
JM
66232011-10-09 Joseph Myers <joseph@codesourcery.com>
6624
6625 * gdb.base/solib-symbol.exp: Do not include directories in
6626 filenames in expected messages.
6627
1fa57852
DE
66282011-10-07 Doug Evans <dje@google.com>
6629
6630 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
6631
bd054e06
KP
66322011-10-07 Kevin Pouget <kevin.pouget@st.com>
6633
6634 Allow Python notification of new object-file loadings.
6635 * gdb.python/py-events.exp: Test newobjfile event.
6636 * gdb.python/py-events.py: Register newobjfile callback.
6637 * gdb.python/py-events.c: Add call to shared library
6638 * gdb.python/py-events-shlib.c: New file.
6639
8031b6f8
JM
66402011-10-06 Joseph Myers <joseph@codesourcery.com>
6641
6642 * gdb.base/fixsection.exp: Do not include directories in filename
6643 in expected message.
6644
7fea6923
PM
66452011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6646
6647 Add tests for passing of environment variables to inferior.
6648 * gdb.base/testenv.c: New test source.
6649 * gdb.base/testenv.exp: New expect test.
6650
687f2a88
PK
66512011-10-04 Paul Koning <paul_koning@dell.com>
6652
6653 * gdb.python/py-value.c (main): Break before return.
6654
cb6be26b
KP
66552011-10-04 Kevin Pouget <kevin.pouget@st.com>
6656
6657 PR python/12691: Add the inferior to Python exited event
6658 * gdb.python/py-events.exp: Test the inferior attribute of exited
6659 event with a fork.
6660 * gdb.python/py-events.py: Print inferior number on exit.
6661 * gdb.python/py-events.c: Fork the inferior.
6662
fb213700
EBM
66632011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
6664
6665 * gdb.base/jit.exp: Add testcase name to log message
6666
aa2071bd
PK
66672011-10-03 Paul Koning <paul_koning@dell.com>
6668 Jan Kratochvil <jan.kratochvil@redhat.com>
6669
6670 * gdb.python/py-value.exp
6671 (python inval = gdb.parse_and_eval('*(int*)0'))
6672 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
6673 (set argc=2, python print argc_lazy): New tests.
6674
dd11a36c
JB
66752011-10-02 Joel Brobecker <brobecker@adacore.com>
6676
6677 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
6678
46f886f1
JK
66792011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6680 Pedro Alves <pedro@codesourcery.com>
6681
6682 * gdb.python/py-value.exp (test_value_in_inferior): New variable
6683 can_read_0, test for it.
6684 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
6685 (parse_and_eval with memory error): ... here, make it untested if
6686 can_read_0.
6687
c5cb204f
MP
66882011-09-30 Marek Polacek <mpolacek@redhat.com>
6689
6690 * gdb.python/python.exp (verify pagination beforehand)
6691 (verify pagination afterwards): Fix race by splitting the line.
6692
68fb0ec0
JM
66932011-09-29 Joseph Myers <joseph@codesourcery.com>
6694
6695 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
6696 for 64-bit multilibs from i?86-* targets.
6697
6aee0d90
MP
66982011-09-29 Marek Polacek <mpolacek@redhat.com>
6699
6700 * lib/gdb.exp: Fix a typo in one of the comments.
6701
e9101ff5
MP
67022011-09-29 Marek Polacek <mpolacek@redhat.com>
6703
6704 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
6705 matching pattern.
6706
7a81bdbf
PK
67072011-09-28 Paul Koning <paul_koning@dell.com>
6708
6709 * gdb.python/py-type.c (enum E): New.
6710 * gdb.python/py-type.exp (test_fields): Add tests for Python
6711 mapping access to fields.
6712 (test_enums): New test for field access on enums.
6713
6710bf39
SS
67142011-09-27 Stan Shebs <stan@codesourcery.com>
6715
6716 * gdb.trace/collection.exp: Test collection of $_ret.
6717
b2a6bdeb
AT
67182011-09-22 Andreas Tobler <andreast@fgznet.ch>
6719
6720 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
6721 list of compilation switches for <*-*-freebsd*>.
6722
3c9057f3
SS
67232011-09-19 Stan Shebs <stan@codesourcery.com>
6724
6725 * gdb.trace/tspeed.exp: New file.
6726 * gdb.trace/tspeed.c: New file.
6727
34518530
YQ
67282011-09-18 Yao Qi <yao@codesourcery.com>
6729
6730 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
6731 instructions.
6732 (test_adr_32bit, test_pop_pc): Likewise.
6733 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
6734 Thumb instructions.
6735 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
6736 in gdb_test_multiple.
6737 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
6738
ab254057
YQ
67392011-09-17 Yao Qi <yao@codesourcery.com>
6740
6741 * lib/gdb.exp (can_single_step_to_signal_handler): New.
6742 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
6743 support single step to signal handler.
6744
9c317b71
YQ
67452011-09-17 Yao Qi <yao@codesourcery.com>
6746
6747 * gdb.base/disp-step-fork.c: New.
6748 * gdb.base/disp-step-syscall.exp: New.
6749 * gdb.base/disp-step-vfork.c: New.
6750
a8123151
JB
67512011-09-16 Joel Brobecker <brobecker@adacore.com>
6752
6753 * gdb.ada/tasks.exp: Make the expected output for
6754 the `info tasks' tests more resilient to spacing
6755 changes.
6756
63a9aad8
JK
67572011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6758
6759 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
6760 (reached breakpoint 2, reached breakpoint 3): Update expected output.
6761
2aa48337
KP
67622011-09-15 Kevin Pouget <kevin.pouget@st.com>
6763
6764 PR Python/12692 Add gdb.selected_inferior() to Python interface.
6765 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
6766
6839b47f
KP
67672011-04-30 Kevin Pouget <kevin.pouget@st.com>
6768
6769 Handle multiple breakpoint hits in Python interface:
6770 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
6771 presence.
6772 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
6773 breakpoint hits.
6774
0935723e
JK
67752011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6776 Jan Kratochvil <jan.kratochvil@redhat.com>
6777
6778 * gdb.python/py-events.exp: Remove pretty printing comment.
6779 * gdb.python/py-evsignal.exp: New file.
6780 * gdb.python/py-evthreads.c: Include signal.h.
6781 (thread3): Remove variable count3. Remove variable bad and use raise
6782 instead.
6783 (thread2): Remove variable count2. Move thread3 pthread_create here,
6784 merge pthread_join to a single line.
6785 (main): Remove variable count1. Merge pthread_join with pthread_create
6786 to a single line.
6787 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
6788 KFAIL python/12966 for gdbserver. Test return value of
6789 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
6790 gdb_expect by gdb_test and gdb_test_multiple.
6791 (thread 2, thread 3): New tests.
6792
4801a9a3
PA
67932011-09-12 Matt Rice <ratmice@gmail.com>
6794 Pedro Alves <pedro@codesourcery.com>
6795
6796 PR gdb/13175
6797
6798 * gdb.base/interp.exp: New tests.
6799 * gdb.base/interp.c: New file.
6800
24ece742
DE
68012011-09-12 Doug Evans <dje@google.com>
6802
6803 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
6804 * gdb.dwarf2/typeddwarf.exp: Ditto.
6805
7f062217
JK
68062011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6807
6808 Fix compatibility with x32 arch.
6809 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
6810 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
6811 is_x86_like_target.
6812 * testsuite/gdb.trace/collection.exp: Likewise.
6813 * testsuite/gdb.trace/report.exp: Likewise.
6814 * testsuite/gdb.trace/unavailable.exp: Likewise.
6815 * testsuite/gdb.trace/while-dyn.exp: Likewise.
6816 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
6817 (is_x86_like_target): Check also is_amd64_regs_target.
6818
08711b9a
JK
68192011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6820
6821 PR breakpoints/12435
6822 * gdb.arch/amd64-prologue-xmm.c: New file.
6823 * gdb.arch/amd64-prologue-xmm.exp: New file.
6824 * gdb.arch/amd64-prologue-xmm.s: New file.
6825
b99b5f66
JK
68262011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6827
6828 * gdb.dwarf2/dw2-param-error-main.c: New file.
6829 * gdb.dwarf2/dw2-param-error.S: New file.
6830 * gdb.dwarf2/dw2-param-error.exp: New file.
6831
a391a2f6
PA
68322011-09-08 Pedro Alves <pedro@codesourcery.com>
6833
6834 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
6835 inferior's pid and look for a core dump named core.$pid. Use
6836 `remote_file' commands on the host instead of hand coding shell
6837 commands on the build.
6838 * gdb.base/valgrind-db-attach.exp: Kill the program before
6839 finishing the test.
6840
7d8e6458 68412011-09-02 Matt Rice <ratmice@gmail.com>
6842
6843 * lib/prompt.exp: New file for testing the first prompt.
6844 * gdb.python/py-prompt.exp: Ditto.
6845 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6846
68e77c9e
PA
68472011-09-02 Pedro Alves <pedro@codesourcery.com>
6848
6849 * gdb.threads/gcore-thread.exp: Set the global core_supported to
6850 0, before testing gcore.
6851
9655e943
JK
68522011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6853
df6dc84d
JK
6854 * dw2-ifort-parameter-debug.S: Update copyright year.
6855 * dw2-ifort-parameter.c: Update copyright year.
6856 * dw2-ifort-parameter.exp: Update copyright year.
6857
9655e943
JK
6858 * dw2-ifort-parameter-debug.S: New file.
6859 * dw2-ifort-parameter.c: New file.
6860 * dw2-ifort-parameter.exp: New file.
6861
353d1d73
JK
68622011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6863
6864 * gdb.base/commands.exp (error_clears_commands_left): New function.
6865 (): Call it.
6866
5c07461a
JK
68672011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6868
6869 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6870 (C): Initialize `a'.
6871 * gdb.mi/mi-inheritance-syntax-error.exp
6872 (-data-evaluate-expression $path): Expect `a' as 5.
6873
0d932b2f
MK
68742011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
6875
6876 PR mi/11912
6877 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6878 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6879 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6880 keyword in output of -var-info-path-expression.
6881
bdb54049
JK
68822011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6883
6884 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6885 * gdb.trace/collection.exp: Likewise.
6886 * gdb.trace/report.exp: Likewise.
6887 * gdb.trace/unavailable.exp: Likewise.
6888 * gdb.trace/while-dyn.exp: Likewise.
6889
59cde39c
KS
68902011-08-18 Keith Seitz <keiths@redhat.com>
6891
6892 PR c++/12266
6893 * gdb.cp/meth-typedefs.cc: New file.
6894 * gdb.cp/meth-typedefs.exp: New file.
6895
fa3a4f15
PM
68962011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6897
6fdff2c5 6898 * gdb.python/python.exp: Add extended-prompt tests.
fa3a4f15 6899
c1049fca
JK
69002011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6901
6902 * gdb.arch/i386-dr3-watch.exp
6903 (watchpoint on gap1 does not fit debug registers)
6904 (delete all watchpoints): Fix racy expect strings.
6905
d93f7b5c
YQ
69062011-08-14 Yao Qi <yao@codesourcery.com>
6907
6908 * gdb.base/maint.exp: set data_section to ".neardata".
6909 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6910 * gdb.base/savedregs.exp: Handle SIGILL.
6911 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6912 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6913
457e09f0
DE
69142011-08-12 Doug Evans <dje@google.com>
6915
6916 * gdb.python/py-symbol.exp: Add test for symbol.type.
6917
5d0bb2fb
UW
69182011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6919
6920 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6921 * gdb.mi/mi-pthreads.exp: Likewise.
6922 * gdb.mi/mi2-pthreads.exp: Likewise.
6923 * gdb.mi/gdb669.exp.exp: Likewise.
6924
fcdfa280
PA
69252011-08-09 Pedro Alves <pedro@codesourcery.com>
6926
6927 * lib/mi-support.exp (detect_async): Rename to...
6928 (mi_detect_async): ... this.
6929 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6930 * gdb.mi/mi-nonstop.exp: Adjust.
6931 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6932 * gdb.mi/mi-nsintrall.exp: Adjust.
6933 * gdb.mi/mi-nsmoribund.exp: Adjust.
6934 * gdb.mi/mi-nsthrexec.exp: Adjust.
6935
9d8fa392
PA
69362011-08-09 Pedro Alves <pedro@codesourcery.com>
6937
6938 * gdb.base/display.c (do_loops): New `p_i' local.
6939 * gdb.base/display.exp: Test displaying a variable that is
6940 temporarily at a bad address.
6941
b6cede78
JK
69422011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6943
6944 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6945 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6946
67bedb8c
JK
69472011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6948
6949 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
6950 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6951 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 6952
af6e93b2
PA
69532011-08-05 Pedro Alves <pedro@codesourcery.com>
6954
6955 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6956 procedure.
6957 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6958
1cf0e11f
YQ
69592011-08-05 Yao Qi <yao@codesourcery.com>
6960
6961 * gdb.base/callfuncs.exp: Set language after main.
6962 * gdb.cp/cplusfuncs.exp: Likewise.
6963 * gdb.cp/inherit.exp: Likewise.
6964
a1e28cb2
UW
69652011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6966
6967 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6968 * gdb.base/watch-vfork.exp: Skip on remote targets.
6969
d4f5bbb9
UW
69702011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6971
6972 * gdb.threads/thread-find.exp: Support remote targets.
6973
724f4f80
UW
69742011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6975
6976 * gdb.base/jit.exp: Download solib_binfile to target.
6977 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6978 and call dlopen without full path name.
6979 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6980 dlopen without full path name.
6981
934709f0
PW
69822011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6983
6984 * gdb.base/break-always.exp: Complete the test
6985 with duplicated breakpoints and enabling/disabling them.
6986
c26106c4
TT
69872011-08-02 Tom Tromey <tromey@redhat.com>
6988
6989 PR gdb/11289:
6990 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6991
9300444e 69922011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
6993
6994 PR gdb/13045
6995 * gdb.base/float.exp: Add new test case for PR gdb/13045
6996 * gdb.base/float.c: New file.
6997
00bd41d6
PM
69982011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6999
7000 * gdb.python/py-mi.exp: Test printers returning string hint, and
7001 also not returning a value.
7002 * gdb.python/py-prettyprint.c: Add testcase for above.
7003 * gdb.python/py-prettyprint.py: Add test printer for above.
7004
d24f74ce
JK
70052011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7006
7007 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
7008 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
7009 (.Ldie30) Add as field "data4".
7010 (.Ldie32) Rename field "b" to "shl".
7011 (abbrev4) Change for the "data4" field.
7012 (abbrev5, abbrev6) Remove.
7013 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
7014 (p &s.shl): ... here. Add comment.
7015 (p &s.data4): New.
7016
bb7da2bf
JK
70172011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7018
7019 Fix crash on lval_computed values.
7020 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
7021
11081198
JK
70222011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7023
7024 * gdb.base/help.exp (help whatis): Update the expected string.
7025
3c6e0cb3
JK
70262011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7027
7028 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
7029 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
7030 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
7031 Change the expected string.
7032
efa80663
PA
70332011-07-26 Pedro Alves <pedro@codesourcery.com>
7034
7035 * gdb.base/watchpoint.exp
7036 (test_disable_enable_software_watchpoint): New procedure.
7037 (top level): Run it.
7038
db8e4570
UW
70392011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
7040
7041 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
7042 executable file "${binfile}", C++ version "${binfile}-cxx".
7043 * gdb.python/py-prettyprint.exp: Likewise.
7044 * gdb.python/py-symbol.exp: Likewise.
7045 * gdb.python/py-type.exp: Likewise.
7046 * gdb.python/py-value.exp: Likewise.
7047 * gdb.python/py-template.exp (test_template_arg): Pass full executable
7048 file name instead of just suffix.
7049
543305c9
JK
70502011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7051
7052 Fix implicit pointer offsets.
7053 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
7054 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
7055 (continue to breakpoint: continue to baz breakpoint for implptr)
7056 (sanity check element 0, sanity check element 1)
7057 (enter the inlined function, check element 0 for the offset)
7058 (check element 1 for the offset)
7059 (continue to breakpoint: ignore the second baz breakpoint): New tests.
7060 (set foo breakpoint for implptr): Update the breakpoint number.
7061
b3215adc
UW
70622011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7063
7064 * gdb.python/py-mi.exp: Use different file names for different
7065 versions of the executable under test.
7066 * gdb.python/py-prettyprint.exp: Likewise.
7067 * gdb.python/py-symbol.exp: Likewise.
7068 * gdb.python/py-template.exp: Likewise.
7069 * gdb.python/py-type.exp: Likewise.
7070 * gdb.python/py-value.exp: Likewise.
7071
182b9acc
UW
70722011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7073
7074 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
7075 flag after restarting GDB if necessary.
7076
e6052b5d
UW
70772011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
7078
7079 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
7080
1ced966e
PA
70812011-07-22 Pedro Alves <pedro@codesourcery.com>
7082
7083 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
7084 backend doesn't leave used debug registers behind.
7085
3543a589
TT
70862011-07-22 Tom Tromey <tromey@redhat.com>
7087
7088 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
7089 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
7090 argument.
7091 * gdb.dwarf2/typeddwarf-amd64.S: New file.
7092
14d15303 70932011-07-21 Matt Rice <ratmice@gmail.com>
7094
7095 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
7096 in mostlyclean rule. Add files ending in .core.
7097
9b158ba0 70982011-07-21 Matt Rice <ratmice@gmail.com>
7099
7100 PR macros/12999
7101 * gdb.base/info-macros.c: New test sources.
7102 * gdb.base/info-macros.exp: New tests.
7103
d17b6f81
PM
71042011-07-21 Phil Muldoon <pmuldoon@redhat.com>
7105
7106 * gdb.python/python.exp: Add prompt substitution tests.
7107
918dd910
JK
71082011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7109
7110 Fix crash if referenced CU is aged out.
7111 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
7112 New.
7113 * gdb.dwarf2/implptr.exp: Likewise.
7114
0e37a63c
JK
71152011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7116
7117 * gdb.dwarf2/implptr.S: Rebuilt.
7118 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
7119 (bar): Use them for j, k, l.
7120 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
7121 COMPILE.
7122 (print j in implptr:bar): Update for the intp typedef.
7123 (print p[0].x in implptr:foo): Use more exact regex.
7124
f65cf84c
TT
71252011-07-18 Tom Tromey <tromey@redhat.com>
7126
7127 * gdb.cp/static-method.exp: Add missing single quote.
7128
d5b4a7be
YQ
71292011-07-18 Yao Qi <yao@codesourcery.com>
7130
7131 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
7132 supported.
7133 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7134 * gdb.mi/mi-nonstop.exp: Likewise.
7135 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7136 * gdb.mi/mi-nsintrall.exp: Likewise.
7137 * gdb.mi/mi-nsmoribund.exp: Likewise.
7138 * gdb.mi/mi-nsthrexec.exp: Likewise.
7139 * gdb.python/py-evthreads.exp: Likewise.
7140
e9ea2662
JK
71412011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7142
7143 Code cleanup.
7144 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
7145 it. Substitute it instead of test_compiler_info everywhere.
7146
ce451573
UW
71472011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7148
7149 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
7150 remote targets as well.
7151
756d88a7
UW
71522011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7153
7154 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
7155 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
7156
31f83dc5
UW
71572011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
7158
7159 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
7160 a remote machine, not the host.
7161 (gdb_compile_shlib): Set soname if target is remote.
7162
059241a0
PP
71632011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7164
7165 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
7166
28a0b48c 71672011-07-13 Matt Rice <ratmice@gmail.com>
7168
7169 * gdb.python/py-objfile-script-gdb.py: Renamed to
7170 py-objfile-script-gdb.py.in.
7171 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
7172 py-objfile-script-gdb.py.
7173 * gdb.python/py-objfile-script.exp: Update reference to
7174 py-objfile-script-gdb.py.
7175
9a771b67
JK
71762011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7177
7178 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
7179 reference undefined label.
7180
04ad99e6
JK
71812011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7182
7183 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
7184 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
7185 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
7186 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
7187
713389e0
PM
71882011-07-11 Phil Muldoon <pmuldoon@redhat.com>
7189
6fdff2c5 7190 PR python/12438
713389e0 7191 * gdb.python/python.exp: Add maint set/show python print-stack
6fdff2c5 7192 deprecated tests. Add set/show python print-backtrace tests.
713389e0 7193
97d146f8
JK
71942011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7195
7196 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
7197 debug info.
7198
facde0e5 71992011-07-06 Matt Rice <ratmice@gmail.com>
7200
7201 * gdb.python/python.exp: Update filename paths.
7202 * gdb.python/py-symtab.exp: Ditto.
7203
438640d1
MP
72042011-07-06 Marek Polacek <mpolacek@redhat.com>
7205
7206 * gdb.python/py-evthreads.exp: Add missing `$'.
7207
33a365df
MF
72082011-07-06 Jie Zhang <jie.zhang@analog.com>
7209
7210 * config/bfin.exp: New file.
7211 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
7212 * gdb.asm/bfin.inc: New file.
7213
8f7ae686
MP
72142011-07-06 Marek Polacek <mpolacek@redhat.com>
7215
df46027d 7216 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
7217 the whole output.
7218
eb2a6f42
TT
72192011-07-05 Tom Tromey <tromey@redhat.com>
7220
7221 * gdb.java/jprint.java (jprint.hi): New field.
7222 * gdb.java/jprint.exp: Print string.
7223
177b42fe
TJB
72242011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
7225
7226 * gdb.base/call-sc.c: Fix typos.
7227 * gdb.base/ifelse.exp: Likewise.
7228 * gdb.base/structs.c: Likewise.
7229
3b2a0cf2
JB
72302011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7231
7232 * gdb.base/jit-so.exp: New test.
7233 * gdb.base/jit-dlmain.c: New file.
7234 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
7235
46fc714c
JK
72362011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7237
7238 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
7239 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
7240 * gdb.cp/pr9167.exp (p b): Likewise.
7241 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
7242 (test value of P in inner_m, test type of Z in inner_m): Call
7243 setup_xfail for gcc <= 4.5.
46fc714c 7244
418c7cf7
JK
72452011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7246
7247 * gdb.cp/paren-type.cc: New files.
7248 * gdb.cp/paren-type.exp: New files.
7249
3d50dd94
JK
72502011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7251
7252 Stop on first linespec terminator instead of eating what we can.
7253 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
7254 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
7255 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
7256 (break C::f()): ... this one.
7257 (break C::operator()()): New test.
7258 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
7259 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
7260 test.
7261
dcf9f4ab
JK
72622011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7263
7264 Fall back linespec to minimal symbols.
7265 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
7266 error message.
7267 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
7268 * gdb.cp/minsym-fallback-main.cc: New file.
7269 * gdb.cp/minsym-fallback.cc: New file.
7270 * gdb.cp/minsym-fallback.exp: New file.
7271 * gdb.cp/minsym-fallback.h: New file.
7272
3f542ed1
JK
72732011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7274
7275 * gdb.cp/no-dmgl-verbose.cc: New file.
7276 * gdb.cp/no-dmgl-verbose.exp: New file.
7277
72782011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
7279
7280 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
7281 __GI_.
7282 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
7283 (f): New function.
7284 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
7285 (complete p 'func<short>(): ... here.
7286 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
7287 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
7288 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
7289 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
7290 Make them KFAIL gcc/49546.
7291
00eb2c4a
JB
72922011-07-01 Joel Brobecker <brobecker@adacore.com>
7293
7294 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
7295
85a20c42
JK
72962011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7297
7298 Test GCC PR debug/49546.
7299 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
7300 (test type of F in k3_m, test value of F in k3_m): New.
7301 * gdb.cp/temargs.cc (struct S3, struct K3): New.
7302 (main): New variable k3. Call k3.k3_m.
7303
d2d43431
JB
73042011-07-01 Jean-Charles Delay <delay@adacore.com>
7305
7306 * gdb.ada/packed_array.exp: Fix expected outout.
7307
54ae186f
JB
73082011-07-01 Jean-Charles Delay <delay@adacore.com>
7309
7310 * gdb.ada/packed_array.exp: fixed expected output.
7311
8f17729f
JB
73122011-07-01 Joel Brobecker <brobecker@adacore.com>
7313
7314 * gdb.ada/same_enum: New testcase.
7315
f5aa6869
JB
73162011-07-01 Joel Brobecker <brobecker@adacore.com>
7317
7318 * gdb.ada/ptr_typedef: New testcase.
7319
828292f2
JB
73202011-07-01 Joel Brobecker <brobecker@adacore.com>
7321
7322 * gdb.ada/arrayptr.exp: Add ptype test.
7323
18920c42
JB
73242011-07-01 Joel Brobecker <brobecker@adacore.com>
7325
7326 * gdb.ada/char_enum: New testcase.
7327
3536d9e3 73282011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
7329
7330 * gdb.base/dump.exp (capture_pointer_with_type): New.
7331 Get value from address instead of name.
7332 Start GDB once, and do `dump' and `restore'
7333 tests together.
7334
db863c42
MF
73352011-06-30 Jie Zhang <jie.zhang@analog.com>
7336 Mike Frysinger <vapier@gentoo.org>
7337
7338 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
7339 helper functions for getting/setting remotetimeout variable.
7340 * lib/gdb.exp (gdb_load): If the target is remote, set
7341 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
7342 with $loadtimeout. Set $load_ok to 0 before doing the load.
7343 Instead of returning, immediately, set $load_ok to 0. Call
7344 set_remotetimeout with $oldremotetimeout, and then return if
7345 $load_ok is 1.
7346
e9e642a8
AB
73472011-06-30 Andrew Burgess <aburgess@broadcom.com>
7348
7349 * gdb.python/py-template.exp: Don't run this test if the target
7350 does not support c++ tests.
7351
32019081
JK
73522011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7353
7354 Fix non-only rename list for Fortran modules import.
7355 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
7356 tests.
7357 * gdb.fortran/module.f90 (module moduse): New.
7358 (program module): use moduse, test var_x, var_y and var_z.
7359
0ecee54c
TT
73602011-06-29 Tom Tromey <tromey@redhat.com>
7361
7362 PR testsuite/12040:
7363 * gdb.fortran/array-element.exp: Use f90, not f77.
7364 * gdb.fortran/complex.exp: Use f90, not f77.
7365 * gdb.fortran/derived-type.exp: Use f90, not f77.
7366 * gdb.fortran/library-module.exp: Use f90, not f77.
7367 * gdb.fortran/logical.exp: Use f90, not f77.
7368 * gdb.fortran/module.exp: Use f90, not f77.
7369 * gdb.fortran/multi-dim.exp: Use f90, not f77.
7370 * gdb.fortran/subarray.exp: Use f90, not f77.
7371
3b2b8fea
TT
73722011-06-29 Tom Tromey <tromey@redhat.com>
7373
7374 * gdb.fortran/charset.exp: New file.
7375 * gdb.fortran/charset.f90: New file.
7376
42159ca5
TT
73772011-06-29 Tom Tromey <tromey@redhat.com>
7378
7379 PR testsuite/12040:
7380 * lib/future.exp: New file, mostly extracted from ada.exp.
7381 Rewrote compatibility code to use rename.
7382 (gdb_find_gfortran): New proc.
7383 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
7384 gfortran patch.
7385 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
7386 Move to future.exp.
7387 * lib/gdb.exp: Always load future.exp.
7388
af69a5ce
YQ
73892011-06-28 Yao Qi <yao@codesourcery.com>
7390
7391 * gdb.cp/exception.cc: Don't include iostream.
7392 (bar): Remove print statement.
7393 (catcher): New.
7394 (main): Remove print statements. Call function catcher.
7395 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
7396 Set breakpoint on catcher, and check the value of parameter.
7397
ab5c6a72
YQ
73982011-06-23 Yao Qi <yao@codesourcery.com>
7399
6fdff2c5
PA
7400 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
7401 breakpoint 1.2 is disabled. KFAIL for uclinux.
ab5c6a72 7402
9497469f
MP
74032011-06-23 Marek Polacek <mpolacek@redhat.com>
7404
7405 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
7406 mi_gdb_test.
7407
b9132588
MP
74082011-06-23 Marek Polacek <mpolacek@redhat.com>
7409
5d197ed0 7410 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 7411
e55595ca
MP
74122011-06-23 Marek Polacek <mpolacek@redhat.com>
7413
5d197ed0
MP
7414 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
7415
74162011-06-23 Marek Polacek <mpolacek@redhat.com>
7417
7418 * gdb.mi/mi2-basics.exp: Fix races. Honour the
7419 `test_exec_and_symbol_mi_operatons' return value.
7420 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7421 gdb_test_multiple.
7422 (test_exec_and_symbol_mi_operatons): Likewise.
7423 (test_path_specification): Likewise.
e55595ca 7424
be777e08
YQ
74252011-06-23 Yao Qi <yao@codesourcery.com>
7426
7427 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
7428 supported.
7429 * lib/gdb.exp (support_displaced_stepping): New.
7430
615556d6
YQ
74312011-06-23 Yao Qi <yao@codesourcery.com>
7432
7433 * gdb.threads/execl.exp: Skip on remote target.
7434
833b0ca7
MP
74352011-06-21 Marek Polacek <mpolacek@redhat.com>
7436
5d197ed0 7437 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
7438 mi_gdb_test.
7439
1ee4023a
MP
74402011-06-20 Marek Polacek <mpolacek@redhat.com>
7441
5d197ed0 7442 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 7443
d0b1d624
MP
74442011-06-20 Marek Polacek <mpolacek@redhat.com>
7445
5d197ed0 7446 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
7447 mi_gdb_test.
7448
79aa92c1
MP
74492011-06-20 Marek Polacek <mpolacek@redhat.com>
7450
5d197ed0 7451 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 7452
5ce5db06
YQ
74532011-06-14 Yao Qi <yao@codesourcery.com>
7454
7455 gdb/testsuite/
7456 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
7457
533a737e
JK
74582011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7459
7460 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
7461
d0e53741
TT
74622011-06-10 Tom Tromey <tromey@redhat.com>
7463
7464 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
7465 Add tests for pointer-to-member-function.
7466 * gdb.cp/temargs.cc (S::somefunc): New function.
7467 (K2): New class.
7468 (main): Instantiate K2; call method.
7469
b5916bbd
JB
74702011-06-08 Joel Brobecker <brobecker@adacore.com>
7471
7472 * gdb.python/py-inferior.c (f2): Make str an array rather
7473 than a pointer.
7474 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
7475
5be4dfca
JK
74762011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7477
7478 * gdb.base/async-shell.c: New file.
7479 * gdb.base/async-shell.exp: New file.
7480
9f47e254
PA
74812011-06-06 Pedro Alves <pedro@codesourcery.com>
7482
7483 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
7484
64b9b334
JB
74852011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
7486
7487 From Stephen Kitt <steve@sk2.org>
7488 * gdb.base/help.exp: Adjust following some spelling corrections
7489 in GDB.
7490
dbc0f131
YQ
74912011-06-01 Yao Qi <yao@codesourcery.com>
7492
7493 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
7494
fd336a18
KS
74952010-05-31 Keith Seitz <keiths@redhat.com>
7496
7497 PR c++/12750
7498 * gdb.cp/static-method.cc: New file.
7499 * gdb.cp/static-method.exp: New file.
7500
fa8b9902
KS
75012010-05-31 Keith Seitz <keiths@redhat.com>
7502
7503 PR symtab/12704
7504 * gdb.cp/anon-ns.cc: New file.
7505 * gdb.cp/anon-ns.exp: New file.
7506
0a5b1e09
PA
75072011-05-31 Pedro Alves <pedro@codesourcery.com>
7508
7509 * gdb.arch/i386-dr3-watch.c: New file.
7510 * gdb.arch/i386-dr3-watch.exp: New file.
7511
0578b8d1
YQ
75122011-05-30 Yao Qi <yao@codesourcery.com>
7513
7514 * gdb.base/callfuncs.c (t_structs_fc): New.
7515 (t_structs_dc, t_structs_ldc): New.
7516 (t_double_many_args):
7517 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
7518 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
7519 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
7520 * gdb.base/callfuncs.exp: Call new functions.
7521
6680506e
YQ
75222011-05-30 Yao Qi <yao@codesourcery.com>
7523
ff4d2c60
YQ
7524 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
7525 Call rerun_and_prepare for each test to isolate effects.
7526
75272011-05-30 Yao Qi <yao@codesourcery.com>
7528
7529 * gdb.base/varargs.c (find_max_float_real): New.
7530 (find_max_double_real, find_max_long_double_real): New.
7531 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
7532 * lib/gdb.exp (setup_kfail_for_target): New.
7533
e43ec454
YQ
75342011-05-30 Yao Qi <yao@codesourcery.com>
7535
7536 * gdb.base/funcargs.c (callca, callcb, callcc): New.
7537 (callcd, callce, callcf, callc1a, callc1b): New.
7538 (callc2a, callc2b): New.
7539 * gdb.base/funcargs.exp (complex_args): New.
7540 (complex_integral_args, complex_float_integral_args): New.
7541 * lib/gdb.exp (support_complex_tests): New. Determine
7542 whether to run test cases on _Complex types.
7543
432b4d03
JK
75442011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7545
7546 * gdb.threads/leader-exit.c: New file.
7547 * gdb.threads/leader-exit.exp: New file.
7548
6caf069d
MP
75492011-05-27 Marek Polacek <mpolacek@redhat.com>
7550
9497469f 7551 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 7552
97fce28b
MP
75532011-05-27 Marek Polacek <mpolacek@redhat.com>
7554
7555 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
7556 remove the `supported' variable.
7557 * gdb.mi/mi-nonstop.exp: Likewise.
7558 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7559 * gdb.mi/mi-nsintrall.exp: Likewise.
7560 * gdb.mi/mi-nsmoribund.exp: Likewise.
7561 * gdb.mi/mi-nsthrexec.exp: Likewise.
7562
9da8c2a0
PA
75632011-05-26 Pedro Alves <pedro@codesourcery.com>
7564
7565 * gdb.reverse/finish-reverse-bkpt.exp: New test.
7566
2c03e5be
PA
75672011-05-26 Pedro Alves <pedro@codesourcery.com>
7568
7569 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
7570
2e21250d
KS
75712011-05-24 Keith Seitz <keiths@redhat.com>
7572
7573 PR breakpoint/12803
7574 * gdb.cp/cmpd-minsyms.cc (a): New method.
7575 (b): New method.
7576 (c): New method.
7577 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
7578
cdac0397
PA
75792011-05-24 Pedro Alves <pedro@codesourcery.com>
7580
7581 * gdb.base/commands.exp (watchpoint_command_test): Check that the
7582 watchpoint's command list didn't execute when the watchpoint went
7583 out of scope.
7584
ee5683ab
PM
75852011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
7586
7587 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
7588 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
7589 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
7590 * gdb.arch/i386-gnu-cfi.exp: Likewise.
7591 * gdb.arch/i386-permbkpt.exp: Likewise.
7592 * gdb.arch/i386-prologue.exp: Likewise.
7593 * gdb.arch/i386-size-overlap.exp: Likewise.
7594 * gdb.arch/i386-size.exp: Likewise.
7595 * gdb.arch/i386-unwind.exp: Likewise.
7596 * gdb.reverse/i386-precsave.exp: Likewise.
7597 * gdb.reverse/i386-reverse.exp: Likewise.
7598 * gdb.reverse/i386-sse-reverse.exp: Likewise.
7599 * gdb.reverse/i387-env-reverse.exp: Likewise.
7600 * gdb.reverse/i387-stack-reverse.exp: Likewise.
7601
c91c8c16
PA
76022011-05-24 Pedro Alves <pedro@codesourcery.com>
7603
7604 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
7605 file doesn't error, using MI.
7606
c50491a7
TT
76072011-05-23 Tom Tromey <tromey@redhat.com>
7608
7609 * gdb.base/charset.exp (string_display): Add tests to assign to
7610 arrays.
7611 * gdb.base/charset.c (short_array, int_array, long_array): New.
7612
4a07b7da
PA
76132011-05-20 Pedro Alves <pedro@codesourcery.com>
7614
7615 Cope with async mode.
7616
4a07b7da
PA
7617 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
7618 into gdb_test + mi_expect_stop.
7619
b275f2d2
PA
76202011-05-20 Pedro Alves <pedro@codesourcery.com>
7621
7622 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
7623 (callme): Remove printf call.
7624
eec52c44
PM
76252011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
7626
7627 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
7628 quote pattern to avoid problems with Cygwin/mingw expect versions.
7629 * gdb.base/default.exp (show convenience): Use double
7630 quote pattern for regular expressions.
7631
b3c8eb43
JK
76322011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7633
7634 Fix -readnow for -gdwarf-4 unused type units.
7635 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
7636 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
7637
ed731959
JK
76382011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7639
7640 * gdb.base/kill-after-signal.c: New file.
7641 * gdb.base/kill-after-signal.exp: New file.
7642
3b48433d
PA
76432011-05-16 Pedro Alves <pedro@codesourcery.com>
7644
7645 * gdb.ada/start.exp: Call untested with the correct test filename.
7646 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
7647 test filename. Make the test's binary unique.
7648 * gdb.arch/i386-signal.exp: Call untested with the correct test
7649 filename.
7650 * gdb.arch/i386-size-overlap.exp: Ditto.
7651 * gdb.arch/Makefile.in (EXECUTABLES): Update.
7652 * gdb.base/gcore-buffer-overflow.exp: Ditto.
7653 * gdb.cp/call-c.exp: Ditto.
7654 * gdb.mi/mi-reverse.exp: Call untested with the correct test
7655 filename. Make the test's binary unique.
7656 * gdb.mi/Makefile.in (EXECUTABLES): Update.
7657 * gdb.python/py-mi.exp: Ditto.
7658 * gdb.python/Makefile.in (EXECUTABLES): Update.
7659 * gdb.reverse/i386-precsave.exp: Ditto.
7660 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
7661 test filename.
7662 * gdb.reverse/i387-stack-reverse.exp: Ditto.
7663 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
7664 unique.
7665 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
7666 test filename.
7667 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
7668 * gdb.trace/tfile.exp: Ditto.
7669
ba4a8bdd
YQ
76702011-05-14 Yao Qi <yao@codesourcery.com>
7671
7672 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
7673 type.
7674
dbaefcf7
DE
76752011-05-13 Doug Evans <dje@google.com>
7676
7677 * gdb.python/py-objfile-script.exp: New file.
7678 * gdb.python/py-objfile-script.c: New file.
7679 * gdb.python/py-objfile-script-gdb.py: New file.
7680 * testsuite/gdb.python/py-section-script.exp: Test
7681 "info auto-load-scripts".
7682
9930639c
TT
76832011-05-13 Tom Tromey <tromey@redhat.com>
7684
7685 * gdb.dwarf2/clztest.exp: New file.
7686 * gdb.dwarf2/clztest.c: New file.
7687 * gdb.dwarf2/clztest.S: New file.
7688
05272e11
DE
76892011-05-13 Doug Evans <dje@google.com>
7690
cc63ef9b
DE
7691 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
7692 String16 tests.
05272e11 7693
6edba76f
TT
76942011-05-13 Tom Tromey <tromey@redhat.com>
7695
7696 * lib/gdb.exp (is_x86_like_target): New proc.
7697 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
7698 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
7699 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
7700 -nostdlib to compiler.
7701 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
7702 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
7703 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
7704 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
7705 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
7706
028d0ed5
TJB
77072011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7708
7709 * gdb.python/py-function.exp: Test setting a value from a function
7710 which executes a command.
7711
8a9b8146
TT
77122011-05-12 Tom Tromey <tromey@redhat.com>
7713
7714 * gdb.dwarf2/typeddwarf.S: New file.
7715 * gdb.dwarf2/typeddwarf.c: New file.
7716 * gdb.dwarf2/typeddwarf.exp: New file.
7717
10483e8e
MP
77182011-05-12 Marek Polacek <mpolacek@redhat.com>
7719
7720 * gdb.mi/mi-basics.exp: Fix races. Honour the
7721 `test_exec_and_symbol_mi_operatons' return value.
7722 (test_mi_interpreter_selection): Use mi_gdb_test instead of
7723 gdb_test_multiple.
7724 (test_exec_and_symbol_mi_operatons): Likewise.
7725 (test_path_specification): Likewise.
7726
faf067f1
JK
77272011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7728
7729 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
7730 (gdb_touch_execfile): Remove catch wrappers. New variable time.
7731 Replace `file copy' and `file rename' by `file mtime'. Twice.
7732
7ff911a3
JK
77332011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7734
7735 * gdb.base/readline-ask.c: New file.
7736 * gdb.base/readline-ask.exp: New file.
7737 * gdb.base/readline-ask.inputrc: New file.
7738
a536c6d7
UW
77392011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
7740
7741 * gdb.cell/bt.exp: Delete breakpoints before running to signal
7742 to avoid race condition.
7743 * gdb.cell/coremaker.c: Use small stack size.
7744 * gdb.cell/ea-standalone.exp: Use file name without path as
7745 argument to c_to.
7746 * gdb.cell/fork.exp: Allow other output when continuing to end.
7747
d472a426
JK
77482011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7749
7750 * gdb.threads/corethreads.c: New file.
7751 * gdb.threads/corethreads.exp: New file.
7752
77532011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
7754
7755 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
7756 Try to compile the test using -Wl,-z,norelro first.
7757 (load_core): New variable libthread_db_seen, initialize it.
7758 (zeroed-threads cannot be listed): Protect it by XFAIL on
7759 !$libthread_db_seen.
7760
8be455d7
JK
77612011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7762
7763 PR 12573
7764 * gdb.dwarf2/dw2-skip-prologue.S: New file.
7765 * gdb.dwarf2/dw2-skip-prologue.c: New file.
7766 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
7767
1976171a
JK
77682011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7769
7770 * gdb.cp/psymtab-parameter.cc: New file.
7771 * gdb.cp/psymtab-parameter.exp: New file.
7772
7db6f30f
JK
77732011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7774
7775 Fix a race.
7776 * gdb.cp/static-print-quit.exp (print c): Split to ...
7777 (print c - <return>, print c - q <return>, print c - to quit):
7778 ... these. Make the testfile untested on gdb-7.1.
7779
85161e9e 77802011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
7781
7782 * lib/gdb.exp (exec_target_file, exec_symbol_file,
7783 gdb_rename_execfile, gdb_touch_execfile): New.
7784 * gdb.base/reread.exp: Use new procs to handle multiple
7785 exec files.
7786
0c51be18
YQ
77872011-05-05 Yao Qi <yao@codesourcery.com>
7788
7789 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
7790 (test_adr_32bit, test_pop_pc): New.
7791 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
7792 (test_adr_32bit, test_pop_pc): New.
7793
4d393d60
JM
77942011-05-04 Joseph Myers <joseph@codesourcery.com>
7795
7796 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
7797 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
7798 targets.
7799 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
7800 handle targets.
7801
8ffd0459
JK
78022011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7803
7804 * gdb.base/completion.exp (complete help info wat): Rename to ...
7805 (complete 'help info wat'): ... here.
7806 Remove all `-re ".*' and `-re "^.*' redundant regexes.
7807 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
7808
8e28d804
PA
78092011-05-04 Pedro Alves <pedro@codesourcery.com>
7810
7811 * gdb.base/completion.exp: Use gdb_test_multiple instead of
7812 gdb_test and explicit $gdb_prompt/timeout matches.
7813
3eb2ef34
YQ
78142011-05-04 Yao Qi <yao@codesourcery.com>
7815
7816 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
7817 and __thumb2__.
7818
aaaf81a3
MP
78192011-05-03 Marek Polacek <mpolacek@redhat.com>
7820
7821 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
7822 in place of `gdb_test "delete breakpoints"'. This eliminates two
7823 testcases.
7824
c4cbc0df
PA
78252011-05-02 Pedro Alves <pedro@codesourcery.com>
7826
7827 PR testsuite/12649
7828 Fix races.
7829
7830 * gdb.base/completion.exp: Remove all sleep calls. Remove
7831 unnecessary regexs. Don't explicitly expect anything after the
7832 prompt. Eat the prompt if necessary.
7833
b4cbb4a3
EBM
78342011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
7835
7836 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
7837 accept to show the caller line again as well as the line after.
7838
d65aec65
PM
78392011-04-29 Phil Muldoon <pmuldoon@redhat.com>
7840
7841 PR mi/12531
7842
7843 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7844 compile target.
7845 * gdb.python/py-prettyprint.exp: Add C++ object for
7846 CPLUS_FAKE_CHILD test.
7847
30852783
UW
78482011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
7849
7850 * gdb.base/signest.exp: New file.
7851 * gdb.base/signest.c: Likewise.
7852
c7b1f0d9
JK
78532011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7854
7855 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7856 thread and breakpoint notifications.
7857
559a7a62
JK
78582011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7859
7860 * gdb.base/fortran-sym-case.c: New file.
7861 * gdb.base/fortran-sym-case.exp: New file.
7862 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7863 * gdb.dwarf2/dw2-case-insensitive.c: New file.
7864 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7865
8344e389
JK
78662011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7867
7868 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7869 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7870 false #1', `if true else false #2' and `if true else false #3'.
7871
2484c66b
UW
78722011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
7873
7874 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7875 while delivering signal.
7876
8d3788bd
VP
78772011-04-27 Vladimir Prus <vladimir@codesourcery.com>
7878
7879 MI breakpoint notifications.
7880
7881 * testsuite/gdb.mi/mi-cli.exp: Adust.
6fdff2c5
PA
7882 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7883 * testsuite/gdb.mi/mi-watch.exp: Adust.
7884 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7885 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7886 notifications.
8d3788bd 7887
3e03848b
JK
78882011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7889
7890 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7891 * gdb.base/gdbindex-stabs.c: New file.
7892 * gdb.base/gdbindex-stabs.exp: New file.
7893
918c9108
YQ
78942011-04-25 Yao Qi <yao@codesourcery.com>
7895
7896 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7897 with /*...*/.
7898 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7899
90556b8c
JK
79002011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7901
7902 * gdb.python/py-value.exp (test_objfiles): Name the first test
7903 `py-value in file.filename'.
7904
03f2bd59
JK
79052011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7906
7907 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7908 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7909 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7910 !gdbserver_reconnect_p..
7911 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7912
7b08b9eb
JK
79132011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7914
7915 * gdb.cp/cpcompletion.exp (complete class methods)
7916 (complete class methods beginning with F): Move them above runto. New
7917 comment about the runto delimiter.
7918
b78974c3
PA
79192011-04-20 Pedro Alves <pedro@codesourcery.com>
7920
7921 * gdb.base/maint.exp: Test that "maint print registers" works
7922 without a running program.
7923
20429c40 79242011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 7925
20429c40
MP
7926 * gdb.base/setshow.exp: Fix racy tests.
7927 ($old_gdb_prompt): New variable.
7928
7a9dd1b2
TT
79292011-04-19 Tom Tromey <tromey@redhat.com>
7930
7931 * gdb.mi/mi-nsmoribund.exp:
7932 * gdb.hp/gdb.objdbg/objdbg01.exp:
7933 * gdb.base/structs.exp (test_struct_returns):
7934 * gdb.base/call-sc.exp (test_scalar_returns):
7935 * gdb.base/bigcore.exp: Remove duplicate words.
7936
02835898
JK
79372011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7938
7939 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7940 * gdb.base/break-interp.exp (test_attach): New comment.
7941
254f582e
JK
79422011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7943
7944 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7945 (clear __stack_user.next, clear stack_used.next)
7946 (save a zeroed-threads corefile): New test.
7947 Call core_load for $core0file.
7948 (zeroed-threads cannot be listed): New test.
7949
4fe85f5c
JK
79502011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7951
7952 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7953 filename.
7954 ($srcfile): Preserve the original value.
7955 ($testfile): Match it the .exp filename.
7956 ($corefile): New variable. Substitute it around.
7957 Use clean_restart.
7958 ($prev_timeout): Remove.
7959 (load_core): Move core loading into this proc.
7960 Fix restore of $timeout if load_core fails.
7961
63524580
JK
79622011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7963
7964 * gdb.base/eu-strip-infcall.c: New file.
7965 * gdb.base/eu-strip-infcall.exp: New file.
7966
90359a16
JK
79672011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7968
7969 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7970 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7971
626e7282
JK
79722011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7973
7974 Fix Python access to inlined frames.
7975 * gdb.python/py-frame-inline.c: New file.
7976 * gdb.python/py-frame-inline.exp: New file.
7977
3363d018
EBM
79782011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7979
7980 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7981 content of 's24' correctly (avoiding "optimized out").
7982 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7983
28781456
JK
79842011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7985
7986 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7987
4a4106ca
TJB
79882011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7989
7990 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7991 expect a colon in watch -location output.
7992
d26ccb4f
JK
79932011-04-13 Marek Polacek <mpolacek@redhat.com>
7994
df46027d 7995 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
7996 New testcase `expect response to define backtrace'. Also remove
7997 redundant `default' block.
7998
e1ab1f9c
JK
79992011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8000
8001 * gdb.python/py-prettyprint.c (struct hint_error): New.
8002 (main): New variable hint_error.
8003 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
8004 "print hint_error".
8005 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
8006 (register_pretty_printers): Register it.
8007
0c2e6019
TT
80082011-04-04 Tom Tromey <tromey@redhat.com>
8009
8010 * gdb.cp/maint.exp (test_help): Update.
8011 (test_namespace): Likewise.
8012
af57139d
JB
80132011-04-01 Joel Brobecker <brobecker@adacore.com>
8014
8015 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
8016 * gdb.ada/arrayptr.exp: Add new tests.
8017
956a9fb9
JB
80182011-04-01 Joel Brobecker <brobecker@adacore.com>
8019
8020 * gdb.ada/mi_catch_ex: New testcase.
8021
d0c4d642
PA
80222011-04-01 Pedro Alves <pedro@codesourcery.com>
8023
8024 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
8025 base::overload(void) method without specifying "const".
8026
18819fa6
UW
80272011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
8028
8029 * gdb.arch/thumb-singlestep.S: New file.
8030 * gdb.arch/thumb-singlestep.exp: Likewise.
8031
a4c8e806
TT
80322011-03-31 Tom Tromey <tromey@redhat.com>
8033
8034 * gdb.python/py-prettyprint.py (exception_flag): New global.
8035 (NoStringContainerPrinter._iterator.next): Check it.
8036 * gdb.python/py-prettyprint.c (main): New variable nstype2.
8037 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
8038
53832f31
TT
80392011-03-29 Tom Tromey <tromey@redhat.com>
8040
8041 * gdb.cp/anon-struct.cc: New file.
8042 * gdb.cp/anon-struct.exp: New file.
8043
e4620230
JK
80442011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8045
8046 Test STT_GNU_IFUNC support.
8047 * gdb.base/gnu-ifunc-lib.c: New file.
8048 * gdb.base/gnu-ifunc.c: New file.
8049 * gdb.base/gnu-ifunc.exp: New file.
8050
d0fb5eae
JK
80512011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8052
8053 Support a ring of related breakpoints.
8054 * gdb.base/watchpoint-delete.c: New file.
8055 * gdb.base/watchpoint-delete.exp: New file.
8056
20106cfb
JK
80572011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8058
8059 * gdb.ada/arrayparam.exp (print first after function call): Use
8060 explicit package name. Add a comment
8061 (print lasta after function call): Rename ...
8062 (print last after function call): ... it and use explicit package
8063 name.
8064 (print length after function call): Use explicit package name.
8065 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
8066 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
8067 (multiple matches for symbol i): Rename ...
8068 (multiple matches for symbol integervar): ... it.
8069 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
8070 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
8071
e7ab5e63
AB
80722011-03-25 Andrew Burgess <aburgess@broadcom.com>
8073
8074 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
8075 environment variable to make grep output more predictable. Move
8076 all the environment setup into gdb_init so it's done once per test
8077 case rather than each time we start gdb.
8078
9ef07c8c
TT
80792011-03-24 Tom Tromey <tromey@redhat.com>
8080
8081 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
8082 test.
8083
dd90784c
JK
80842011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8085
8086 * gdb.dwarf2/dw2-entry-value-main.c: New file.
8087 * gdb.dwarf2/dw2-entry-value.S: New file.
8088 * gdb.dwarf2/dw2-entry-value.exp: New file.
8089
05775840
PM
80902011-03-22 Phil Muldoon <pmuldoon@redhat.com>
8091
6fdff2c5 8092 PR python/12183
05775840
PM
8093
8094 * gdb.python/py-function.exp: Add GdbError tests.
8095
8661b11b
PA
80962011-03-18 Pedro Alves <pedro@codesourcery.com>
8097
8098 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
8099 (reglocal_test_func, statlocal_test_func): New functions.
8100 (globals_test_func): Call new functions.
8101 * gdb.trace/unavailable.exp (gdb_collect_args_test)
8102 (gdb_collect_locals_test): New procedure.
8103 (gdb_trace_collection_test): Call new procedures.
8104
0fdb4f18
PA
81052011-03-18 Pedro Alves <pedro@codesourcery.com>
8106
8107 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
8108 (test_register, test_register_unavailable): New procedures.
8109 (gdb_unavailable_registers_test): New procedure.
8110 (gdb_trace_collection_test): Call it.
8111
99c3dc11
PM
81122011-03-18 Phil Muldoon <pmuldoon@redhat.com>
8113
6fdff2c5 8114 PR python/12149
99c3dc11
PM
8115
8116 * gdb.python/python.exp: Add gdb.write tests.
8117
29703da4
PM
81182010-03-17 Phil Muldoon <pmuldoon@redhat.com>
8119
8120 * gdb.python/Makefile.in: Add py-objfile.
8121 * gdb.python/py-objfile.exp: New file.
8122 * gdb.python/py-objfile.c: New file.
8123 * gdb.python/py-block.exp: Add is_valid tests.
8124 * gdb.python/py-inferior.exp: Ditto.
8125 * gdb.python/py-infthread.exp: Ditto.
8126 * gdb.python/py-symbol.exp: Ditto.
8127 * gdb.python/py-symtab.exp: Ditto.
8128
598997c8
KS
81292011-03-16 Keith Seitz <keiths@redhat.com>
8130
8131 PR c++/12273
8132 * gdb.cp/cmpd-minsyms.exp: New test.
8133 * gdb.cp/cmpd-minsyms.cc: New file.
8134
8135 PR c++/11734
8136 * gdb.cp/ovsrch.exp: New test.
8137 * gdb.cp/ovsrch.h: New file.
8138 * gdb.cp/ovsrch1.cc: New file.
8139 * gdb.cp/ovsrch2.cc: New file.
8140 * gdb.cp/ovsrch3.cc: New file.
8141 * gdb.cp/ovsrch4.cc: New file.
8142
c91513d8
PP
81432011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8144
8145 PR gdb/12528
8146 * gdb.base/Makefile.in: Adjust EXECUTABLES.
8147 * gdb.base/break-on-linker-gcd-function.exp: New test.
8148 * gdb.base/break-on-linker-gcd-function.cc: New file.
8149
7470fc63
AT
81502011-03-15 Andreas Tobler <andreast@fgznet.ch>
8151
8152 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
8153
959e7469
PM
81542011-03-15 Phil Muldoon <pmuldoon@redhat.com>
8155
8156 * lib/gdb.exp (gdb_unload): Add another termination case.
8157
9373cf26
JK
81582011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8159
8160 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
8161 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
8162 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
8163 Provide a stub byte there.
8164 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
8165 DW_AT_entry_pc.
8166 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
8167
24e9cda0
UW
81682011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
8169
8170 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
8171 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
8172 "generic ABI, auto".
8173 (altivec_abi_tests): Accept vectors returned by reference.
8174
7371cf6d
PM
81752010-03-14 Phil Muldoon <pmuldoon@redhat.com>
8176
8177 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
8178
ce77046a
UW
81792011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
8180
8181 * gdb.python/py-section-script.exp: Skip test if no Python support.
8182
176400c3
UW
81832011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
8184
8185 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8186
ecec24e6
PM
81872011-03-10 Phil Muldoon <pmuldoon@redhat.com>
8188
8189 * gdb.python/py-parameter.exp: Update tests to the new Python
8190 parameter API. Add "no documentation" test. Add deprecated API
8191 backward compatibility test.
8192
5dbdd470
TT
81932011-03-09 Tom Tromey <tromey@redhat.com>
8194
8195 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
8196 gdb_continue_to_end.
8197
b66e66ee
MK
81982011-03-09 Mark Kettenis <kettenis@gnu.org>
8199
8200 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
8201 tabs.
8202
eceb0c5f
TT
82032011-03-09 Tom Tromey <tromey@redhat.com>
8204
8205 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
8206 parentheses.
8207 (gdb_continue_to_end): Add "allow_extra" parameter. Use
8208 $command.
8209 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
8210 argument to gdb_continue_to_end.
8211 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
8212 argument to gdb_continue_to_end.
8213 * gdb.cp/annota3.exp: Fix regex.
8214 * gdb.cp/annota2.exp: Fix regex.
8215 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
8216 gdb_continue_to_end.
8217 * gdb.base/call-signal-resume.exp: Revert earlier patch.
8218 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
8219 gdb_continue_to_end.
8220
63154eca
PA
82212011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8222
8223 * gdb.server/ext-run.exp
8224 (load new file without any gdbserver inferior): New test.
8225
967d1f9b
TT
82262011-03-07 Tom Tromey <tromey@redhat.com>
8227
8228 * Makefile.in (TAGS): Rewrite.
8229
d68dcbb9
JK
82302011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8231
8232 * gdb.trace/report.exp (12.1: trace report #1): New match for the
8233 initial commands echo. New match for `Found trace'. Anchor all the
8234 other matches. Anchor and match for `No trace frame found' the final
8235 match.
8236
6bf58e63
TT
82372011-03-07 Tom Tromey <tromey@redhat.com>
8238
8239 * Makefile.in (TAGS): New target.
8240
fda326dd
TT
82412011-03-07 Tom Tromey <tromey@redhat.com>
8242
8243 * lib/opencl.exp (skip_opencl_tests): Update for exit message
8244 change.
8245 * lib/mi-support.exp (mi_gdb_test): Update for exit message
8246 change.
8247 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
8248 exit message change.
8249 (skip_altivec_tests): Update for exit message change.
8250 (skip_vsx_tests): Likewise.
8251 (gdb_continue_to_end): Likewise. Add 'command' argument.
8252 * lib/cell.exp (skip_cell_tests): Update for exit message change.
8253 * gdb.threads/tls.exp: Update for exit message change.
8254 * gdb.threads/thread-unwindonsignal.exp: Use
8255 gdb_continue_to_end.
8256 * gdb.threads/step.exp (step_it): Update for exit message change.
8257 (continue_all): Likewise.
8258 * gdb.threads/print-threads.exp (test_all_threads): Update for
8259 exit message change.
8260 * gdb.threads/interrupted-hand-call.exp: Use
8261 gdb_continue_to_end.
8262 * gdb.threads/execl.exp: Use gdb_continue_to_end.
8263 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
8264 gdb_continue_to_end.
8265 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
8266 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
8267 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
8268 * gdb.cp/method.exp: Update for exit message change.
8269 * gdb.cp/mb-templates.exp: Update for exit message change.
8270 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
8271 * gdb.cp/annota3.exp: Update for exit message change.
8272 * gdb.cp/annota2.exp: Update for exit message change.
8273 * gdb.cell/fork.exp: Use gdb_continue_to_end.
8274 * gdb.base/term.exp: Update for exit message change.
8275 * gdb.base/step-test.exp (test_i): Update for exit message change.
8276 * gdb.base/sigstep.exp (advance): Update for exit message change.
8277 (advancei): Likewise.
8278 * gdb.base/siginfo.exp: Update for exit message change.
8279 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
8280 * gdb.base/reread.exp: Use gdb_continue_to_end.
8281 * gdb.base/langs.exp: Use gdb_continue_to_end.
8282 * gdb.base/interrupt.exp: Update for exit message change.
8283 * gdb.base/gdb1555.exp: Update for exit message change.
8284 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
8285 * gdb.base/ending-run.exp: Update for exit message change.
8286 * gdb.base/chng-syms.exp: Update for exit message change.
8287 * gdb.base/checkpoint.exp: Update for exit message change.
8288 * gdb.base/catch-syscall.exp (check_for_program_end): Use
8289 gdb_continue_to_end.
8290 (test_catch_syscall_with_wrong_args): Likewise.
8291 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
8292 * gdb.base/break-interp.exp (test_ld): Update for exit message
8293 change.
8294 * gdb.base/bang.exp: Update for exit message change.
8295 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
8296 (do_call_attach_tests): Likewise.
8297 * gdb.base/a2-run.exp: Update for exit message change.
8298 * gdb.arch/ppc-dfp.exp: Update for exit message change.
8299 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
8300 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
8301
dd19bd70
JK
83022011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8303
8304 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
8305
30e62689
TT
83062011-03-03 Tom Tromey <tromey@redhat.com>
8307
8308 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
8309 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
8310 * gdb.hp/gdb.aCC/configure.ac: Remove.
8311 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
8312 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
8313 * gdb.hp/gdb.base-hp/configure.ac: Remove.
8314 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
8315 * gdb.hp/gdb.compat/configure (Makefile): Remove.
8316 * gdb.hp/gdb.compat/configure.ac: Remove.
8317 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
8318 * gdb.hp/gdb.defects/configure (Makefile): Remove.
8319 * gdb.hp/gdb.defects/configure.ac: Remove.
8320 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
8321 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
8322 * gdb.hp/gdb.objdbg/configure.ac: Remove.
8323 * gdb.hp/configure.ac: Remove.
8324 * gdb.hp/configure: Remove.
8325 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
8326 substitution.
8327 (Makefile): Remove rule.
8328 * gdb.cell/configure.ac: Remove.
8329 * gdb.cell/configure: Remove.
8330 * gdb.stabs/Makefile.in (Makefile): Remove.
8331 (distclean): Don't remove config.status or config.log.
8332 * gdb.stabs/configure (Makefile): Remove.
8333 * gdb.stabs/configure.ac: Remove.
8334 * configure: Rebuild.
8335 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
8336 Remove stabs- and cell-specific logic. Test for existence of
8337 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
8338 subdirectories, gdb.cell, and and gdb.stabs.
8339 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
8340
c171f854
JB
83412011-03-03 Joel Brobecker <brobecker@adacore.com>
8342
8343 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
8344 end of buffer.
8345
9a5193cb
JB
83462011-03-02 Joel Brobecker <brobecker@adacore.com>
8347
8348 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
8349 gdb_test when running a test where we expected no output back.
8350
9bb4c1bb
MS
83512011-02-28 Michael Snyder <msnyder@vmware.com>
8352
8353 * gdb.cp/overload.cc: Change initializer value to integer.
8354
3bd0f5ef
MS
83552011-02-27 Michael Snyder <msnyder@vmware.com>
8356
8357 * gdb.multi/base.exp: Add test for remove-inferiors.
8358
2279eaad
JB
83592011-02-26 Joel Brobecker <brobecker@adacore.com>
8360
8361 * gdb.python/py-frame.exp: Simplify the initialization phase
8362 using prepare_for_testing.
8363
c82c0b55
MS
83642011-02-25 Michael Snyder <msnyder@vmware.com>
8365
8366 * gdb.multi/base.exp: Add tests for info inferiors with args.
8367
1d94651b
JK
83682011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8369
8370 * gdb.dwarf2/dw2-ranges.S: Rename to ...
8371 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
8372 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
8373 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
8374 asmfile3. Comment the STABS (#3) file compilation. Compile
8375 everything through assembler. Provide KFAIL for symtab/12497.
8376 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
8377 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
8378 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
8379 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
8380
3bd0f5ef
MS
83812011-02-24 Michael Snyder <msnyder@vmware.com>
8382
8383 * gdb.base/break.exp: Add tests for delete breakpoints using
8384 convenience variables and value history references.
8385
12c1418e
MS
83862011-02-24 Michael Snyder <msnyder@vmware.com>
8387
8388 * gdb.base/break.exp: Remove debugging 'printf' accidentally
8389 left behind in previous check-in.
8390
e5a67952
MS
83912011-02-23 Michael Snyder <msnyder@vmware.com>
8392
8393 * gdb.base/break.exp: Add tests for "info break" with arguments.
8394 * gdb.trace/infotrace.exp: Update patterns for error and help.
8395 * gdb.base/completion.exp: Update pattern.
8396 * gdb.base/ena-dis-br.exp: Update pattern.
8397 * gdb.base/help.exp: Update patterns.
8398
83992011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
8400
8401 * gdb.base/memattr.exp: New test.
8402 * gdb.base/memattr.c: Test load for memattr.exp.
8403
6e6fbe60
DE
84042011-02-22 Doug Evans <dje@google.com>
8405
8406 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
8407
1d41d745
MS
84082011-02-22 Michael Snyder <msnyder@vmware.com>
8409
8410 * Makefile.in: Make more clean.
8411 * gdb.ada/Makefile.in: Ditto.
8412 * gdb.arch/Makefile.in: Ditto.
8413 * gdb.asm/Makefile.in: Ditto.
8414 * gdb.base/Makefile.in: Ditto.
8415 * gdb.cp/Makefile.in: Ditto.
8416 * gdb.dwarf2/Makefile.in: Ditto.
8417 * gdb.java/Makefile.in: Ditto.
8418 * gdb.mi/Makefile.in: Ditto.
8419 * gdb.modula2/Makefile.in: Ditto.
8420 * gdb.python/Makefile.in: Ditto.
8421 * gdb.server/Makefile.in: Ditto.
8422 * gdb.stabs/Makefile.in: Ditto.
8423 * gdb.threads/Makefile.in: Ditto.
8424 * gdb.trace/Makefile.in: Ditto.
8425
79ba84ca
MS
84262011-02-22 Michael Snyder <msnyder@vmware.com>
8427
df46027d 8428 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
8429 info threads.
8430
b9b35694
JB
84312011-02-22 Joel Brobecker <brobecker@adacore.com>
8432
8433 * gdb.python/py-breakpoint.exp: Fix the expected output of
8434 one of the "maint info breakpoints" tests to accept the output
8435 generated on platforms that do not have hardware watchpoints.
8436
8bfb830f
JB
84372011-02-22 Joel Brobecker <brobecker@adacore.com>
8438
8439 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
8440 clean_restart. Be a little stricter in the expected output
8441 for one of the tests. Fix a typo in one of the comments.
8442
c45f3c54
JB
84432011-02-22 Joel Brobecker <brobecker@adacore.com>
8444
8445 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
8446 Delete variable binfile, no longer use. Add or modify test
8447 comments to make them unique.
8448
b97c863c
MS
84492011-02-21 Michael Snyder <msnyder@vmware.com>
8450
8451 * Makefile.in: Update for make clean.
8452 * gdb.ada/Makefile.in: Ditto.
8453 * gdb.arch/Makefile.in: Ditto.
8454 * gdb.asm/Makefile.in: Ditto.
8455 * gdb.base/Makefile.in: Ditto.
8456 * gdb.cp/Makefile.in: Ditto.
8457 * gdb.dwarf2/Makefile.in: Ditto.
8458 * gdb.java/Makefile.in: Ditto.
8459 * gdb.mi/Makefile.in: Ditto.
8460 * gdb.modula2/Makefile.in: Ditto.
8461 * gdb.python/Makefile.in: Ditto.
8462 * gdb.server/Makefile.in: Ditto.
8463 * gdb.stabs/Makefile.in: Ditto.
8464 * gdb.threads/Makefile.in: Ditto.
8465 * gdb.trace/Makefile.in: Ditto.
8466
aea5b279
MS
84672011-02-21 Michael Snyder <msnyder@vmware.com>
8468
8469 * gdb.threads/thread-find.exp: Update patterns for changes in
8470 output of "info threads" command.
8471
e3039479
UW
84722011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8473 Ulrich Weigand <uweigand@de.ibm.com>
8474
8475 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
8476 (skip_hw_watchpoint_tests): Likewise.
8477 (skip_hw_watchpoint_multi_tests): Likewise.
8478
b800ec70
UW
84792011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
8480
8481 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
8482 (skip_hw_watchpoint_tests): Likewise.
8483 (skip_hw_watchpoint_multi_tests): Likewise.
8484 (skip_hw_watchpoint_access_tests): Likewise.
8485
8486 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
8487 * gdb.base/pr11022.exp: Likewise.
8488 * gdb.base/watch-read.exp: Likewise.
8489 * gdb.base/watch_thread_num.exp: Likewise.
8490 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
8491 * gdb.base/watchpoint-hw.exp: Likewise.
8492 * gdb.base/watchpoint.exp: Likewise.
8493 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
8494 * gdb.threads/watchthreads-reorder.exp: Likewise.
8495 * gdb.threads/watchthreads.exp: Likewise.
8496 * gdb.threads/watchthreads2.exp: Likewise.
8497
91033e37
JB
84982011-02-21 Joel Brobecker <brobecker@adacore.com>
8499
8500 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
8501 the debugger is unable to find the array bounds.
8502
eeaafae2
JK
85032011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8504
8505 * gdb.cp/typedef-operator.exp: New file.
8506 * gdb.cp/typedef-operator.cc: New file.
8507
e338d953
MS
85082011-02-17 Michael Snyder <msnyder@vmware.com>
8509
8510 * gdb.threads/thread-find.exp: Fix regular expressions.
8511
e67ad678
JB
85122011-02-17 Joel Brobecker <brobecker@adacore.com>
8513
8514 * gdb.ada/packed_array: Expand testcase to test printing of
8515 unconstrained packed array.
8516
93084bca
JB
85172011-02-17 Joel Brobecker <brobecker@adacore.com>
8518
8519 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
8520
a0c78a73
PA
85212011-02-16 Pedro Alves <pedro@codesourcery.com>
8522
f65d5553 8523 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
8524 (main): Initialize it before collecting, and and clear it
8525 afterwards.
f65d5553
PA
8526 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8527 collecting with '{type} addr', where the addr expression is not an
8528 rvalue.
a0c78a73 8529
3dfcbbd2
KW
85302011-02-16 Ken Werner <ken.werner@de.ibm.com>
8531
8532 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
8533 a bool variable. Expect correct OpenCL names for vector types. Use the
8534 uc3 variable name instead of referring to the uchar3 built-in type.
8535 Escape the asterisk at the half pointer test.
8536
08807d5a
PA
85372011-02-16 Pedro Alves <pedro@codesourcery.com>
8538
f65d5553 8539 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
8540 (main): Initialize it before collecting, and and clear it
8541 afterwards.
f65d5553
PA
8542 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
8543 collecting overlapping memory ranges.
08807d5a 8544
60f98dde
MS
85452011-02-15 Michael Snyder <msnyder@vmware.com>
8546
8547 * gdb.base/default.exp: Add tests for thread commands.
8548 * gdb.base/help.exp: Add tests for thread commands.
8549 * gdb.threads/thread-find.exp: New test for thread find command.
8550
648cd113
KW
85512011-02-15 Ken Werner <ken.werner@de.ibm.com>
8552
8553 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
8554
494e194e
YQ
85552011-02-15 Yao Qi <yao@codesourcery.com>
8556
8557 PR tdep/12352
8558 * gdb.arch/arm-disp-step.S : New test for str instruction.
8559 * gdb.arch/arm-disp-step.exp : Likewise.
8560
d9492458
TJB
85612011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
8562
8563 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
8564 "vector_register2_vr" test strings. Test the extended floating
8565 point registers (F32~F63).
8566 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
8567 IBM XL C compiler. Make the test program use a register provided
8568 by the compiler for the lxvd2x instruction.
8569
8af8e3bc
PA
85702011-02-14 Pedro Alves <pedro@codesourcery.com>
8571
8572 * gdb.trace/unavailable.cc (class Base, class Middle, class
8573 Derived): New types.
8574 (derived_unavail, derived_partial, derived_whole): New globals.
8575 (virtual_partial): New global.
8576 (virtualp): Point at virtual_partial.
8577 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
8578 related to unavailable vptr.
8579
1b28d0b3
PA
85802011-02-14 Pedro Alves <pedro@codesourcery.com>
8581
8582 * gdb.trace/unavailable.cc (a, b, c): New globals.
8583 (main): Set and clear them.
8584 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
8585 `a' and `c', and check that `b' isn't collected, although `a' and
8586 `c' are.
8587
ec0a52e1
PA
85882011-02-14 Pedro Alves <pedro@codesourcery.com>
8589
8590 * gdb.trace/unavailable.cc (struct Virtual): New.
8591 (virtualp): New global pointer.
8592 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
8593 printing a pointer to an object whose type has a vtable, with
8594 print object on.
8595
24e6bcee
PA
85962011-02-14 Pedro Alves <pedro@codesourcery.com>
8597
8598 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
8599 value repeat handles unavailableness.
8600
39d37385
PA
86012011-02-14 Pedro Alves <pedro@codesourcery.com>
8602
8603 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
8604 tests for building arrays from unavailable values, subscripting
8605 non-memory rvalue unvailable arrays, and accessing fields or
8606 baseclasses of non-lazy unavailable values,
8607 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
8608 struct types.
8609 (g_smallstruct, g_smallstruct_b): New globals.
8610
06d72e16
PA
86112011-02-14 Pedro Alves <pedro@codesourcery.com>
8612
8613 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
8614
bc9a5551
JK
86152011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8616
8617 Fix const/volatile qualifiers of C++ types, PR c++/12328.
8618 * gdb.cp/overload-const.exp: New file.
8619 * gdb.cp/overload-const.cc: New file.
8620
54fcddd0
UW
86212011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8622
8623 * gdb.opencl/callfuncs.cl: New file.
8624 * gdb.opencl/callfuncs.exp: New test.
8625 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
8626
d6dafb7c
UW
86272011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
8628
8629 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
8630 when computing result.
8631 * gdb.arch/altivec-abi.exp: Update expected results.
8632
a449c2d8
TJB
86332011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8634
8635 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
8636 * gdb.base/jit.exp: Likewise.
8637 * gdb.base/pie-execl.exp: Likewise.
8638 * gdb.base/solib-nodir.exp: Likewise.
8639 * gdb.base/solib-overlap.exp: Likewise.
8640
764880b7
PA
86412011-02-07 Pedro Alves <pedro@codesourcery.com>
8642
8643 * gdb.trace/collection.c (global_pieces): New.
8644 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
8645 New procedure.
8646 (gdb_trace_collection_test): Call it.
8647
505500db
SW
86482011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
8649
8650 * gdb.python/py-evthreads.c: New file.
8651 * gdb.python/py-evthreads.exp: New file.
8652 * gdb.python/py-events.py: New file.
8653 * gdb.python/py-events.exp: New file.
8654 * gdb.python/py-events.c: New file.
8655
385203ed
DD
86562011-02-04 David Daney <ddaney@caviumnetworks.com>
8657
8658 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
8659
9011945e
AB
86602011-02-03 Andrew Burgess <aburgess@broadcom.com>
8661
8662 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
8663 gdb.base/disasm-end-cu.exp: New test for disassembling over the
8664 boundary between two compilation units.
8665
580688f3
PA
86662011-02-02 Pedro Alves <pedro@codesourcery.com>
8667
8668 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
8669 (Virtual): New structs.
8670 (virtual_o, virtual_middle_b): New globals.
8671 * gdb.cp/virtbase.exp: New tests.
8672
d3f0f853
PP
86732011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8674
8675 * gdb.base/jit.exp: New file.
8676 * gdb.base/jit-main.c: New file.
8677 * gdb.base/jit-solib.c: New file.
8678
b2030fb5
UW
86792011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
8680
8681 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
8682 proceed to initial kernel entry point.
8683 * gdb.opencl/datatypes.exp: Likewise.
8684 * gdb.opencl/operators.exp: Likewise.
8685 * gdb.opencl/vec_comps.exp: Likewise.
8686
2db19d1e
SW
86872011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
8688
8689 * gdb.cp/nsnested.cc: New.
8690 * gdb.cp/nsnested.exp: New.
8691 * gdb.cp/nsnoimports.exp: New.
8692 * gdb.cp/nsnoimports.cc: New.
8693
6b0c4c1f
JB
86942011-01-31 Joel Brobecker <brobecker@adacore.com>
8695
8696 * gdb.base/interact.exp: Add extra tests that verify that
8697 the value of the interactive-mode setting does not change
8698 after the script is sourced.
8699
80b23b6a
JK
87002011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8701
8702 * gdb.cp/noparam.exp: New file.
8703 * gdb.cp/noparam.cc: New file.
8704
ffd5ec24
PA
87052011-01-28 Pedro Alves <pedro@codesourcery.com>
8706
8707 * gdb.trace/tfile.exp: Test that with no traceframe selected,
8708 there's no stack or registers.
8709
a81766d8
TT
87102011-01-26 Tom Tromey <tromey@redhat.com>
8711
8712 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
8713 space before string output. Add test for "set print pretty off"
8714 case.
8715
585fdaa1
PA
87162011-01-25 Pedro Alves <pedro@codesourcery.com>
8717
8718 * gdb.base/frame-args.exp: Adjust.
8719 * gdb.dwarf2/dw2-noloc.exp: Adjust.
8720 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
8721 * gdb.dwarf2/pieces.exp: Adjust.
8722 * gdb.opt/clobbered-registers-O2.exp: Adjust.
8723 * gdb.opt/inline-locals.exp: Adjust.
8724 * gdb.threads/fork-child-threads.exp: Adjust.
8725
d468832a
KW
87262011-01-25 Ken Werner <ken.werner@de.ibm.com>
8727
8728 * gdb.opencl/convs_casts.cl: Move program scope variables into the
8729 OpenCL kernel function. Add a comment as marker. Add address space
8730 qualifiers for the remaining program scope variables.
8731 * gdb.opencl/datatypes.cl: Likewise.
8732 * gdb.opencl/operators.cl: Likewise.
8733 * gdb.opencl/vec_comps.cl: Likewise.
8734 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
8735 Add breakpoint at the marker comment.
8736 * gdb.opencl/datatypes.exp: Likewise.
8737 * gdb.opencl/operators.exp: Likewise.
8738 * gdb.opencl/vec_comps.exp: Likewise.
8739
490f124f
PA
87402011-01-24 Pedro Alves <pedro@codesourcery.com>
8741
8742 * gdb.base/printcmds.c (some_struct): New struct and instance.
8743 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
8744 procedure.
8745 <global scope>: Call it.
8746
6da78614
KW
87472011-01-21 Ken Werner <ken.werner@de.ibm.com>
8748
8749 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
8750 argument to the gdb_compile_opencl_hostapp call.
8751
ec64c9aa
YQ
87522011-01-19 Yao Qi <yao@codesourcery.com>
8753
8754 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
8755 positve list.
8756
810cfdbb
YQ
87572011-01-19 Yao Qi <yao@codesourcery.com>
8758
8759 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
8760 canonical form.
8761 Remove "xscale-*-*"
8762 * gdb.xml/tdesc-regs.exp: Likewise.
8763 * gdb.python/py-section-script.exp: Replace ARM target triplet
8764 with canonical form.
8765 Match arm*-*-symbianelf*.
8766 * gdb.base/dup-sect.exp: Likewise.
8767 * lib/dwarf.exp: New.
8768 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
8769 dwarf2_support.
8770 * gdb.dwarf2/dup-psym.exp: Likewise.
8771 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
8772 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8773 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
8774 * gdb.dwarf2/dw2-basic.exp: Likewise.
8775 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8776 * gdb.dwarf2/dw2-const.exp: Likewise.
8777 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
8778 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
8779 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
8780 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
8781 * gdb.dwarf2/dw2-filename.exp: Likewise.
8782 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
8783 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
8784 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8785 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8786 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
8787 * gdb.dwarf2/dw2-noloc.exp: Likewise.
8788 * gdb.dwarf2/dw2-op-call.exp: Likewise.
8789 * gdb.dwarf2/dw2-producer.exp: Likewise.
8790 * gdb.dwarf2/dw2-ranges.exp: Likewise.
8791 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
8792 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
8793 * gdb.dwarf2/dw2-strp.exp: Likewise.
8794 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
8795 * gdb.dwarf2/implptr.exp: Likewise.
8796 * gdb.dwarf2/mac-fileno.exp: Likewise.
8797 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
8798 * gdb.dwarf2/pieces.exp: Likewise.
8799 * gdb.dwarf2/pr11465.exp: Likewise.
8800 * gdb.dwarf2/valop.exp: Likewise.
8801 * gdb.dwarf2/watch-notconst.exp: Likewise.
8802 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
8803
4694da01
TT
88042011-01-19 Tom Tromey <tromey@redhat.com>
8805
8806 * gdb.python/py-infthread.exp: Add thread tests.
8807
b075872c
JB
88082011-01-14 Joel Brobecker <brobecker@adacore.com>
8809
8810 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
8811
2c3e6e24
JB
88122011-01-14 Joel Brobecker <brobecker@adacore.com>
8813
8814 * gdb.ada/widewide: New testcase.
8815
de8fa76c
JB
88162011-01-13 Joel Brobecker <brobecker@adacore.com>
8817
8818 * gdb.base/interact.exp: New testcase.
8819
1b05df00
TT
88202011-01-12 Tom Tromey <tromey@redhat.com>
8821
8822 * gdb.mi/gdb2549.exp: Update for error message changes.
8823 * gdb.mi/mi-cli.exp: Likewise.
8824 * gdb.mi/mi-disassemble.exp: Likewise.
8825 * gdb.mi/mi-pthreads.exp: Likewise.
8826 * gdb.mi/mi-regs.exp: Likewise.
8827 * gdb.mi/mi-stack.exp: Likewise.
8828 * gdb.mi/mi-var-block.exp: Likewise.
8829 * gdb.mi/mi-var-cmd.exp: Likewise.
8830 * gdb.mi/mi2-cli.exp: Likewise.
8831 * gdb.mi/mi2-disassemble.exp: Likewise.
8832 * gdb.mi/mi2-pthreads.exp: Likewise.
8833 * gdb.mi/mi2-regs.exp: Likewise.
8834 * gdb.mi/mi2-stack.exp: Likewise.
8835 * gdb.mi/mi2-var-block.exp: Likewise.
8836 * gdb.mi/mi2-var-cmd.exp: Likewise.
8837
c2ff108b
JK
88382011-01-12 Andrew Burgess <aburgess@broadcom.com>
8839 Jan Kratochvil <jan.kratochvil@redhat.com>
8840
8841 PR fortran/11104 and DWARF unbound arrays detection.
8842 * gdb.fortran/multi-dim.exp: New file.
8843 * gdb.fortran/multi-dim.f90: New file.
8844
b716877b
AB
88452011-01-12 Andrew Burgess <aburgess@broadcom.com>
8846
8847 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8848 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8849 add new tests for opcode dumping.
8850
6c162d5e
TT
88512011-01-11 Tom Tromey <tromey@redhat.com>
8852
8853 * gdb.python/py-infthread.exp: Load gdb-python.exp.
8854
77b06cd7
TJB
88552010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
8856
8857 Convert hardware watchpoints to use breakpoint_ops.
8858 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8859 type is not supported.
8860 * gdb.base/foll-fork.exp: Likewise.
8861 * gdb.base/foll-vfork.exp: Likewise.
8862
f39a75d0
PM
88632011-01-10 Phil Muldoon <pmuldoon@redhat.com>
8864
8865 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8866 Use load_lib gdb-python.exp.
8867 * gdb.python/python.exp: Ditto.
8868 * gdb.python/py-function.exp: Ditto.
8869
fc529d80
AS
88702011-01-09 Andreas Schwab <schwab@linux-m68k.org>
8871
8872 * gdb.threads/tls.exp ("info address me"): Fix expected output.
8873
fb03cb59
JK
88742011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 * configure: Regenerate.
8877
d8e22779
TT
88782011-01-06 Tom Tromey <tromey@redhat.com>
8879
8880 * gdb.python/py-frame.exp: Test gdb.newest_frame.
8881
09050809
JB
88822011-01-06 Joel Brobecker <brobecker@adacore.com>
8883
fc529d80
AS
8884 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8885 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8886 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8887 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8888 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8889 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8890 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8891 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8892 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8893 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8894 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8895 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8896 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8897 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8898 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8899 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8900 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8901 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8902 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8903 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8904 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8905 gdb.ada/uninitialized_vars.exp,
8906 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8907 Simplify by using clean_restart.
09050809 8908
8ed5dd9e
JB
89092011-01-06 Joel Brobecker <brobecker@adacore.com>
8910
8911 Add marker to be used as anchor for inserting breakpoints.
8912 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8913 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8914 Likewise.
8915
8916 Remove uses of gdb_start_cmd.
8917 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8918 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8919
8920 Do not run testcase if testing with GDBserver.
8921 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8922 if testing with GDBserver.
8923
368a124f
JB
89242011-01-06 Joel Brobecker <brobecker@adacore.com>
8925
8926 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8927 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8928 copyright header.
8929
44944448
JB
89302011-01-05 Joel Brobecker <brobecker@adacore.com>
8931
8932 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8933 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8934 testsuite/gdb.fortran/complex.f,
8935 testsuite/gdb.fortran/derived-type.f90,
8936 testsuite/gdb.fortran/library-module-lib.f90,
8937 testsuite/gdb.fortran/library-module-main.f90,
8938 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8939 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8940 Copyright year update.
8941
31886ea6
JB
89422011-01-05 Joel Brobecker <brobecker@adacore.com>
8943
8944 * gdb.base/langs1.f: Add copyright header.
8945
ebedcab5
JK
89462011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8947
8948 * gdb.base/morestack.exp: New file.
8949 * gdb.base/morestack.c: New file.
8950
de1eb2f9
JK
89512011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8952
8953 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8954
9e87a409
JB
89552010-12-29 Joel Brobecker <brobecker@adacore.com>
8956
8957 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8958 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8959
720d1a40
JB
89602010-12-29 Joel Brobecker <brobecker@adacore.com>
8961
8962 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8963
a283af87
AS
89642010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8965
5d3d9cba
AS
8966 * gdb.threads/tls.exp: Fix typo.
8967
a283af87
AS
8968 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8969 * gdb.threads/execl.exp: Update.
8970
2a20745c
YQ
89712010-12-23 Yao Qi <yao@codesourcery.com>
8972
8973 * gdb.arch/arm-disp-step.exp: New.
8974 * gdb.arch/arm-disp-step.S: New.
8975
a7658b96
TT
89762010-12-21 Tom Tromey <tromey@redhat.com>
8977
8978 * gdb.threads/execl.exp: Update.
8979 * gdb.threads/linux-dp.exp: Update.
8980 * gdb.threads/manythreads.exp: Update.
8981 * gdb.threads/tls.exp: Update.
8982
5b79abe7
TT
89832010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8984
8985 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8986 (NextOverThrowDerivates) <resumebpt>: New.
8987 (resumebpt_test): New.
8988 (main): Call resumebpt_test.
8989 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8990
0914bcdb
SS
89912010-12-12 Stan Shebs <stan@codesourcery.com>
8992
8993 * gdb.trace/tsv.exp: Test print command on trace state variables.
8994
305aeedc
TT
89952010-12-09 Tom Tromey <tromey@redhat.com>
8996
8997 * gdb.base/interp.exp: Add regression test.
8998
186c406b
TT
89992010-12-09 Tom Tromey <tromey@redhat.com>
9000
9001 * gdb.java/jnpe.java: New file.
9002 * gdb.java/jnpe.exp: New file.
9003 * gdb.cp/nextoverthrow.exp: New file.
9004 * gdb.cp/nextoverthrow.cc: New file.
9005
aae1c79a
DE
90062010-12-07 Doug Evans <dje@google.com>
9007
9008 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
9009 of data-directory.
9010 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
9011 updated.
9012 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
9013
60f98dde 90142010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
9015
9016 * gdb.base/callfuncs.exp: Test for skip_float_tests.
9017 * gdb.base/call-sc.exp: Ditto.
9018 * gdb.base/finish.exp: Ditto.
9019 * gdb.base/return.exp: Ditto.
9020 * gdb.base/return2.exp: Ditto.
9021
5fa290c1
DE
90222010-11-30 Doug Evans <dje@google.com>
9023
9024 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
9025 (gdb_expect_list): Fix spelling errors in comments.
9026 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
9027 send_gdb/gdb_expect_list where applicable.
9028 * gdb.base/call-ar-st.exp: Ditto.
9029 * gdb.base/funcargs.exp: Ditto.
9030 * gdb.base/gcore.exp: Ditto.
9031 * gdb.base/page.exp: Ditto.
9032 * gdb.base/sigaltstack.exp: Ditto.
9033 * gdb.base/siginfo.exp: Ditto.
9034 * gdb.base/sigstep.exp: Ditto.
9035 * gdb.base/trace-commands.exp: Ditto.
9036
4e04c971
DE
90372010-11-29 Doug Evans <dje@google.com>
9038
9039 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
9040 printer-name;subprinter-name.
9041
8cf6f0b1
TT
90422010-11-29 Tom Tromey <tromey@redhat.com>
9043
9044 * gdb.dwarf2/implptr.exp: New file.
9045 * gdb.dwarf2/implptr.c: New file.
9046 * gdb.dwarf2/implptr.S: New file.
9047
94b6973e
PM
90482010-11-29 Phil Muldoon <pmuldoon@redhat.com>
9049
fc529d80 9050 PR python/12199
94b6973e
PM
9051
9052 * gdb.python/py-breakpoint.exp: Test the delete method.
9053
8358c15c
JK
90542010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9055
9056 Fix step_resume_breakpoint unsaved during an infcall.
9057 * gdb.base/step-resume-infcall.exp: New file.
9058 * gdb.base/step-resume-infcall.c: New file.
9059
f6df29bc
TJB
90602010-11-24 Edjunior Machado <emachado@br.ibm.com>
9061
9062 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
9063
f2b5a5cf
TJB
90642010-11-24 Edjunior Machado <emachado@br.ibm.com>
9065
9066 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
9067 on ppc64's symbols; "finish" and "return" commands must accept to
9068 show the caller line again as well as the line after.
9069 * gdb.asm/powerpc64.inc: New file.
9070
6b0ecdc2
DE
90712010-11-23 Doug Evans <dje@google.com>
9072
9073 * lib/gdb.exp (gdb_test_sequence): New function.
9074 (gdb_expect_list): Add verbose -log call for each pattern.
9075 * gdb.base/signals.exp (test_handle_all_print): Call it.
9076 Reduce timeout increment from 6 minutes to 1 minute.
9077 * gdb.server/ext-run.exp: Call it.
9078
ea976c60
PM
90792010-11-23 Phil Muldoon <pmuldoon@redhat.com>
9080
f2b5a5cf 9081 PR python/12212
ea976c60
PM
9082
9083 * gdb.python/python.exp: Check that selected_thread raises an
9084 error when no inferior is loaded.
9085
c0efa795
JK
90862010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9087
9088 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
9089 * gdb.dwarf2/dw2-stack-boundary.S: New file.
9090
ec3aa567
JK
90912010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9092
9093 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
9094 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
9095
d8249011
DE
90962010-11-18 Doug Evans <dje@google.com>
9097
9098 * gdb.server/ext-run.exp: Fix intermittent failures.
9099
d4eba7d1
NF
91002010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9101
9102 * gdb.stabs/gdb11479.exp: Use runto_main.
9103
b04c2f88
NF
91042010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9105
9106 * gdb.base/break-entry.exp: Skip if using a stub.
9107
ae9d7ce4
NF
91082010-11-12 Nathan Froyd <froydnj@codesourcery.com>
9109
9110 * gdb.python/py-inferior.exp: Pack values in target endianness.
9111
621c8364
TT
91122010-11-12 Tom Tromey <tromey@redhat.com>
9113
9114 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
9115 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
9116 MemoryError.
9117 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
9118 type.
9119 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
9120 MemoryError.
9121 (test_subscript_regression): Update exception type.
9122
84f4c1fe
PM
91232010-11-11 Phil Muldoon <pmuldoon@redhat.com>
9124
9125 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
9126 breakpoint tests.
9127
a1442452
PA
91282010-11-09 Pedro Alves <pedro@codesourcery.com>
9129
9130 * gdb.base/watchpoint.exp: Test "watch -location" with an
9131 innacessible location.
9132
efd11a33
JK
91332010-11-09 Edjunior Machado <emachado@br.ibm.com>
9134 Luis Machado <luisgpm@br.ibm.com>
9135
9136 * gdb.base/maint.exp: Expect "." prefix.
9137 * gdb.base/nodebug.exp: Expect "." Likewise.
9138 * gdb.base/sepsymtab.exp: Expect "." Likewise.
9139 * gdb.base/watchpoint-cond-gone.exp: Likewise.
9140 * gdb.base/watchpoint.exp: Expect a software watch to be created for
9141 POWER server processors.
9142
aa00efb5
JK
91432010-11-08 Edjunior Machado <emachado@br.ibm.com>
9144 Luis Machado <luisgpm@br.ibm.com>
9145
9146 * gdb.base/break-entry.exp: convert entry point for
9147 ppc64 and expect leading `.' on ppc64's symbols
9148
99e7ae30
DE
91492010-11-05 Doug Evans <dje@google.com>
9150
9151 * gdb.base/help.exp: Update expected output.
b521dba8
DE
9152 * gdb.python/py-param.exp: Delete, contents moved to ...
9153 * gdb.python/py-parameter.exp: ... here. New file.
9154 Add test for gdb.parameter ("directories").
99e7ae30 9155
f4b8a18d
KW
91562010-11-05 Ken Werner <ken.werner@de.ibm.com>
9157
9158 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
9159 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
9160 * configure: Regenerate.
9161 * gdb.opencl/Makefile.in: New File.
9162 * gdb.opencl/datatypes.exp: Likewise.
9163 * gdb.opencl/datatypes.cl: Likewise.
9164 * gdb.opencl/operators.exp: Likewise.
9165 * gdb.opencl/operators.cl: Likewise.
9166 * gdb.opencl/vec_comps.exp: Likewise.
9167 * gdb.opencl/vec_comps.cl: Likewise.
9168 * gdb.opencl/convs_casts.exp: Likewise.
9169 * gdb.opencl/convs_casts.cl: Likewise.
9170 * lib/opencl.exp: Likewise.
9171 * lib/opencl_hostapp.c: Likewise.
9172 * lib/opencl_kernel.cl: Likewise.
9173 * lib/cl_util.c: Likewise.
9174 * lib/cl_util.c: Likewise.
9175 * gdb.base/default.exp (set language): Add "opencl" to the list of
9176 languages.
9177
a9d5ef47
SW
91782010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
9179
9180 * gdb.cp/overload.exp: Added test for inheritance overload.
9181 * gdb.cp/overload.cc: Ditto.
9182 * gdb.cp/oranking.exp: Removed releveant kfails.
9183
03eb1c79
JK
91842010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9185 Joel Brobecker <brobecker@adacore.com>
9186
9187 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
9188 check test_compiler_info.
9189
dbc98a8b
KW
91902010-11-03 Ken Werner <ken.werner@de.ibm.com>
9191
9192 * gdb.base/gnu_vector.exp: Adjust expect messages.
9193
120bd360
KW
91942010-11-03 Ken Werner <ken.werner@de.ibm.com>
9195
9196 * gdb.base/gnu_vector.exp: Add unary operator tests.
9197
c37f7098
KW
91982010-11-03 Ken Werner <ken.werner@de.ibm.com>
9199
9200 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
9201
7b51bc51
DE
92022010-11-02 Doug Evans <dje@google.com>
9203
9204 * gdb.python/py-pp-maint.c: New file.
9205 * gdb.python/py-pp-maint.exp: New file.
9206 * gdb.python/py-pp-maint.py: New file.
9207
50c97f38
TT
92082010-11-02 Tom Tromey <tromey@redhat.com>
9209
9210 * gdb.base/default.exp: Remove "scheme" from language list.
9211
a289b8f6
JK
92122010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9213
9214 Revert:
9215 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9216 * gdb.threads/sigstep-threads.exp: New file.
9217 * gdb.threads/sigstep-threads.c: New file.
9218
cd017491
MS
92192010-10-20 Michael Snyder <msnyder@vmware.com>
9220
9221 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
9222
8e6a5956
UW
92232010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9224
9225 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
9226 Skip test completely if gdb,no_hardware_watchpoints.
9227
2c04da0d
UW
92282010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
9229
9230 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
9231 strict, but do not check for any particular function name within libc.
9232
79afc5ef
SW
92332010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9234
9235 * gdb.cp/smartp.exp: New test.
9236 * gdb.cp/smartp.cc : New test.
9237
026ffab7
SW
92382010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
9239
9240 * gdb.cp/converts.exp: Test pointer to bool conversion.
9241 Test pointer to long conversion.
9242 * gdb.cp/oranking.exp: Removed relevant kfail.
9243
3a772aa4
TT
92442010-10-18 Tom Tromey <tromey@redhat.com>
9245
9246 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
9247 argument to lazy_string.
9248 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
9249 (pp_ls.to_string): Use it.
9250 * gdb.python/py-prettyprint.c (main): Move declarations to top.
9251 Add "estring2" local.
9252
5fc3827b
JK
92532010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9254
9255 Fix s390x compatibility.
9256 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
9257 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
9258
8aeb23f3
JK
92592010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9260
9261 * gdb.threads/sigstep-threads.exp: New file.
9262 * gdb.threads/sigstep-threads.c: New file.
9263
c1e56572
JK
92642010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9265
9266 * gdb.base/pie-execl.exp: New file.
9267 * gdb.base/pie-execl.c: New file.
9268
92163a10
JK
92692010-10-13 Doug Evans <dje@google.com>
9270 Jan Kratochvil <jan.kratochvil@redhat.com>
9271
9272 PR exp/12117
9273 * gdb.cp/ptype-cv-cp.cc: New file.
9274 * gdb.cp/ptype-cv-cp.exp: New file.
9275
7062b0a0
SW
92762010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
9277
9278 * gdb.cp/converts.cc: New test program.
9279 * gdb.cp/converts.exp: New test.
9280 * gdb.cp/overload.exp: Added test for void* vs int*.
9281 * gdb.cp/overload.exp: Ditto.
9282 * gdb.cp/oranking.exp: Removed related kfail.
9283
0e3509db
DE
92842010-10-13 Doug Evans <dje@google.com>
9285
9286 * lib/gdb-python.exp (gdb_check_python_config): New function.
9287 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
9288 * gdb.python/lib-types.cc: New file.
9289 * gdb.python/lib-types.exp: New file.
9290
8dc78533
JK
92912010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9292
9293 * gdb.python/py-error.exp: New file.
9294 * gdb.python/py-error.py: New file.
9295
93c17e06
JK
92962010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9297
9298 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
9299 gdb_test_multiple.
9300
d8b34041
JK
93012010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9302
9303 * gdb.base/break-interp.exp: Use ldlags for linking flags.
9304 * gdb.base/prelink.exp: Likewise.
9305 * gdb.base/solib-nodir.exp: Likewise.
9306 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
9307 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
9308 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
9309
e0cc584e
UW
93102010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
9311
9312 * break-interp.exp (test_ld): Use two separate gdb_expect statements
9313 for the "info files" test to avoid timeouts on slow machines.
9314
cfc353b1
JK
93152010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9316
9317 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
9318 (main): Make openlib dummy call.
9319
d3d7896d
JK
93202010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9321
9322 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
9323 * break-interp.exp (reach): Move the core body ...
9324 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
9325 (test_ld): Provide always real argument, even to the linker. Replace
9326 dl_main by _dl_debug_state.
9327
5e533c94
JK
93282010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9329
9330 Fix results of prelinked PIEs on ppc*.
9331 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
9332 Accept also DISPLACEMENT "PRESENT".
9333 (main): Replace "ZERO" displacements by "PRESENT".
9334
33540610
SW
93352010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
9336
9337 * gdb.cp/oranking.exp: New test.
9338 * gdb.cp/oranking.cc: New test program.
9339
3bdf2bbd
KW
93402010-10-08 Ken Werner <ken.werner@de.ibm.com>
9341
9342 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
9343 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
9344
2f608a3a
KW
93452010-10-06 Ken Werner <ken.werner@de.ibm.com>
9346
9347 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
9348 lush, lynx) New constant.
9349 * gdb.base/constvars.exp: Test const array types.
9350 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
9351
aa2e2d8d
DE
93522010-10-06 Doug Evans <dje@google.com>
9353
9354 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
9355 of syscall staging area.
9356
2844d6b5
KW
93572010-10-06 Ken Werner <ken.werner@de.ibm.com>
9358
9359 * gdb.base/gnu_vector.c: Add variable c4.
9360 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
9361 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9362
7d8ac8bb
MR
93632010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
9364
9365 * gdb.arch/altivec-abi.exp: Fix a typo.
9366
84a02e58
MR
93672010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
9368
9369 * lib/mi-support.exp (thread_selected_re): Correct pattern used
9370 to match a thread ID.
9371
b18e6318
JK
93722010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9373
9374 Fix s390x testcase compatibility.
9375 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
9376
a2c09bd0
DE
93772010-10-01 Doug Evans <dje@google.com>
9378
9379 * lib/gdb-python.exp: New file.
9380 * gdb.python/py-block.exp: Use it.
9381 * gdb.python/py-breakpoint.exp: Ditto.
9382 * gdb.python/py-frame.exp: Ditto.
9383 * gdb.python/py-inferior.exp: Ditto.
9384 * gdb.python/py-param.exp: Ditto.
9385 * gdb.python/py-prettyprint.exp: Ditto.
9386 * gdb.python/py-shared.exp: Ditto.
9387 * gdb.python/py-symbol.exp: Ditto.
9388 * gdb.python/py-symtab.exp: Ditto.
9389 * gdb.python/py-type.exp: Ditto.
9390 * gdb.python/py-value.exp: Ditto.
9391 * gdb.python/python.exp: Ditto.
9392
38f12cfc
TT
93932010-09-30 Tom Tromey <tromey@redhat.com>
9394
9395 * gdb.base/anon.exp: New file.
9396 * gdb.base/anon.c: New file.
9397
9ae8282d
TT
93982010-09-30 Tom Tromey <tromey@redhat.com>
9399
9400 * gdb.base/completion.exp: Test completion through anonymous
9401 union.
9402 * gdb.base/break1.c (struct some_struct): Add anonymous union.
9403
e9e07ba6
JK
94042010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9405
9406 Fix printing parameters of inlined functions.
9407 * gdb.dwarf2/dw2-inline-param.exp: New file.
9408 * gdb.dwarf2/dw2-inline-param-main.c: New file.
9409 * gdb.dwarf2/dw2-inline-param.S: New file.
9410
cd2effb2
JK
94112010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9412
9413 PR corefiles/12071.
9414 * gdb.base/corefile.exp (quit with a process, no question: load core)
9415 (quit with a core file): New tests.
9416
bceffbf3
JK
94172010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9418
9419 Fix GDB crash on inferior calls with self-referencing classes.
9420 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
9421 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
9422 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
9423
1736ad11
JK
94242010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9425
9426 Fix lost siginfo_t for inferior calls.
9427 * gdb.base/siginfo-infcall.exp: New file.
9428 * gdb.base/siginfo-infcall.c: New file.
9429
a176ad92
JB
94302010-09-22 Joel Brobecker <brobecker@adacore.com>
9431
9432 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
9433
c2b0a229
JK
94342010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9435
9436 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
9437 New test.
9438 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
9439
e8ae22d1
JB
94402010-09-22 Joel Brobecker <brobecker@adacore.com>
9441
9442 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
9443 type of our const type.
9444
ec322823
SW
94452010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
9446
9447 * gdb.cp/pr12028.cc: New.
9448 * gdb.cp/pr12028.exp: New.
9449
72929c62
JB
94502010-09-22 Joel Brobecker <brobecker@adacore.com>
9451
9452 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
9453
875b4ff5 94542010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 9455 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
9456
9457 PR mi/11407
9458 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
9459 * gdb.mi/dw2-ref-missing-frame-main.c New File.
9460 * gdb.mi/dw2-ref-missing-frame.S New File.
9461 * gdb.mi/dw2-ref-missing-frame.exp New File.
9462
7155d578
TT
94632010-09-14 Tom Tromey <tromey@redhat.com>
9464
9465 PR symtab/8399:
9466 * gdb.threads/tls.exp: Remove kfail. Update expected output.
9467
515ed532
TT
94682010-09-14 Tom Tromey <tromey@redhat.com>
9469
9470 PR exp/11803:
9471 * gdb.threads/tls.exp: Use C++.
9472 (check_thread_local): Use K::another_thread_local.
9473 * gdb.threads/tls.c (class K): New.
9474 (another_thread_local): Now a member of K.
9475 (spin): Update. No longer K&R C.
9476
450ca57c
SW
94772010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
9478
9479 * gdb.cp/koenig.cc: created class for testing member lookup.
9480 * gdb.cp/koenig.exp: Added test for member lookup.
9481
dbd492a3
JK
94822010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9483
9484 Fix false FAILs on sourcetree topdir directory containing "kill".
9485 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
9486 source line matching regexp.
9487
8d4d924b
JK
94882010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9489
9490 * gdb.python/python.exp (set height 0, collect help from uiout)
9491 (verify help to uiout): New tests.
9492
8e64f2a0
JK
94932010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9494
9495 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
9496 is_lp64_target to check 64bit target.
9497
4569eed2
JK
94982010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9499
9500 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
9501 (test_ld) <powerpc64-*>: New.
9502
5e1617b1
DJ
95032010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9504
9505 * gdb.cp/templates.exp (test_template_args): Allow "struct".
9506
c767944b
DJ
95072010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9508
9509 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
9510 (FunctionArg::method): New function.
9511 (empty, arg): New variables.
9512 (main): Call arg.method.
9513 * gdb.cp/templates.exp (test_template_args): New function.
9514 (do_tests): Call it.
9515
27d3a3fc
UW
95162010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9517
9518 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
9519 of "next" to proceed over pthread_exit call.
9520
55b7ce7f
UW
95212010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
9522
9523 * gdb.base/maint.exp: Avoid wildcards against potentially very long
9524 "maint print statistics" output to prevent expect timeouts.
9525
809df446
JK
95262010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9527
9528 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
9529 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9530 (test_float_rejected): ... here.
9531 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
9532 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9533 (test_float_rejected): ... here.
9534 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
9535 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9536 (test_float_rejected): ... here.
9537 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
9538 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
9539 (test_float_rejected): ... here.
9540
8464be76
DJ
95412010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9542
9543 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
9544 before disabling hardware watchpoints.
9545 (test_inaccessible_watchpoint): Check that hardware watchpoints
9546 are used. Test for watchpoints on a constant address.
9547
14dba4b4
JK
95482010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9549
9550 * gdb.base/ui-redirect.exp: New file.
9551
3f3540e1 95522010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 9553 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
9554
9555 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
9556
0f254bb7
DE
95572010-08-31 Doug Evans <dje@google.com>
9558
9559 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
9560
03f17ccf
TT
95612010-08-30 Tom Tromey <tromey@redhat.com>
9562
9563 PR python/11792:
9564 * gdb.python/py-value.exp (test_subscript_regression): Add
9565 dynamic_type test.
9566
640617ad
DJ
95672010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
9568
9569 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
9570 instead of running to main. Do not test the main function.
9571 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
9572 Add new main.
9573
2ed91d1b
PA
95742010-08-26 Pedro Alves <pedro@codesourcery.com>
9575
9576 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
9577 one test.
9578
673bfd45
DE
95792010-08-24 Doug Evans <dje@google.com>
9580
9581 PR symtab/11942
9582 * gdb.dwarf2/dw4-sig-types.cc: New file.
9583 * gdb.dwarf2/dw4-sig-types.h: New file.
9584 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
9585 * gdb.dwarf2/dw4-sig-types.exp: New file.
9586
f9ffd4bb
TT
95872010-08-23 Tom Tromey <tromey@redhat.com>
9588
9589 PR python/11145:
9590 * gdb.python/py-value.c (Base, Derived): New types.
9591 (base): New global.
9592 * gdb.python/py-value.exp (test_subscript_regression): Add
9593 dynamic_cast test.
9594
d839c8a4
TT
95952010-08-23 Tom Tromey <tromey@redhat.com>
9596
9597 PR python/10676:
9598 * gdb.python/py-type.exp (test_fields): Add tests for type
9599 equality.
9600
702c2711
TT
96012010-08-23 Tom Tromey <tromey@redhat.com>
9602
9603 PR python/11915:
9604 * gdb.python/py-type.exp (test_fields): Add tests for array.
9605
832bafd3
KS
96062010-08-23 Keith Seitz <keiths@redhat.com>
9607
9608 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
9609 have any children. Create a new abbrev for it.
9610 Add missing terminal sequence to .debug_abbrev.
9611
c37bf528
KS
96122010-08-20 Keith Seitz <keiths@redhat.com>
9613
9614 PR symtab/11465:
9615 * gdb.dwarf2/pr11465.exp: New test.
9616 * gdb.dwarf2/pr11465.S: New file.
9617 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
9618 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
9619
4572cbac
TJB
96202010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
9621
9622 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
9623 registers. Update data sets with the new v2_double element in the
9624 VSX register union. Add vector_register3_vr data set for the AltiVec
9625 registers. Use gdb_test_no_output instead of send_gdb.
9626
e7fbb131
PA
96272010-08-19 Pedro Alves <pedro@codesourcery.com>
9628
9629 * gdb.python/py-shared.exp: New file, factored out from
9630 python.exp.
9631 * gdb.python/py-shared.c: New file.
9632 * gdb.python/py-shared-sl.c: New file.
9633 * gdb.python/python-1.c: New file.
9634 * gdb.python/python-sl.c: Delete.
9635 * gdb.python/python.c: Mention python-1.c.
9636 * gdb.python/python.exp: Move shared library tests to
9637 py-shared.exp.
9638 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
9639 (MISCELLANEOUS): New.
9640 (clean mostlyclean): Also remove $MISCELLANEOUS.
9641
d30f5e1f
DE
96422010-08-19 Doug Evans <dje@google.com>
9643
9644 PR exp/11926
9645 * gdb.base/printcmds.exp (test_float_accepted): New function.
9646 Move existing float tests there. Add tests for floats with suffixes.
9647 (test_float_rejected): New function.
9648 * gdb.java/jv-print.exp (test_float_accepted): New function.
9649 (test_float_rejected): New function.
9650 * gdb.objc/print.exp: New file.
9651 * gdb.pascal/print.exp: New file.
9652 * lib/objc.exp: New file.
9653
7b3fd859
PM
96542010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
9655
9656 * gdb.base/default.exp (info set): Avoid full buffer error and force
9657 reading up to final gdb prompt.
9658 (show): Likewise.
9659
c92817ce
TT
96602010-08-18 Tom Tromey <tromey@redhat.com>
9661
9662 PR symtab/11919:
9663 * gdb.base/completion.exp: Add test.
9664
f1208f9e
DE
96652010-08-18 Doug Evans <dje@google.com>
9666
9667 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
9668 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
9669 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
9670 Simplify, early exit if runto_main fails.
9671 * gdb.fortran/exprs.exp: load_lib fortran.exp.
9672 (set_lang_fortran): Moved to lib/fortran.exp.
9673 * gdb.fortran/types.exp: load_lib fortran.exp.
9674 (set_lang_fortran): Moved to lib/fortran.exp.
9675 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
9676 * gdb.java/jprint.exp (set_lang_java): Ditto.
9677 * gdb.java/jv-exp.exp: load_lib java.exp.
9678 If set_lang_java fails, issue a warning instead of failure to be
9679 consistent with other set_lang_foo uses.
9680 (set_lang_java): Moved to lib/java.exp.
9681 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
9682 If set_lang_java fails, issue a warning instead of failure to be
9683 consistent with other set_lang_foo uses.
9684 * gdb.pascal/types.exp: load_lib pascal.exp.
9685 (set_lang_pascal): Moved to lib/pascal.exp.
9686 * lib/fortran.exp: New file.
9687 * lib/java.exp (set_lang_java): New function.
9688 * lib/pascal.exp (set_lang_pascal): New function.
9689
2f06b485
YQ
96902010-08-18 Yao Qi <yao@codesourcery.com
9691
9692 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
9693 func_nofb_start and func_loopfb_start, so that address of functions
9694 is equal to these labels on Thumb.
9695
96e25403
YQ
96962010-08-18 Yao Qi <yao@codesourcery.com>
9697
9698 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
9699 to reflect latest c source file.
9700
36e6adc4
JK
97012010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9702
9703 * gdb.cp/infcall-dlopen.exp: New file.
9704 * gdb.cp/infcall-dlopen.cc: New file.
9705 * gdb.cp/infcall-dlopen-lib.cc: New file.
9706
f431efe5
PA
97072010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9708 Pedro Alves <pedro@codesourcery.com>
9709
9710 PR breakpoints/11371
9711
9712 * gdb.base/watch-cond-infcall.exp: New file.
9713 * gdb.base/watch-cond-infcall.c: New file.
9714
06a64a0b
TT
97152010-08-16 Tom Tromey <tromey@redhat.com>
9716
9717 * gdb.base/help.exp: Update.
9718 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
9719 watchpoint.
9720 (test_watch_location): New proc.
9721 (test_watchpoint_in_big_blob): Delete watchpoint.
9722 * gdb.base/watchpoint.c (func5): New function.
9723 (main): Call it.
9724
70ebf4ed
DE
97252010-08-16 Doug Evans <dje@google.com>
9726
9727 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
9728
ca5c20b6
PM
97292010-08-11 Phil Muldoon <pmuldoon@redhat.com>
9730
9731 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
9732 tests.
9733
7346b668
KW
97342010-08-11 Ken Werner <ken.werner@de.ibm.com>
9735
9736 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
9737 * gdb.base/gnu_vector.c: New File.
9738 * gdb.base/gnu_vector.exp: Likewise.
9739
cb2e07a6
PM
97402010-08-11 Phil Muldoon <pmuldoon@redhat.com>
9741
9742 * gdb.python/python.c: New File.
9743 * gdb.python/python-sl.c: New File.
9744 * gdb.python/python.exp: Test solib_address and decode_line
9745 * functions.
9746
5da1313b
JK
97472010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9748
9749 * gdb.python/python.exp (show height, set height 10)
9750 (verify pagination beforehand, verify pagination beforehand: q)
9751 (gdb.execute does not page, verify pagination afterwards)
9752 (verify pagination afterwards: q): New.
9753
49c3ccf7
DE
97542010-08-02 Doug Evans <dje@google.com>
9755
9756 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
9757 because of an older gcc, change test2
9758 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
9759 to unsupported.
9760
42c0c4f1
KH
97612010-07-30 Kazu Hirata <kazu@codesourcery.com>
9762
9763 * gdb.base/break-always.exp: Do not expect full paths to file
9764 names.
9765 * gdb.base/commands.exp: Likewise.
9766
d3765805
DE
97672010-07-30 Doug Evans <dje@google.com>
9768
c98ee71b
DE
9769 * gdb.cp/temargs.exp: For new tests that require newer gccs,
9770 xfail them when run with older gccs.
9771
fd961404
DE
9772 * lib/gdb.exp (build_executable): Forward "c++" option to
9773 get_compiler_info.
9774
999adef4
DE
9775 * gdb.python/py-type.exp (test_template): Mark as xfail tests
9776 "python print ttype.template_argument(1)" and
9777 "python print isinstance(ttype.template_argument(1), gdb.Value)"
9778 if using gcc 4.4 or earlier.
9779
d3765805
DE
9780 * gdb.base/valgrind-db-attach.exp: Use unique test name for
9781 attach-to-debugger handling.
9782
1276c759
JK
97832010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9784
9785 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
9786 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
9787 (main): Use copyreloc.
9788 * gdb.base/prelink.exp (split debug of executable)
9789 (.dynbss vs. .bss address shift): New tests.
9790
88caa9b9
PA
97912010-07-29 Pedro Alves <pedro@codesourcery.com>
9792
9793 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
9794 in gdb_test_multiple.
9795
c6f2ac43
PA
97962010-07-29 Pedro Alves <pedro@codesourcery.com>
9797
9798 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
9799 environment.
9800
326fd672
TT
98012010-07-28 Tom Tromey <tromey@redhat.com>
9802
9803 PR python/11060:
9804 * gdb.python/py-type.c (Temargs): New template.
9805 (temvar): New variable.
9806 * gdb.python/py-type.exp (test_template): New proc.
9807
3ce3b1ba
PA
98082010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
9809
9810 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
9811 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
9812
34eaf542
TT
98132010-07-28 Tom Tromey <tromey@redhat.com>
9814
9815 PR c++/9946:
9816 * gdb.cp/temargs.exp: New file.
9817 * gdb.cp/temargs.cc: New file.
9818
d41b819e
JK
98192010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9820
9821 * gdb.base/help.exp (help disassemble): Update the content.
9822
26ab7092
JK
98232010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9824
9825 * gdb.threads/ia64-sigill.exp: New file.
9826 * gdb.threads/ia64-sigill.c: New file.
9827
5283e9e1
TT
98282010-07-27 Tom Tromey <tromey@redhat.com>
9829
9830 * gdb.opt/inline-cmds.c (ATTR): New define.
9831 (func1): Use it.
9832 (func2): Likewise.
9833 (func3): Likewise.
9834 (outer_inline1): Likewise.
9835 (outer_inline2): Likewise.
9836 * gdb.opt/inline-bt.c (ATTR): New define.
9837 (func1): Use it.
9838 (func2): Likewise.
9839 * gdb.opt/inline-locals.c (ATTR): New define.
9840 (func1): Use it.
9841 (func2): Likewise.
9842
e992ef73
TT
98432010-07-27 Tom Tromey <tromey@redhat.com>
9844
9845 * gdb.stabs/gdb11479.c (hack): New function.
9846 (test): Use it.
9847 (test2): Use it.
9848 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9849 (int32_search_buf, int64_search_buf): No longer static.
9850 (x): Remove.
9851 * gdb.base/relocate.c (hack): New function.
9852
5374244e
PM
98532010-07-27 Phil Muldoon <pmuldoon@redhat.com>
9854
9855 * gdb.python/py-value.exp (test_inferior_function_call): New function.
9856 * gdb.python/py-value.c (func1): New function.
9857 (func2): Likewise.
9858
a99aee83
CV
98592010-07-26 Corinna Vinschen <vinschen@redhat.com>
9860
9861 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9862 as not to clash with .data section.
9863
a04ba985
JG
98642010-07-26 Jerome Guitton <guitton@adacore.com>
9865
9866 * gdb.base/code_elim.exp: New file.
9867 * gdb.base/code_elim1.c: New file.
9868 * gdb.base/code_elim2.c: New file.
9869
23bd0f7c
PA
98702010-07-21 Pedro Alves <pedro@codesourcery.com>
9871
9872 PR symtab/11827
9873
9874 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9875 (some_volatile_enum): New variable.
9876 * gdb.base/printcmds.exp (test_print_enums): New.
9877 <top level>: Call it.
9878
883df6dd
SW
98792010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
9880
9881 * gdb.cp/fpointer.cc: New test.
9882 * gdb.cp/fpointer.exp: New test.
9883
569b05a5
JK
98842010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9885
9886 * gdb.base/solib-nodir.exp: New file.
9887 * lib/gdb.exp (runto): New case for a GDB internal error.
9888
51d7d803
JK
98892010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9890 Ulrich Weigand <uweigand@de.ibm.com>
9891 Tom Tromey <tromey@redhat.com>
9892
9893 * gdb.base/charset-malloc.c: New file.
9894 * gdb.base/charset.c (malloc_stub): New prototype.
9895 (main): Call it instead of malloc itself.
9896 * gdb.base/charset.exp: Use only prepare_for_testing.
9897 (binfile): Remove the variable.
9898
c0edd9ed
JK
98992010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9900
9901 Make core files the process_stratum.
9902 * gdb.base/corefile.exp (run: load core again)
9903 (run: sanity check we see the core file, run: with core)
9904 (run: core file is cleared, attach: load core again)
9905 (attach: sanity check we see the core file, attach: with core)
9906 (attach: core file is cleared): New tests.
9907 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9908
3cbaedff
KW
99092010-07-14 Ken Werner <ken.werner@de.ibm.com>
9910
9911 * gdb.arch/altivec-abi.exp: New tests.
9912
91158a56
TT
99132010-07-13 Tom Tromey <tromey@redhat.com>
9914
9915 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9916 (main): Use it.
9917 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9918
0f5238ed
TT
99192010-07-13 Tom Tromey <tromey@redhat.com>
9920
9921 * gdb.base/label.exp: New file.
9922 * gdb.base/label.c: New file.
9923
add265ae
L
99242010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9925 H.J. Lu <hongjiu.lu@intel.com>
9926
9927 * lib/gdb.exp (is_ilp32_target): New.
9928 (is_lp64_target): Likewise.
9929
9930 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9931 target.
9932 * gdb.arch/amd64-disp-step.exp: Likewise.
9933 * gdb.arch/amd64-dword.exp: Likewise.
9934 * gdb.arch/amd64-i386-address.exp: Likewise.
9935 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 9936
add265ae
L
9937 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9938 target.
9939 * gdb.arch/i386-bp_permanent.exp: Likewise.
9940 * gdb.arch/i386-byte.exp: Likewise.
9941 * gdb.arch/i386-disp-step.exp: Likewise.
9942 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9943 * gdb.arch/i386-prologue.exp: Likewise.
9944 * gdb.arch/i386-size-overlap.exp: Likewise.
9945 * gdb.arch/i386-size.exp: Likewise.
9946 * gdb.arch/i386-sse.exp: Likewise.
9947 * gdb.arch/i386-unwind.exp: Likewise.
9948 * gdb.arch/i386-word.exp: Likewise.
9949
9950 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9951 test only when building 64-bit executables. Do not hard-code
9952 -m64 option.
9953
2dfb8c17
DE
99542010-07-07 Doug Evans <dje@google.com>
9955
9956 * lib/gdb.exp (gdb_test_list_exact): New function.
9957 * gdb.base/default.exp (show convenience): Call it, add tests for
9958 $_sdata = void, $_thread = 0.
9959
4e5799b6
JK
99602010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9961 Joel Brobecker <brobecker@adacore.com>
9962
9963 Fix re-run of PIE executable, PR shlibs/11776.
9964 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9965 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9966 and re-"run" of the inferior.
9967
1a219cc7
JK
99682010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9969 Joel Brobecker <brobecker@adacore.com>
9970
9971 Cope with missing /usr/sbin/prelink.
9972 * lib/prelink-support.exp (prelink_no):
9973 <result == 1 && $output is "no such file or directory">: New.
9974 (prelink_yes): Likewise. Return on failed prelink_no.
9975
5e3b36f8
JK
99762010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9977 Joel Brobecker <brobecker@adacore.com>
9978
9979 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9980 build_executable by build_executable_own_libs. Replace "prelink -R"
9981 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9982 change.
9983 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9984 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9985 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9986 Replace build_executable by build_executable_own_libs's function
9987 build_executable_own_libs.
9988 (prelinkNO): Create new stub to call prelink_no.
9989 (prelinkYES): Create new stub to call prelink_yes.
9990 (test_attach): Rename calls of copy to file_copy.
9991 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9992 (copy): Move to ...
9993 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9994 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9995 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9996 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9997 special flags by gdb_compile_shlib. Replace second gdb_compile by
9998 build_executable_own_libs. Replace "prelink -R" execution by a call of
9999 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
10000 a second call of prelink_yes. Replace restart commands by
10001 clean_restart.
10002 (prelink): Rename to ...
10003 (seen displacement message): ... this test. Extend its expectation
10004 strictness.
10005
86e4bafc
JK
100062010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10007
10008 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
10009 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
10010 displacement message exactly once.
10011
3cd07d20
JK
100122010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10013 Joel Brobecker <brobecker@adacore.com>
10014
10015 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
10016 its restore after the <$relink_args != ""> loop. new comment.
10017
0a1e94c7
JK
100182010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10019 Joel Brobecker <brobecker@adacore.com>
10020
10021 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
10022 code for it. New variable relink_args.
10023 (prelinkYES): Call prelinkNO.
10024 (test_attach): Accept new parameter relink_args. Re-prelink the binary
10025 in such case. Move the core code to ...
10026 (test_attach_gdb): ... a new function. Send GDB command "file".
10027 Extend expected "Attaching to " string.
10028
2f70bcfb
TT
100292010-07-02 Tom Tromey <tromey@redhat.com>
10030
10031 * gdb.base/bitops.exp: Remove extraneous "pass".
10032
a17ac5b0
TT
100332010-07-02 Ken Werner <ken.werner@de.ibm.com>
10034
10035 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
10036
dc10affe
PA
100372010-07-01 Pedro Alves <pedro@codesourcery.com>
10038
d41c0fc8
PA
10039 * gdb.base/help.exp: Adjust expected output.
10040
100412010-07-01 Pedro Alves <pedro@codesourcery.com>
10042
10043 * gdb.base/help.exp: Adjust expected output.
dc10affe 10044
0a600c36
JK
100452010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10046
10047 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
10048 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
10049 c++/11702.
10050
37cc8bfe
JK
100512010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10052 Doug Evans <dje@google.com>
10053
10054 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
10055 add .dynamic entry'.
10056
254e6b9e
DE
100572010-06-29 Doug Evans <dje@google.com>
10058
10059 Test PR c++/11702.
10060 * gdb.cp/m-static.exp: Add testcase.
10061 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
10062
595939de 100632010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
10064 Tom Tromey <tromey@redhat.com>
10065 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
10066
10067 * gdb.python/py-inferior.c: New File.
10068 * gdb.python/py-infthread.c: New File.
10069 * gdb.python/py-inferior.exp: New File.
10070 * gdb.python/py-infthread.exp: New File.
10071
98751a41
JK
100722010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10073
10074 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
10075 (ptype ::C::OtherFileClass typedefs): New.
10076 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
10077 (C::OtherFileClass::cOtherFileClassVar2): New.
10078 (C::OtherFileClass::cOtherFileClassVar_use): Use also
10079 cOtherFileClassVar2.
10080 (C::cOtherFileType2, C::cOtherFileVar2): New.
10081 (C::cOtherFileVar_use): use also cOtherFileVar2.
10082 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
10083
41f62f39
JK
100842010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10085
10086 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
10087 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
10088 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
10089 (print ::C::cOtherFileVar)
10090 (whatis C::OtherFileClass::cOtherFileClassType)
10091 (whatis ::C::OtherFileClass::cOtherFileClassType)
10092 (print C::OtherFileClass::cOtherFileClassVar)
10093 (print ::cOtherFileClassVar)
10094 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
10095 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
10096 trailing content.
10097 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
10098 (C::OtherFileClass::cOtherFileClassVar)
10099 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
10100 (C::cOtherFileVar, C::cOtherFileVar_use): New.
10101
af53d231
JK
101022010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10103
10104 Test PR c++/11703 and PR gdb/1448.
10105 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
10106 gdb/1448.
10107
9655fd1a
JK
101082010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10109
10110 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
10111 (main) <rtti_data>: New.
10112 * gdb.cp/virtbase.exp (print rtti_data): New.
10113
824cc8dd
JK
101142010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10115 Joel Brobecker <brobecker@adacore.com>
10116
10117 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
10118
6036c742
JK
101192010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10120
10121 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
10122
de6a0421
DE
101232010-06-28 Doug Evans <dje@google.com>
10124
10125 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
10126
b2dae948
DE
101272010-06-27 Doug Evans <dje@google.com>
10128
10129 * gdb.cp/m-static.exp: Update expected test output.
10130
0f3bb72e
PH
101312010-06-25 Paul Hilfinger <hilfinger@adacore.com>
10132
889bf7c5
PA
10133 * gdb.gdb/selftest.exp: Adjust expected message for
10134 capturing start-up runtime.
0f3bb72e 10135
bc9f0842
TT
101362010-06-25 Tom Tromey <tromey@redhat.com>
10137
10138 PR python/10808:
10139 * gdb.python/python.exp: Add new tests.
10140
099ef718
SW
101412010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
10142
10143 * gdb.cp/operator.cc: Created an import loop.
10144 * gdb.cp/operator.exp: Added testcase for import loop.
10145
5868a632
JK
101462010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10147
10148 Test PR python/11407.
10149 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
10150 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
10151 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
10152 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
10153 executable_nofb and executable_fb. New variables srcsfile, objsfile,
10154 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
10155 binfile. Call gdb_compile with clean_restart twice.
10156 (func_nofb print, func_nofb backtrace, func_loopfb print)
10157 (func_loopfb backtrace): New.
10158
af76db58
JK
101592010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10160
10161 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
10162 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
10163 by a hand made one.
10164 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
10165 i?86 requirement. Remove variables srcfile and binfile. New variable
10166 sources, executable_nofb and executable_fb. Call prepare_for_testing.
10167
f2c7657e
UW
101682010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10169
10170 * gdb.cell/dwarfaddr.exp: New file.
10171 * gdb.cell/dwarfaddr.S: New file.
10172
628fe4e4
JK
101732010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10174
10175 Test PR 9436.
10176 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10177
f1421989
HZ
101782010-06-24 Hui Zhu <teawater@gmail.com>
10179
10180 * gdb.base/eval.exp: New file.
10181
d03285ec
UW
101822010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10183
10184 * gdb.cell/fork.exp: New file.
10185 * gdb.cell/fork.c: Likewise.
10186 * gdb.cell/fork-spu.c: Likewise.
10187
41b2c92d
PM
101882010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
10189
10190 * lib/gdb.exp (banned_variables_traced): New global variable.
10191 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
10192 (gdb_init): Use `trace add variable' instead of obsolete
10193 `trace variable'.
10194
d5bc977f
DE
101952010-06-21 Doug Evans <dje@google.com>
10196
10197 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
10198
d2ed6730
UW
101992010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10200
10201 * gdb.arch/spu-ls.exp: New file.
10202 * gdb.arch/spu-ls.c: Likewise.
10203
6aed2dbc
SS
102042010-06-18 Stan Shebs <stan@codesourcery.com>
10205
10206 * gdb.threads/thread-specific.exp: Add tests of $_thread.
10207
e0756905
UW
102082010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10209
10210 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
10211 * gdb.base/watch-cond.exp: Likewise.
10212 * gdb.python/py-breakpoint.exp: Likewise.
10213
d8053d4d
PA
102142010-06-18 Pedro Alves <pedro@codesourcery.com>
10215
10216 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
10217 clean_restart, make sure every test has a distinct message, and
10218 that messages don't include the executable' full path.
10219
81ce510c
DE
102202010-06-17 Doug Evans <dje@google.com>
10221
10222 * gdb.arch/i386-size.exp: Updated expected output for
10223 DISASSEMBLY_OMIT_FNAME.
10224
65d79d4b
SDJ
102252010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10226 Sergio Durigan Junior <sergiodj@redhat.com>
10227
10228 * gdb.base/watch-notconst.c: New file.
10229 * gdb.base/watch-notconst.S: New file.
10230 * gdb.base/watch-notconst2.c: New file.
10231 * gdb.base/watch-notconst2.S: New file.
10232 * gdb.base/watch-notconst.exp: New file.
10233 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
10234 (func4): Add operations on `global_ptr_ptr'.
10235 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
10236 routine to test watchpoints created with a constant expression.
10237 (test_inaccessible_watchpoint): Include tests for watchpoints
10238 created with a constant expression.
10239
df0f4836
KB
102402010-06-14 Kevin Buettner <kevinb@redhat.com>
10241
10242 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
10243 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
10244 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
10245 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
10246 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
10247 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
10248 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
10249 of `_start'.
10250
b769def5
UW
102512010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10252
10253 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
10254 not supported on the target.
10255 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10256 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10257 * gdb.mi/mi-nsintrall.exp: Likewise.
10258 * gdb.mi/mi-nsmoribund.exp: Likewise.
10259 * gdb.mi/mi-nsthrexec.exp: Likewise.
10260
d914c394
SS
102612010-06-11 Stan Shebs <stan@codesourcery.com>
10262
10263 * gdb.base/permissions.exp: New file.
10264
102652010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
10266
10267 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
10268 does not support ELF executable class.
10269
f3ce5b9c
UW
102702010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10271
10272 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
10273
8e46892c
JK
102742010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10275
10276 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
10277 (runto): Catch "The target does not support running in non-stop mode.".
10278
6cc55c64
MS
102792010-06-11 Michael Snyder <msnyder@vmware.com>
10280
10281 * gdb.base/setshow.exp (set language asm): Don't use
10282 gdb_test_no_output, fails on some targets.
10283
caddefa4
UW
102842010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10285
10286 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
10287 * gdb.cp/pr9167.exp: Likewise.
10288
468b1aa7
UW
102892010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10290
10291 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
10292
5c3552dc
UW
102932010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10294
10295 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
10296
02e6fe6a
UW
102972010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10298
10299 * gdb.base/charset.c (main): Make sure malloc gets linked in.
10300
0e03807e
TT
103012010-06-11 Tom Tromey <tromey@redhat.com>
10302
10303 PR gdb/9977, PR exp/11636::
10304 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
10305 (pieces_test_f6): Update expected output.
10306
2bdf28a0
JK
103072010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10308
10309 * gdb.base/moribund-step.exp: New.
10310
f6978de9
MS
103112010-06-08 Michael Snyder <msnyder@vmware.com>
10312
10313 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 10314 * gdb.ada/boolean_expr.exp:
f6978de9
MS
10315 * gdb.ada/frame_args.exp: Ditto.
10316 * gdb.ada/lang_switch.exp: Ditto.
10317 * gdb.ada/ptype_arith_binop.exp: Ditto.
10318 * gdb.ada/ref_param.exp: Ditto.
10319 * gdb.ada/type_coercion.exp:Ditto.
10320
10321 * gdb.asm/asm-source.exp: Ditto.
10322
10323 * gdb.base/attach.exp: Ditto.
10324 * gdb.base/bitfields2.exp: Ditto.
10325 * gdb.base/call-signal-resume.exp: Ditto.
10326 * gdb.base/callfuncs.exp: Ditto.
10327 * gdb.base/commands.exp: Ditto.
10328 * gdb.base/dbx.exp: Ditto.
10329 * gdb.base/default.exp: Ditto.
10330 * gdb.base/dump.exp: Ditto.
10331 * gdb.base/exprs.exp: Ditto.
10332 * gdb.base/freebpcmd.exp: Ditto.
10333 * gdb.base/interrupt.exp: Ditto.
10334 * gdb.base/list.exp: Ditto.
10335 * gdb.base/long_long.exp: Ditto.
10336 * gdb.base/maint.exp: Ditto.
10337 * gdb.base/ptype.exp: Ditto.
10338 * gdb.base/return.exp: Ditto.
10339 * gdb.base/setshow.exp: Ditto.
10340 * gdb.base/sigbpt.exp: Ditto.
10341 * gdb.base/sigrepeat.exp: Ditto.
10342
10343 * gdb.cp/classes.exp: Ditto.
10344
10345 * gdb.dwarf2/dw2-restore.exp: Ditto.
10346
10347 * gdb.gdb/selftest.exp: Ditto.
10348
10349 * gdb.multi/base.exp: Ditto.
10350 * gdb.multi/bkpt-multi-exec.exp: Ditto.
10351
10352 * gdb.python/py-block.exp: Ditto.
10353 * gdb.python/py-prettyprint.exp: Ditto.
10354 * gdb.python/py-template.exp: Ditto.
10355
10356 * gdb.server/ext-attach.exp: Ditto.
10357 * gdb.server/ext-run.exp: Ditto.
10358 * gdb.server/server-mon.exp: Ditto.
10359
10360 * gdb.threads/fork-thread-pending.exp: Ditto.
10361 * gdb.threads/hand-call-in-threads.exp: Ditto.
10362 * gdb.threads/interrupted-hand-call.exp: Ditto.
10363 * gdb.threads/linux-dp.exp: Ditto.
10364 * gdb.threads/manythreads.exp: Ditto.
10365 * gdb.threads/print-threads.exp: Ditto.
10366 * gdb.threads/pthreads.exp: Ditto.
10367 * gdb.threads/schedlock.exp: Ditto.
10368 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10369 * gdb.threads/threadapply.exp: Ditto.
10370
de7ff789
MS
103712010-06-08 Michael Snyder <msnyder@vmware.com>
10372
889bf7c5 10373 * gdb.ada/exec_changed.exp:
de7ff789
MS
10374 Use ".*" instead of "" as wildcard regexp.
10375
10376 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
10377 * gdb.base/call-ar-st.exp: Ditto.
10378 * gdb.base/checkpoint.exp: Ditto.
10379 * gdb.base/default.exp: Ditto.
10380 * gdb.base/dump.exp: Ditto.
10381 * gdb.base/ending-run.exp: Ditto.
10382 * gdb.base/fileio.exp: Ditto.
10383 * gdb.base/miscexprs.exp: Ditto.
10384 * gdb.base/pointers.exp: Ditto.
10385 * gdb.base/readline.exp: Ditto.
10386 * gdb.base/reread.exp: Ditto.
10387 * gdb.base/restore.exp: Ditto.
10388 * gdb.base/shlib-call.exp: Ditto.
10389 * gdb.base/valgrind-db-attach.exp: Ditto.
10390 * gdb.base/volatile.exp: Ditto.
10391 * gdb.base/watchpoints.exp: Ditto.
10392
10393 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
10394
10395 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
10396 * gdb.python/py-value.exp: Ditto.
10397
10398 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
10399 * gdb.trace/circ.exp: Ditto.
10400 * gdb.trace/collection.exp: Ditto.
10401 * gdb.trace/packetlen.exp: Ditto.
10402 * gdb.trace/passc-dyn.exp: Ditto.
10403 * gdb.trace/report.exp: Ditto.
10404 * gdb.trace/tfile.exp: Ditto.
10405 * gdb.trace/tfind.exp: Ditto.
10406 * gdb.trace/while-dyn.exp: Ditto.
10407
3bebe2f2
JK
104082010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10409
10410 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
10411
5c631832
JK
104122010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10413
10414 Test PR 10640.
10415 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
10416
4c3376c8
SW
104172010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
10418
10419 * gdb.cp/koenig.exp: Test for ADL operators.
10420 * gdb.cp/koenig.cc: Added ADL operators.
10421 * gdb.cp/operator.exp: New test.
10422 * gdb.cp/operator.cc: New test.
10423
dc226d5a
MS
104242010-06-04 Michael Snyder <msnyder@vmware.com>
10425
dfb88a23
MS
10426 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
10427 * gdb.base/pending.exp: Ditto.
f7ae76b3 10428
dc226d5a
MS
10429 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
10430
967cf477
DE
104312010-06-04 Doug Evans <dje@google.com>
10432
10433 * gdb.python/py-prettyprint.exp: Add new test for enabled and
10434 disabled printers.
10435 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
10436 (enable_lookup_function): New function.
10437
eb801841
TT
104382010-06-04 Tom Tromey <tromey@redhat.com>
10439
10440 * gdb.python/py-value.exp (test_value_hash): Don't test equality
10441 of hash and id.
10442
38979823
JK
104432010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10444
10445 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
10446 newline.
10447 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
10448 (empty verbose non-noisy clear, empty verbose noisy clear)
10449 (empty non-verbose noisy clear): Likewise.
10450
35ec993f
MS
104512010-06-03 Michael Snyder <msnyder@vmware.com>
10452
10453 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
10454 * gdb.base/display.exp: Ditto.
10455 * gdb.base/find.exp: Ditto.
10456 * gdb.base/ifelse.exp: Ditto.
10457 * gdb.base/multi-forks.exp: Ditto.
10458 * gdb.base/recurse.exp: Ditto.
10459 * gdb.base/setshow.exp: Ditto.
10460 * gdb.base/value-double-free.exp: Ditto.
10461 * gdb.base/watch-vfork.exp: Ditto.
10462 * gdb.base/watch_thread_num.exp: Ditto.
10463 * gdb.base/watchpoint-solib.exp: Ditto.
10464 * gdb.base/watchpoint.exp: Ditto.
10465 * gdb.base/watchpoints.exp: Ditto.
10466
10467 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
10468 * gdb.cp/overload.exp: Ditto.
10469 * gdb.cp/virtfunc.exp: Ditto.
10470
10471 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
10472
889bf7c5 10473 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
10474 Replace gdb_test with gdb_test_no_output.
10475
889bf7c5 10476 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
10477 Replace gdb_test with gdb_test_no_output.
10478 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10479 * gdb.threads/watchthreads.exp: Ditto.
10480 * gdb.threads/watchthreads2.exp: Ditto.
10481
10482 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
10483 * gdb.trace/tfind.exp: Ditto.
10484
c22decce
JB
104852010-06-03 Joel Brobecker <brobecker@adacore.com>
10486
10487 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
10488 successful test if message is the empty string.
10489
fd5700c7
JK
104902010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10491
10492 * gdb.fortran/module.exp (stopped language detection): New test.
10493
f55ee35c
JK
104942010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10495
10496 Support DW_TAG_module as separate namespaces.
10497 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
10498 gdb.fortran/library-module-lib.f90: New.
10499 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
10500 (print i): Remove.
10501 (continue to breakpoint: i-is-1, print var_i value 1)
10502 (continue to breakpoint: i-is-2, print var_i value 2)
10503 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
10504 (print var_d, print var_i value 14, ptype modmany, complete `modm)
10505 (complete `modmany, complete `modmany`, complete `modmany`var)
10506 (show language, setting breakpoint at module): New tests.
10507 * gdb.fortran/module.f90 (module mod): Remove.
10508 (module mod1, module mod2, module modmany, subroutine sub1)
10509 (subroutine sub2, program module): New.
10510
b8e8282f
JK
105112010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10512
10513 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
10514 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
10515 * gdb.cp/anon-union.exp (pass): Rename to ...
10516 (print z 2): ... here.
b8e8282f 10517
019ebafc
MS
105182010-06-02 Michael Snyder <msnyder@vmware.com>
10519
e68d8fd4
MS
10520 * gdb.trace/actions.exp: Use gdb_test_no_output.
10521 * gdb.trace/circ.exp: Ditto.
10522 * gdb.trace/packetlen.exp: Ditto.
10523 * gdb.trace/save-trace.exp: Ditto.
10524 * gdb.trace/tracecmd.exp: Ditto.
10525 * gdb.trace/tsv.exp: Ditto.
10526
12b5d08a
MS
10527 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
10528 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
10529 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
10530 * gdb.threads/manythreads.exp: Ditto.
10531 * gdb.threads/print-threads.exp: Ditto.
10532 * gdb.threads/pthreads.exp: Ditto.
10533 * gdb.threads/schedlock.exp: Ditto.
10534 * gdb.threads/staticthreads.exp: Ditto.
10535 * gdb.threads/thread-specific.exp: Ditto.
10536 * gdb.threads/thread-unwindonsignal.exp: Ditto.
10537 * gdb.threads/threadapply.exp: Ditto.
10538 * gdb.threads/watchthreads.exp: Ditto.
10539 * gdb.threads/watchthreads2.exp: Ditto.
10540
89493308
MS
10541 * gdb.python/py-block.exp: Use gdb_test_no_output.
10542 * gdb.python/py-prettyprint.exp: Ditto.
10543 * gdb.python/py-template.exp: Ditto.
10544 * gdb.python/py-value.exp: Ditto.
10545
10546 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
10547 * gdb.reverse/watch-reverse.exp: Ditto.
10548
10549 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
10550 * gdb.server/ext-run.exp: Ditto.
10551
019ebafc
MS
10552 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
10553 * gdb.dwarf2/dw2-compressed.exp: Ditto.
10554 * gdb.dwarf2/dw2-intercu.exp: Ditto.
10555 * gdb.dwarf2/dw2-intermix.exp: Ditto.
10556 * gdb.dwarf2/dw2-producer.exp: Ditto.
10557 * gdb.dwarf2/mac-fileno.exp: Ditto.
10558
10559 * gdb.gdb/observer.exp: Use gdb_test_no_output.
10560 * gdb.gdb/selftest.exp: Ditto.
10561
10562 * gdb.multi/base.exp: Use gdb_test_no_output.
10563
10564 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
10565
3e0ca3a5
JK
105662010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10567
10568 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
10569
9db70545
MS
105702010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
10571
a8d52276
MS
10572 * gdb.cp/class2.exp: Use gdb_test_no_output.
10573 * gdb.cp/classes.exp: Ditto.
10574 * gdb.cp/extern-c.exp: Ditto.
10575 * gdb.cp/inherit.exp: Ditto.
10576 * gdb.cp/maint.exp: Ditto.
10577 * gdb.cp/mb-inline.exp: Ditto.
10578 * gdb.cp/mb-templates.exp: Ditto.
10579 * gdb.cp/method2.exp: Ditto.
10580 * gdb.cp/misc.exp: Ditto.
10581 * gdb.cp/ovldbreak.exp: Ditto.
10582 * gdb.cp/punctuator.exp: Ditto.
10583 * gdb.cp/templates.exp: Ditto.
10584 * gdb.cp/virtbase.exp: Ditto.
10585
889bf7c5 10586 * gdb.threads/attach-stopped.exp:
9db70545 10587 Replace uses of send_gdb / gdb_expect.
889bf7c5 10588 * gdb.threads/attachstop-mt.exp:
9db70545 10589 Replace uses of send_gdb / gdb_expect.
889bf7c5 10590 * gdb.threads/gcore-thread.exp:
9db70545 10591 Replace uses of send_gdb / gdb_expect.
889bf7c5 10592 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
10593 Replace uses of send_gdb / gdb_expect.
10594 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10595 * gdb.threads/print-threads.exp:
9db70545
MS
10596 Replace uses of send_gdb / gdb_expect.
10597 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
10598 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
10599 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
10600
10601 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
10602 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
10603 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
10604 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
10605 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
10606 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
10607 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
10608 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
10609 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
10610 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
10611 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
10612
359cc68c
JK
106132010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10614
10615 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
10616
7d3fe98e
SW
106172010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
10618
10619 * gdb.cp/koenig.exp: Added new test case.
10620 * gdb.cp/koenig.cc: Ditto.
10621
27d3a1a2
MS
106222010-06-01 Michael Snyder <msnyder@vmware.com>
10623
10624 * gdb.base/arithmet.exp: Use gdb_test_no_output.
10625 * gdb.base/arrayidx.exp: Ditto.
10626 * gdb.base/attach.exp: Ditto.
10627 * gdb.base/auxv.exp: Ditto.
10628 * gdb.base/bigcre.exp: Ditto.
10629 * gdb.base/break-always.exp: Ditto.
10630 * gdb.base/break-interp.exp: Ditto.
10631 * gdb.base/break.exp: Ditto.
10632 * gdb.base/breakpoint-shadow.exp: Ditto.
10633 * gdb.base/call-ar-st.exp: Ditto.
10634 * gdb.base/call-sc.exp: Ditto.
10635 * gdb.base/call-signal-resume.exp: Ditto.
10636 * gdb.base/callfuncs.exp: Ditto.
10637 * gdb.base/catch-syscall.exp: Ditto.
10638 * gdb.base/charset.exp: Ditto.
10639 * gdb.base/code-expr.exp: Ditto.
10640 * gdb.base/commands.exp: Ditto.
10641 * gdb.base/cond-expr.exp: Ditto.
10642 * gdb.base/condbreak.exp: Ditto.
10643 * gdb.base/cursal.exp: Ditto.
10644 * gdb.base/cvexpr.exp: Ditto.
10645 * gdb.base/default.exp: Ditto.
10646 * gdb.base/del.exp: Ditto.
10647 * gdb.base/detach.exp: Ditto.
10648 * gdb.base/display.exp: Ditto.
10649 * gdb.base/ena-dis-br.exp: Ditto.
10650 * gdb.base/eval-skip.exp: Ditto.
10651 * gdb.base/foll-fork.exp: Ditto.
10652 * gdb.base/foll-vfork.exp: Ditto.
10653 * gdb.base/frame-args.exp: Ditto.
10654 * gdb.base/funcargs.exp: Ditto.
10655 * gdb.base/gcore-buffer-overflow.exp: Ditto.
10656 * gdb.base/gdbvars.exp: Ditto.
10657 * gdb.base/help.exp: Ditto.
10658 * gdb.base/ifelse.exp: Ditto.
10659 * gdb.base/included.exp: Ditto.
10660 * gdb.base/list.exp: Ditto.
10661 * gdb.base/macscp.exp: Ditto.
10662 * gdb.base/maint.exp: Ditto.
10663 * gdb.base/multi-fork.exp: Ditto.
10664 * gdb.base/overlays.exp: Ditto.
10665 * gdb.base/page.exp: Ditto.
10666 * gdb.base/pending.exp: Ditto.
10667 * gdb.base/pointers.exp: Ditto.
10668 * gdb.base/pr11022.exp: Ditto.
10669 * gdb.base/prelink.exp: Ditto.
10670 * gdb.base/printcmds.exp: Ditto.
10671 * gdb.base/psymtab.exp: Ditto.
10672 * gdb.base/randomize.exp: Ditto.
10673 * gdb.base/relational.exp: Ditto.
10674 * gdb.base/relocate.exp: Ditto.
10675 * gdb.base/remote.exp: Ditto.
10676 * gdb.base/sepdebug.exp: Ditto.
10677 * gdb.base/set-lang-auto.exp: Ditto.
10678 * gdb.base/setshow.exp: Ditto.
10679 * gdb.base/setvar.exp: Ditto.
10680 * gdb.base/signals.exp: Ditto.
10681 * gdb.base/signull.exp: Ditto.
10682 * gdb.base/sigstep.exp: Ditto.
10683 * gdb.base/sizeof.exp: Ditto.
10684 * gdb.base/solib-disc.exp: Ditto.
10685 * gdb.base/store.exp: Ditto.
10686 * gdb.base/structs.exp: Ditto.
10687 * gdb.base/structs2.exp: Ditto.
10688 * gdb.base/subst.exp: Ditto.
10689 * gdb.base/term.exp: Ditto.
10690 * gdb.base/trace-commands.exp: Ditto.
10691 * gdb.base/unwindonsignal.exp: Ditto.
10692 * gdb.base/valgrind-db-attach.exp: Ditto.
10693 * gdb.base/varargs.exp: Ditto.
10694 * gdb.base/watch-cond.exp: Ditto.
10695 * gdb.base/watch_thread_num.exp: Ditto.
10696 * gdb.base/watchpoint-cond-gone.exp: Ditto.
10697 * gdb.base/watchpoint.exp: Ditto.
10698 * gdb.base/whatis-exp.exp: Ditto.
10699
f8d3bf8f
MS
107002010-06-01 Michael Snyder <msnyder@vmware.com>
10701
10702 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
10703 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
10704 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
10705 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
10706 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
10707 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
10708 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
10709 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
10710 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
10711 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
10712 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
10713 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
10714 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
10715 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
10716 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
10717
3f9e0d32
JK
107182010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10719
10720 * gdb.base/commands.exp (begin commands on watch): Remove excessive
10721 trailing newline.
10722 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
10723 * gdb.java/jmisc.exp (p *args\n): Rename to ...
10724 (p *args): ... here and remove excessive trailing newline.
10725
f629457d
JB
107262010-05-31 Joel Brobecker <brobecker@adacore.com>
10727
10728 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
10729
09eef106
JK
107302010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10731
10732 Accept the new Linux kernel "t (tracing stop)" string.
10733 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
10734 Update comment.
10735 (state_wait) <T (tracing stop)>: New.
10736 (main): Update the state_wait expect string.
10737
94f31136
PA
107382010-05-28 Pedro Alves <pedro@codesourcery.com>
10739
10740 * limits.c, limits.exp: Delete files.
10741 * Makefile.in (clean mostlyclean): Adjust.
10742 * tracecmd.exp: Adjust.
10743
096554ab
JK
107442010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10745
10746 * gdb.base/tui-layout.exp: New.
10747
27d3a1a2 107482010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 10749
889bf7c5 10750 * gdb.reverse/break-precsave.exp:
bcd2dc50 10751 Replace uses of send_gdb / gdb_expect.
889bf7c5 10752 * gdb.reverse/break-reverse.exp:
bcd2dc50 10753 Replace uses of send_gdb / gdb_expect.
889bf7c5 10754 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 10755 Replace uses of send_gdb / gdb_expect.
889bf7c5 10756 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 10757 Replace uses of send_gdb / gdb_expect.
889bf7c5 10758 * gdb.reverse/finish-precsave.exp:
bcd2dc50 10759 Replace uses of send_gdb / gdb_expect.
889bf7c5 10760 * gdb.reverse/finish-reverse.exp:
bcd2dc50 10761 Replace uses of send_gdb / gdb_expect.
889bf7c5 10762 * gdb.reverse/i386-precsave.exp:
bcd2dc50 10763 Replace uses of send_gdb / gdb_expect.
889bf7c5 10764 * gdb.reverse/i386-reverse.exp:
bcd2dc50 10765 Replace uses of send_gdb / gdb_expect.
889bf7c5 10766 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 10767 Replace uses of send_gdb / gdb_expect.
889bf7c5 10768 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 10769 Replace uses of send_gdb / gdb_expect.
889bf7c5 10770 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 10771 Replace uses of send_gdb / gdb_expect.
889bf7c5 10772 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 10773 Replace uses of send_gdb / gdb_expect.
889bf7c5 10774 * gdb.reverse/machinestate.exp:
bcd2dc50 10775 Replace uses of send_gdb / gdb_expect.
889bf7c5 10776 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 10777 Replace uses of send_gdb / gdb_expect.
889bf7c5 10778 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 10779 Replace uses of send_gdb / gdb_expect.
889bf7c5 10780 * gdb.reverse/solib-precsave.exp:
bcd2dc50 10781 Replace uses of send_gdb / gdb_expect.
889bf7c5 10782 * gdb.reverse/solib-reverse.exp:
bcd2dc50 10783 Replace uses of send_gdb / gdb_expect.
889bf7c5 10784 * gdb.reverse/step-precsave.exp:
bcd2dc50 10785 Replace uses of send_gdb / gdb_expect.
889bf7c5 10786 * gdb.reverse/step-reverse.exp:
bcd2dc50 10787 Replace uses of send_gdb / gdb_expect.
889bf7c5 10788 * gdb.reverse/until-precsave.exp:
bcd2dc50 10789 Replace uses of send_gdb / gdb_expect.
889bf7c5 10790 * gdb.reverse/until-reverse.exp:
bcd2dc50 10791 Replace uses of send_gdb / gdb_expect.
889bf7c5 10792 * gdb.reverse/watch-precsave.exp:
bcd2dc50 10793 Replace uses of send_gdb / gdb_expect.
889bf7c5 10794 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
10795 Replace uses of send_gdb / gdb_expect.
10796
3def43e0
JK
107972010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10798
10799 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
10800 excessive newline.
10801
27d3a1a2 108022010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
10803
10804 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
10805 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
10806 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
10807 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
10808 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
10809 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
10810 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
10811 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
10812 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
10813 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
10814 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
10815 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
10816 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
10817 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
10818 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
10819 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
10820 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
10821 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
10822 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 10823
27d3a1a2 108242010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 10825
22454424
MS
10826 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
10827 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
10828
10829 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
10830 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
10831 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
10832
889bf7c5 10833 * gdb.reverse/consecutive-reverse.exp:
22454424 10834 Replace uses of send_gdb / gdb_expect.
889bf7c5 10835 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
10836 Replace uses of send_gdb / gdb_expect.
10837
10838 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10839 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10840 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 10841 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
10842 Replace uses of send_gdb / gdb_expect.
10843 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10844 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10845 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10846 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10847 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10848 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10849 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10850 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10851 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
10852
108532010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 10854
22454424 10855 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10856
22454424 10857 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10858
22454424
MS
10859 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10860 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10861 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10862 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10863 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10864 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10865 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10866 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10867 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 10868
6e5f2c59
TT
108692010-05-25 Tom Tromey <tromey@redhat.com>
10870
10871 * gdb.base/macscp.exp: Add missing space after setup_kfail.
10872
bbc8b958
TT
108732010-05-25 Tom Tromey <tromey@redhat.com>
10874
10875 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10876 argument order.
10877 * gdb.base/macscp.exp: Fix setup_kfail argument order.
10878 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10879 order.
10880 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10881 order.
10882 * gdb.base/call-sc.exp (setup_kfails): Remove.
10883 (setup_compiler_kfails): Remove.
10884 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10885 argument order.
10886 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10887 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10888 (advancei): Fix setup_kfail argument order.
10889 * gdb.base/radix.exp: Fix setup_kfail argument order.
10890 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10891 order.
10892 * gdb.base/structs.exp (setup_kfails): Remove.
10893 (setup_compiler_kfails): Fix setup_kfail argument order.
10894 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10895 order.
10896 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10897 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10898 setup_kfail argument order.
10899 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10900
83d1babf
TT
109012010-05-25 Tom Tromey <tromey@redhat.com>
10902
10903 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10904
6acb16a2
MS
109052010-05-25 Michael Snyder <msnyder@vmware.com>
10906
10907 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10908 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10909 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10910 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10911 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10912 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10913 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10914 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10915 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
10916 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10917 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10918 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10919 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10920 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10921 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10922 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10923 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10924 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10925 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10926 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10927 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10928 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10929 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
10930 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10931 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10932 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10933 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10934 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10935 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10936 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10937 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10938 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10939 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10940 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10941 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10942 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10943 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10944 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10945 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10946 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10947 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10948 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10949 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10950 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10951 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10952 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10953 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 10954 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
10955
109562010-05-25 Doug Evans <dje@google.com>
10957
10958 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10959 gdb.string_to_argv.
ad3986f0 10960
d3b1e874
TT
109612010-05-21 Tom Tromey <tromey@redhat.com>
10962
10963 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10964 Call it.
10965 * gdb.dwarf2/pieces.S: Update.
10966 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10967
cb826367
TT
109682010-05-21 Tom Tromey <tromey@redhat.com>
10969
10970 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10971 Call it.
10972 * gdb.dwarf2/pieces.c (struct C): New.
10973 (f6): New function.
10974 * gdb.dwarf2/pieces.S: Replace.
10975
74de6778
TT
109762010-05-21 Tom Tromey <tromey@redhat.com>
10977
10978 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10979 Call it.
10980
afd74c5f
TT
109812010-05-21 Tom Tromey <tromey@redhat.com>
10982
10983 * gdb.dwarf2.pieces.exp: New file.
10984 * gdb.dwarf2.pieces.S: New file.
10985 * gdb.dwarf2.pieces.c: New file.
10986
a7b75dfd 109872010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 10988 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
10989
10990 * lib/gdb.exp (gdb_test_no_output): New function.
10991 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10992 when testing commands that should produce no output.
10993
c81c812a
JB
109942010-05-17 Joel Brobecker <brobecker@adacore.com>
10995
10996 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10997 parameter that we want to watch being a constant.
10998
0cce5bd9
JB
109992010-05-17 Joel Brobecker <brobecker@adacore.com>
11000
11001 * gdb.ada/cond_lang: New testcase.
11002
47050449
JB
110032010-05-17 Joel Brobecker <brobecker@adacore.com>
11004
11005 * lib/gdb.exp (banned_variables): New variable/constant.
11006 (gdb_init): Add write trace on variables listed in banned_variables.
11007 (gdb_finish): Remove write traces on variables listed in
11008 banned_variables.
11009
77c01586
JB
110102010-05-17 Joel Brobecker <brobecker@adacore.com>
11011
11012 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
11013 * gdb.cp/koenig.exp: Likewise.
11014
88d4aea7
PM
110152010-05-14 Phil Muldoon <pmuldoon@redhat.com>
11016
889bf7c5 11017 PR python/11482
88d4aea7
PM
11018
11019 * gdb.python/py-value.exp (test_value_hash): New function.
11020
f5a010c0
PM
110212010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
11022
11023 PR exp/11530.
11024 * gdb.base/gdb11530.c: New file.
11025 * gdb.base/gdb11530.exp: New file.
11026
8ef4892f
JK
110272010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11028
11029 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
11030 * gdb.dwarf2/dw2-modula2-self-type.S: New.
11031
7322dca9
SW
110322010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
11033
11034 * gdb.cp/koenig.exp: New test.
11035 * gdb.cp/koenig.cc: New test program.
11036
02e7ea18
JB
110372010-05-05 Joel Brobecker <brobecker@adacore.com>
11038
11039 Remove the use of prms_id and bug_id throughout the testsuite.
11040
e1c34c5d
PM
110412010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
11042
11043 PR exp/11349.
11044 * testsuite/gdb.cp/ref-types.exp: Add test to examine
11045 use a reference local variable.
11046
8e1d0c49
JK
110472010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11048
11049 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
11050 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
11051 variable different_dir. Move debugfile into a full directory pathname
11052 under DIFFERENT_DIR.
11053 * lib/gdb.exp (separate_debug_filename): Remove.
11054 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
11055 variable debug_dir and mkdir of it. Update function comments.
11056
e66408ed
PA
110572010-04-29 Pedro Alves <pedro@codesourcery.com>
11058
11059 PR gdb/11557
11060
11061 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
11062 files.
11063
d7b32ed3
PM
110642010-04-29 Phil Muldoon <pmuldoon@redhat.com>
11065
889bf7c5 11066 * gdb.python/py-param.exp: New File.
d7b32ed3 11067
6aecb9c2
JB
110682010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
11069
11070 * gdb.base/default.exp: Fix "set language" test.
11071
bdf92a1c
PM
110722010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
11073
11074 PR breakpoints/11531.
11075 * gdb.base/gdb11531.c: New file.
11076 * gdb.base/gdb11531.exp: New file.
11077
3f172e24
TT
110782010-04-26 Tom Tromey <tromey@redhat.com>
11079
11080 * gdb.base/completion.exp: Add tests for completion and deprecated
11081 commands.
11082
64af4c92
JK
110832010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11084
11085 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
11086 (print /x char_array): Escape curly brackets.
11087
492928e4
JK
110882010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11089
11090 Fix deadlock on looped list of loaded shared objects.
11091 * gdb.base/solib-corrupted.exp: New.
11092
66d09542
DE
110932010-04-23 Doug Evans <dje@google.com>
11094
11095 * gdb.python/py-section-script.c: New file.
11096 * gdb.python/py-section-script.exp: New file.
11097 * gdb.python/py-section-script.py: New file.
11098
8bd10a10
CM
110992010-04-20 Chris Moller <cmoller@redhat.com>
11100
11101 PR 10179
11102
11103 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
11104 * gdb.base/pr10179-a.c:
11105 * gdb.base/pr10179-b.c:
11106 * gdb.base/pr10179.exp: New files.
11107
c0201579
JK
111082010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11109
11110 Fix crashes on dangling display expressions.
11111 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
11112 is SEP.
11113 (lib_flags): Remove the "debug" keyword.
11114 (libsepdebug): New variable for iterating new loop.
11115 (save_pf_prefix): New variable wrapping the loop.
11116 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
11117 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
11118
793b0ff8
PM
111192010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11120
11121 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
11122
097f51f7
PM
111232010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11124
11125 PR stabs/11479.
11126 * gdb.stabs/gdb11479.exp: New file.
11127 * gdb.stabs/gdb11479.c: New file.
11128
9a22f0d0
PM
111292010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
11130
11131 * gdb.base/charset.c (Strin16, String32): New variables.
11132 * gdb.base/charset.exp (gdb_test): Test correct display
11133 of 16 or 32 bit strings.
11134
111352010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
11136
11137 PR 9167
11138 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
11139 * gdb.cp/pr9167.cc: New file.
11140 * gdb.cp/pr9167.exp: New file.
11141
11142
6e354e5e
PM
111432010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
11144
11145 PR pascal/11492.
11146 * gdb.pascal/gdb11492.pas: New file.
11147 * gdb.pascal/gdb11492.exp: New file.
11148
be942545
JB
111492010-04-20 Joel Brobecker <brobecker@adacore.com>
11150
1667e6e3 11151 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 11152
0c3acc09
JB
111532010-04-20 Joel Brobecker <brobecker@adacore.com>
11154
11155 * gdb.ada/dyn_loc: New testcase.
11156
ec31cde5
CM
111572010-04-20 Chris Moller <cmoller@redhat.com>
11158
11159 PR 10867
889bf7c5 11160
ec31cde5
CM
11161 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
11162 * gdb.cp/pr10687.cc: New file.
11163 * gdb.cp/pr10687.exp: New file.
11164
11165
ce4b0682
SDJ
111662010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11167 Sergio Durigan Junior <sergiodj@redhat.com>
11168
11169 * gdb.fortran/logical.exp: New testcase.
11170 * gdb.fortran/logical.f90: New file.
11171
3436961f
DE
111722010-04-19 Doug Evans <dje@google.com>
11173
11174 * gdb.base/help.exp (help source): Update expected output.
11175
4d836c09
JK
111762010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11177
11178 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
11179 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
11180 gdb_exit and return.
11181 (executable): New variable.
11182 (binfile): Use it.
11183
6149aea9
PA
111842010-04-19 Pedro Alves <pedro@codesourcery.com>
11185
11186 PR breakpoints/8554.
11187
11188 * gdb.trace/save-trace.exp: Adjust.
11189
ed41462c
L
111902010-04-17 H.J. Lu <hongjiu.lu@intel.com>
11191
11192 PR corefiles/11511
11193 * gdb.arch/system-gcore.exp: New.
11194 * gdb.arch/gcore.c: Likewise.
11195
3f7b2faa
DE
111962010-04-15 Doug Evans <dje@google.com>
11197
fa33c3cd
DE
11198 * gdb.python/py-progspace.c: New file.
11199 * gdb.python/py-progspace.exp: New file.
11200
3f7b2faa
DE
11201 * gdb.base/source.exp: Add tests for "source -s".
11202
79f283fe
PM
112032010-04-14 Phil Muldoon <pmuldoon@redhat.com>
11204
11205 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
11206 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
11207 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
11208 * gdb.python/py-mi.exp: New test for to_string returning None.
11209
fc8eb08a
PM
112102010-04-12 Phil Muldoon <pmuldoon@redhat.com>
11211
11212 * gdb.python/py-breakpoint.c: Make result global.
11213
26e197f6
JK
112142010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11215
11216 Fix non-GNU make compatibility.
11217 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
11218
adc36818
PM
112192010-04-09 Phil Muldoon <pmuldoon@redhat.com>
11220
11221 * gdb.python/py-breakpoint.exp: New File.
11222 * gdb.python/py-breakpoint.C: Ditto.
11223
64e17368
SS
112242010-04-08 Stan Shebs <stan@codesourcery.com>
11225
11226 * gdb.trace/actions.exp: Clear default-collect.
11227 * gdb.trace/save-trace.exp: Clear default-collect.
11228
fff5cc64
PM
112292010-04-08 Phil Muldoon <pmuldoon@redhat.com>
11230
11231 * gdb.python/py-value: Add null string variable.
11232 (test_lazy_string): Test zero length, NULL address lazy
11233 strings.
11234
a055a187
L
112352010-04-07 H.J. Lu <hongjiu.lu@intel.com>
11236
11237 * gdb.arch/i386-avx.c: New.
11238 * gdb.arch/i386-avx.exp: Likewise.
11239
11240 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
11241
96e39866
DE
112422010-04-06 Doug Evans <dje@google.com>
11243
11244 * gdb.base/source-test.gdb: New file.
11245 * gdb.base/source.exp: Test source -v.
11246
5984a431
UW
112472010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11248
11249 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
11250
ec8a089a
PM
112512010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
11252
11253 * gdb.stabs/aout.sed: Convert all backslash to double backslash
11254 within one line, unless it is followed by a double quote.
11255 * gdb.stabs/hppa.sed: Idem.
11256 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
11257 * gdb.stabs/weird.exp: Check for correct parsing of
11258 char and string constants.
ec8a089a
PM
11259 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
11260 in .stabs to .stabx substitution.
11261
fce3c1f0
SS
112622010-04-05 Stan Shebs <stan@codesourcery.com>
11263
11264 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
11265 constant global.
11266 * gdb.trace/tfile.exp: Try to print them.
11267
d77f58be
SS
112682010-04-04 Stan Shebs <stan@codesourcery.com>
11269
11270 * gdb.base/completion.exp: Update for new "info watchpoints".
11271 * gdb.base/default.exp: Ditto.
11272 * gdb.base/help.exp: Ditto.
11273 * gdb.base/watchpoint.exp: Ditto.
11274 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 11275
af54718e
SS
112762010-04-04 Stan Shebs <stan@codesourcery.com>
11277
11278 * gdb.trace/tfile.exp: Sharpen tfind test.
11279
74d1f91e
JK
112802010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11281
11282 * gdb.base/break-entry.exp: New.
11283
eb8e76db 112842010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 11285 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
11286
11287 * gdb.reverse/i386-sse-reverse.exp: New file.
11288 * gdb.reverse/i386-sse-reverse.c: New file.
11289
bf65cad8
PA
112902010-04-02 Pedro Alves <pedro@codesourcery.com>
11291
11292 * gdb.trace/tfind.exp: Adjust expected disassembly output.
11293
fff87407
SS
112942010-04-01 Stan Shebs <stan@codesourcery.com>
11295
11296 * gdb.trace/actions.exp: Tweak expected output.
11297 * gdb.trace/while-stepping.exp: Tweak expected output.
11298
fe01d668
L
112992010-04-01 H.J. Lu <hongjiu.lu@intel.com>
11300
11301 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
11302
86b17b60
PA
113032010-04-01 Pedro Alves <pedro@codesourcery.com>
11304
11305 * gdb.base/commands.exp: Adjust.
11306 * gdb.cp/extern-c.exp: Adjust.
11307
2c58c0a9
PA
113082010-04-01 Pedro Alves <pedro@codesourcery.com>
11309
11310 * gdb.trace/collection.c (local_test_func): Define a local struct,
11311 and instanciate it.
11312
0db9b91c
PA
113132010-04-01 Pedro Alves <pedro@codesourcery.com>
11314
11315 * gdb.trace/collection.exp (gdb_collect_args_test)
11316 (gdb_collect_argarray_test): XFAIL the tests that assume the
11317 argarray argument's elements are collected.
11318
8072405b
JK
113192010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
11320
11321 * gdb.dwarf2/dw2-bad-parameter-type.exp,
11322 gdb.dwarf2/dw2-bad-parameter-type.S: New.
11323
8bf6485c
SS
113242010-03-31 Stan Shebs <stan@codesourcery.com>
11325
11326 * gdb.trace/save-trace.exp: Test save/restore of default-collect
11327 and tracepoint conditionals.
11328 (gdb_verify_tracepoints): Delete unused return.
11329
fd7f724a
KS
113302010-03-26 Keith Seitz <keiths@redhat.com>
11331
11332 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
11333 appear in the output before main.
11334 Remove KFAIL for gdb/2215 aka bz 9320.
11335
8d9e7719
DE
113362010-03-30 Doug Evans <dje@google.com>
11337
0906dd0b
DE
11338 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
11339 by dejagnu.
11340 * gdb.arch/amd64-dword.exp: Ditto.
11341
8d9e7719
DE
11342 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
11343 match.
11344 (break printf): Ditto.
11345
1da644f0
SW
113462010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
11347
11348 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
11349 gcc < 4.4.
11350 * gdb.cp/shadow.exp: Ditto.
11351
a8121990
PA
113522010-03-29 Pedro Alves <pedro@codesourcery.com>
11353
11354 * gdb.trace/collection.exp (run_trace_experiment): Make sure
11355 "tstart" is silent.
11356
6e79d367
PA
113572010-03-29 Pedro Alves <pedro@codesourcery.com>
11358
11359 * gdb.trace/collection.exp (executable): New.
11360 (binfile): Use it.
11361 (fpreg, spreg, pcreg): New.
11362 (test_register): Use gdb_test_multiple. Pass /x to print.
11363 (prepare_for_trace_test): New.
11364 (run_trace_experiment): Use "continue", not gdb_run_cmd.
11365 (gdb_collect_args_test, gdb_collect_argstruct_test)
11366 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
11367 prepare_for_trace_test.
11368 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
11369 fpreg, spreg and pcreg.
11370 (gdb_collect_expression_test, gdb_collect_globals_test): Use
11371 prepare_for_trace_test.
11372 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
11373 try to detect tracing support here. Don't set breakpoints at
11374 `begin' or `end' here.
11375 <global scope>: Use clean_restart. Run to main before checking
11376 for tracing support. Check for for tracing support here.
11377
09248348
JK
113782010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11379
11380 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
11381 " as $displacement" to "seen displacement message".
11382
d350db38
PA
113832010-03-28 Pedro Alves <pedro@codesourcery.com>
11384
11385 * gdb.trace/while-dyn.exp (executable): New variable.
11386 (binfile): Use it.
11387 (test_while_stepping): New function. Move most tests here. Call
11388 it once for each of the while-stepping, stepping and ws aliases.
11389
907af001
UW
113902010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11391
11392 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
11393 that do not provide the tagless_struct type name at all.
11394 (test_print_anon_union): Do not check value of uninitialized
11395 union member. Do not use cp_test_ptype_class, so we can accept
11396 "long" as well as "long int".
11397
610197fd
PA
113982010-03-26 Pedro Alves <pedro@codesourcery.com>
11399
11400 * gdb.trace/tfile.c (tohex, bin2hex): New.
11401 (write_error_trace_file): Hexify error description.
11402
6c28cbf2
SS
114032010-03-25 Stan Shebs <stan@codesourcery.com>
11404
11405 * gdb.trace/tfile.c: Generate an additional trace file, improve
11406 portability.
11407 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
11408 files in a better way.
11409
e62b8c7e
KS
114102010-03-25 Keith Seitz <keiths@redhat.com>
11411
11412 * gdb.java/jprint.exp: XFAIL printing of static class members
11413 because of GCC debuginfo problem.
11414
82ccf5a5
JK
114152010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11416
11417 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
11418
293e2f9e
DJ
114192010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11420
11421 * gdb.base/completion.exp: Allow long instead of long int.
11422 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
11423 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
11424 variable p.
11425 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
11426 * gdb.base/pointers.exp: Allow long instead of long int.
11427 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
11428 * gdb.base/step-line.exp: Allow a directory before the source file name.
11429
95a42b64
TT
114302010-03-24 Tom Tromey <tromey@redhat.com>
11431
11432 PR breakpoints/9352:
11433 * gdb.base/default.exp: Update.
11434 * gdb.base/commands.exp: Update.
11435 * gdb.cp/extern-c.exp: Test setting commands on multiple
11436 breakpoints at once.
11437
2390201f
DJ
114382010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11439
11440 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
11441 if gdb,nosignals.
11442 * gdb.base/watchpoints.c: Do not include unnecessary headers.
11443 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
11444 exited".
11445
8c9a6790
SS
114462010-03-24 Stan Shebs <stan@codesourcery.com>
11447
11448 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
11449
a6c727b2
DJ
114502010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
11451
11452 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
11453 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
11454 argument. Handle "short" and "long".
11455 (Top level): Pass overprototyped output for old_fptr and xptr.
11456
4dfd5423
PA
114572010-03-23 Pedro Alves <pedro@codesourcery.com>
11458
11459 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
11460 format strings and add casts to avoid compiler warnings.
11461
114622010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
11463
11464 * lib/trace-support.exp (gdb_trace_setactions):
11465 Don't expect whitespace after ">" prompt.
11466 * gdb.trace/actions.exp: Adjust for output changes.
11467 * gdb.trace/while-stepping.exp: Likewise.
11468
c847d045
JK
114692010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11470
11471 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
11472 and r157645).
11473
5f717f1d
JK
114742010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11475
11476 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
11477 New.
11478
7d6d51d5
DJ
114792010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
11480
11481 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
11482 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
11483
3b11a015
SS
114842010-03-19 Stan Shebs <stan@codesourcery.com>
11485
11486 * gdb.trace/ax.exp: New file.
11487
d7d158ed
DE
114882010-03-19 Doug Evans <dje@google.com>
11489
6bb85cd1
DE
11490 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
11491 output from gcc.
11492
d7d158ed
DE
11493 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
11494 named /usr/sbin/prelink<foo>.
11495
4daf5ac0
SS
114962010-03-18 Stan Shebs <stan@codesourcery.com>
11497
11498 * gdb.trace/circ.exp: Test circular-trace-buffer.
11499 * gdb.trace/tfile.exp: Update tstatus test.
11500
e8d05480
JB
115012010-03-18 Joel Brobecker <brobecker@adacore.com>
11502
11503 * gdb.dwarf2/dw2-anonymous-func.S: New file.
11504 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
11505
441b986a
UW
115062010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11507
11508 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
11509
4247603b
PA
115102010-03-18 Pedro Alves <pedro@codesourcery.com>
11511
11512 * gdb.base/default.exp: Adjust the expected output of the finish
11513 and until commands when the inferior is not being run.
11514
13387711
SW
115152010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
11516
11517 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
11518 * gdb.cp/nsusing.exp: Ditto.
11519
6e31430b
TT
115202010-03-15 Tom Tromey <tromey@redhat.com>
11521
11522 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
11523 * gdb.cp/userdef.cc (operator==): New function.
11524 (main): New locals mem1, mem2.
11525
e2d69cb5
JZ
115262010-03-15 Jie Zhang <jie@codesourcery.com>
11527
11528 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
11529 Declare and use new loadtimeout variable.
11530
f572f0a9
DJ
115312010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
11532
11533 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
11534 Use gdb_load later.
11535
51f4c0b0
PA
115362010-03-14 Pedro Alves <pedro@codesourcery.com>
11537
11538 * gdb.base/solib-disc.c (main): Make format of fprintf a string
11539 literal. Add missing endlines to prints to stderr.
11540
1c809c68
TT
115412010-03-12 Tom Tromey <tromey@redhat.com>
11542
11543 PR c++/9708:
11544 * gdb.cp/m-static.exp: Add regression test.
11545 * gdb.cp/m-static.cc (method): New method.
11546 (main): Call it.
11547
00ae8fef
SW
115482010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
11549
11550 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
11551 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
11552
759f0f0b
PA
115532010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11554
21e24d21
PA
11555 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
11556
115572010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
11558
759f0f0b
PA
11559 * lib/gdb.exp (skip_stl_tests): New.
11560 (gdb_compile): Symbian needs -ldl.
11561 (shlib_target_file): New.
11562 (shlib_symbol_file): New.
11563 (gdb_load_shlibs): Use shlib_target_file.
11564 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
11565 * gdb.cp/exception.exp: Use skip_stl_tests.
11566 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
11567 * gdb.cp/try_catch.exp: Use skip_stl_tests.
11568 * gdb.cp/mb-templates.exp: Ditto.
11569 * gdb.base/commands.exp: Relax regexes.
11570 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
11571 shlib_target_file and shlib_symbol_file.
11572 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
11573 sections.
11574 * gdb.base/ending-run.exp: Accept E32Main for symbian.
11575 * gdb.base/solib-disc.exp: Use
11576 shlib_target_file and shlib_symbol_file.
11577 * gdb.base/unload.exp: Don't skip on symbian. Use
11578 shlib_target_file and shlib_symbol_file.
11579 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
11580
6a8f2671 115812010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 11582
6a8f2671
PA
11583 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
11584 * gdb.trace/report.exp: Adjust for x86 and x86_64.
11585 Issue a tfind end before looking for a tracepoint frame.
11586 * gdb.trace/tfind.exp: Adjust tstatus output.
11587 Adjust disassembly output.
11588 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
11589
ccf26247
JK
115902010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11591
11592 * gdb.base/break-interp.exp: Create new displacement parameter value
11593 for the test_ld calls.
11594 (reach): New parameter displacement, verify its content. New push of
11595 pf_prefix "reach-$func:". Import global expect_out.
11596 (test_core): New parameter displacement, verify its content. New push
11597 of pf_prefix "core:". New command "set verbose on". Import global
11598 expect_out.
11599 (test_attach): New parameter displacement, verify its content. New
11600 push of pf_prefix "attach:". New command "set verbose on". Import
11601 global expect_out.
11602 (test_ld): New parameter displacement, pass it to the reach, test_core
11603 and test_attach calls and verify its content in the "ld.so exit" test.
11604 * gdb.base/prelink.exp: Remove gdb_exit and final return.
11605 (prelink): Update expected text, use gdb_test.
11606
e469c7fb
DE
116072010-03-10 Doug Evans <dje@google.com>
11608
11609 * gdb.base/checkpoint.exp: Fix comment.
11610 Lengthen timeout while doing >600 checkpoints test.
11611 Rename duplicate "kill all one" test to keep test names unique.
11612
60e1c644
PA
116132010-03-10 Pedro Alves <pedro@codesourcery.com>
11614
11615 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
11616
cec808ec
KS
116172010-03-08 Keith Seitz <keiths@redhat.com>
11618
889bf7c5
PA
11619 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
11620 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
11621 (dm_type_long): New function.
11622 (dm_type_unsigned_short): New function.
11623 (dm_type_unsigned_long): New function.
11624 (myint): New typedef.
11625 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
11626 long, unsigned shor and long, operator char*, and typedef.
11627 (test_lookup_operator_functions): Add operator char* test.
11628 (test_paddr_operator_functions): Likewise.
11629 (test_paddr_overloaded_functions): Use probe values for
11630 short, long, and unsigned short and long.
11631 (test_paddr_hairy_functions): If the demangler probe detected
11632 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
11633 demangler.
11634 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
11635 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
11636 and "print null_pmf".
11637 Add test "ptype a.*pmf".
11638 * gdb.cp/overload.exp: Allow optional "int" to appear with
11639 "short" and "long".
11640 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
11641 long expect value for men_overload1arg.
11642 Allow "int" to appear with "short" and "long".
11643 When testing "info break", add argument for main (void).
11644 Also allow "int" to appear with "short" and "long".
11645 Ditto with "unsigned" and "long long".
cec808ec
KS
11646 * gdb.java/jmain.exp: Do not enclose methods names in single
11647 quotes.
11648 * gdb.java/jmisc.exp: Likewise.
11649 * gdb.java/jprint.exp: Likewise.
11650 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
11651
11652 From Jan Kratochvil <jan.kratochvil@redhat.com>:
11653 * gdb.cp/exception.exp (backtrace after first throw)
11654 (backtrace after second throw): Allow a namespace before __cxa_throw.
11655 (backtrace after first catch, backtrace after second catch): Allow
11656 a namespace before __cxa_begin_catch.
11657
11658 * gdb.cp/cpexprs.exp: New file.
11659 * gdb.cp/cpexprs.cc: New file.
11660
11661 From Daniel Jacobowitz <dan@codesourcery.com>
11662 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
11663 to use string_to_regexp.
11664 (ctor, dtor): New functions. Use them to match constructor
11665 and destructor function types.
11666 (Top level): Use runto_main.
11667
f870a310
TT
116682010-03-05 Tom Tromey <tromey@redhat.com>
11669
11670 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
11671 gdb.target_charset.
11672 (pp_ns.to_string): Likewise.
11673
0c199f28
KS
116742010-03-04 Keith Seitz <keiths@redhat.com>
11675
11676 * gdb.cp/overload.exp: Test that the filename portion of a linespec
11677 can be quoted. Test that both the filename and function/line
11678 portions can be quoted at the same time.
11679
c7437ca6
PA
116802010-03-04 Pedro Alves <pedro@codesourcery.com>
11681
11682 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
11683
b111b805
DE
116842010-03-03 Doug Evans <dje@google.com>
11685
24486cb7
DE
11686 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
11687 libc contains libpthread.
11688
b111b805
DE
11689 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
11690 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
11691 of gdb_compile. Add another pattern to match android backtrace.
11692
a0e0ef55
TT
116932010-03-03 Tom Tromey <tromey@redhat.com>
11694
11695 PR gdb/11345:
11696 * gdb.base/printcmds.exp (test_printf): Add test.
11697
1ba53b71
L
116982010-03-02 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 * gdb.arch/amd64-byte.exp: New.
11701 * gdb.arch/amd64-dword.exp: Likewise.
11702 * gdb.arch/amd64-pseudo.c: Likewise.
11703 * gdb.arch/amd64-word.exp: Likewise.
11704 * gdb.arch/i386-byte.exp: Likewise.
11705 * gdb.arch/i386-pseudo.c: Likewise.
11706 * gdb.arch/i386-word.exp: Likewise.
11707
f5dff777
DJ
117082010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11709
11710 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
11711 types. Add structreg, bitfields, and flags registers.
11712 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
11713 registers.
11714
90884b2b
L
117152010-03-01 H.J. Lu <hongjiu.lu@intel.com>
11716
11717 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
11718 (load_description): Set architecture if defined.
11719
dc00d89f
PM
117202010-02-28 Phil Muldoon <pmuldoon@redhat.com>
11721
11722 * gdb.python/py-frame.exp: Add read_var block tests.
11723 * gdb.python/py-frame.c (block): New function.
11724
0e095b7e
JK
117252010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11726 Daniel Jacobowitz <dan@codesourcery.com>
11727
11728 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
11729
624f1a65
DM
117302010-02-25 David S. Miller <davem@davemloft.net>
11731
11732 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
11733 fix logic for setting all_syscalls_numbers.
11734
f3e9a817
PM
117352010-02-24 Phil Muldoon <pmuldoon@redhat.com>
11736
11737 * Makefile.in: Add py-block and py-symbol.
11738 * gdb.python/py-symbol.exp: New File.
11739 * gdb.python/py-symtab.exp: New File.
11740 * gdb.python/py-block.exp: New File.
11741 * gdb.python/py-symbol.c: New File.
11742 * gdb.python/py-block.c: New File.
11743
f6bbabf0
PM
117442010-02-24 Phil Muldoon <pmuldoon@redhat.com>
11745
11746 PR python/11314
11747 * lib/gdb.exp (skip_python_tests): New function.
11748 * gdb.python/py-cmd.exp: Use skip_python_tests.
11749 * gdb.python/py-frame.exp: Likewise.
11750 * gdb.python/py-function.exp: Likewise.
11751 * gdb.python/py-prettyprint.exp: Likewise.
11752 * gdb.python/py-template.exp: Likewise.
11753 * gdb.python/py-type.exp: Likewise.
11754 * gdb.python/py-value.exp: Likewise.
11755
85d721b8
PA
117562010-02-22 Pedro Alves <pedro@codesourcery.com>
11757
11758 PR9605
11759
11760 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
11761
48e32051
TT
117622010-02-19 Tom Tromey <tromey@redhat.com>
11763
11764 PR c++/8693, PR c++/9496:
11765 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
11766 regression tests.
11767
ac9c0048
JK
117682010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11769
11770 Fix compatibility with m68k as.
11771 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
11772 Use only /* comments */.
11773
57bb97a4
UW
117742010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11775
11776 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
11777 * configure: Regenerate.
11778
7d1bf85c
DJ
117792010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
11780
11781 * gdb.python/py-type.exp: Check for Python support.
11782
061b5285
PA
117832010-02-17 Pedro Alves <pedro@codesourcery.com>
11784
11785 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
11786 `regsub' syntax available.
11787
f8a8bc2c
PA
117882010-02-17 Pedro Alves <pedro@codesourcery.com>
11789
11790 * gdb.base/shmain.c (main): Remove printf call.
11791 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
11792 * gdb.base/unload.c (main): Make format of fprintf a string
11793 literal. Add missing endlines to prints to stderr.
11794 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
11795
6f451e5e
TT
117962010-02-17 Tom Tromey <tromey@redhat.com>
11797
11798 * gdb.java/jprint.java (jprint.props): New field.
11799 * gdb.java/jprint.exp (set_lang_java): Add regression test.
11800
12d79008
PA
118012010-02-17 Pedro Alves <pedro@codesourcery.com>
11802
ef801a0e 11803 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
11804 available.
11805
d252f7e5
DJ
118062010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11807
11808 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
11809 creation to support remote host testing.
11810
67bdab6c
DJ
118112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11812
11813 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
11814 Recognize "command not found".
11815
bb391223
DJ
118162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11817
11818 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
11819 single-stepping.
11820
70362913
DJ
118212010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11822
11823 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
11824 if arguments are not supported.
11825
493f3c00
DJ
118262010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11827
11828 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
11829 be const or non-const.
11830
8034c749
DJ
118312010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11832
11833 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
11834 mi_send_resuming_command to send -exec-continue.
11835
791dfb64
DJ
118362010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11837
11838 * gdb.base/list.exp (test_list_filename_and_function): Add test
11839 with single quotes.
11840 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11841 matching.
11842 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11843 Add KFAIL'd tests for PR gdb/11289.
11844
7c5fe868
DJ
118452010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11846
11847 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11848
fdc498b8
DJ
118492010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11850
11851 * gdb.base/comp-dir/subdir/dummy.txt: New file.
11852 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11853 a temporary directory.
11854
b519e2a6
DJ
118552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11856
11857 * gdb.base/charset.exp: Use a single regular expression to match
11858 show host-charset and show target-charset output.
11859
74164c56
JK
118602010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11861
11862 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11863 "Illegal process-id" expect string more exact.
11864 (attach to digits-starting nonsense is prohibited): New.
11865
701ed6dc
JK
118662010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11867
11868 * gdb.base/prelink.exp (set verbose on): New.
11869
889bf7c5 118702010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
11871
11872 * mi-reverse.exp: New file. Test for reverse option to the
11873 following MI commands: exec-continue, exec-finish, exec-next,
11874 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 11875
dadf0e9c
JB
118762010-02-09 Joel Brobecker <brobecker@adacore.com>
11877
11878 * gdb.ada/ptype_tagged_param: New testcase.
11879
714f19d5
TT
118802010-02-08 Tom Tromey <tromey@redhat.com>
11881
11882 PR c++/8017:
11883 * gdb.cp/overload.exp: Add tests.
11884 * gdb.cp/overload.cc (struct K): New.
11885 (namespace N): New.
11886 (main): Call new functions.
11887 (K::staticoverload): Define.
11888
889bf7c5 118892010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
11890
11891 PR gdb/10728
11892 * gdb.cp/pr10728-x.h: New file.
11893 * gdb.cp/pr10728-x.cc: New file.
11894 * gdb.cp/pr10728-y.cc: New file.
11895 * gdb.cp/pr10728.exp: New file.
11896 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11897
889bf7c5 118982010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
11899
11900 PR gdb/9067
11901 * gdb.cp/pr9067.exp: New
11902 * gdb.cp/pr9067.cc: New
11903 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11904
7b356089
JB
119052010-02-08 Joel Brobecker <brobecker@adacore.com>
11906
11907 * lib/gdb.exp (gdb_test_timeout): New global variable.
11908 Set it to timeout if not already set.
11909 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11910
1be00882
DE
119112010-02-05 Doug Evans <dje@google.com>
11912
11913 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11914 user.
11915
82856980
SW
119162010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11917
11918 PR c++/7935:
11919 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11920
1a334831
TT
119212010-02-04 Tom Tromey <tromey@redhat.com>
11922
11923 * gdb.cp/virtbase.exp: Make test case names unique.
11924
9c3c02fd
TT
119252010-02-02 Tom Tromey <tromey@redhat.com>
11926
11927 * gdb.cp/virtbase.exp: Add regression tests.
11928 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11929 (main): Instantiate RHC.
11930
0cc2414c
TT
119312010-02-02 Tom Tromey <tromey@redhat.com>
11932
11933 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11934 type-printing change.
11935
edf3d5f3
TT
119362010-02-02 Tom Tromey <tromey@redhat.com>
11937
11938 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11939 * gdb.cp/virtbase.cc: New file.
11940 * gdb.cp/virtbase.exp: New file.
11941 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11942
e4b7f41c
JK
119432010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11944
11945 PR libc/11214:
11946 * gdb.threads/current-lwp-dead.c: Include features.h.
11947 (HAS_NOMMU): New.
11948 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11949
b381ea14
JK
119502010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11951
11952 * gdb.base/symbol-without-target_section.exp,
11953 gdb.base/symbol-without-target_section.c: New.
11954
c593ac0e
DJ
119552010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11956
11957 * gdb.base/bigcore.exp: Reset increased timeout.
11958 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11959
db25f29d
DJ
119602010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11961
11962 * gdb.base/gcore.exp (capture_command_output): Use
11963 gdb_test_multiple.
11964
f9d67f43
DJ
119652010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11966
11967 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11968 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11969 (Top level): Call it.
11970
177321bd
DJ
119712010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11972
11973 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11974
97f2ed50
DJ
119752010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11976
11977 * gdb.base/call-strs.exp, gdb.base/default.exp,
11978 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11979 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11980 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11981 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11982 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11983 * gdb.base/ending-run.exp: Correct restore of timeout.
11984 * gdb.base/page.exp: Remove unnecessary timeout setting.
11985
e4e2711a
JB
119862010-01-29 Joel Brobecker <brobecker@adacore.com>
11987
11988 * gdb.ada/rec_return: New testcase.
11989
ba581dc1
JB
119902010-01-29 Joel Brobecker <brobecker@adacore.com>
11991
11992 * gdb.ada/call_pn: New testcase.
11993
4ea95be9
DJ
119942010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11995
11996 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11997 (Top level): Use it to resume.
11998 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11999 the Thumb mode displaced stepping error as unsupported.
12000
df83a9bf
SW
120012010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
12002
889bf7c5
PA
12003 * gdb.cp/nsusing.exp: Added more tests.
12004 * gdb.cp/nsrecurs.exp: Ditto.
12005 * gdb.cp/nsusing.cc: Added test functions.
12006 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 12007
40b27cdc
JK
120082010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12009
12010 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
12011 absolute directory pathnames in gdb.sum file.
12012
de958931
SW
120132010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
12014
12015 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
12016 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
12017
708ead4e
TT
120182010-01-26 Tom Tromey <tromey@redhat.com>
12019
12020 PR exp/7643:
12021 * gdb.base/printcmds.exp (test_print_string_constants): Remove
12022 setup_kfail.
12023
b14e635e
SW
120242010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
12025
12026 * gdb.cp/nsrecurs.exp: New test.
12027 * gdb.cp/nsrecurs.cc: New test program.
12028 * gdb.cp/nsstress.exp: New test.
12029 * gdb.cp/nsstress.cc: New test program.
12030 * gdb.cp/nsdecl.exp: New test.
12031 * gdb.cp/nsdecl.cc: New test program.
12032
8540c487
SW
120332010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
12034
12035 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
12036 imported into file scope.
12037 Marked test as xfail.
12038 * gdb.cp/namespace-using.cc (marker5): New function.
12039 * gdb.cp/shadow.exp: New test.
12040 * gdb.cp/shadow.cc: New test program.
12041 * gdb.cp/nsimport.exp: New test.
12042 * gdb.cp/nsimport.cc: New test program.
12043
421d5d99
TT
120442010-01-25 Tom Tromey <tromey@redhat.com>
12045
12046 PR gdb/11049:
12047 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
12048 with "set print null-stop on".
12049
691f8dc1
JK
120502010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12051
12052 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
12053 Adjust it for DISASSEMBLY_OMIT_FNAME.
12054
0b92b5bb
TT
120552010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12056
12057 PR symtab/11199:
12058 * gdb.dwarf2/member-ptr-forwardref.exp,
12059 gdb.dwarf2/member-ptr-forwardref.S: New.
12060
23787403
JK
120612010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12062
12063 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
12064 (thread1_func): Protect thread1_tid with thread1_tid_cond by
12065 thread1_tid_mutex. Remove gdbstop_mutex handling.
12066 (thread2_func): Protect thread2_tid with thread2_tid_cond by
12067 thread2_tid_mutex. Remove gdbstop_mutex handling.
12068 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
12069 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
12070 pthread_cond_wait conditionalizations by while loops.
12071
b966cb8a
TT
120722010-01-20 Tom Tromey <tromey@redhat.com>
12073
12074 PR backtrace/10770:
12075 * gdb.dwarf2/pr10770.exp: New file.
12076 * gdb.dwarf2/pr10770.c: New file.
12077 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
12078
fcae584b
VP
120792010-01-20 Vladimir Prus <vladimir@codesourcery.com>
12080
12081 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
12082 that target was removed, and the test always runs native anyway.
12083
a0f49112
JK
120842010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12085
12086 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
12087 gdb.base/watchpoint-cond-gone-stripped.c: New.
12088
ceeb3d5a
TT
120892010-01-19 Tom Tromey <tromey@redhat.com>
12090
12091 PR c++/8000:
12092 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
12093 existing tests.
12094 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
12095 (main): Use AAA::SomeEnum.
12096
dd322c54
JK
120972010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
12098
12099 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
12100 (test_ignore_count): Declare line_callme_body global.
12101 (run to breakpoint with ignore count): Use line_callme_body.
12102 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
12103 (set line_main_hello, set line_main_return): Reindent.
12104 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
12105 New.
12106 (continue to callee4): Use line_callee4_body.
12107 (check *stopped from CLI command): Use line_callee4_next.
12108 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
12109 (set line_main_hello, set line_main_return): Reindent.
12110 (set line_callee4_head, set line_callee4_body): New.
12111 (continue to callee4): Use line_callee4_body.
12112
4e8f195d
TT
121132010-01-18 Tom Tromey <tromey@redhat.com>
12114
12115 PR c++/9680:
12116 * gdb.cp/casts.cc: Add new classes and variables.
12117 * gdb.cp/casts.exp: Test new operators.
12118
9e14a9ba
JB
121192010-01-18 Tom Tromey <tromey@redhat.com>
12120 Thiago Jung Bauermann <bauerman@br.ibm.com>
12121
12122 * gdb.python/source2.py: New file.
12123 * gdb.python/source1: New file.
12124 * gdb.python/python.exp: Test "source" command.
12125
00bf0b85
SS
121262010-01-15 Stan Shebs <stan@codesourcery.com>
12127
12128 * gdb.trace/tfile.c: New file.
12129 * gdb.trace/tfile.exp: New file.
889bf7c5 12130
55235ad7
JK
121312010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12132
12133 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
12134
9f2982ff
JK
121352010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12136
12137 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
12138
bbfba9ed
JK
121392010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12140
12141 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
12142 (libfunc): New parameter action. Implement also selectable "sleep".
12143 * gdb.base/break-interp-main.c: Include assert.h.
12144 (libfunc): New parameter action.
12145 (main): New parameters argc and argv. Assert argc. Pass argv.
12146 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
12147 (test_attach): New proc.
12148 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
12149 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
12150
61f0d762
JK
121512010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12152
12153 * gdb.base/break-interp.exp (test_core): New proc.
12154 (test_ld): Call it.
12155
06a6f270
JK
121562010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12157
12158 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
12159 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
12160 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
12161 and gdb_compile_shlib. Use new -Wl compiler options.
12162 (dl bt, main bt): New tests.
12163
51bee8e9
JK
121642010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12165
12166 Support PIEs with no symfile_objfile.
12167 * gdb.base/break-interp.exp: New argument at the test_ld calls.
12168 (test_ld): New parameter trynosym.
12169 (test_ld <$trynosym>): New block.
12170
b8040f19
JK
121712010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12172
12173 * gdb.base/break-interp.exp: New file.
12174
be759fcf
PM
121752010-01-13 Phil Muldoon <pmuldoon@redhat.com>
12176
12177 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
12178 * gdb.python/py-prettyprint.py (pp_ls): New printer.
12179 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
12180 test.
12181 * gdb.python/py-prettyprint.c: Define lazystring test structure.
12182 * gdb.python/py-mi.exp: Add lazy string test.
12183
dc146f7c
VP
121842010-01-13 Vladimir Prus <vladimir@codesourcery.com>
12185
12186 * lib/mi-support.exp (mi_check_thread_states): Handle
12187 core number in thread listing.
12188
b4ba55a1
JB
121892010-01-12 Joel Brobecker <brobecker@adacore.com>
12190
12191 * gdb.base/maint.exp: Adjust the expected output for the
12192 "maint print type" test. Use gdb_test_multiple instead of
12193 gdb_sent/gdb_expect.
12194
08e24bd4
DE
121952010-01-11 Doug Evans <dje@google.com>
12196
6496a609
DE
12197 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
12198 from gdbserver_download. All callers updated.
12199
08e24bd4
DE
12200 * gdb.server/ext-run.exp: "info os processes" requires xml support.
12201
b5cfddf5
JK
122022010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12203
12204 Implement binary numbers parsing.
12205 * gdb.base/printcmds.exp (test_integer_literals_accepted)
12206 (test_integer_literals_rejected): New binary tests.
12207
3725885a
RW
122082010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12209
12210 * gdb.cell/configure: Regenerate.
12211
37aeb5df
JK
122122010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12213
12214 * gdb.base/corefile.exp: Move the core finding block out and call it as
12215 core_find, new variable $corefile, replace corefile by $corefile and
12216 [file tail $corefile] for usage vs. test names resp.
12217 * lib/gdb.exp (core_find): Move it as a new function here. New
12218 parameter binfile and deletefiles. New variable $destcore. Pre-delete
12219 $destcore. Return "" on error.
12220
d521f563
JK
122212010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12222
12223 Workaround PR binutils/10802.
12224 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
12225 (twice).
12226
28f24826
DJ
122272010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12228
12229 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
12230
2de75e71
JB
122312010-01-08 Joel Brobecker <brobecker@adacore.com>
12232
12233 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
12234 call, to avoid interruption.
12235
fe00719b 122362010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
12237
12238 * gdb.stabs/weird.def (args93): New.
12239
d0ef5df8
DE
122402010-01-07 Doug Evans <dje@google.com>
12241
12242 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
12243
3a08d52f
TT
122442010-01-07 Tom Tromey <tromey@redhat.com>
12245
12246 * gdb.base/source.exp: Use correct line number.
12247
7a697b8d
SS
122482010-01-05 Stan Shebs <stan@codesourcery.com>
12249
12250 * gdb.trace/tracecmd.exp: Test ftrace.
12251
7803799a
UW
122522010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12253
12254 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
12255
c54eabfa
JK
122562010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12257
12258 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
12259 "uint_for_mi_testing".
12260
02e7ef19
JB
122612010-01-01 Joel Brobecker <brobecker@adacore.com>
12262
12263 Test indented comment in file being sourced.
12264 * gdb.base/commands.exp: Test indented comment in file being sourced.
12265
abd775ce
JB
122662010-01-01 Joel Brobecker <brobecker@adacore.com>
12267
12268 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
12269 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
12270 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
12271 notice.
12272
79b55b82
JB
122732010-01-01 Joel Brobecker <brobecker@adacore.com>
12274
12275 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
12276 notice.
12277
8997583e
JK
122782010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12279
12280 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
12281 missing $after_stopped and comma (,) expectation.
12282
6da95a67
SS
122832009-12-31 Stan Shebs <stan@codesourcery.com>
12284
12285 * gdb.trace/actions.exp: Test teval action.
889bf7c5 12286
218d2fc6
TJB
122872009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12288
12289 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
12290 (top level): Call test_watchpoint_in_big_blob.
12291 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
12292 watchpoints.
12293 (func3): Write to buf.
12294
236f1d4d
SS
122952009-12-29 Stan Shebs <stan@codesourcery.com>
12296
12297 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 12298
f61e138d
SS
122992009-12-28 Stan Shebs <stan@codesourcery.com>
12300
12301 * gdb.trace/tsv.exp: New file.
12302 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 12303
0219b378
DJ
123042009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
12305
12306 * gdb.base/find.c (main): Reference search buffers.
12307 * gdb.base/included.c (main): Reference integer.
12308 * gdb.base/ptype.c (charfoo): Declare.
12309 (intfoo): Call charfoo.
12310 * gdb.base/scope0.c (useitp): New function.
12311 (usestatics): Use useitp.
12312 (useit): Add a type for val.
12313 * gdb.base/scope1.c (useit1): Take a pointer argument.
12314 (usestatics1): Update calls to useit1.
12315 * gdb.cp/call-c.cc: Declare foo.
12316 (main): Call foo.
12317 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
12318 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
12319 (main): Call C::ensureRefs and ensureOtherRefs.
12320 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
12321 variables.
12322 (ensureOtherRefs): New function.
12323 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
12324 * gdb.cp/templates.cc (main): Call t5i.value.
12325
3f78692f
JK
123262009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12327
12328 Fix compatibility with G++-4.5.
12329 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
12330 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
12331 (uncaught return): Remove.
12332
429374b8
JK
123332009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12334 Phil Muldoon <pmuldoon@redhat.com>
12335
12336 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
12337 (bp_location13, bp_location14, bp_location17, bp_location18)
12338 (marker3_proto, marker4_proto): New variables.
12339 (breakpoint info): Update output.
12340 (run until breakpoint at marker3, run until breakpoint at marker4): New
12341 tests.
12342
859825b8
JK
123432009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
12344
12345 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
12346 Replace the printf call of Y by provided "y-set-1" label. New block
12347 for the second shared library.
12348 * gdb.base/unload.exp: Compile also the second library, call
12349 gdb_load_shlibs also for it. Use now gdb_breakpoint.
12350 (single pending breakpoint info): Rename to ...
12351 (pending breakpoint info before run): ... this extended test.
12352 (libfile2, libname2, libsrcfile2, libsrc2)
12353 (lib_sl2): New variables.
12354 (exec_opts): Set also SHLIB_NAME2.
12355 (pending breakpoint info on first run at shrfunc1)
12356 (pending breakpoint info on second run at shrfunc1)
12357 (pending breakpoint info on second run at shrfunc2)
12358 (print y from libfile, print y from libfile2): New tests.
12359 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
12360 * gdb.base/unloadshr2.c: New.
12361
e6a386cd
HZ
123622009-12-22 Hui Zhu <teawater@gmail.com>
12363
12364 * gdb.reverse/sigall-reverse.exp: Adjust.
12365
9e19b45e
VP
123662009-12-21 Vladimir Prus <vladimir@codesourcery.com>
12367
12368 PR gdb/10884
12369
12370 * gdb.mi/var-cmd.c (do_bitfield_tests): New
12371 (main): Call do_bitfield_tests.
aacf5b1e 12372 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 12373
d53a7b30
JB
123742009-12-20 Joel Brobecker <brobecker@adacore.com>
12375
12376 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
12377 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
12378 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
12379 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
12380 gdb.modula2/unbounded1.c: Update copyright header.
12381
191ca0a1
CM
123822009-12-10 Chris Moller <moller@mollerware.com>
12383
12384 PR gdb/9399
12385 * gdb.cp/virtfunc2.exp: New tests
12386 * gdb.cp/virtfunc2.cc: New tests
12387 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
12388
0fa6cf1b
MS
123892009-12-10 Oza Pawandeep (paawan1982@yahoo.com
12390
12391 * gdb.reverse/i387-env-reverse.c: New file.
12392 * gdb.reverse/i387-env-reverse.exp: New file.
12393 * gdb.reverse/i387-stack-reverse.c: New file.
12394 * gdb.reverse/i387-stack-reverse.exp: New file.
12395
361ae042
PM
123962009-12-08 Phil Muldoon <pmuldoon@redhat.com>
12397
12398 * gdb.python/py-type.exp (test_range): New test.
12399
bfd31e71
PM
124002009-12-03 Phil Muldoon <pmuldoon@redhat.com>
12401
12402 PR python/10805
12403
12404 * gdb.python/py-type.exp: New file.
12405 * gdb.python/py-type.c: New file.
12406 * Makefile.in: Add py-type.
12407
57a1d736
TT
124082009-12-03 Tom Tromey <tromey@redhat.com>
12409
12410 * gdb.python/py-value.exp (test_parse_and_eval): New
12411 function.
12412
1f3b5d1b
PP
124132009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12414
12415 PR gdb/11022
12416
12417 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
12418 * gdb.base/pr11022.c: New test.
12419
8b7dbdc9
JK
124202009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12421
12422 Fix spurious false FAILs.
12423 * gdb.base/structs.c (chartest): New.
12424 (main): Fill-in chartest.
12425 * gdb.base/structs.exp (anychar_re, first): New.
12426 (start_structs_test): Import global anychar_re and first.
12427 New gdb_test call "set print elements 300; ${testfile}"
12428 (start_structs_test <$first>): New block.
12429 (any): Import global anychar_re. New variable ac. Use ${ac}.
12430
6a53b2ec
JK
124312009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12432
12433 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
12434
d7167b4c
JK
124352009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12436
12437 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
12438 Force $srcfile file.
12439 * gdb.base/foll-fork.c (callee): Comment out the printf call.
12440
b1798462
UW
124412009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12442
12443 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
12444 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
12445 * gdb.threads/watchthreads-reorder.exp: Likewise.
12446
b6199126
DJ
124472009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
12448
12449 PR gdb/8704
12450
12451 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
12452 "if", and "thread". Correct matching in the previous test.
12453
b22a0510
DJ
124542009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
12455
12456 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
12457
930636d2
MS
124582009-11-23 Michael Snyder <msnyder@vmware.com>
12459
12460 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
12461 * gdb.reverse-watch-precsave.exp: Ditto.
12462
21a0512e
PP
124632009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
12464
12465 * gdb.asm/asm-source.exp: Adjust.
12466 * gdb.base/help.exp: Adjust.
889bf7c5 12467
fc30d5e0
PA
124682009-11-22 Pedro Alves <pedro@codesourcery.com>
12469
12470 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
12471 (do_syscall_tests_without_xml): Set data-directory to
12472 /the/path/to/nowhere.
12473
f6bc2008
PA
124742009-11-21 Pedro Alves <pedro@codesourcery.com>
12475
12476 * gdb.threads/local-watch-wrong-thread.c,
12477 gdb.threads/local-watch-wrong-thread.exp: New files.
12478
8c2fb5de
PA
124792009-11-21 Pedro Alves <pedro@codesourcery.com>
12480
12481 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
12482 assume new `regsub' syntax available.
12483
ebec9a0f
PA
124842009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12485
a79d3c27
JK
12486 * gdb.base/watchpoint-hw-hit-once.exp,
12487 gdb.base/watchpoint-hw-hit-once.c: New.
12488
124892009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12490
12491 * gdb.threads/watchthreads-reorder.exp,
12492 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 12493
276a961b
MK
124942009-11-17 Nathan Sidwell <nathan@codesourcery.com>
12495
12496 * gdb.xml/tdesc-regs.exp: Use for m68k.
12497
4867c1fb
PA
124982009-11-15 Pedro Alves <pedro@codesourcery.com>
12499
12500 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
12501
f6838f81
DJ
125022009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12503
12504 * lib/gdb.exp (current_target_name): New procedure.
12505 (gdb_wrapper_target): New variable.
12506 (gdb_wrapper_init): Set gdb_wrapper_target.
12507 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
12508 wrapper.
12509
4ac4dd3f
DJ
125102009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12511
12512 * gdb.base/remote.exp: Delete the slowest load test.
12513 Do not load with fixed packet sizes.
12514
a7881759
DJ
125152009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12516
12517 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
12518
97a5b505
DJ
125192009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12520
12521 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
12522 srcfile when setting a breakpoint.
12523
d3e1fc54
DJ
125242009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
12525
12526 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
12527 macros.
12528
7cbcbded
DJ
125292009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
12530
12531 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
12532 to be in memory.
12533 * gdb.base/display.c (force_mem): New.
12534 (do_loops): Use it. Add breakpoint comments.
12535 (do_vars): Add a breakpoint comment.
12536 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
12537 line numbers.
12538
bdea3a92
NF
125392009-11-13 Nathan Froyd <froydnj@codesourcery.com>
12540
12541 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
12542 instead of a bare "run".
12543
269f82e5
PP
125442009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12545
12546 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 12547
a69b7d9d
DJ
125482009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12549
12550 * lib/cell.exp (skip_cell_tests): Clean up test files before
12551 returning.
12552
b598bfda
DJ
125532009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12554
12555 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
12556 and the breakpoint menu. Do not call perror if a prompt is seen.
12557 Consume the following GDB prompt.
12558 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
12559 * gdb.cp/namespace.exp: Use gdb_test.
12560 * gdb.cp/templates.exp: Use gdb_test.
12561 (test_template_breakpoints): Use gdb_test_multiple.
12562
87728fa0
DJ
125632009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12564
12565 * gdb.base/break1.c (struct some_struct, values): Move earlier.
12566 (marker4): Reference values.
12567
b67c692f
DJ
125682009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12569
12570 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
12571 is missing.
12572
f0df251a
DJ
125732009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12574
12575 * gdb.base/break.c (need_malloc): New.
12576 * gdb.base/constvars.c (main): Reference crass and crisp.
12577 * gdb.base/gdb1821.c (main): Reference bar.
12578 * gdb.cp/gdb1355.cc (main): Reference s1.
12579 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
12580 (main): Call them.
12581 * gdb.cp/hang2.cc (dummy2): Define.
12582 * gdb.cp/hang3.cc (dummy3): Define.
12583 * gdb.cp/m-data.cc (main): Reference shadow.
12584
bdf7534a
NF
125852009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
12586 Nathan Froyd <froydnj@codesourcery.com>
12587
12588 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
12589 remote host.
12590
f24fce77
NF
125912009-11-12 Nathan Froyd <froydnj@codesourcery.com>
12592
12593 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
12594 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
12595 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12596 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12597 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12598 * gdb.dwarf2/dw2-producer.exp: Likewise.
12599 * gdb.dwarf2/mac-fileno.exp: Likewise.
12600 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
12601 py-prettyprint.py to the remote host.
12602 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
12603
40f0318e
KS
126042009-11-11 Keith Seitz <keiths@redhat.com>
12605
12606 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
12607 use it instead of "Foo".
12608 * gdb.cp/classes.exp (do_tests): Add a test to access
12609 a method through a typedef'd class name.
12610
f3d9f7fb
NF
126112009-11-11 Nathan Froyd <froydnj@codesourcery.com>
12612
12613 * gdb.base/long_long.exp: Permit leading zeros on floating-point
12614 exponents.
12615 * gdb.base/pointers.exp: Likewise.
12616 * gdb.cp/ref-types.exp: Likewise.
12617
a4216f37
KS
126182009-11-11 Keith Seitz <keiths@redhat.com>
12619
12620 * gdb.cp/cplusfuncs.cc (class foo): Add operators
12621 new[] and delete[].
12622 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
12623 "void".
12624 (probe_demangler): Remove all single-quoting of
12625 method and variable names.
12626 (info_func_regexp): Remove the word "void" from any
12627 occurrence of "(void)".
12628 (print_addr_2): Remove all single-quoting of
12629 method names.
12630 (print_addr_2_kfail): Likewise.
12631 (print_addr): Single-quote C function names before
12632 passing to print_addr_2.
12633 (test_paddr_operator_functions): Remove single-quoting
12634 for method names.
12635 Add tests for operator new[] and operator delete[].
12636
9b14d7aa
JK
126372009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12638
12639 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
12640
85feb311
KS
126412009-11-09 Keith Seitz <keiths@redhat.com>
12642
12643 * gdb.cp/overload.exp: Add tests for resolving overloaded
12644 methods in expression parsing/evaluation.
12645
fa335448
DJ
126462009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
12647
12648 * lib/gdb.exp (default_gdb_version): Use --version instead of
12649 --command.
12650
ec3c07fc
NS
126512009-11-10 Nathan Sidwell <nathan@codesourcery.com>
12652
12653 * lib/gdb.exp (gdb_compile_test): New.
12654 (skip_ada_tests, skip_java_tests): New.
12655 (gdb_compile): Use gdb_compile_test for f77.
12656 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
12657 * lib/java.exp (compile_java_from_source): Remove runtests check,
12658 use gdb_compile_test to record result.
12659 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
12660 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
12661 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
12662 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
12663 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
12664 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
12665 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
12666 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
12667 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
12668 adjust gdb_compile invocations.
12669
b8b4e42b
JK
126702009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12671
12672 * Makefile.in (abs_builddir): New.
12673 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
12674 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
12675 `$(abs_builddir)/site.exp'.
12676
f8b7eaf3
DJ
126772009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
12678
12679 * config/m68k-emc.exp, lib/emc-support.exp,
12680 gdb.trace/gdb_c_test.c: Delete.
12681 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
12682 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
12683 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
12684 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
12685 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
12686 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
12687 casing for m68k-*-elf.
12688
c4187697
NS
126892009-11-03 Pedro Alves <pedro@codesourcery.com>
12690
12691 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
12692 * gdb.arch/i386-prologue.exp: Likewise.
12693 * gdb.arch/i386-unwind.exp: Likewise.
12694
db16b772
DJ
126952009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12696
12697 * lib/gdb.exp (gdb_expect): Fix timeout typo.
12698
bcf71277
DJ
126992009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12700
12701 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
12702
0105cee2
DJ
127032009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
12704
12705 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
12706
24ddea62
JK
127072009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12708
12709 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
12710
287ccc17
JK
127112009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12712
12713 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
12714 * gdb.base/sepdebug2.c: New file.
12715
08bca259 127162009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
12717
12718 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
12719 the modified warnings for catch syscall. Verify if GDB was compiled
12720 with support for lib expat, and choose which tests to run depending
12721 on this.
12722
5d4e2b76
VP
127232009-10-30 Vladimir Prus <vladimir@codesourcery.com>
12724
12725 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
12726 that composite commands are parsed OK. And also test
12727 that breakpoint commands do work.
12728
240e538a
MS
127292009-10-23 Michael Snyder <msnyder@vmware.com>
12730
12731 gdb.reverse/consecutive-precsave.exp: Change expect pattern
12732 to allow for new disassembly style.
12733
9c419145
PP
127342009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12735
12736 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 12737
02506ff1
MS
127382009-10-22 Michael Snyder <msnyder@vmware.com>
12739
12740 * gdb.reverse/break-precsave.exp: New test.
12741 * gdb.reverse/consecutive-precsave.exp: Ditto.
12742 * gdb.reverse/finish-precsave.exp: Ditto.
12743 * gdb.reverse/i386-precsave.exp: Ditto.
12744 * gdb.reverse/machinestate-precsave.exp: Ditto.
12745 * gdb.reverse/sigall-precsave.exp: Ditto.
12746 * gdb.reverse/solilb-precsave.exp: Ditto.
12747 * gdb.reverse/step-precsave.exp: Ditto.
12748 * gdb.reverse/until-precsave.exp: Ditto.
12749 * gdb.reverse/watch-precsave.exp: Ditto.
12750
4cf866a3
MS
127512009-10-22 Michael Snyder <msnyder@vmware.com>
12752
12753 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
12754 for gdb_expect. Adjust one test's expect strings for the new
12755 format of disassemble.
12756 * gdb.reverse/finish-reverse.exp: Delete 'return'.
12757 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
12758 gdb_test_multiple.
12759 * gdb.reverse/step-reverse.exp: Delete 'return'.
12760 * gdb.reverse/until-reverse.exp: Delete blank lines.
12761 * gdb.reverse/watch-reverse.exp: Delete blank lines.
12762
2b28d209
PP
127632009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
12764
12765 * gdb.base/consecutive.exp: Adjust.
12766 * gdb.base/display.exp: Likewise.
12767 * gdb.base/pc-fp.exp: Likewise.
12768 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 12769
33b9c32b
MS
127702009-10-19 Michael Snyder <msnyder@vmware.com>
12771
12772 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
12773 * gdb.reverse/finish-reverse.c: Ditto.
12774 * gdb.reverse/sigall-reverse.c: Ditto.
12775 * gdb.reverse/solib-reverse.c: Ditto.
12776 * gdb.reverse/step-reverse.c: Ditto.
12777 * gdb.reverse/watch-reverse.c: Ditto.
12778
6c95b8df
PA
127792009-10-19 Pedro Alves <pedro@codesourcery.com>
12780 Stan Shebs <stan@codesourcery.com>
12781
12782 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
12783 * gdb.base/foll-exec.exp: Adjust to expect a process id before
12784 "Executing new program".
12785 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
12786 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
12787 left listed after having been killed.
12788 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
12789 * gdb.base/maint.exp: Adjust test.
12790
12791 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
12792 * gdb.multi/Makefile.in: New.
12793 * gdb.multi/base.exp: New.
12794 * gdb.multi/goodbye.c: New.
12795 * gdb.multi/hangout.c: New.
12796 * gdb.multi/hello.c: New.
12797 * gdb.multi/bkpt-multi-exec.c: New.
12798 * gdb.multi/bkpt-multi-exec.exp: New.
12799 * gdb.multi/crashme.c: New.
12800
279017b7
TG
128012009-10-13 Tristan Gingold <gingold@adacore.com>
12802
12803 * gdb.base/sepdebug.exp: Check debug info are found.
12804
0413d738
PA
128052009-10-08 Pedro Alves <pedro@codesourcery.com>
12806
12807 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
12808 bits.
12809
c628eecc
JK
128102009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12811
12812 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
12813
38af1bfe
JB
128142009-10-07 Joel Brobecker <brobecker@adacore.com>
12815
12816 * gdb.base/watchpoints.c: Add copyright header. Reformat one
12817 of the comments.
12818
2b0adecd
PM
128192009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
12820
12821 * gdb.base/annota1.exp: Remove obsolete match_max increase.
12822 * gdb.base/annota3.exp: Idem.
12823 * gdb.base/maint.exp: Idem.
12824
8d417781
PM
128252009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
12826
889bf7c5 12827 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
12828 to default.
12829
bb61102d
PM
128302009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12831
889bf7c5 12832 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
12833 mingw and cygwin targets.
12834
ace5c364
PM
128352009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
12836 Pedro Alves <pedro@codesourcery.com>
12837
889bf7c5 12838 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
12839 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12840
c2d494a0
PM
128412009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12842
e1b52ce2
PM
12843 * gdb.base/shr1.c: Use %p in format string.
12844 * gdb.base/unload.c: Avoid warning in fprintf.
12845 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 12846
209f53f5
PM
128472009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12848
12849 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12850 long type.
12851 (test_unlink): Correct printf string.
12852 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12853 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12854
8172766a
JK
128552009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12856
12857 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12858 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12859 * gdb.arch/ia64-breakpoint-shadow.S: New file.
12860
0f73703c
UW
128612009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12862
12863 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12864 * gdb.objc/nondebug.exp: Likewise.
12865
b32306ca
UW
128662009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12867
12868 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12869 target_info setting.
12870
12871 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12872 that detect new threads during "info threads".
12873
0057022f
UW
128742009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12875
12876 * gdb.threads/manythreads.c (main): Increase thread stack size
12877 to 2*PTHREAD_STACK_MIN.
12878 * gdb.threads/multi-create.c (main): Likewise.
12879 (create_function): Likewise.
12880
f29c0325
UW
128812009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12882
12883 * gdb.base/dump.exp: Pass difference of pointer types instead
12884 of integer types as offset to restore in intarr3.srec case.
12885
fcb34849
UW
128862009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12887
12888 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12889
d5142e3b
UW
128902009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12891
12892 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12893
087b74b2 128942009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 12895
087b74b2
PM
12896 New test for two watchpoints, with disabling of
12897 the first inserted.
12898 * testsuite/gdb.base/watchpoints.c: New file.
12899 * testsuite/gdb.base/watchpoints.exp: New file.
12900
96c07c5b
TT
129012009-09-25 Tom Tromey <tromey@redhat.com>
12902
12903 * gdb.base/charset.exp: Test utf-16 strings with Python.
12904
b8899f2b
TT
129052009-09-25 Tom Tromey <tromey@redhat.com>
12906
12907 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12908 UCS-4.
12909 * gdb.base/charset.c (utf_32_string): Rename.
12910 (init_utf32): Rename.
12911 (main): Update.
12912
329719ec
TT
129132009-09-22 Tom Tromey <tromey@redhat.com>
12914
12915 * gdb.python/py-function.exp: Add regression tests.
12916
11ef0d76
KS
129172009-09-21 Keith Seitz <keiths@redhat.com>
12918
12919 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12920 with invalid operator.
12921
3fe8f3b3
KS
129222009-09-21 Keith Seitz <keiths@redhat.com>
12923
12924 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12925 and destructor using typedef name of class.
12926 * gdb.cp/classes.cc (class Base1): Add a destructor.
12927 (base1): New typedef.
12928 (use_methods): Instanitate an object of type base1.
12929 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12930 (do_tests): Call test_template_typedef.
12931 * gdb.cp/templates.cc (Baz::~Baz): New method.
12932 (intBazOne): New typedef.
12933 (main): Instantiate intBazOne.
12934
7a9fe101
PM
129352009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12936
12937 PR python/10633
12938
12939 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12940 Function.
12941 (run_lang_tests): Add print elements test.
12942
2e4d963f
PM
129432009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12944
12945 * gdb.python/py-value.exp (test_subscript_regression): New
12946 function. Test for invalid subscripts.
12947 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12948 (ptr_ref): New function.
12949
ec7e75e7
PP
129502009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12951
12952 * gdb.base/default.exp: Fix "show convenience".
12953
0cc7d26f
TT
129542009-09-15 Tom Tromey <tromey@redhat.com>
12955
12956 * lib/mi-support.exp (mi_create_varobj): Update.
12957 (mi_create_floating_varobj): Likewise.
12958 (mi_create_dynamic_varobj): New proc.
12959 (mi_varobj_update): Update.
12960 (mi_varobj_update_with_type_change): Likewise.
12961 (mi_varobj_update_kv_helper): New proc.
12962 (mi_varobj_update_dynamic_helper): Rewrite.
12963 (mi_varobj_update_dynamic): New proc.
12964 (mi_list_varobj_children): Update.
12965 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12966 * gdb.python/python-prettyprint.py (pp_outer): New class.
12967 (pp_nullstr): Likewise.
12968 (lookup_function): Register new printers.
12969 * gdb.python/python-prettyprint.c (struct substruct): New type.
12970 (struct outerstruct): Likewise.
12971 (substruct_test): New function.
12972 (struct nullstr): New type.
12973 (string_1, string_2): New globals.
12974 (main): Add new tests.
12975 * gdb.python/python-mi.exp: Added regression tests.
12976 * gdb.mi/mi2-var-display.exp: Update.
12977 * gdb.mi/mi2-var-cmd.exp: Update.
12978 * gdb.mi/mi2-var-child.exp: Update.
12979 * gdb.mi/mi2-var-block.exp: Update.
12980 * gdb.mi/mi-var-invalidate.exp: Update.
12981 * gdb.mi/mi-var-display.exp: Update.
12982 * gdb.mi/mi-var-cmd.exp: Update.
12983 * gdb.mi/mi-var-child.exp: Update.
12984 * gdb.mi/mi-var-block.exp: Update.
12985 * gdb.mi/mi-break.exp: Update.
12986 * gdb.mi/gdb701.exp: Update.
12987
a96d9b2e
SDJ
129882009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12989
12990 * Makefile.in: Inclusion of catch-syscall object.
12991 * gdb.base/catch-syscall.c: New file.
12992 * gdb.base/catch-syscall.exp: New file.
12993
b43b923a
MS
129942009-09-12 Michael Snyder <msnyder@vmware.com>
12995
12996 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12997 that can support reverse debuggnig.
12998
cec03d70
TT
129992009-09-11 Tom Tromey <tromey@redhat.com>
13000
13001 * gdb.dwarf2/valop.S: New file.
13002 * gdb.dwarf2/valop.exp: New file.
13003
e23bb3fc
MK
130042009-09-11 Mark Kettenis <kettenis@gnu.org>
13005
13006 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
13007
37c3696d
DE
130082009-09-10 Doug Evans <dje@google.com>
13009
13010 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
13011 Add $gdb_prompt to second breakpoint regexp.
13012
5172aecb
JB
130132009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
13014
13015 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
13016 names, add missing ones.
13017 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
13018 * gdb.python/py-frame.c: Rename from python-frame.c.
13019 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
13020 testfile name.
13021 * gdb.python/py-function.exp: Rename from python-function.exp.
13022 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
13023 testfile name.
13024 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
13025 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
13026 Adjust testfile name.
13027 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
13028 * gdb.python/py-template.cc: Rename from python-template.cc.
13029 * gdb.python/py-template.exp: Rename from python-template.exp.
13030 Adjust testfile name.
13031 * gdb.python/py-value.c: Rename from python-value.c.
13032 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
13033 testfile name.
13034
b554e4bd
JK
130352009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
13036
13037 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
13038 $bpt2address.
13039 (Second breakpoint address is valid on ia64)
13040 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
13041
9a68ae16
JM
130422009-09-03 Joseph Myers <joseph@codesourcery.com>
13043
13044 * gdb.base/ending-run.exp: Restrict regular expression matching
13045 line number to require closing brace following.
13046
146b9145
DE
130472009-09-03 Doug Evans <dje@google.com>
13048
13049 * gdb.base/store.exp (check_set): Fix typo in expected value message.
13050
787d21e1
TT
130512009-09-02 Tom Tromey <tromey@redhat.com>
13052
13053 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
13054
e7802207
TT
130552009-09-02 Tom Tromey <tromey@redhat.com>
13056
13057 * gdb.dwarf2/callframecfa.exp: New file.
13058 * gdb.dwarf2/callframecfa.S: New file.
13059
817aadd2
JK
130602009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13061
13062 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
13063 gdb.base/solib-overlap-main.c: New.
13064
4a76eae5
DJ
130652009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
13066
13067 PR gdb/10565
13068
13069 * gdb.base/bitfields.c (struct container, container): New.
13070 (main): Initialize it and call break5.
13071 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
13072
d4b96c9a
JK
130732009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13074
13075 Support constant DW_AT_data_member_location by GCC PR debug/40659.
13076 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
13077
4e22772d
JK
130782009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13079
13080 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
13081
2efab443
MS
130822009-08-26 Michael Snyder <msnyder@vmware.com>
13083
13084 * gdb.base/i386-reverse.c: New file.
13085 * gdb.base/i386-reverse.exp: New file.
13086 * gdb.base/Makefile.in: Add new files to be removed.
13087
07ab73a0
JM
130882009-08-26 Joseph Myers <joseph@codesourcery.com>
13089
13090 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
13091 environment-pwd for remote host.
13092 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
13093
676accff
KS
130942009-08-24 Keith Seitz <keiths@redhat.com>
13095
13096 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
13097 Add two new C++ completer tests which limit the output to a
889bf7c5 13098 given class.
676accff 13099
f9f7ad22
MS
131002009-08-24 Michael Snyder <msnyder@vmware.com>
13101
13102 * gdb.base/del.exp: Fix typo in comment.
13103 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
13104
81ecdfbb
RW
131052009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13106
13107 * configure: Regenerate.
13108 * gdb.hp/configure: Likewise.
13109 * gdb.hp/gdb.aCC/configure: Likewise.
13110 * gdb.hp/gdb.base-hp/configure: Likewise.
13111 * gdb.hp/gdb.compat/configure: Likewise.
13112 * gdb.hp/gdb.defects/configure: Likewise.
13113 * gdb.hp/gdb.objdbg/configure: Likewise.
13114 * gdb.stabs/configure: Likewise.
13115
cab0c772
UW
131162009-08-19 Doug Evans <dje@google.com>
13117
13118 * gdb.base/gdbvars.c: New file.
13119 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
13120
b8fa0bfa
PA
131212009-08-14 Pedro Alves <pedro@codesourcery.com>
13122
13123 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
13124 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
13125
b84aa90a
PA
131262009-08-13 Pedro Alves <pedro@codesourcery.com>
13127
13128 * gdb.base/default.exp: Adjust "set language test": it's now an
13129 enum command. Larger help string moved to "help set language".
13130 * gdb.base/help.exp: Adjust "help set language" expected output,
13131 now lists all known languages.
13132
0d8f9b2c
NF
131332009-08-11 Nathan Froyd <froydnj@codesourcery.com>
13134
13135 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
13136 all frame arguments.
13137 * gdb.arch/altivec-regs.exp: Likewise.
13138
bda180e0
TT
131392009-08-07 Tom Tromey <tromey@redhat.com>
13140
13141 * gdb.base/setshow.exp: Add tests for changes to set language, set
13142 check range, and set check type.
13143
48cb2d85
VP
131442009-08-03 Vladimir Prus <vladimir@codesourcery.com>
13145
13146 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
13147 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 13148 Call it.
48cb2d85 13149
1ea34204
UW
131502009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13151
13152 * configure.ac: Run gdb.cell tests when appropriate.
13153 * configure: Regenerate.
13154 * lib/cell.exp: New file.
13155 * gdb.cell: New directory.
13156 * gdb.cell/configure.ac: New file.
13157 * gdb.cell/configure: New file.
13158 * gdb.cell/Makefile.in: New file.
13159 * gdb.cell/arch.exp: New file.
13160 * gdb.cell/break.c: New file.
13161 * gdb.cell/break.exp: New file.
13162 * gdb.cell/break-spu.c: New file.
13163 * gdb.cell/bt.c: New file.
13164 * gdb.cell/bt2-spu.c: New file.
13165 * gdb.cell/bt-spu.c: New file.
13166 * gdb.cell/bt.exp: New file.
13167 * gdb.cell/coremaker.c: New file.
13168 * gdb.cell/coremaker-spu.c: New file.
13169 * gdb.cell/core.exp: New file.
13170 * gdb.cell/gcore.exp: New file.
13171 * gdb.cell/data.c: New file.
13172 * gdb.cell/data.exp: New file.
13173 * gdb.cell/data-spu.c: New file.
13174 * gdb.cell/ea-cache.exp: New file.
13175 * gdb.cell/ea-cache.c: New file.
13176 * gdb.cell/ea-cache-spu.c: New file.
13177 * gdb.cell/ea-standalone.c: New file.
13178 * gdb.cell/ea-standalone.exp: New file.
13179 * gdb.cell/ea-test.c: New file.
13180 * gdb.cell/ea-test.exp: New file.
13181 * gdb.cell/f-regs.exp: New file.
13182 * gdb.cell/mem-access.c: New file.
13183 * gdb.cell/mem-access.exp: New file.
13184 * gdb.cell/mem-access-spu.c: New file.
13185 * gdb.cell/ptype.exp: New file.
13186 * gdb.cell/registers.exp: New file.
13187 * gdb.cell/size.c: New file.
13188 * gdb.cell/sizeof.exp: New file.
13189 * gdb.cell/size-spu.c: New file.
13190 * gdb.cell/solib.exp: New file.
13191 * gdb.cell/solib-symbol.exp: New file.
13192
85e747d2
UW
131932009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13194
13195 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
13196
58d6951d
DJ
131972009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
13198
13199 * gdb.base/float.exp: Handle VFP registers.
13200
6e0a4f15
MS
132012009-07-14 Michael Snyder <msnyder@vmware.com>
13202
dcd5da87
MS
13203 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
13204 to bring gdb to the beginning of the calling line.
13205
6e0a4f15
MS
13206 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
13207 confusing the i386 epilogue unwinder.
13208
782b2b07
SS
132092009-07-14 Stan Shebs <stan@codesourcery.com>
13210
13211 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
13212
f662c3bc
MS
132132009-07-14 Michael Snyder <msnyder@vmware.com>
13214
13215 * gdb.reverse/step-reverse.exp (stepi into function call):
13216 Call instruction may not be first instruction in the line.
13217 (reverse stepi from a function call): Used wrong line number.
13218
8f313923
JK
132192009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13220
13221 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
13222
4662c76e
JK
132232009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13224
13225 Fix gdb.base/macscp.exp when using custom inputrc.
13226 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
13227 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
13228 env(TERM) set.
13229 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
13230 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
13231
aa81e255
JK
132322009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13233
13234 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
13235 * gdb.base/annota1.exp (thread_test): Import global $testfile.
13236 Change the compilation target to match the testcase name.
13237 * gdb.base/sect-cmd.exp: Change the compilation target to match the
13238 testcase name.
13239 * a2-run.exp: Use for setup prepare_for_testing. Change the
13240 compilation target to match the testcase name.
13241 * gdb.base/commands.exp: Likewise.
13242 * gdb.base/finish.exp: Likewise.
13243 * gdb.base/float.exp: Likewise.
13244 * gdb.base/info-target.exp: Likewise.
13245 * gdb.base/relational.exp: Likewise.
13246 * gdb.base/term.exp: Likewise.
13247 * gdb.base/until.exp: Likewise.
13248 * gdb.base/volatile.exp: Likewise.
13249 * gdb.base/whatis-exp.exp: Likewise.
13250
4c93b1d7
HZ
132512009-07-11 Hui Zhu <teawater@gmail.com>
13252
13253 * gdb.base/help.exp (disassemble): Update expected help text.
13254
812f7342
TT
132552009-07-09 Tom Tromey <tromey@redhat.com>
13256
13257 * lib/gdb.exp: Handle TRANSCRIPT.
13258 (remote_spawn, remote_close, send_gdb): New procs.
13259
fbb8f299
PM
132602009-07-10 Phil Muldoon <pmuldoon@redhat.com>
13261
13262 * gdb.python/python-prettyprint.c: Add counted null string
13263 structure.
13264 * gdb.python/python-prettyprint.exp: Print null string. Test for
13265 embedded nulls.
13266 * gdb.python/python-prettyprint.py (pp_ns): New Function.
13267 * gdb.python/python-value.exp (test_value_in_inferior): Add
13268 variable length string fetch tests.
13269 * gdb.python/python-value.c (main): Add strings for string fetch tests.
13270
c0ac0ec7
JK
132712009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13272
13273 * gdb.base/dump.exp (inaccessible memory is reported): New test.
13274
30b66ecc
TT
132752009-07-07 Tom Tromey <tromey@redhat.com>
13276
13277 * gdb.base/call-rt-st.exp: Update for change to escape output.
13278 * gdb.base/callfuncs.exp: Likewise.
13279 * gdb.base/charset.exp: Likewise.
13280 * gdb.base/constvars.exp: Likewise.
13281 * gdb.base/long_long.exp: Likewise.
13282 * gdb.base/pointers.exp: Likewise.
13283 * gdb.base/printcmds.exp: Likewise.
13284 * gdb.base/setvar.exp: Likewise.
13285 * gdb.base/store.exp: Likewise.
13286 * gdb.cp/ref-types.exp: Likewise.
13287 * gdb.mi/mi-var-child.exp: Likewise.
13288 * gdb.mi/mi-var-display.exp: Likewise.
13289 * gdb.mi/mi2-var-display.exp: Likewise.
13290 * gdb.base/charset.exp: Test octal escape sequence length.
13291 Update for change to escape output.
13292
187c4a2b
JK
132932009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13294
13295 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
13296
d80a43f9
DJ
132972009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
13298
13299 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
13300
047427a8
JK
133012009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13302
13303 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
13304 gdbserver increasing $portnum if "Can't bind address" has been seen.
13305
8b5a0f4f
PA
133062009-07-05 Pedro Alves <pedro@codesourcery.com>
13307
13308 * gdb.base/ending-run.exp: Add "step out of main" pattern for
13309 mingw32ce.
13310
7d93ba58
PA
133112009-07-05 Pedro Alves <pedro@codesourcery.com>
13312
13313 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
13314 VFP format.
13315
2277426b
PA
133162009-07-02 Pedro Alves <pedro@codesourcery.com>
13317
13318 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
13319 linux. Adjust to use "inferior", "info inferiors", "detach
13320 inferior" and "kill inferior" instead of "restart", "info fork",
13321 "detach fork" and "delete fork".
13322 * gdb.base/ending-run.exp: Spell out "info".
13323 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
13324 the "kill" command.
13325
5af949e3
UW
133262009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13327
13328 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
13329 change to prefix TLS offset in hex with 0x.
13330
5d3729b5
UW
133312009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13332
13333 * gdb.base/default.exp: Update test case for "x" changes.
13334
af589bd0
TG
133352009-07-01 Tristan Gingold <gingold@adacore.com>
13336
13337 * gdb.base/bigcore.exp: Make darwin untested.
13338
40974f91
JK
133392009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13340
13341 * gdb.base/completion.exp (directory completion): Create the directory.
13342 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
13343 escapeuniquesub.
13344 (directory completion 2): Expect now ${escapeuniquesub}.
13345 (Glob remaining of directory test): Remove one excessive newline.
13346 Expect the real output.
13347
59dd3af6
JK
133482009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13349
13350 Fix `make check//%' target after `make check' has been ran.
13351 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
13352 a mkdir call.
13353 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
13354 (%/.dir): Remove.
13355
f4e164aa
JK
133562009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13357
13358 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
13359 the expected result record.
13360
69af2122
JK
133612009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
13362
13363 Remove racy FAILs relying just on the timeouts.
13364 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
13365 (annotation_level 2): Remove racy FAILs.
13366
2fd481e1
PP
133672009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13368
13369 gdb/10275
889bf7c5
PA
13370 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
13371
c38f313d
DJ
133722009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
13373
13374 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
13375
8b777f02
VP
133762009-06-30 Vladimir Prus <vladimir@codesourcery.com>
13377
13378 * gdb.mi/mi-stack.exp: Testing symbolic options
13379 to -stack-list-locals and -stack-list-arguments.
13380
00c7eacf
JK
133812009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13382
13383 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
13384
6bc80edc
TT
133852009-06-29 Tom Tromey <tromey@redhat.com>
13386
13387 * dg-extract-results.sh: New file.
13388 * Makefile.in (FORCE_PARALLEL): New variable.
13389 (CHECK_TARGET): New conditional variable.
13390 (check): Use CHECK_TARGET.
13391 (DO_RUNTEST): New variable.
13392 (check-single): New target.
13393 (TEST_DIRS): New variable.
13394 (TEST_TARGETS): Likewise.
13395 (check-parallel): New target.
13396 (check-gdb.%): New pattern.
13397 (BASE1_FILES): New variable.
13398 (BASE2_FILES): Likewise.
13399 (check-gdb.base%): New pattern.
13400 (%/.dir): New pattern.
13401 * configure: Rebuild.
13402 * aclocal.m4 (AM_CONDITIONAL): New defun.
13403 * configure.ac: Check whether user is using GNU make.
13404 (GMAKE): New conditional.
13405
794684b6
SW
134062009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
13407
13408 * gdb.cp/namespace-nested-import.cc: New test.
13409 * gdb.cp/namespace-nested-import.exp: New test.
13410
edb3359d
DJ
134112009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
13412
13413 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
13414 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
13415 * gdb.opt/Makefile.in (EXECUTABLES): Update.
13416 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
13417 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
13418 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
13419 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
13420 gdb.opt/inline-markers.c: New files.
13421 * lib/gdb.exp (skip_inline_frame_tests): New function.
13422 (skip_inline_var_tests): New function.
13423
cf657a0c
AS
134242009-06-27 Andreas Schwab <schwab@linux-m68k.org>
13425
13426 * gdb.cp/exception.exp: Don't require $hex before inner frame in
13427 backtrace.
13428
28d41a99
MS
134292009-06-27 Michael Snyder <msnyder@vmware.com>
13430
13431 * gdb.reverse: New directory.
13432 * gdb.reverse/break-reverse.c: New test.
13433 * gdb.reverse/break-reverse.exp: New test.
13434 * gdb.reverse/consecutive-reverse.c: New test.
13435 * gdb.reverse/consecutive-reverse.exp: New test.
13436 * gdb.reverse/finish-reverse.c: New test.
13437 * gdb.reverse/finish-reverse.exp: New test.
13438 * gdb.reverse/machinestate.c: New test.
13439 * gdb.reverse/ms1.c: New test.
13440 * gdb.reverse/machinestate.exp: New test.
13441 * gdb.reverse/Makefile.in: New file.
13442 * gdb.reverse/shr2.c: New test.
13443 * gdb.reverse/solib-reverse.c: New test.
13444 * gdb.reverse/solib-reverse.exp: New test.
13445 * gdb.reverse/step-reverse.c: New test.
13446 * gdb.reverse/step-reverse.exp: New test.
13447 * gdb.reverse/until-reverse.c: New test.
13448 * gdb.reverse/ur1.c: New test.
13449 * gdb.reverse/until-reverse.exp: New test.
13450 * gdb.reverse/watch-reverse.c: New test.
13451 * gdb.reverse/watch-reverse.exp: New test.
13452 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
13453 * configure: Regenerate.
13454
fe3c8b0d
DE
134552009-06-26 Doug Evans <dje@google.com>
13456
13457 * gdb.base/psymtab.exp: Turn off pending breakpoints.
13458
3a72a602
PM
134592009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
13460
13461 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
13462 windows problem for 'file delete $binfile'.
13463
27aa8d6a
SW
134642009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
13465
13466 * gdb.cp/namespace-using.exp: New test.
13467 * gdb.cp/namespace-using.cc: New test.
13468
8ac055f8
JB
134692009-05-20 Joel Brobecker <brobecker@adacore.com>
13470
13471 * gdb.ada/variant_record_packed_array: New testcase.
13472
85e306ed
TT
134732009-06-23 Tom Tromey <tromey@redhat.com>
13474
13475 * gdb.base/charset.exp (test_combination): Regression test.
13476 * gdb.base/charset.c (my_wchar_t): New typedef.
13477 (myvar): New global.
13478 (main): Set myvar.
13479
56643c5e
PM
134802009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
13481
13482 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
13483 target.
13484
1fac167a
UW
134852009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13486
13487 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
13488
7ccb0be9
UW
134892009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13490
13491 * gdb.mi/gdb680.exp: Update test for error message.
13492
568d6575
UW
134932009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13494
13495 * gdb.base/annota1.exp: Allow multiple occurrences of the
13496 frames-invalid annotation.
13497 * gdb.cp/annota2.exp: Likewise.
13498
7cd1089b
PM
134992009-06-15 Phil Muldoon <pmuldoon@redhat.com>
13500
13501 * gdb.cp/gdb2495.cc: New file.
13502 * gdb.cp/gdb2495.exp: New file.
13503
72c63395
JK
135042009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13505
13506 Report error on GDB crash during runto.
13507 * lib/gdb.exp (runto <eof>): New.
13508
3788363d
DJ
135092009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
13510
13511 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
13512 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
13513 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
13514 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
13515 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
13516 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
13517 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
13518 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
13519 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
13520 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
13521 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
13522 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
13523 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13524 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
13525 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
13526 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
13527 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
13528 gdb.server/server-mon.exp, gdb.server/server-run.exp,
13529 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13530 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
13531 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
13532 gdb.trace/passcount.exp, gdb.trace/report.exp,
13533 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
13534 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
13535 gdb.trace/while-stepping.exp: Use a unique name for the compiled
13536 executable.
13537
17592de3
PA
135382009-06-07 Pedro Alves <pedro@codesourcery.com>
13539
13540 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
13541 defined before referencing it.
13542
701e355d
DE
135432009-06-03 Doug Evans <dje@google.com>
13544
13545 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
13546 * gdb.arch/i386-see.c: Ditto.
13547
f2292c65
PM
135482009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
13549
13550 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
13551 (check_macro): Return 1 if undefined.
13552 If first test fails, check if macro debug information is available,
13553 and report unsupported test if no macro information is found.
13554
5a437975
DE
135552009-05-29 Doug Evans <dje@google.com>
13556
13557 * gdb.threads/hand-call-in-threads.exp: New.
13558 * gdb.threads/hand-call-in-threads.c: New.
13559
c141c696
MS
135602009-05-29 Michael Snyder <msnyder@vmware.com>
13561
13562 * gdb.base/break-always.exp: Change "1" to "on".
13563 Add confirmation check.
13564
b3444185
PA
135652009-05-28 Pedro Alves <pedro@codesourcery.com>
13566
13567 * gdb.threads/threxit-hop-specific.c: New.
13568 * gdb.threads/threxit-hop-specific.exp: New.
13569 * gdb.threads/thread-execl.c: New.
13570 * gdb.threads/thread-execl.exp: New.
13571
b6313243
TT
135722009-05-27 Tom Tromey <tromey@redhat.com>
13573 Thiago Jung Bauermann <bauerman@br.ibm.com>
13574
13575 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
13576 (mi_child_regexp): Likewise.
13577 (mi_list_varobj_children_range): Likewise.
13578 (mi_get_features): Likewise.
13579 (mi_list_varobj_children): Rewrite.
13580 * gdb.python/python-mi.exp: New file.
13581
a6bac58e
TT
135822009-05-27 Tom Tromey <tromey@redhat.com>
13583 Thiago Jung Bauermann <bauerman@br.ibm.com>
13584 Phil Muldoon <pmuldoon@redhat.com>
13585 Paul Pluzhnikov <ppluzhnikov@google.com>
13586
13587 * gdb.python/python-prettyprint.exp: New file.
13588 * gdb.python/python-prettyprint.c: New file.
13589 * gdb.python/python-prettyprint.py: New file.
13590 * gdb.base/display.exp: print/r is now valid.
13591
2c74e833
TT
135922009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
13593 Tom Tromey <tromey@redhat.com>
13594 Pedro Alves <pedro@codesourcery.com>
13595 Paul Pluzhnikov <ppluzhnikov@google.com>
13596
13597 * gdb.python/python-template.exp: New file.
13598 * gdb.python/python-template.cc: New file.
13599 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13600 tests.
13601 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13602 Call it.
13603 (test_value_after_death): New proc.
13604 * gdb.python/python-value.c (PTR): New typedef.
13605 (main): New variable 'x'.
13606
89c73ade
TT
136072009-05-27 Tom Tromey <tromey@redhat.com>
13608
13609 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
13610 tests.
13611 * gdb.python/python-value.exp (py_objfile_tests): New proc.
13612 Call it.
13613
a75724bc
PA
136142009-05-27 Pedro Alves <pedro@codesourcery.com>
13615
13616 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
13617
e58b0e63
PA
136182009-05-24 Pedro Alves <pedro@codesourcery.com>
13619
13620 * gdb.threads/fork-thread-pending.c: New.
13621 * gdb.threads/fork-thread-pending.exp: New.
13622
4ac36638
JK
136232009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13624
13625 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
13626 * gdb.dwarf2/dw2-strp.S (a_string2): New.
13627
889bf7c5 136282009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 13629
889bf7c5 13630 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 13631
b242c3c2
PA
136322009-05-17 Pedro Alves <pedro@codesourcery.com>
13633
13634 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
13635 `gdb_get_line_number'. Call `callee' in both parent and child.
13636 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
13637 `gdb_get_line_number' instead of hardcoding line numbers.
13638 (catch_fork_unpatch_child): New procedure to test detaching
13639 breakpoints from child fork.
13640 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
13641 hardcoding line numbers.
13642 (do_fork_tests): Run `catch_fork_unpatch_child'.
13643
ee342b23
VP
136442009-05-17 Vladimir Prus <vladimir@codesourcery.com>
13645
13646 * gdb.mi/mi-cmd-var.exp: Check that when varobj
13647 of structure type enters or leaves the scope, it
13648 is reported by -var-update.
13649
e2009e98
DE
136502009-05-11 Doug Evans <dje@sebabeach.org>
13651
13652 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 13653 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
13654 * gdb.threads/schedlock.c (main): Fix off-by-one error.
13655
00903456
JK
136562009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13657
13658 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
13659
dc621c35
DE
136602009-04-30 Doug Evans <dje@google.com>
13661
13662 * gdb.threads/watchthreads2.exp: New testcase.
13663 * gdb.threads/watchthreads2.c: New testcase.
13664
9ab4e744
DE
136652009-04-29 Doug Evans <dje@google.com>
13666
13667 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
13668 * gdb.cp/mb-ctor.cc: Ditto.
13669 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
13670 * gdb.cp/mb-inline.h (multi_line_foo): New function.
13671 * gdb.cp/mb-inline1.cc: Call it.
13672 * gdb.cp/mb-inline2.cc: Ditto.
13673 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
13674 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
13675
484086b7
JK
136762009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
13677
13678 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
13679 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
13680 Replace all uses of `decimal' by `nonzero'.
13681 (info macro FROM_COMMANDLINE): New test.
13682
379a77b5
TT
136832009-04-27 Tom Tromey <tromey@redhat.com>
13684
13685 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
13686
b92b73c2
DE
136872009-04-27 Doug Evans <dje@google.com>
13688
13689 * gdb.threads/watchthreads.c (main): Initialize args before starting
13690 the threads. Plus formatting cleanup.
13691 * gdb.threads/watchthreads.exp: Avoid errant failures due to
13692 biased scheduling of one thread.
13693
945a118d
JG
136942009-04-27 Jerome Guitton <guitton@adacore.com>
13695
13696 * gdb.cp/templates.cc (GetMax): New template.
13697 (main): Declare two instances of GetMax.
13698 * gdb.cp/templates.exp: Add new test.
13699
d389af10
JK
137002009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
13701
13702 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
13703
e7f86de9
JM
137042009-04-22 Joseph Myers <joseph@codesourcery.com>
13705
13706 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
13707
334cc82d
TT
137082009-04-15 Tom Tromey <tromey@redhat.com>
13709
13710 * gdb.base/charset.exp: Add regression test.
13711
d12672cc
JB
137122009-04-14 Joel Brobecker <brobecker@adacore.com>
13713
13714 * gdb.base/exe-lock.exp: New testcase.
13715
18e8c3bc
TT
137162009-04-13 Tom Tromey <tromey@redhat.com>
13717
13718 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
13719 operator on Frame.
13720
5ecd5cbe
UW
137212009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13722
13723 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
13724 * gdb.server/ext-attach.exp: Likewise.
13725
7309f756
VP
137262009-04-03 Vladimir Prus <vladimir@codesourcery.com>
13727
13728 Eliminate some sleep usage.
13729
889bf7c5
PA
13730 * gdb.mi/basics.c (do_nothing): New.
13731 (main): Use do_nothing instead of printf, so that
13732 not to introduce race condition between output of
13733 inferiour and output of gdb. Do not use sleep as it
13734 is not generally available on embedded targets.
7309f756 13735
f4b95f6f
PA
137362009-04-02 Pedro Alves <pedro@codesourcery.com>
13737
13738 * gdb.server/ext-attach.exp: Expect an optional process id after
13739 "Detached from remote process".
13740
de40b933
JK
137412009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13742
13743 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
13744 gdb.dwarf2/dw2-unresolved.exp: New.
13745
2ae101a4
PA
137462009-04-02 Pedro Alves <pedro@codesourcery.com>
13747
13748 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
13749 mi_run_to_main.
13750
56a8e183
PA
137512009-04-02 Pedro Alves <pedro@codesourcery.com>
13752
13753 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
13754 mi_run_to_main. Skip thread exit test on remote targets.
13755 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
13756 mi_run_to_main.
13757 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
13758 mi_run_to_main.
13759 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
13760 when expecting ^connected. Detect when the target doesn't support
13761 non-stop mode.
13762 (mi_run_cmd): Detect if non-stop mode was requested by isn't
13763 supported. Return -1 on error, 0 on success.
13764 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
13765 (mi_runto): Return mi_runto_helper's result explicitly.
13766
c35fafde
PA
137672009-04-01 Pedro Alves <pedro@codesourcery.com>
13768
13769 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
13770
f8a8dce6
JB
137712009-04-01 Tom Tromey <tromey@redhat.com>
13772
13773 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
13774 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
13775 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
13776 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
13777
71c25dea
TT
137782009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
13779 Jan Kratochvil <jan.kratochvil@redhat.com>
13780
13781 PR gdb/931
13782 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
13783 output.
13784 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
13785 for gdb/931.
13786 * dw2-strp.S (DW_AT_language): Change to C++.
13787 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
13788
02d9a9ce
JB
137892009-03-31 Joel Brobecker <brobecker@adacore.com>
13790
13791 * gdb.ada/tasks: New testcase.
13792
1042e4c0
SS
137932009-03-30 Stan Shebs <stan@codesourcery.com>
13794
13795 * gdb.trace/actions.exp: Update to match new info trace format.
13796 * gdb.trace/deltrace.exp: Ditto.
13797 * gdb.trace/infotrace.exp: Ditto.
13798 * gdb.trace/passcount.exp: Ditto.
13799 * gdb.trace/save-trace.exp: Ditto.
13800 * gdb.trace/while-stepping.exp: Ditto.
13801 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
13802
f8f6f20b
TJB
138032009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
13804
13805 * gdb.python/python-frame.c: New file.
13806 * gdb.python/python-frame.exp: New file.
13807
c0c6f777
TJB
138082009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
13809
13810 * gdb.python/python-value.exp: Add tests for the address
13811 attribute.
13812
3cb51905
AS
138132009-03-29 Andreas Schwab <schwab@linux-m68k.org>
13814
13815 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
13816
88fc996f
DE
138172009-03-26 Doug Evans <dje@google.com>
13818
13819 * gdb.mi/mi-nonstop-exit.exp: New file.
13820 * gdb.mi/non-stop-exit.c: New file.
13821
56ef84b1
TT
138222009-03-26 Tom Tromey <tromey@redhat.com>
13823
13824 Update for change to prologue skipping:
13825 * gdb.mi/mi2-simplerun.exp: Update.
13826 * gdb.mi/mi2-break.exp: Update.
13827 * gdb.mi/mi-simplerun.exp: Update.
13828 * gdb.mi/mi-break.exp: Update.
13829 * gdb.base/ending-run.exp: Update.
13830
def2b000
TJB
138312009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
13832
13833 * gdb.python/python-value.exp (test_value_in_inferior): Test
13834 gdb.Value.is_optimized_out attribute.
13835
442ddf59
JK
138362009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13837
13838 * gdb.dwarf2/dw2-noloc-main.c: New file.
13839 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13840 (.text): Remove.
13841 (.data): New.
13842 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13843 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13844 (DW_TAG_subprogram func_cu1, noloc): Remove.
13845 (main): New.
13846 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13847 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
13848 (file_symbols): New procedure.
13849
a8df5de4
TT
138502009-03-25 Tom Tromey <tromey@redhat.com>
13851
13852 * gdb.base/charset.exp (valid_target_charset): New proc.
13853 Use it to skip tests on invalid charsets.
13854
cc1d7add
PM
138552009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
13856
13857 * gdb.base/completion.exp: Add a test for directory completion.
13858
bcd5727b
JK
138592009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13860
13861 Fix a racy FAIL.
13862 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13863 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13864
cc924cad
TJB
138652009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
13866
13867 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13868 * gdb.python/python-function.exp: Add test for function returning
13869 a GDB value.
13870
bc3b79fd
TJB
138712009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
13872
13873 * gdb.python/python-function.exp: New file.
13874
6c7a06a3
TT
138752009-03-20 Tom Tromey <tromey@redhat.com>
13876
13877 * gdb.base/store.exp: Update for change to escape output.
13878 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13879 to escape output.
13880 * gdb.base/pointers.exp: Update for change to escape output.
13881 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13882 to escape output.
13883 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13884 escape output.
13885 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13886 to escape output.
13887 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13888 escape output.
13889 * gdb.base/setvar.exp: Update for change to escape output.
13890 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13891 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13892 to escape output.
13893 (test_print_string_constants): Likewise.
13894 * gdb.base/charset.exp (valid_host_charset): Check size of
13895 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13896 cases. Handle "auto"-related output.
13897 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13898 (uvar, Uvar): New globals.
13899
c31af87b
JG
139002009-03-19 Jerome Guitton <guitton@adacore.com>
13901
13902 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13903 deltas.
13904 * gdb.ada/fixed_points.exp: Ditto.
13905
51272cf2
PA
139062009-03-18 Pedro Alves <pedro@codesourcery.com>
13907
13908 * return-nodebug.c: Don't include stdio.h.
13909 (init): Delete.
13910 (func): Delete definition and provide extern declaration.
13911 (t): New.
13912 (main): Don't call printf. Call func and store its result in t.
13913 * return-nodebug1.c: New.
13914 * return-nodebug.exp: Don't expect stdio output. Instead, print
13915 the global variable t. Drop printf formatters and cast types from
13916 foreach loop. Don't use prepare_for_testing. Compile
13917 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13918 define FORMAT or CAST.
13919
d24948ac
PP
139202009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13921
13922 * gdb.base/solib-display.exp: Disable test for remote targers.
13923
61ff14c6
JK
139242009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13925
13926 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13927
cb4dce93
JK
139282009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13929
13930 Fix a racy FAIL.
13931 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13932 code from `follow parent, print pids'.
13933 (`follow child, print pids', `follow parent, print pids'): Call it.
13934 Replace `gdb_test "break..."' by gdb_breakpoint.
13935
f7c60c5e
VP
139362009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13937
13938 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 13939 sync and async modes.
f7c60c5e 13940
383ace49
JB
139412009-03-12 Joel Brobecker <brobecker@adacore.com>
13942
13943 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13944 that was checked in by mistake. Remove loading of ada.exp, since
13945 this is not necessary in this case.
13946
4ce102af
JB
139472009-03-12 Joel Brobecker <brobecker@adacore.com>
13948
13949 * gdb.ada/ptype_arith_binop.exp: New testcase.
13950
529a2aef
JB
139512009-03-12 Joel Brobecker <brobecker@adacore.com>
13952
13953 * gdb.ada/mod_from_name: New testcase.
13954
8a38181c
JB
139552009-03-12 Joel Brobecker <brobecker@adacore.com>
13956
13957 * gdb.ada/tick_last_segv: New testcase.
13958
11436dee
VP
139592009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13960
61ff14c6 13961 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 13962
1f31650a
VP
139632009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13964
61ff14c6
JK
13965 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13966 include the token in ^running and frame info in *stopped.
1f31650a 13967
a3247a22
PP
139682009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13969
13970 * solib-display.exp: New file.
13971 * solib-display-main.c: New file.
13972 * solib-display-lib.c: New file.
61ff14c6 13973
aae64587
PA
139742009-03-05 Pedro Alves <pedro@codesourcery.com>
13975
13976 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13977
44aabfbc
JK
139782009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13979
13980 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13981 (list_and_check_macro): Use more specific test name.
13982 (next to definition): Make the test names unique.
13983
c087fcd3
PM
139842009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13985
13986 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 13987
c86cf029
VP
139882009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13989
13990 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13991 notifications.
13992 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13993 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13994 * lib/mi-support.exp (library_loaded_re): New.
13995 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13996
3ea85240
VP
139972009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13998
13999 * gdb.gdb/observer.exp: Use test_notification observer, not
14000 normal_stop, everywhere.
14001 (test_normal_stop_notifications): Rename to...
14002 (test_notifications): ...this.
14003 (test_observer_normal_stop): Rename to...
14004 (test_observer): ...this.
14005
1903f0e6
DE
140062009-02-16 Doug Evans <dje@google.com>
14007
14008 * gdb.arch/amd64-disp-step.S (test_int3): New test.
14009 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
14010 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
14011 (test_prefixed_syscall,test_int3): New tests.
14012 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
14013 (test_prefixed_syscall,test_int3): New tests.
14014
1d33d6ba
VP
140152009-02-14 Vladimir Prus <vladimir@codesourcery.com>
14016
3cb51905
AS
14017 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
14018 (mi_expect_interrupt): Likewise.
14019 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
14020 response.
1d33d6ba 14021
faafb047
PM
140222009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14023
14024 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
14025 * gdb.base/pc-fp.exp (get_valueofx): Remove.
14026 Replace calls to get_valueofx by get_hexadecimal_valueof.
14027
417e16e2
PM
140282009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
14029
14030 * lib/gdb.exp (get_valueof): Accept anything as a return value.
14031 (get_integer_valueof): New procedure.
14032 (get_sizeof): Use new get_integer_value_of.
14033 * gdb.base/sizeof.exp: Replace all uses of get_valueof
14034 by get_integer_valueof.
14035
7065b901
TT
140362009-02-13 Tom Tromey <tromey@redhat.com>
14037
14038 * gdb.base/remote.exp (get_sizeof): Remove.
14039 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
14040 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
14041 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
14042 * lib/gdb.exp (get_valueof): Move from long_long.exp.
14043 (get_sizeof): Likewise.
14044
5d7cb8df
JK
140452009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14046
14047 PR fortran/9806
14048 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
14049
b2febfff
PP
140502009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14051
14052 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
14053
4aa995e1
PA
140542009-02-06 Pedro Alves <pedro@codesourcery.com>
14055
14056 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
14057
d8906c6f
TJB
140582009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14059
14060 * gdb.python/python-cmd.exp: New file.
14061
ff4ab08d
TG
140622009-02-06 Tristan Gingold <gingold@adacore.com>
14063
14064 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
14065
aacd552b
TG
140662009-02-05 Tristan Gingold <gingold@adacore.com>
14067
14068 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
14069 pointer is dereferenced and use this signal name in regexp.
14070 * gdb.base/signull.exp: Ditto.
14071 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
14072 * gdb.base/signull.c (main): Ditto.
14073
08c637de
TJB
140742009-02-04 Tom Tromey <tromey@redhat.com>
14075 Thiago Jung Bauermann <bauerman@br.ibm.com>
14076
14077 * gdb.python/python-value.exp: Use `gdb.history' instead of
14078 `gdb.value_from_history'.
14079 (test_value_numeric_ops): Add test for conversion of enum constant.
14080 * gdb.python/python-value.c (enum e): New type.
14081 (evalue): New global.
14082 (main): Use argv.
14083
20261af8
JG
140842009-02-04 Jerome Guitton <guitton@adacore.com>
14085
14086 * gdb.ada/uninitialized_vars: New test program.
14087 * gdb.ada/uninitialized_vars.exp: New testcase.
14088
52e44b43
TT
140892009-02-02 Tom Tromey <tromey@redhat.com>
14090
14091 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
14092 * gdb.cp/pr2489.cc: Rename...
14093 * gdb.cp/pr9594.cc: ... to this.
14094
1c71341a
TT
140952009-02-02 Tom Tromey <tromey@redhat.com>
14096
14097 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
14098 * gdb.cp/pr2489.cc: New file.
14099 * gdb.cp/cpcompletion.exp: New file.
14100
a4295225
TT
141012009-02-02 Tom Tromey <tromey@redhat.com>
14102
14103 PR exp/9059:
14104 * gdb.cp/call-c.exp: Add regression test.
14105 * gdb.cp/call-c.cc (FooHandle): New typedef.
14106 (main): New variable 'handle'.
14107
592375cd
VP
141082009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14109
14110 * lib/mi-support.exp (et_mi_thread_list)
14111 (check_mi_and_console_threads): Adjust for current thread in
14112 -thread-list-ids output.
14113
41447f92
VP
141142009-01-30 Vladimir Prus <vladimir@codesourcery.com>
14115
889bf7c5
PA
14116 * gdb.mi/mi-break.exp (test_disabled_creation): New.
14117 Call it.
41447f92 14118
35669430
DE
141192009-01-28 Doug Evans <dje@google.com>
14120
14121 * gdb.arch/amd64-disp-step.S: New file.
14122 * gdb.arch/amd64-disp-step.exp: New file.
14123 * gdb.arch/i386-disp-step.S: New file.
14124 * gdb.arch/i386-disp-step.exp: New file.
14125
09f00d9a
PM
141262009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
14127
14128 * gdb.base/find.exp: Set newline variable
14129 using quotes instead of braces to fix cygwin failures.
14130
1e8fb976
PA
141312009-01-23 Pedro Alves <pedro@codesourcery.com>
14132
14133 * gdb.base/radix.exp: Add tests to ensure that that set
14134 input-radix 0 and set output-radix 0 are really rejected.
14135
da061712
PA
141362009-01-23 Pedro Alves <pedro@codesourcery.com>
14137
14138 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
14139 copyright years.
14140
dd7e2d2b
PA
141412009-01-23 Pedro Alves <pedro@codesourcery.com>
14142
14143 PR gdb/9664:
14144 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
14145
392452f6
PA
141462009-01-22 Pedro Alves <pedro@codesourcery.com>
14147
14148 PR c++/9631:
14149 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
14150
8653e71c
PM
141512009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
14152
14153 * gdb.server/file-transfer.exp: Use EXEEXT variable for
14154 binfile definition to fix Windows OS failure.
14155
a12cc160
DJ
141562009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
14157
14158 PR gdb/9346
14159 * gdb.base/interrupt.c (sigint_handler): New.
14160 (main): Install a SIGINT handler if SIGNALS is defined. Exit
14161 on error.
14162 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
14163 Test "signal SIGINT".
14164
b89667eb
DE
141652009-01-19 Doug Evans <dje@google.com>
14166
14167 * gdb.base/break.exp: Update expected gdb output.
14168 * gdb.base/sepdebug.exp: Ditto.
14169 * gdb.mi/mi-syn-frame.exp: Ditto.
14170 * gdb.mi/mi2-syn-frame.exp: Ditto.
14171 * gdb.base/call-signal-resume.exp: New file.
14172 * gdb.base/call-signals.c: New file.
14173 * gdb.base/unwindonsignal.exp: New file.
14174 * gdb.base/unwindonsignal.c: New file.
14175 * gdb.threads/interrupted-hand-call.exp: New file.
14176 * gdb.threads/interrupted-hand-call.c: New file.
14177 * gdb.threads/thread-unwindonsignal.exp: New file.
14178
adb483fe
DJ
141792009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
14180
14181 * gdb.base/define.exp: Test defining and hooking prefix commands.
14182 * gdb.python/python.exp: Update test for "show user" output.
14183
60023297
JK
141842009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14185
14186 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
14187 now the output exactly, using less wildcards. Expect also the output
14188 of gfortran-4.3. Update for the f-valprint.c modification from
14189 2008-04-22.
14190 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
14191 Remove gdb_test test names where matching the command.
14192
ccc57cf9
PA
141932009-01-01 Pedro Alves <pedro@codesourcery.com>
14194
14195 PR breakpoints/9681:
14196 * gdb.base/watchpoint.exp: Add regression test.
14197
c7a6ca08
PA
141982008-12-31 Pedro Alves <pedro@codesourcery.com>
14199
14200 * gdb.threads/attach-into-signal.exp: Don't use
14201 gdb_suppress_entire_file.
14202 * gdb.threads/attach-stopped.exp: Ditto.
14203 * gdb.threads/attachstop-mt.exp: Ditto.
14204
3a031f65
PA
142052008-12-31 Pedro Alves <pedro@codesourcery.com>
14206
14207 PR gdb/8812:
14208 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
14209
09e6485f
PA
142102008-12-29 Pedro Alves <pedro@codesourcery.com>
14211
14212 PR gdb/7536:
14213 * gdb.base/radix.exp: Add tests to ensure invalid input radices
14214 and unsupported output radices are really rejected.
14215
0cd53049
JK
142162008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
14217
14218 * gdb.cp/punctuator.exp: Backslash the '$' signs.
14219
ba163c7e
TT
142202008-12-22 Tom Tromey <tromey@redhat.com>
14221
14222 * gdb.cp/punctuator.exp: New file.
14223
6f4de6c9
JK
142242008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14225
14226 * gdb.base/completion.exp (Completing non-existing component): New test.
14227
0f34d0b4
JK
142282008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14229
14230 Fix for PR gdb/8648.
14231 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
14232 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
14233 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
14234 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
14235
db2ad4c3
JK
142362008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14237
14238 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
14239
bb5ef15e
DP
142402008-12-16 Christophe Lyon <christophe.lyon@st.com>
14241
14242 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
14243 compiler actually generate code at the expected line number.
14244
90142adc
JZ
142452008-12-15 Jie Zhang <jie.zhang@analog.com>
14246
14247 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
14248
fad6eecd
TT
142492008-12-12 Tom Tromey <tromey@redhat.com>
14250
14251 * gdb.base/commands.exp (redefine_hook_test): New proc.
14252 Call it.
14253
17c8aaf5
TT
142542008-12-11 Tom Tromey <tromey@redhat.com>
14255
14256 * gdb.base/macscp.exp: New regression test.
14257
7c8adf68
TT
142582008-12-11 Tom Tromey <tromey@redhat.com>
14259
14260 * gdb.base/macscp.exp: Print "address.addr".
14261 * gdb.base/macscp1.c (struct outer): New struct.
14262 (address): New global.
14263
b05dcbb7
TT
142642008-12-09 Tom Tromey <tromey@redhat.com>
14265
14266 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
14267 Call it.
14268
2d476de1
DE
142692008-12-04 Doug Evans <dje@google.com>
14270
14271 * gdb.server/ext-run.exp: Relax regexp for init program.
14272
87bdc959
TG
142732008-12-03 Tristan Gingold <gingold@adacore.com>
14274
14275 * gdb.base/macscp.exp: Generate an object file during compilation
14276 to work around Darwin dsymutil limitations.
14277
e0740f77
JK
142782008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14279
14280 Test resolving external references to TLS variables.
14281 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
14282 FILE2_THREAD_LOCAL.
14283 (testfile2, srcfile2): New variables.
14284 * gdb.threads/tls.c (file2_thread_local)
14285 (function_referencing_file2_thread_local): New.
14286 * gdb.threads/tls2.c: New file.
14287
67f0aac5
JB
142882008-11-28 Joel Brobecker <brobecker@adacore.com>
14289
14290 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
14291 rather than integer, as integer might not be big enough when
14292 on 64bit targets.
67f0aac5 14293
c332165e
JG
142942008-11-27 Jerome Guitton <guitton@adacore.com>
14295
14296 * gdb.cp/formatted-ref.exp: Add equality test.
14297 * gdb.ada/formatted_ref.exp: Ditto.
14298
fc9b693c
JK
142992008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14300
14301 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
14302 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
14303
a9c64011
AS
143042008-11-20 Andreas Schwab <schwab@suse.de>
14305
14306 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
14307 matching syscall entry point.
14308 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
14309 (tcatch_vfork_then_child_follow): Likewise. Finish through
14310 vfork even if we stopped at the syscall trampoline.
14311
e2fd701e
DE
143122008-11-20 Doug Evans <dje@google.com>
14313
14314 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
14315
69abc51c
TJB
143162008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
14317
14318 * gdb.arch/ppc-dfp.exp: New file.
14319 * gdb.arch/ppc-dfp.c: New file.
14320
c14c28ba
PP
143212008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14322
14323 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 14324
2e74121d
DE
143252008-11-17 Doug Evans <dje@google.com>
14326
14327 * gdb.mi/mi-syn-frame.exp: Update expected output.
14328 * gdb.mi/mi2-syn-frame.exp: Update expected output.
14329
66bb093b
VP
143302008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14331
14332 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
14333 "thread N" results in =thread-selected.
14334 * lib/mi-support (mi_run_cmd, mi_expect_stop)
14335 (mi_send_resuming_command_raw): Be prepared for
14336 =thread-selected.
14337
3d043ef6
VP
143382008-11-17 Vladimir Prus <vladimir@codesourcery.com>
14339
a9c64011
AS
14340 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
14341 * lib/mi-support.exp: Likewise.
3d043ef6 14342
808104c8
JB
143432008-11-16 Joel Brobecker <brobecker@adacore.com>
14344
14345 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
14346 commands from the expected output for "help catch".
14347
00b22944
JB
143482008-11-15 Joel Brobecker <brobecker@adacore.com>
14349
14350 * gdb.ada/int_deref.exp: New testcase.
14351
59669435
TT
143522008-11-14 Nick Roberts <nickrob@snap.net.nz>
14353
14354 * gdb.mi/gdb2549.exp: New file.
14355
de04a248
DE
143562008-11-11 Doug Evans <dje@google.com>
14357
14358 * gdb.base/callexit.exp: New file.
14359 * gdb.base/callexit.c: New file.
14360
6b8ce727
DE
143612008-11-10 Doug Evans <dje@google.com>
14362
14363 * lib/gdb.exp (GDBFLAGS): Move -nx ...
14364 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
14365 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
14366 (default_gdb_start,default_gdb_exit): Ditto.
14367 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
14368 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
14369 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
14370 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
14371 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
14372 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
14373
1b14b8aa
AS
143742008-11-03 Andreas Schwab <schwab@suse.de>
14375
14376 * gdb.base/hashline2.exp: Fix typo.
14377 * gdb.base/hashline3.exp: Likewise.
14378
f3134b88
TT
143792008-10-30 Tom Tromey <tromey@redhat.com>
14380
14381 * gdb.base/pointers.exp: Add test.
14382 * gdb.base/pointers.c (k, S): New typedefs.
14383 (instance): New global.
14384
c2226152
AS
143852008-10-30 Andreas Schwab <schwab@suse.de>
14386
14387 * gdb.base/args.exp: Add tests for newlines.
14388
462f405c
JB
143892008-10-30 Joel Brobecker <brobecker@adacore.com>
14390
14391 gdb.base/foll-exec.exp: Update the expected output of a couple
14392 of "info breakpoints" tests.
14393
79a45b7d
TT
143942008-10-28 Tom Tromey <tromey@redhat.com>
14395
14396 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
14397
adc13a14
PA
143982008-10-24 Pedro Alves <pedro@codesourcery.com>
14399
14400 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
14401 gdb_start_cmd.
14402 Use runto_main before any test that requires execution.
14403
252fbfc8
PA
144042008-10-23 Pedro Alves <pedro@codesourcery.com>
14405
14406 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
14407 instead of SIGINT.
14408
28148e3d
JB
144092008-10-22 Joel Brobecker <brobecker@adacore.com>
14410
14411 * gdb.base/completion.exp: Update expected output following
14412 the addition of the "info tasks" command.
14413
c209f847
TT
144142008-10-22 Tom Tromey <tromey@redhat.com>
14415
14416 * gdb.base/exprs.exp (test_expr): Add test for string
14417 concatenation.
14418
f177e350
PA
144192008-10-19 Pedro Alves <pedro@codesourcery.com>
14420
14421 * configure.ac: Output gdb.python/Makefile.
14422 * configure: Regenerate.
14423 * gdb.python/Makefile.in: New.
14424
cce89356
JB
144252008-10-16 Joel Brobecker <brobecker@adacore.com>
14426
14427 * gdb.base/foll-fork.exp: Adjust the expected output to match
14428 the new description for fork/vfork catchpoints in the "info
14429 breakpoints" output.
14430
176d289d
TJB
144312008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14432
14433 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
14434
a08702d6
TJB
144352008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14436
14437 * gdb.python/python-value.c: New file.
14438 * gdb.python/python-value.exp: New file.
14439
1c5cfe86
PA
144402008-10-15 Pedro Alves <pedro@codesourcery.com>
14441
14442 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
14443
5a98ad69
DP
144442008-10-15 Denis Pilat <denis.pilat@st.com>
14445
41702f1b 14446 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 14447
dcb1a1e2
TT
144482008-10-09 Tom Tromey <tromey@redhat.com>
14449
14450 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
14451 'fprintf' and 'stderr'.
14452
9124fe48
JB
144532008-10-07 Joel Brobecker <brobecker@adacore.com>
14454
14455 * gdb.ada/ref_tick_size.exp: New testcase.
14456
45452591
DE
144572008-10-06 Doug Evans <dje@google.com>
14458
14459 * gdb.dwarf2/dw2-cu-size.exp: New file.
14460 * gdb.dwarf2/dw2-cu-size.S: New file.
14461
14462 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
14463 .Ltype_int for clarity.
14464
4fc5b208
PP
144652008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14466
14467 PR gdb/2384:
14468 * gdb.cp/gdb2384.exp: Extended to test more cases.
14469 * gdb.cp/gdb2384.cc: Likewise.
14470 * gdb.cp/gdb2384-base.h: Likewise.
14471 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 14472
d78df370
JK
144732008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14474
14475 * gdb.base/maint.exp (maint print type): Remove printing
14476 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
14477
9a044a89
TT
144782008-09-30 Tom Tromey <tromey@redhat.com>
14479
14480 * gdb.base/macscp.exp: Add completion tests.
14481 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
14482 (TWENTY_THREE): Likewise.
14483 (FORTY_EIGHT): Likewise.
14484
506800a9
TT
144852008-09-30 Tom Tromey <tromey@redhat.com>
14486
14487 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
14488 everywhere.
14489 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
14490
1a6f01b5
JK
144912008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
14492
14493 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
14494 testcase is derived from. Fix racy dependency on an expected PID
14495 number. No longer support the testcase on Linux kernel 2.4.x.
14496
2fae03e8
TT
144972008-09-27 Tom Tromey <tromey@redhat.com>
14498
14499 * gdb.base/macscp.exp: Add tests for stringification, splicing,
14500 and varargs.
14501
1ad15515
PA
145022008-09-22 Pedro Alves <pedro@codesourcery.com>
14503
14504 * lib/mi-support.exp (mi_expect_interrupt): New.
14505 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
14506 from gdb.mi/mi-nonstop.exp.
14507 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
14508 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
14509 lib/mi-support.exp.
14510 Use mi_check_thread_states throughout. Avoid ".*" and do not
14511 require an anchor after -exec-run.
14512
d0b76dc6
DJ
145132008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
14514
14515 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
14516 stop is pending. Avoid ".*" when two stops are pending.
14517 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
14518 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
14519 newlines in fullnames.
14520 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
14521 (mi_expect_stop): Update comments. Only anchor in sync mode.
14522 Do not match newlines.
14523 (mi_send_resuming_command_raw): Always return status.
14524 (mi_get_stop_line): Do not match more than one line by accident.
14525 Only anchor in sync mode.
14526 (mi_run_inline_test): If -exec-next fails, give up.
14527
9990c830
UW
145282008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14529
14530 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
14531 on SPU.
14532
ebcf6f00
JB
145332008-09-10 Joel Brobecker <brobecker@adacore.com>
14534
14535 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
14536
b6db24e5
JB
145372008-09-10 Joel Brobecker <brobecker@adacore.com>
14538
14539 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
14540 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
14541 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
14542 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
14543 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
14544 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
14545 gdb.ada/interface.exp, gdb.ada/null_array.exp,
14546 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
14547 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
14548 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
14549 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
14550 Include the "= " sequence in the expected output of print tests.
14551
2bf448e0
JB
145522008-09-10 Joel Brobecker <brobecker@adacore.com>
14553
14554 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
14555 description for boolean types.
14556
d51fd4c8
PA
145572008-09-09 Pedro Alves <pedro@codesourcery.com>
14558
14559 * gdb.base/hook-stop-continue.c: New.
14560 * gdb.base/hook-stop-continue.exp: New.
14561
694182d2
DJ
145622008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
14563
14564 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
14565
3b8a7fc0
JG
145662008-09-08 Jerome Guitton <guitton@adacore.com>
14567
14568 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
14569 (stack_check_probe_2, stack_check_probe_loop_1)
14570 (stack_check_probe_loop_2): New functions.
14571 (main): Add call to these new functions.
14572 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
14573 functions, check that the breakpoint is inserted at the appropriate
14574 location.
14575 (insert_breakpoint): Slightly refine this procedure so that it can
14576 be called several times in the test.
14577
96cc0ae8
JG
145782008-09-08 Jerome Guitton <guitton@adacore.com>
14579
14580 * gdb.base/stack-checking.c: New file.
14581 * gdb.base/stack-checking.exp: New file.
14582
1f08b409
TJB
145832008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14584
14585 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
14586 * gdb.arch/altivec-regs.exp: Likewise.
14587 * gdb.arch/vsx-regs.exp: Likewise.
14588
3099e1c4
TJB
145892008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
14590
14591 * gdb.arch/ppc-fp.exp: New file.
14592 * gdb.arch/ppc-fp.c: New file.
14593
cc69bfc1
PP
145942008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14595
14596 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
14597 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 14598
b02a33db
MS
145992008-09-04 Michael Snyder <msnyder@vmware.com>
14600
14601 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
14602 as "at" (for non-debug functions such as _start).
14603
2992cbe0
UW
146042008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14605
14606 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
14607 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
14608 software watchpoints.
14609 * gdb.base/watch_thread_num.exp: Likewise.
14610
514f746b
AR
146112008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
14612
14613 * gdb.arch/i386-bp_permanent.exp: New test.
14614
876cecd0
TT
146152008-08-24 Tom Tromey <tromey@redhat.com>
14616
14617 * gdb.base/maint.exp: Update "maint print type".
14618
80f73d71
VP
146192008-08-21 Vladimir Prus <vladimir@codesourcery.com>
14620
14621 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
14622 support. Adjust the order of "*running" notifications.
14623 * gdb.mi/non-stop.c: Don't cast from int to void* and
14624 back.
14625
d9c78d7d
MK
146262008-08-20 Mark Kettenis <kettenis@gnu.org>
14627
14628 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
14629 expect to find it in the "info frame" output.
14630
97a2d1d3
DJ
146312008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
14632
14633 * gdb.base/interp.exp: Always consume both prompts.
14634
b96e2927
PA
146352008-08-20 Pedro Alves <pedro@codesourcery.com>
14636
14637 * gdb.base/pending.exp: Test pending breakpoints without symbols
14638 loaded.
14639
8cf6e61a
VP
146402008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14641
14642 * lib/mi-support.exp (mi_expect_stop): Produce
14643 more details on failures.
14644 * gdb.mi/mi-nonstop.exp: New.
14645 * gdb.mi/non-stop.c: New.
14646
c6ebd6cf
VP
146472008-08-19 Vladimir Prus <vladimir@codesourcery.com>
14648
a9c64011
AS
14649 * gdb.mi/mi-async.exp: Use 'set target-async'.
14650 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 14651
46a9b8ed
DJ
146522008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
14653
14654 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
14655
44feb3ce
TT
146562008-08-17 Tom Tromey <tromey@redhat.com>
14657
14658 * gdb.base/help.exp (help catch): Rewrite.
14659
311a4e6b
TJB
146602008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
14661
14662 * gdb.base/define.exp: Test indented command documentation.
14663 * gdb.python/python.exp: Test indented multi-line command.
14664
604c2f83
LM
146652008-08-15 Luis Machado <luisgpm@br.ibm.com>
14666
14667 * testsuite/gdb.arch/vsx-regs.c: New source file.
14668 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
14669 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
14670
886a217c
TT
146712008-08-14 Tom Tromey <tromey@redhat.com>
14672
14673 * gdb.base/macscp.exp: Add regression test for "macro define" or
14674 "macro undef" with no arguments.
14675
c814a4f3
PP
146762008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14677
14678 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 14679
12ab8a60
UW
146802008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14681
14682 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
14683
d57a3c85
TJB
146842008-08-06 Tom Tromey <tromey@redhat.com>
14685
14686 * gdb.python/python.exp: New file.
14687
c7b778ff
JK
146882008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14689
14690 Fix for PR gdb/1543.
14691 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
14692 $LOCATION.
14693 (location): New variable.
14694 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
14695 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
14696 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
14697 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
14698 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
14699 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
14700 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
14701 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
14702 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
14703 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
14704 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
14705 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
14706 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
14707 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
14708 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14709 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
14710 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
14711 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
14712 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
14713 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14714 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
14715 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
14716 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
14717 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
14718 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
14719 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
14720 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
14721 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
14722 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
14723 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
14724 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
14725 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
14726 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
14727 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
14728 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
14729 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
14730 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
14731 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14732 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
14733 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
14734 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
14735 gdb.base/type-opaque.exp, gdb.base/until.exp,
14736 gdb.base/value-double-free.c, gdb.base/varargs.exp,
14737 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
14738 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
14739 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
14740 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
14741 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
14742 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
14743 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
14744 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
14745 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
14746 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
14747 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
14748 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
14749 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
14750 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
14751 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
14752 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14753 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
14754 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
14755 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
14756 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14757 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
14758 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
14759 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
14760 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
14761 gdb.pascal/types.exp, gdb.stabs/weird.exp,
14762 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
14763 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
14764 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
14765 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
14766 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
14767 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
14768 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14769 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
14770 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14771 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
14772 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14773 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14774 lib/mi-support.exp, lib/trace-support.exp: Remove reference
14775 to bug-gdb@prep.ai.mit.edu .
14776
5e06a3d1
VP
147772008-07-31 Vladimir Prus <vladimir@codesourcery.com>
14778
14779 * lib/mi-support.exp (mi_load_shlibs): New.
14780 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
14781
9d81d21b
VP
147822008-07-30 Vladimir Prus <vladimir@codesourcery.com>
14783
14784 * lib/mi-support.exp (get_mi_thread_list)
14785 (check_mi_and_console_threads): New, moved from ...
14786 * gdb.mi/mi-pthread.exp: ...here.
14787 * gdb.mi/gdb669.exp (get_mi_thread_list)
14788 (check_mi_and_console_threads): Delete.
14789 * gdb.mi/mi2-pthread.exp: Likewise.
14790
bae98fe0
TT
147912008-07-28 Tom Tromey <tromey@redhat.com>
14792
14793 * Makefile.in (just-check): Remove. Move body to...
14794 (check): ... here.
14795
57380f4e
DJ
147962008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14797
14798 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
14799 Add a test for duplicated SIGINTs.
14800
e09490f1
DJ
148012008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14802
14803 * gdb.threads/schedlock.exp (get_args): Update to work for any
14804 value of NUM.
14805 (Top level): Report the number of threads that did not resume.
14806
6387b45f
DJ
148072008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14808
14809 * gdb.dwarf2/dw2-compressed.S: Also define __start.
14810
62f64ff2
DJ
148112008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
14812
14813 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
14814 non-MI prompt.
14815
fa8de41e
TT
148162008-07-26 Tom Tromey <tromey@redhat.com>
14817
14818 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
14819 (function_struct, function_struct_ptr): New globals.
14820 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
14821 function pointer in a struct.
14822
ccb3ac8a
TT
148232008-07-26 Tom Tromey <tromey@redhat.com>
14824
14825 * gdb.base/macscp.exp: Add test for macro lexing bug.
14826
d7d9f01e
TT
148272008-07-18 Tom Tromey <tromey@redhat.com>
14828
14829 * gdb.base/macscp.exp: Add macro tests.
14830
9bf07184
PP
148312008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14832
14833 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
14834
becf6477
PP
148352008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
14836
14837 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14838
0709f7d3
PP
148392008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14840
14841 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 14842
7093c834
PP
148432008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14844
14845 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 14846
b432ffe3
JK
148472008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14848
14849 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14850
b1a268e5
VP
148512008-07-12 Vladimir Prus <vladimir@codesourcery.com>
14852
14853 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14854
e2995f8e
KB
148552008-07-11 Kevin Buettner <kevinb@redhat.com>
14856
14857 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14858 of regexp to account for changes made to GDB in the printing of
14859 byte vectors.
14860
14032a66
TT
148612008-07-11 Tom Tromey <tromey@redhat.com>
14862
14863 * gdb.base/completion.exp: Add 'help' completion test.
14864
981505ef
JK
148652008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14866
14867 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14868
10568435
JK
148692008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14870
14871 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14872
4487aabf
PA
148732008-07-09 Pedro Alves <pedro@codesourcery.com>
14874
14875 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14876
a4a9b1c4
PA
148772008-07-09 Pedro Alves <pedro@codesourcery.com>
14878
14879 * gdb.base/fullname.exp: Restore pwd if compiling failed.
14880
3c3185ac
JK
148812008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14882
14883 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14884
7ebd49dc
VP
148852008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14886
14887 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14888 previous commit. Add a comment.
14889
84e46146
PA
148902008-06-28 Pedro Alves <pedro@codesourcery.com>
14891
14892 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14893
0f8d4a2f
VP
148942008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14895
14896 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14897
f747e0ce
PA
148982008-06-27 Pedro Alves <pedro@codesourcery.com>
14899
14900 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14901 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14902 compiling an executable, link in an object that forces unbuffered
14903 output.
14904 * lib/set_unbuffered_mode.c: New file.
14905
734a5c36
JK
149062008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14907
14908 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14909
a2840c35
VP
149102008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14911
a9c64011
AS
14912 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14913 mi_expect_stop.
14914 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14915 Demand that *running is output.
14916 (detect_async): Perform checking every time.
14917 (mi_send_resuming_command): Extract everything into...
14918 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
14919 (mi_expect_stop): Don't accept any output before *stopped.
14920
6ae37fef
VP
149212008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14922
14923 Robustify mi-simplerun.
a9c64011
AS
14924 * gdb.mi/basics.c (main): Add a call to sleep.
14925 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14926 * gdb.mi/mi2-cli.exp: Likewise.
14927 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 14928
b4aa76f0 149292008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
14930
14931 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14932
e1ac3328
VP
149332008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14934
a9c64011
AS
14935 * gdb.mi/mi-console.exp: Adjust.
14936 * gdb.mi/mi-syn-frame.exp: Adjust.
14937 * gdb.mi/mi2-console.exp: Adjust.
14938 * gdb.mi/mi2-syn-frame.exp: Adjust.
14939 * lib/mi-support.exp (mi_run_cmd): Adjust.
14940 (mi_send_resuming_command): Adjust.
e1ac3328 14941
f7f9a841
VP
149422008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14943
14944 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
14945 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14946 testing of stopped.
14947 * gdb.mi/mi2-syn-frame.exp: Likewise.
14948 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14949 (async, detect_async): New.
14950 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14951 depending on if we're running in sync or async mode.
f7f9a841 14952
37cd5d19
TT
149532008-06-09 Tom Tromey <tromey@redhat.com>
14954
14955 * gdb.base/completion.exp: New tests for field name completion
14956 with spaces, and field name completion with '->'.
14957
65d12d83
TT
149582008-06-06 Tom Tromey <tromey@redhat.com>
14959
14960 * gdb.base/break1.c (struct some_struct): New struct.
14961 (values): New global.
14962 * gdb.base/completion.exp: Add field name completion test.
14963
ebfe2e3f
PP
149642008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14965
14966 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14967 to pointer.
14968 * gdb.cp/call-c.cc: Likewise.
14969
bcf6fc3a
NR
149702008-06-06 Nick Roberts <nickrob@snap.net.nz>
14971
14972 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14973 annotation.
14974
49fd4a42 149752008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 14976 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
14977
14978 * gdb.threads/execl.c, gdb.threads/execl1.c,
14979 gdb.threads/execl.exp: New tests.
a9c64011 14980
8a34ac3f
AR
149812008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14982 Daniel Jacobowitz <dan@codesourcery.com>
14983
14984 * gdb.cp/exception.exp: Activate test, make it work with pending
14985 catchpoints.
14986
86ae69ef
JK
149872008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14988
14989 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14990
f7f9ae2c
VP
149912008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14992
a9c64011
AS
14993 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14994 now printed.
14995 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 14996
2a2d4dc3
AS
149972008-05-27 Andreas Schwab <schwab@suse.de>
14998
14999 * gdb.base/frame-args.exp: Handle arguments that are optimized
15000 out.
15001
5099e4d9
LM
150022008-05-26 Luis Machado <luisgpm@br.ibm.com>
15003
15004 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
15005 quiet for ppc32 and group options into a single variable.
15006
d9c36a91
JB
150072008-05-23 Joel Brobecker <brobecker@adacore.com>
15008
15009 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
15010 of zero-size elements.
15011 * gdb.ada/null_array.exp: Test printing this new array.
15012
103a8671
JK
150132008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15014
15015 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
15016
07a4cc1a 150172008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
15018
15019 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
15020 of the "finish" command.
15021
55f996a7
NR
150222008-05-21 Nick Roberts <nickrob@snap.net.nz>
15023
15024 * gdb.base/annota1.exp: Test for new annotation.
15025
907fc202
UW
150262008-05-16 Pedro Alves <pedro@codesourcery.com>
15027
15028 * gdb.base/fixsection.exp: New file.
15029 * gdb.base/fixsection0.c: New file.
15030 * gdb.base/fixsection1.c: New file.
15031
e8f97270
UW
150322008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15033
15034 * gdb.base/annota1.exp: Accept printf@... in place of printf.
15035 * gdb.base/annota3.exp: Likewise.
15036
ac0bb574
NF
150372008-05-13 Nathan Froyd <froydnj@codesourcery.com>
15038
15039 * gdb.base/watch_thread_num.exp: Don't run tests that require
15040 watchpoints if the target doesn't support them.
15041
6fadd07a
DE
150422008-05-12 Doug Evans <dje@google.com>
15043
15044 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
15045
6e9a4a30
JB
150462008-05-09 Joel Brobecker <brobecker@adacore.com>
15047
15048 * gdb.ada/assign_1.exp: New testcase.
15049
08388c79
DE
150502008-05-09 Doug Evans <dje@google.com>
15051
a3c83fae
DE
15052 * gdb.base/find.exp: New file.
15053 * gdb.base/find.c: New file.
08388c79 15054
bd5ddfe8
DJ
150552008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
15056
15057 * gdb.base/commands.exp (watchpoint_command_test): Handle
15058 gdb,no_hardware_watchpoints.
15059 * gdb.base/float.exp: Allow ARM targets without floating point.
15060 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
15061
b5dd68e2 150622008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 15063 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
15064
15065 * gdb.ada/lang_switch: New test program.
15066 * gdb.ada/lang_switch.exp: New testcase.
15067
382d13d1
DE
150682008-05-05 Doug Evans <dje@google.com>
15069
15070 * gdb.base/help.exp (disassemble): Update expected help text.
15071
9dd789d0
PA
150722008-05-04 Pedro Alves <pedro@codesourcery.com>
15073
15074 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
15075
611c83ae
PA
150762008-05-04 Pedro Alves <pedro@codesourcery.com>
15077
15078 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
15079 different times.
15080
ff013f42
JK
150812008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
15082
15083 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
15084 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
15085 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
15086 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
15087
96dff6a2
VP
150882008-05-04 Vladimir Prus <vladimir@codesourcery.com>
15089
15090 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
15091 notification to appear.
15092
55cd6f92
DJ
150932008-05-04 Daniel Jacobowitz <dan@debian.org>
15094
15095 * gdb.base/fullname.c: New file.
15096 * gdb.base/fullname.exp: New file.
15097 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
15098
d705c43c
PA
150992008-05-03 Pedro Alves <pedro@codesourcery.com>
15100
15101 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
15102 expressions with macros.
15103
333222e1
JK
151042008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15105
15106 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
15107
5ac01682
DJ
151082008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
15109
15110 * gdb.base/completion.exp: Handle lack of other symbols beginning
15111 with "a".
15112
15113 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
15114
237fc4c9
PA
151152008-05-02 Jim Blandy <jimb@codesourcery.com>
15116
15117 * gdb.asm/asmsrc1.s: Add scratch space.
15118
ed5e9466
DJ
151192008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15120 Daniel Jacobowitz <dan@codesourcery.com>
15121
15122 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
15123 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
15124 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
15125
b39cc962
DJ
151262007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
15127
15128 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
15129
36d520f5
JB
151302008-05-01 Joel Brobecker <brobecker@adacore.com>
15131
15132 * gdb.base/info-target.exp: New testcase.
15133
8d4e3071
DJ
151342008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15135
15136 * gdb.cp/hang.exp: Use .cc instead of .C.
15137 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
15138 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
15139
6f3f3097
DJ
151402008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
15141
15142 * gdb.base/gdb1250.exp: Remove perror.
15143 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
15144
5550a914
PA
151452008-04-30 Pedro Alves <pedro@codesourcery.com>
15146
15147 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
15148 .2byte.
15149
d848e687
DJ
151502008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
15151
15152 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
15153 (maybe_kfail): New.
15154
93b5768b
PA
151552008-04-25 Pedro Alves <pedro@codesourcery.com>
15156
15157 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
15158
721c02de
VP
151592008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15160
a9c64011
AS
15161 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
15162 * gdb.mi/mi2-syn-frame.exp: Likewise.
15163 * lib/mi-support.exp: Likewise.
721c02de 15164
74960c60
VP
151652008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15166
15167 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
15168 to specify regexp for the location to stop at.
15169 * gdb.base/break-always.c: New.
15170 * gdb.base/break-always.exp: New.
15171
d24317b4
VP
151722008-04-24 Vladimir Prus <vladimir@codesourcery.com>
15173
15174 * lib/mi-support.exp (mi_runto_helper): Adjust
15175 for the original-location field.
15176 (mi_create_breakpoint, mi_list_breakpoints): New.
15177 * gdb.mi/mi-break.exp: Adjust.
15178 * gdb.mi/mi2-break.exp: Adjust.
15179 * gdb.mi/mi-pending.exp: Adjust.
15180 * gdb.mi/mi-simplerun.exp: Adjust.
15181 * gdb.mi/mi2-simplerun.exp: Adjust.
15182 * gdb.mi/mi-syn-frame.exp: Adjust.
15183 * gdb.mi/mi2-syn-frame.exp: Adjust.
15184 * gdb.mi/mi-until.exp: Adjust.
15185 * gdb.mi/mi2-until.exp: Adjust.
15186 * gdb.mi/mi-var-display.exp: Adjust.
15187 * gdb.mi/mi2-var-display.exp: Adjust.
15188 * gdb.mi/mi-watch.exp: Adjust.
15189 * gdb.mi/mi2-watch.exp: Adjust.
15190
fdc59709 151912008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 15192
a9c64011
AS
15193 * aclocal.m4: Add override.m4.
15194 * configure: Regenerate.
fdc59709 15195
8e91f023
VP
151962008-04-19 Vladimir Prus <vladimir@codesourcery.com>
15197
15198 * gdb.mi/var-cmd.c (do_at_tests): Verify that
15199 '-var-update --all-values' reports new value even the type
15200 of a variable object has changed.
15201
233a11ab
CS
152022008-04-18 Craig Silverstein <csilvers@google.com>
15203
15204 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
15205 files.
d24317b4 15206
9c1137ad
JB
152072008-04-18 Joel Brobecker <brobecker@adacore.com>
15208
15209 * gdb.ada/atomic_enum: New test program.
15210 * gdb.ada/atomic_enum.exp: New testcase.
15211
66d0bbc7
DE
152122008-04-17 Doug Evans <dje@google.com>
15213
15214 * gdb.opt/Makefile.in: Fix whitespace.
15215
100906b0
UW
152162008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
15217
15218 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
15219
4584e32e
DE
152202008-04-17 Doug Evans <dje@google.com>
15221
15222 * gdb.base/hashline1.exp: New testcase.
15223 * gdb.base/hashline2.exp: New testcase.
15224 * gdb.base/hashline2.exp: New testcase.
15225
0a320680
PA
152262008-04-17 Pedro Alves <pedro@codesourcery.com>
15227
15228 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
15229
18ac113b
AR
152302008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
15231
15232 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
15233 temporary breakpoint to match "Temporary breakpoint".
15234 * gdb.base/break.exp (delete_breakpoints): Likewise.
15235 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
15236 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
15237 * gdb.base/display.exp: Likewise.
15238 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
15239 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
15240 * gdb.base/restore.exp (restore_tests): Likewise.
15241 * gdb.base/sepdebug.exp: Likewise.
15242 * gdb.base/watchpoint.exp: Likewise.
15243 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
15244 * gdb.mi/mi-pending.exp: Likewise.
15245 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
15246 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
15247 * gdb.mi/mi-var-cmd.exp: Likewise.
15248 * gdb.mi/mi-var-display.exp: Likewise.
15249 * gdb.mi/mi2-cli.exp: Likewise.
15250 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
15251 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
15252 * gdb.mi/mi2-var-display.exp: Likewise.
15253 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
15254 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
15255 new "disp" field.
a9c64011 15256 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
15257 reason. This is to support fix for PR2424.
15258
add38693
JK
152592008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
15260
15261 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
15262
fcacd99f
VP
152632008-04-13 Vladimir Prus <vladimir@codesourcery.com>
15264
15265 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 15266 field. Add more floating varobj tests.
fcacd99f 15267 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
15268 field.
15269 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
15270 (main): Call do_at_tests.
15271 * lib/mi-support.exp (mi_create_floating_varobj)
15272 (mi_varobj_update_with_type_change): New.
fcacd99f 15273
de051565
MK
152742008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
15275
15276 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
15277 option of -var-evaluate-expression.
15278 * gdb.mi/mi2-var-display.exp: Likewise.
15279
dbc52822
VP
152802008-04-07 Vladimir Prus <vladimir@codesourcery.com>
15281
15282 Introduce test setup helpers.
a9c64011
AS
15283 * lib/gdb.exp (build_executable, clean_restart)
15284 (prepare_for_testing): New.
15285 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
15286 * gdb.base/return.exp: Likewise.
15287 * gdb.base/ending-run.exp: Likewise.
dbc52822 15288
473591da
NR
152892008-04-07 Nick Roberts <nickrob@snap.net.nz>
15290
15291 * gdb.mi/mi-async.exp: New test for asynchronous Machine
15292 Interface (MI) responses.
15293
2b2d9e11
VP
152942008-04-06 Vladimir Prus <vladimir@codesourcery.com>
15295
a9c64011
AS
15296 * gdb.cp/breakpoint.cc: New code to test conditions involving
15297 member variables.
15298 * gdb.cp/breakpoint.exp: Test condition involving member
15299 variables.
2b2d9e11 15300
bb378428
VP
153012008-04-05 Vladimir Prus <vladimir@codesourcery.com>
15302
15303 * lib/mi-support.exp (mi_expect_stop): New.
15304 (mi_run_cmd): Change the
15305 token. Use mi_send_resuming_command, use
15306 mi_expect_stop.
15307 (mi_execute_to_helper): Rename to mi_execute_to.
15308 (mi_send_resuming_command): Add more error patterns.
15309 (mi_wait_for_stop): Renamed to...
15310 (mi_get_stop_line): ...this.
15311 (mi_run_inline_test): Adjust.
15312
15313 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
15314 * gdb.mi/mi-console.exp: Likewise.
15315 * gdb.mi/mi-pending.exp: Likewise.
15316 * gdb.mi/mi-simplerun.exp: Likewise.
15317 * gdb.mi/mi-stack.exp: Likewise.
15318 * gdb.mi/mi-stepi.exp: Likewise.
15319 * gdb.mi/mi-syn-frame.exp: Add comment.
15320 * gdb.mi/mi-until.exp: Likewise.
15321 * gdb.mi/mi-var-display.exp: Likewise.
15322 * gdb.mi/mi-watch.exp: Likewise.
15323 * gdb.mi/mi2-cli.exp: Likewise.
15324 * gdb.mi/mi2-console.exp: Likewise.
15325 * gdb.mi/mi2-simplerun.exp: Likewise.
15326 * gdb.mi/mi2-stack.exp: Likewise.
15327 * gdb.mi/mi2-stepi.exp: Likewise.
15328 * gdb.mi/mi2-until.exp: Likewise.
15329 * gdb.mi/mi2-var-display.exp: Likewise.
15330 * gdb.mi/mi2-watch.exp: Likewise.
15331
62172bb9
UW
153322008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15333
15334 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
15335
15336 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
15337
a13e061a
PA
153382008-04-04 Pedro Alves <pedro@codesourcery.com>
15339
15340 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
15341 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
15342 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
15343 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
15344 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
15345 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
15346 expect an mi error duplicated in stderr.
15347
eae06beb
JB
153482008-04-03 Joel Brobecker <brobecker@adacore.com>
15349
15350 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
15351 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
15352 Add a couple of tests that verify the behavior when the new setting
15353 is set to "cancel" and "all".
15354 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
15355 "ask" before we start the testing.
15356
79c6ced6
AR
153572008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
15358
15359 * gdb.cp/casts.cc: Add class reference variables.
15360 * gdb.cp/casts.exp: New test cases for up/down casting references.
15361
6c2d1a6b
MK
153622008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
15363
15364 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
15365 instead of beginning to make an extra test pass.
15366 * gdb.mi/mi2-var-display.exp: Likewise.
15367
55b411d9
MR
153682008-03-31 Maciej W. Rozycki <macro@mips.com>
15369
15370 * gdb.base/break.exp: Mark failures as such. Fix formatting.
15371
c6140da2
MD
153722008-03-31 Markus Deuling <deuling@de.ibm.com>
15373 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15374
15375 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
15376 value. Add xfail for older kernels.
15377
79732189
AR
153782008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
15379
15380 Bring mi-support in line with gdb.exp.
15381 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
15382 (mi_gdb_start): New function.
15383
33c3676e
MR
153842008-03-28 Maciej W. Rozycki <macro@mips.com>
15385
15386 * gdb.mi/mi-var-cmd.exp: Fix a typo.
15387
92e28119
VP
153882008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15389
15390 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
15391 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 15392
9e8e3afe
VP
153932008-03-26 Vladimir Prus <vladimir@codesourcery.com>
15394
15395 * lib/mi-support.exp (mi_create_varobj_checked): New.
15396 (mi_list_varobj_children): Allow to check for a
15397 value.
15398 (mi_list_array_varobj_children): New.
15399
15400 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
15401 and mi_list_varobj_children, as opposed to hardcoding
15402 expected strings.
15403 * gdb.mi/gdb701.exp: Likewise.
15404 * gdb.mi/gdb792.exp: Likewise.
15405 * gdb.mi/mi-var-block.exp: Likewise.
15406 * gdb.mi/mi-var-cmd.exp: Likewise.
15407 * gdb.mi/mi-var-invalidate.exp: Likewise.
15408 * gdb.mi/mi2-var-block.exp: Likewise.
15409 * gdb.mi/mi2-var-child.exp: Likewise.
15410 * gdb.mi/mi2-var-cmd.exp: Likewise.
15411 * gdb.mi/mi2-var-display.exp: Likewise.
15412
9df50351
JK
154132008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
15414
15415 Fix random false FAILs on i386.
15416 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
15417
31e5d73a
DJ
154182008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15419
15420 PR gdb/544
15421 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
15422
12f4afab
DJ
154232008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
15424
15425 PR gdb/544
15426 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
15427
b562a0cb
DJ
154282008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15429
15430 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
15431 fixed PR gdb/544.
15432
17faa917
DJ
154332008-03-21 Pedro Alves <pedro@codesourcery.com>
15434
15435 * gdb.threads/fork-child-threads.exp: Test next over fork.
15436
6214f497
DJ
154372008-03-21 Chris Demetriou <cgd@google.com>
15438
15439 * gdb.base/break.exp (rbreak junk): New test for rbreak
15440 "Junk at end of arguments" issue.
15441
63092375
DJ
154422008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15443
15444 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
15445 *& to work on created array elements.
15446 (Top level): Test print $pc with a file. Test string operations
15447 without a target.
15448 * gdb.base/ptype.exp: Do not expect *& to work on created array
15449 elements.
15450
b21991b0
DJ
154512008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
15452
15453 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
15454 gdb.threads/staticthreads.exp: Update exit query.
15455
c4b347c7
SL
154562008-03-07 Sandra Loosemore <sandra@codesourcery.com>
15457
15458 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
15459
fa4727a6
DJ
154602008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
15461
15462 * gdb.base/watchpoint.c (global_ptr, func4): New.
15463 (main): Call func4.
15464 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
15465 (test_inaccessible_watchpoint): New.
15466
2f34202f
MR
154672008-02-29 Maciej W. Rozycki <macro@mips.com>
15468
15469 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
15470 select the largest.
15471
0d6ba1b1
DJ
154722008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15473
15474 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
15475 frames-invalid annotations.
15476
e691325a
PM
154772008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
15478
a9c64011 15479 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 15480
f85b5ecc
DE
154812008-02-27 Doug Evans <dje@google.com>
15482
15483 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
15484 for bug 1738.
15485 (breakpoint_to_handler_entry): Ditto.
15486
b40e7bf3
JB
154872008-02-27 Joel Brobecker <brobecker@adacore.com>
15488
15489 * gdb.base/ending-run.exp: Use the first line of code inside
15490 function body to test breakpoints.
15491 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
15492 location where the breakpoint is inserted when using the line
15493 where a function is declared. Fix typo in the description of
15494 one of the tests.
15495 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
15496
2faca73a
PM
154972008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15498
15499 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 15500 tests.
2faca73a 15501
6f439c36
PM
155022008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
15503
15504 * gdb.base/args.exp: avoid same output for tests
15505 with single quotes.
15506
54e52265
VP
155072008-02-26 Vladimir Prus <vladimir@codesourcery.com>
15508
a9c64011
AS
15509 * gdb.base/annota1.exp: Adjust for 'info break'
15510 format changes.
15511 * gdb.base/annota3.exp: Likewise.
15512 * gdb.base/break.exp: Likewise.
15513 * gdb.base/condbreak.exp: Likewise.
15514 * gdb.base/pending.exp: Likewise.
15515 * gdb.base/sepdebug.exp: Likewise.
15516 * gdb.base/unload.exp: Likewise.
15517 * gdb.cp/ovldbreak.exp: Likewise.
15518 * gdb.mi/mi-pending.exp: Likewise.
54e52265 15519
897b09ca
DE
155202008-02-07 Doug Evans <dje@google.com>
15521
15522 * gdb.cp/mb-inline.exp: New.
15523 * gdb.cp/mb-inline.h: New.
15524 * gdb.cp/mb-inline1.cc: New.
15525 * gdb.cp/mb-inline2.cc: New.
15526
b1c32d35
PM
155272008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
15528
15529 * gdb.pascal/floats.pas: New test program.
15530 * gdb.pascal/floats.exp: New testcase.
15531
1a4ca44a
TJB
155322008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
15533
15534 * gdb.base/callfuncs.c (t_float_many_args): New function.
15535 (t_double_many_args): New function.
15536 * gdb.base/callfuncs.exp: Add tests for exceeding float
15537 and double parameters passed through the stack.
15538
439048e8
JB
155392008-02-05 Joel Brobecker <brobecker@adacore.com>
15540
15541 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
15542 gdb.ada/complete/foo.adb: New files.
15543 * gdb.ada/complete.exp: New testcase.
15544
81fe8080
DE
155452008-02-03 Doug Evans <dje@google.com>
15546
301f0ecf
DE
15547 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
15548
81fe8080
DE
15549 * gdb.cp/gdb2384.exp: New file.
15550 * gdb.cp/gdb2384.cc: New file.
15551 * gdb.cp/gdb2384-base.h: New file.
15552 * gdb.cp/gdb2384-base.cc: New file.
15553
4b071aec
DE
155542008-02-02 Doug Evans <dje@google.com>
15555
15556 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
15557
61137ba6
JB
155582007-02-01 Joel Brobecker <brobecker@adacore.com>
15559
15560 * gdb.ada/sym_print_name: New test program.
15561 * gdb.ada/sym_print_name.exp: New testcase.
15562
155632007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
15564
15565 * gdb.ada/nested/hello.adb: New file.
15566 * gdb.ada/nested.exp: New testcase.
15567 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15568
98deb0da
VP
155692008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15570
15571 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
15572 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
15573 don't cause future evaluations of function to report
15574 creation of internal breakpoints.
98deb0da 15575
723a2275
VP
155762008-02-01 Vladimir Prus <vladimir@codesourcery.com>
15577
15578 * gdb.mi/mi-break.exp (test_error): New.
15579 Call it.
15580
fb546a2f
LM
155812008-01-31 Luis Machado <luisgpm@br.ibm.com>
15582
15583 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
15584 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
15585
2d8fd90a
PM
155862008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15587
15588 * gdb.pascal/integers.pas: New test program.
15589 * gdb.pascal/integers.exp: New testcase.
15590
a7fa0ded
PM
155912008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
15592
15593 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
15594
5e1a1926
TJB
155952008-01-30 Luis Machado <luisgpm@br.ibm.com>
15596
15597 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
15598 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
15599
8d04f9f0
JB
156002008-01-30 Paul Hilfinger <hilfinger@adacore.com>
15601
15602 * gdb.ada/formatted_ref: New test program.
15603 * gdb.ada/formatted_ref.exp: New testcase.
15604
15605 * gdb.cp/formatted-ref.cc: New file.
15606 * gdb.cp/formatted-ref.exp: New testcase.
15607
ce75a98f
JB
156082008-01-30 Joel Brobecker <brobecker@adacore.com>
15609
15610 * gdb.base/ptype.exp: Add testing of "ptype $pc".
15611
e835f6bf
NR
156122008-01-30 Nick Roberts <nickrob@snap.net.nz>
15613
15614 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
15615 (test_file_list_exec_source_file): Update to new macro-info field.
15616
d118ef87
PH
156172008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
15618
15619 * gdb.ada/exprs: New test program.
15620 * gdb.ada/exprs.exp: New testcase.
15621
7d35ab09
TJB
156222008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
15623
15624 * dfp-test.c (DELTA, DELTA_B): New definitions.
15625 (double_val1, double_val2, double_val3, double_val4, double_val5,
15626 double_val6, double_val7, double_val8, double_val9, double_val10,
15627 double_val11, double_val12, double_val13, double_val14, dec32_val1,
15628 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
15629 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
15630 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
15631 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
15632 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
15633 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
15634 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
15635 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
15636 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
15637 dec128_val16): New global variables.
15638 (decimal_dec128_align): New function.
15639 (decimal_mixed): Likewise.
15640 (decimal_many_args_dec32): Likewise.
15641 (decimal_many_args_dec64): Likewise.
15642 (decimal_many_args_dec128): Likewise.
15643 (decimal_many_args_mixed): Likewise.
15644 * dfp-test.exp: Add tests calling new inferior functions.
15645
2d717e4f
DJ
156462008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15647
15648 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
15649 gdb.server/ext-run.exp: New files.
15650 * lib/gdbserver-support.exp (gdbserver_download): New.
15651 (gdbserver_start): New. Update gdbserver expected
15652 output.
15653 (gdbserver_spawn): Use them.
15654 (gdbserver_start_extended): New.
15655
e85a822c
DJ
156562008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
15657
15658 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
15659 Run on GNU/Linux.
15660 (do_exec_tests): Check for systems which do not support catchpoints.
15661 Do not match START.
15662 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
15663 Run on GNU/Linux. Enable verbose output.
15664 (check_fork_catchpoints): New.
15665 (explicit_fork_child_follow, catch_fork_child_follow)
15666 (tcatch_fork_parent_follow): Update expected messages.
15667 (do_fork_tests): Use check_fork_catchpoints.
15668 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
15669 Run on GNU/Linux. Enable verbose output.
15670 (check_vfork_catchpoints): New.
15671 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
15672 expected messages.
15673 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
15674
401ea829
JB
156752008-01-29 Jim Blandy <jimb@red-bean.com>
15676
15677 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
15678 host' errors.
15679 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
15680
aceaf3ad
JB
156812008-01-29 Jim Blandy <jimb@red-bean.com>
15682
15683 * gdb.threads/sigthread.c: Use barriers to ensure that
15684 child_thread and child_thread_two are always initialized before we
15685 start to use them.
15686
a5606eee
VP
156872008-01-29 Vladimir Prus <vladimir@codesourcery.com>
15688
15689 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
15690 * gdb.base/watchpoint-solib.c: New.
15691 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 15692
c55a82bb
PM
156932008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
15694
15695 * gdb.base/gdb1056.exp: Add unsigned integer test.
15696
0993fe05
DE
156972008-01-28 Doug Evans <dje@google.com>
15698
15699 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
15700
4fe42e7f
JB
157012008-01-27 Jim Blandy <jimb@codesourcery.com>
15702
c7a69933
JB
15703 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
15704
4fe42e7f
JB
15705 * gdb.base/expand-psymtabs.exp: Doc fix.
15706
5def8285
MK
157072008-01-26 Mark Kettenis <kettenis@gnu.org>
15708
15709 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
15710
5313c911
NR
157112008-01-24 Nick Roberts <nickrob@snap.net.nz>
15712
a9c64011 15713 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
15714 -var-set-format.
15715
93815fbf
VP
157162008-01-23 Chris Demetriou <cgd@google.com>
15717
15718 * gdb.threads/thread_events.c: New testcase source file.
15719 * gdb.threads/thread_events.exp: New testcase expect file.
15720
467a88ee
NR
157212008-01-23 Nick Roberts <nickrob@snap.net.nz>
15722
15723 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
15724
15725 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
15726 -var-set-format.
15727
d8f82aba
DJ
157282008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15729 Vladimir Prus <vladimir@codesourcery.com>
15730
15731 * gdb.base/float.exp: Allow missing floating point for m68k and
15732 PowerPC.
15733
60c46647
VP
157342008-01-22 Vladimir Prus <vladimir@codesourcery.com>
15735
15736 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
15737 ignore count.
15738 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
15739 * gdb.mi/mi-cli.exp: Adjust.
15740 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 15741
c7dd36a1
PA
157422008-01-17 Pedro Alves <pedro@codesourcery.com>
15743
15744 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
15745 and 'dummy_ptr' integer pointer. Initialize struct_declarations
15746 with dummy_ptr's address.
15747 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
15748 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
15749 all targets.
15750 * gdb.mi/mi2-var-child.exp: Likewise.
15751
39d5313e
JB
157522008-01-09 Joel Brobecker <brobecker@adacore.com>
15753
15754 * gdb.ada/null_array: New test program.
15755 * gdb.ada/null_array.exp: New testcase.
15756
0aea4bf3
LM
157572008-01-09 Luis Machado <luisgpm@br.ibm.com>
15758
15759 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
15760 with required float modifiers.
15761
0b354900
JB
157622008-01-08 Joel Brobecker <brobecker@adacore.com>
15763
15764 * gdb.ada/funcall_param: New test program.
15765 * gdb.ada/funcall_param.exp: New testcase.
15766
cdb7f5d4
JB
157672008-01-08 Joel Brobecker <brobecker@adacore.com>
15768
15769 * gdb.ada/arrayparam: New test program.
15770 * gdb.ada/arrayparam.exp: New testcase.
15771
88e2547f
JB
157722008-01-08 Joel Brobecker <brobecker@adacore.com>
15773
15774 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
15775 landed. Should also fix random failures in the test following it.
15776
f6867ce0
TJB
157772008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
15778
15779 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
15780 for expressions with decimal float values.
15781 (test_dfp_conversions): New function to test casts to and from
15782 decimal float types.
15783 Call test_dfp_conversions.
15784 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
15785 elements.
15786 (main): Initialize ds.float4 and ds.double8 elements.
15787 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
15788 string to new error message.
15789 (d64_set_tests): Likewise.
15790 (d128_set_tests): Likewise.
15791 Add tests for expressions with decimal float variables. Add tests for
15792 conversions to and from decimal float types.
15793
f9c11282
JB
157942008-01-05 Joel Brobecker <brobecker@adacore.com>
15795
15796 * gdb.ada/packed_tagged/comp_bug.adb: New file.
15797 * gdb.ada/packed_tagged.exp: New testcase.
15798
0ecbca72
JB
157992008-01-04 Joel Brobecker <brobecker@adacore.com>
15800
15801 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
15802 gdb.ada/homonym/homonym_main.adb: New files.
15803 * gdb.ada/homonym.exp: New testcase.
15804
c18d3d89
JB
158052008-01-04 Joel Brobecker <brobecker@adacore.com>
15806
15807 * gdb.ada/packed_array.exp: Add testing of references to
15808 a packed array.
15809
ecc7085b
JB
158102008-01-04 Joel Brobecker <brobecker@adacore.com>
15811
15812 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
15813 New files.
15814 * gdb.ada/type_coercion.exp: New testcase.
15815
c474c922
JB
158162008-01-04 Joel Brobecker <brobecker@adacore.com>
15817
15818 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
15819 gdb.ada/tagged/foo.adb: New file.
15820 * gdb.ada/tagged.exp: New testcase.
15821
9005b927
JB
158222008-01-04 Joel Brobecker <brobecker@adacore.com>
15823
15824 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
15825 gdb.ada/ptype_field/foo.adb: New files.
15826 * gdb.ada/ptype_field.exp: New testcase.
15827
1a6aaad8
JB
158282008-01-03 Joel Brobecker <brobecker@adacore.com>
15829
15830 * gdb.ada/print_pc.exp: New testcase.
15831
0ef22f53
JB
158322008-01-03 Joel Brobecker <brobecker@adacore.com>
15833
15834 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
15835 gdb.ada/taft_type/p.adb: New files.
15836 * gdb.ada/taft_type.exp: New testcase.
15837
1689ecf8
JB
158382008-01-03 Joel Brobecker <brobecker@adacore.com>
15839
15840 * gdb.ada/array_bounds/bar.adb: New file.
15841 * gdb.ada/array_bounds.exp: New testcase.
15842
a4d0b9c3
JB
158432008-01-03 Joel Brobecker <brobecker@adacore.com>
15844
15845 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15846 gdb.ada/arrayptr/foo.adb: New files.
15847 * gdb.ada/arrayptr.exp: New testcase.
15848
a31ace00
JB
158492008-01-03 Joel Brobecker <brobecker@adacore.com>
15850
15851 * gdb.base/set-lang-auto.exp: New testcase.
15852
a97fced3
JB
158532008-01-03 Joel Brobecker <brobecker@adacore.com>
15854
15855 * gdb.ada/fun_addr/foo.adb: New file.
15856 * gdb.ada/fun_addr.exp: New testcase.
15857
ef29ce1a
JK
158582008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15859
15860 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15861 New files
15862
0fafefe3
JB
158632008-01-02 Joel Brobecker <brobecker@adacore.com>
15864
15865 * array_subscript_addr/p.adb: New file.
a9c64011 15866 * array_subscript_addr.exp: New testcase.
0fafefe3 15867
c4359f8d
JB
158682008-01-02 Joel Brobecker <brobecker@adacore.com>
15869
a9c64011 15870 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
15871 New files.
15872 * gdb.ada/str_cmp_ref.exp: New testcase.
15873
1aa1b15b
JB
158742008-01-01 Joel Brobecker <brobecker@adacore.com>
15875
15876 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15877 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 15878 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 15879
81c9b2cf
JB
158802008-01-01 Joel Brobecker <brobecker@adacore.com>
15881
15882 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15883 gdb.ada/ref_param/pck.ads: New files.
15884 * gdb.ada/ref_param.exp: New testcase.
15885
319e4674
JB
158862008-01-01 Joel Brobecker <brobecker@adacore.com>
15887
15888 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15889 gdb.ada/interface/foo.adb: New files.
15890 * gdb.ada/interface.exp: New testcase.
15891
ef682c56
JB
158922007-12-31 Jim Blandy <jimb@codesourcery.com>
15893
15894 * gdb.base/multi-forks.exp: Consume all output from child
15895 processes before proceeding to next test.
15896
f6f3eb6c
JB
158972007-12-29 Jim Blandy <jimb@codesourcery.com>
15898
15899 * configure: Regenerated.
15900
f652e42f
JB
159012007-12-27 Joel Brobecker <brobecker@adacore.com>
15902
15903 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15904 gdb.ada/fixed_cmp/fixed.adb: New files.
15905 * gdb.ada/fixed_cmp.exp: New testcase.
15906
6943e596
JB
159072007-12-27 Joel Brobecker <brobecker@adacore.com>
15908
15909 * gdb.ada/boolean_expr.exp: New testcase.
15910
aad9a193
JB
159112007-12-26 Jim Blandy <jimb@codesourcery.com>
15912
15913 * gdb.base/multi-forks.exp: Doc fix.
15914
fb5f3683
JB
159152007-12-26 Joel Brobecker <brobecker@adacore.com>
15916
15917 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15918 * gdb.ada/char_param.exp: Do not compile our test program with
15919 -gnata, this is unnecessary.
15920 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15921
384e4a9c
JB
159222007-12-24 Joel Brobecker <brobecker@adacore.com>
15923
15924 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15925 gdb.ada/print_chars/foo.adb: New files.
15926 * gdb.ada/print_chars.exp: New testcase.
15927
01e044f7
JB
159282007-12-24 Joel Brobecker <brobecker@adacore.com>
15929
15930 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15931 gdb.ada/char_param/foo.adb: New files.
15932 * gdb.ada/char_param.exp: New testcase.
15933
0ce17860
JB
159342007-12-22 Jim Blandy <jimb@codesourcery.com>
15935
15936 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15937 hard-coding source line numbers into the test.
15938 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15939 gdb_get_line_number to find.
15940
919809b9
JB
159412007-12-22 Joel Brobecker <brobecker@adacore.com>
15942
15943 * gdb.base/ptype.c (highest): New struct type.
15944 (the_highest): New variable of that type.
15945 (main): Add dummy assignment to a field of variable the_highest.
15946 * gdb.base/ptype.exp: Test type printing of our new variable.
15947
abc8a88d
PM
159482007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15949
15950 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 15951 and record first explicitly generated thread number.
abc8a88d
PM
15952 Use that thread number for thread specific watchpoint test.
15953 Add iteration number to repetitive tests.
15954
5158f3e3
CES
159552007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15956 Jim Blandy <jimb@codesourcery.com>
15957
15958 * gdb.base/expand-psymtabs.c: New testcase
15959 source file.
15960 * gdb.base/expand-psymtabs.exp: New testcase
15961 expect file.
15962
37e4754d
LM
159632007-12-17 Luis Machado <luisgpm@br.ibm.com>
15964
15965 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15966 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15967
551e5d04
JB
159682007-12-17 Joel Brobecker <brobecker@adacore.com>
15969
15970 * gdb.ada/frame_args/foo.adb: New file.
15971 * gdb.ada/frame_args/pck.ads: New file.
15972 * gdb.ada/frame_args/pck.adb: New file.
15973 * gdb.ada/frame_args.exp: New testcase.
15974
a05ee097
JB
159752007-12-17 Joel Brobecker <brobecker@adacore.com>
15976
15977 * gdb.base/frame-args.c: New file.
15978 * gdb.base/frame-args.exp: New testcase.
15979
c162e8c9 159802007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 15981 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
15982
15983 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15984
afe8ab22 159852007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 15986
afe8ab22
VP
15987 * gdb.mi/mi-pending.exp: New.
15988 * gdb.mi/mi-pending.c: New.
15989 * gdb.mi/mi-pendshr.c: New.
15990
dfdfb3ca
JB
159912007-12-06 Jim Blandy <jimb@codesourcery.com>
15992
15993 * gdb.base/default.exp: Update expected output for 'info catch'.
15994
b7fca990
JK
159952007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15996
15997 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15998 must be set to binary.
15999
6a1afc1e
PA
160002007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
16001
16002 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
16003
a6b151f1
DJ
160042007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
16005
16006 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
16007 gdb.mi/mi-file-transfer.exp: New.
16008
43039443
JK
160092007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16010
16011 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
16012
0ef2251b
MR
160132007-11-22 Maciej W. Rozycki <macro@mips.com>
16014
16015 * gdb.trace/backtrace.exp: Fix a typo.
16016 * gdb.trace/circ.exp: Likewise.
16017 * gdb.trace/collection.exp: Likewise.
16018 * gdb.trace/limits.exp: Likewise.
16019 * gdb.trace/report.exp: Likewise.
16020 * gdb.trace/tfind.exp: Likewise.
16021 * gdb.trace/while-dyn.exp: Likewise.
16022
5443631e
NR
160232007-11-21 Nick Roberts <nickrob@snap.net.nz>
16024
16025 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
16026 objects of pointers that can't be dereferenced are now
16027 "noneditable".
16028
a4ce5b0d
UW
160292007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16030
16031 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
16032 (target_cpu): Remove.
16033
d6e956e5
VP
160342007-10-15 Vladimir Prus <vladimir@codesourcery.com>
16035
16036 * gdb.base/ending-run.exp: Expect the list of cleared
16037 breakpoint to come in natural order, not the reversed one.
a9c64011 16038
214270ab
VP
160392007-11-07 Vladimir Prus <vladimir@codesourcery.com>
16040
16041 * gdb.mi/mi-var-child.c (do_child_deletion): New.
16042 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 16043
1a619819
LM
160442007-11-05 Luis Machado <luisgpm@br.ibm.com>
16045
16046 * gdb.base/printcmds.exp: New function
16047 test_printf_with_dfp.
16048
5b01a6fa
DE
160492007-11-02 Doug Evans <dje@google.com>
16050
16051 * gdb.disasm/t01_mov.s: Remove carriage returns.
16052 * gdb.disasm/t02_mova.s: Ditto.
16053 * gdb.disasm/t03_add.s: Ditto.
16054 * gdb.disasm/t04_sub.s: Ditto.
16055 * gdb.disasm/t05_cmp.s: Ditto.
16056 * gdb.disasm/t06_ari2.s: Ditto.
16057 * gdb.disasm/t07_ari3.s: Ditto.
16058 * gdb.disasm/t08_or.s: Ditto.
16059 * gdb.disasm/t09_xor.s: Ditto.
16060 * gdb.disasm/t10_and.s: Ditto.
16061 * gdb.disasm/t11_logs.s: Ditto.
16062 * gdb.disasm/t12_bit.s: Ditto.
16063 * gdb.disasm/t13_otr.s: Ditto.
16064
ec33ab7f
JK
160652007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16066
16067 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
16068
ae0d01ff
UW
160692007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16070
16071 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
16072 provide DFP support.
16073
55eddb0f
DJ
160742007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
16075
16076 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
16077 Test "set powerpc vector-abi". Skip auto-detection tests for old
16078 toolchains.
16079
7020f05c
PA
160802007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16081
16082 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
16083 with [string compare].
16084
84bc3db9
PA
160852007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
16086
16087 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
16088 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
16089
5876dc88
LM
160902007-10-25 Luis Machado <luisgpm@br.ibm.com>
16091
16092 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
16093 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
16094 * gdb.opt/Makefile.in: New makefile.
16095 * Makefile.in: Create new directory "gdb.opt".
16096 * configure.ac: Add "gdb.opt" directory.
16097 * configure: Regenerated.
a9c64011 16098
c3ea9a14
DE
160992007-10-25 Doug Evans <dje@google.com>
16100
16101 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
16102 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
16103
a9c64011 161042007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
16105 Thiago Jung Bauermann <bauerman@br.ibm.com>
16106
16107 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
16108 Floating Point expressions.
16109 * gdb.base/dfp-test.exp: new file adding tests for Decimal
16110 Floating Point variables.
16111 * gdb.base/dfp-test.c: new file containing program with Decimal
16112 Floating variables, used by gdb.base/dfp-test.exp.
16113
62a24a2b
DJ
161142007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
16115
16116 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
16117
e7b1eae6
UW
161182007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16119
16120 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
16121 compiling test case with GCC.
16122 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
16123
c641edcc
UW
161242007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16125
16126 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16127 format changes.
16128
5e5ebfe6
MS
161292007-10-18 Michael Snyder <msnyder@specifix.com>
16130
16131 * gdb.base/dbx.exp: Add missing "-re " operator.
16132
e831e7b6
GM
161332007-10-16 Gaius Mulley <gaius@glam.ac.uk>
16134
16135 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
16136 * configure.ac: Removed trailing spaces after backslash.
16137 * gdb.modula2: New directory.
16138 * gdb.modula2/Makefile.in: New file.
16139 * gdb.modula2/unbounded-array.exp: New file.
16140 * gdb.modula2/unbounded1.c: New file.
16141
7cc46491
DJ
161422007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
16143
16144 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
16145
161462007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
16147
16148 * gdb.base/sigstep.c (main): Add checks for
16149 return values for setitimer call.
16150 Call setitimer again with itimer = ITIMER_REAL
16151 if first call to setitimer fails.
16152
e91528f0
KH
161532007-10-11 Kazu Hirata <kazu@codesourcery.com>
16154
16155 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
16156 of $timeout.
16157
2ec9a4f8
DJ
161582007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16159
16160 * gdb.server/server-run.exp: Test for dynamic linker symbols.
16161
161622007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
16163
16164 * lib/gdb.exp (gdb_run_cmd): Move comment outside
16165 of gdb_expect call, to avoid interruption.
16166
64b2fa04
PA
161672007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
16168
16169 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
16170 (v_unsigned_long_long, v_long_long_array)
16171 (v_signed_long_long_array, v_unsigned_long_long_array)
16172 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
16173 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
16174 [!NO_LONG_LONG]: New.
16175 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
16176 v_long_long_member.
16177
16178 (v_long_long_func, v_signed_long_long_func)
16179 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
16180 (main) [!NO_LONG_LONG]: Initialize long long variants.
16181
16182 * gdb.base/whatis.exp: If board file requests no_long_long, build
16183 test with NO_LONG_LONG defined. Test long long, signed long long,
16184 and unsigned long long variants but only if board file doesn't
16185 disable it.
16186
a912286e 161872007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 16188 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
16189
16190 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
16191 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
16192 * configure: Regenerated.
16193 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
16194 gdb.pascal/types.exp, lib/pascal.exp: New files.
16195
471ba8c9
DJ
161962007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
16197
16198 * gdb.cp/classes.exp (do_tests): Always step to the line after the
16199 call.
16200 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
16201 to return to the call.
16202 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
16203 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
16204 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
16205 * gdb.mi/mi-until.exp (test_until): Likewise.
16206 * gdb.mi/mi2-until.exp (test_until): Likewise.
16207
fef8a650
DJ
162082007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
16209
16210 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
16211 two-char array.
16212 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
16213
d983da9c
DJ
162142007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
16215
16216 * gdb.threads/watchthreads.c (thread_function): Sleep between
16217 iterations.
16218 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
16219 at once for S/390. Generate matching fails and passes.
16220
17f62551
VP
162212007-09-27 Vladimir Prus <vladimir@codesourcery.com>
16222
16223 * gdb.mi/var-cmd.c (do_children_tests): Initialize
16224 the 'struct_declarations' variable to zeros.
a9c64011 16225
ed0616c6
VP
162262007-09-24 Vladimir Prus <vladimir@codesourcery.com>
16227
16228 * gdb.cp/mb-ctor.cc: New.
16229 * gdb.cp/mb-ctor.exp: New.
16230 * gdb.cp/mb-templates.cc: New.
16231 * gdb.cp/mb-templates.exp: New.
16232
41f1b697
DJ
162332007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
16234
16235 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
16236
3f213f78
PA
162372007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
16238
16239 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
16240 targets.
16241 * configure: Regenerate.
16242
0d381245 162432007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16244
0d381245
VP
16245 * gdb.base/annota1.exp: Adjust for 'info break'
16246 format changes.
16247 * gdb.base/annota3.exp: Likewise.
16248 * gdb.base/break.exp: Likewise.
16249 * gdb.base/condbreak.exp: Likewise.
16250 * gdb.base/pending.exp: Likewise.
16251 * gdb.base/sepdebug.exp: Likewise.
16252 * gdb.base/unload.exp: Likewise.
16253 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 16254
fe3f5fa8
VP
162552007-09-22 Vladimir Prus <vladimir@codesourcery.com>
16256
16257 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
16258 messages.
16259 * gdb.base/chng-syms.exp: Likewise.
16260 * gdb.base/unload.exp: Likewise.
a9c64011 16261
a75cf6c0
DJ
162622007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
16263
16264 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
16265
18ecae38
DJ
162662007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
16267
16268 * schedlock.c (NUM): Change to 1.
16269 (main): Use args[0] for the main thread.
16270 * schedlock.exp: Only expect two threads. Only issue one pass or fail
16271 regardless of the number of threads.
16272
5509918f
MR
162732007-09-14 Maciej W. Rozycki <macro@mips.com>
16274
4a543daf
MR
16275 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
16276 type down.
16277 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16278 test.
16279 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
16280 watchpoint type down.
16281 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
16282 test.
16283
162842007-09-14 Maciej W. Rozycki <macro@mips.com>
16285
5509918f
MR
16286 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
16287 Move all the tests here and run them twice, once using software
16288 watchpoints and once using hardware watchpoints.
16289 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
16290
40b53987
DJ
162912007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
16292
16293 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
16294 test.
16295
695e2681
MK
162962007-09-10 Mark Kettenis <kettenis@gnu.org>
16297
8b3fc8d8
MK
16298 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
16299 build-id.
16300
695e2681
MK
16301 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
16302 know about $ORIGIN. Calculate output dir from $dest instead of
16303 using ${objdir}/{$subdir}.
16304
58d69f29
MK
163052007-09-09 Mark Kettenis <kettenis@gnu.org>
16306
16307 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
16308 gcore, before continuing with the test.
16309
3e347599
DJ
163102007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
16311
16312 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
16313 * gdb.mi/mi-watch.exp: Likewise.
16314
ea37ba09
DJ
163152007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16316 Jim Blandy <jimb@codesourcery.com>
16317
16318 * gdb.arch/i386-sse.exp: Do not expect character constants.
16319 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
16320 * gdb.base/display.exp: Allow print/s.
16321 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
16322 and unsigned char array changes.
16323
2025a643
DJ
163242007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
16325
16326 * gdb.base/display.exp: Add tests for printf %p.
16327
26669a27
PA
163282007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
16329
16330 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
16331 the dll name to unicode.
16332
c8f021f8
JK
163332007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16334
16335 * gdb.base/default.exp (show version): Update the version text.
16336 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
16337
4cf31eea
JK
163382007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
16339
16340 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
16341 New files.
16342
4935890f
JK
163432007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
16344
16345 * lib/gdb.exp (build_id_debug_filename_get): New function.
16346 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
16347 Remove the generate DEBUG file for the future testcase runs.
16348 New testcase for the NT_GNU_BUILD_ID retrieval.
16349 Move the final testing step to ...
16350 (test_different_dir): ... a new function.
16351 New parameter XFAIL to XFAIL all the tests performed.
16352 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
16353 New parameter TYPE to PF_PREFIX all the tests performed.
16354
02142340
VP
163552007-08-31 Vladimir Prus <vladimir@codesourcery.com>
16356
16357 * gdb.mi/mi-var-cp.cc (path_expression): New
16358 function.
16359 * gdb.mi/mi-var-cp.exp: Run path exression tests.
16360
36acd84e
UW
163612007-08-27 Markus Deuling <deuling@de.ibm.com>
16362
16363 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
16364 to fit into SPU Local Store memory.
16365
a896d121
JB
163662007-08-23 Joel Brobecker <brobecker@adacore.com>
16367
16368 * gdb.base/default.exp: Adjust the expected output of "info
16369 warranty" after the switch to GPLv3.
16370
7b433602
JB
163712007-08-23 Joel Brobecker <brobecker@adacore.com>
16372
16373 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
16374 to 30000 (from 20000).
16375
e22f8b7c
JB
163762007-08-23 Joel Brobecker <brobecker@adacore.com>
16377
16378 Switch the license of all .exp files to GPLv3.
16379 Switch the license of all .f and .f90 files to GPLv3.
16380 Switch the license of all .s and .S files to GPLv3.
16381
5a0e3bd0
JB
163822007-08-23 Joel Brobecker <brobecker@adacore.com>
16383
16384 * configure.ac: Switch license to GPLv3.
16385
cc00619d
JB
163862007-08-23 Joel Brobecker <brobecker@adacore.com>
16387
16388 Switch the licensing to GPLv3 for all .ads and .adb files.
16389
8d26208a
DJ
163902007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
16391
16392 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
16393 and t_int_double.
16394 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
16395
4fcb9948
JB
163962007-08-17 Joel Brobecker <brobecker@adacore.com>
16397
16398 * gdb.base/step-line.c: Switch license to GPL version 3, and
16399 update copyright year.
16400 * gdb.base/step-line.inp: Likewise.
16401
b9c34f67
JB
164022007-08-17 Joel Brobecker <brobecker@adacore.com>
16403
16404 * gdb.base/gdb1555.exp: Make expected output immune to formatting
16405 changes inside gdb1555.c.
16406 * gdb.base/pending.exp: Likewise.
16407
2cc17678
DJ
164082007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
16409
16410 * config/default.exp: New file.
16411
e48883f7
DJ
164122007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
16413
16414 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
16415 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
16416
1ab80e5b
MR
164172007-07-30 Maciej W. Rozycki <macro@mips.com>
16418
16419 * gdb.base/dump.exp: Force the correct endianness for binary
16420 formats not carrying this information.
16421
aba471f5
DJ
164222007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16423
16424 * gdb.threads/staticthreads.exp: Match .*sem_post.
16425
d4e07204
DJ
164262007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
16427
16428 * gdb.base/readline.exp (operate_and_get_next): Match the final
16429 prompt.
16430
2b97317d
KB
164312007-07-23 Kevin Buettner <kevinb@redhat.com>
16432
16433 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
16434 to restarting SID.
16435
44efa07a
KB
164362007-07-18 Kevin Buettner <kevinb@redhat.com>
16437
16438 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
16439 prior to `gdb_start'.
16440
7b5ebade
KB
164412007-07-18 Kevin Buettner <kevinb@redhat.com>
16442
16443 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
16444 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
16445 Remove call to gdb_unload.
16446
255e7678
DJ
164472007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
16448 Daniel Jacobowitz <dan@codesourcery.com>
16449
16450 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
16451 for __WIN32__.
16452 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
16453 * gdb.base/unload.exp: Use shared library test routines.
16454
3a40aaa0
UW
164552007-07-03 Markus Deuling <deuling@de.ibm.com>
16456
16457 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
16458 * gdb.base/solib-symbol-lib.c: Likewise.
16459 * gdb.base/solib-symbol-main.c: Likewise.
16460
b0f4b84b
DJ
164612007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
16462
16463 * config/gdbserver.exp (gdb_reconnect): New.
16464 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
16465 gdb.base/solib-disc.exp: New files.
16466 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
16467 remote debugging".
16468 (gdb_compile): Add shlib_load flag.
16469 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
16470 port.
16471 (gdbserver_reconnect): New.
16472
1b05479a
DJ
164732007-07-01 Nick Roberts <nickrob@snap.net.nz>
16474 Daniel Jacobowitz <dan@codesourcery.com>
16475
16476 * gdb.base/annota3.exp: Test for if construct.
16477
86f78eb2
DJ
164782007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
16479
16480 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
16481
6a2eb474 164822007-06-21 Chris Dearman <chris@mips.com>
a9c64011 16483 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
16484
16485 * gdb.base/display.exp: Allow a newline after display/i.
16486 * gdb.base/pc-fp.exp: Likewise.
16487 * gdb.base/sigbpt.exp: Likewise.
16488
f8b73d13
DJ
164892007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
16490
16491 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
16492 required features to be included.
16493
4339e69e
DJ
164942007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
16495
16496 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
16497 in info threads output.
16498
23d964e7
UW
164992007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16500 Markus Deuling <deuling@de.ibm.com>
16501
16502 * gdb.arch/spu-info.exp: New testcase.
16503 * gdb.arch/spu-info.c: New file.
16504
fd20f75b
DJ
165052007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
16506
16507 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
16508 tpcs_offset. Restore lr after the call.
16509 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
16510
2226f861
DJ
165112007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
16512
16513 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
16514 (gdbserver_run): Kill any running gdbserver.
16515 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
16516
d12371a9
MR
165172007-05-17 Maciej W. Rozycki <macro@mips.com>
16518
16519 * gdb.base/sigbpt.exp: Preset segv_addr.
16520
93f02886
DJ
165212007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
16522
16523 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
16524 (gdb_compile_shlib): Likewise.
16525 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
16526 (default_gdb_init): Clear cleanfiles.
16527 (gdb_finish): Delete recorded cleanfiles.
16528 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
16529
16530 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
16531 Do not use isnative.
16532 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
16533 gdb.base/so-impl-ld.exp: Likewise.
16534 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
16535 * gdb.base/unload.exp: Likewise. Do not pass empty option to
16536 gdb_compile.
16537
b04e06d7
VP
165382007-05-15 Vladimir Prus <vladimir@codesourcery.com>
16539
16540 * config/unknown.exp: Remove.
16541
069ed931
UW
165422007-05-15 Markus Deuling <deuling@de.ibm.com>
16543
16544 * gdb.base/info-proc.exp: Check is_remote.
16545
09db0d03
UW
165462007-05-14 Markus Deuling <deuling@de.ibm.com>
16547
16548 * gdb.base/gcore.exp: Initialize variable core_supported.
16549
af2cbe8c
DJ
165502007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16551
16552 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
16553
027c0295
DJ
165542007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16555
16556 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
16557 * gdb.threads/print-threads.exp (test_all_threads): Allow
16558 negative and hexadecimal thread IDs.
16559
dc5000e7
DJ
165602007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
16561
16562 * gdb.java/jprint.java (public): Avoid invalid call to static
16563 method.
16564
2e74ed18
DP
165652007-05-14 Denis Pilat <denis.pilat@st.com>
16566
16567 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
16568 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
16569 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16570 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
16571 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
16572
83547f02
UW
165732007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16574
16575 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 16576 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
16577 this mode.
16578 * gdb.base/ovlymgr.c: Provide stubs for spu target.
16579 * gdb.base/spu.ld: New file.
16580
b18be20d
DJ
165812007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
16582
16583 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
16584
be444858
DJ
165852007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
16586
16587 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
16588
b1d53152
DJ
165892007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16590
16591 * gdb.java/jmain.exp: Handle demangled names with and without method
16592 signatures.
16593
d084b331
DJ
165942007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
16595
16596 * gdb.mi/mi-syn-frame.c (main, foo, bar)
16597 (have_a_very_merry_interrupt): Remove calls to puts.
16598 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
16599 inferior output.
16600 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
16601 test names.
16602
db9d7fc5
DJ
166032007-04-29 Markus Deuling <deuling@de.ibm.com>
16604 Daniel Jacobowitz <dan@codesourcery.com>
16605
16606 * gdb.base/auxv.exp (core_works): Also check is_remote.
16607 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
16608
ef783a7d 166092007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 16610
ef783a7d
VP
16611 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
16612 message, not the undefined 'module' variable.
16613 * gdb.base/siginfo.exp: Likewise.
16614 * gdb.base/sigstep.exp: Likewise.
16615 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
16616 serialport.
16617 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
16618
b7b73cae
CV
166192007-04-25 Corinna Vinschen <vinschen@redhat.com>
16620
16621 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
16622 target sim fails. Return 0 otherwise.
16623 (gdb_load): Return prematurely if gdb_target_sim fails.
16624
7d90fdfa
DP
166252007-04-16 Denis Pilat <denis.pilat@st.com>
16626
16627 * gdb.base/setshow.exp: Reset height after having set it to 100.
16628
5d3e9c85
DP
166292007-04-16 Denis Pilat <denis.pilat@st.com>
16630
16631 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
16632
18e75969
DP
166332007-04-16 Denis Pilat <denis.pilat@st.com>
16634
16635 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
16636
25d5ea92
VP
166372007-04-14 Vladimir Prus <vladimir@codesourcery.com>
16638
16639 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
16640 tests. Run the frozen varobjs test.
16641 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 16642 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 16643
0b49cb80
JK
166442007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16645
16646 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
16647 gdb.base/type-opaque.exp: New files.
16648
a73bafbc 166492007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
16650
16651 * gdb.mi/mi-var-child.c
a73bafbc
VP
16652 (do_children_tests): User char[2] instead of
16653 char so that automatic printing of pointers to char
16654 don't give unpredicable result.
16655 * gdb.mi/var-cmd.c (do_locals_test): Initialize
16656 local variables.
16657 * gdb.mi/mi-var-child.exp: Step to right line
16658 of do_children_tests.
16659 * gdb.mi/mi2-var-child.exp: Likewise.
16660 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 16661 do_locals_tests.
a73bafbc
VP
16662 (do_children_tests): User char[2] instead of
16663 char so that automatic printing of pointers to char
a9c64011 16664 don't give unpredicable result.
a73bafbc 16665 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 16666 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
16667 Pass test name to mi_wait_for_stop.
16668
7ce59000
DJ
166692007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16670
16671 * gdb.asm/asm-source.exp: Remove d10v case.
16672 * lib/gdb.exp (skip_cplus_tests): Likewise.
16673 * gdb.asm/d10v.inc: Deleted.
16674
20389057
DJ
166752007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16676
16677 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
16678
8807d78b
DJ
166792007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
16680
16681 * config/netware.exp: Delete file.
16682
aa3edb8e
JB
166832007-03-29 Joel Brobecker <brobecker@adacore.com>
16684
16685 * gdb.dwarf2/dw2-noloc.S: New file.
16686 * gdb.dwarf2/dw2-noloc.exp: New file.
16687
297561ac
PA
166882007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
16689
16690 * gdb.cp/method2.cc: New test.
16691 * gdb.cp/method2.exp: New test.
16692 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
16693
1f81bd39
DJ
166942007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
16695
16696 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
16697
9453113a
DJ
166982007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
16699
16700 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
16701
b741e217
DJ
167022007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
16703
16704 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
16705 (gdb_load): Delete, replace with...
16706 (gdb_reload): ...this.
16707 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
16708 * gdb.server/server-mon.exp: Likewise.
16709 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
16710 (gdb_start_cmd): New.
16711 (gdb_file_cmd): Save the last loaded file.
16712 (gdb_reload): New.
16713 (gdb_gnu_strip_debug): Use transform.
16714 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
16715 support here. Use new $last_loaded_file. Check mtime.
16716 (gdb_target_cmd): Handle ObjC failure case.
16717 (infer_host_exec): Delete.
16718 (gdbserver_load): Rename to...
16719 (gdbserver_run): ...this. Simplify.
16720 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
16721 (mi_gdb_load): Move most contents to a new function...
16722 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
16723 (mi_run_cmd): Use mi_gdb_target_load.
16724 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
16725 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
16726 Use gdb_run_cmd.
16727 * gdb.base/charsign.exp: Remove incorrect comment.
16728 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
16729 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
16730 gdb.base/start.exp: Use gdb_start_cmd.
16731
446ab585 167322007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 16733 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
16734
16735 * gdb.base/sigbpt.exp: Fix the message when skipping test.
16736 * gdb.base/signull.exp: Similarly.
16737
bbb88ebf
UW
167382007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16739
16740 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
16741 messages available to test cases (like chng-sym.exp).
16742
cb8c4a99
AS
167432007-03-14 Andreas Schwab <schwab@suse.de>
16744
16745 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
16746 format changes.
16747
4e463ff5
DJ
167482007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
16749
16750 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
16751 (optimized_1): New.
16752 (main): Call optimized_1.
16753 (gdb2029): Correct typos. Call gdb2029_marker.
16754 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
16755 for gdb2029.
16756
b6db2c47
MK
167572007-03-12 Mark Kettenis <kettenis@gnu.org>
16758
16759 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
16760 as tabs. Remove redundant test pattern.
16761
70ed3737
UW
167622007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16763
16764 * gdb.base/long_long.exp: Accept optional symbol name in <...>
16765 for /a format output.
16766
47b67b60
DJ
167672007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
16768
16769 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
16770 collect output incrementally.
16771
b8953b0e
UW
167722007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16773
16774 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
16775 for -var-create lpcharacter test.
16776 * gdb.mi/mi2-var-cmd.exp: Likewise.
16777
7acd5c40
UW
167782007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16779
16780 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
16781 pass on targets where address zero is readable.
16782
9c6759c1
UW
167832007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16784
16785 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
16786 just a single architecture.
16787
a2f1aeb4
UW
167882007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16789
16790 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
16791 (fetch_all_registers): New function, uses gdb_test_multiple and
16792 exp_continue to fetch inferior output line-by-line.
16793 Replace all uses of do_get_all_registers by fetch_all_registers.
16794
46579ac2
UW
167952007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16796
16797 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
16798 in target_info.
16799
fc133f24
MS
168002007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16801
a9c64011 16802 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
16803 consistancy; add a default (timeout) case.
16804
7646a51d
MS
168052007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16806
16807 * gdb.base/watchpoint.exp: Fix truncated comment.
16808
dcfff61f
MS
168092007-03-02 Michael Snyder <michael.snyder@palmsource.com>
16810
16811 * Makefile.in: Remove spurious single-quotes from sed command.
16812
664e3ee9
DJ
168132007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
16814
16815 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
16816 func.
16817 * gdb.mi/mi2-var-cmd.exp: Likewise.
16818
d7cc6f2f
JB
168192007-02-27 Joel Brobecker <brobecker@adacore.com>
16820
a9c64011
AS
16821 * gdb.dwarf2/dw2-producer.S: New file.
16822 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
16823
168242007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
16825
16826 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16827 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16828 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16829 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16830 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16831 Revert tests to use mi_gdb_test and include value field in output
16832 of -var-create.
16833
93d42b30
DJ
168342007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16835
16836 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
16837
c499ed39
DJ
168382007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16839
16840 * gdb.base/maint.exp: Remove full paths from test names.
16841 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16842 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16843
9836f81b
JB
168442007-02-27 Joel Brobecker <brobecker@adacore.com>
16845
16846 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16847
c74d0ad8
DJ
168482007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16849
16850 * gdb.server/server-mon.exp: New test.
16851
2711e456
DJ
168522007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16853
16854 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16855
ff6f572f
DJ
168562007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16857
16858 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16859 register capitalization.
16860
fada3feb
DP
168612007-02-13 Denis Pilat <denis.pilat@st.com>
16862
16863 * gdb.mi/mi-var-invalidate.exp: New file.
16864
fb1e4ffc
DJ
168652007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16866
16867 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16868
3da939d7
DJ
168692007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16870
16871 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16872
123dc839
DJ
168732007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16874
16875 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16876 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16877
877e3645 168782007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
16879
16880 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16881 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16882 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16883 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16884 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 16885 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 16886 Update tests to include value field in output of -var-create.
a9c64011 16887
3c0a2960
AS
168882007-02-08 Andreas Schwab <schwab@suse.de>
16889
16890 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16891
108546a0
DJ
168922007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16893
16894 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16895 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16896
d701dcab
DP
168972007-02-02 Denis Pilat <denis.pilat@st.com>
16898
16899 * gdb.threads/threadapply.exp: check that frame is not changed by
16900 the thread apply all command.
16901
783e3e2f
AS
169022007-01-31 Andreas Schwab <schwab@suse.de>
16903
6d9c3a87
AS
16904 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16905
3c50d7b9
AS
16906 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16907 in the dwarf sections.
16908 * gdb.dwarf2/mac-fileno.S: Likewise.
16909
783e3e2f
AS
16910 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16911 bspstore register on ia64.
16912
78ff580e
AS
169132007-01-29 Andreas Schwab <schwab@suse.de>
16914
cc8e9b12
AS
16915 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16916 "frame-begin" annotation.
16917
78ff580e
AS
16918 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16919 number of "frames-invalid" annotations.
16920
704a4f78
DJ
169212007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16922
16923 * gdb.base/commands.exp: Call if_commands_test.
16924 (gdb_test_no_prompt, if_commands_test): New.
16925
e741bf94
MK
169262007-01-28 Mark Kettenis <kettenis@gnu.org>
16927
16928 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16929
474d0ad3
AS
169302007-01-27 Andreas Schwab <schwab@suse.de>
16931
16932 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16933 .short/.int/.quad in the dwarf sections.
16934 * gdb.dwarf2/dw2-intercu.S: Likewise.
16935 * gdb.dwarf2/dw2-intermix.S: Likewise.
16936
e784b426
JK
169372007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16938
16939 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
16940 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16941 array.
e784b426
JK
16942 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16943 * gdb.base/setvar.exp: Likewise.
16944
37f08e04
AS
169452007-01-26 Andreas Schwab <schwab@suse.de>
16946
9a01813a
AS
16947 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16948 test.
16949
37f08e04
AS
16950 * gdb.base/multi-forks.exp ("restart $i"): Also match
16951 __kernel_syscall_via_break.
16952
6e2a9270
VP
169532007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16954
16955 * lib/mi-support.exp (mi_delete_varobj): New.
16956 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16957 testcase.
16958 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16959 (main): Call the above.
16960 (reference_update_test, base_in_reference_test)
16961 (reference_to_pointer): Delete the created varobjs.
a9c64011 16962
e515b470
DJ
169632007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16964
16965 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16966 * configure: Regenerated.
16967 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16968 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16969 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16970 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16971 * lib/gdb.exp (gdb_skip_xml_test): New function.
16972
08d8bcd7
DJ
169732007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16974
16975 * gdb.base/sigrepeat.exp: Correct error message.
16976
169772007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
16978 Daniel Jacobowitz <dan@codesourcery.com>
16979
16980 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16981 gdb.arch/i386-gnu-cfi-asm.S: New files.
16982
97c3f1f3
JK
169832007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16984
16985 * lib/gdb.exp: Abort on missing `site.exp'.
16986
cb1df416
DJ
169872007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16988 Daniel Jacobowitz <dan@codesourcery.com>
16989
16990 * gdb.base/included.c, gdb.base/included.exp,
16991 gdb.base/included.h: New files.
16992
35990120
DJ
169932007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16994
16995 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16996 (maximize_rlimit): Reduce limits on 64-bit systems.
16997
6e81a116 169982007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
16999
17000 From Marcus Deuling <deuling@de.ibm.com>:
17001 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
17002 every case.
17003
6c3c41f3
NR
170042007-01-13 Nick Roberts <nickrob@snap.net.nz>
17005
17006 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
17007 (test_path_specification): Use objdir instead of srcdir to always
17008 get an absolute filename.
17009
2f12c312
DJ
170102007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
17011
17012 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
17013
81121995
VP
170142007-01-11 Vladimir Prus <vladimir@codesourcery.com>
17015
17016 * gdb.mi/mi-var-cp.cc (reference_update_tests):
17017 Make sure the variable we're using is in scope.
17018 (reference_to_pointer): Likewise.
17019
4741b737
DJ
170202007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17021
17022 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
17023 has no debug information.
17024
054410c3
DJ
170252007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
17026
17027 * gdb.base/annota1.exp: Remove extra send_gdb.
17028
818f79f6
DJ
170292007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17030
17031 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
17032
f7a6bb70
DJ
170332007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17034
17035 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
17036
57e66780
DJ
170372007-01-08 Nick Roberts <nickrob@snap.net.nz>
17038 Daniel Jacobowitz <dan@codesourcery.com>
17039
17040 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
17041 lcharacter or linteger change. Correct duplicated test name.
17042 * gdb.mi/mi2-var-cmd.exp: Likewise.
17043
3d799a95
DJ
170442007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
17045
17046 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
17047
170482007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 17049
a9c64011
AS
17050 * gdb.base/nofield.c: New file.
17051 * gdb.base/nofield.exp: New testcase.
51679ba9 17052
eafb94e8
NR
170532007-01-05 Nick Roberts <nickrob@snap.net.nz>
17054
17055 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
17056
17057 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
17058 test.
17059
5e572bb4
DJ
170602007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17061
17062 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
17063
74a44383
DJ
170642007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
17065
17066 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
17067 when continuing.
17068
1b572db9
DJ
170692007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17070
17071 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
17072 Expect ".exe" extension.
17073
381bc39b
DJ
170742007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17075
17076 * gdb.base/charset.exp: Add explicit filename to break.
17077 * gdb.base/dbx.exp: Add explicit filename to breaks.
17078
2b70e4c6
DJ
170792007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
17080
17081 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
17082 * gdb.mi/mi2-file.exp: Likewise.
17083
303b6f5d
DJ
170842007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17085
17086 Implement specification of MI tests as comments
17087 in C and C++ sources.
17088 * lib/mi-support.exp (mi_autotest_data): New variable.
17089 (mi_autotest_source): New variable.
17090 (count_newlines, mi_prepare_inline_tests)
17091 (mi_get_inline_test, mi_continue_to_line)
17092 (mi_run_inline_test, mi_tbreak)
17093 (mi_send_resuming_command, mi_wait_for_stop): New functions.
17094 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
17095 Run inline tests.
17096 * gdb.mi/mi-var-cp.cc: Define tests here.
17097
23da0d94
VP
170982007-01-04 Vladimir Prus <vladimir@codesourcery.com>
17099
17100 Simplify usage of mi_continue_to.
17101 * lib/mi-support.exp (mi_runto_helper): Renamed
17102 from mi_runto, added new parameter 'run_or_continue'.
17103 (mi_runto): Use mi_runto_helper.
17104 (mi_continue_to): Accept just function name as parameter.
17105 Use mi_runto_helper.
17106 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
17107 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 17108
f9e18282
JB
171092006-01-04 Joel Brobecker <brobecker@adacore.com>
17110
17111 Make this testcase a bit more realistic. The current code
17112 is too simplistic, and allows the compiler to optimize out
17113 some of the entities we need for this testcase.
17114 * gdb.ada/null_record/bar.ads (Void_Star): New type.
17115 (Do_Nothing): Add extra parameter.
17116 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
17117 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
17118 by using a variable of type Void_Star.
17119
fd678c65
JB
171202006-01-04 Joel Brobecker <brobecker@adacore.com>
17121
17122 * gdb.ada/catch_ex/foo.adb: New file.
17123 * gdb.ada/catch_ex.exp: New testcase.
17124
05cfdb42
DJ
171252007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
17126
17127 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
17128 pass --image-base to linker.
17129
2e03ee74
DJ
171302007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
17131 Daniel Jacobowitz <dan@codesourcery.com>
17132
17133 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
17134 secondary prompts.
17135
0d5de010
DJ
171362007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17137
17138 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
17139 output. Test the types of members and member pointers.
17140 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
17141 gdb/2092.
17142 * gdb.cp/member-ptr.exp: Search for a comment instead of a
17143 statement. Enable for GCC. Update expected output for some tests
17144 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
17145 layout.
17146 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
17147 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
17148 (Diamond::vget_base): New.
17149 (main): Add new tests.
17150 * gdb.cp/printmethod.exp: Update expected output for member functions.
17151 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
17152 print pEe->D::vg().
17153
61a771aa
DJ
171542007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
17155
17156 * gdb.threads/tls.exp: Allow stops in sem_post.
17157
2fa63963
DJ
171582006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
17159
17160 * gdb.base/annota1.exp: Allow .*printf in backtraces.
17161 * gdb.base/annota3.exp: Likewise.
17162 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
17163 again (instead of timing out).
17164 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
17165 GCC bug 26475.
17166 * gdb.java/jmisc.exp: Adjust to work with method signatures including
17167 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
17168 test from jmisc1.exp.
17169 * gdb.java/jmisc1.exp: Delete.
17170 * gdb.java/jprint.exp: Adjust to work with method signatures including
17171 return types.
17172 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
17173 * gdb.threads/linux-dp.exp: Don't be confused by program output.
17174 * lib/java.exp (compile_java_from_source): Pass the correct type
17175 to target_compile.
17176
5eefc2b7
JB
171772006-12-31 Joel Brobecker <brobecker@adacore.com>
17178
17179 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
17180 (stack_align_edx): New function.
17181 (stack_align_eax): New function.
17182 (main): Add calls to stack_align_edx and stack_align_eax.
17183 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
17184 Add testing for the cases where the register used during a stack
17185 realignment is edx. Same for eax.
17186
227c54da
DJ
171872006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
17188
17189 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
17190 and generic PE targets.
17191
cab8ac94
JB
171922006-12-29 Joel Brobecker <brobecker@adacore.com>
17193
17194 * gdb.ada/array_return.exp: Update copyright date list.
17195
ba54f318
JB
171962006-12-27 Joel Brobecker <brobecker@adacore.com>
17197
17198 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
17199 (Create_Small_Float_Vector): New function.
17200 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
17201 function body.
17202 * gdb.ada/array_return/p.adb: Use new type and function from
17203 package Pck.
17204 * gdb.ada/array_return.exp: Add a test verifying that GDB is
17205 able to print the value returned by a function returning an
17206 array of float.
17207
6b7a35dd
JB
172082006-12-20 Joel Brobecker <brobecker@adacore.com>
17209
17210 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
17211 The associated tests should be PASSing.
17212
038224f6
VP
172132006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17214
17215 Test for base in references.
17216 * gdb.mi/mi-var-cp.cc: Add test code.
17217 * gdb.mi/mi-var-cp.exp: Test for bases in references.
17218 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
17219 * gdb.mi/mi2-watch.exp: Likewise.
17220 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
17221 (mi_list_varobj_children): New function.
17222
b26ed50d
VP
172232006-12-08 Vladimir Prus <vladimir@codesourcery.com>
17224
17225 * lib/mi-support.exp
17226 (mi_runto): Accept "()" after function name.
17227 (mi_create_varobj): New function.
17228 (mi_varobj_update): New function.
17229 (mi_Check_varobj_value): New function.
17230 * gdb.mi/mi-var-cp.exp: New file.
17231 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 17232
08232497
DJ
172332006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
17234
17235 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
17236 gdb.base/weaklib2.c: New files.
17237
d394c993 172382006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 17239
ac6c2fba
NS
17240 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
17241 info. Adjust test names.
17242
8ec659a0 17243 * gdb.base/break.c (main): Move position of malloc.
d394c993 17244 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 17245
acd65feb
VP
172462006-11-28 Vladimir Prus <vladimir@codesourcery.com>
17247
17248 * gdb.mi/mi-var-cmd.exp: Check -var-update after
17249 assignement of arrays and function pointers.
17250 * gdb.mi/var-cmd.c: Add declaration necessary for above
17251 tests.
17252
f556d5e5
NS
172532006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17254
17255 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
17256
17257 * gdb.threads/linux-dp.exp: Read thread table before and after
17258 creating each philosopher and verify it.
17259
697bc68d
NS
172602006-11-27 Nathan Sidwell <nathan@codesourcery.com>
17261 Paul Brook <paul@codesourcery.com>
17262 Daniel Jacobowitz <dan@codesourcery.com>
17263
17264 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 17265 main to remove duplication. Add start function of the form
697bc68d
NS
17266 '_*start[1-9]*'. Add RVDS start function.
17267
29d73ae4
DJ
172682006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17269
17270 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
17271
c1d88655
UW
172722006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17273
17274 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
17275 * gdb.asm/spu.inc: New file.
17276 * gdb.base/term.exp: Disable if [target_info exists noargs].
17277 * gdb.gdb/complaints.exp: Disable if ![isnative].
17278 * gdb.gdb/selftest.exp: Likewise.
17279 * gdb.gdb/observer.exp: Likewise.
17280 * gdb.gdb/xfullpath.exp: Likewise.
17281 * gdb.base/attach.exp: Disable on SPU target.
17282 * gdb.cp/bs145503.exp: Likewise.
17283 * gdb.cp/exception.exp: Likewise.
17284 * gdb.cp/userdef.exp: Likewise.
17285
32a13b1a
DJ
172862006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
17287
17288 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
17289
d8295fe9
VP
172902006-11-10 Vladimir Prus <vladimir@codesourcery.com>
17291
17292 * gdb.base/completion.exp: Fix completion tests for
17293 'info' and 'info '.
17294 * gdb.base/help.exp (help_test_raw, test_class_help)
17295 (test_prefix_command_help): Move...
17296 * lib/gdb.exp: Here.
17297 * gdb.base/main.exp: Adjust.
17298 * gdb.cp/maint.exp: Adjust.
17299 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 17300
8c394015
VP
173012006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17302
17303 * gdb.stabs/weird.exp (print_weird_var): Use
17304 gdb_test_multiple instead of gdb_expect.
17305
027fc1bc
VP
173062006-11-09 Vladimir Prus <vladimir@codesourcery.com>
17307
17308 * gdb.base/help.exp (help_test_raw): New.
17309 (test_class_help): New.
17310 (test_prefix_command_help): New.
17311 Adjust testcases.
17312
67609209
FR
173132006-11-09 Christophe Lyon <christophe.lyon@st.com>
17314
17315 * gdb.base/constvars.c (main): Write to crass and crips, so that
17316 they are allocated by the compiler.
17317
f73adfeb
AS
173182006-10-27 Andreas Schwab <schwab@suse.de>
17319
17320 * gdb.base/multi-forks.exp: Use "detach fork" instead of
17321 "detach-fork".
17322
2f83a18e
DJ
173232006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
17324
17325 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
17326 of patterns.
17327
94277a38
DJ
173282006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17329
17330 * gdb.base/sepdebug.exp: Remove debug format test.
17331 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
17332 Handle no-symtab.
17333 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
17334
5bd2f6e2
DJ
173352006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
17336
17337 * gdb.threads/manythreads.c (thread_function, main): Don't cast
17338 int to pointer or pointer to int.
17339 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
17340
8c008720
DJ
173412006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
17342
17343 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
17344
9e35dae4
DJ
173452006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
17346
17347 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
17348
d9639e13
DJ
173492006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
17350
17351 PR c++/2116
17352 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
17353
390a1bd0
JB
173542006-10-06 Joel Brobecker <brobecker@adacore.com>
17355
17356 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
17357 the corresponding bug has been fixed in GDB (PR/2018).
17358
dd920c33
JB
173592006-10-06 Joel Brobecker <brobecker@adacore.com>
17360
17361 * gdb.base/subst.exp: New testcase.
17362
53bbefe9
JB
173632006-10-06 Joel Brobecker <brobecker@adacore.com>
17364
17365 * gdb.ada/array_return/pck.ads: Add copyright notice.
17366 * gdb.ada/array_return/pck.adb: Likewise.
17367 * gdb.ada/array_return/p.adb: Likewise.
17368 * gdb.ada/exec_changed/first.adb: Likewise.
17369 * gdb.ada/exec_changed/second.adb: Likewise.
17370
09851417
JB
173712006-10-06 Joel Brobecker <brobecker@adacore.com>
17372
17373 * gdb.ada/watch_arg/watch.adb: New file.
17374 * gdb.ada/watch_arg.exp: New testcase.
17375
041bf30d
VP
173762006-10-02 Vladimir Prus <vladimir@codesourcery.com>
17377
17378 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 17379 via string_to_regexp.
041bf30d 17380 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 17381
f286fbdd 173822006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
17383
17384 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
17385 Remove unused / obsolete files.
17386
7c07f349
NR
173872006-09-19 Nick Roberts <nickrob@snap.net.nz>
17388
17389 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
17390
cd5ff84a
VP
173912006-09-17 Vladimir Prus <vladimir@codesourcery.com>
17392
17393 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
17394 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 17395 the number of frames.
cd5ff84a 17396
ae018d1a
DJ
173972006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
17398
17399 * gdb.base/args.c (main): Add breakpoint marker.
17400 * gdb.base/args.exp: Use args_test for tests. Add new tests which
17401 really test empty arguments.
17402 (args_load): Delete.
17403 (args_test): New.
17404
b399c549
NR
174052006-09-13 Nick Roberts <nickrob@snap.net.nz>
17406
17407 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 17408 check for one file.
b399c549 17409
2ab1eb7a
VP
174102006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
17411
17412 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
17413 HIGH_FRAME argument to -stack-list-locals can be larger than
17414 the number of frames.
a9c64011 17415
476308bf
FF
174162006-08-18 Fred Fish <fnf@specifix.com>
17417
17418 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
17419 '$' in front of skip_vmx_tests_saved when setting that.
17420
8625200f
AS
174212006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
17422
17423 * gdb.base/trace-commands.exp: New file.
17424
089ec8f1
DJ
174252006-08-10 Joel Brobecker <brobecker@adacore.com>
17426 Daniel Jacobowitz <dan@codesourcery.com>
17427
17428 * gdb.base/step-bt.exp: Make hexadecimal address optional in
17429 expected output of the backtrace commands.
17430
b60f0898
JB
174312006-08-09 Joel Brobecker <brobecker@adacore.com>
17432
17433 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
17434 untested followed by return combination.
17435 * gdb.arch/altivec-regs.exp: Likewise.
17436 * gdb.arch/e500-abi.exp: Likewise.
17437 * gdb.arch/e500-regs.exp: Likewise.
17438 * gdb.arch/gdb1291.exp: Likewise.
17439 * gdb.arch/gdb1431.exp: Likewise.
17440 * gdb.arch/gdb1558.exp: Likewise.
17441 * gdb.arch/i386-prologue.exp: Likewise.
17442 * gdb.arch/i386-unwind.exp: Likewise.
17443 * gdb.asm/asm-source.exp: Likewise.
17444 * gdb.base/a2-run.exp: Likewise.
17445 * gdb.base/advance.exp: Likewise.
17446 * gdb.base/all-bin.exp: Likewise.
17447 * gdb.base/annota1.exp: Likewise.
17448 * gdb.base/annota3.exp: Likewise.
17449 * gdb.base/args.exp: Likewise.
17450 * gdb.base/arithmet.exp: Likewise.
17451 * gdb.base/assign.exp: Likewise.
17452 * gdb.base/async.exp: Likewise.
17453 * gdb.base/attach.exp: Likewise.
17454 * gdb.base/bang.exp: Likewise.
17455 * gdb.base/bigcore.exp: Likewise.
17456 * gdb.base/bitfields.exp: Likewise.
17457 * gdb.base/bitfields2.exp: Likewise.
17458 * gdb.base/break.exp: Likewise.
17459 * gdb.base/call-sc.exp: Likewise.
17460 * gdb.base/call-strs.exp: Likewise.
17461 * gdb.base/callfuncs.exp: Likewise.
17462 * gdb.base/checkpoint.exp: Likewise.
17463 * gdb.base/chng-syms.exp: Likewise.
17464 * gdb.base/code-expr.exp: Likewise.
17465 * gdb.base/commands.exp: Likewise.
17466 * gdb.base/completion.exp: Likewise.
17467 * gdb.base/cond-expr.exp: Likewise.
17468 * gdb.base/condbreak.exp: Likewise.
17469 * gdb.base/consecutive.exp: Likewise.
17470 * gdb.base/constvars.exp: Likewise.
17471 * gdb.base/corefile.exp: Likewise.
17472 * gdb.base/cvexpr.exp: Likewise.
17473 * gdb.base/dbx.exp: Likewise.
17474 * gdb.base/define.exp: Likewise.
17475 * gdb.base/detach.exp: Likewise.
17476 * gdb.base/display.exp: Likewise.
17477 * gdb.base/dump.exp: Likewise.
17478 * gdb.base/ena-dis-br.exp: Likewise.
17479 * gdb.base/ending-run.exp: Likewise.
17480 * gdb.base/environ.exp: Likewise.
17481 * gdb.base/eval-skip.exp: Likewise.
17482 * gdb.base/exprs.exp: Likewise.
17483 * gdb.base/fileio.exp: Likewise.
17484 * gdb.base/finish.exp: Likewise.
17485 * gdb.base/float.exp: Likewise.
17486 * gdb.base/foll-exec.exp: Likewise.
17487 * gdb.base/foll-fork.exp: Likewise.
17488 * gdb.base/foll-vfork.exp: Likewise.
17489 * gdb.base/freebpcmd.exp: Likewise.
17490 * gdb.base/funcargs.exp: Likewise.
17491 * gdb.base/gcore.exp: Likewise.
17492 * gdb.base/gdb1090.exp: Likewise.
17493 * gdb.base/gdb1250.exp: Likewise.
17494 * gdb.base/huge.exp: Likewise.
17495 * gdb.base/info-proc.exp: Likewise.
17496 * gdb.base/interrupt.exp: Likewise.
17497 * gdb.base/jump.exp: Likewise.
17498 * gdb.base/langs.exp: Likewise.
17499 * gdb.base/lineinc.exp: Likewise.
17500 * gdb.base/list.exp: Likewise.
17501 * gdb.base/logical.exp: Likewise.
17502 * gdb.base/long_long.exp: Likewise.
17503 * gdb.base/macscp.exp: Likewise.
17504 * gdb.base/maint.exp: Likewise.
17505 * gdb.base/mips_pro.exp: Likewise.
17506 * gdb.base/miscexprs.exp: Likewise.
17507 * gdb.base/multi-forks.exp: Likewise.
17508 * gdb.base/opaque.exp: Likewise.
17509 * gdb.base/overlays.exp: Likewise.
17510 * gdb.base/pc-fp.exp: Likewise.
17511 * gdb.base/pointers.exp: Likewise.
17512 * gdb.base/printcmds.exp: Likewise.
17513 * gdb.base/psymtab.exp: Likewise.
17514 * gdb.base/ptype.exp: Likewise.
17515 * gdb.base/recurse.exp: Likewise.
17516 * gdb.base/relational.exp: Likewise.
17517 * gdb.base/relocate.exp: Likewise.
17518 * gdb.base/remote.exp: Likewise.
17519 * gdb.base/reread.exp: Likewise.
17520 * gdb.base/restore.exp: Likewise.
17521 * gdb.base/return.exp: Likewise.
17522 * gdb.base/return2.exp: Likewise.
17523 * gdb.base/scope.exp: Likewise.
17524 * gdb.base/sect-cmd.exp: Likewise.
17525 * gdb.base/sep.exp: Likewise.
17526 * gdb.base/sepdebug.exp: Likewise.
17527 * gdb.base/setshow.exp: Likewise.
17528 * gdb.base/setvar.exp: Likewise.
17529 * gdb.base/sigall.exp: Likewise.
17530 * gdb.base/sigbpt.exp: Likewise.
17531 * gdb.base/signals.exp: Likewise.
17532 * gdb.base/signull.exp: Likewise.
17533 * gdb.base/sizeof.exp: Likewise.
17534 * gdb.base/solib.exp: Likewise.
17535 * gdb.base/step-line.exp: Likewise.
17536 * gdb.base/step-test.exp: Likewise.
17537 * gdb.base/structs.exp: Likewise.
17538 * gdb.base/structs2.exp: Likewise.
17539 * gdb.base/term.exp: Likewise.
17540 * gdb.base/twice.exp: Likewise.
17541 * gdb.base/until.exp: Likewise.
17542 * gdb.base/varargs.exp: Likewise.
17543 * gdb.base/volatile.exp: Likewise.
17544 * gdb.base/watchpoint.exp: Likewise.
17545 * gdb.base/whatis-exp.exp: Likewise.
17546 * gdb.base/whatis.exp: Likewise.
17547 * gdb.cp/ambiguous.exp: Likewise.
17548 * gdb.cp/annota2.exp: Likewise.
17549 * gdb.cp/annota3.exp: Likewise.
17550 * gdb.cp/bool.exp: Likewise.
17551 * gdb.cp/breakpoint.exp: Likewise.
17552 * gdb.cp/casts.exp: Likewise.
17553 * gdb.cp/class2.exp: Likewise.
17554 * gdb.cp/classes.exp: Likewise.
17555 * gdb.cp/cplusfuncs.exp: Likewise.
17556 * gdb.cp/ctti.exp: Likewise.
17557 * gdb.cp/derivation.exp: Likewise.
17558 * gdb.cp/exception.exp: Likewise.
17559 * gdb.cp/gdb1355.exp: Likewise.
17560 * gdb.cp/hang.exp: Likewise.
17561 * gdb.cp/inherit.exp: Likewise.
17562 * gdb.cp/local.exp: Likewise.
17563 * gdb.cp/m-data.exp: Likewise.
17564 * gdb.cp/m-static.exp: Likewise.
17565 * gdb.cp/member-ptr.exp: Likewise.
17566 * gdb.cp/method.exp: Likewise.
17567 * gdb.cp/misc.exp: Likewise.
17568 * gdb.cp/namespace.exp: Likewise.
17569 * gdb.cp/overload.exp: Likewise.
17570 * gdb.cp/ovldbreak.exp: Likewise.
17571 * gdb.cp/pr-1023.exp: Likewise.
17572 * gdb.cp/pr-1210.exp: Likewise.
17573 * gdb.cp/pr-574.exp: Likewise.
17574 * gdb.cp/printmethod.exp: Likewise.
17575 * gdb.cp/psmang.exp: Likewise.
17576 * gdb.cp/ref-params.exp: Likewise.
17577 * gdb.cp/ref-types.exp: Likewise.
17578 * gdb.cp/rtti.exp: Likewise.
17579 * gdb.cp/templates.exp: Likewise.
17580 * gdb.cp/try_catch.exp: Likewise.
17581 * gdb.cp/userdef.exp: Likewise.
17582 * gdb.cp/virtfunc.exp: Likewise.
17583 * gdb.disasm/am33.exp: Likewise.
17584 * gdb.disasm/h8300s.exp: Likewise.
17585 * gdb.disasm/mn10300.exp: Likewise.
17586 * gdb.disasm/sh3.exp: Likewise.
17587 * gdb.disasm/t01_mov.exp: Likewise.
17588 * gdb.disasm/t02_mova.exp: Likewise.
17589 * gdb.disasm/t03_add.exp: Likewise.
17590 * gdb.disasm/t04_sub.exp: Likewise.
17591 * gdb.disasm/t05_cmp.exp: Likewise.
17592 * gdb.disasm/t06_ari2.exp: Likewise.
17593 * gdb.disasm/t07_ari3.exp: Likewise.
17594 * gdb.disasm/t08_or.exp: Likewise.
17595 * gdb.disasm/t09_xor.exp: Likewise.
17596 * gdb.disasm/t10_and.exp: Likewise.
17597 * gdb.disasm/t11_logs.exp: Likewise.
17598 * gdb.disasm/t12_bit.exp: Likewise.
17599 * gdb.disasm/t13_otr.exp: Likewise.
17600 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
17601 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
17602 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
17603 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
17604 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
17605 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17606 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17607 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17608 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
17609 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
17610 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17611 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17612 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17613 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17614 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17615 * gdb.mi/gdb701.exp: Likewise.
17616 * gdb.mi/gdb792.exp: Likewise.
17617 * gdb.mi/mi-basics.exp: Likewise.
17618 * gdb.mi/mi-break.exp: Likewise.
17619 * gdb.mi/mi-cli.exp: Likewise.
17620 * gdb.mi/mi-console.exp: Likewise.
17621 * gdb.mi/mi-disassemble.exp: Likewise.
17622 * gdb.mi/mi-eval.exp: Likewise.
17623 * gdb.mi/mi-file.exp: Likewise.
17624 * gdb.mi/mi-read-memory.exp: Likewise.
17625 * gdb.mi/mi-regs.exp: Likewise.
17626 * gdb.mi/mi-return.exp: Likewise.
17627 * gdb.mi/mi-simplerun.exp: Likewise.
17628 * gdb.mi/mi-stack.exp: Likewise.
17629 * gdb.mi/mi-stepi.exp: Likewise.
17630 * gdb.mi/mi-syn-frame.exp: Likewise.
17631 * gdb.mi/mi-until.exp: Likewise.
17632 * gdb.mi/mi-var-block.exp: Likewise.
17633 * gdb.mi/mi-var-child.exp: Likewise.
17634 * gdb.mi/mi-var-cmd.exp: Likewise.
17635 * gdb.mi/mi-var-display.exp: Likewise.
17636 * gdb.mi/mi-watch.exp: Likewise.
17637 * gdb.mi/mi2-basics.exp: Likewise.
17638 * gdb.mi/mi2-break.exp: Likewise.
17639 * gdb.mi/mi2-cli.exp: Likewise.
17640 * gdb.mi/mi2-console.exp: Likewise.
17641 * gdb.mi/mi2-disassemble.exp: Likewise.
17642 * gdb.mi/mi2-eval.exp: Likewise.
17643 * gdb.mi/mi2-file.exp: Likewise.
17644 * gdb.mi/mi2-read-memory.exp: Likewise.
17645 * gdb.mi/mi2-regs.exp: Likewise.
17646 * gdb.mi/mi2-return.exp: Likewise.
17647 * gdb.mi/mi2-simplerun.exp: Likewise.
17648 * gdb.mi/mi2-stack.exp: Likewise.
17649 * gdb.mi/mi2-stepi.exp: Likewise.
17650 * gdb.mi/mi2-syn-frame.exp: Likewise.
17651 * gdb.mi/mi2-until.exp: Likewise.
17652 * gdb.mi/mi2-var-block.exp: Likewise.
17653 * gdb.mi/mi2-var-child.exp: Likewise.
17654 * gdb.mi/mi2-var-cmd.exp: Likewise.
17655 * gdb.mi/mi2-var-display.exp: Likewise.
17656 * gdb.mi/mi2-watch.exp: Likewise.
17657 * gdb.stabs/exclfwd.exp: Likewise.
17658 * gdb.stabs/weird.exp: Likewise.
17659 * gdb.threads/gcore-thread.exp: Likewise.
17660 * gdb.trace/actions.exp: Likewise.
17661 * gdb.trace/backtrace.exp: Likewise.
17662 * gdb.trace/circ.exp: Likewise.
17663 * gdb.trace/collection.exp: Likewise.
17664 * gdb.trace/deltrace.exp: Likewise.
17665 * gdb.trace/infotrace.exp: Likewise.
17666 * gdb.trace/limits.exp: Likewise.
17667 * gdb.trace/packetlen.exp: Likewise.
17668 * gdb.trace/passc-dyn.exp: Likewise.
17669 * gdb.trace/passcount.exp: Likewise.
17670 * gdb.trace/report.exp: Likewise.
17671 * gdb.trace/save-trace.exp: Likewise.
17672 * gdb.trace/tfind.exp: Likewise.
17673 * gdb.trace/tracecmd.exp: Likewise.
17674 * gdb.trace/while-dyn.exp: Likewise.
17675 * gdb.trace/while-stepping.exp: Likewise.
17676
f4b618d1
JB
176772006-08-08 Joel Brobecker <brobecker@adacore.com>
17678
17679 * gdb.base/step-bt.c: New file.
17680 * gdb.base/step-bt.exp: New testcase.
17681
3d00d119
DJ
176822006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
17683
17684 * config/monitor.exp (gdb_load): Remove support for obsolete
17685 download-write-size.
17686 * gdb.base/remote.exp: Likewise. Update all callers of
17687 gdb_timed_load.
17688
017b5bd4
DJ
176892006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
17690
17691 * cursal.exp: Pass binfile to gdb_load.
17692
837c599d
DJ
176932006-08-01 Nathan Sidwell <nathan@codesourcery.com>
17694
17695 * gdb.base/cursal.exp: Add "" to gdb_load call.
17696
8dd4540b
MK
176972006-07-29 Mark Kettenis <kettenis@gnu.org>
17698
17699 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
17700 NetBSD/ELF targets.
17701
ab5c9f60
DJ
177022006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
17703
17704 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
17705 operator*.
17706
4c42eaff
DJ
177072006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
17708
17709 * gdb.base/completion.exp: Update for change in "file" behavior.
17710 * gdb.stabs/weird.exp: Likewise.
17711 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
17712 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
17713
0155cc76
NS
177142006-07-24 Nathan Sidwell <nathan@codesourcery.com>
17715
17716 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
17717 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
17718
16026cd7
AS
177192006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
17720
17721 * gdb.base/default.exp: Update source command error message.
17722 * gdb.base/help.exp: Update 'help source' message.
17723
16963cb6
DJ
177242006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
17725
17726 * gdb.cp/bs15503.exp: Update comment for no longer crashing
17727 test.
17728
6d7fd486
AS
177292006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
17730
17731 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
17732
29e8a844
DJ
177332006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
17734
17735 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
17736
6afcfa39
DJ
177372006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
17738
17739 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
17740
267a692b
MK
177412006-07-17 Mark Kettenis <kettenis@gnu.org>
17742
17743 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
17744 *-*-openbsd* from targets for wich we expect ARM FPA floating
17745 point format.
17746
85d2fec4
NR
177472006-07-17 Nick Roberts <nickrob@snap.net.nz>
17748
17749 * gdb.cp/annota3.exp: Expect frame-begin annotation.
17750
177512006-07-17 Mark Kettenis <kettenis@gnu.org>
17752
17753 * gdb.base/annota3.exp: Expect frame-begin annotation.
17754
85b4c6e8
JB
177552006-07-14 Joel Brobecker <brobecker@adacore.com>
17756
17757 * gdb.base/help.exp: Adjust "help unset" test to accept
17758 any list of unset commands.
17759
fb933624
DJ
177602006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
17761 Daniel Jacobowitz <dan@codesourcery.com>
17762
17763 * gdb.cp/ref-params.exp: New test.
17764 * gdb.cp/ref-params.cc: New source file.
17765 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
17766
1dff4b64
MK
177672006-07-08 Mark Kettenis <kettenis@gnu.org>
17768
17769 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
17770 spaces/tabs in regular expressions since they might not be there.
17771
40d2e0e3
AS
177722006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
17773
17774 * gdb.base/ifelse.exp: New file.
17775
f6c957d2
NS
177762006-07-04 Nathan Sidwell <nathan@codesourcery.com>
17777
17778 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
17779 line.
17780 * gdb.base/huge.exp: Loop over compilation to find a size that
17781 is acceptable.
17782 * gdb.base/remote.exp: Correct expected strings.
17783 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
17784
b9c5a23d
DJ
177852006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17786
17787 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
17788
9af2e58d
DJ
177892006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17790
17791 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
17792 native.
17793
30930ca5
DJ
177942006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17795
17796 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
17797 enable stabs testing.
17798
aa32fa1d
DJ
177992006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17800
bd4a4c80 17801 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
17802 gdb_test_multiple does.
17803
321fef15
DJ
178042006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
17805
17806 * Makefile.in (host_alias): Remove.
17807 (target_alias): Use @target_noncanonical@.
17808 (site.exp): Don't set host_alias.
17809 * aclocal.m4: Remove contents. Include acx.m4.
17810 * configure: Regenerated.
17811 * configure.ac: Use ACX_NONCANONICAL_TARGET.
17812
e1c2defa
NS
178132006-06-13 Nathan Sidwell <nathan@codesourcery.com>
17814
e63b55d1
NS
17815 * lib/gdb.exp (gdb_load_cmd): New.
17816
5600ea19
NS
17817 * gdb.base/fileio.c: Add system(NULL) test.
17818 * gdb.base/fileio.exp: Check it.
17819
e1c2defa
NS
17820 * gdb.base/break.c: Add 10a breakpoint at }
17821 * gdb.base/break.exp: Add test for breakpoint at }
17822 * gdb.cp/anon-union.cc: Add code at end of function.
17823 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
17824 * gdb.mi/var-cmd.c: Add code at end of function.
17825 * gdb.mi/mi-var-display.exp: Adjust end of next.
17826 * gdb.mi/mi2-var-display.exp: Likewise.
17827 * gdb.base/fileio.c: Add stop function and insert calls at
17828 stopping places.
17829 * gdb.base/fileio.exp: Breakpoint stop function and remove
17830 explicit line number references.
17831
6c0112ec
JB
178322006-05-19 Joel Brobecker <brobecker@adacore.com>
17833
a9c64011
AS
17834 * gdb.base/del.exp (test_delete_alias): New function.
17835 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 17836
154189a4
FF
178372006-05-18 Fred Fish <fnf@specifix.com>
17838
17839 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17840 required. Check for spurious output after program exits normally.
17841
582e64c2
FF
178422006-05-17 Fred Fish <fnf@specifix.com>
17843
17844 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17845 gdb_load, so it works in the simulator.
17846
8ef6493a
FF
178472006-05-11 Fred Fish <fnf@specifix.com>
17848
17849 * gdb.base/bang.exp: Ignore unexpected output between the
17850 "program exited normally" and the gdb prompt, as many other
17851 tests do.
17852
692b141c
MK
178532006-05-07 Mark Kettenis <kettenis@gnu.org>
17854
17855 * gdb.base/help.exp: Make "delete checkpoint" part option for
17856 "help d" and "help delete" tests.
17857
540b8a30
UW
178582006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17859
a9c64011 17860 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
17861 expected output in some mi_gdb_test statements.
17862 * gdb.mi/mi2-basics.exp: Likewise.
17863
9b6462d9
JB
178642006-05-05 Joel Brobecker <brobecker@adacore.com>
17865
17866 * gdb.base/del.c: New file.
17867 * gdb.base/del.exp: New testcase.
17868
954de43b
DM
178692006-05-05 David S. Miller <davem@sunset.davemloft.net>
17870
17871 * gdb.base/break.exp: Do not assume a breakpoint on
17872 main will actually be in $srcfile when optimizing.
1303f75e
DM
17873 * gdb.base/savedregs.exp: Do not require that the dummy
17874 frame location match up to a symbol and source file location.
c3242428
DM
17875 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17876 will get printed without a mi_cmd_data_list_register_values prefix.
17877 (*-data-list-register-*): Correct regular expressions to expect the new
17878 pseudo d? floating point registers.
17879 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 17880
c7e64c9a
DJ
178812006-05-05 Christophe Lyon <christophe.lyon@st.com>
17882
17883 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17884 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17885 is allocated by the compiler.
17886 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17887 anons, e, anone to force their allocation by the compiler.
17888
178892006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
17890
17891 * gdb.base/help.exp: Update expected text for help d and
17892 help delete.
17893
27ce9a6d
MK
178942006-05-02 Mark Kettenis <kettenis@gnu.org>
17895
17896 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17897 NetBSD/ELF targets.
17898
8608915f
MK
178992006-04-30 Mark Kettenis <kettenis@gnu.org>
17900
17901 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17902 single-step breakpoint fails; make this a KFAIL on
17903 sparc*-*-openbsd*.
17904 * gdb.base/siginfo.exp: Likewise.
17905 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17906
b8db102d
MS
179072006-04-26 Michael Snyder <msnyder@redhat.com>
17908
17909 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17910 which may have to consume output from other forks.
17911 Add tests to make sure that "delete fork" succeeded.
17912
c702009a
MS
179132006-04-20 Michael Snyder <msnyder@redhat.com>
17914
17915 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17916 Add support for the Renesas M32C and M16C.
17917
17918 * gdb.asm/asm-source.exp: Add m32c target.
17919 * gdb.asm/m32c.inc: Support for m32c target.
17920
e28493f2
AS
179212006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17922
17923 * gdb.base/commands.exp (recursive_source_test): New test.
17924
880da185
DM
179252006-04-04 David S. Miller <davem@sunset.davemloft.net>
17926
17927 * gdb.base/float.exp: Add pattern for sparc targets.
17928
61d9b92f
DJ
179292006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17930
17931 * gdb.base/commands.exp (stray_arg0_test): New test.
17932
bd717df8
PB
179332006-03-30 Paul Brook <paul@codesourcery.com>
17934
17935 * gdb.mi/mi-until.exp: kfail broken until command.
17936 * gdb.mi/mi2-until.exp: Ditto.
17937
ec793d3c
NR
179382006-03-27 Nick Roberts <nickrob@snap.net.nz>
17939
17940 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17941
831004b7
AO
179422006-03-08 Alexandre Oliva <aoliva@redhat.com>
17943
17944 * gdb.base/prelink.exp: Anchor tested-for regular expression
17945 on gdb prompt.
17946
effe49a0
PB
179472006-03-07 Paul Brook <paul@codesourcery.com>
17948
17949 * gdb.base/assign.exp: Correct fail message.
17950
e5461016
PB
179512006-03-07 Paul Brook <paul@codesourcery.com>
17952
17953 * lib/compiler.c: Extract armcc version number.
17954 * lib/compiler.cc: Ditto.
17955
fc91c6c2
PB
179562006-03-07 Paul Brook <paul@codesourcery.com>
17957
17958 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17959 additional_flags=-w.
17960 * gdb.arch/altivec-regs.exp: Ditto.
17961 * gdb.arch/e500-abi.exp: Ditto.
17962 * gdb.arch/e500-regs.exp: Ditto.
17963 * gdb.base/all-bin.exp: Ditto.
17964 * gdb.base/annota1.exp: Ditto.
17965 * gdb.base/annota3.exp: Ditto.
17966 * gdb.base/args.exp: Ditto.
17967 * gdb.base/arithmet.exp: Ditto.
17968 * gdb.base/assign.exp: Ditto.
17969 * gdb.base/async.exp: Ditto.
17970 * gdb.base/bang.exp: Ditto.
17971 * gdb.base/break.exp: Ditto.
17972 * gdb.base/call-rt-st.exp: Ditto.
17973 * gdb.base/completion.exp: Ditto.
17974 * gdb.base/cond-expr.exp: Ditto.
17975 * gdb.base/condbreak.exp: Ditto.
17976 * gdb.base/consecutive.exp: Ditto.
17977 * gdb.base/define.exp: Ditto.
17978 * gdb.base/display.exp: Ditto.
17979 * gdb.base/ena-dis-br.exp: Ditto.
17980 * gdb.base/environ.exp: Ditto.
17981 * gdb.base/eval-skip.exp: Ditto.
17982 * gdb.base/info-proc.exp: Ditto.
17983 * gdb.base/jump.exp: Ditto.
17984 * gdb.base/logical.exp: Ditto.
17985 * gdb.base/long_long.exp: Ditto.
17986 * gdb.base/maint.exp: Ditto.
17987 * gdb.base/miscexprs.exp: Ditto.
17988 * gdb.base/pc-fp.exp: Ditto.
17989 * gdb.base/pointers.exp: Ditto.
17990 * gdb.base/relational.exp: Ditto.
17991 * gdb.base/reread.exp: Ditto.
17992 * gdb.base/sect-cmd.exp: Ditto.
17993 * gdb.base/sep.exp: Ditto.
17994 * gdb.base/sepdebug.exp: Ditto.
17995 * gdb.base/until.exp: Ditto.
17996 * gdb.base/whatis-exp.exp: Ditto.
17997 * gdb.cp/annota2.exp: Ditto.
17998 * gdb.cp/annota3.exp: Ditto.
17999 * gdb.trace/actions.exp: Ditto.
18000 * gdb.trace/backtrace.exp: Ditto.
18001 * gdb.trace/circ.exp: Ditto.
18002 * gdb.trace/collection.exp: Ditto.
18003 * gdb.trace/deltrace.exp: Ditto.
18004 * gdb.trace/infotrace.exp: Ditto.
18005 * gdb.trace/limits.exp: Ditto.
18006 * gdb.trace/packetlen.exp: Ditto.
18007 * gdb.trace/passc-dyn.exp: Ditto.
18008 * gdb.trace/passcount.exp: Ditto.
18009 * gdb.trace/report.exp: Ditto.
18010 * gdb.trace/save-trace.exp: Ditto.
18011 * gdb.trace/tfind.exp: Ditto.
18012 * gdb.trace/tracecmd.exp: Ditto.
18013 * gdb.trace/while-dyn.exp: Ditto.
18014 * gdb.trace/while-stepping.exp: Ditto.
18015 * lib/gdb.exp: Ditto.
18016 (gdb_compile): Handle nowarning option.
18017
5f4a23d9
AO
180182006-03-07 Alexandre Oliva <aoliva@redhat.com>
18019
18020 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
18021 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
18022 Rename executable to prelinkt. Don't re-prelink if we didn't
18023 get a core file. Test prelink -u exit status to tell whether
18024 prelinking failed. Use gdb_test_multiple.
18025
9733fc94
DJ
180262006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
18027
18028 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
18029 (do_tests): Call it.
18030
cc10cae3
AO
180312006-02-28 Alexandre Oliva <aoliva@redhat.com>
18032
18033 * gdb.base/prelink.exp: New test.
18034 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
18035
15c46491
WZ
180362006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
18037
18038 * gdb.fortran/derived-type.f90: New file.
18039 * gdb.fortran/derived-type.exp: New testcase.
18040
5c9f7ded
DJ
180412006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
18042
18043 * gdb.base/default.exp: Allow ';' as a directory separator.
18044
5b96932b
AS
180452006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18046
18047 * gdb.base/help.exp (help add-symbol-file): Update.
18048
1986bccd
AS
180492006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
18050
18051 * gdb.base/help.exp (help load): Update expected results.
18052
a8b7528f
FF
180532006-02-19 Fred Fish <fnf@specifix.com>
18054
18055 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
18056 specifix hex value as part of results.
18057 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 18058
f8261448
FF
180592006-02-16 Fred Fish <fnf@specifix.com>
18060
18061 * gdb.base/whatis.c: Define variables using typedefs char_addr,
18062 ushort_addr, and slong_addr, so the typedefs are not optimized
18063 away.
18064 * gdb.base/whatis.exp: Add tests using type name for struct type,
18065 union type, enum type, and typedef.
a9c64011 18066
31d8bdd2
MK
180672006-02-13 Mark Kettenis <kettenis@gnu.org>
18068
18069 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
18070
34e41e63
JB
180712006-02-13 Jim Blandy <jimb@redhat.com>
18072
18073 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
18074 case where it takes two "next" commands to skip past the init
18075 call.
18076
ac6e4f31
FF
180772006-02-12 Fred Fish <fnf@specifix.com>
18078
18079 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
18080 to handle cases where it takes two "next" commands to skip
18081 past the init call.
18082
2db2d571
JB
180832006-02-07 Joel Brobecker <brobecker@adacore.com>
18084
18085 * gdb.ada/array_return.exp: Mark the last test as expected to fail
18086 on hppa32 targets.
18087
38fcd64c
DJ
180882006-02-06 Vladimir Prus <ghost@cs.msu.su>
18089
18090 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
18091 field.
18092
1315ad46
MK
180932006-01-29 Mark Kettenis <kettenis@gnu.org>
18094
18095 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
18096
5625b943
DJ
180972006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
18098
18099 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
18100 files.
18101
80df1bbe
DJ
181022006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
18103
18104 * gdb.cp/maint.exp: Set complaints to a positive value.
18105
9078e690
DJ
181062006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18107
18108 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
18109 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
18110 function name.
18111
9c903399
DJ
181122006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
18113
18114 * gdb.base/checkpoint.c: Update copyright notice. Include
18115 <stdlib.h>.
18116
761ae4d6
JB
181172006-01-04 Jim Blandy <jimb@redhat.com>
18118
18119 * gdb.asm/asm-source.exp: Independently provide default values for
18120 asm-flags and debug-flags. Use 'string equal' to do the
18121 comparison, not the implicit expr's '==' operator. Remove
18122 now-unneeded assignments to asm-flags. In h8300 case, place
18123 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
18124
099ac3dd
MS
181252006-01-04 Michael Snyder <msnyder@redhat.com>
18126
18127 * gdb.base/checkpoint.c: New file.
18128 * gdb.base/checkpoint.exp: New file.
18129 * gdb.base/multi-fork.c: New file.
18130 * gdb.base/multi-fork.exp: New file.
18131 * gdb.base/pi.txt: New file (data for checkpoint.c test).
18132
f4d85314
FF
181332006-01-04 Fred Fish <fnf@specifix.com>
18134
18135 * gdb.base/ptype.c (foo): Add typedef.
18136 (intfoo): Add function.
18137 * gdb.base/ptype1.c: New file.
18138 * gdb.base/ptype.exp: Handle compilation and linking with two
18139 source files. Test that proper type for "foo" is found based
18140 on source context rather than first match found in symtabs.
18141
a1b06f35
MK
181422005-12-28 Mark Kettenis <kettenis@gnu.org>
18143
18144 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
18145 * gdb.asm/openbsd.inc: Indent commands.
18146
d082a1e2
MK
181472005-12-26 Mark Kettenis <kettenis@gnu.org>
18148
c65016bd
MK
18149 * gdb.base/freebpcmd.exp: Increase timeout.
18150
d082a1e2
MK
18151 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
18152
d3c32a0e
DJ
181532005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
18154
18155 * gdb.base/default.exp: Update check for "show version".
18156
9fdb1f50
RC
181572005-12-09 Randolph Chung <tausq@debian.org>
18158
18159 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
18160 * gdb.asm/pa64.inc: New file.
18161
5f2c56f7
RC
181622005-12-09 Randolph Chung <tausq@debian.org>
18163
18164 * gdb.asm/common.inc: Indent commands.
18165 * gdb.asm/asmsrc1.s: Likewise.
18166 * gdb.asm/asmsrc2.s: Likewise.
18167
8117349c
RC
181682005-12-09 Randolph Chung <tausq@debian.org>
18169
18170 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
18171 (get_addr_of_sym): Remove duplicate print.
18172 (gen_core): xfail hppa*-*-hpux*, update expected output.
18173 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
18174 * gdb.arch/pa64-nullify.s: New file.
18175
8f07f25a
RC
181762005-12-09 Randolph Chung <tausq@debian.org>
18177
18178 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
18179
55b39184
DJ
181802005-12-07 Christophe Lyon <christophe.lyon@st.com>
18181
18182 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
18183 code generation for these functions.
18184 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
18185 error message.
18186
31e2b00f
AS
181872005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
18188
18189 * gdb.base/help.exp (help b, help br, help bre, help brea)
18190 (help break): Update the expected message.
18191
c3d0b56e
SC
181922005-11-11 Stephane Carrez <stcarrez@nerim.fr>
18193
18194 * gdb.asm/m68hc11.inc: Setup the data section.
18195 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
18196 script for this test.
18197 (m6812-*-*): Likewise.
18198
36ae0ea9
RC
181992005-11-09 Randolph Chung <tausq@debian.org>
18200
18201 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
18202
9d6f42e9
WZ
182032005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
18204
18205 * gdb.base/break.exp: Fix a comment typo.
18206
e2126a14
EZ
182072005-11-03 Jim Blandy <jimb@redhat.com>
18208
a9c64011
AS
18209 Checked in by Elena Zannoni <ezannoni@redhat.com>
18210
889bf7c5 18211 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 18212
e0ac7199
CV
182132005-11-02 Corinna Vinschen <vinschen@redhat.com>
18214
18215 * gdb.arch/gdb1558.c: Include stdio.h.
18216
31d3fb18
MK
182172005-10-31 Mark Kettenis <kettenis@gnu.org>
18218
18219 * gdb.asm/asm-source.exp: Use -e instead of --entry.
18220
e52b687c
MK
182212005-10-31 Mark Kettenis <kettenis@gnu.org>
18222
18223 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
18224
f4711d79
PG
182252005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
18226
a9c64011
AS
18227 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18228 vscr" tests to better match output.
f4711d79 18229
987a9106
JB
182302005-10-12 Jim Blandy <jimb@redhat.com>
18231
18232 * gdb.base/structs.exp (any): New function.
18233 (test_struct_returns): Don't make any assumptions at all about
18234 what value the function returns when GDB can't set the return
18235 value.
18236
2336bb58
JB
182372005-10-09 Joel Brobecker <brobecker@adacore.com>
18238
18239 * gdb.ada/arrayidx/p.adb: New file.
18240 * gdb.ada/arrayidx.exp: New testcase
18241
182422005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
18243
18244 * gdb.ada/array_return/pck.ads: New file.
18245 * gdb.ada/array_return/pck.adb: New file.
18246 * gdb.ada/array_return/p.adb: New file.
18247 * gdb.ada/array_return.exp: New testcase.
18248
705335ea
JB
182492005-10-03 Joel Brobecker <brobecker@adacore.com>
18250
a9c64011
AS
18251 * gdb.base/arrayidx.c: New file.
18252 * gdb.base/arrayidx.exp: New testcase.
705335ea 18253
11ee9940
NR
182542005-09-29 Nick Roberts <nickrob@snap.net.nz>
18255
18256 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
18257 frames-invalid and breakpoints-invalid are no longer generated
18258 with level 3 so don't expect them in the output.
18259
39fb8e9e
BR
182602005-09-27 Bob Rossi <bob@brasko.net>
18261
a9c64011 18262 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
18263 from test. Escape the | in mi_gdb_test call.
18264 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
18265 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
18266 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
18267 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
18268 expected regex's in mi_gdb_test calls.
18269 * lib/mi-support.exp: Remove arbitrary .* from tests.
18270 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
18271 Fully anchor GDB/MI expected results in mi_gdb_test.
18272 * lib/gdb.exp (string_to_regexp): Escape the ] character.
18273 * gdb.base/sizeof.exp: Remove escape character. Correct test.
18274
2af48f68
PB
182752005-09-26 Paul Brook <paul@codesourcery.com>
18276
18277 * long_long.exp: Exclude eabi targets from arm FPA float format test.
18278
f34502bc
WZ
182792005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18280
18281 * bfp-test.c: New file.
18282 * bfp-test.exp: New testcase.
18283
ca929517
WZ
182842005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
18285
18286 * gdb.fortran/subarray.exp: New testcase to test the evaluation
18287 of subarray and substring variable.
18288 * gdb.fortran/subarray.f: New source file for the test of subarray
18289 and substring variable evaluation.
18290 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
18291 of string constant.
18292
c761af65
DJ
182932005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
18294
18295 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
18296 copyright dates.
18297
561d7a1d
PG
182982005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
18299
18300 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
18301 powerpc altivec' test with an almost identical 'info vector' test.
18302
b2b64cc9
PG
183032005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18304
a9c64011
AS
18305 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
18306 vscr" tests to match output.
b2b64cc9 18307
6ac4d15a
PG
183082005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
18309
a9c64011
AS
18310 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
18311 output.
6ac4d15a 18312
40e55bef
BR
183132005-09-11 Bob Rossi <bob@brasko.net>
18314
889bf7c5
PA
18315 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
18316 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
18317 commands that return an MI output command and an asyncronous MI output
18318 command.
40e55bef
BR
18319 * gdb.mi/mi-console.exp: Ditto.
18320
3c7385ec
BR
183212005-09-11 Bob Rossi <bob@brasko.net>
18322
18323 * gdb.mi/mi-var-child.c: Include <string.h>.
18324
a6cd0eb3
DJ
183252005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
18326
18327 * killed.exp: Correct gdb_expect syntax.
18328
2f168eed
CV
183292005-08-09 Corinna Vinschen <vinschen@redhat.com>
18330
18331 * lib/mi-support.exp (mi_gdb_load): Fix typo.
18332
ecd3fd0f
BR
183332005-08-02 Bob Rossi <bob@brasko.net>
18334
18335 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
18336 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
18337 Change tests to inferior-tty-set/show.
18338 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
18339 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
18340 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
18341 inferior. Use mi_gdb_test to get GDB and Inferior output.
18342 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
18343 descriptor.
18344 (mi_inferior_tty_name): Add inferior PTY file name.
18345 (mi_gdb_start): Add INFERIOR_PTY parameter.
18346 (mi_gdb_test): Add IPATTERN parameter.
18347
f1ea48cb 183482005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 18349
f1ea48cb
BR
18350 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
18351 parameter to mi_gdb_test.
18352 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
18353
6e650a67
DJ
183542005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18355
18356 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
18357 struct_declarations.
18358 * gdb.mi/mi-var-child.exp: Step over the initialization of
18359 struct_declarations.
18360
8be260b6
DJ
183612005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
18362
18363 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
18364 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
18365 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
18366 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
18367 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
18368 file.
18369
4e660f07
NR
183702005-07-27 Nick Roberts <nickrob@snap.net.nz>
18371
18372 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
18373 (do_children_tests): Assign values to the extra elements.
18374
18375 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
18376 them for tests for "-var-update --no-values" and
a9c64011 18377 "-var-update --all-values".
4e660f07
NR
18378 Add test for "-var-list-children --simple-values".
18379
18380 * gdb.mi/basics.c (callee4): Add integer array D[3]...
18381
18382 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
18383 "-stack-list-locals --simple-values" Improve doc strings and
18384 comments.
18385
6bdae935
MK
183862005-07-18 Mark Kettenis <kettenis@gnu.org>
18387
598b7a6f
MK
18388 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
18389 *-*-openbsd*.
18390 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
18391
6bdae935
MK
18392 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
18393 sigaltsatck'.
18394
1323e929 183952005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 18396
1323e929
BR
18397 * gdb.base/default.exp (tty): Changed output of command.
18398 * gdb.base/help.exp (help tty): Ditto.
18399
b1a9c082
MK
184002005-07-12 Mark Kettenis <kettenis@gnu.org>
18401
18402 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
18403
10a844a2
MK
184042005-07-10 Mark Kettenis <kettenis@gnu.org>
18405
18406 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
18407 -stack-select-frame without arguments.
18408 (test_stack_frame_listing): Add test for newly implemented command
18409 -stack-info-frame.
18410
3cb3b8df
BR
184112005-07-06 Bob Rossi <bob@brasko.net>
18412
18413 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
18414 command.
18415 (Copyright): Update copyright.
18416
a0c5fbcf
WZ
184172005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
18418
18419 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
18420 tests to evaluate exponentiation expression.
18421
984971d0
AS
184222005-06-29 Andreas Schwab <schwab@suse.de>
18423
18424 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
18425 main to avoid warnings.
18426
18427 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
18428
fe03833f
NR
184292005-06-20 Nick Roberts <nickrob@snap.net.nz>
18430
18431 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
18432 -stack-select-frame without arguments.
18433 (test_stack_frame_listing): Add test for newly implemented command
18434 -stack-info-frame.
a9c64011 18435
7a55f279
WZ
184362005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
18437
0ffa0ea5
DJ
18438 * gdb.fortran/array-element.f: New file.
18439 * gdb.fortran/array-element.exp: New testcase.
7a55f279 18440
26585198
DJ
184412005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18442
18443 * gdb.base/bigcore.exp: Correct checks for systems which can
18444 not dump a large core file.
18445
c1bd25fd
DJ
184462005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
18447
18448 * gdb.base/relocate.c: Add a copyright notice.
18449 (dummy): Remove.
18450 * gdb.base/relocate.exp: Test printing the values of variables
18451 from a relocatable file.
18452
589e074d
DJ
184532005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
18454
18455 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
18456 excess MI output after an error.
18457
0915f927
JB
184582005-05-29 Joel Brobecker <brobecker@adacore.com>
18459
18460 * gdb.arch/alpha-step.c: New file.
18461 * gdb.arch/alpha-step.exp: New testcase.
18462
76ff342d
DJ
184632005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
18464 Dennis Brueni <dennis@slickedit.com>
18465
18466 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
18467 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
18468 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
18469 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
18470 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
18471 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
18472 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
18473
96b0c7ac
DJ
184742005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
18475 Wu Zhou <woodzltc@cn.ibm.com>
18476
18477 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
18478 IBM's xlc compiler.
18479 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
18480 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
18481
f21565d2
JB
184822005-05-13 Jim Blandy <jimb@redhat.com>
18483
18484 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
18485 calling gdb_suppress_entire_file.
18486 * gdb.base/charset.exp: Same.
18487 * gdb.base/call-rt-st.exp: Same.
18488
6006a3a1
BR
184892005-05-05 Bob Rossi <bob_rossi@cox.net>
18490
18491 * lib/gdb.exp (fullname_syntax): Added global regex.
18492 (fullname_syntax_POSIX): Ditto.
18493 (fullname_syntax_UNC): Ditto.
18494 (fullname_syntax_DOS_CASE): Ditto.
18495 (fullname_syntax_DOS): Ditto.
18496 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
18497 fullname_syntax variable to scope and use it.
18498 (test_file_list_exec_source_files): Ditto.
18499 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
18500
c3b69c04
DJ
185012005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
18502
18503 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
18504
3c95e6af
PG
185052004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
18506
a9c64011
AS
18507 * lib/gdb.exp (skip_altivec_tests): New function, based on
18508 check_vmx_hw_available from the GCC testsuite.
18509 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
18510 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 18511
78df6c56
JB
185122005-05-02 Jim Blandy <jimb@redhat.com>
18513
18514 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
18515 calling gdb_suppress_entire_file.
18516
1690f9cf
DJ
185172005-04-30 Randolph Chung <tausq@debian.org>
18518
18519 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
18520 Slightly relax "sem_post" name checking.
18521
5ea106f7
PG
185222005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18523
18524 * gdb.base/unload.exp: Use new shared library infrastructure.
18525
bf7234cf
PG
185262005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
18527
18528 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 18529 infrastructure.
bf7234cf 18530
547b869a
CV
185312005-04-29 Corinna Vinschen <vinschen@redhat.com>
18532
18533 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
18534 * gdb.asm/h8300.inc: New file.
18535
f07e55f0
PG
185362005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18537
18538 * gdb.base/shlib-call.exp: Change to use new shared library
18539 infrastructure.
18540
3cbba3d1
PG
185412005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18542
a9c64011
AS
18543 * gdb.base/pending.exp: Change to use new shared library
18544 infrastructure.
3cbba3d1 18545
ed6df200
PG
185462005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
18547
a9c64011
AS
18548 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
18549 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 18550
8c8f4ebe
PG
185512005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
18552
a9c64011
AS
18553 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
18554 shared objects being adjusted and update copyright years.
8c8f4ebe 18555
607fbc54
DJ
185562005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
18557
18558 * ChangeLog: Correct some 2003-01-13 dates.
18559 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
18560 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
18561 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
18562 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
18563 gdb.trace/tfind.exp: Update copyright years.
18564
57bf0e56
DJ
185652005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
18566 Daniel Jacobowitz <dan@codesourcery.com>
18567
18568 * lib/gdb.exp (gdb_compile): Handle shlib=.
18569 (gdb_compile_shlib): New function.
18570
9b593790
PG
185712005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
18572
a9c64011 18573 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 18574
9494c6a5
DJ
185752005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18576
18577 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
18578 gdb.server.
18579 * configure.ac: Likewise.
18580 * configure: Regenerated.
18581 * gdb.gdbserver/Makefile.in: Moved to...
18582 * gdb.server/Makefile.in: ... here.
18583 * gdb.gdbserver/server.c: Moved to...
18584 * gdb.server/server.c: ... here.
18585 * gdb.gdbserver/server-run.exp: Moved to...
18586 * gdb.server/server-run.exp: ... here.
18587
6f8eac0e
DJ
185882005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
18589
18590 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
18591 * configure.ac: Create gdb.gdbserver/Makefile.
18592 * configure: Regenerated.
18593 * lib/gdbserver-support.exp: New file, derived from
18594 config/gdbserver.exp.
18595 * config/gdbserver.exp: Use gdbserver-support.exp.
18596 * gdb.gdbserver/Makefile.in: New file.
18597 * gdb.gdbserver/server.c: New file.
18598 * gdb.gdbserver/server-run.exp: New file.
18599
6e87504d
PG
186002005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
18601
a9c64011
AS
18602 * lib/gdb.exp (test_compiler_info): Return compiler_info
18603 if no arguments are given.
6e87504d 18604
d1779be4
PG
186052005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
18606
18607 * gdb.arch/altivec-abi.exp: Check for compiler and set
18608 use altivec' flag accordingly.
18609 * gdb.arch/altivec-regs.exp: Likewise.
18610
88750304
DJ
186112005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
18612
18613 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
18614
f3fb768d
AS
186152005-03-27 Andreas Schwab <schwab@suse.de>
18616
18617 * gdb.base/bigcore.c (main): Add missing mode argument in open
18618 call.
18619
7e813ac5
DJ
186202005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
18621
18622 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
18623 downloads.
18624 * config/gdbserver.exp (gdb_load): Likewise.
18625
8e3049aa
PB
186262005-03-14 Paul Brook <paul@codesourcery.com>
18627
18628 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
18629 targets.
18630
a9df7c44
JB
186312005-03-09 Joel Brobecker <brobecker@adacore.com>
18632
18633 * gdb.dwarf2/dup-psym.S: New file.
18634 * gdb.dwarf2/dup-psym.exp: New testcase.
18635
9f0d94e8
JB
186362005-03-09 Joel Brobecker <brobecker@adacore.com>
18637
18638 * gdb.ada/exec_changed/first.adb: New file.
18639 * gdb.ada/exec_changed/second.adb: New file.
18640 * gdb.ada/exec_changed.exp: New testcase.
18641
5f579bc5
NS
186422005-03-08 Nathan Sidwell <nathan@codesourcery.com>
18643
36e9969c
NS
18644 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
18645 (A2): New class.
18646 (main): Test operator+.
18647 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
18648 breakpoint test.
18649
5f579bc5
NS
18650 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
18651 * gdb.base/signull.exp: Disable if gdb,nosignals.
18652 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
18653 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
18654 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
18655 * gdb.mi/mi2-console.exp: Likewise.
18656 * gdb.trace/collection.exp (run_trace_experiment): Consume the
18657 continue output at start.
18658 (gdb_collect_locals_test): Robustify regexp.
18659 * gdb.trace/passc-dyn.exp: Fix comment typo.
18660 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
18661
be46087e
CV
186622005-03-08 Corinna Vinschen <vinschen@redhat.com>
18663
18664 * gdb.asm/asm-source.exp: Add iq2000 case.
18665 * gdb.asm/iq2000.inc: New file.
18666
384e1a61 186672005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 18668
384e1a61
MI
18669 * gdb.base/command.exp: Change hardcoded value to regular expression.
18670 * gdb.base/float.exp: Add powerpc to the list of targets checked.
18671
584b6e9e
DJ
186722005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
18673
18674 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
18675 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
18676 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
18677 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
18678 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
18679
ab5b5d61
MK
186802005-03-05 Mark Kettenis <kettenis@gnu.org>
18681
18682 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
18683 changes.
18684
ae051c1b
PG
186852004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
18686
a9c64011
AS
18687 * lib/compiler.c: Add test for IBM's xlc compiler.
18688 * lib/compiler.cc: Likewise.
ae051c1b 18689
3f0f6ed2
JB
186902004-02-24 Joel Brobecker <brobecker@adacore.com>
18691
18692 * gdb.ada/fixed_points.exp: Create compilation object directory
18693 before running the test.
18694 * gdb.ada/null_record.exp: Likewise.
18695 * gdb.ada/packed_array.exp: Likewise.
18696 * gdb.ada/start.exp: Likewise.
18697
724f452b
JB
186982005-02-15 Joel Brobecker <brobecker@adacore.com>
18699
18700 * gdb.ada/packed_array/pa.adb: New file.
18701 * gdb.ada/packed_array.exp: New testcase.
18702
57f5cdfb 187032005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 18704
1f393151
MK
18705 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
18706 files.
18707
ebdda337
MK
18708 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
18709 on *-*-openbsd*. Correctly match whitespace in regukar
18710 expressions.
18711
cf309262
DJ
187122005-02-10 Daniel Jacobowitz <dan@debian.org>
18713
18714 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
18715 PR exp/1821
18716 * gdb.base/gdb1821.c: New test file.
18717 * gdb.base/gdb1821.exp: New test file.
18718
3be49e7a
JB
187192005-02-09 Joel Brobecker <brobecker@adacore.com>
18720
18721 * gdb.base/start.c: New file.
18722 * gdb.base/start.exp: New testcase.
18723
e292e67d
JB
187242005-02-09 Joel Brobecker <brobecker@adacore.com>
18725
18726 * gdb.ada/start/dummy.adb: New file.
18727 * gdb.ada/start.exp: New testcase.
18728
dbdfa66c
CV
187292005-02-09 Corinna Vinschen <vinschen@redhat.com>
18730
18731 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
18732 for printing symbols and statistics.
18733 Add test for using relative pathnames in "maint print msymbols" test.
18734 Mark "maint info sections DATA" XFAIL on Cygwin.
18735 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
18736 tests.
18737
d7941671
AC
187382005-02-09 Andreas Schwab <schwab@suse.de>
18739
18740 Committed by Andrew Cagney <cagney@gnu.org>
18741 * gdb.base/remotetimeout.exp: New file.
18742
74e5ef44
MK
187432005-02-07 Mark Kettenis <kettenis@gnu.org>
18744
18745 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
18746
464dd14d
JB
187472005-02-03 Joel Brobecker <brobecker@adacore.com>
18748
18749 * gdb.ada/gnat_ada.gpr: New file.
18750 * gdb.ada/gnat_ada.gin: Delete, no longer used.
18751 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
18752 * configure.ac: No longer generate gnat_ada.gpr.
18753 * configure: Regenerate.
18754 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
18755 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
18756 * gdb.ada/null_record/bar.ads: Likewise.
18757 * gdb.ada/null_record/bar.adb: Likewise.
18758 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
18759 * gdb.ada/null_record.exp (testdir): New variable.
18760 (testfile): executable is now in testdir subdirectory.
18761 (srcfile): Use full path to the main compilation unit.
18762 * gdb.ada/fixed_points.exp: Same changes as above.
18763
30d756ae
NR
187642005-02-03 Nick Roberts <nickrob@snap.net.nz>
18765
18766 * gdb.base/interp.exp: New test.
18767
9d799f85
AC
187682005-01-24 Andrew Cagney <cagney@gnu.org>
18769
18770 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
18771
15656118
AC
187722005-01-19 Andrew Cagney <cagney@gnu.org>
18773
a892c31b
AC
18774 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
18775 configure.ac not configure.in.
18776
15656118
AC
18777 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
18778 of powerpc*-*-*.
18779 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 18780 * gdb.base/list.exp (test_list_function)
15656118
AC
18781 (test_list_filename_and_function): Ditto.
18782 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
18783
a7b01baf
AC
187842005-01-16 Andrew Cagney <cagney@gnu.org>
18785
17d92a02
AC
18786 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
18787
a7b01baf
AC
18788 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
18789
bc8332bb
AC
187902005-01-14 Andrew Cagney <cagney@gnu.org>
18791
18792 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
18793 * gdb.mi/mi2-var-cmd.exp: Ditto.
18794
4d074752
CV
187952005-01-10 Corinna Vinschen <vinschen@redhat.com>
18796
18797 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
18798
bec39cab
AC
187992005-01-07 Andrew Cagney <cagney@gnu.org>
18800
18801 * configure.ac: Rename configure.in, require autoconf 2.59.
18802 * configure: Re-generate.
18803 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
18804 * gdb.stabs/configure: Re-generate.
18805 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
18806 * gdb.hp/configure: Re-generate.
18807 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
18808 autoconf 2.59.
18809 * gdb.hp/gdb.objdbg/configure: Re-generate.
18810 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
18811 autoconf 2.59.
18812 * gdb.hp/gdb.defects/configure: Re-generate.
18813 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
18814 autoconf 2.59.
18815 * gdb.hp/gdb.compat/configure: Re-generate.
18816 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
18817 autoconf 2.59.
18818 * gdb.hp/gdb.base-hp/configure: Re-generate.
18819 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
18820 autoconf 2.59.
18821 * gdb.hp/gdb.aCC/configure: Re-generate.
18822
f10b16d4
JB
188232004-12-15 Jim Blandy <jimb@redhat.com>
18824
18825 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
18826 under NPTL when there is debugging info available for libpthread.
18827
fb6e1814
JG
188282004-12-13 Jerome Guitton <guitton@gnat.com>
18829
18830 * gdb.ada/fixed_points.c: New file.
18831 * gdb.ada/fixed_points.exp: New file.
18832
fe46cd3a
RC
188332004-12-03 Randolph Chung <tausq@debian.org>
18834
18835 * gdb.arch/pa-nullify.exp: New file.
18836 * gdb.arch/pa-nullify.s: New file.
18837
8de0841b
RC
188382004-11-30 Randolph Chung <tausq@debian.org>
18839
18840 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18841 instead of "tbug". Fix regexp to work properly with gdb_test.
18842
c8170782
PH
188432004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
18844
18845 * gdb.base/bitfields2.exp: New test.
18846 * gdb.base/bitfields2.c: New file.
18847
954269c2
RE
188482004-11-28 Richard Earnshaw <rearnsha@arm.com>
18849
18850 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18851
0107feed
RC
188522004-11-16 Randolph Chung <tausq@debian.org>
18853
18854 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18855
f073ae8c
DJ
188562004-11-14 Daniel Jacobowitz <dan@debian.org>
18857
18858 * gdb.threads/threadapply.exp: Correct "macro details" test.
18859
19ad59e7
JJ
188602004-11-11 Jeff Johnston <jjohnstn@redhat.com>
18861
18862 * gdb.threads/threadapply.exp: New test.
18863 * gdb.threads/threadapply.c: New file.
18864
9cf0961b
MK
188652004-11-07 Mark Kettenis <kettenis@gnu.org>
18866
18867 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18868 frames.
18869
c789492a
FL
188702004-11-05 Felix Lee <felix+log1@specifixinc.com>
18871
18872 * gdb.base/cursal.exp: New file.
18873 * gdb.base/cursal.c: New file.
18874
a1e167bb
AC
188752004-11-03 Andrew Cagney <cagney@gnu.org>
18876
18877 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18878
b7cbf173
MK
188792004-10-30 Mark Kettenis <kettenis@gnu.org>
18880
18881 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18882 NetBSD/ELF targets.
18883
88f9d34f
JB
188842004-10-29 Joel Brobecker <brobecker@gnat.com>
18885
18886 * gdb.threads/bp_in_thread.c: New file, copied from
18887 pthread_cond_wait.c.
18888 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18889 file, rather than reusing the .c file from another testcase.
18890
ca7d6a0c
JB
188912004-10-20 Joel Brobecker <brobecker@gnat.com>
18892
18893 * gdb.ada/null_record.exp: Check where we stopped after
18894 sending the start command, instead of where the associated
18895 temporary breakpoint was inserted.
18896
0d863d03
AC
188972004-10-14 Andrew Cagney <cagney@gnu.org>
18898
18899 * gdb.mi/gdb701.c (main): Return 0.
18900
d11e72cb
DJ
189012004-10-13 Daniel Jacobowitz <dan@debian.org>
18902
d40539a4 18903 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 18904
e1923096
JJ
189052004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18906
18907 * gdb.threads/schedlock.c: Add comment markers to use to find
18908 line numbers.
18909 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18910 comments.
18911 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18912 breakpoint lines.
18913
ec8ba2c9
DJ
189142004-10-12 Daniel Jacobowitz <dan@debian.org>
18915
18916 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18917
0eb3658b
DJ
189182004-10-12 Daniel Jacobowitz <dan@debian.org>
18919
18920 * configure.in: Add gdb.dwarf2.
18921 * configure: Regenerated.
18922 * Makefile.in: Add gdb.dwarf2.
18923 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18924 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18925 gdb.dwarf2/file1.txt: New files.
18926
a271cc33
OF
189272004-10-11 Orjan Friberg <orjanf@axis.com>
18928
a9c64011 18929 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
18930 of "run", since the latter doesn't work with remote targets. Adjust
18931 the breakpoint numbering accordingly.
18932 * gdb.threads/pthread_cond_wait.exp: Ditto.
18933
895ce074
MC
189342004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18935
18936 * gdb.base/overlays.exp: Update copyright years.
18937
6be3092d
KI
189382004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18939
18940 * gdb.base/overlays.exp: Disable if target is Linux.
18941
e05389b8
FL
189422004-10-06 Felix Lee <felix+log1@specifixinc.com>
18943
18944 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18945
73cb587d
KI
189462004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18947
18948 * gdb.asm/asm-source.exp: Add m32r-linux target.
18949 * gdb.asm/m32r-linux.inc: New file.
18950
3c0edcdc
AC
189512004-09-24 Andrew Cagney <cagney@redhat.com>
18952 David Anderson <anderson@redhat.com>
18953
18954 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18955 command fails, assume things will work.
18956 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18957 (_GNU_SOURCE): Define.
18958 (print_unsigned, print_hex): Change parameter to "long long".
18959 (print_byte_count): New function, use to print byte counts.
18960 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18961 O_LARGEFILE.
18962 (main): Compute an upper bound on a corefile in max_core_size.
18963 Limit memory chunk size to max_core_size. Limit total memory
18964 allocated to max_core_size.
18965
4bb3667f
AC
189662004-09-23 Andrew Cagney <cagney@gnu.org>
18967
18968 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18969 from a separate process with code that creates a corefile by
18970 making the inferior dump core.
18971
60fe1a51
MK
189722004-09-23 Mark Kettenis <kettenis@gnu.org>
18973
18974 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18975 block.
18976
8e937346
MC
189772004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18978
18979 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18980 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18981 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18982 Likewise.
18983
7213f6d6
JJ
189842004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18985
18986 * gdb.java/jprint.exp: New test case for java inferior call.
18987 * gdb.java/jprint.java: Ditto.
18988
eac69dca
JB
189892004-09-15 Joel Brobecker <brobecker@gnat.com>
18990
18991 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18992
22227696
MC
189932004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18994
18995 * gdb.threads/killed.c: Include <stdlib.h>.
18996 * gdb.threads/pthreads.c: Likewise.
18997
7dd403a4
MC
189982004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18999
19000 * gdb.threads/killed.c: Add copyright notice.
19001
33f2d567
JM
190022004-09-10 Jason Molenda (jmolenda@apple.com)
19003
a9c64011
AS
19004 * gdb.base/define.exp: Two new tests to verify zero space chars
19005 after 'if' and 'while' commands in a user-defined command is correctly
19006 parsed.
33f2d567 19007
e05b62ac
AC
190082004-09-08 Andrew Cagney <cagney@gnu.org>
19009
19010 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
19011 delivery test with duplicate at end of file.
19012
9cbe82da
MK
190132004-09-06 Mark Kettenis <kettenis@jive.nl>
19014
19015 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
19016
564803d9
MC
190172004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19018
19019 * config/hppro.exp: Removed.
19020
7c6807ce
MC
190212004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19022
19023 * config/sparclet.exp: Removed.
19024
bf7e26dd
MC
190252004-09-05 Michael Chastain <mec.gnu@mindspring.com>
19026
19027 * config/udi.exp: Removed.
19028
714e341b
MC
190292004-09-02 Michael Chastain <mec.gnu@mindspring.com>
19030
19031 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
19032 of "exp_continue".
19033 (advancei): Likewise.
19034
1236e623
JJ
190352004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19036
19037 * gdb.base/unload.exp: Fix so messages aren't duplicated.
19038
3bdcad15
MI
190392004-09-01 Manoj Iyer <manjo@austin.ibm.com>
19040
228af206 19041 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
19042 to check for nodebug in executable.
19043 * gdb.gdb/observer.exp (setup_test): Likewise.
19044 * gdb.gdb/selftest.exp (test_with_self): Likewise.
19045 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
19046
c72b934c
AC
190472004-09-01 Andrew Cagney <cagney@gnu.org>
19048
19049 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19050 files.
19051
edd9b715
JJ
190522004-09-01 Jeff Johnston <jjohnstn@redhat.com>
19053
19054 * gdb.base/unload.exp: Fix expected warning message to match
19055 latest format.
19056
fb4ce06b
CV
190572004-09-01 Corinna Vinschen <vinschen@redhat.com>
19058
19059 * gdb.base/call-rt-st.exp: Fix typos.
19060
ce78e7c3
MI
190612004-08-31 Manoj Iyer <manjo@austin.ibm.com>
19062
19063 * gdb.threads/thread_check.exp: New testcase.
19064 * gdb.threads/thread_check.c: New testcase.
19065
2dedb159
AC
190662004-08-31 Andrew Cagney <cagney@gnu.org>
19067
19068 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
19069 (skip_to_handler_entry): New procedures. Test stepping into a
19070 handler when the breakpoint is at the handler's entry point.
19071
68f53502
AC
190722004-08-30 Andrew Cagney <cagney@gnu.org>
19073
19074 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
19075 gdb/1757.
19076
3e3ffd2b
MC
190772004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19078
19079 With code from Manoj Iyer <manjo@austin.ibm.com>:
19080 * lib/gdb.exp (gdb_file_cmd): Return more information in the
19081 return value. Add an arm for "no debugging symbols found".
19082 Change a stray "error" to "perror".
19083 (gdb_run_cmd): Adapt to new return value.
19084 * gdb.base/remote.exp: Adapt to new return value.
19085 * gdb.gdb/complaints.exp: Likewise.
19086 * gdb.gdb/observer.exp: Likewise.
19087 * gdb.gdb/selftest.exp: Likewise.
19088 * gdb.gdb/xfullpath.exp: Likewise.
19089
4b6f5fd2
JB
190902004-08-27 Joel Brobecker <brobecker@gnat.com>
19091
19092 * gdb.threads/bp_in_thread.exp: New testcase.
19093
e5b25496
MC
190942004-08-27 Michael Chastain <mec.gnu@mindspring.com>
19095
19096 Fix PR testsuite/1735.
19097 * gdb.threads/schedlock.c (thread_function): Add a cast
19098 to suppress a gcc warning.
19099 * gdb.threads/thread-specific.c (thread_function): Likewise.
19100
934353d6
MC
191012004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19102
19103 * gdb.base/unload.c: Include <stdlib.h>.
19104
f98a0aef 191052004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 19106
f98a0aef 19107 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
19108 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
19109 synchronized after the "return".
19110
5a2e8882
MC
191112004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19112
19113 * gdb.mi/basics.c: Include <stdio.h>.
19114 * gdb.mi/pthreads.c: Include <stdlib.h>.
19115 * gdb.mi/var-cmd.c: Include <stdlib.h>.
19116
a9640423
MC
191172004-08-26 Michael Chastain <mec.gnu@mindspring.com>
19118
19119 * gdb.threads/schedlock.c: Add copyright notice.
19120
b04e311d
AC
191212004-08-25 Andrew Cagney <cagney@gnu.org>
19122
19123 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
19124 (skip_over_handler, breakpoint_over_hander): New test procedures.
19125 (advance, advancei): Add a proper prefix, do not use
19126 rerun_to_main.
19127 * gdb.base/sigstep.c (main): Change to use an infinite loop.
19128
7c27f15b
MC
191292004-08-24 Michael Chastain <mec.gnu@mindspring.com>
19130
19131 * gdb.mi/basics.c: Add copyright notice.
19132 * gdb.mi/var-cmd.c: Add copyright notice.
19133
fffc87ae
MC
191342004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19135
19136 * lib/gdb.exp: Remove signed_keyword_not_used.
19137 * lib/compiler.c: Likewise.
19138 * lib/compiler.cc: Likewise.
19139
d782e0bf
MC
191402004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19141
19142 * gdb.base/whatis.c: Remove conditional disabling of "signed".
19143 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
19144
96033e83
MC
191452004-08-23 Michael Chastain <mec.gnu@mindspring.com>
19146
19147 * gdb.base/whatis.c: Add copyright notice.
19148
cf38c229
MK
191492004-08-20 Mark Kettenis <kettenis@gnu.org>
19150
19151 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
19152 it to skip the breakpoints encoded in the inline assembly.
19153
f4b49756
MC
191542004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19155
19156 * Makefile.in: Add gdb.fortran.
19157
2f193b69
MC
191582004-08-20 Michael Chastain <mec.gnu@mindspring.com>
19159
19160 * gdb.base/call-sc.exp (test_scalar_returns):
19161 Fix cut-and-paste glitch in "Make fun return now".
19162
89a237cb
MC
191632004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19164
19165 * configure.in: Add gdb.fortran.
19166 * configure: Regenerate.
19167 * gdb.fortran/Makefile.in: New file.
19168 * lib/gdb.exp (skip_fortran_tests): New procedure.
19169
469aff8e
MC
191702004-08-17 Michael Chastain <mec.gnu@mindspring.com>
19171
19172 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
19173 reference to bug-gnu@prep.ai.mit.edu.
19174 * gdb.mi/mi-var-child.exp: Likewise.
19175 * gdb.mi/mi-var-cmd.exp: Likewise.
19176 * gdb.mi/mi-var-display.exp: Likewise.
19177 * gdb.mi/mi2-var-block.exp: Likewise.
19178 * gdb.mi/mi2-var-child.exp: Likewise.
19179 * gdb.mi/mi2-var-cmd.exp: Likewise.
19180 * gdb.mi/mi2-var-display.exp: Likewise.
19181
00b51b9f
MK
191822004-08-15 Mark Kettenis <kettenis@gnu.org>
19183
19184 * gdb.base/unload.c (main): Make local variable msg const.
19185
45f07fef
MC
191862004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19187
19188 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
19189 to bug-gnu@prep.ai.mit.edu.
19190 * gdb.mi/mi-disassemble.exp: Likewise.
19191 * gdb.mi/mi-eval.exp: Likewise.
19192 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
19193 default line number.
19194 * gdb.mi/mi-return.exp: Likewise.
19195 * gdb.mi/mi-simplerun.exp: Likewise.
19196 * gdb.mi/mi-stack.exp: Likewise.
19197 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
19198 number with explicit range test.
19199 * gdb.mi/mi-watch.exp: Likewise.
19200 * gdb.mi/mi2-break.exp: Likewise.
19201 * gdb.mi/mi2-cli.exp: Likewise.
19202 * gdb.mi/mi2-disassemble.exp: Likewise.
19203 * gdb.mi/mi2-eval.exp: Likewise.
19204 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
19205 default line number.
19206 * gdb.mi/mi2-return.exp: Likewise.
19207 * gdb.mi/mi2-simplerun.exp: Likewise.
19208 * gdb.mi/mi2-stack.exp: Likewise.
19209 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
19210 number with explicit range test.
19211 * gdb.mi/mi2-watch.exp: Likewise.
19212
dd8c8ee7
MC
192132004-08-15 Michael Chastain <mec.gnu@mindspring.com>
19214
19215 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
19216 * gdb.cp/m-static.exp: Likewise.
19217 * gdb.cp/rtti.exp: Likewise.
19218
4e838464
MK
192192004-08-14 Mark Kettenis <kettenis@gnu.org>
19220
19221 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
19222
8d8cb839
EZ
192232004-08-14 Eli Zaretskii <eliz@gnu.org>
19224
19225 * ChangeLog: Prefix Local Variables with semi-colons and indent
19226 the reference to older ChangeLog files, to fix fontification in
19227 Emacs.
19228
deea8bb0
MC
192292004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19230
19231 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
19232 * gdb.mi/mi2-break.exp: Likewise.
19233
c3297504
MC
192342004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19235
19236 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
19237
25808999
MC
192382004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19239
19240 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
19241
226a8d71
MC
192422004-08-13 Michael Chastain <mec.gnu@mindspring.com>
19243
19244 * gdb.cp/classes.exp: Remove unused declarations. Just let
19245 test names default instead of providing special names. Remove
19246 extraneous demangler test.
19247
37fdf854
JJ
192482004-08-12 Jeff Johnston <jjohnstn@redhat.com>
19249
19250 * gdb.base/unload.exp: New test for breakpoints in dynamically
19251 loaded libraries.
19252 * gdb.base/unload.c: Ditto.
19253 * gdb.base/unloadshr.c: Ditto.
19254
2d3a7986
MC
192552004-08-12 Michael Chastain <mec.gnu@mindspring.com>
19256
19257 * gdb.cp/classes.exp (test_ptype_class_objects): Call
19258 cp_test_ptype_class.
19259 (test_enums): Likewise.
19260
c72b934c
AC
192612004-08-10 Andrew Cagney <cagney@gnu.org>
19262
19263 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
19264 files.
19265
cc503c8a
AC
192662004-08-10 Andrew Cagney <cagney@gnu.org>
19267
19268 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
19269 init_malloc call.
19270
902f2ccb
MC
192712004-08-10 Michael Chastain <mec.gnu@mindspring.com>
19272
19273 * ChangeLog: Add copyright notice. The notice is copied
19274 from emacs 21.3 top level ChangeLog.
19275
78c90502
MC
192762004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19277
19278 * lib/cp-support.exp: New file.
19279 * lib/cp-support.exp (cp_test_type_class): New function.
19280 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
19281 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
19282 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
19283 cp_test_ptype_class.
19284
88e5ea78
MC
192852004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19286
19287 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
19288 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
19289 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
19290 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
19291 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
19292 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
19293 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
19294 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
19295 gdb.mi/mi2-watch.exp: Update copyright years.
19296
6a89fc9c
MK
192972004-08-09 Mark Kettenis <kettenis@gnu.org>
19298
19299 * gdb.base/sigaltstack.exp: Provide proper anchoring.
19300
1482e0de
MC
193012004-08-09 Michael Chastain <mec.gnu@mindspring.com>
19302
19303 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
19304 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
19305 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
19306 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
19307 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
19308 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
19309 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
19310 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
19311 gdb.mi/mi-watch.exp: Update copyright years.
19312
1a5ce3f3
DJ
193132004-08-08 Daniel Jacobowitz <dan@debian.org>
19314
19315 PR gdb/1738
19316 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
19317 from a breakpoint with a pending signal.
19318
04f6ecf2
DJ
193192004-08-08 Daniel Jacobowitz <dan@debian.org>
19320
19321 PR gdb/1736
19322 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
19323 * gdb.base/sigaltstack.exp (finish_test): Consume output until
19324 the prompt.
19325 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
19326
54d90d35
DJ
193272004-08-08 Daniel Jacobowitz <dan@debian.org>
19328
19329 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
19330
d2f6abb0
DJ
193312004-08-08 Daniel Jacobowitz <dan@debian.org>
19332
19333 PR gdb/1736
19334 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
19335 for i?86-*-linux*.
19336
5598c03d
DJ
193372004-08-08 Daniel Jacobowitz <dan@debian.org>
19338
19339 * gdb.arch/i386-prologue.exp: Compile without debug information.
19340
c6fee705
MC
193412004-08-08 Michael Chastain <mec.gnu@mindspring.com>
19342
19343 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
19344 rather than asking gdb to search.
19345
dd90efdb
MC
193462004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19347
19348 * gdb.base/gcore.c: Include <string.h>.
19349
1e84bec1
MC
193502004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19351
19352 * gdb.base/gcore.c: Add copyright notice.
19353
e425eb2b
MC
193542004-08-05 Michael Chastain <mec.gnu@mindspring.com>
19355
19356 * gdb.base/freebpcmd.c: Include <stdio.h>.
19357 * gdb.base/long_long.c: Include <string.h>.
19358 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
19359 * gdb.base/siginfo.c: Include <string.h>.
19360 * gdb.base/sigstep.c: Include <string.h>.
19361
cb9aaed5
MC
193622004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19363
19364 * gdb.base/complex.c: Include <stdlib.h>.
19365
55944f3d
MC
193662004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19367
19368 * gdb.base/complex.c: Add copyright notice.
19369
7b2953d9
MC
193702004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19371
19372 * gdb.base/charset.c: Include <stdlib.h>.
19373
c9133d23
MC
193742004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19375
19376 * gdb.base/auxv.c: Include <stdlib.h>.
19377
0a8490ad
MC
193782004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19379
19380 * gdb.base/auxv.c: Add copyright notice.
19381
3426d5ec
MC
193822004-08-04 Michael Chastain <mec.gnu@mindspring.com>
19383
19384 * gdb.base/coremaker.c: Add copyright notice.
19385 * gdb.base/coremaker2.c: Add copyright notice.
19386
8da195dd
AC
193872004-08-04 Andrew Cagney <cagney@gnu.org>
19388
19389 * gdb.base/store.exp: Update copyright.
19390 (check_set, up_set, check_struct, up_struct): Add a prefix to test
19391 names, do not import gdb_prompt.
19392
8d394f98
AC
193932004-08-01 Andrew Cagney <cagney@gnu.org>
19394
19395 Fix PR testsuite/1729.
19396 * gdb.base/dump.exp: Add test name to callers of capture_value, do
19397 not use capture_value with value 4.
19398 (capture_value): Add optional test name parameter.
19399 (test_reload_saved_value, test_restore_saved_value): Use $msg as
19400 the prefix, pass to capture_value.
19401
b6702b23
MK
194022004-08-01 Mark Kettenis <kettenis@gnu.org>
19403
19404 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
19405 * gdb.arch/i386-prologue.c (standard): New prototype and function.
19406 (main): Call new function.
19407
c203e0ca
MC
194082004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19409
19410 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
19411
a7995a30
MC
194122004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19413
19414 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
19415
9366563b
MC
194162004-07-31 Michael Chastain <mec.gnu@mindspring.com>
19417
b6eeaf26 19418 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
19419 Accept more values of vtbl pointer. Remove some messages
19420 about "obsolete gcc or gdb".
19421
2fc1f950
MC
194222004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19423
19424 * gdb.cp/classes.exp: Accept more varieties of ptype output.
19425
c724d49b
MC
194262004-07-30 Michael Chastain <mec.gnu@mindspring.com>
19427
19428 * gdb.base/asm-source.exp: Properly convert target board
19429 debug flags from gcc format to binutils format.
19430
736b0fce
MK
194312004-07-28 Mark Kettenis <kettenis@gnu.org>
19432
19433 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
19434 gdb1718". PR backtrace/1718 partially fixed.
19435
5633ea5c
JJ
194362004-07-27 Jeff Johnston <jjohnstn@redhat.com>
19437
19438 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
19439
575eebb1
NC
194402004-07-26 Nick Clifton <nickc@redhat.com>
19441
19442 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
19443 good default value for a specific architecture is available then
19444 set it to that value. Otherwise default to the -gstabs switch.
19445 Remove the -g... switches from the asm-flags variable. Allow the
19446 target board info to override the value if it wants to. Pass the
19447 switch on the assembler command line.
19448
62104619
MK
194492004-07-23 Mark Kettenis <kettenis@gnu.org>
19450
19451 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
19452 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
19453 (main): Call new function.
19454
4a1135b8
MC
194552004-07-22 Michael Chastain <mec.gnu@mindspring.com>
19456
19457 Test for PR exp/1715.
19458 * gdb.base/radix.exp: Refactor common procedures. Make all
19459 test names unique. Change XFAIL to KFAIL.
19460
8a12c1f0
MC
194612004-07-20 Michael Chastain <mec.gnu@mindspring.com>
19462
19463 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
19464 * gdb.ada/gnat_ada.gin: ... to here.
19465 * configure.in: Use gnat_ada.gin.
19466 * configure: Regenerate.
19467
23b451cf
AC
194682004-07-20 Andrew Cagney <cagney@gnu.org>
19469
19470 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
19471 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
19472 XFAILs. Clean up test messages and comments. Check backtraces.
19473 Delete re-sync code.
19474
ab618a02
MC
194752004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19476
19477 Fix PR cli/740.
19478 * gdb.base/annota1.exp: Honor gdb,nosignals.
19479 * gdb.base/annota3.exp: Likewise.
19480
46dad340
MC
194812004-07-19 Michael Chastain <mec.gnu@mindspring.com>
19482
19483 * lib/java.exp: Update copyright notice.
19484
756d8c70
AC
194852004-07-19 Andrew Cagney <cagney@gnu.org>
19486
19487 * gdb.base/selftest.exp: Copy file from here ...
19488 * gdb.gdb/selftest.exp: ... to here.
19489
586027e6
AC
194902004-07-16 Andrew Cagney <cagney@redhat.com>
19491
19492 * lib/insight-support.exp: Delete file.
19493 * lib/java.exp (java_init): Fix copyright.
19494
029d2200
AC
194952004-07-16 Andrew Cagney <cagney@gnu.org>
19496
19497 * gdb.base/restore.c: Append "prologue" to comments marking the a
19498 function's prologue.
19499 * gdb.base/restore.exp: Update copyright, re-indent.
19500 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
19501 callerN" prefix where needed. Update patterns that match a
19502 function's prologue.
19503
653b62c5
MC
195042004-07-16 Michael Chastain <mec.gnu@mindspring.com>
19505
19506 * gdb.base/restore.c: Add copyright notice.
19507
f7d690e5
AC
195082004-07-16 Andrew Cagney <cagney@gnu.org>
19509
19510 * gdb.base/logical.exp: Update copyright.
19511 (evaluate): New procedure. Use to re-implement tests using
19512 several tables.
19513
d629a7cb
MH
195142004-07-14 Martin Hunt <hunt@redhat.com>
19515
19516 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
19517 which fixes some problems where init.tcl was not found.
19518
9c7bb332
AC
195192004-07-13 Andrew Cagney <cagney@gnu.org>
19520
6bf46641
AC
19521 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
19522 (check_sizeof, check_valueof): Do not include the output in the
19523 test name. Use gdb_test.
19524 (get_valueof): Use gdb_test_multiple.
19525
c4ffd4c0
AC
19526 * gdb.base/step-test.exp: Update copyright. Use
19527 gdb_test_multiple. Ensure that test names do not include
19528 architecture dependent output.
19529
ab89363a
AC
19530 * gdb.gdb/observer.exp: Update copyright.
19531 (setup_test): Use gdb_test_multiple.
19532 (attach_first_observer, attach_second_observer)
19533 (attach_third_observer, detach_first_observer)
19534 (detach_second_observer, detach_third_observer)
19535 (reset_counters, check_counters): Make $message a prefix.
19536 (test_normal_stop_notifications): Add "args" parameter - a list of
19537 init functions to be called. Make $message a prefix,
19538 (test_observer_normal_stop): Change the message prefixes so that
19539 they are unique, pass the attach / detach procedures to
19540 test_normal_stop_notifications.
19541
ec58997a
AC
19542 * gdb.base/signull.exp (test_segv): Prefix all tests with
19543 "${name}". Clean up test messages.
19544
b475183b
AC
19545 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
19546
9c7bb332
AC
19547 * gdb.base/ena-dis-br.exp: Update copyright.
19548 (break_at): New function. Replace send_gdb with gdb_test,
19549 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
19550 ignore count, not stopped at bpt", with KFAIL.
19551
2dd95497
CV
195522004-07-13 Corinna Vinschen <vinschen@redhat.com>
19553
19554 * gdb.base/attach.exp: Remove cleanupfile handling.
19555
419e626b
AC
195562004-07-12 Andrew Cagney <cagney@gnu.org>
19557
19558 * gdb.base/annota1.exp: Cleanup corefile test name.
19559 * gdb.base/annota3.exp: Ditto.
19560
8b1b3228
AC
195612004-07-12 Andrew Cagney <cagney@gnu.org>
19562
78650829
AC
19563 * gdb.base/signals.exp: Clean up copyright, re-indent.
19564
8b1b3228
AC
19565 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
19566 gdb_test and gdb_test_multiple.
19567
935c2760
JJ
195682004-07-08 Jeff Johnston <jjohnstn@redhat.com>
19569
19570 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 19571 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
19572 provide line number info for first statement in main.
19573
1544280f
AC
195742004-07-08 Andrew Cagney <cagney@gnu.org>
19575
1279f4ff
AC
19576 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
19577
1544280f
AC
19578 * gdb.base/sigbpt.exp: Make the common part of each test name a
19579 prefix instead of suffix.
19580
bcc82369
BR
195812004-07-07 Bob Rossi <bob_rossi@cox.net>
19582
19583 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
19584 test from test_tbreak_creation_and_listing to
19585 test_file_list_exec_source_file
19586 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
19587 Changed name of test from test_tbreak_creation_and_listing to
19588 test_file_list_exec_source_file
19589
23f4b0aa
JJ
195902004-07-07 Jeff Johnston <jjohnstn@redhat.com>
19591
19592 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
19593 the jmisc() constructor instead of <init>.
19594 * gdb.java/jmisc1.exp: Ditto.
19595
56401cd5
AC
195962004-07-07 Andrew Cagney <cagney@gnu.org>
19597
19598 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
19599 corrupting the PC.
19600
44ae2f6a
MC
196012004-07-06 Michael Chastain <mec.gnu@mindspring.com>
19602
19603 * gdb.cp/templates.exp: Accept whitespace change in demangler
19604 output.
19605
45a83408
AC
196062004-07-06 Andrew Cagney <cagney@gnu.org>
19607
19608 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
19609
d205ad70
MC
196102004-07-02 Michael Chastain <mec.gnu@mindspring.com>
19611
19612 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
19613 * lib/compiler.cc: Likewise.
19614
06ea1a61
MC
196152004-06-30 Michael Chastain <mec.gnu@mindspring.com>
19616
19617 * lib/compiler.cc: Work around string preprocessing problem
19618 with old hp c++ compiler.
19619 * lib/compiler.c: Likewise.
19620
daab1251
CV
196212004-06-29 Corinna Vinschen <vinschen@redhat.com>
19622
19623 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
19624 directives to conditionalize symbol prefixing.
19625 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
19626 additional_flags handling. Add underscore prefix for Cygwin.
19627 * gdb.arch/i386-unwind.c: Use preprocessor directives to
19628 conditionalize symbol prefixing.
19629 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
19630 additional_flags handling. Add underscore prefix for Cygwin.
19631
cc984116
CV
196322004-06-29 Corinna Vinschen <vinschen@redhat.com>
19633
19634 * gdb.base/bigcore.exp: Skip test on Cygwin.
19635
c279b077
MC
196362004-06-28 Michael Chastain <mec.gnu@mindspring.com>
19637
19638 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
19639 formats for "info register". Use gdb_test_multiple. Fix
19640 the "invalid register" test.
19641
0e915747
CV
196422004-06-28 Corinna Vinschen <vinschen@redhat.com>
19643
19644 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
19645 PID for Cygwin. Add Cygwin specific strings to check for in some
19646 tests.
19647 (do_attach_tests): Add a test for user interaction when attaching
19648 to a process with no matching symbol table already loaded.
19649
11422c86
AC
196502004-06-26 Andrew Cagney <cagney@gnu.org>
19651
19652 Test PR java/1567 and PR java/1565.
19653 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
19654 * gdb.java/jmisc2.exp: Delete file.
19655
cefbce26
MC
196562004-06-26 Michael Chastain <mec.gnu@mindspring.com>
19657
19658 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
19659
e19f872c
CV
196602004-06-25 Corinna Vinschen <vinschen@redhat.com>
19661
19662 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
19663 attach process.
19664
d931ba3b
MC
196652004-06-23 Michael Chastain <mec.gnu@mindspring.com>
19666
19667 * gdb.cp/pr-1553.exp: Remove.
19668
aef68c48
MC
196692004-06-22 Michael Chastain <mec.gnu@mindspring.com>
19670
19671 * gdb.cp/pr-1553.cc: Remove.
19672 * gdb.cp/pr-1553.exp: Disable this test.
19673
8d5df71a
JB
196742004-06-20 Jim Blandy <jimb@redhat.com>
19675
a9c64011 19676 Fix PR testsuite/1680.
8d5df71a
JB
19677 * gdb.arch/i386-sse.exp: Properly quote curly braces in
19678 regular expressions.
19679
4ac6f39d
MC
196802004-06-19 Michael Chastain <mec.gnu@mindspring.com>
19681
19682 Fix PR testsuite/1679.
19683 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
19684 Issue an UNSUPPORTED result instead.
19685
1b413552
JB
196862004-06-18 Jim Blandy <jimb@redhat.com>
19687
19688 * gdb.base/charset.exp: Only send a control-C if we see a new
19689 prompt and incomplete command.
19690
6daa6ebd
MC
196912004-06-18 Michael Chastain <mec.gnu@mindspring.com>
19692
19693 * gdb.cp/pr-574.cc: Add copyright notice.
19694
51fa4ae0
JB
196952004-06-17 Jim Blandy <jimb@redhat.com>
19696
19697 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
19698 cases where the regexp has no groups; this grabs random text from
19699 the previous test suite, whatever that was.
19700
8fea26c5
MC
197012004-06-17 Michael Chastain <mec.gnu@mindspring.com>
19702
19703 * gdb.cp/printmethod.cc: Add copyright notice.
19704
1e3aeb41
MC
197052004-06-16 Michael Chastain <mec.gnu@mindspring.com>
19706
19707 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
19708
9d9030bc
AC
197092004-06-16 Andrew Cagney <cagney@gnu.org>
19710
19711 * gdb.base/signull.c: Update copyright. Include <string.h>.
19712 (bowler): Replace data_pointer with data_read
19713 and data_write cases. Add code_descriptor case.
19714 (zero, desc): New array and pointer.
19715 (data, code): Change to simple pointers.
19716 * gdb.base/signull.exp: Fix probe pattern matching a function
19717 descriptor SIGSEGV. Replace data_pointer with data_read and
19718 data_write tests.
19719
acd4ad44
AC
197202004-06-16 Andrew Cagney <cagney@gnu.org>
19721
19722 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
19723
08fd625c
MC
197242004-06-15 Michael Chastain <mec.gnu@mindspring.com>
19725
19726 * gdb.base/long_long.c: Add copyright notice.
19727
1903502c
MC
197282004-06-15 Michael Chastain <mec.gnu@mindspring.com>
19729
19730 * gdb.base/long_long.exp: Remove reference to
19731 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
19732 to gdb_breakpoint and gdb_continue_to_breakpoint.
19733
83313cb1
JB
197342004-06-14 Jim Blandy <jimb@redhat.com>
19735
19736 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
19737 endian case.
19738
1bf404ef
AC
197392004-06-14 Andrew Cagney <cagney@gnu.org>
19740
19741 * gdb.base/gcore.exp (capture_command_output): Delete the always
19742 passing tests containing inferior values.
19743 * gdb.base/ending-run.exp: Do not include the breakpoint address
19744 in the test message. Update copyright.
19745 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
19746 size in the test name, use gdb_test_multiple. Update copyright.
19747
ef220b33
MC
197482004-06-14 Michael Chastain <mec.gnu@mindspring.com>
19749
19750 * gdb.cp/ref-types.cc: Add copyright notice.
19751
4f70a4c9
MC
197522004-06-14 Michael Chastain <mec.gnu@mindspring.com>
19753
19754 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
19755 hp_aCC_compiler.
19756 * lib/compiler.cc: Likewise.
19757 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
19758 'set' commands. Log diagnostics for other lines. Set
19759 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
19760
335928ac
MC
197612004-06-13 Michael Chastain <mec.gnu@mindspring.com>
19762
19763 * gdb.cp/try_catch.cc: Add copyright notice.
19764
2efb12e8
MC
197652004-06-12 Michael Chastain <mec.gnu@mindspring.com>
19766
19767 * gdb.cp/userdef.cc: Add copyright notice.
19768
0bbed51a
MC
197692004-06-11 Michael Chastain <mec.gnu@mindspring.com>
19770
19771 * gdb.cp/virtfunc.cc: Add copyright notice.
19772
e12a46c9
RC
197732004-06-11 Randolph Chung <tausq@debian.org>
19774
19775 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
19776 problem.
19777
338e05af
AC
197782004-06-10 Andrew Cagney <cagney@gnu.org>
19779
19780 * lib/compiler.cc, lib/compiler.c: Append either
19781 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
19782 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
19783 instead of gcc-3-3.
19784
dc3f10cb
AC
197852004-06-09 Andrew Cagney <cagney@gnu.org>
19786
b4d946af
AC
19787 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
19788 gdb/1455, bug is specific to "long long" and "double".
a9c64011 19789
dc3f10cb
AC
19790 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
19791 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
19792 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
19793 fixed.
19794
b5c0bfa2
AC
197952004-06-09 Andrew Cagney <cagney@gnu.org>
19796
19797 * gdb.base/structs.exp (test_struct_returns): Replace
19798 "return_value_unknown" and "finish_value_unknown" by
19799 "return_value_known" and "finish_value_known". Instead of
19800 "return_value_unknown" iff "finish_value_unknown", check
19801 "return_value_known" implies "finish_value_known".
19802
caeb605f
MH
198032004-06-08 Martin Hunt <hunt@redhat.com>
19804
19805 * gdb.base/float.exp: Add pattern for mips targets.
19806
c892bb64
RC
198072004-06-08 Randolph Chung <tausq@debian.org>
19808
19809 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
19810 message for unknown architectures more clear.
19811
48306d3e
JB
198122004-06-08 Joel Brobecker <brobecker@gnat.com>
19813
19814 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
19815 start the execution of the program.
19816
83ecb59f
JB
198172004-06-07 Jim Blandy <jimb@redhat.com>
19818
19819 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
19820 * gdb.arch/i386-cpuid.h: New helper file.
19821
55264cb4
RC
198222004-06-07 Randolph Chung <tausq@debian.org>
19823
19824 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
19825 has started.
19826
23cadb28
RM
198272004-06-04 Roland McGrath <roland@redhat.com>
19828
19829 Fix PR gdb/1647.
19830 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
19831 differently to be robust to output buffering differences.
19832
51d01eda
MC
198332004-06-04 Michael Chastain <mec.gnu@mindspring.com>
19834
19835 * gdb.threads/pthreads.exp: Update copyright years.
19836 (check_control_c): Change asynchronous 'after' to synchronous.
19837
f4fc3b93
RM
198382004-06-04 Roland McGrath <roland@redhat.com>
19839
19840 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19841 next gdb prompt.
19842
4013522b
MC
198432004-06-02 Michael Chastain <mec.gnu@mindspring.com>
19844
19845 Fix PR gdb/1636.
19846 * gdb.threads/manythreads.exp: Change asynchronous 'after'
19847 calls to synchronous.
19848
7a8f1e6b
JB
198492004-05-26 Jim Blandy <jimb@redhat.com>
19850
19851 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19852
81bb3443
RC
198532004-05-24 Randolph Chung <tausq@debian.org>
19854
19855 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19856 * gdb.asm/pa.inc: New file.
19857
8f5a3103
MK
198582004-05-22 Mark Kettenis <kettenis@gnu.org>
19859
19860 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19861
734b8fe8 198622004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 19863 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
19864
19865 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19866 GDB prompt.
19867
725603e1
UW
198682004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19869
f4fc3b93 19870 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
19871 setjmp/longjmp. Use sigaction instead of signal.
19872
8b923272 198732004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 19874 Michael Snyder <msnyder@redhat.com>
8b923272
JB
19875
19876 * gdb.threads/pthread_cond_wait.c: New file.
19877 * gdb.threads/pthread_cond_wait.exp: New testcase.
19878
8bfabb04
AC
198792004-05-13 Andrew Cagney <cagney@redhat.com>
19880
19881 * gdb.base/signull.exp, gdb.base/signull.c: New files.
19882 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19883
42edda50
AC
198842004-05-11 Andrew Cagney <cagney@redhat.com>
19885
19886 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19887 fixed but revealed gdb/1639.
19888
d303a6c7
AC
198892004-05-10 Andrew Cagney <cagney@redhat.com>
19890
19891 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19892 func1" and "next to 2nd alarm", kernel bug avoided.
19893
bf08c2a1
DJ
198942004-05-10 Daniel Jacobowitz <dan@debian.org>
19895
19896 PR external/1568
19897 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19898 XFAIL if it is smaller than bytes_allocated.
19899 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19900 (main): Make chunks_allocated unsigned. Correct comment.
19901
c0586a34
JB
199022004-05-07 Joel Brobecker <brobecker@gnat.com>
19903
19904 * gdb.arch/powerpc-aix-prologue.c: New file.
19905 * gdb.arch/powerpc-aix-prologue.exp: New file.
19906
f2785d12
JB
199072004-05-07 Jim Blandy <jimb@redhat.com>
19908
19909 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19910 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19911
bd7f6e30
JB
199122004-05-06 Joel Brobecker <brobecker@gnat.com>
19913
19914 * gdb.base/sep.exp: No longer setup_kfail when the program was
19915 built with dwarf2.
19916
0a5e7efe
JI
199172004-05-05 Jim Ingham <jingham@apple.com>
19918
19919 * gdb.base/pending.exp: Make sure pending breakpoints
19920 preserve the ignore count.
f4fc3b93 19921
a8958849
MK
199222004-04-27 Jerome Guitton <guitton@gnat.com>
19923
19924 * i386-prologue.exp: Add testcase for jump instruction as first
19925 instruction of the real code.
19926 * i386-prologue.c (jump_at_beginning): New function.
19927
7e103f5b
MK
199282004-04-28 Mark Kettenis <kettenis@gnu.org>
19929
19930 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19931 x86_64-*-*.
19932
5d38b224
MK
199332004-04-28 Mark Kettenis <kettenis@gnu.org>
19934
19935 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19936 i*86-*-*.
19937
0ef32fd9
MK
199382004-04-25 Mark Kettenis <kettenis@gnu.org>
19939
19940 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19941 expression that checks the return type.
19942
71d7dd7c
AC
199432004-04-23 Andrew Cagney <cagney@redhat.com>
19944
19945 * gdb.base/call-sc.exp: New test of scalar call/return values.
19946 * gdb.base/call-sc.c: Ditto.
19947
1e9f977e
JJ
199482004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19949
19950 * gdb.threads/manythreads.c: Reduce thread stack size.
19951
899d9e3a
JJ
199522004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19953
19954 * gdb.threads/manythreads.c: Add copyright notice.
19955
61bcae62
AC
199562004-04-23 Andrew Cagney <cagney@redhat.com>
19957
19958 * gdb.base/siginfo.exp: Better handle step out of signal.
19959 * gdb.base/sigstep.exp: Ditto.
19960
7339a42e 199612004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 19962 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
19963
19964 * gdb.threads/manythreads.c: New testcase.
19965 * gdb.threads/manythreads.exp: Ditto.
19966
5c98409b
JB
199672004-04-22 Jim Blandy <jimb@redhat.com>
19968
19969 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19970 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19971
3b611f1a
MC
199722004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19973
19974 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19975
f0fd9238
AC
199762004-04-21 Andrew Cagney <cagney@redhat.com>
19977
19978 * gdb.base/sigstep.c: New file.
19979 * gdb.base/sigstep.exp: New file.
19980
90990674
JB
199812004-04-16 Joel Brobecker <brobecker@gnat.com>
19982
19983 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19984 call to observer_notify_normal_stop.
19985
78cef34b
AC
199862004-04-15 Andrew Cagney <cagney@redhat.com>
19987
19988 * gdb.base/siginfo.c: New file.
19989 * gdb.base/siginfo.exp: New file.
19990
d2343407
JB
199912004-04-12 J. Brobecker <brobecker@gnat.com>
19992
19993 * gdb.base/sep.exp: Fix typo in comment.
19994
a2dba3c8
JB
199952004-04-12 J. Brobecker <brobecker@gnat.com>
19996
19997 * gdb.base/sep.c: New file.
19998 * gdb.base/sep-proc.c: New file.
19999 * gdb.base/sep.exp: New testcase.
20000
15f7b60e
MK
200012004-04-09 Mark Kettenis <kettenis@gnu.org>
20002
20003 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
20004 support.
20005
44f4de1a
AC
200062004-04-05 Andrew Cagney <cagney@redhat.com>
20007
20008 * gdb.base/sigaltstack.c: New file.
20009 * gdb.base/sigaltstack.exp: New file.
20010
ef04f396
JB
200112004-04-04 Joel Brobecker <brobecker@gnat.com>
20012
20013 * gdb.base/foll-fork.exp: Update the expected output for
20014 "help set follow-fork-mode", to match a change that was made
20015 to the help of this variable on 2004-01-13.
20016
d40d2c92
JB
200172004-04-01 Joel Brobecker <brobecker@gnat.com>
20018
20019 * lib/ada.exp: Add copyright notice.
20020 * bar.ads: Likewise.
20021 * bar.adb: Likewise.
20022 * null_record.adb: Likewise.
20023 * null_record.exp: Likewise.
20024 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
20025
f86ef5a3
JB
200262004-04-01 Joel Brobecker <brobecker@gnat.com>
20027
20028 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
20029 * configure: Regenerate.
20030
414e70e3
JB
200312004-04-01 Joel Brobecker <brobecker@gnat.com>
20032
20033 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
20034 to build the application. Remove the message printed when in
20035 verbose mode, redundant with the UNSUPPORTED message above.
20036
f0aaee49
JB
200372004-03-31 Joel Brobecker <brobecker@gnat.com>
20038
20039 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
20040 * gdb.ada (null_record.exp): New testcase.
20041
ac81cb54
JB
200422004-03-31 Joel Brobecker <brobecker@gnat.com>
20043
20044 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
20045
854af2f7
JB
200462004-03-31 Joel Brobecker <brobecker@gnat.com>
20047
20048 * gdb.ada: New subdirectory.
20049 * gdb.ada/Makefile.in: New file.
20050 * gdb.ada/gnat_ada.gpr.in: New file.
20051
034cb681
JB
200522004-03-31 Joel Brobecker <brobecker@gnat.com>
20053
20054 * lib/ada.exp: New file.
20055
78a1a894
DJ
200562004-03-24 Daniel Jacobowitz <drow@mvista.com>
20057
20058 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
20059 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
20060
4b2b3b3e
AC
200612004-03-22 Andrew Cagney <cagney@redhat.com>
20062
20063 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
20064 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
20065 Problem identified by Ulrich Weigand.
20066
23c73aa3
DC
200672004-03-17 David Carlton <carlton@kealia.com>
20068
20069 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
20070 PR c++/826.
20071
d63a86f8
RM
200722004-03-16 Roland McGrath <roland@redhat.com>
20073
20074 * gdb.base/auxv.exp: New file.
20075 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
20076
0e02aa50
DC
200772004-03-12 David Carlton <carlton@kealia.com>
20078
20079 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
20080 * gdb.cp/pr-1553.cc: Ditto.
20081 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
20082 pass branch.
20083
c20b71be
MC
200842004-03-12 Michael Chastain <mec.gnu@mindspring.com>
20085
20086 * gdb.cp/templates.exp: Accept more template types.
20087
c7414a01
MC
200882004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20089
20090 From Corinna Vinschen with modifications.
20091 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
20092 local variable obj_with_enum.
20093 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
20094 results with obj_with_enum.
20095
ed69573c
MC
200962004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20097
20098 * gdb.cp/classes.cc: New file, copied from misc.cc.
20099 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
20100
28301461
MC
201012004-03-09 Michael Chastain <mec.gnu@mindspring.com>
20102
20103 * gdb.cp/misc.cc: Add copyright notice.
20104
1198ecbe
DC
201052004-03-05 David Carlton <carlton@kealia.com>
20106
20107 * gdb.cp/rtti.exp: Add 'print *obj3' test.
20108 * gdb.cp/rtti.h: Update copyright.
20109 (namespace n2::n3): New.
20110 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
20111 (n2::n3::func3): New.
20112 (main): Call n2::n3::func3.
20113 * gdb.cp/rtti2.cc: Update copyright.
20114 (n2::create3): New.
20115
9e08c470
MK
201162004-03-04 Mark Kettenis <kettenis@gnu.org>
20117
20118 * gdb.asm/openbsd.inc: Fix typo.
20119
4bebc3aa
FF
201202004-03-03 Fred Fish <fnf@redhat.com>
20121
20122 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
20123 "val" instead of unused "size". Update copyright year.
20124
6ea9fb37
DJ
201252004-02-29 Daniel Jacobowitz <drow@mvista.com>
20126
20127 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
20128 to use unsigned char.
20129 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
20130 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
20131
23b23974
DJ
201322004-02-29 Daniel Jacobowitz <drow@mvista.com>
20133
20134 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
20135 line of output.
20136
7574fd53
DJ
201372004-02-28 Daniel Jacobowitz <drow@mvista.com>
20138
20139 * gdb.base/relocate.c (dummy): Initialize.
20140
a195357f
DJ
201412004-02-28 Daniel Jacobowitz <drow@mvista.com>
20142
20143 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
20144 a breakpoint at exit.
20145
72fd54a9
FF
201462004-02-27 Fred Fish <fnf@redhat.com>
20147
20148 * gdb.base/chng-syms.exp: Add expect condition to match failing
20149 case that isn't a timeout.
20150
b9d23137
AC
201512004-02-27 Andrew Cagney <cagney@redhat.com>
20152
20153 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
20154 support.
20155
15d208f6 201562004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 20157
15d208f6
FF
20158 * gdb.arch/gdb1431.c: Remove.
20159 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
20160 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
20161 of "until" incorrectly.
20162
98f9cd2d
JB
201632004-02-26 J. Brobecker <brobecker@gnat.com>
20164
20165 * gdb.cp/class2.cc (empty): New class.
20166 (refer): New function.
20167 (main): Declare an object of type empty and use it.
20168 * gdb.cp/class2.exp: Print the value of an object of type empty.
20169
9b50c11b
JJ
201702004-02-26 Jeff Johnston <jjohnstn@redhat.com>
20171
20172 * gdb.base/langs.exp: Update query string to match the
20173 new nquery format used for pending breakpoints.
20174
0dcd613f
AC
201752004-02-26 Andrew Cagney <cagney@redhat.com>
20176
20177 Fix PR i18n/1570.
20178 * gdb.base/charset.c: Update copyright notice.
20179 (main, init_string): Remove the escape character '\e' tests.
20180 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
20181 * gdb.base/charset.exp (valid_host_charset): Ditto.
20182 * gdb.base/setvar.exp: Ditto.
20183
b8a56647
AC
201842004-02-24 Andrew Cagney <cagney@redhat.com>
20185
90d59e34
AC
20186 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
20187 mmapped data in core file" PASS and FAIL messages consistent.
20188
b8a56647
AC
20189 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
20190 setting a breakpoint. Work around PR java/1565.
20191
9f27c604
JJ
201922004-02-23 Jeff Johnston <jjohnstn@redhat.com>
20193
20194 * lib/gdb.exp (gdb_breakpoint): Update query string to match
20195 new nquery format.
20196 * gdb.base/pending.exp: Ditto.
20197
3224a706
MK
201982004-02-22 Mark Kettenis <kettenis@gnu.org>
20199
20200 * configure.in: Run stabs tests on *BSD.
20201 * configure: Regenerated.
20202
41e0a9ca
MK
202032004-02-21 Mark Kettenis <kettenis@gnu.org>
20204
20205 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
20206
1e1b3428
FF
202072004-02-20 Fred Fish <fnf@redhat.com>
20208
20209 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
20210 blank in test for "returns short", for consistency with other
20211 "returns xxx" tests. Update copyright year.
20212
f9a7572a
FF
202132004-02-19 Fred Fish <fnf@redhat.com>
20214
20215 New testcase for PR breakpoint/1558.
20216 * gdb.arch/gdb1558.exp: New file.
20217 * gdb.arch/gdb1558.c: New file.
20218
b2ce2854
EZ
202192004-02-19 Elena Zannoni <ezannoni@redhat.com>
20220
20221 * gdb.base/nodebug.exp: Fix typo.
20222
e7c9ff01
JB
202232004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20224
20225 Committed by Jim Blandy <jimb@redhat.com>.
20226
62f4b920
JB
20227 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
20228
2db536a1
JB
20229 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
20230
e7c9ff01
JB
20231 * gdb.base/float.exp: Support s390*-*-* targets.
20232
f3205b34
AF
202332004-02-17 Adam Fedor <fedor@gnu.org>
20234
20235 * gdb.base/gdb1555.exp: New file.
20236 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
20237
9d62932d
EZ
202382004-02-17 Elena Zannoni <ezannoni@redhat.com>
20239
20240 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
20241
344c9711
FF
202422004-02-16 Fred Fish <fnf@redhat.com>
20243
20244 * gdb.arch/gdb1291.c: Remove
20245 * gdb.arch/gdb1291.s: New test input file.
20246 * gdb.arch/gdb1291.exp: Expand test to check case that should not
20247 fail. Test for correct result, known incorrect result, other
20248 failures and timeouts.
20249
2d822687
AC
202502004-02-16 Andrew Cagney <cagney@redhat.com>
20251
20252 * gdb.base/bigcore.exp: New file.
20253 * gdb.base/bigcore.c: New file.
20254
dac15b66
AC
202552004-02-13 Andrew Cagney <cagney@redhat.com>
20256
20257 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
20258 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
20259 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
20260 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
20261 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
20262 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
20263 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
20264 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
20265 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
20266 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
20267
6bdfc2c4
JJ
202682004-02-11 Jeff Johnston <jjohnstn@redhat.com>
20269
20270 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
20271 executed is an alloc instruction.
20272
87b3ede8
DC
202732004-02-11 David Carlton <carlton@kealia.com>
20274
20275 * gdb.cp/breakpoint.exp: New.
20276 * gdb.cp/breakpoint.cc: New.
20277
6e19e2bf
MC
202782004-02-11 Michael Chastain <mec.gnu@mindspring.com>
20279
20280 Partial fix for PR gdb/1543.
20281 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
20282 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
20283 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
20284 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
20285 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
20286 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
20287 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
20288 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
20289 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
20290 to bug-gdb@prep.ai.mit.edu .
20291 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
20292 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
20293 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
20294 Likewise.
20295
5c5455dc
AC
202962004-02-10 Andrew Cagney <cagney@redhat.com>
20297
20298 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
20299 using gdb_internal_error_resync.
20300
9cf689d7
DJ
203012004-02-09 Daniel Jacobowitz <drow@mvista.com>
20302
20303 * gdb.threads/thread-specific.exp: Stop early if no threads are
20304 found.
20305
d2dc51db
MC
203062004-02-09 Michael Chastain <mec.gnu@mindspring.com>
20307
20308 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
20309
14b1a056
DJ
203102004-02-08 Daniel Jacobowitz <drow@mvista.com>
20311
20312 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
20313 breakpoints.
20314
83f66e8f
DJ
203152004-02-07 Daniel Jacobowitz <drow@mvista.com>
20316
20317 * config/sim.exp (gdb_load): Handle $arg == "".
20318 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
20319 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
20320
30fc0091
EZ
203212004-02-07 Elena Zannoni <ezannoni@redhat.com>
20322
a9c64011
AS
20323 * gdb.base/maint.exp: Update test to reflect
20324 obstack changes.
30fc0091 20325
4d806929
JJ
203262004-02-04 Jeff Johnston <jjohnstn@redhat.com>
20327
20328 * gdb.base/pendshr.c (pendfunc): New function that calls
20329 pendfunc1.
20330 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
20331
7bfdd688
FF
203322004-02-04 Fred Fish <fnf@redhat.com>
20333
20334 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
20335 function symbols and update copyright years.
20336 * gdb.arch/gdb1291.c: Ditto.
20337
aaa08ee4
MC
203382004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20339
20340 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
20341
dbad7755
MC
203422004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20343
20344 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
20345
ec4646ef
MC
203462004-02-03 Michael Chastain <mec.gnu@mindspring.com>
20347
20348 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
20349
1b802196
FF
203502004-02-02 Fred Fish <fnf@redhat.com>
20351
20352 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
20353 remote targets. Update copyright years.
20354
18fe2033
JJ
203552004-02-02 Jeff Johnston <jjohnstn@redhat.com>
20356
20357 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
20358 support.
20359 * gdb.base/langs.exp: Fix test which attempts to create
20360 breakpoint on non-existent function to handle new pending
20361 support.
20362 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
20363 a breakpoint.
20364 * gdb.base/pending.exp: New test.
20365 * gdb.base/pending.c: New file.
20366 * gdb.base/pendshr.c: Ditto.
20367
8d577d32
DC
203682004-02-02 David Carlton <carlton@kealia.com>
20369
20370 * gdb.cp/overload.exp: Add overloadNamespace tests.
20371 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
20372 (overloadNamespace, XXX): New.
20373 (main): Call XXX::marker2.
20374
3ad13771
FF
203752004-02-01 Fred Fish <fnf@redhat.com>
20376
20377 * gdb.base/dump.exp: Use runto_main instead of "runto main".
20378 * gdb.base/finish.exp: Ditto.
20379 * gdb.base/gcore.exp: Ditto.
20380 * gdb.base/huge.exp: Ditto.
20381 * gdb.base/info-proc.exp: Ditto.
20382 * gdb.base/return2.exp: Ditto.
20383 * gdb.threads/gcore-thread.exp: Ditto.
20384
44c75849
DJ
203852004-02-01 Daniel Jacobowitz <drow@mvista.com>
20386
20387 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
20388
005bc093
MK
203892004-02-01 Mark Kettenis <kettenis@gnu.org>
20390
20391 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
20392 that opening the file succeeds on OpenBSD.
20393
c47cebdb
DJ
203942004-02-01 Daniel Jacobowitz <drow@mvista.com>
20395
20396 * gdb.threads/thread-specific.c: New file.
20397 * gdb.threads/threads-specific.exp: New test script.
20398 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
20399 to expect_out.
20400
5a01311c
MK
204012004-02-01 Mark Kettenis <kettenis@gnu.org>
20402
20403 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
20404 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
20405 only on the "print_small_structs from print_long_arg_list" test.
20406
ce22a4f1
DJ
204072004-02-01 Daniel Jacobowitz <drow@mvista.com>
20408
20409 * gdb.base/completion.exp: Kill a stray backslash.
20410
20411 From Jim Ingham <jingham@apple.com>:
20412 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
20413 agrees with the result from sending a tab.
20414
abbab9d3
DJ
204152004-01-31 Daniel Jacobowitz <drow@mvista.com>
20416
20417 * gdb.base/chng-syms.exp: Remove stray newline.
20418
53904d1e
MK
204192004-01-31 Mark Kettenis <kettenis@gnu.org>
20420
20421 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
20422 *-*-openbsd*.
20423 * gdb.asm/openbsd.inc: New file.
20424
3a4b3aac
MK
204252004-01-30 Mark Kettenis <kettenis@gnu.org>
20426
20427 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
20428 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
20429 *-*solaris2*. Remove commented out default settings for
20430 asm-flags. Replace gdb_compile with target_link.
20431
ebac27b4
MC
204322004-01-29 Michael Chastain <mec.gnu@mindspring.com>
20433
20434 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
20435 for all tests. Remove old hp-ux and cygnus xfail cases.
20436
d8679d84
PH
204372004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
20438
20439 * gdb.base/chng-syms.exp: New file.
20440 * gdb.base/chng-syms.c: New file.
20441
0a55bc22
MC
204422004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20443
20444 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
20445 Provide arms for current output in all my configurations.
20446
94b8e876
MC
204472004-01-24 Michael Chastain <mec.gnu@mindspring.com>
20448
20449 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
20450 * lib/compiler.cc: Likewise.
20451 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
20452 get the right preprocessor. Eval the output directly. Remove
20453 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
20454 hp_f77_compiler and hp_f90_compiler completely.
20455 (gdb_preprocess): Delete.
20456 (get_compiler): Delete.
20457
7cf03d44
MK
204582004-01-24 Mark Kettenis <kettenis@gnu.org>
20459
20460 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
20461 <string.h>.
20462
68b6dce9
NR
204632004-01-24 Nick Roberts <nick@nick.uklinux.net>
20464
20465 * gdb.mi/mi-stack.exp: Update copyright.
20466
b368761e
DC
204672004-01-23 David Carlton <carlton@kealia.com>
20468
20469 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
20470 test for cp_lookup_transparent_type.
20471 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
20472 call them.
20473
f2061b53
DJ
204742004-01-23 Daniel Jacobowitz <drow@mvista.com>
20475
20476 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
20477 after -var-update.
20478
37fc574a
DC
204792004-01-23 David Carlton <carlton@kealia.com>
20480
20481 * gdb.cp/namespace.cc (C::ensureRefs): New.
20482 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
20483
8e94b928
NR
204842004-01-20 Nick Roberts <nick@nick.uklinux.net>
20485
20486 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
20487 case "-stack-list-locals 2".
20488 * gdb.mi/mi-var-child.exp: Test for case
20489 "-var-list-children --all-values NAME".
20490
997b0952
MC
204912004-01-18 Michael Chastain <mec.gnu@mindspring.com>
20492
20493 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
20494
52470da3
MK
204952004-01-18 Mark Kettenis <kettenis@gnu.org>
20496
7049b4b8
MK
20497 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
20498 used with gdb_test_multiple.
20499
52470da3
MK
20500 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
20501 read at address 0. This fixes PR testsuite/1504.
20502
da6012e5
DJ
205032004-01-18 Daniel Jacobowitz <drow@mvista.com>
20504
20505 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
20506 Remove downloading, guessing the host executable, the calls to
20507 gdb_file_cmd and gdb_target_cmd, and "load" support.
20508 (infer_host_exec): New function broken out from gdb_load.
20509 (gdb_load): New wrapper for gdbserver_gdb_load.
20510 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
20511 gdb_target_cmd. Use -target-select.
20512 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
20513 Download binaries to the host. Clear last_mi_remote_file when
20514 we load a new binary.
20515 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
20516 call gdbserver_gdb_load and mi_gdb_target_cmd.
20517
32c70722
MC
205182004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20519
20520 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
20521 type patterns.
20522
b0cecf36
MC
205232004-01-17 Michael Chastain <mec.gnu@mindspring.com>
20524
20525 * gdb.cp/templates.exp: Fix typo in test name of
20526 "print Foo<volatile char*>::foo".
20527
4120d7e6
MC
205282004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20529
20530 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
20531
f679e530
BE
205322004-01-16 Ben Elliston <bje@wasabisystems.com>
20533
20534 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
20535 (clean mostlyclean): Remove empty rm.
20536
091c48f6
MC
205372004-01-15 Michael Chastain <mec.gnu@mindspring.com>
20538
20539 * gdb.base/setvar.exp: Add copyright years.
20540
3e5fc8d2
DC
205412004-01-14 David Carlton <carlton@bactrian.org>
20542
20543 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
20544 PR c++/1511 and update coment.
20545 * gdb.cp/templates.exp: Update patterns to match current output.
20546 If changes involve something other than whitespace, KFAIL
20547 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
20548
63d06c5c
DC
205492004-01-14 David Carlton <carlton@kealia.com>
20550
20551 * gdb.cp/namespace.exp: Add tests involving classes defined within
20552 namespaces.
20553 * gdb.cp/namespace.cc (C::CClass): New.
20554 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
20555
a51dab88
EZ
205562004-01-14 Elena Zannoni <ezannoni@redhat.com>
20557
20558 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
20559 what debug info we have. Print a better message if something goes
20560 wrong while producing the separate debug info file.
20561
a476ccc9
MC
205622004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20563
20564 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
20565
f453692c
MC
205662004-01-14 Michael Chastain <mec.gnu@mindspring.com>
20567
20568 * gdb.base/callfuncs.c: Add copyright notice.
20569
f40063a5
MC
205702004-01-13 Michael Chastain <mec.gnu@mindspring.com>
20571
20572 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
20573 inheritance. PR gdb/1498, PR gcc/13539.
20574
19ac3974
EZ
205752004-01-13 Elena Zannoni <ezannoni@redhat.com>
20576
a9c64011
AS
20577 * gdb.threads/gcore-thread.exp: Prefix name of binary with
20578 test specific name.
20579 * gdb.mi/gdb669.exp: Ditto.
20580 * gdb.mi/mi-pthreads.exp: Ditto.
20581 * gdb.mi/mi1-pthreads.exp: Ditto.
20582 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 20583
56c97c6e
MC
205842004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20585
20586 * gdb.cp/member-ptr.cc: Add copyright notice.
20587
a0644324
MC
205882004-01-12 Michael Chastain <mec.gnu@mindspring.com>
20589
20590 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
20591 some patterns for recent versions of gcc and hpacc. Delete
20592 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
20593 Delete tests that access a NULL pointer-to-member-data. This
20594 script is still disabled for gcc.
20595
32fabe09
EZ
205962004-01-12 Elena Zannoni <ezannoni@redhat.com>
20597
20598 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 20599 escaped correctly.
32fabe09 20600
1f8a6abb
EZ
206012004-01-12 Elena Zannoni <ezannoni@redhat.com>
20602
20603 * gdb.base/sepdebug.exp: New file.
20604 * gdb.base/sepdebug.c: New file.
20605 * lib/gdb.exp (separate_debug_filename): New procedure.
20606 (gdb_gnu_strip_debug): New procedure.
20607
48efe704
AC
206082004-01-12 Andrew Cagney <cagney@redhat.com>
20609
20610 * gdb.mi/ChangeLog: Delete file. Renamed to ...
20611 * gdb.mi/ChangeLog-1999-2003: New file.
20612
a9415475
AC
206132004-01-12 Andrew Cagney <cagney@redhat.com>
20614
20615 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
20616 "Renaming a directory to a non-empty directory returns ENOTEMPTY
20617 or EEXIST", treat EBUSY as an XFAIL.
20618
83b8cf9d
MC
206192004-01-11 Michael Chastain <mec.gnu@mindspring.com>
20620
20621 * gdb.base/scope.exp: Remove obsolete setup_xfail for
20622 hp_cc_compiler.
20623
9939d2a8
MC
206242004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20625
20626 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
20627 decorations.
20628
1ff8cadf
MC
206292004-01-10 Michael Chastain <mec.gnu@mindspring.com>
20630
20631 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
20632 and "(aCC)" decorations. Remove obsolete doco about old
20633 test results.
20634
6fa9022e
MC
206352004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20636
20637 * gdb.cp/exception.exp: Fix typo in doco.
20638
209721fe
MK
206392004-01-09 Mark Kettenis <kettenis@gnu.org>
20640
20641 * gdb.base/gdb1476.exp: Fix typo.
20642
ef11303e
MC
206432004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20644
20645 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
20646 file.
20647
041ab88c
MC
206482004-01-09 Michael Chastain <mec.gnu@mindspring.com>
20649
20650 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
20651 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
20652 Use gdb_compile. Remove restriction on gcc. Add some patterns
20653 for recent version of gdb. Delete second half, which was a copy
20654 of the first half with different build flags. This test is
20655 still disabled because it is still not ready for production.
20656
e36d075a
MC
206572004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20658
20659 * gdb.cp/exception.cc: Add copyright notice.
20660 * gdb.cp/exception.exp: Add a notice that this file is broken
20661 because of line number changes caused by addition of copyright
20662 notice.
20663
42b190ad
MC
206642004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20665
20666 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
20667 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
20668
8f25f06b
MC
206692004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20670
20671 * gdb.cp/classes.exp: Accept gnu abi 2.
20672 * gdb.cp/derivation.exp: Likewise.
20673 * gdb.cp/overload.exp: Likewise.
20674 * gdb.cp/virtfunc.exp: Likewise.
20675
06ded8b8
MC
206762004-01-08 Michael Chastain <mec.gnu@mindspring.com>
20677
20678 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
20679 semicolon after end of function.
20680
77c26ae3
MC
206812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20682
20683 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
20684 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
20685 boilerplate code for compiling and running the program under
20686 test. Add some string method tests.
20687
20757486
MC
206882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20689
20690 * gdb.cp/bs15503.cc: Add copyright notice.
20691 * gdb.cp/bs15503.exp: Adjust line number.
20692
0fd3b503
MC
206932004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20694
20695 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
20696 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
20697
10d1bea8
MC
206982004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20699
20700 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
20701 hp_cc_compiler.
20702
2789202a
MC
207032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20704
20705 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
20706 * gdb.cp/ctti.exp: Use the marker instead of "next".
20707 With gcc, run further before bailing.
20708
b862f14c
MC
207092004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20710
20711 * gdb.cp/cttiadd.cc: Add copyright notice.
20712 * gdb.cp/cttiadd1.cc: Likewise.
20713 * gdb.cp/cttiadd2.cc: Likewise.
20714 * gdb.cp/cttiadd3.cc: Likewise.
20715
96da2469
MC
207162004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20717
20718 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
20719 Use gdb_test, gdb_test_multiple. Use floating-point values that
20720 have exact representations in IEEE-ish formats.
20721
053248ff
MC
207222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20723
20724 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
20725 compilers. Delete duplicate call to get_compiler_info.
20726 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
20727 * gdb.base/volatile.exp: Likewise.
20728
84acecdd
MK
207292004-01-07 Mark Kettenis <kettenis@gnu.org>
20730
20731 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
20732 memory at address 0.
20733
fe11a27f
MC
207342004-01-07 Michael Chastain <mec.gnu@mindspring.com>
20735
20736 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
20737 to test for hp-ux assembler. Fix copyright years.
20738
60ad077b
AC
207392004-01-07 Andrew Cagney <cagney@redhat.com>
20740
20741 * gdb.base/fileio.c (strerrno): Add "EBUSY".
20742
1c9b8f33
AC
207432004-01-07 Andrew Cagney <cagney@redhat.com>
20744
20745 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
20746 when creating the read-only file. From analysis by Roland McGrath
20747 and Elena Zannoni.
20748
753ccc7a
MC
207492004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20750
20751 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
20752
eca3e36b
MC
207532004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20754
20755 * gdb.base/cvexpr.c: Be type-safe with function pointers and
20756 data pointers.
20757
f8d4bac4
MC
207582004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20759
20760 * gdb.cp/m-static.exp: Compile one source file at a time.
20761 Delete unused call to get_compiler_info.
20762
9b4e0f94
MC
207632004-01-06 Michael Chastain <mec.gnu@mindspring.com>
20764
20765 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
20766 * gdb.base/call-rt-st.exp: Likewise.
20767 * gdb.base/nodebug.exp: Likewise.
20768 * gdb.base/volatile.exp: Likewise.
20769 * gdb.cp/ref-types.exp: Likewise.
20770 * gdb.cp/templates.exp: Likewise.
20771
023c1024
MK
207722004-01-05 Mark Kettenis <kettenis@gnu.org>
20773
20774 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
20775
19703c4a
MC
207762004-01-05 Michael Chastain <mec.gnu@mindspring.com>
20777
20778 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
20779 hppa*-hp-hpux*.
20780
18b67037
MK
207812004-01-04 Mark Kettenis <kettenis@gnu.org>
20782
ba6219c8
MK
20783 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20784 x86_64-*-*.
20785
18b67037
MK
20786 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
20787 sparc64-*-* and sparc*-solaris2*.
20788
1bfbbb9d
MK
207892004-01-04 Mark Kettenis <kettenis@gnu.org>
20790
20791 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
20792 return ${tests}" test. The ${tests} already mentions the
20793 filename.
20794
06846494
MC
207952004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20796
20797 * gdb.cp/local.exp: Accept gcc abi 2.
20798
3b0cb202
MC
207992004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20800
20801 * gdb.cp/templates.exp: Accept gcc abi 2.
20802
0643ec3f
MC
208032004-01-02 Michael Chastain <mec.gnu@mindspring.com>
20804
20805 * lib/compiler.cc: Remove supports_template_debugging.
20806 * gdb.cp/templates.exp: Do not test supports_template_debugging.
20807
d231d0b1
MC
208082004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20809
20810 * gdb.cp/namespace.exp: Accept gcc abi 2.
20811
44ffb27c
MC
208122004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20813
20814 * gdb.cp/method.exp: Accept gcc abi 2.
20815
184ad485
MC
208162004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20817
20818 * gdb.cp/classes.exp: Generate identical results as old version.
20819 * gdb.cp/derivation.exp: Likewise.
20820 * gdb.cp/overload.exp: Likewise.
20821 * gdb.cp/virtfunc.exp: Likewise.
20822
116f09e7
MC
208232004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20824
20825 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
20826 mysterious bug with sourceware version of expect.
20827
b1379776
MC
208282004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20829
20830 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
20831 current versions of gcc, including gcc abi 2. Remove gratuitous
20832 restart of test program. Use gdb_test_multiple and gdb_test for
20833 all tests. Add patterns to xfail missing "const" in "const char *"
20834 and kfail PR gdb/1155.
20835
6b7a4c0e
MC
208362004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20837
20838 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
20839 current versions of gcc, including gcc abi 2. Remove gratuitous
20840 restart of test program. Use gdb_test_multiple and gdb_test for
20841 all tests. Add patterns to kfail PR gdb/1498.
20842
51615d72
MC
208432003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20844
20845 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
20846 current versions of gcc, including gcc abi 2. Use "breakpoint"
20847 and "continue" instead of restarting the target program. Use
20848 gdb_test_multiple and gdb_test for all tests.
20849
7b79a9d7
MK
208502004-01-01 Mark Kettenis <kettenis@gnu.org>
20851
20852 * gdb.asm/asm-source.exp: Update copyright year. Link statically
20853 for *-*-solaris2*.
20854
1cd3489f
MC
208552003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20856
20857 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
20858 current versions of gcc, including gcc abi 2. Use "breakpoint"
20859 and "continue" instead of restarting the target program several
20860 times. Use gdb_test_multiple and gdb_test for all tests.
20861
850742db
MC
208622003-12-18 Michael Chastain <mec.gnu@mindspring.com>
20863
20864 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20865 source files.
20866
eb4bbda8
MC
208672003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20868
20869 * gdb.base/environ.exp: Handle compiling test case from multiple
20870 source files.
20871
e42c7771
MC
208722003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20873
20874 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20875
80e4b428
JB
208762003-12-17 Jim Blandy <jimb@redhat.com>
20877
5f06973a
JB
20878 * gdb.base/freebpcmd.c: Add copyright notice.
20879
80e4b428
JB
20880 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20881
0ab84fb7
MC
208822003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20883
20884 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20885
1b3bb3d0
JB
208862003-12-13 Jim Blandy <jimb@redhat.com>
20887
20888 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20889
3a4c9371
KB
208902003-12-12 Kevin Buettner <kevinb@redhat.com>
20891
20892 * gdb.asm/frv.inc: New file.
20893 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20894
a1dea79a
FF
208952003-12-09 Fred Fish <fnf@redhat.com>
20896
20897 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20898 functions to break1.c and leave prototypes behind. Add more
20899 "set breakpoint NN here" comments.
20900 * gdb.base/break1.c: New file.
20901
20902 * gdb.base/break.exp: Handle compiling test case from multiple
20903 source files and change source file references as needed.
20904 * gdb.base/completion.exp: Ditto.
20905 * gdb.base/condbreak.exp: Ditto.
20906 * gdb.base/define.exp: Ditto.
20907 * gdb.base/ena-dis-br.exp: Ditto.
20908 * gdb.base/info-proc.exp: Ditto.
20909 * gdb.base/maint.exp: Ditto.
20910 * gdb.base/until.exp: Ditto.
20911
20912 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20913 hardcoded line numbers.
20914 * gdb.base/define.exp: Ditto.
20915 * gdb.base/ena-dis-br.exp: Ditto.
20916 * gdb.base/maint.exp: Ditto.
20917 * gdb.base/until.exp: Ditto.
20918
20919 * gdb.base/completion.exp: Use "break1" for completion tests since
20920 "break" is no longer a unique prefix.
20921
5266b69c
AC
209222003-12-06 Andrew Cagney <cagney@redhat.com>
20923
20924 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20925 "return_value_unimplemented". When an unimplemented struct return
20926 architecture, report incorrect values as a KFAIL
20927
374451f0
MC
209282003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20929
20930 * gdb.cp/rtti.exp: Accept new wording of warning from
20931 cp_lookup_rtti_type.
20932
ba9b20a7
MC
209332003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20934
20935 Partial fix for PR testsuite/1456.
20936 * gdb.base/scope.exp (test_at_main): Replace references to
20937 gcc_compiled with calls to test_compiler_info.
20938 (test_at_foo): Likewise.
20939 (test_at_bar): Likewise.
20940
b74b6d0b
MC
209412003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20942
20943 Partial fix for PR testsuite/1456.
20944 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20945 to test_compiler_info.
20946
ccfa3402
MC
209472003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20948
20949 * gdb.base/so-impl-ld.exp: Update copyright notice.
20950
f6246aba
MC
209512003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20952
20953 Partial fix for PR testsuite/1456.
20954 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20955 to test_compiler_info.
20956
13ae734a
MC
209572003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20958
20959 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20960 from current versions of gdb. Clean up regular expressions.
20961 Delete redundant timeout case.
20962
d8e1cdee
MC
209632003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20964
20965 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20966 from current versions of gdb. Clean up regular expressions.
20967 Delete redundant timeout case.
20968
96457b64
MC
209692003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20970
20971 Partial fix for PR testsuite/1456.
20972 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20973 gcc_compiled with call to test_compiler_info.
20974
f35309fc
MC
209752003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20976
20977 Partial fix for PR testsuite/1456.
20978 * gdb.base/list.exp (test_list_function): Delete unused declaration
20979 of gcc_compiled.
20980
d7afdf9b
MC
209812003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20982
20983 Partial fix for PR testsuite/1456.
20984 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20985 call to test_compiler_info.
20986
71507b56
MK
209872003-11-29 Mark Kettenis <kettenis@gnu.org>
20988
20989 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20990 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20991 it to create the appropriate note.inc.
20992 * gdb.asm/asmsrc1.s: Include "note.inc".
20993 * gdb.asm/netbsd.inc: New file.
20994 * gdb.asm/empty.inc: New file.
20995
f81f93f7
MC
209962003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20997
20998 Partial fix for PR testsuite/1456.
20999 * gdb.base/constvars.exp: Replace references to gcc_compiled with
21000 calls to test_compiler_info.
21001
9a77938e
MC
210022003-11-27 Michael Chastain <mec.gnu@mindspring.com>
21003
21004 Partial fix for PR testsuite/1456.
21005 * gdb.base/volatile.exp: Replace references to gcc_compiled with
21006 calls to test_compiler_info.
21007
e8367dc7
MK
210082003-11-27 Mark Kettenis <kettenis@gnu.org>
21009
21010 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
21011 pattern for the KFAILs.
21012
526c61ee
AF
210132003-11-25 Adam Fedor <fedor@gnu.org>
21014
21015 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
21016 * gdb.objc/objcdecode.m: New file.
21017
28f2d600
AF
210182003-11-25 Adam Fedor <fedor@gnu.org>
21019
21020 * gdb.objc/nondebug.exp: Test for PR objc/1236.
21021 * gdb.objc/nondebug.m: New file.
21022
a3895cee
BE
210232003-11-26 Ben Elliston <bje@wasabisystems.com>
21024
21025 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21026 NetBSD as it does on FreeBSD. Modelled on a similar change by
21027 Mark Kettenis on 2003-05-30.
21028 (link-flags): Set to "--entry _start" regardless of target.
21029 Special linker flags are to be appended to $link-flags.
21030 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
21031
c9f2c8a3
MC
210322003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21033
21034 * gdb.cp/method.exp: Accept output of new demangler.
21035
15a0587a 210362003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
21037
21038 * gdb/class2.exp: New file.
21039 * gdb/class2.cc: New file.
21040
3c00b570
MC
210412003-11-25 Michael Chastain <mec.gnu@mindspring.com>
21042
21043 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
21044 of new demangler.
21045
7027acc7
MK
210462003-11-23 Mark Kettenis <kettenis@gnu.org>
21047
21048 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
21049 of gdb_test "run".
21050
b0e1598a
MK
210512003-11-23 Mark Kettenis <kettenis@gnu.org>
21052
21053 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
21054 "continue" into "run".
21055
4d9eda44
MC
210562003-11-23 Michael Chastain <mec.gnu@mindspring.com>
21057
21058 Partial fix for PR testsuite/1456.
21059 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
21060 call to test_compiler_info.
21061 * gdb.cp/ctti.exp: Likewise.
21062 * gdb.cp/derivation.exp: Likewise.
21063 * gdb.cp/member-ptr.exp: Likewise.
21064 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
21065 reference to gcc_compiled.
21066
210672003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
21068
21069 Fix PR testsuite/1463.
21070 * gdb.base/structs.exp (start_structs_test): Call
21071 get_debug_format before using the debug format.
21072
d422fe19
AC
210732003-11-22 Andrew Cagney <cagney@redhat.com>
21074
21075 * lib/gdb.exp (gdb_test_multiple): Add simple example.
21076 * gdb.base/structs.exp: Use gdb_test_multiple.
21077
039cf96d
AC
210782003-11-20 Andrew Cagney <cagney@redhat.com>
21079
6882279b
AC
21080 * gdb.base/structs.exp: Handle and recover from internal errors.
21081 Replace "foo${n}" with "foo<n>" in test messages.
21082
e53890ae
AC
21083 * gdb.base/structs.exp: Update copyright. Rewrite.
21084 * gdb.base/structs.c: Update copyright. Rewrite.
21085
2b211c59
AC
21086 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
21087 resync count exceeded.
d63a86f8 21088
039cf96d
AC
21089 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
21090 from the internal error.
21091 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
21092 Original from Jim Blandy.
21093 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 21094
eac98b22
AC
210952003-11-19 Andrew Cagney <cagney@redhat.com>
21096
21097 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
21098 KFAIL.
21099
67455b2a
MK
211002003-11-17 Mark Kettenis <kettenis@gnu.org>
21101
21102 New testcase for PR backtrace/1435.
21103 * gdb.arch/i386-unwind.exp: New file.
21104 * gdb.arch/i386-unwind.c: New file.
21105
853d6e5b
AC
211062003-11-17 Andrew Cagney <cagney@redhat.com>
21107
21108 * lib/gdb.exp (compiler_info): New global.
21109 (test_compiler_info): New function.
21110 (get_compiler_info): Set compiler_info.
21111 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
21112 "compiler_info" to gcc-<major>-<minor>.
21113
38cf6e11
MC
211142003-11-15 Michael Chastain <mec.gnu@mindspring.com>
21115
21116 * gdb.trace/configure: Remove.
21117
a50d3602
EZ
211182003-11-13 Elena Zannoni <ezannoni@redhat.com>
21119
21120 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 21121 breakpoints.
a50d3602
EZ
21122 * gdb.base/break.exp: Remove all references to explicit line
21123 numbers.
21124
d9407aaa
NC
211252003-11-11 Nick Clifton <nickc@redhat.com>
21126
21127 * gdb.base/shreloc.exp: Do not run for targets which do not
21128 support shared objects.
21129
db488fc1
CV
211302003-11-10 Corinna Vinschen <vinschen@redhat.com>
21131
21132 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
21133 Don't run tests if nofileio flag is given.
21134
6a90a18e
EZ
211352003-11-07 Elena Zannoni <ezannoni@redhat.com>
21136
21137 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 21138 as well as 'Watchpoint'.
6a90a18e 21139
0b915e9c
EZ
211402003-11-06 Elena Zannoni <ezannoni@redhat.com>
21141
21142 Reported by Jim Ingham <jingham@apple.com>:
21143 * gdb.base/annota1.exp: Match at least one occurrence of the
21144 signal handler annotation.
21145
d7e4b55f
EZ
211462003-11-06 Elena Zannoni <ezannoni@redhat.com>
21147
a9c64011
AS
21148 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
21149 as well as 'Watchpoint'.
d7e4b55f 21150
2fe4e8d0
MC
211512003-11-05 Michael Chastain <mec@shout.net>
21152
21153 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
21154
6ef88553
KW
211552003-11-03 Kris Warkentin <kewarken@qnx.com>
21156
21157 * gdb.arch/gdb1291.c: New test file.
21158 * gdb.arch/gdb1291.exp: New test script.
21159 * gdb.arch/gdb1431.c: New test file.
21160 * gdb.arch/gdb1431.exp: New test script.
21161
ae7dc4d8
MC
211622003-10-22 Michael Chastain <mec@shout.net>
21163
21164 * gdb.mi/pthreads.c: Add copyright notice.
21165
c39d7427
MC
211662003-10-22 Michael Chastain <mec@shout.net>
21167
21168 * gdb.threads/pthreads.c: Add copyright notice.
21169
8b7d96c1
MC
211702003-10-20 Michael Chastain <mec@shout.net>
21171
21172 * gdb.base/gdb1056.exp: New test script.
21173
d1d69fdd
DJ
211742003-10-13 Daniel Jacobowitz <drow@mvista.com>
21175
21176 * gdb.threads/killed.exp: Use gdb_run_cmd.
21177
7d605576
DJ
211782003-10-13 Daniel Jacobowitz <drow@mvista.com>
21179
21180 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
21181 create a core file.
21182 * gdb.threads/gcore-thread.exp: Likewise.
21183
618ec112
CV
211842003-10-13 Corinna Vinschen <vinschen@redhat.com>
21185
21186 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
21187 type, based on char type.
21188 (struct bit_flags_short_t): New bitfield type, based on short type.
21189 (init_bit_flags_char): New fuction.
21190 (init_bit_flags_short): Ditto.
21191 (print_bit_flags_char): Ditto.
21192 (print_bit_flags_short): Ditto.
21193 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
21194
9367a73c
MC
211952003-10-11 Michael Chastain <mec@shout.net>
21196
21197 * gdb.base/call-rt-st.exp: Update copyright year.
21198
1decf120
KI
211992003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
21200
21201 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
21202 * gdb.disasm/sh3.s: Ditto.
21203
5445b2ae
DJ
212042003-10-07 Daniel Jacobowitz <drow@mvista.com>
21205
21206 * gdb.threads/switch-threads.exp: New test.
21207 * gdb.threads/switch-threads.c: New source file.
21208
aec24853
CV
212092003-10-07 Corinna Vinschen <vinschen@redhat.com>
21210
21211 * gdb.base/ending-run.exp: Add sh specific case.
21212
adc7428d
AC
212132003-10-06 Andrew Cagney <cagney@redhat.com>
21214
21215 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
21216 * gdb.disasm/mn10200.exp: Delete obsolete file.
21217
c9d37158
DJ
212182003-09-29 Daniel Jacobowitz <drow@mvista.com>
21219
21220 * ChangeLog: Correct an entry command.exp -> commands.exp.
21221 * gdb.base/commands.exp (bp_deleted_in_command_test)
21222 (temporary_breakpoint_commands): Check noargs.
21223
79c2c32d
DC
212242003-09-25 David Carlton <carlton@kealia.com>
21225
21226 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
21227 of some print tests, where appropriate. Add tests for C::D::cd,
21228 E::ce, F::cXfX, G::XgX.
21229 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
21230
594e6d67
RE
212312003-09-25 Richard Earnshaw <rearnsha@arm.com>
21232
21233 * lib/java.exp (java_init): Import target_alias before using it.
21234
10f0d451
DC
212352003-09-25 David Carlton <carlton@kealia.com>
21236
21237 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
21238
274bcba0
EZ
212392003-09-23 Elena Zannoni <ezannoni@redhat.com>
21240
d63a86f8 21241 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 21242 weirdness.
274bcba0 21243
cdbf20f7
MC
212442003-09-17 Michael Chastain <mec@shout.net>
21245
21246 * gdb.cp/gdb1355.exp: New file.
21247 * gdb.cp/gdb1355.c: New file.
21248
71e06f80
CV
212492003-09-15 Corinna Vinschen <vinschen@redhat.com>
21250
21251 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
21252 * gdb.asm/sh.inc: New file.
21253
5c4e30ca
DC
212542003-09-11 David Carlton <carlton@kealia.com>
21255
bd45b7af
DC
21256 * gdb.cp/namespace.exp: Add tests for namespace types.
21257 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
21258 (test_namespace): New.
21259
1c199746
EZ
212602003-09-11 Elena Zannoni <ezannoni@redhat.com>
21261
a9c64011 21262 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 21263 * gdb.stabs/weird.exp: Ditto.
1c199746 21264
04ed252f
MC
212652003-09-08 Michael Chastain <mec@shout.net>
21266
21267 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
21268
d8a2d9e7
MC
212692003-09-07 Michael Chastain <mec@shout.net>
21270
21271 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
21272 'parse error'.
21273
161afb24
MK
212742003-09-07 Mark Kettenis <m.kettenis@osp.nl>
21275
21276 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
21277
49f2741a
MC
212782003-08-30 Michael Chastain <mec@shout.net>
21279
21280 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
21281 * gdb.gdb/observer.exp: Ditto.
21282 * gdb.gdb/xfullpath.exp: Ditto.
21283
8afa723e
MK
212842003-08-29 Mark Kettenis <kettenis@gnu.org>
21285
21286 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
21287 *-*-*bsd*.
21288
f31dfe3b
JJ
212892003-08-28 Jeff Johnston <jjohnstn@redhat.com>
21290
21291 * gdb.base/dump.exp: Skip for ia64.
21292
4630e498
JJ
212932003-08-25 Jeff Johnston <jjohnstn@redhat.com>
21294
21295 * gdb.asm/asm-source.exp: Add ia64 support.
21296 * gdb.asm/ia64.inc: New file.
21297
1105b7ef
MC
212982003-08-22 Michael Chastain <mec@shout.net>
21299
21300 * gdb.cp: New directory.
21301 * gdb.cp/*: Copy from gdb.c++/*.
21302 * gdb.c++/*: Remove.
21303 * Makefile.in: Change gdb.c++ to gdb.cp.
21304 * configure.in: Ditto.
21305 * configure: Regnerate.
21306
c945b932
MK
213072003-08-18 Mark Kettenis <kettenis@gnu.org>
21308
21309 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
21310 * gdb.arch/i386-prologue.c (gdb1338): Add function.
21311
2b66634b
DJ
213122003-08-17 Daniel Jacobowitz <drow@mvista.com>
21313
21314 * mi-var-display.exp (-var-list-children weird): Accept function
21315 pointers with argument types.
21316 * mi1-var-display.exp (-var-list-children weird): Likewise.
21317 * mi2-var-display.exp (-var-list-children weird): Likewise.
21318
a356f73b
DJ
213192003-08-17 Daniel Jacobowitz <drow@mvista.com>
21320
21321 * gdb.base/annota3.exp: Add missing newline.
21322
483417b8
MC
213232003-08-06 Michael Chastain <mec@shout.net>
21324
21325 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
21326
c99c59c3
MS
213272003-08-12 Michael Snyder <msnyder@redhat.com>
21328
21329 * gdb.base/float.exp: Add test for SH.
21330
55ed7501
MK
213312003-08-10 Mark Kettenis <kettenis@gnu.org>
21332
21333 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
21334
1a371f2e
EZ
213352003-08-07 Elena Zannoni <ezannoni@redhat.com>
21336
21337 * gdb.base/completion.exp: Remove reduntant completion test
21338 on filename.
21339
e0f353ce
EZ
213402003-08-07 Elena Zannoni <ezannoni@redhat.com>
21341
a9c64011
AS
21342 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
21343 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
21344 gdb.trace/save-trace.exp: Make sure that full pathnames are
21345 escaped correctly.
e0f353ce 21346
5710a1af 213472003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 21348
a9c64011
AS
21349 * configure.in: Don't generate config.h from config.hin.
21350 * configure: Regenerate.
21351 * config.hin: Remove file.
21352 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
21353 * gdb.threads/pthreads.c: Ditto.
5710a1af 21354
dcd81ce9
DJ
213552003-08-07 Daniel Jacobowitz <drow@mvista.com>
21356
21357 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21358 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
21359 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
21360 Replace ld24 with seth/add3.
21361
6009d884
AC
213622003-08-02 Andrew Cagney <cagney@redhat.com>
21363
21364 * gdb.base/annota3.exp: New file.
21365 * gdb.base/annota3.c: New file.
21366 * gdb.c++/annota3.exp: New file.
21367 * gdb.c++/annota3.cc: New file.
21368
51514e06
MC
213692003-07-29 Michael Chastain <mec@shout.net>
21370
21371 * gdb.threads/tls.c (spin): Check errno only if sem_wait
21372 actually failed.
21373 (do_pass): Likewise.
21374 * gdb.threads/tls.exp: Always initialize no_of_threads.
21375
4ee6625b
DJ
213762003-07-27 Daniel Jacobowitz <drow@mvista.com>
21377
21378 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
21379 pattern.
21380 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
21381 * gdb.threads/tls.exp: Recognize one case of the host library not
21382 supporting TLS.
21383
225f2bf6
AC
213842003-07-27 Andrew Cagney <cagney@redhat.com>
21385
21386 * gdb.base/fileio.exp: Use SH when running commands using
21387 remote_exec.
21388
bcb27c9f
DJ
213892003-07-24 Daniel Jacobowitz <drow@mvista.com>
21390
21391 From Kei Sakamoto <sakamoto.kei@renesas.com>:
21392 * gdb.base/relocate.c (dummy): New padding array.
21393
3d67be83
MS
213942003-07-22 Michael Snyder <msnyder@redhat.com>
21395
d63a86f8 21396 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
21397
21398 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
21399 patterns to be more general, accepting old and new output.
21400 Some output chars (such as '+') also must be quoted.
d63a86f8 21401 Some addresses are displayed numerically instead of
3d67be83
MS
21402 symbolically.
21403
57ba3b85
MS
214042003-07-23 Michael Snyder <msnyder@redhat.com>
21405
686d097c
MS
21406 * gdb.base/return2.exp: Don't test long-long return.
21407
57ba3b85
MS
21408 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
21409 * gdb.disasm/t01_mov.exp: Ditto.
21410 * gdb.disasm/t02_mova.s: Ditto.
21411 * gdb.disasm/t02_mova.exp: Ditto.
21412 * gdb.disasm/t03_add.s: Ditto.
21413 * gdb.disasm/t03_add.exp: Ditto.
21414 * gdb.disasm/t04_sub.s: Ditto.
21415 * gdb.disasm/t04_sub.exp: Ditto.
21416 * gdb.disasm/t05_cmp.s: Ditto.
21417 * gdb.disasm/t05_cmp.exp: Ditto.
21418 * gdb.disasm/t06_ari2.s: Ditto.
21419 * gdb.disasm/t06_ari2.exp: Ditto.
21420 * gdb.disasm/t07_ari3.s: Ditto.
21421 * gdb.disasm/t07_ari3.exp: Ditto.
21422 * gdb.disasm/t08_or.s: Ditto.
21423 * gdb.disasm/t08_or.exp: Ditto.
21424 * gdb.disasm/t09_xor.s: Ditto.
21425 * gdb.disasm/t09_xor.exp: Ditto.
21426 * gdb.disasm/t10_and.s: Ditto.
21427 * gdb.disasm/t10_and.exp: Ditto.
21428 * gdb.disasm/t11_logs.s: Ditto.
21429 * gdb.disasm/t11_logs.exp: Ditto.
21430 * gdb.disasm/t12_bit.s: Ditto.
21431 * gdb.disasm/t12_bit.exp: Ditto.
21432 * gdb.disasm/t13_otr.s: Ditto.
21433 * gdb.disasm/t13_otr.exp: Ditto.
21434
e00759ef
EZ
214352003-07-22 Elena Zannoni <ezannoni@redhat.com>
21436
21437 * gdb.threads/tls.exp :Add kfail for 'info address' case.
21438
8bc2021f
EZ
214392003-07-22 Elena Zannoni <ezannoni@redhat.com>
21440
a9c64011
AS
21441 * gdb.threads/tls.c : New file.
21442 * gdb.threads/tls.exp : New file.
21443 * gdb.threads/tls-main.c : New file.
21444 * gdb.threads/tls-shared.c : New file.
21445 * gdb.threads/tls-shared.exp : New file.
8bc2021f 21446
89320c4c
AS
214472003-07-22 Andreas Schwab <schwab@suse.de>
21448
21449 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
21450
180dea7c
AS
214512003-07-20 Andreas Schwab <schwab@suse.de>
21452
21453 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
21454 due to insn reordering.
21455
0714963c
AC
214562003-07-15 Andrew Cagney <cagney@redhat.com>
21457
21458 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
21459
98a23b3f
MC
214602003-07-15 Michael Chastain <mec@shout.net>
21461
21462 * gdb.base/gdb1250.exp: New file.
21463 * gdb.base/gdb1250.c: New file.
21464
27e417a2
ML
214652003-07-09 Michal Ludvig <mludvig@suse.cz>
21466
21467 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
21468 expansion of size_t to 'unsigned long', not only to 'unsigned'.
21469
8bc2021f
EZ
214702003-07-09 Elena Zannoni <ezannoni@redhat.com>
21471
a9c64011
AS
21472 * gdb.threads/tls.c: New file.
21473 * gdb.threads/tls.exp: New file.
21474 * gdb.threads/tls-main.c: New file.
21475 * gdb.threads/tls-shared.c: New file.
21476 * gdb.threads/tls-shared.exp: New file.
8bc2021f 21477
d99968dc
EZ
214782003-07-09 Elena Zannoni <ezannoni@redhat.com>
21479
21480 * gdb.base/annota1.exp: Make sure that we properly escape the
21481 full path of the source file. Xfail more permissive patterns,
d63a86f8 21482 due to a compiler debug info problem.
d99968dc 21483
83876b3b
AS
214842003-07-07 Andreas Schwab <schwab@suse.de>
21485
2705e972
AS
21486 * gdb.asm/m68k.inc: New file.
21487 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
21488
83876b3b
AS
21489 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
21490 arguments"): Also match negative number.
21491
21492 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
21493
3a871b37
DJ
214942003-07-03 Daniel Jacobowitz <drow@mvista.com>
21495
21496 * gdb.base/store.c (charest): New typedef.
21497 (add_char): Rename to add_charest, update.
21498 (wack_char): Rename to wack_charest, update types. Return l + r
21499 to keep r live across the call.
21500 (wack_short, wack_int, wack_long, wack_longest, wack_float)
21501 (wack_double, wack_doublest): Return l + r to keep r live across
21502 the call.
21503 * gdb.base/store.exp: Accomodate store.c changes.
21504
b2a7f303
DC
215052003-06-30 David Carlton <carlton@kealia.com>
21506
21507 * gdb.c++/maint.exp (test_invalid_name): New.
21508 (test_first_component): Add tests for invalid names.
21509
3c6cb4a1
MC
215102003-06-29 Michael Chastain <mec@shout.net>
21511
21512 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
21513 output of '<VTT for class>' for virtual base classes.
21514
f1c2644b
DJ
215152003-06-29 Daniel Jacobowitz <drow@mvista.com>
21516
21517 * gdb.base/completion.exp: Tab-complete "complet" instead of
21518 "compl".
21519 * gdb.base/complex.exp, gdb.base/complex.c: New files.
21520
18080350
DJ
215212003-06-29 Daniel Jacobowitz <drow@mvista.com>
21522
21523 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
21524 * gdb.base/volatile.exp: Likewise.
21525
f56973f8
DJ
215262003-06-29 Daniel Jacobowitz <drow@mvista.com>
21527
21528 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
21529 gdb/1265.
21530
215312003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
21532 Daniel Jacobowitz <drow@mvista.com>
21533
21534 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
21535 initial line count of 'captured_main' from 26 to 32.
21536 (test_with_self): Allow xmalloc call to be interleaved with the
21537 preceding two lines.
21538
e766d4d6
JB
215392003-06-24 Joel Brobecker <brobecker@gnat.com>
21540
21541 * gdb.base/bang.exp: New testcase.
21542
f125c9a4
JB
215432003-06-23 Joel Brobecker <brobecker@gnat.com>
21544
21545 * gdb.base/langs.exp: Add some tests for the "minimal" language
21546 support.
21547
6e25beaf
EZ
215482003-06-23 Elena Zannoni <ezannoni@redhat.com>
21549
21550 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
21551 the testcase.
21552
2f816dda
DJ
215532003-06-22 Daniel Jacobowitz <drow@mvista.com>
21554
21555 * gdb.base/relocate.exp: Test add-symbol-file with a variable
21556 offset.
21557
db5a5748
DJ
215582003-06-22 Daniel Jacobowitz <drow@mvista.com>
21559
21560 * gdb.c++/pr-1210.cc: New file.
21561 * gdb.c++/pr-1210.exp: New file.
21562
1df0c130
DJ
215632003-06-21 Daniel Jacobowitz <drow@mvista.com>
21564
21565 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
21566 000-exec-continue.
21567
a92feac0
MK
215682003-06-15 Mark Kettenis <kettenis@gnu.org>
21569
21570 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
21571 on *-*-*bsd* instead of *-*-freebsd*.
21572
81a58f5b
AC
215732003-06-14 Andrew Cagney <cagney@redhat.com>
21574
21575 * gdb.base/store.exp: Test longest and doublest. Test all
21576 parameters. Weaken return statement match.
21577 * gdb.base/store.c: Add longest and doublest - aka long long and
21578 long double functions. Put all parameters into local register
21579 variables. Use negative values.
21580
b257a0d3
AC
215812003-06-14 Andrew Cagney <cagney@redhat.com>
21582
21583 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
21584 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
21585 exit status.
21586 * gdb.base/fileio.exp: Disable target when nointerrupts and
21587 noinferiorio, instead of limiting it to remote. Use remote_exec
21588 instead of system.
d63a86f8 21589
21c38304
JJ
215902003-06-12 Jeff Johnston <jjohnstn@redhat.com>
21591
21592 * gdb.base/float.exp: Add ia64 support.
21593
1bcdb424
CV
215942003-06-12 Corinna Vinschen <vinschen@redhat.com>
21595
21596 * gdb.base/fileio.exp: Run only on remote targets.
21597
6aeb981f
CV
215982003-06-10 Corinna Vinschen <vinschen@redhat.com>
21599
21600 * gdb.base/fileio.c: New file, testing File-I/O.
21601 * gdb.base/fileio.exp: Ditto.
21602
53df362e
RG
216032003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
21604
21605 * gdb.base/shreloc.exp: New file, check symbol values obtained from
21606 shared objects after relocation at load time (gdb PR/1132).
21607 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 21608 as above, part of the shared object relocation test.
53df362e 21609
ffee1b46
MK
216102003-06-08 Mark Kettenis <kettenis@gnu.org>
21611
b5ca3722
MK
21612 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
21613 fully filled history list.
21614 * gdb.base/gdb_history: New file.
21615
03ed860d
MK
21616 * gdb.base/signals.exp: XFAIL "continue to func1" on
21617 i*86-*-freebsd*.
21618
ffee1b46
MK
21619 * gdb.base/attach.exp: When trying to attach to a nonexistent
21620 process, make it possible to specify the PID based on the target,
21621 and do so for *-*-freebsd*.
21622
d80dbb52
RH
216232003-06-02 Richard Henderson <rth@redhat.com>
21624
21625 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
21626
6dd77b81
RH
216272003-06-02 Richard Henderson <rth@redhat.com>
21628
21629 * gdb.base/selftest.exp: Next over lim_at_start initialization.
21630
f6347e16
RH
216312003-06-02 Richard Henderson <rth@redhat.com>
21632
21633 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
21634
2c161407
DJ
216352003-06-01 Daniel Jacobowitz <drow@mvista.com>
21636
21637 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
21638 of globalvar.
21639
572eb746
MK
216402003-06-01 Mark Kettenis <kettenis@gnu.org>
21641
21642 * gdb.asm/asm-source.exp: Check for memory read errors in
21643 disassembler test on *BSD too.
21644
9e9617a5
RH
216452003-06-01 Richard Henderson <rth@redhat.com>
21646
21647 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
21648 for .frame.
21649 (gdbasm_call): Lose ldgp.
21650 (gdbasm_startup): Add frame information.
21651 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
21652
7b34ad4e
MK
216532003-05-31 Mark Kettenis <kettenis@gnu.org>
21654
21655 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
21656 i?86-*-*.
21657
10059fdf
MK
216582003-05-30 Mark Kettenis <kettenis@gnu.org>
21659
21660 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
21661 FreeBSD.
21662
acf4b816
RH
216632003-05-29 Richard Henderson <rth@redhat.com>
21664
21665 * gdb.asm/alpha.inc: New file.
21666 * gdb.asm/asm-source.exp: Use it.
21667
e9ecd949
JB
216682003-05-29 Jim Blandy <jimb@redhat.com>
21669
21670 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
21671 'core.PID'.
21672
e3e5a4f3
JB
216732003-05-22 Jim Blandy <jimb@redhat.com>
21674
21675 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
21676 backtrace.
d63a86f8 21677
72fe3d25
DC
216782003-05-20 David Carlton <carlton@math.stanford.edu>
21679
21680 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
21681 this time.
21682
58da2eb2
DC
216832003-05-19 David Carlton <carlton@bactrian.org>
21684
21685 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
21686 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
21687
1fcb5155
DC
216882003-05-19 David Carlton <carlton@bactrian.org>
21689
21690 * gdb.c++/namespace.exp: Add namespace scope and anonymous
21691 namespace tests.
21692 Bump copyright date.
21693 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
21694 (main): Call C::D::marker2.
21695 * gdb.c++/namespace1.cc: New file.
21696
85e85163
JJ
216972003-05-14 Jeff Johnston <jjohnstn@redhat.com>
21698
21699 Roland McGrath <roland@redhat.com>
d63a86f8 21700 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
21701 there is no manager thread.
21702
a25fbfec
JJ
217032003-05-08 Jeff Johnston <jjohnstn@redhat.com>
21704
d63a86f8
RM
21705 * gdb.threads/schedlock.exp: Remove assumption that all threads
21706 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
21707 in one of the child threads rather than the main thread.
21708
be375bae
JB
217092003-05-07 Jim Blandy <jimb@redhat.com>
21710
09bf6082
JB
21711 Add support for assembly source testing on the s390x.
21712 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
21713 architecture.
21714 * gdb.asm/s390x.inc: New file.
21715
be375bae
JB
21716 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
21717 succession of 'if' statements.
21718
00905d52
AC
217192003-05-05 Andrew Cagney <cagney@redhat.com>
21720
21721 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
21722
b1e29e33
AC
217232003-05-05 Andrew Cagney <cagney@redhat.com>
21724
21725 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
21726 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
21727
e33d66ec
EZ
217282003-05-02 Elena Zannoni <ezannoni@redhat.com>
21729
21730 * gdb.base/charset.exp: Update based on new behavior of set/show
21731 charset commands.
21732
2b6fd0d8
AC
217332003-05-01 Andrew Cagney <cagney@redhat.com>
21734
21735 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
21736 variable do not give memory errors.
21737
130cacce
AF
217382003-04-30 Adam Fedor <fedor@gnu.org>
21739
21740 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
21741 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
21742 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
21743 gdb.objc/basicclass.m: : New files
21744
21745 * lib/gdb.exp (gdb_compile_objc): New procedure.
21746
bea71854
DJ
217472003-04-27 Daniel Jacobowitz <drow@mvista.com>
21748
21749 * gdb.base/signals.exp: Make backtrace tests more specific.
21750
0f20eeea
DC
217512003-04-23 David Carlton <carlton@bactrian.org>
21752
21753 * gdb.c++/maint.exp (test_first_component): Add tests for
21754 'operator' in more locations.
21755
c8c4d8dc
KB
217562003-04-16 Kevin Buettner <kevinb@redhat.com>
21757
21758 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
21759
3fe60e3c
EZ
217602003-04-16 Elena Zannoni <ezannoni@redhat.com>
21761
21762 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 21763 func marke' instead. Update test name.
3fe60e3c 21764
9219021c
DC
217652003-04-15 David Carlton <carlton@math.stanford.edu>
21766
21767 * gdb.c++/maint.exp: New file.
21768
5dd55bdd
EZ
217692003-04-14 Elena Zannoni <ezannoni@redhat.com>
21770
21771 * gdb.threads/schedlock.c: Change type of thread function argument
21772 to long, to avoid warnings on 64-bit platforms.
21773
00890572
EZ
217742003-04-14 Elena Zannoni <ezannoni@redhat.com>
21775
a9c64011
AS
21776 * gdb.base/attach.exp: Add new message from ptrace in case of
21777 attaching to nonexistent process.
d63a86f8 21778
93201743
JB
217792003-04-11 Jim Blandy <jimb@redhat.com>
21780
21781 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21782 gdb.c++/userdef.cc: Place comments on the lines to which the
21783 marker function might return.
21784 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21785 gdb.c++/userdef.exp: Look for those comments to check that we've
21786 returned to the right place, instead of checking line numbers.
21787
2a11c64d
EZ
217882003-04-11 Elena Zannoni <ezannoni@redhat.com>
21789
a9c64011
AS
21790 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
21791 match on sourcefile name, instead of directory name.
2a11c64d 21792
68ab8fc5
EZ
217932003-04-10 Elena Zannoni <ezannoni@redhat.com>
21794
d63a86f8 21795 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
21796 working directory name.
21797
5624293a
JB
217982003-04-09 Jim Blandy <jimb@redhat.com>
21799
21800 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
21801 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
21802 after an inferior function call, report the failure, but allow the
21803 test to continue.
21804
f1f02ee4
SC
218052003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21806
21807 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21808 with -DPROTOTYPES.
21809
6eb79af0
SC
218102003-04-05 Stephane Carrez <stcarrez@nerim.fr>
21811
21812 * gdb.base/break.exp: Revert last patch.
21813
8dfb4cf0
SC
218142003-04-04 Stephane Carrez <stcarrez@nerim.fr>
21815
21816 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
21817 with -DPROTOTYPES.
21818
ed4c619a
AC
218192003-04-02 Andrew Cagney <cagney@redhat.com>
21820
21821 * gdb.base/callfuncs.exp: Make "print add" messages unique.
21822 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
21823 matching directories by the name breakpoint.
21824 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
21825 Make "continue to marker1" consistent.
21826 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
21827 message consistent.
21828 * lib/gdb.exp: Put "the program is no longer running", and "the
21829 program exited" in parenthesis.
21830 * lib/mi-support.exp: Ditto.
d63a86f8 21831
4e35d5f0 218322003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 21833
4e35d5f0
BR
21834 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
21835
71900fe8
AC
218362003-03-29 Andrew Cagney <cagney@redhat.com>
21837
21838 * gdb.base/sizeof.c (main): Print the value of '\377'.
21839 * gdb.base/sizeof.exp: Check the sign of '\377'.
21840
c0655a16
MC
218412003-03-27 Michael Chastain <mec@shout.net>
21842
21843 * gdb.base/gdb1090.exp: New file.
21844 * gdb.base/gdb1090.cc: New file.
21845
5b2a3989
JB
218462003-03-27 J. Brobecker <brobecker@gnat.com>
21847
21848 * gdb.gdb/observer.exp: New regression test.
21849
79876890
MC
218502003-03-27 Michael Chastain <mec@shout.net>
21851
21852 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21853 * gdb.base/ptype.exp: Likewise.
21854
6eac95e3
CV
218552003-03-27 Corinna Vinschen <vinschen@redhat.com>
21856
21857 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21858
e8c71839
MC
218592003-03-26 Michael Chastain <mec@shout.net>
21860
21861 * gdb.base/ptype.exp: Actually use some typedef'd types.
21862
71b10041
SC
218632003-03-21 Stephane Carrez <stcarrez@nerim.fr>
21864
21865 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21866 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21867
2512cf80
CV
218682003-03-20 Corinna Vinschen <vinschen@redhat.com>
21869
21870 * gdb.base/default.exp: Fix regular expression.
21871
0d195a4f
CV
218722003-03-20 Corinna Vinschen <vinschen@redhat.com>
21873
21874 * gdb.base/args.exp: Fix regular expression.
21875
8a2dbca8
CV
218762003-03-20 Corinna Vinschen <vinschen@redhat.com>
21877
21878 * gdb.base/help.exp: Allow Win32 child process.
21879
bf028682
CV
218802003-03-20 Corinna Vinschen <vinschen@redhat.com>
21881
21882 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21883 when stepping out of main().
21884
182dbe85
CV
218852003-03-20 Corinna Vinschen <vinschen@redhat.com>
21886
21887 * gdb.base/default.exp: Check for win32 specific message when calling
21888 "run" without executable.
21889
d67a6ba5
CV
218902003-03-20 Corinna Vinschen <vinschen@redhat.com>
21891
21892 * gdb.base/args.exp: Expect .exe in output.
21893
a955b5bb
CV
218942003-03-20 Corinna Vinschen <vinschen@redhat.com>
21895
21896 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21897 Cygwin native.
21898
bf6bad4b
AC
218992003-03-17 Andrew Cagney <cagney@redhat.com>
21900
21901 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21902 vector registes.
21903 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21904 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21905
293e9a31
DC
219062003-03-17 David Carlton <carlton@math.stanford.edu>
21907
21908 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21909 test, for PR breakpoints/38.
21910 Call test_watchpoint_and_breakpoint.
21911 * gdb.base/watchpoint.c (func3): New function.
21912 (main): Call func3.
21913
5330f2db
DC
219142003-03-04 David Carlton <carlton@math.stanford.edu>
21915
21916 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21917 Garply<Garply<char> >:: garply".
21918 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21919 with respect to PR c++/1111; note also PR c++/1113.
21920 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21921 respect to PR c++/1062.
21922 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21923
6ece72da
DC
219242003-03-03 David Carlton <carlton@math.stanford.edu>
21925
21926 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21927 with respect to PR c++/57.
21928 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21929 c++/826.
21930 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21931 respect to PR c++/57.
21932
85ca1584
DC
219332003-03-03 David Carlton <carlton@math.stanford.edu>
21934
21935 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21936 respect to PR c++/33 into FAILs.
21937
98e9c5b8
MC
219382003-03-03 Michael Chastain <mec@shout.net>
21939
7bedbf27
MC
21940 * configure.in: Update copyright years.
21941
219422003-03-03 Michael Chastain <mec@shout.net>
21943
21944 * Makefile.in: Update copyright years.
98e9c5b8 21945
f683e100
DC
219462003-02-28 David Carlton <carlton@math.stanford.edu>
21947
21948 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21949 print class instead of struct and/or superfluous protection
21950 specifiers, as long as the resulting output is equivalent to the
21951 source code.
21952 Delete FIXME from end of messages on tests that don't need
21953 fixing.
21954
a9e0cf2c
DC
219552003-02-28 David Carlton <carlton@math.stanford.edu>
21956
21957 * gdb.c++/templates.exp (do_tests): Allow const in the two
21958 Foo<volatile char *>::foo tests.
21959
e8d359df
MS
219602003-02-27 Michael Snyder <msnyder@redhat.com>
21961
d63a86f8 21962 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
21963 will be consistant.
21964
0b71dc91
DC
219652003-02-26 David Carlton <carlton@math.stanford.edu>
21966
21967 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21968 char *>::foo" test with respect to PR c++/33. Create a new test
21969 which is identical to that one except that it doesn't put the
21970 space between the "char" and the "*"; KFAIL it, too.
21971
dd14ab43
DC
219722003-02-26 David Carlton <carlton@math.stanford.edu>
21973
21974 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21975 template types into either PASSes or KFAILs (corresponding to PR
21976 c++/57). Tweak indentation. Update copyright.
21977
1146c7f1
SC
219782003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21979
21980 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21981
74641dfb
MC
219822003-02-13 Michael Chastain <mec@shout.net>
21983
21984 * gdb.base/exprs.exp: Remove i960 remnants.
21985 * gdb.base/funcargs.exp: Likewise.
21986 * gdb.base/list.exp: Likewise.
21987 * gdb.base/ptype.exp: Likewise.
21988
559cd2d0
DC
219892003-02-14 David Carlton <carlton@math.stanford.edu>
21990
21991 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21992 pEe->D::vg()" from XFAIL to KFAIL.
21993
c4f90d87
JM
219942003-02-13 Jason Molenda (jmolenda@apple.com)
21995
21996 * gdb.base/maint.exp: Update maint print statistics regexp to include
21997 new entries.
21998
cbc4d97c
MC
219992003-02-13 Michael Chastain <mec@shout.net>
22000
22001 * gdb.c++/inherit.exp: Remove call to get_debug_format.
22002
40f235b7
MC
220032003-02-12 Michael Chastain <mec@shout.net>
22004
22005 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
22006 * gdb.c++/inherit.exp: Likewise.
22007 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
22008 * gdb.c++/templates.exp: Likewise.
22009 * gdb.c++/virtfunc.exp: Likewise.
22010
c56716b0
JM
220112003-02-06 Jason Molenda (jason-cl@molenda.com)
22012
22013 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
22014 why the code is written that way.
22015
070afcf8
MC
220162003-02-05 Michael Chastain <mec@shout.net>
22017
22018 * gdb.base/dump.exp: Add missing copyright line.
22019
5d0331e5
JM
220202003-02-05 Jason Molenda (jason-cl@molenda.com)
22021
f7ae6d3e 22022 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
22023 at the beginning so the breakpoint doesn't get set on the loop.
22024
92851186
MC
220252003-02-05 Michael Chastain <mec@shout.net>
22026
22027 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
22028 output for configurations with gcc 2.95.3.
22029
cbf1e085
AC
220302003-02-05 Keith Seitz <keiths@redhat.com>
22031 Andrew Cagney <ac131313@redhat.com>
22032
22033 * gdb.mi/mi-cli.exp: New file.
d63a86f8 22034
29518e1e
MC
220352003-02-04 Michael Chastain <mec@shout.net>
22036
22037 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
22038 Call perror and then continue.
22039
5af1d5f3
MC
220402003-02-03 Michael Chastain <mec@shout.net>
22041
22042 * gdb.c++/pr-1023.cc: New file.
22043 * gdb.c++/pr-1023.exp: New file.
22044
6b549786
JB
220452003-02-05 Jim Blandy <jimb@redhat.com>
22046
22047 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
22048 it's local to foobar. Check for it there, and check that it's not
22049 present in main.
22050 * gdb.c++/local.cc (marker2): New function.
22051 (foobar): Call marker1.
22052 (main): Call marker2 instead of marker1.
22053
67f16606
AC
220542003-02-04 Andrew Cagney <ac131313@redhat.com>
22055
22056 * gdb.disasm/mn10200.exp: Obsolete file.
22057 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
22058 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
22059 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
22060
1c5cb38e
DC
220612003-02-04 David Carlton <carlton@math.stanford.edu>
22062
22063 * gdb.c++/overload.exp: Test intToChar(1).
22064 * gdb.c++/overload.cc (intToChar): New.
22065 (main): Call intToChar.
22066
d1fe6965
DC
220672003-02-03 David Carlton <carlton@math.stanford.edu>
22068
22069 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
22070 'might_kfail' arg.
22071 KFAIL some of the continue_to_bp_overloaded calls, according to
22072 PR c++/1025.
22073
9ba61c5d
MC
220742003-02-01 Michael Chastain <mec@shout.net>
22075
22076 * gdb.base/advance.c (marker1): New marker function.
22077 * gdb.base/advance.exp: When the 'advance' command lands on the
22078 return breakpoint, it can legitimately stop on either the
22079 current line or the next line. Accommodate both outcomes.
22080 * gdb.base/until.exp: Likewise.
22081
e7494ffb
AC
220822003-02-02 Andrew Cagney <ac131313@redhat.com>
22083
22084 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
22085 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
22086 now a list, not a tuple.
22087 * gdb.mi/mi-var-display.exp: Ditto.
22088 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 22089
075559bc
AC
220902003-02-01 Andrew Cagney <ac131313@redhat.com>
22091
22092 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
22093 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
22094 stack backtraces.
22095 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 22096
2bd4c7b1
MK
220972003-02-01 Mark Kettenis <kettenis@gnu.org>
22098
22099 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22100 gdb.mi/mi1-pthreads.exp: Return instead of calling
22101 gdb_suppress_entire_file.
22102
eabd8992
MS
221032003-02-01 Mark Salter <msalter@redhat.com>
22104
22105 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
22106
71469e2f
MS
221072003-01-31 Mark Salter <msalter@redhat.com>
22108
22109 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
22110 Support empty arg.
22111
38a94d44
MC
221122003-01-30 Michael Chastain <mec@shout.net>
22113
22114 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
22115 This was a workaround for a UTF-8 bug in readline 4.3. The bug
22116 has been fixed in gdb/readline on 2003-01-09.
22117
19ea9e73
MS
221182003-01-29 Michael Snyder <msnyder@redhat.com>
22119
e8d359df
MS
22120 * gdb.base/maint.exp: Allow for leading underscore in symbol.
22121 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
22122 * gdb.base/args.exp: Skip if target does not support args passing.
22123
2307bd6a
DJ
221242003-01-22 Daniel Jacobowitz <drow@mvista.com>
22125
19ea9e73 22126 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
22127 gdb_test. Accept a list of expect arguments as the third
22128 parameter.
22129 (gdb_test): Use it.
22130
f2dd3617
EZ
221312003-01-20 Elena Zannoni <ezannoni@redhat.com>
22132
22133 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
22134 allow for different test tree configurations. Update some
22135 tescases accordingly.
22136 * gdb.arch/altivec-regs.exp: Ditto.
22137 * gdb.asm/asm-source.exp: Ditto.
22138 * gdb.base/advance.exp: Ditto.
22139 * gdb.base/display.exp: Ditto.
d63a86f8 22140 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
22141 * gdb.base/mips_pro.exp: Ditto.
22142 * gdb.base/overlays.exp: Ditto.
22143 * gdb.base/relocate.exp: Ditto.
22144 * gdb.base/setshow.exp: Ditto.
22145 * gdb.base/step-line.exp: Ditto.
22146 * gdb.base/step-test.exp: Ditto.
22147 * gdb.base/until.exp: Ditto.
22148 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
22149
c71cdefd
DC
221502003-01-17 David Carlton <carlton@math.stanford.edu>
22151
22152 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
22153 corresponding to PR c++/945.
22154 Update copyright.
22155
fdba05d7
DC
221562003-01-17 David Carlton <carlton@math.stanford.edu>
22157
22158 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
22159 corresponding to PR c++/68.
22160
221612003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
22162
22163 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
22164 (test_paddr_hairy_functions): Call print_addr_2_kfail for
22165 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
22166
c362c33a
EZ
221672003-01-15 Elena Zannoni <ezannoni@redhat.com>
22168
0fbc361c
EZ
22169 * gdb.base/break.exp: Fix change of default location, because of
22170 removal of until tests.
22171 * gdb.base/help.exp: Update test for new 'until' help message.
22172 Add test for help on 'advance'.
a9c64011 22173 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 22174
dabf8a35
MK
221752003-01-15 Mark Kettenis <kettenis@gnu.org>
22176
22177 * gdb.base/default.exp: Adapt "info float" test for recent changes
22178 to that command. Add test for "info vector".
22179 * gdb.base/float.exp: New file. Add test for "info float" that
22180 resembles the old test in gdb.base/default.exp.
22181
a1769aca
DC
221822003-01-15 David Carlton <carlton@math.stanford.edu>
22183
22184 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
22185
82025e13
EZ
221862003-01-15 Elena Zannoni <ezannoni@redhat.com>
22187
22188 * gdb.base/break.exp: Move the tests of until command from here...
22189 * gdb.base/until.exp: ... to here. New file. Add other tests.
22190 * gdb.base/advance.c: New file.
22191 * gdb.base/advance.exp: New file.
22192
8f9ab801
EZ
221932003-01-14 Elena Zannoni <ezannoni@redhat.com>
22194
a9c64011
AS
22195 * gdb.base/args.c: New file.
22196 * gdb.base/args.exp: New file.
8f9ab801 22197
9ae66589
DJ
221982003-01-14 Daniel Jacobowitz <drow@mvista.com>
22199
22200 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
22201
8d77e5c3
DJ
222022003-01-14 Daniel Jacobowitz <drow@mvista.com>
22203
22204 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
22205
12d2f0a1
DJ
222062003-01-14 Daniel Jacobowitz <drow@mvista.com>
22207
22208 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
22209 dates.
22210
6ca37014
DJ
222112003-01-13 Daniel Jacobowitz <drow@mvista.com>
22212
22213 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
22214
b0023472
DJ
222152003-01-13 Daniel Jacobowitz <drow@mvista.com>
22216
22217 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
22218 (ptype &*"foo").
22219 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
22220
607fbc54 222212003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
22222
22223 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
22224 * gdb.mi/mi1-console.exp: Likewise.
22225
607fbc54 222262003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
22227
22228 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
22229 * gdb.mi/mi1-console.exp: Likewise.
22230
a1fb14a2
DJ
222312003-01-13 Daniel Jacobowitz <drow@mvista.com>
22232
22233 * gdb.c++/overload.exp: Remove some fixed XFAILs.
22234
c4cf40b7
DJ
222352003-01-09 Daniel Jacobowitz <drow@mvista.com>
22236
22237 * gdb.base/detach.exp: New test.
22238
696d5a5b
DJ
222392003-01-09 Daniel Jacobowitz <drow@mvista.com>
22240
22241 * Makefile.in (ALL_SUBDIRS): New variable.
22242 (subdirs, clean, distclean): Use it.
22243 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
22244 regenerating Makefile, since it is generated from the top level.
22245 * gdb.asm/Makefile.in: Likewise.
22246 * gdb.base/Makefile.in: Likewise.
22247 * gdb.c++/Makefile.in: Likewise.
22248 * gdb.disasm/Makefile.in: Likewise.
22249 * gdb.java/Makefile.in: Likewise.
22250 * gdb.mi/Makefile.in: Likewise.
22251 * gdb.threads/Makefile.in: Likewise.
22252 * gdb.trace/Makefile.in: Likewise.
22253
754533e4
DC
222542003-01-09 David Carlton <carlton@math.stanford.edu>
22255
22256 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
22257 Add copyright year 2003.
22258
d8b3e9ee
MC
222592003-01-06 Michael Chastain <mec@shout.net>
22260
22261 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
22262 When selecting a thread, 'line' and 'file' are optional.
22263 * gdb.mi/mi1-pthreads.exp: Likewise.
22264
8e9e0fe6
AS
222652003-01-06 Andreas Schwab <schwab@suse.de>
22266
22267 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
22268 failures.
22269
b5ab8ff3
DJ
222702003-01-04 Daniel Jacobowitz <drow@mvista.com>
22271
22272 Fix PR gdb/844
22273 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
22274 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
22275
22276 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
22277 instead of calling gdb_suppress_entire_file.
22278 * gdb.threads/print-threads.exp: Likewise.
22279 * gdb.threads/schedlock.exp: Likewise.
22280
22281 * gdb.threads/killed.exp: Return instead of calling
22282 gdb_suppress_entire_file.
22283 * gdb.threads/linux-dp.exp: Likewise.
22284 * gdb.threads/pthreads.exp: Likewise.
22285
1e698235
DJ
222862003-01-04 Daniel Jacobowitz <drow@mvista.com>
22287
22288 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
22289 stabs.
22290 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
22291 * gdb.base/whatis.exp: Always allow (void) after function names.
22292
147ff08c
DJ
222932003-01-04 Daniel Jacobowitz <drow@mvista.com>
22294
22295 * gdb.c++/casts.exp: Correct regexp.
22296
dc62bfc2
MK
222972003-01-04 Mark Kettenis <kettenis@gnu.org>
22298
22299 * configure.in: Call AC_CONFIG_HEADER. Don't call
22300 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
22301 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
22302 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
22303 aforementioned directories in the AC_OUPUT call.
22304 * config.hin: New file.
22305 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
22306 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
22307 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
22308 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
22309 pass -I$objdir instead of -I$objdir/$subdir in compilation.
22310 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
22311 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
22312 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
22313 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
22314 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
22315 gdb.threads/configure.in, gdb.threads/configure,
22316 gdb.threads/config.in, gdb.trace/configure.in,
22317 gdb.trace/configure: Removed.
22318
77afa639
MC
223192003-01-03 Michael Chastain <mec@shout.net>
22320
22321 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
22322 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
22323
7634bb6e
DJ
223242003-01-03 Daniel Jacobowitz <drow@mvista.com>
22325
22326 * gdb.base/store.exp: Fix regular expressions.
22327
b39c905e
MK
223282002-12-28 Mark Kettenis <kettenis@gnu.org>
22329
22330 * configure.in: Rewrite.
22331 * configure: Regenerated.
22332
0a8551dd
DC
223332003-01-03 David Carlton <carlton@math.stanford.edu>
22334
22335 * gdb.base/psymtab.exp: New file.
22336 * gdb.base/psymtab1.c: Ditto.
22337 * gdb.base/psymtab2.c: Ditto.
22338
c60b7188
AF
223392002-12-23 Adam Fedor <fedor@gnu.org>
22340
22341 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
22342
ee73db83
DC
223432002-12-23 David Carlton <carlton@math.stanford.edu>
22344
22345 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
22346 and current_directory initialization.
22347
d6c1774e
JB
223482002-12-22 Jim Blandy <jimb@redhat.com>
22349
f0a847b8
JB
22350 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
22351 rather than as part of the output file name.
22352
d6c1774e
JB
22353 * gdb.base/attach.exp: There's no need to copy the test program to
22354 /tmp; that was only ever necessary on HP/UX, and this test is
22355 entirely disabled there anyway.
22356
f0708dbb
JB
223572002-12-21 Jim Blandy <jimb@redhat.com>
22358
4c2acfea
JB
22359 * gdb.c++/psmang.exp: Doc fix.
22360
f0708dbb
JB
22361 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
22362 test.
22363
9579e000
DC
223642002-12-20 David Carlton <carlton@math.stanford.edu>
22365
22366 * gdb.c++/annota2.exp: KFAIL annotate-quit.
22367
d1810171
MC
223682002-12-18 Michael Chastain <mec@shout.net>
22369
22370 * gdb.c++/annota2.exp: Add copyright year 2002.
22371
76565097
DC
223722002-12-17 David Carlton <carlton@math.stanford.edu>
22373
22374 * gdb.c++/try_catch.cc: Add marker comments.
22375 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
22376 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
22377 * gdb.c++/m-static.cc: Ditto.
22378 * gdb.c++/m-static1.cc: Ditto.
22379 * gdb.c++/try_catch.cc: Ditto.
22380
da81390b
JJ
223812002-12-16 Jeff Johnston <jjohnstn@redhat.com>
22382
22383 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
22384 to see whether we are using the new -environment-directory
22385 command which resets via -r or the old version of the command
22386 which may prompt the user. Part of fix for gdb/741.
22387
b304d130
AC
223882002-12-13 Andrew Cagney <ac131313@redhat.com>
22389
22390 * gdb.fortran/types.exp: Update obsolete comment.
22391 * gdb.fortran/exprs.exp: Ditto.
22392 * lib/gdb.exp: Delete obsolete code.
22393 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
22394 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
22395 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
22396 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
22397 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
22398 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
22399 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
22400 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
22401 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
22402 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
22403 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
22404 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
22405 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
22406 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
22407 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
22408 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
22409 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
22410 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
22411 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
22412 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
22413 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
22414 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
22415 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
22416 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
22417 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
22418 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
22419 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
22420 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
22421 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
22422 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
22423 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
22424 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
22425 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
22426 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
22427 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
22428 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
22429 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
22430
a23b6e6a
DC
224312002-12-11 David Carlton <carlton@math.stanford.edu>
22432
22433 * gdb.c++/m-data.exp: Add test for members that shadow global
22434 variables: see PR gdb/804.
22435 * gdb.c++/m-data.cc: Ditto.
22436
6604731b
DJ
224372002-12-10 Daniel Jacobowitz <drow@mvista.com>
22438
22439 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
22440
de46ecd7
DC
224412002-12-06 David Carlton <carlton@math.stanford.edu>
22442
22443 * gdb.base/store.c: Don't declare functions static.
22444
27e829d0
AC
224452002-12-04 Andrew Cagney <ac131313@redhat.com>
22446
22447 * gdb.base/store.exp, gdb.base/store.c: New files.
22448
92806416
DJ
224492002-12-03 Daniel Jacobowitz <drow@mvista.com>
22450
22451 * gdb.base/selftest.exp: Update for current gdb.
22452
3bcbaac5
DJ
224532002-12-03 Daniel Jacobowitz <drow@mvista.com>
22454
22455 * gdb.base/maint.exp: Only dump symbols from one source file
22456 or objfile.
22457
f4f00b1f
DJ
224582002-12-03 Daniel Jacobowitz <drow@mvista.com>
22459
22460 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
22461 function call.
22462
f1c8a949
JB
224632002-11-25 Jim Blandy <jimb@redhat.com>
22464
22465 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
22466 function appearing in error message.
22467
9e297a97
DJ
224682002-11-21 Daniel Jacobowitz <drow@mvista.com>
22469
22470 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
22471
1f312e79
JJ
224722002-11-08 Jeff Johnston <jjohnstn@redhat.com>
22473
d63a86f8
RM
22474 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
22475 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
22476 should be in mi console format. This is part of fix for PR gdb/604.
22477
83c31e7d
FN
224782002-09-18 Fernando Nasser <fnasser@redhat.com>
22479
22480 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
22481 which explicitly prints the zero offset as "+0".
22482
322b3f65
DJ
224832002-10-22 Daniel Jacobowitz <drow@mvista.com>
22484
22485 * gdb.threads/schedlock.c (args): Make unsigned.
22486
224872002-10-21 Daniel Jacobowitz <drow@mvista.com>
22488
22489 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
22490 numbers. Allow "foo2|selected stack frame".
22491 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
22492 * gdb.asm/asmsrc2.s: Likewise.
22493 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
22494 comments.
22495 * gdb.asm/mips.inc: New file.
22496
5e2fe5b8
AF
224972002-10-18 Adam Fedor <fedor@gnu.org>
22498
22499 * gdb.base/default.exp: Update expected output to include 'ObjC'.
22500 * gdb.base/help.exp: Likewise.
22501
abe1a5d0
KB
225022002-10-17 Kevin Buettner <kevinb@redhat.com>
22503
22504 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
22505 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
22506
10abb1d4
JB
225072002-10-02 Jim Blandy <jimb@redhat.com>
22508
22509 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
22510
1f609b42
AC
225112002-10-01 Andrew Cagney <ac131313@redhat.com>
22512
22513 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
22514 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
22515 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
22516 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
22517 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
22518 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
22519 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
22520
0aee02e4
AC
225212002-09-29 Andrew Cagney <ac131313@redhat.com>
22522
22523 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
22524 * mi0-disassemble.exp, mi0-eval.exp: Delete.
22525 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
22526 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
22527 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
22528 * mi0-var-block.exp, mi0-var-child.exp: Delete.
22529 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 22530
6fde09ad
KB
225312002-09-27 Kevin Buettner <kevinb@redhat.com>
22532
22533 * gdb.base/annota1.exp (info break): Make directory components of
22534 path optional since not all compilers emit this debug information.
22535
889bf7c5
PA
22536 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
22537 step ends up stepping out of the function instead of stopping on
22538 the epilogue.
6fde09ad 22539
9e8aab75
KS
225402002-09-26 Keith Seitz <keiths@redhat.com>
22541
22542 * lib/insight-support.exp (gdbtk_start): Figure out where
22543 the insight executable is based on where gdb is. Use this
22544 executable to start insight instead of gdb.
22545
e36180d7
AC
225462002-09-25 Andrew Cagney <cagney@redhat.com>
22547
22548 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
22549
9dd34b2b
AC
225502002-09-24 Andrew Cagney <ac131313@redhat.com>
22551
22552 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
22553 test_isolated_complaints.
22554 (test_empty_complaint): New function.
22555 (test_empty_complaints): New function. Check no output when no
22556 complaints.
d63a86f8 22557
dea97812
KB
225582002-09-19 Jim Blandy <jimb@redhat.com>
22559
a9c64011 22560 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 22561
54951bd7
AC
225622002-09-19 Andrew Cagney <ac131313@redhat.com>
22563
22564 * gdb.gdb/complaints.exp: New file.
22565
dec43320
AC
225662002-09-18 Andrew Cagney <ac131313@redhat.com>
22567
22568 * gdb.base/maint.exp: Check `help maint internal-warning'.
22569
e70d6e3f
DC
225702002-09-18 David Carlton <carlton@math.stanford.edu>
22571
22572 * gdb.c++/m-static.exp: Remove breakpoints depending on line
22573 numbers, and replace them by a single breakpoint after the
22574 constructors are all finished.
22575 Add test 4.
22576 * gdb.c++/m-static.cc: Add test 4.
22577 * gdb.c++/m-static.h: New file.
22578 * gdb.c++/m-static1.cc: New file.
22579
22580 * gdb.c++/printmethod.exp: New file.
22581 * gdb.c++/printmethod.cc: New file.
22582
22583 * gdb.c++/pr-574.exp: New file.
22584 * gdb.c++/pr-574.cc: New file.
22585
afb5c968
CV
225862002-09-18 Corinna Vinschen <vinschen@redhat.com>
22587
22588 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
22589 embedded targets which never actually exit.
22590
31e45dee
FN
225912002-09-18 Fernando Nasser <fnasser@redhat.com>
22592
22593 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
22594 "don't step after run" as unresolved or unsupported, instead of xfail.
22595
a283c5a1
CV
225962002-09-18 Corinna Vinschen <vinschen@redhat.com>
22597
22598 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
22599 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
22600 Add newline to expected string in "step out of main (status wrapper)"
22601 case.
22602
11350d2a
CV
226032002-09-18 Corinna Vinschen <vinschen@redhat.com>
22604
22605 * lib/gdb.exp (rerun_to_main): Allow restarting application.
22606 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
22607
0deec7d6
TT
226082002-09-17 Tom Tromey <tromey@redhat.com>
22609
22610 * gdb.base/printcmds.exp (test_print_string_constants): Expect
22611 \000, not \0, in double-quoted string.
22612
b2b4a1b5
CV
226132002-09-14 Corinna Vinschen <vinschen@redhat.com>
22614
c9d37158 22615 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
22616 string after running the commands execution on breakpoint tests.
22617
1c56143a
CV
226182002-09-13 Corinna Vinschen <vinschen@redhat.com>
22619
22620 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
22621
37f8da45
JB
226222002-09-12 Joel Brobecker <brobecker@gnat.com>
22623
22624 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
22625
08b468e0
KS
226262002-09-10 Keith Seitz <keiths@redhat.com>
22627
22628 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
22629 runto proc.
22630 (mi_run_to_main): Use mi_runto.
22631 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
22632
dc360f58
KS
226332002-09-10 Keith Seitz <keiths@redhat.com>
22634
22635 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
22636 regexp for stopping at main. Could have multiple event notifications.
22637 Don't assume that main was declared with no parameters.
22638 (mi_next): Use mi_step_to.
22639 (mi_step): Use mi_next_to.
22640
ce3abcfb
CV
226412002-09-09 Corinna Vinschen <vinschen@redhat.com>
22642
22643 * gdb.base/default.exp: Fix expected string in `info float' test.
22644
d1f5b980
BE
226452002-09-09 Ben Elliston <bje@redhat.com>
22646
22647 * config/mips.exp: Update comments.
22648 * config/mips-idt.exp: Likewise.
22649 * config/nind.exp: Likewise.
22650 * config/slite.exp: Likewise.
22651 * config/sparclet.exp: Likewise.
22652 * config/udi.exp: Likewise.
22653 * config/vx.exp: Likewise.
22654 * config/vxworks29k.exp: Likewise.
22655
2f71430b
JB
226562002-09-05 Jim Blandy <jimb@redhat.com>
22657
22658 * gdb.threads/killed.exp: Fix test failure message.
22659
7ddebc7e
KS
226602002-09-04 Keith Seitz <keiths@redhat.com>
22661
22662 * lib/mi-support.exp: Update copyright.
22663 (mi_gdb_test): Increase the priority of the expected pattern
22664 so that it matches gdb_test.
22665
0ae67eb3
KS
226662002-09-03 Keith Seitz <keiths@redhat.com>
22667
22668 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
22669 Use integer comparison instead of string comparison for testing
22670 whether binary was built.
22671
38fc42c8
JB
226722002-09-03 Jim Blandy <jimb@redhat.com>
22673
22674 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
22675
b6ff0e81
JB
226762002-08-29 Jim Blandy <jimb@redhat.com>
22677
22678 * gdb.threads/pthreads.exp: Move the portable thread compilation
22679 code into a function in lib/gdb.exp, and call that from here.
22680 * lib/gdb.exp (gdb_compile_pthreads): New function.
22681
07c98896
KS
226822002-08-29 Keith Seitz <keiths@redhat.com>
22683
22684 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
22685 expect_out so that callers can get at it.
22686
0312286c
DJ
226872002-08-23 Daniel Jacobowitz <drow@mvista.com>
22688
22689 * gdb.threads/print-threads.c: New file.
22690 * gdb.threads/print-threads.exp: New file.
22691 * gdb.threads/schedlock.c: New file.
22692 * gdb.threads/schedlock.exp: New file.
22693
dd039bc4
EZ
226942002-08-22 Elena Zannoni <ezannoni@redhat.com>
22695
a9c64011
AS
22696 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
22697 not altivec.c.
dd039bc4 22698
1f36144c
MK
226992002-08-17 Mark Kettenis <kettenis@gnu.org>
22700
22701 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
22702 targets. The problem should be fixed now.
22703
16057ec7 227042002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
22705
22706 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
22707 2002-07-24 change that removes final dots from error messages.
22708
3c1499ad
TT
227092002-08-13 Tom Tromey <tromey@redhat.com>
22710
22711 * gdb.base/readline.exp: New file.
22712
a20ce2c3
AC
227132002-08-01 Andrew Cagney <ac131313@redhat.com>
22714
22715 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
22716 supress message.
22717
db034ac5
AC
227182002-08-01 Andrew Cagney <cagney@redhat.com>
22719
22720 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
22721 CHILL_FOR_TARGET and CHILL_LIB.
22722 * configure.in (configdirs): Remove gdb.chill.
22723 * configure: Regenerate.
22724 * lib/gdb.exp: Obsolete references to chill.
22725 * gdb.fortran/types.exp: Ditto.
22726 * gdb.fortran/exprs.exp: Ditto.
22727
3e000b18
KB
227282002-07-30 Kevin Buettner <kevinb@redhat.com>
22729
22730 * gdb.base/shlib-call.exp (additional_flags): Conditionally
22731 set Irix-specific compile and link flags.
22732
28f4966b
KB
227332002-07-29 Kevin Buettner <kevinb@redhat.com>
22734
22735 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
22736 source files. The ``-o'' option doesn't work with the ``-E'' option
22737 when using the Irix compiler.
22738
46c0d5a6
DJ
227392002-07-19 Daniel Jacobowitz <drow@mvista.com>
22740
22741 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
22742 Improve support for reusing an exec file. Copy exec file
22743 to target, and run gdbserver on the target instead of on the host.
22744
eecf4bed
JB
227452002-07-18 Jim Blandy <jimb@redhat.com>
22746
0f815cdf
JB
22747 * gdb.base/ending-run.exp: Don't expect to see the program end in
22748 some orderly fashion when we're running on a real stand-alone
22749 board.
22750
eecf4bed
JB
22751 * gdb.base/interrupt.exp: Correct logic for skipping tests on
22752 targets that don't support interrupts.
22753
52d309e4
JB
227542002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
22755
22756 * gdb.base/attach.exp: Add patterns to match output from /proc-based
22757 systems.
22758 Move comments in expect statements to inside the actions, so that they
22759 don't get matched against.
22760
ff683d9e
MK
227612002-07-10 Mark Kettenis <kettenis@gnu.org>
22762
22763 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
22764 function when asleep" test.
22765
b5356753
AC
227662002-07-10 Andrew Cagney <ac131313@redhat.com>
22767
22768 * gdb.base/page.exp: Rewrite to handle problems with very long
22769 `info set' output. Update copyright.
22770
6aa4d13a
AC
227712002-06-26 Andrew Cagney <ac131313@redhat.com>
22772
22773 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
22774 gdb.threads-hp.
22775 * gdb.hp/configure: Regenerate.
22776 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
22777 * gdb.hp/gdb.threads-hp/configure: Delete file.
22778 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
22779
8cf8c2b8
AC
227802002-06-22 Andrew Cagney <ac131313@redhat.com>
22781
22782 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
22783 setlocale, bindtextdomain and textdomain.
22784
6827a8f8
JB
227852002-06-11 Jim Blandy <jimb@redhat.com>
22786
919d772c
JB
22787 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
22788 preprocessor macro information is present.
22789
6827a8f8
JB
22790 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
22791 tests.
22792
c15b0d21
MS
227932002-06-06 Michael Snyder <msnyder@redhat.com>
22794
c5984d70
MS
22795 * gdb.base/overlays.exp: Record addresses of overlay
22796 functions in TCL variables rather than in GDB variables,
22797 to avoid having GDB convert them to pointers (with loss
22798 of information).
22799
d63a86f8 22800 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 22801 default linker script changes.
c15b0d21
MS
22802 * gdb.base/long_long.exp: Add check for sizeof (long double).
22803
be26fe0d
ML
228042002-06-06 Michal Ludvig <mludvig@suse.cz>
22805
22806 * gdb.asm/asm-source.exp: Add x86-64 target.
22807 * gdb.asm/x86_64.inc: New.
d63a86f8 22808
258093ca 228092002-05-30 Michael Chastain <mec@shout.net>
258093ca 22810
4b3153f1 22811 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
22812 * gdb.c++/m-static.cc: New file.
22813 * gdb.c++/m-static.exp: New file.
22814
241264c6
MS
228152002-05-28 Michael Snyder <msnyder@redhat.com>
22816
22817 * gdb.base/call-ar-st.exp: Allow for reduced floating point
22818 precision.
22819
9bba8c8f 228202002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 22821
4b3153f1 22822 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
22823 * gdb.c++/m-data.cc: New file.
22824 * gdb.c++/m-data.exp: New file.
22825
228262002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 22827
4b3153f1 22828 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 22829 * gdb.c++/try_catch.cc: New file.
d63a86f8 22830 * gdb.c++/try_catch.exp: New file.
9bba8c8f 22831
def1b996
MC
228322002-05-27 Michael Chastain <mec@shout.net>
22833
22834 * gdb.c++/local.exp: Accept more nested types in output.
22835
522ba268
MC
228362002-05-26 Michael Chastain <mec@shout.net>
22837
22838 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22839
277254ba
MS
228402002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
22841
22842 * lib/gdb.exp (gdb_wrapper_init): Just because
22843 gdb_wrapper_file exists, this does not mean that the file
22844 should not be rebuilt. That is what gdb_wrapper_initialized
22845 is for.
22846 (default_gdb_init): Reset gdb_wrapper_initialized.
22847
b61a8733
MS
228482002-05-23 Michael Snyder <msnyder@redhat.com>
22849
d63a86f8 22850 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
22851 the precision of the floating point test results.
22852 * gdb.base/call-rt-st.exp: Ditto.
22853
b61a8733
MS
22854 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22855 * gdb.base/call-rt-st.exp: Ditto.
22856
56f6e910
MC
228572002-05-19 Michael Chastain <mec@shout.net>
22858
22859 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22860
ad0b0016
EZ
228612002-05-19 Elena Zannoni <ezannoni@redhat.com>
22862
a9c64011
AS
22863 * configure.in (configdirs): Add gdb.arch.
22864 * configure: Regenerate.
ad0b0016 22865
f617d2b6
JB
228662002-05-17 Jim Blandy <jimb@redhat.com>
22867
22868 * gdb.base/completion.exp: Recognize the more detailed error
22869 messages produced by the macro expander's lexical analyzer.
22870
eac2a696
EZ
228712002-05-14 Elena Zannoni <ezannoni@redhat.com>
22872
a9c64011
AS
22873 * gdb.arch/altivec-abi.c: New file.
22874 * gdb.arch/altivec-abi.exp: New file.
22875 * gdb.arch/altivec-regs.c: New file.
22876 * gdb.arch/altivec-regs.exp: New file.
eac2a696 22877
2fdde8f8
DJ
228782002-05-14 Daniel Jacobowitz <drow@mvista.com>
22879
22880 * gdb.base/maint.exp (maint print type): Update for new type
22881 structure.
d63a86f8 22882
e31f1a7c
EZ
228832002-05-14 Elena Zannoni <ezannoni@redhat.com>
22884
22885 * gdb.arch: New directory.
22886 * gdb.arch/configure.in: New file.
22887 * gdb.arch/configure: New file.
22888 * gdb.arch/Makefile.in: New file.
22889
db589741
CV
228902002-05-13 Corinna Vinschen <vinschen@redhat.com>
22891
22892 * gdb.asm/asm-source.exp: Add v850 as supported target.
22893 * gdb.asm/v850.inc: New file.
22894
8ce2a7dc
DJ
228952002-05-13 Daniel Jacobowitz <drow@mvista.com>
22896
22897 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22898
df763c7f
DJ
228992002-05-12 Daniel Jacobowitz <drow@mvista.com>
22900
22901 * gdb.base/break.exp: Check 'break "marker2"'.
22902
377daeed
MS
229032002-05-10 Michael Snyder <msnyder@redhat.com>
22904
22905 * gdb.base/long_long.exp: Fix typo.
22906
c4b7bc2b
JB
229072002-05-10 Jim Blandy <jimb@redhat.com>
22908
ecac9a4e
JB
22909 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22910 a bug.
22911
c4b7bc2b
JB
22912 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22913 Recognize more detailed error message produced by the macro
22914 expander's lexical analyzer.
22915 * lib/gdb.exp (test_print_reject): Same.
22916
e71019a1
MK
229172002-05-09 Mark Kettenis <kettenis@gnu.org>
22918
22919 * gdb.c++/method.exp: Fix typo.
22920
fedfc8e6
MS
229212002-05-08 Michael Snyder <msnyder@redhat.com>
22922
166a1957
MS
22923 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22924 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 22925 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
22926 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22927 Add iftarget clause for strongarm.
d63a86f8 22928
f1c47eb2
MS
229292002-05-06 Michael Snyder <msnyder@redhat.com>
22930
cb9a9d3e
MS
22931 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22932 (gdb_continue_to_end): Accept output from status wrapper.
22933 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22934 Clean up fail messages to match pass messages.
22935
f1c47eb2
MS
22936 Enable the "needs_status_wrapper" testsuite feature.
22937 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22938 (gdb_compile): Conditionally call gdb_wrapper_init.
22939 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22940 * gdb.c++/method.exp: Recognize output from status wrapper.
22941
6079c749
BE
229422002-05-06 Ben Elliston <bje@redhat.com>
22943From Graydon Hoare <graydon@redhat.com>
22944
22945 * config/sid.exp: Include support for "rawsid" protocol.
22946
188baff3
JB
229472002-05-03 Jim Blandy <jimb@redhat.com>
22948
22949 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22950 * gdb.c++/hang3.C: New file.
22951
b9c07f0f
AC
229522002-05-04 Andrew Cagney <ac131313@redhat.com>
22953
22954 * gdb.base/default.exp: Remove obsolete code.
22955 * gdb.c++/misc.exp: Ditto. Update copyright.
22956 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22957 * gdb.base/whatis.exp: Ditto. Update copyright.
22958 * gdb.base/scope.exp: Ditto. Update copyright.
22959 * gdb.base/ptype.exp: Ditto. Update copyright.
22960 * gdb.base/printcmds.exp: Ditto. Update copyright.
22961 * gdb.base/opaque.exp: Ditto. Update copyright.
22962 * gdb.base/list.exp: Ditto.
22963 * gdb.base/funcargs.exp: Ditto. Update copyright.
22964 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22965 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22966 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22967 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22968 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22969 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22970
5c7a0397
MS
229712002-05-02 Michael Snyder <msnyder@redhat.com>
22972
d6dcc264 22973 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
22974 * gdb.base/long_long.exp: Add xscale target.
22975 * gdb.base/default.exp: Add xscale target.
22976
eb7f1c48
JB
229772002-05-01 Jim Blandy <jimb@redhat.com>
22978
22979 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22980 gdb.c++/hang.exp: New test.
22981
a6befae8
FF
229822002-05-01 Fred Fish <fnf@redhat.com>
22983
22984 * gdb.base/completion.exp: Handle completions of "./Make" for
22985 more than one completion possibility, as is the case when we
22986 build and test in the source tree.
22987
0a310277
AG
229882002-04-29 Anthony Green <green@redhat.com>
22989
22990 * gdb.java/jmisc1.exp: New file.
22991 * gdb.java/jmisc2.exp: New file.
22992
6ff9af88
DJ
229932002-04-24 Daniel Jacobowitz <drow@mvista.com>
22994
22995 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22996
96b3d632
EZ
229972002-04-23 Elena Zannoni <ezannoni@redhat.com>
22998
22999 * gdb.base/help.exp: Change 'help status' to allow for target
23000 dependent output differences.
23001
5019bb54
MC
230022002-04-22 Michael Chastain <mec@shout.net>
23003
23004 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
23005
a805a116
MC
230062002-04-22 Michael Chastain <mec@shout.net>
23007
23008 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
23009
a1706bfd
DM
230102002-04-17 David S. Miller <davem@redhat.com>
23011
23012 * gdb.asm/sparc64.inc: New file.
23013 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
23014
a73a20a2
EZ
230152002-04-19 Elena Zannoni <ezannoni@redhat.com>
23016
23017 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
23018 instruction file directly into the build tree. Clean up at end of
23019 test.
23020
ba678339
DM
230212002-04-18 David S. Miller <davem@redhat.com>
23022
23023 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
23024 handle 64-bit platforms correctly.
23025 * gdb.base/maint.exp: Likewise.
23026
b03399da
KB
230272002-04-18 Kevin Buettner <kevinb@redhat.com>
23028
23029 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
23030 ``-fpic'' when compiling files comprising a shared library, but
23031 it does need additional linker flags in order to find shared
23032 libraries at run time.
23033
e2004992
KB
230342002-04-18 Kevin Buettner <kevinb@redhat.com>
23035
23036 * gdb.base/cvexpr.c (use): New function.
23037 (main): Invoke use() on all global variables to prevent
23038 some linkers from deleting these otherwise unused symbols.
23039
d8937120
MC
230402002-04-17 Michael Chastain <mec@shout.net>
23041From David S. Miller <davem@redhat.com>
23042
23043 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
23044 handle 64-bit platforms correctly.
23045
ffd61a58
MS
230462002-04-12 Michael Snyder <msnyder@redhat.com>
23047From Jim Blandy <jimb@redhat.com>
a9c64011 23048 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
23049 script can handle this instead.
23050 * gdb.base/bar.c (barx): Same.
23051 * gdb.base/baz.c (bazx): Same.
23052 * gdb.base/grbx.c (grbxx): Same.
23053
23054 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
23055 manager doesn't automatically unmap overlays unnecessarily.
23056
6b8426a6
MH
230572002-04-10 Martin M. Hunt <hunt@redhat.com>
23058
23059 * gdb.base/ending-run.exp: Fix pattern for Mips targets
23060 stepping out of main.
23061
34af4875
MC
230622002-04-09 Michael Chastain <mec@shout.net>
23063
23064 * gdb.c++/local.cc (main): Move call to marker1() inside nested
23065 scope so that the nested scope tests will make sense.
23066 * gdb.c++/local.exp: Write patterns that actually work with gcc
23067 (the HP patterns "were never known to work with gcc").
23068 Keep the old aCC patterns too.
23069
2d1676a0
DJ
230702002-04-09 Daniel Jacobowitz <drow@mvista.com>
23071
23072 * gdb.base/attach.exp: Correct target board test.
23073
3a63e3f9
MC
230742002-04-08 Michael Chastain <mec@shout.net>
23075
23076 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
23077 in a const method. Add some xfail and fail cases for configurations
23078 that do not emit the "const ...".
23079
f18dabd2
MC
230802002-04-07 Michael Chastain <mec@shout.net>
23081
23082 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
23083 Accept "A * const" and "const A * const" as type of "this".
23084 Fix spelling of getFunky throughout. Make messages uniform.
23085
0fcddd82
EZ
230862002-04-07 Elena Zannoni <ezannoni@redhat.com>
23087
a9c64011 23088 Work around for PR gdb/285:
0fcddd82
EZ
23089 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
23090
16a8534a
EZ
230912002-04-07 Elena Zannoni <ezannoni@redhat.com>
23092
23093 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
23094 instructions file at run time instead of configure time.
23095 Sometimes we run the test in a directory that is not the one we
23096 configured in.
23097 * gdb.asm/configure.in: Delete creation of symlink.
23098 * gdb.asm/configure: Regenerate.
23099
24181d81
JB
231002002-04-05 J. Brobecker <brobecker@gnat.com>
23101
23102 * gdb.gdb/xfullpath.exp: New test, to exercise the new
23103 xfullpath () function.
23104
7cdb7107
DJ
231052002-04-04 Daniel Jacobowitz <drow@mvista.com>
23106
23107 * gdb.asm/Makefile.in: Correct dependencies.
23108
23109 * gdb.asm/powerpc.inc: New file.
23110 * gdb.asm/asm-source.exp: Add PowerPC.
23111 * gdb.asm/configure.in: Likewise.
23112 * gdb.asm/configure: Regenerated.
23113
a7d17088
DJ
231142002-04-04 Daniel Jacobowitz <drow@mvista.com>
23115
23116 * gdb.base/relocate.exp: New file.
23117 * gdb.base/relocate.c: New file.
23118
cd721503
FF
231192002-04-04 Fred Fish <fnf@redhat.com>
23120
23121 * gdb.base/step-test.exp: Update comment regarding stopping in
23122 memcpy/bcopy calls inserted as part of the compiler runtime.
23123
b22ad7a7
MS
231242002-04-04 Michael Snyder <msnyder@redhat.com>
23125
23126 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
23127
5f279fa6
DJ
231282002-04-03 Daniel Jacobowitz <drow@mvista.com>
23129
23130 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
23131 (gdb_expect): Remove $notransfer hack.
23132
dd0fd3ce
DJ
231332002-04-02 Daniel Jacobowitz <drow@mvista.com>
23134
23135 * gdb.c++/classes.exp ("calling method for small class"): Match
23136 updated register output.
23137
1e50cda1
DJ
231382002-03-30 Daniel Jacobowitz <drow@mvista.com>
23139
23140 Fix PR gdb/452
23141 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
23142 when finished. Make gdb_file_cmd send "exec-file" when
23143 appropriate.
23144
24015922
DJ
231452002-03-30 Daniel Jacobowitz <drow@mvista.com>
23146
23147 * gdb.base/attach.exp: Remove extra setup_xfail.
23148
dd7dfd64
MS
231492002-03-26 Michael Snyder <msnyder@redhat.com>
23150
23151 * gdb.base/default.exp: Add tests for dump, append, and restore.
23152 * gdb.base/help.exp: Add tests for dump, append, and restore.
23153 * gdb.base/dump.exp: New file, test dump, append and restore.
23154 * gdb.base/dump.c: New file.
23155
48b2f8d7
MS
231562002-03-27 Michael Snyder <msnyder@redhat.com>
23157
d63a86f8 23158 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
23159 clean-ups in help messages.
23160
05b4d525
FF
231612002-03-26 Fred Fish <fnf@redhat.com>
23162
23163 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
23164 have debugging info for those functions and the compiler uses them
23165 internally to copy structs around.
23166
d7679631
FF
231672002-03-26 Fred Fish <fnf@redhat.com>
23168
23169 * gdb.base/list.exp: Revert the change made yesterday and add note
23170 about why we don't list the default lines for remote targets.
23171
523ac3f9
MS
231722002-03-25 Michael Snyder <msnyder@redhat.com>
23173
23174 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
23175
754b2b8d
FF
231762002-03-25 Fred Fish <fnf@redhat.com>
23177
23178 * gdb.base/list.exp: This test works on remote targets so remove
23179 the short circuit for remote targets. Update copyright.
23180
33c3e192
FF
231812002-03-25 Fred Fish <fnf@redhat.com>
23182
23183 * gdb.base/attach.exp: Fix logic error that was suppressing this
23184 test for all non hppa*-*-hpux* targets, instead of the hp target.
23185 Move comments closer to the suppression point. Also now need to
23186 check that we are running natively.
23187
d43e73ee
MS
231882002-03-22 Michael Snyder <msnyder@redhat.com>
23189
882c8f02
MS
23190 * gdb.base/default.exp: Add test for gcore. Update copyright.
23191 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 23192
04c12f60
FF
231932002-03-06 Fred Fish <fnf@redhat.com>
23194
23195 * gdb.base/funcargs.c: Remove extraneous ';' character.
23196 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
23197
b43df995
MC
231982002-03-04 Michael Chastain <mec@shout.net>
23199
23200 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
23201 accommodate gcc v3 function signature.
23202 * gdb.mi/mi0-var-cmd-exp: Ditto.
23203
92362027
AC
232042002-02-24 Andrew Cagney <ac131313@redhat.com>
23205
23206 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
23207 ``GNU/Linux'' or ``Linux kernel''
23208 * testsuite/gdb.threads/pthreads.c: Ditto.
23209
258ad32d
MC
232102002-02-24 Michael Chastain <mec@shout.net>
23211
23212 * gdb.threads/pthreads.c (thread1): Add a return statement.
23213 (thread2): Likewise.
23214 (foo): Likewise.
23215
04c3b3d4
MC
232162002-02-23 Michael Chastain <mec@shout.net>
23217
23218 * gdb.threads/linux-dp.c (philosopher): Add a return statement
23219 to placate gcc.
23220
5a2a0a20
MC
232212002-02-23 Michael Chastain <mec@shout.net>
23222
23223 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
23224 test "ptype bint". The test passes on all my stabs configurations.
23225
a640f7fc
JB
232262002-02-21 Jim Blandy <jimb@redhat.com>
23227
27924826
JB
23228 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
23229 filename at a time, and watch for the ones we want to see.
23230
a640f7fc
JB
23231 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
23232 types of pointers to prototyped functions.
23233
edcc8c75
AC
232342002-02-20 Andrew Cagney <ac131313@redhat.com>
23235
23236 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
23237 signed, unsigned and straight char.
23238 (padding_char, padding_short, padding_int, padding_long,
23239 padding_long_long, padding_float, padding_double,
23240 padding_long_double): New global variables.
23241 (fill, fill_structs): New functions.
23242
23243 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
23244 for correctly sized writes. Update copyright.
23245 (get_valueof): New procedure.
23246 (get_sizeof): Call get_valueof.
23247 (check_valueof): New procedure.
23248 (check_padding): New procedure.
23249
ac57ea44
MC
232502002-02-20 Michael Chastain <mec@shout.net>
23251
23252 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
23253 to setup_xfail. Document some of the remaining calls.
23254
7a10c941
MC
232552002-02-18 Michael Chastain <mec@shout.net>
23256
23257 * gdb.c++/userdef.exp: Update copyright year.
23258
fb8acdcc
DJ
232592002-02-18 Daniel Jacobowitz <drow@mvista.com>
23260
23261 * gdb.c++/userdef.exp: Test overloaded operators properly.
23262 Remove xfails.
23263
fda6ae12
MS
232642002-02-14 Michael Snyder <msnyder@redhat.com>
23265
23266 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
23267
676a0442
DJ
232682002-02-14 Daniel Jacobowitz <drow@mvista.com>
23269
23270 * gdb.base/a2-run.exp: Check for a remote target properly.
23271 * gdb.base/annota1.exp: Likewise.
23272 * gdb.base/list.exp: Likewise.
23273 * gdb.base/reread.exp: Likewise.
23274 * gdb.base/scope.exp: Likewise.
23275 * gdb.base/shlib-call.exp: Likewise.
23276 * gdb.base/term.exp: Likewise.
23277 * gdb.c++/annota2.exp: Likewise.
23278
78b4f468
RE
232792002-02-13 Richard Earnshaw <rearnsha@arm.com>
23280
23281 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
23282
9a81ba51
MC
232832002-02-10 Michael Chastain <mec@shout.net>
23284
23285 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
23286 (call_after_alloca): Ditto.
23287
004af6c7
DJ
232882002-02-10 Daniel Jacobowitz <drow@mvista.com>
23289
23290 * gdb.base/ending-run.exp: Guard "cont" test with
23291 gdb_skip_stdio_test.
23292
37225f62
JB
232932002-02-06 Jim Blandy <jimb@redhat.com>
23294
23295 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
23296 from here...
23297 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
23298 To here. Disable this test on non-HP platforms. Add big comment.
23299
fe6fdd96
MS
233002002-02-04 Michael Snyder <msnyder@redhat.com>
23301
23302 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
23303 other than d10v and m32r.
23304
036fad3f
RE
233052002-02-02 Richard Earnshaw <rearnsha@arm.com>
23306
23307 * gdb.base/default.exp: Rewrite test patterns to reduce time
23308 taken to match them.
23309
7148ab62
DJ
233102002-01-30 Daniel Jacobowitz <drow@mvista.com>
23311
23312 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
23313 Allow a start function above main.
23314 * gdb.threads/linux-dp.exp: Fix copyright date.
23315
396cc255
DJ
233162002-01-30 Daniel Jacobowitz <drow@mvista.com>
23317
a9c64011
AS
23318 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
23319 (check_philosopher_stack): Check for manager thread before checking
23320 for a just-starting thread.
396cc255 23321
f038d31b
DJ
233222002-01-30 Daniel Jacobowitz <drow@mvista.com>
23323
23324 From Neil Booth <neil@daikokuya.demon.co.uk>:
23325 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
23326 warnings.
23327
b3ff9d9a
FF
233282002-01-21 Fred Fish <fnf@redhat.com>
23329
23330 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
23331 not caller.
23332
39ad761d
JB
233332002-01-21 Jim Blandy <jimb@redhat.com>
23334
23335 * gdb.base/reread.exp: Check that GDB properly re-reads the
23336 executable file when it changes while no inferior is running.
23337
aaf320fa
FF
233382002-01-21 Fred Fish <fnf@redhat.com>
23339
a9c64011
AS
23340 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
23341 optionally accept the "shlib events" variation.
aaf320fa 23342
808a31f5
JB
233432002-01-21 Jim Blandy <jimb@redhat.com>
23344
23345 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
23346 call `fflush' after every `printf', so that the output is produced
23347 at predictable points, regardless of whatever buffering does (or
23348 doesn't) take place.
23349 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
23350 at different points.
23351
4420d5e2
DJ
233522002-01-20 Daniel Jacobowitz <drow@mvista.com>
23353
23354 * gdb.c++/inherit.exp: Update copyright years.
23355 * gdb.c++/method.exp: Likewise.
23356
3e36a0f4
DJ
233572002-01-20 Daniel Jacobowitz <drow@mvista.com>
23358
23359 * gdb.c++/classes.exp: Update for improved v3 support and skipping
23360 artificial methods/arguments.
23361 * gdb.c++/derivation.exp: Likewise.
23362 * gdb.c++/inherit.exp: Likewise.
23363 * gdb.c++/method.exp: Likewise.
23364 * gdb.c++/virtfunc.exp: Likewise.
23365
b4ceaee6
AC
233662002-01-18 Andrew Cagney <ac131313@redhat.com>
23367
23368 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
23369 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
23370 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
23371 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
23372 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
23373 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
23374
ecace851
JB
233752002-01-17 Jim Blandy <jimb@redhat.com>
23376
23377 * gdb.asm/asm-source.exp (info symbol): Take another shot at
23378 anchoring the pattern matching the entry point symbol's name.
23379
375fc983
AC
233802002-01-17 Andrew Cagney <ac131313@redhat.com>
23381
23382 * gdb.base/maint.exp: Update ``maint internal-error'' to match
23383 continue/quit query. Update copyright.
23384
fe6fdd96
MS
233852002-01-14 Michael Snyder <msnyder@redhat.com>
23386
23387 * gdb.base/gcore.exp: Remove extra debugging output.
23388
e017c81f
DJ
233892002-01-13 Daniel Jacobowitz <drow@mvista.com>
23390
23391 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
23392 for slightly dubious v2 mangled string.
23393
37ab3bf8
DJ
233942002-01-13 Daniel Jacobowitz <drow@mvista.com>
23395
23396 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
23397
1bc05c3a 233982002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 23399
1bc05c3a 23400 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 23401
1bc05c3a
JM
23402 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
23403 constructors.
23404 * gdb.c++/derivation.exp: Likewise.
23405 * gdb.c++/templates.exp: Likewise.
23406 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 23407
1bc05c3a
JM
234082002-01-10 Michael Snyder <msnyder@redhat.com>
23409
23410 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 23411
a911c360
MS
234122002-01-08 Michael Snyder <msnyder@redhat.com>
23413
23414 * gdb.base/gcore.exp: New test for generate-core-file command.
23415 * gdb.base/gcore.c: Testcase for above.
23416 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
23417
ea2119ec
JM
234182002-01-08 Jason Merrill <jason@redhat.com>
23419
23420 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
23421
68203136
FF
234222002-01-07 Fred Fish <fnf@redhat.com>
23423
23424 * gdb.c++/overload.exp: Remove unconditional xfails for:
23425 print foo_instance1.overloadargs(1)
23426 print foo_instance1.overloadargs(1, 2)
23427 print foo_instance1.overloadargs(1, 2, 3)
23428 print foo_instance1.overloadargs(1, 2, 3, 4)
23429 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
23430 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
23431 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
23432 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
23433 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
23434 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
23435 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
23436 print foo_instance1.overload1arg()
23437 print foo_instance1.overload1arg((char)arg2)
23438 print foo_instance1.overload1arg((signed char)arg3)
23439 print foo_instance1.overload1arg((unsigned char)arg4)
23440 print foo_instance1.overload1arg((int)arg7)
23441 print foo_instance1.overload1arg((unsigned int)arg8)
23442 print foo_instance1.overload1arg((float)arg11)
23443 print foo_instance1.overload1arg((double)arg12)
d63a86f8 23444
21b9b5b1
MS
234452002-01-07 Michael Snyder <msnyder@redhat.com>
23446
23447 * gdb.base/huge.exp: New test. Print a very large target data object.
23448 (skip_huge_test): New test variable. Define if you want to skip this
23449 test. The test reads an 8 megabyte data object from the target, so it
23450 might be very time consuming on remote targets with a slow connection.
23451 * gdb.base/huge.c: New file. Test case for above.
23452
725f922e
FF
234532002-01-07 Fred Fish <fnf@redhat.com>
23454
23455 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
23456 g_instance.bfoo, and g_instance.cfoo.
23457
889bf7c5 234582002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 23459
889bf7c5
PA
23460 * gdb.base/break.c (multi_line_if_conditional): New function.
23461 (multi_ilne_while_conditional): Likewise.
23462 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
23463 IF or WHILE condition puts the breakpoint at the start of
23464 the condition.
f286b2c3 23465
634d57ec
JL
23466 * gdb.base/selftest.exp (backtrace through signal handler): Remove
23467 hppa*-*-hpux* expected failure.
23468 * gdb.base/structs.exp (do_function_calls): Similarly.
23469
23470 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
23471 watchpoints.
23472
9fbfe2dc
AC
234732002-01-06 Andrew Cagney <ac131313@redhat.com>
23474
23475 Fix PR gdb/66.
23476 * gdb.base/structs.exp: Replace skip for a29k with skip for
23477 gdb,cannot_call_functions.
23478 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
23479 * gdb.base/callfuncs.exp: Ditto.
23480 * gdb.base/call-rt-st.exp: Ditto.
23481 * gdb.base/call-strs.exp: Ditto.
23482 * gdb.base/callfwmall.exp: Ditto.
23483 * gdb.base/scope.exp: Obsolete xfail a29k.
23484 * gdb.c++/misc.exp: Ditto.
23485 * gdb.c++/cplusfuncs.exp: Ditto.
23486 * gdb.base/ptype.exp: Ditto.
23487 * gdb.base/printcmds.exp: Ditto.
23488 * gdb.base/opaque.exp: Ditto.
23489 * gdb.base/list.exp: Ditto.
23490 * gdb.base/funcargs.exp: Ditto.
23491 * gdb.base/default.exp: Ditto.
23492
8ddad156
MS
234932002-01-04 Michael Snyder <msnyder@redhat.com>
23494
ca4976a6 23495 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
23496 * gdb.base/maint.exp: Add tests for maint info sections options.
23497
1b074332
JL
23498Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
23499
23500 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
23501
7d159115
CV
235022001-12-20 Corinna Vinschen <vinschen@redhat.com>
23503
23504 * gdb.asm/arm.inc: New file.
23505 * gdb.asm/asm-source.exp: Add arm targets.
23506 * gdb.asm/configure.in: Ditto.
23507 * gdb.asm/configure: Recreated from configure.in.
23508
8fb87725
JL
23509Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
23510
afabe08c
JL
23511 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
23512 with HP's compiler.
23513 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
23514 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
23515 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
23516 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
23517
23518 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
23519 either HP's compilers or GCC.
23520
db521deb
JL
23521 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
23522 a SIGBUS or SIGSEGV.
23523
23524 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
23525
23526 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
23527 can be compiled with either HP's compiler or GCC.
23528
cfa88ab7
JL
23529 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
23530 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
23531 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
23532
ca344dff
JL
23533 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
23534 to match current gdb output. Update due to using auto-solib-limit
23535 for limiting instead of overloading auto-solib-add.
23536 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
23537 test program.
23538
3f3c6e55 23539 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
23540 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
23541 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
23542 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
23543 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
23544 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
23545 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
23546 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
23547 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
23548 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
23549 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
23550 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
23551 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 23552
8fb87725
JL
23553 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
23554 a SIGTRAP to the inferior.
23555
cf599fa7
CV
235562001-12-19 Corinna Vinschen <vinschen@redhat.com>
23557
23558 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
23559 Substitute call to target_link by call to gdb_compile.
23560
2cd045cd
JL
23561Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
23562
a9c64011
AS
23563 * gdb.base/break.exp: Fix HP specific search string when testing
23564 backtracing in a called function.
2cd045cd 23565
a9c64011
AS
23566 * gdb.base/constvars.exp: Only set lang to C++ if we're
23567 compiling the test with HP's compilers.
23568 * gdb.base/volatile.exp: Similarly.
2cd045cd 23569
99ebe9ac
JB
235702001-12-19 Jim Blandy <jimb@redhat.com>
23571
23572 * gdb.base/printcmds.exp: Expect the null character to be printed
23573 as '\0', and the '\013' to be printed as '\v'.
23574 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
23575 * gdb.base/setvar.exp: Same.
23576
b9891b29
JB
235772001-12-17 Jim Blandy <jimb@redhat.com>
23578
0eba65ab
JB
23579 * gdb.base/completion.exp: Rather than completing very long
23580 filenames, which can make the readline library produce output we
23581 don't recognize, cd to the directory first, and then complete
23582 using nice, short relative paths.
23583
6970b5b1
JB
23584 * gdb.base/completion.exp: On some systems, there is, in fact, a
23585 variable named `b' in scope, since GDB treats all static
a9c64011
AS
23586 variables as being in scope. So use `no_var_named_this'
23587 instead of `b'.
6970b5b1 23588
b9891b29 23589 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 23590 can't find the core file's registers as a failure.
b9891b29 23591
e6ccd35f
JSC
235922001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
23593
a9c64011
AS
23594 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
23595 test expect string more specific.
e6ccd35f 23596
105ba819
CV
235972001-12-13 Corinna Vinschen <vinschen@redhat.com>
23598
23599 * gdb.asm/asm-source.exp: Add support for xstormy16.
23600 * gdb.asm/configure.in: Ditto.
23601 * gdb.asm/configure: Rebuild.
23602 * gdb.asm/xstormy16.inc: New file.
23603
e9e79dd9
FF
236042001-12-10 Fred Fish <fnf@redhat.com>
23605
23606 * gdb.base/maint.exp: Update to match changes in type dumping code.
23607
347dc97d
JB
236082001-12-10 Jim Blandy <jimb@redhat.com>
23609
23610 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
23611 matching the entry point symbol's name at the beginning of the
23612 line.
347dc97d 23613
5178b9d6
DJ
236142001-12-07 Daniel Jacobowitz <drow@mvista.com>
23615
23616 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
23617 gdb.c++/inherit.exp, gdb.c++/method.exp,
23618 gdb.c++/namespace.exp, gdb.c++/templates.exp,
23619 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
23620 and class layout support.
23621
af890c52
DJ
236222001-12-07 Daniel Jacobowitz <drow@mvista.com>
23623
23624 * gdb.c++/classes.exp: Add test for static member function.
23625 * gdb.c++/misc.cc: Add class with static member function.
23626
7a345fb3
JB
236272001-12-07 Jim Blandy <jimb@redhat.com>
23628
f2e54a80 23629 If GDB says it can't find the struct the function returned, report
8032bf31
JB
23630 those tests as `unsupported'.
23631 * gdb.base/call-rt-st.exp (print_struct_call): New function.
23632 Rewrite subsequent tests to use it.
23633
23634 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
23635 those tests as `unsupported'.
23636 * gdb.base/structs.exp (call_struct_func): New function.
23637 (do_function_calls): Use call_struct_func to call the functions
23638 returning structs.
23639
0bc69509
JB
23640 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
23641 whether functions are prototyped or not, so we can't possibly pass
23642 arguments to t_float_values2 properly.
23643
7a345fb3
JB
23644 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
23645 value of `timeout' for targets other than the mips*tx39-*.
23646
edb6ede1
MS
236472001-12-06 Michael Snyder <msnyder@redhat.com>
23648
d63a86f8 23649 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
23650 and detect whether the start symbol has a leading underscore.
23651
2d842f13
JB
236522001-12-04 Jim Blandy <jimb@redhat.com>
23653
23654 * gdb.base/completion.exp: Clarify indentation.
23655
68550daf
JB
236562001-12-03 Jim Blandy <jimb@redhat.com>
23657
23658 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
23659 variables on the S/390, not `.word'.
23660
cd5195a8
JB
236612001-11-30 Jim Blandy <jimb@redhat.com>
23662
23663 Add assembly-source tests for s390-ibm-linux.
23664 * gdb.asm/s390.inc: New file.
23665 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
23666 the S/390 architecture.
a9c64011 23667 * gdb.asm/configure: Regenerated.
cd5195a8 23668
ca9efc90
MS
236692001-11-30 Michael Snyder <msnyder@redhat.com>
23670
23671 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
23672 next, info source, info sources, info line, global and static
23673 variables, and static functions.
23674 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
23675 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
23676 * gdb.asm/asmsrc1.s: Add a static function and some variables.
23677 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
23678 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
23679 (gdbasm_leave): Restore frame pointer.
23680 (gdbasm_startup): Copy stack set-up from crt0.S.
23681
d0e66976
FN
236822001-11-26 Fernando Nasser <fnasser@redhat.com>
23683
23684 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
23685 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
23686 to a local (non-static) variable. Copy tstruct.a to a static buffer
23687 and return a pointer to that buffer.
23688 * gdb.base/callfwmall.c (t_structs_a): Ditto.
23689
e2334072
MK
236902001-11-24 Mark Kettenis <kettenis@gnu.org>
23691
23692 * gdb.asm/configure.in: Fix recognition of ix86 target.
23693 * gdb.asm/configure: Regenerate.
23694
756caa3d
MS
236952001-11-21 Michael Snyder <msnyder@redhat.com>
23696
23697 * gdb.asm/sparc.inc: New file.
23698 * gdb.asm/asm-source.exp: Recognize sparc target.
23699 * gdb.asm/configure.in: Recognize sparc target.
23700 * gdb.asm/configure: Regenerate.
d63a86f8 23701
9a4d72d5
MS
237022001-11-21 Michael Snyder <msnyder@redhat.com>
23703
23704 * gdb.asm/m32r.inc: New file.
23705 * gdb.asm/asm-source.exp: Recognize m32r target.
23706 * gdb.asm/configure.in: Recognize m32r target.
23707 * gdb.asm/configure: Regenerate.
23708
a773d1cd
MS
237092001-11-20 Michael Snyder <msnyder@redhat.com>
23710
017ac23d
MS
23711 * gdb.asm/i386.inc: New file.
23712 * gdb.asm/asm-source.exp: Recognize ix86 target.
23713 * gdb.asm/configure.in: Recognize ix86 target.
23714 * gdb.asm/configure: Regenerate.
23715
a773d1cd
MS
23716 * gdb.c++/namespace.exp: Fix quotes in output messages.
23717
bb632afb
MS
237182001-11-14 Michael Snyder <msnyder@redhat.com>
23719
25d559ca 23720 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
23721 qualifier in a type cast expression, to designate an address
23722 in the instruction space (Harvard architecture).
23723
4749e309
MS
237242001-11-13 Michael Snyder <msnyder@redhat.com>
23725
23726 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
23727 Tests for expressions using 'const' and 'volatile'.
23728
25050984
CV
237292001-11-13 Corinna Vinschen <vinschen@redhat.com>
23730
23731 * gdb.asm/asm-sources.exp: Allow defining linker flags.
23732
1902c51f
DJ
237332001-11-12 Daniel Jacobowitz <drow@mvista.com>
23734
23735 * lib/mi-support.exp (mi_run_to_helper): Move comments
23736 outside of gdb_expect.
23737
dcf95b47
DJ
237382001-11-11 Daniel Jacobowitz <drow@mvista.com>
23739
23740 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
23741 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
23742 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
23743 mi0_run_to): New functions.
23744 * gdb.mi/mi-simplerun.exp: Use them.
23745 * gdb.mi/mi0-simplerun.exp: Likewise.
23746 * gdb.mi/mi-var-cmd.exp: Likewise.
23747 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 23748
45b074e1
AC
237492001-11-10 Andrew Cagney <ac131313@redhat.com>
23750
23751 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
23752 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
23753
bf50d346
AC
237542001-11-09 Andrew Cagney <ac131313@redhat.com>
23755
23756 * gdb.base/restore.exp: Include $expected value in restored test
23757 message.
23758
9383332c
AC
237592001-11-09 Andrew Cagney <ac131313@redhat.com>
23760
23761 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
23762 implemented.
23763
db62520a
MS
237642001-11-08 Michael Snyder <msnyder@redhat.com>
23765
23766 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
23767 Add pass/fail message for stop at breakpoint in call dummy function.
23768
b5703437
MS
237692001-11-07 Michael Snyder <msnyder@redhat.com>
23770
d63a86f8
RM
23771 * gdb.c++/templates.exp (test_template_breakpoints):
23772 If we get an overload menu, but it does not match what
760f6330 23773 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
23774 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
23775 making the whitespace optional. Argument for "new" may be
23776 "unsigned" as well as "unsigned int/long".
d63a86f8 23777 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
23778 making the whitespace optional. Also replace "(void) with
23779 "((void|)), making the keyword "void" optional.
d63a86f8 23780 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
23781 making the whitespace optional. Also replace "(void) with
23782 "((void|)), making the keyword "void" optional.
3bf40917
MS
23783 * gdb.base/callfuncs.c (t_float_values): This function must
23784 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 23785 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
23786 can be tested against both cases. Usually one case involves
23787 promotion of float to double, while the other does not.
23788 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
23789 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
23790 includes a stack frame for "start".
23791
c8ab4e6d
JB
237922001-11-05 Jim Blandy <jimb@redhat.com>
23793
23794 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
23795 pointers are 32 bits long, and that offsets of relocs are always
23796 stored in the data (REL-style), and not in the reloc entry itself
23797 (RELA-style).
23798 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
23799 stabs.
23800
3f08ced9
MS
238012001-11-01 Michael Snyder <msnyder@redhat.com>
23802
23803 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
23804 and regular expression operators by using quoting.
23805
cbfa24cd
MS
238062001-10-31 Michael Snyder <msnyder@redhat.com>
23807
23808 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
23809 depending on what the symbol table contains.
23810 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
23811 the output of the ptype command. Similarly, accept both "const &"
23812 and "const&".
23813
aaa68313
CV
238142001-10-31 Corinna Vinschen <vinschen@redhat.com>
23815
23816 * gdb.base/miscexprs.c (main): Add usage of preprocessor
23817 symbol `STORAGE' to allow to choose the storage class of
23818 the local datastructures.
23819 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
23820 compiler directive.
23821
91740388
MS
238222001-10-30 Michael Snyder <msnyder@redhat.com>
23823
23824 * gdb.base/jump.exp: Allow it to run for all targets.
23825
1b7c05e7
CV
238262001-10-29 Corinna Vinschen <vinschen@redhat.com>
23827
23828 * gdb.base/call-ar-st.c (print_double_array): Match for loop
23829 with new double_array size.
23830 (main): Change storage class of all local variables to static.
23831 Reduce size of double_array to 9.
23832 * gdb.base/call-ar-st.exp: Increase timeout value.
23833 Change expected output for double array to match new size in
23834 call-ar-st.c.
23835
36a22261
CV
238362001-10-29 Corinna Vinschen <vinschen@redhat.com>
23837
23838 * gdb.base/ending-run.exp: Create identical output when passing
23839 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 23840 Stormy16 target.
36a22261 23841
92b8ae91
MK
238422001-10-28 Mark Kettenis <kettenis@gnu.org>
23843
23844 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23845 that we catch the expected failure under Linux/x86.
23846
cb135b83
OF
238472001-10-29 Orjan Friberg <orjanf@axis.com>
23848
23849 * gdb.base/setvar.exp: Escape curly braces.
23850 * gdb.stabs/weird.exp: Ditto.
23851
6884aa54
DJ
238522001-10-27 Daniel Jacobowitz <drow@mvista.com>
23853
23854 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23855 * gdm.mi/mi0-hack-cli.exp: Likewise.
23856
0398c9aa
AC
238572001-10-25 Andrew Cagney <ac131313@redhat.com>
23858
23859 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23860 messages.
23861
d20bf2e8
AC
238622001-10-21 Andrew Cagney <ac131313@redhat.com>
23863
23864 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23865 checking MI enabled.
23866
03dd63aa
CV
238672001-10-09 Corinna Vinschen <vinschen@redhat.com>
23868
23869 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23870
1d9d99f3
FCE
238712001-10-04 Frank Ch. Eigler <fche@redhat.com>
23872
23873 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23874 if gdb child process crashes, just signal an error.
23875
838ae6c4
JB
238762001-10-02 Jim Blandy <jimb@redhat.com>
23877
23878 * lib/gdb.exp (test_xfail_format): Simplify.
23879
23880 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23881 front of the variable name `format'. Simplify `if'.
23882
8f0cbc1c
DJ
238832001-10-01 Daniel Jacobowitz <drow@mvista.com>
23884
23885 * gdb.threads/pthreads.exp: Wait for output and delay
23886 before sending ^C.
23887
1f08dafd
DJ
238882001-10-01 Daniel Jacobowitz <drow@mvista.com>
23889
23890 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23891 some incorrect output instead of timing out.
23892 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23893
674f90ff
CV
238942001-09-28 Corinna Vinschen <vinschen@redhat.com>
23895
23896 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23897 check to allow additional `int'.
23898
9b284272
DJ
238992001-09-27 Daniel Jacobowitz <drow@mvista.com>
23900
23901 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23902 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23903
b55a4771
MS
239042001-09-27 Michael Snyder <msnyder@redhat.com>
23905
23906 * lib/gdb.exp (test_debug_format): New proc.
23907 (setup_xfail_format): Use new proc test_debug_format.
23908 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23909 proc; use new service proc test_debug_format.
23910 Replace all other "gcc_compiled" tests with this test.
23911 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23912 proc; use new service proc test_debug_format.
23913 Replace all other "gcc_compiled" tests with this test.
23914
239152001-09-27 Michael Snyder <msnyder@redhat.com>
23916
23917 * gdb.base/cvexpr.exp: New file.
23918 * gdb.base/cvexpr.c: New file
23919 Test for expressions using const and volatile keywords.
23920
4e6667ac
CV
239212001-09-26 Corinna Vinschen <vinschen@redhat.com>
23922
23923 * gdb.base/constvars.exp: Check for different orders of keywords
23924 and additional "int" strings in output.
23925
4f337972
AC
239262001-09-22 Andrew Cagney <ac131313@redhat.com>
23927
23928 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23929 responses from "help maint".
23930
2015650d
FCE
239312001-09-19 Frank Ch. Eigler <fche@redhat.com>
23932
23933 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23934 to localhost:NNN instead of :NNN, in case Xvfb is listening
23935 only on TCP.
23936
f3bcedc1
CV
239372001-09-19 Corinna Vinschen <vinschen@redhat.com>
23938
23939 * gdb.base/recurse.exp: When checking leaving the watchpoint
23940 scope, recognize when gdb is in function's epilogue and pass.
23941
6b819c92
KS
239422001-09-18 Keith Seitz <keiths@redhat.com>
23943
23944 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23945 support for running tests against sid targets.
23946 (gdbtk_done): Ditto.
23947
a10c9419
CV
239482001-09-18 Corinna Vinschen <vinschen@redhat.com>
23949
23950 * gdb.base/ending-run.c (main): Set stdout buffersize
23951 to the same reasonable value for any target.
23952 * gdb.base/ending-run.exp: Add a regular expression
23953 to make testsuite happy on Sanyo Stormy16 target.
23954
739d0d99
CV
239552001-09-17 Corinna Vinschen <vinschen@redhat.com>
23956
23957 * gdb.base/display.c (do_loops): Add float variable `f'.
23958 Increment f in loop.
23959 * gdb.base/display.exp: Increment timeout by 60 seconds.
23960 Change float display test to use variable `f'.
23961
1b8947f0
JB
239622001-09-17 Jim Blandy <jimb@redhat.com>
23963
23964 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23965 overflowing the limited breakpoint tables on some ROM monitors
23966 (like the ROM68K).
23967
9890ac81
FCE
239682001-09-15 Frank Ch. Eigler <fche@redhat.com>
23969
23970 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23971 the "-ac" (disable access control) flag.
23972
6db765ea
JH
239732001-08-30 Jeff Holcomb <jeffh@redhat.com>
23974
23975 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23976 ints.
23977
4c32cc04
KS
239782001-08-30 Keith Seitz <keiths@redhat.com>
23979
23980 * lib/gdb.exp: Move all insight-related functionality into
23981 separate file.
23982 * lib/insight-support.exp: New file.
23983
8d6e6f81
FCE
239842001-08-29 Frank Ch. Eigler <fche@redhat.com>
23985
23986 * config/sid.exp (sid_start): Never set sid verbosity; disable
23987 expect_background {} that consumed its stdout; tolerate </dev/null.
23988 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23989
6a90e1d0
AC
239902001-08-18 Andrew Cagney <ac131313@redhat.com>
23991
23992 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23993 CLI jump command to start it.
23994 (mi_run_to_main): Fail immediatly when unexpected output.
23995
1759b3c3
AC
239962001-08-18 Andrew Cagney <ac131313@redhat.com>
23997
23998 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23999 beginning of function. Fix PR gdb/191.
24000
61d11d80
FCE
240012001-08-16 Frank Ch. Eigler <fche@redhat.com>
24002
24003 * config/sid.exp (sid_start): Don't warn if we cannot figure out
24004 what to force sid endianness to.
24005
942a4df2
KS
240062001-08-15 Keith Seitz <keiths@redhat.com>
24007
24008 * lib/gdb.exp (gdbtk_start): Don't set environment
24009 variables for TCL_LIBRARY and friends. Insight will
24010 now figure these out for itself.
24011
0521c418
MS
240122001-08-02 Michael Snyder <msnyder@redhat.com>
24013
24014 * gdb.base/completion.exp: Remove the symbol "a64l" from
24015 the expect string; this is target-specific, and not related
24016 to what is being tested.
24017
74a9a58a
DB
240182001-08-02 Dave Brolley <brolley@redhat.com>
24019
24020 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
24021
c70819fa
MS
240222001-07-25 Michael Snyder <msnyder@redhat.com>
24023
c2b8fa57
MS
24024 * gdb.base/consecutive.exp: New file. Test stepping over
24025 breakpoints on consecutive instructions.
24026 * gdb.base/consecutive.c: New file.
24027
c70819fa
MS
24028 * gdb.base/call-rt-st.exp: Use double-backslash to quote
24029 curly braces in regular expressions.
24030
2b1a1355
MS
240312001-07-25 Michael Snyder <msnyder@redhat.com>
24032
24033 * gdb.base/ending-run.exp: Accept "Program exited normally" as
24034 legitimate output from stepping out of main.
24035
413eca6f
KS
240362001-07-22 Keith Seitz <keiths@redhat.com>
24037
24038 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
24039 the empty string, do not run the tests.
24040
7e5a9322
SC
240412001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24042
24043 * gdb.base/long_long.exp: Detect size of pointer. Take into
24044 account 2-byte pointers when testing for p/a results.
24045
de58f10f
SC
240462001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24047
d63a86f8 24048 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
24049 and defined to 1K for m68hc11.
24050 (random_data): Reduce table to 1K for embedded platforms (68hc11).
24051 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
24052 (sizeof_random_data): New variable to tell the size of the data table;
24053 don't test past this size; always run to main.
24054
d6f5fea1
SC
240552001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24056
24057 * gdb.base/return2.exp: return of long long and double fails for
24058 68HC11; don't execute these tests on that platform.
24059 * gdb.base/return.exp: Return of a double fails for 68hc11.
24060
c477543d
SC
240612001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
24062
24063 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
24064 tests that print a float.
24065 * call-rt-st.exp: Likewise.
24066
63cf1c79
MK
240672001-07-12 Mark Kettenis <kettenis@gnu.org>
24068
24069 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
24070 running this test on Linux.
24071
112f9ab5
MC
240722001-06-24 Michael Chastain <chastain@redhat.com>
24073
24074 * gdb.base/arithmet.exp: Remove some tests to make all test names
24075 unique.
24076
4970cb0f
MS
240772001-07-03 Michael Snyder <msnyder@redhat.com>
24078
24079 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
24080 the output of the ptype command.
24081
d85da69f
MS
240822001-07-02 Michael Snyder <msnyder@redhat.com>
24083
4c8a82de
MS
24084 * gdb.base/completion.exp: Don't assume that break.c is the only
24085 source file that may contain functions named "marker".
d85da69f
MS
24086 * gdb.base/corefile.exp: Quote the curly braces in regexp.
24087
8afc772b
AC
240882001-06-28 Andrew Cagney <ac131313@redhat.com>
24089
24090 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
24091 of files to delete.
24092
24093 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
24094 * gdb.disasm/h8300s.exp: New file.
24095 gdb.disasm/h8300s.s: Likewise.
24096
cff22675
AC
240972001-06-27 Andrew Cagney <ac131313@redhat.com>
24098
24099 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
24100 empty breakpoint tables.
24101
68c81b54
AC
241022001-06-25 Andrew Cagney <ac131313@redhat.com>
24103
24104 * lib/mi-support.exp: Update args=... part of stop-reason
24105 patterns. Accept either a list or a tuple.
24106
2dd62704
AC
241072001-06-23 Andrew Cagney <ac131313@redhat.com>
24108
24109 * lib/mi-support.exp: Remove local emacs variable defining
24110 change-log-default-name.
24111
b4127474
MC
241122001-06-22 Michael Chastain <chastain@redhat.com>
24113
24114 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
24115 This is operationally compatible with the previous version.
24116
8dbfb380
JB
241172001-06-13 Jim Blandy <jimb@redhat.com>
24118
24119 * lib/gdb.exp (gdb_test): Doc fix.
24120
f2d8c86d
MC
241212001-06-10 Michael Chastain <chastain@redhat.com>
24122
24123 * gdb.base/exprs.exp: Remove a duplicate test.
24124
81564d34
JB
241252001-06-06 Jim Blandy <jimb@redhat.com>
24126
24127 * gdb.base/return2.exp (main): Use values to test float and double
24128 returns that are not NaN's, to avoid being confused by IEEE
24129 comparison rules.
24130
da55addb
MS
241312001-06-04 Michael Snyder <msnyder@redhat.com>
24132
24133 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 24134 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
24135 rather than wait for 12 more tests to time out.
24136
42c65987
JB
241372001-06-06 Jim Blandy <jimb@redhat.com>
24138
b18bced9 24139 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 24140 Don't forget to match the GDB prompt.
b18bced9 24141
42c65987
JB
24142 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
24143
5b41e5f0
JB
241442001-06-04 Jim Blandy <jimb@redhat.com>
24145
24146 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
24147 command.
24148
015e046f
KB
241492001-05-31 Kevin Buettner <kevinb@redhat.com>
24150
24151 * gdb.base/annota1.exp (info break): Match four or more spaces
24152 after "Address".
24153
fb1ffbbe
MC
241542001-05-31 Michael Chastain <chastain@redhat.com>
24155
24156 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
24157 (dm_type_int_star): Likewise.
24158 (dm_type_long_star): Likewise.
24159 (dm_type_void_star): Likewise.
24160
5ea2a32c
KB
241612001-05-29 Kevin Buettner <kevinb@redhat.com>
24162
24163 * gdb.base/completion.exp (INPUTRC): Set this environment variable
24164 to a known value in order to get consistent results regardless
24165 of the setting of INPUTRC or the presence or contents of .inputrc.
24166
ae23c492
MS
241672001-05-24 Michael Snyder <msnyder@redhat.com>
24168
ac55707e
MS
24169 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
24170 Don't require that the main thread and the manager thread are the
24171 first in the list.
24172
ae23c492
MS
24173 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
24174 debugging. If test fails, issue an "unsupported" not a "fail".
24175
400071f1
JB
241762001-05-24 Jim Blandy <jimb@redhat.com>
24177
24178 Don't assume that short is shorter than int.
24179 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
24180 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 24181 this isn't true.
400071f1
JB
24182 ("print unsigned char == (~0)"): Add test that verifies that ~0,
24183 an int, is not equal to ~0 stored in an unsigned char. This tests
24184 the same thing that the previous test meant to, but works on
24185 16-bit machines, too.
24186 ("print unsigned char != (~0)"): Same test, complemented.
24187
0816a3e5
MS
241882001-05-24 Michael Snyder <msnyder@redhat.com>
24189
24190 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 24191 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
24192 and prevents dejagnu getting out of step.
24193
f6dc23a9
KB
241942001-05-23 Kevin Buettner <kevinb@redhat.com>
24195
24196 * gdb.base/finish.exp (finish_void): Revise pattern for
24197 stopping on the call statement to not permit stopping at
24198 the start of the instructions comprising the call sequence.
24199
7dbd117d
MC
242002001-05-19 Michael Chastain <chastain@redhat.com>
24201
24202 * gdb.base/callfuncs.exp: Make all test names unique.
24203 * gdb.base/commands.exp: Make all test names unique.
24204 * gdb.base/condbreak.exp: Make all test names unique.
24205 * gdb.base/dbx.exp: Make all test names unique.
24206 * gdb.base/default.exp: Make all test names unique.
24207 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
24208 and TIMEOUT messages to their corresponding PASS message.
24209 * gdb.base/ending-run.exp: Make all test names unique.
24210 * gdb.base/long_long.exp: Remove duplicate test.
24211
6b0b0a9e
KB
242122001-05-21 Kevin Buettner <kevinb@redhat.com>
24213
24214 * gdb.base/finish.exp (finish_void): Allow "finish" command to
24215 stop on the call statement as well as the statement after the
24216 call.
24217
2caa35cb
MS
242182001-05-21 Michael Snyder <msnyder@redhat.com>
24219
24220 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
24221
40713331
EZ
242222001-05-10 Elena Zannoni <ezannoni@redhat.com>
24223
a9c64011
AS
24224 * gdb.base/completion.exp: Revamp test. Make it execute on all
24225 platforms.
40713331 24226
c2c1be8d
EZ
242272001-05-10 Elena Zannoni <ezannoni@redhat.com>
24228
a9c64011
AS
24229 * config/gdbserver.exp (gdb_load): Handle the case
24230 in which the arguments to gdbserver are given in the
24231 baseboard configuration file.
24232 Also handle the case in which the server needs to do a
24233 load.
2c9cd303 24234
9671de48
KS
242352001-05-07 Keith Seitz <keiths@cygnus.com>
24236
a9c64011
AS
24237 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
24238 set up the display for testing.
24239 (gdbtk_start): Convert all paths to paths that tcl will like.
24240 Export target information to environment.
24241 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
24242 necessary.
24243 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
24244 (to_tcl_path): New proc to convert a given pathname into
24245 a path acceptible as an argument to a tcl command.
24246 (_gdbtk_export_target_info): New proc to export target info
24247 into the environment for gdbtk testing.
24248 (gdbtk_done): New proc to signal end-of-test.
9671de48 24249
5a360f47
JB
242502001-05-06 Jim Blandy <jimb@redhat.com>
24251
24252 * restore.c: Make the code of caller0 correspond to its comment.
24253
66c756c6
MS
242542001-05-03 Michael Snyder <msnyder@redhat.com>
24255
24256 * config/sid.exp (gdb_target_sid): Check for error messages.
24257 On error or timeout, don't make expect exit (which will terminate
24258 all subsequent tests); instead just make gdb exit.
d63a86f8 24259 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
24260 return a negative value.
24261
a966fde5
JB
242622001-04-24 Jim Blandy <jimb@redhat.com>
24263
851c18e0
JB
24264 * gdb.c++/templates.exp: If we see the prompt for the overload
24265 list, but we haven't recognized any of the longer patterns,
24266 arrange for this test to fail, not hang.
24267
a966fde5
JB
24268 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
24269 variations.
24270
db144853
MC
242712001-04-22 Michael Chastain <chastain@redhat.com>
24272
24273 * gdb.c++/local.exp: Use the 'runto' library function.
24274 * gdb.c++/namespace.exp: Likewise.
24275 * gdb.c++/overload.exp: Likewise.
24276
3207ec21
KB
242772001-03-26 Kevin Buettner <kevinb@redhat.com>
24278
24279 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
24280 * gdb.base/step-line.exp: New file. Test step/next in presence of
24281 #line directives.
24282 * gdb.base/step-line.c: New file. Test program for the above.
24283 * gdb.base/step-line.inp: New file. We pretend that this file has
24284 been transformed by some other tool into step-line.c.
24285
13b57657
JB
242862001-03-21 Jim Blandy <jimb@redhat.com>
24287
24288 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
24289 unmangled operator names.
24290
754cbe1c
JB
242912001-03-20 Jim Blandy <jimb@redhat.com>
24292
24293 * gdb.threads/linux-dp.exp: Recognize an additional message
24294 generated by GDB when it doesn't understand how to debug threads
24295 on the target system.
24296
177495c9
AC
242972001-03-19 Andrew Cagney <ac131313@redhat.com>
24298
24299 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
24300
f266096b
MC
243012001-03-12 Michael Chastain <chastain@redhat.com>
24302
24303 * gdb.c++/derivation.exp: Use the 'runto' library function.
24304
cac3c2ff
MC
243052001-03-12 Michael Chastain <chastain@redhat.com>
24306
24307 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
24308
b6c11a24
MC
243092001-02-24 Michael Chastain <chastain@redhat.com>
24310
24311 * gdb.c++/ref-types.exp: Change handwritten code to library
24312 function 'runto'.
24313
6bae5bce
OF
243142001-03-16 Orjan Friberg <orjanf@axis.com>
24315
24316 * gdb.base/signals.exp: Set count to 0 explicitly.
24317
0015fd9a
MS
243182001-03-15 Mark Salter <msalter@redhat.com>
24319
24320 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
24321 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
24322 (gdb_load): Add support for additional target_info: gdb_download_size
24323 and gdb_load_timeout.
0015fd9a 24324
fc33412a
DT
24325Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
24326
24327 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
24328 file -- to prevent failing when the compile fails but we have no
24329 intention of running the tests anyway.
fc33412a
DT
24330
24331 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
24332 tests if set.
24333
24334 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 24335 integers.
fc33412a
DT
24336
24337 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
24338 * gdb.c++/namespace.exp: Ditto.
24339
115f06de
OF
243402001-03-07 Orjan Friberg <orjanf@axis.com>
24341
24342 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
24343 * gdb.base/pointers.exp: Relax pattern match of decimals.
24344
b6ba6518
KB
243452001-03-06 Kevin Buettner <kevinb@redhat.com>
24346
24347 * Makefile.in, config/abug.exp, config/cfdbug.exp,
24348 config/cpu32bug.exp, config/dve.exp, config/est.exp,
24349 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
24350 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
24351 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
24352 config/sh.exp, config/sid.exp, config/slite.exp,
24353 config/sparclet.exp, config/udi.exp, config/unknown.exp,
24354 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
24355 config/vxworks.exp, config/vxworks29k.exp,
24356 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
24357 gdb.base/all-bin.exp, gdb.base/annota1.exp,
24358 gdb.base/arithmet.exp, gdb.base/assign.exp,
24359 gdb.base/async.exp, gdb.base/attach.exp,
24360 gdb.base/bitfields.exp, gdb.base/bitops.exp,
24361 gdb.base/break.exp, gdb.base/call-ar-st.exp,
24362 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
24363 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
24364 gdb.base/commands.exp, gdb.base/completion.exp,
24365 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
24366 gdb.base/constvars.exp, gdb.base/corefile.exp,
24367 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
24368 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
24369 gdb.base/ending-run.exp, gdb.base/environ.exp,
24370 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
24371 gdb.base/finish.exp, gdb.base/foll-exec.exp,
24372 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
24373 gdb.base/funcargs.exp, gdb.base/help.exp,
24374 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
24375 gdb.base/logical.exp, gdb.base/long_long.exp,
24376 gdb.base/maint.exp, gdb.base/mips_pro.exp,
24377 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
24378 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
24379 gdb.base/pointers.exp, gdb.base/printcmds.exp,
24380 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
24381 gdb.base/regs.exp, gdb.base/relational.exp,
24382 gdb.base/remote.exp, gdb.base/reread.exp,
24383 gdb.base/restore.exp, gdb.base/return2.exp,
24384 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
24385 gdb.base/selftest.exp, gdb.base/setshow.exp,
24386 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
24387 gdb.base/sigall.exp, gdb.base/signals.exp,
24388 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
24389 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
24390 gdb.base/step-test.exp, gdb.base/structs.c,
24391 gdb.base/structs.exp, gdb.base/structs2.exp,
24392 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
24393 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
24394 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
24395 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24396 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
24397 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
24398 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
24399 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
24400 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
24401 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
24402 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
24403 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
24404 gdb.fortran/types.exp, gdb.java/jmisc.exp,
24405 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
24406 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
24407 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
24408 gdb.trace/circ.exp, gdb.trace/collection.exp,
24409 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
24410 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
24411 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
24412 gdb.trace/report.exp, gdb.trace/save-trace.exp,
24413 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
24414 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
24415 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
24416 notices.
24417
dc96c6c7 244182001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
24419
24420 * gdb.base/varargs.c (find_max_double): Fix printf format string:
24421 first arg is int not float.
24422
dc96c6c7 244232001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
24424
24425 * gdb.base/reread.exp: Unsupported for non-native targets;
24426 doesn't work for remote debugging.
24427
9b0c4aeb
FN
244282001-02-19 Fernando Nasser <fnasser@redhat.com>
24429
24430 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
24431 * gdb.base/ending-run.exp: Properly handle the BSP state when
24432 stepping past the end of main.
9b0c4aeb 24433
02aa71d5
MC
244342001-02-19 John Moore <jmoore@redhat.com>
24435
24436 * gdb.base/commands.exp (infrun_breakpoint_command_test):
24437 Converted HPUX fix for non-expected items following multiple
24438 step commands into general solution for all platforms.
24439
1fa449a4
MC
244402001-02-18 Michael Chastain <chastain@redhat.com>
24441
24442 * gdb.c++/classes.exp (do_tests): Change runto statements
24443 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24444 statements demangler agnostic.
24445 * gdb.c++/virtfunc.exp (do_tests): Likewise.
24446 (gdb_virtfunc_restart): Likewise.
24447
b2f9ec70
MC
244482001-02-14 Michael Chastain <chastain@redhat.com>
24449
24450 * gdb.c++/inherit.exp (do_tests): Change runto statements
24451 from "runto 'foo(void)'" to "runto 'foo'". This makes the
24452 statements demangler agnostic.
24453
cf74b8ca
AC
24454Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
24455
24456 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
24457 ``continue to bkpt at common_routine in thread 2'' and ``stopped
24458 before calling common_routine 15 times'' tests.
cf74b8ca 24459
99f78f56
MC
244602001-02-11 Michael Chastain <chastain@redhat.com>
24461
24462 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
24463 Helps the test script figure out which demangler is in use.
24464 (dm_type_foo_ref): Ditto.
24465 (dm_type_int_star): Ditto.
24466 (dm_type_long_star): Ditto.
24467 (dm_type_unsigned_int): Ditto.
24468 (dm_type_void): Ditto.
24469 (dm_type_void_star): Ditto.
99707966 24470 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
24471 Probe the gdb demangler and set variables to accommodate
24472 formatting differences.
24473 (info_func_regexp): New function. Same as info_func, but
24474 matches against a regexp.
24475 (info_func): Match against a literal string.
24476 (print_addr_2): New function. Match against a literal string,
24477 which can be different from the input to gdb.
24478 (print_addr): Simply call print_addr_2 with the same argument twice.
24479 (test_lookup_operator_functions): Use demangler formatting variables.
24480 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
24481 the tests in the same order as the C++ class declaration.
24482 (test_paddr_operator_functions): Ditto.
24483 (test_paddr_overloaded_functions): Ditto.
24484 (test_paddr_hairy_functions): Use demangler formatting variables.
24485 Add reference to gdb/19 for related tests.
24486 (do_tests): Call probe_demangler.
24487
1de8f023
KB
244882001-01-30 Kevin Buettner <kevinb@redhat.com>
24489
24490 * gdb.c++/templates.cc (printf): Remove unused function definition.
24491
ca3f91ed
MS
244922001-01-26 Felix Lee <flee@redhat.com>
24493
24494 * sid.exp (sid_exit): Pass host, not target, to remote_close.
24495
244962001-01-25 matthew green <mrg@redhat.com>
24497
24498 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
24499 up sid.
24500 (sid_exit): Call `remote_pop_conn' after GDB is gone.
24501
245022001-01-25 matthew green <mrg@redhat.com>
24503
24504 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 24505 Deprecate $sid_spawn_id.
ca3f91ed
MS
24506 (sid_exit): Remove code necessary only for `spawn.'
24507
245082001-01-25 matthew green <mrg@redhat.com>
24509
24510 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
24511
fb18ec4a
MC
245122001-01-28 Michael Chastain <chastain@redhat.com>
24513
24514 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
24515 to call when tests fail. It takes gdb out of the overloaded
24516 function choice menu back to the main prompt, so that the test
24517 program stays synchronized.
24518 (set_bp_overloaded): New proc to collect all the common
24519 code for setting a breakpoint on an overloaded name. Calls
24520 take_gdb_out_of_choice_menu when needed.
24521 (menu_overload1arg): New variable to collect the repeated
24522 instances of the expected menu for an overloaded name. Change
24523 the regular expression to handle changes in g++ type encoding:
24524 "void" can be either "void" or "", and "unsigned int" can be
24525 either "unsigned int" or "unsigned".
24526 (continue_to_bp_overloaded): Change regular expressions to handle
24527 changes in g++ type encoding.
24528 (no proc): Call take_gdb_out_of_choice_menu when needed.
24529 Remove redundant calls to "info break". Accept either "canceled"
24530 or "cancelled". Change regular expressions in "info break"
24531 calls to handle changes in g++ type encoding. Give all tests
24532 unique strings.
24533
9c646a6e
BE
245342001-01-17 Ben Elliston <bje@redhat.com>
24535
24536 * config/sid.exp: New file.
24537
9549d9c1
AC
24538Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
24539
24540 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
24541
dc96c6c7 245422000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
24543
24544 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
24545 Add a RE to accept a non-ascii char if one is ever presented.
24546
b4df4f68
FN
245472000-12-20 Fernando Nasser <fnasser@redhat.com>
24548
297dd0fd 24549 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 24550
dc96c6c7 245512000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 24552
d63a86f8 24553 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
24554 in regexp. One '\' does not suffice on Linux.
24555
4a7bddb6
MC
245562000-12-09 Michael Chastain <chastain@redhat.com>
24557
24558 * gdb.base/break.exp (test_clear_command): Use a marker function
24559 rather than 'main' for the test function. Also move this
24560 test to an execution point where the marker function names are
24561 guaranteed to be bound to functions. (Executing tests after a
24562 'finish' from main runs into name conflicts with local names
24563 in __libc_start_main).
24564
dc96c6c7 245652000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
24566
24567 * gdb.base/finish.exp: New test for gdb's "finish" command.
24568 * gdb.base/return2.exp: New test for gdb's "return" command.
24569 * gdb.base/return2.c: New source file for above.
24570
dc96c6c7 245712000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
24572
24573 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
24574 * gdb.base/miscexprs.exp: Ditto.
24575 * gdb.base/pointers.exp: Ditto.
24576 * gdb.c++/derivation.exp: Ditto.
24577 * gdb.c++/local.exp: Ditto.
24578 * gdb.c++/namespace.exp: Ditto.
24579 * gdb.c++/overload.exp: Ditto.
24580 * gdb.c++/ref-types.exp: Ditto.
24581
dc96c6c7 245822000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
24583
24584 * gdb.base/constvars.exp: Test result of "up" command.
24585 * gdb.base/miscexprs.exp: Ditto.
24586 * gdb.base/pointers.exp: Ditto.
24587 * gdb.base/scope.exp: Ditto.
24588 * gdb.c++/derivation.exp: Ditto.
24589 * gdb.c++/local.exp: Ditto.
24590 * gdb.c++/namespace.exp: Ditto.
24591 * gdb.c++/overload.exp: Ditto.
24592 * gdb.c++/ref-types.exp: Ditto.
24593
44097287
FN
245942000-11-22 Michael Chastain <chastain@redhat.com>
24595
24596 * mips_pro.exp: Accept either "middle -> top -> main" or
24597 "middle -> main" in the backtrace, because gcc can optimize
24598 tail calls to jumps. Remove setup_xfail for the hppa case.
24599 Add a comment with the original warning messages from PR 3016,
24600 which was filed in 1993, to preserve them for posterity.
24601
9d2e1bab
ND
246022000-11-17 Nick Duffek <nsd@redhat.com>
24603
24604 * lib/gdb.exp (gdb_test): Override timeout with board info.
24605
1aca8eb7
ND
246062000-11-17 Nick Duffek <nsd@redhat.com>
24607
24608 * gdb.base/display.exp: Don't kill running stub. Add "again" to
24609 the second kill and detach messages.
24610
93076499
ND
246112000-11-17 Nick Duffek <nsd@redhat.com>
24612
24613 * configure.in: Add AC_EXEEXT.
24614 * configure: Regenerate.
24615 * Makefile.in (just-check): Export EXEEXT.
24616 * lib/gdb.exp ($EXEEXT): Import from environment.
24617 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
24618 expect "maint dump-me" on Cygwin.
24619 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
24620 $EXEEXT.
24621
30e87cd3
ND
246222000-11-17 Nick Duffek <nsd@redhat.com>
24623
24624 * gdb.base/break.exp: Test backtrace and finish from called
24625 function on all platforms, not just HP-UX.
24626
dc96c6c7 246272000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
24628
24629 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
24630 code from gdb_target_monitor, so it can be used independantly
24631 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 24632
dc96c6c7 246332000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
24634
24635 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
24636 * gdb.base/corefile.exp: Expect the message "Program is being
24637 debugged already" when we send the "corefile" command, since
24638 the preceeding gdb_load may have connected gdb to a remote target.
24639 * gdb.base/display.exp: Disable hardware watchpoints if new
24640 board info variable "no_hardware_watchpoints" is true.
24641 Replace single-letter commands with more readable ones.
24642 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
24643 if new board info variable "no_hardware_watchpoints" is true.
24644 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
24645 to see if stdio (printf) testing is possible.
24646 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
24647 board info variable "no_hardware_watchpoints" is true. Use new
24648 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
24649
39124dea
FN
246502000-11-13 Fernando Nasser <fnasser@redhat.com>
24651
24652 From Orjan Friberg <orjanf@axis.com>:
24653 * gdb.base/printcmds.exp: Escape curly braces followed by a number
24654 in array print pattern match.
24655
a9e2e984
FN
246562000-11-09 Fernando Nasser <fnasser@redhat.com>
24657
24658 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
24659 spelling "cancelled" to U.S. spelling "canceled" to match changes
24660 made to gdb.
24661 * gdb.c++/ovldbreak.exp: Ditto.
24662
c7db355b
PS
246632000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
24664
24665 * gdb.base/callfuncs.c (main): Moved to end of file, call
24666 t_double_values to initialize the FPU before inferior calls are made.
24667 * gdb.base/callfuncs.exp: Test for register preservation after calling
24668 inferior functions. Add tests for continuining, finishing and
24669 returning from a stop in a call dummy.
24670
dc96c6c7 246712000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
24672
24673 * gdb.base/commands.exp: Break up long lines, and re-indent.
24674
dc96c6c7 246752000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
24676
24677 * config/gdbserver.exp: Rewritten from the ground up, to make it
24678 compatible with the current dejagnu tree, and to make it work with
24679 the new "gdbserver" in libremote.
24680
dc96c6c7 246812000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
24682
24683 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
24684 * gdb.base/varargs.exp: Skip entire test if no printf support.
24685 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
24686 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
24687
dc96c6c7 246882000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
24689
24690 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
24691 no floating point support.
24692 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
24693 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
24694 * gdb.base/call-rt-st.exp: Ditto.
24695 * gdb.base/call-strs.exp: Ditto.
24696
bac5fc66
JG
246972000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
24698
24699 * gdb.base/sizeof.c: include <stdio.h>.
24700
24701 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
24702 'finish', otherwise uncaptured gdb_prompt would potentially
24703 throw remaining test points out of sync.
bac5fc66 24704
b22a6027
SB
247052000-07-26 Scott Bambrough <scottb@netwinder.org>
24706
24707 * gdb.base/recurse.exp: Run tests for all targets.
24708 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
24709 gnu-oldld case on ARM.
24710 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
24711 for ARM targets.
d63a86f8 24712
d8231941
AG
24713Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
24714
24715 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
24716 * gdb.java/configure: Rebuild.
24717
8caabe69
AG
24718Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
24719
24720 * gdb.java/jv-exp.exp: New file.
24721
9d273ca3
AG
24722Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
24723
24724 * configure: Rebuilt.
24725 * configure.in (configdirs): Add gdb.java.
24726 * gdb.java/jmisc.java: New file.
24727 * gdb.java/jmisc.exp: New file.
24728 * gdb.java/Makefile.in: New file.
24729 * gdb.java/configure: Rebuilt.
24730 * gdb.java/configure.in: New file.
24731 * lib/java.exp: New file.
24732
4f823a66
AC
24733Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
24734
24735 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 24736 underflow.
4f823a66 24737
2391e11d
AC
24738Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
24739
24740 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 24741 and the compilers sizes.
2391e11d 24742
54602222
ND
247432000-07-09 Nick Duffek <nsd@redhat.com>
24744
24745 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
24746 (use_methods): New function.
24747 (main): Call use_methods().
24748 * gdb.c++/classes.exp (test_method_param_class): New procedure.
24749 (do_tests): Call test_method_param_class.
24750
2bec0572
ND
247512000-07-09 Nick Duffek <nsd@redhat.com>
24752
24753 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
24754 spelling.
24755 (test_enums): New procedure. Move enum tests from end of script
24756 to here. Set breakpoint on function name instead of line number.
24757 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
24758 (enums2): New marker function.
24759 (enums1): New function.
24760 (main): Call enums1(). Move enum tests to enums1().
24761
78492fde
AC
24762Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
24763
24764 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 24765 compile/link program. Update line numbers.
78492fde
AC
24766 * gdb.asm/d10v.inc: Define ``startup''.
24767 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 24768
49a2cef8
AC
24769Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
24770
24771 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
24772
3e6c8688
EZ
247732000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24774
24775 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 24776 of 'help maint print' command.
3e6c8688 24777
9ff5cbe9
AC
24778Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
24779
24780 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 24781 they use gdb_expect_list.
9ff5cbe9 24782
17c579bd
AC
24783Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
24784
24785 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
24786 memory-read-packet-size'' instead of ``set endian big'' to test
24787 long commands.
17c579bd 24788
e6d71bf3
DB
247892000-06-03 Daniel Berlin <dan@cgsoftware.com>
24790
24791 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 24792 g++, and stop skipping them.
e6d71bf3
DB
24793
24794 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
24795 work under g++.
24796
d63a86f8 24797 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
24798 initialization.
24799
dc96c6c7 248002000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
24801
24802 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
24803 the regular expression: accept an (almost) arbitrary sequence of
24804 "frames-invalid" and "breakpoints-invalid" messages both before
24805 and after the "starting" message.
24806
dc96c6c7 248072000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
24808
24809 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 24810
dc96c6c7 248112000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
24812
24813 * gdb.base/annota1.exp (annotate-signal-handler-caller):
24814 Relax the regular expression a little, make it pass on Solaris 8.
24815
8216cda9
KB
248162000-05-12 Kevin Buettner <kevinb@redhat.com>
24817
24818 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 24819 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
24820 Instead, it is permissible for gdb to stop on the line of the
24821 call itself.
24822
1a570b2f
MS
248232000-05-12 Michael Snyder <msnyder@.cygnus.com>
24824
24825 * gdb.base/break.exp (bp on small function, optimized file):
24826 Add a second pass pattern. The behavior differs here between stabs
24827 and dwarf for one-line functions. Stabs preserves two line symbols
24828 (one before the prologue and one after) with the same line number,
24829 but dwarf regards these as duplicates and discards one of them.
24830 Therefore the address after the prologue (where the breakpoint is)
24831 has no exactly matching line symbol, and GDB reports the breakpoint
24832 as if it were in the middle of a line rather than at the beginning.
24833
dc96c6c7 248342000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 24835
d63a86f8 24836 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
24837 rather than "send_gdb" (for consistancy).
24838
7d418785
AC
24839Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
24840
24841 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
24842 * gdb.c++/templates.cc: Properly check for GCC version number.
24843 * lib/compiler.cc: Likewise
24844
dc96c6c7 248452000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 24846
d63a86f8 24847 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
24848 gdb may not stop at the first line of main, due to code motion.
24849
dc96c6c7 248502000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
24851
24852 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24853 This test depends on parsing the printf output from the target.
24854 Since the sparclet stub doesn't do stdio, this will never work.
24855 * gdb.base/call-rt-st.exp: ditto.
24856 * gdb.base/call-strs: ditto.
24857
dc96c6c7 248582000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
24859
24860 * gdb.base/miscexprs.exp: make sizeof long array test portable.
24861
24862 * gdb.base/ending-run.exp: After connecting to a remote target,
24863 but before running, the target will appear to be in a random
24864 location. Specify both a file and a line for breakpoints.
24865 Also, the function that calls main may be called 'init'
24866 rather than 'start'.
24867
a5a51225
EZ
248682000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24869
24870 * gdb.base/help.exp: Update output for add-symbol-file command.
24871
7930cc7c
FN
248722000-04-10 Fernando Nasser <fnasser@cygnus.com>
24873
24874 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24875 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24876
23e37ab1
C
248772000-04-07 J.T. Conklin <jtc@redback.com>
24878
e93c542c
C
24879 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24880
23e37ab1
C
24881 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24882
591b8fa3
PDM
24883Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24884
24885 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 24886 values that can be represented exactly.
591b8fa3
PDM
24887 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24888 above change, and to not check against the directory part of the source
24889 file name.
24890 (step into print_long_arg_list): Likewise.
24891 (print print_small_structs from print_long_arg_list): Likewise.
24892 (print print_long_arg_list): Likewise.
24893
7a495180
EZ
248942000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24895
30b53638 24896 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 24897
beb998c6
AC
24898Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24899
24900 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24901
1c689132
DB
249022000-03-25 Daniel Berlin <dan@cgsoftware.com>
24903
24904 * gdb.base/commands.exp (deprecated_command_test): Add test for
24905 deprecate with no arguments.
24906
c1790a9d
JL
249072000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24908
24909 * gdb.base/break.exp: Add new test for setting breakpoints on
24910 optimized code so we can test breakpoints work even when function
24911 prologues may be optimized away
24912
003ba290
FN
249132000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24914
24915 From David Whedon <dwhedon@gordian.com>
a9c64011 24916 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 24917
6837a0a2
DB
249182000-03-22 Daniel Berlin <dan@cgsoftware.com>
24919
24920 * gdb.base/help.exp: Added test for new apropos command.
24921
b9593231
KB
249222000-03-21 Kevin Buettner <kevinb@redhat.com>
24923
24924 * gdb.base/pointers.c (usevar): New function.
24925 (main): Make sure that global variables v_int_pointer2, rptr,
24926 and y are all referenced someplace in the program by calling
24927 usevar() on them. [Some linkers delete symbols which are
24928 never referenced. The space remains, but there's no way to
24929 get a (symbolic) handle on the variable from the debugger.]
24930
751a959b
EZ
249312000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24932
24933 * gdb.base/printcmds.c: Add typedeffed arrays.
24934
24935 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 24936 procedure to test arrays that are typedef'd.
751a959b 24937
73a93a32
JI
249382000-03-13 James Ingham <jingham@leda.cygnus.com>
24939
24940 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 24941 the library directories.
73a93a32 24942
fb40c209
AC
24943Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24944
24945 * configure.in (configdirs): Add sub directory gdb.mi.
24946 * configure: Re-generate.
24947
24948 * gdb.mi: New directory.
d63a86f8 24949
ee4dd2c9
AC
249502000-02-25 Scott Bambrough <scottb@netwinder.org>
24951
24952 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 24953 a long long value as a double on ARM platforms.
ee4dd2c9 24954
70f0cc22
JB
249552000-02-16 Jim Blandy <jimb@redhat.com>
24956
24957 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24958 default source file is set properly before running this test.
24959
853819b8
EZ
249602000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24961
24962 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 24963 gdbtk/library directory, not in gdbtcl2.
853819b8 24964
dfcd3bfb
JM
249652000-02-04 Jim Blandy <jimb@redhat.com>
24966
24967 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24968 backslash from regexp pattern.
24969
24970 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24971 procedure. Use it to run all the "continue to bp overloaded"
24972 tests. Note that this changes the names of the tests slightly.
24973 If the breakpoint hit message includes a hex PC value, because
24974 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24975 from the real source code, still consider that a pass.
24976
24977 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24978 XFAIL here if the breakpoint message contains a hex address. Note
24979 similar change on 1999-11-02.
24980
24981 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24982
24983 * gdb.base/ptype.exp: Establish a default source file before
24984 calling get_debug_format.
24985
249862000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24987
24988 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24989
8b93c638
JM
249902000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24991
24992 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24993 of successive stepi commands -- while in the prologue we should see
24994 the function entry bracket.
24995
249962000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24997
24998 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24999 reach __change_mode() when stepping through the end of main().
25000
c5394b80
JM
250012000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
25002
25003 * gdb.base/default.exp: Fix expected pattern.
25004 * gdb.base/help.exp: Same.
25005
0d06e24b
JM
250062000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25007
25008 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 25009 Don't use xfail's because that affects only the following test.
d63a86f8 25010
0d06e24b 25011 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 25012 solaris or linux.
0d06e24b
JM
25013
25014 * gdb.base/selftest.exp: Update to reflect changes to main.c.
25015
dc96c6c7 250162000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 25017
d63a86f8 25018 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
25019 "A syntax error" rather than "A parse error". Accept both.
25020
250212000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
25022
25023 * gdb.base/default.exp: Remove OS dependent string from "target
25024 remote" test.
25025 * gdb.base/help.exp: Same for "help target remote" test.
25026
c3f6f71d
JM
250272000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25028
25029 From Jim Kingdon <kingdon@redhat.com>:
25030
25031 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
25032 prompt (cleanup rather than necessity, but still might keep output
25033 from spilling to next test).
c3f6f71d
JM
25034
250352000-01-02 Fred Fish <fnf@cygnus.com>
25036
25037 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
25038 AIX, which defines them in <sys/types.h>.
25039
ed9a39eb 250401999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 25041
ed9a39eb 25042 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 25043 float" test.
ed9a39eb
JM
25044
250451999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 25046
ed9a39eb 25047 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
25048
25049 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
25050 outermost frame disallowed".
25051
250521999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
25053
25054 * gdb.base/setvar.exp: New tests for setting the value of a struct
25055 with a constant list.
25056
250571999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25058
25059 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
25060 require the user to type a cast before setting the value of a struct.
25061
de57eccd
JM
250621999-12-06 Jim Blandy <jimb@cygnus.com>
25063
25064 * gdb.base/default.exp: Expect the new 'info float' command on
25065 all i386 platforms.
25066
25067 * gdb.threads/linux-dp.exp: Expand our ability to recognize
25068 LinuxThreads libraries that don't support debugging.
25069
c2d11a7d
JM
25070Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25071
25072 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
25073 Change the buffer type to ``unsigned char'' to simplify size
25074 arithmetic.
c2d11a7d
JM
25075
25076 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
25077 stub only handles 400-1 byte packets. Verify that the download
25078 worked.
c2d11a7d
JM
25079
250801999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
25081
25082 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
25083 tests, using UNRESOLVED for the untested cases. Also, does not wait
25084 for a timeout if the prompt was received before a recognizable pattern.
25085
250861999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
25087
25088 * lib/gdb.exp (gdb_expect_list): Fix spelling.
25089
250901999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25091
25092 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 25093 watchpoints.
c2d11a7d
JM
25094
250951999-11-24 Jason Merrill <jason@casey.cygnus.com>
25096
25097 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
25098
25099 * gdb.c++/local.exp: Be more flexible in recognizing local class
25100 name mangling. Don't allow horribly truncated method names.
25101 * gdb.c++/derivation.exp: Expect protected inheritance.
25102 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
25103 * gdb.c++/virtfunc.exp: Likewise.
25104 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
25105 when printing a nested enum.
25106
251071999-11-22 Jim Blandy <jimb@cygnus.com>
25108
25109 * gdb.base/step-test.exp: Properly await GDB's response to setting
25110 a breakpoint on the call to large_struct_by_value.
25111
25112 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
25113 just because we have debug info for the `start' function.
25114
251151999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
25116
25117 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
25118 "Unknown signal" messages, which indicate (on LinuxThreads) that
25119 GDB doesn't know how to debug threads on this system. This is
25120 better than hanging while philosopher 0 dumps chatter into gdb.log.
25121
251221999-11-18 Tom Tromey <tromey@cygnus.com>
25123
25124 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
25125
251261999-11-18 Fred Fish <fnf@cygnus.com>
25127
25128 * gdb.base/coremaker2.c: Add sample program for generating
25129 cores that is more self contained than coremaker.c. Eventually
25130 I'll add more code to this and tie it into the testsuite.
25131
4ce44c66
JM
251321999-11-12 Stan Shebs <shebs@andros.cygnus.com>
25133
25134 * gdb.base/dollar.exp: Remove, now in gdb.hp.
25135
251361999-11-10 Jimmy Guo <guo@cup.hp.com>
25137
25138 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 25139 from $srcdir/lib/.
4ce44c66 25140 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 25141 and gdb.c++/.
4ce44c66
JM
25142
25143 * gdb.c++/derivation.exp: remove redundant get compiler info code.
25144
d63a86f8 25145 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
25146 'continue with watch' test point.
25147
251481999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
25149
25150 Merged from p2linux-990323-branch:
d63a86f8 25151
4ce44c66
JM
25152 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
25153
11cf8741
JM
25154Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
25155
25156 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 25157 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
25158
25159Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
25160
25161 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 25162 gdb_expect_list.
11cf8741
JM
25163
25164Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
25165
25166 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
25167
251681999-11-03 Mark Salter <msalter@cygnus.com>
25169
25170 * gdb.base/break.exp: Fix "stub continue" pattern.
25171
251721999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
25173
25174 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
25175
251761999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
25177
25178 * gdb.base/display.exp ("finish"): Add timeout clause.
25179
25180 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
25181 plain prompt clause, so this doesn't have to time out in order to
25182 fail.
25183
25184 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 25185 breakpoint hit messages include an address.
11cf8741
JM
25186
25187 * gdb.base/display.exp: Don't forget to escape parens in regular
25188 expressions. Unix regexp notatation sucks.
25189
251901999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25191
25192 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 25193 order for 'signalled' message.
11cf8741 25194
5c44784c
JM
251951999-11-01 Stan Shebs <shebs@andros.cygnus.com>
25196
25197 From Jimmy Guo <guo@cup.hp.com>:
25198 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
25199 * gdb.base/annota1.c: Add code for tests to work with.
25200
252011999-10-26 Frank Ch. Eigler <fche@cygnus.com>
25202
25203 * gdb.base/remote.exp: New test for remote downloading settings.
25204 * gdb.base/remote.c: New file with large .data.
25205
917317f4
JM
252061999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
25207
25208 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
25209 for LinuxThreads support, merged from the Code Fusion branch.
25210
25211Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
25212
25213 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
25214 containing exp_continue into a while within an expect. Don't
25215 attempt a start more than three times. Check return value from
25216 gdb_load.
d63a86f8 25217
2df3850c
JM
25218Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
25219
25220 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 25221 a pass case.
2df3850c 25222
2acceee2
JM
252231999-10-01 Kevin Buettner <kevinb@cygnus.com>
25224
25225 * gdb.base/break.c (main): Added a statement that we can step
25226 off of.
25227 * gdb.base/break.exp: Added tests for setting a breakpoint
25228 at an offset and stepping onto a breakpoint.
25229
252301999-10-01 Fred Fish <fnf@cygnus.com>
25231
d63a86f8 25232 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
25233 gdb output.
25234
c2c6d25f
JM
252351999-09-18 Jim Blandy <jimb@cris.red-bean.com>
25236
25237 * gdb.base/break.exp: Code locations are in hex, don't forget!
25238 (For HP-UX.)
25239
252401999-09-17 Stan Shebs <shebs@andros.cygnus.com>
25241
25242 * condbreak.exp: Use break.c as test program.
25243 * condbreak.c: Remove, redundant with break.c.
25244
252451999-09-15 Stan Shebs <shebs@andros.cygnus.com>
25246
25247 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 25248 Z-packets if the target needs it.
c2c6d25f
JM
25249
252501999-09-13 James Ingham <jingham@leda.cygnus.com>
25251
25252 * gdb.c++/overload.exp: Added tests for listing overloaded
25253 functions with function pointers in the arg, explicitly calling
25254 out the version you want.
25255
cff3e48b
JM
252561999-09-09 Stan Shebs <shebs@andros.cygnus.com>
25257
25258 * long_long.exp: Add variations of test cases that work for
25259 targets with 16-bit ints and 32-bit doubles.
25260
d4f3574e
SS
252611999-09-08 Stan Shebs <shebs@andros.cygnus.com>
25262
25263 * break.c (main): Compare a possibly-uninitialized argc with an
25264 unlikely value that fits in 16 bits.
25265
252661999-09-07 Stan Shebs <shebs@andros.cygnus.com>
25267
25268 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
25269 0xfeeb, don't want negative numbers if ints are 16 bits.
25270
25271 * lib/gdb.exp (skip_cplus_tests): New proc.
25272 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
25273 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
25274 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
25275 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
25276 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
25277 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
25278 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
25279 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
25280
25281 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
25282
25283Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
25284
25285 * gdb.base/corefile.exp (up): Allow a parameter to appear
25286 in the frame that we're going up to.
25287
25288 From Jim Blandy <jimb@cygnus.com>:
25289
25290 * gdb.base/default.exp (info float): Expect some output now.
25291
25292 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
25293 returning floating-point values to fail on the x86.
25294 * gdb.base/callfwmall.exp (do_function_calls): Same.
25295
25296 * gdb.base/list.exp (test_listsize): Correct expectations for
25297 listing line 1 with listsize 2. Also, listing a single line
25298 works now, as does listing three lines. [Kevin's note: There
25299 were a number of other cases fixed too where the expectations
25300 differed...]
25301
253021999-09-02 Stan Shebs <shebs@andros.cygnus.com>
25303
25304 * gdb.base/selftest.exp: Add case for when version prints as
25305 constant string instead of char pointer.
25306
104c1213
JM
253071999-08-25 Stan Shebs <shebs@andros.cygnus.com>
25308
25309 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 25310 stepping out of main.
104c1213
JM
25311
25312 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
25313 G++ used.
25314
25315 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 25316 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
25317
25318 * gdb.c++/ovldbreak.exp: Update match string in test that
25319 includes a warning of multiple breakpoints.
25320
253211999-08-24 Stan Shebs <shebs@andros.cygnus.com>
25322
25323 * gdb.base/display.exp: Improve precision of step-after-finish
25324 added yesterday.
25325
25326 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 25327 test.
104c1213
JM
25328
25329 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
25330 configs when using G++, not just hppa*.
25331
253321999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25333
25334 * gdb.base/async.c: New file.
25335 * gdb.base/async.exp: New file.
25336
25337Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
25338
25339 * gdb.base/break.exp: Tweak PA specific tests to properly handle
25340 PA64.
25341
53a5351d
JM
25342Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
25343
104c1213
JM
25344 * gdb.base/display.exp: "finish" can leave us mid-line on many
25345 targets, deal with it. Add a small constant to main, instead of
25346 1000 since main+1000 may not be a valid address in the target.
25347
53a5351d
JM
25348 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
25349 on hpux11.
25350
25351 * gdb.base/attach.exp: Handle another hpux11 error message variant
25352 when attaching to a process that does not exist.
25353
253541999-08-19 J.T. Conklin <jtc@redback.com>
25355
25356 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 25357 characters in 'continue to 1241' test.
53a5351d
JM
25358
253591999-08-17 Stan Shebs <shebs@andros.cygnus.com>
25360
25361 * gdb.base/call-ar-st.exp: Add a shorter match case for the
25362 stop in print_long_arg_list, define and use a whitespace
25363 variable in print_small_structs test, add an XFAIL for Solaris.
25364 * gdb.base/dbx.exp: XFAIL func commands until somebody is
25365 interested enough to fix.
25366
7be570e7
JM
253671999-08-13 Keith Seitz <keiths@cygnus.com>
25368
25369 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
25370 (dbx_gdb_load): Remove. Use gdb_load instead, since that
25371 proc knows about targets other than the natives.
25372 (test_assign): Use "gdb_run_cmd" to "run" the target.
25373 Check that we've actually hit the breakpoint at main.
25374 When we attempt to assign a value to a local variable, check
25375 that the variable is in the current scope, i.e., don't use
25376 a test with an empty result.
25377
25378Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
25379
25380 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 25381 command.
7be570e7
JM
25382
253831999-08-09 Stan Shebs <shebs@andros.cygnus.com>
25384
25385 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25386 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
25387 gdb.compat, gdb.threads-hp.
25388 gdb.hp/configure, gdb.hp/configure.in: New files.
25389 gdb.hp/Makefile.in: Recurse into new subdirs.
25390 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
25391 gdb.hp/gdb.objdbg: New directory, tests for debugging info
25392 in object files.
25393 gdb.hp/tools: New directory, aux tools for HP-specific tests.
25394
96baa820
JM
253951999-08-05 Stan Shebs <shebs@andros.cygnus.com>
25396
25397 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 25398 funky printf, remove a bogus p/a test.
96baa820
JM
25399
254001999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25401
25402 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
25403 connected to the target. This is necessary when running not
25404 natively.
96baa820
JM
25405
254061999-08-03 Stan Shebs <shebs@andros.cygnus.com>
25407
25408 * gdb.base/step-test.exp: Removed some extraneous messages.
25409
25410 * gdb.base/long_long.exp: Don't run memory examination tests
25411 on little-endian targets (they will need a different set of
25412 results to match).
25413
254141999-08-02 Stan Shebs <shebs@andros.cygnus.com>
25415
25416 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
25417 until somebody decides to fix GDB.
25418
25419 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 25420 constant as "ULL".
96baa820
JM
25421 * gdb.base/long_long.exp: Loosen x/c test, add partial result
25422 matches for a couple x/2 commands.
25423
a0b3c4fd
JM
254241999-07-30 Stan Shebs <shebs@andros.cygnus.com>
25425
25426 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
25427 by merging in ref-types2 tests.
25428 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
25429
25430 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25431 * gdb.c++/Makefile.in: Add standard actions.
25432 (EXECUTABLES): Rename from PROGS, update list.
25433 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
25434 from gdb.hp.
25435 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
25436 foo and bar locals.
25437 * gdb.c++/anon-union.exp: Fix tests to match.
25438 * gdb.c++/classes.exp: Run if HP compiler used, add extra
25439 expect matches to handle output variations.
25440 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
25441 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 25442 output, add HP alternatives for new and delete prints.
a0b3c4fd 25443 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 25444 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
25445 * gdb.c++/demangle.exp: Use $style when reporting failure.
25446 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
25447 * gdb.c++/inherit.exp: Run if HP compiler used, add some
25448 match alternatives.
25449 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 25450 compilers.
a0b3c4fd
JM
25451 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
25452 * gdb.c++/method.exp: Add match alternatives.
25453 * gdb.c++/misc.cc: Add bool types.
25454 * gdb.c++/misc.exp: Add tests for bool types.
25455 * gdb.c++/overload.exp: Add xfails.
25456 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
25457 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
25458 add some more template parameter tests (only for HP currently).
25459 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
25460 * gdb.c++/virtfunc.cc: Add return type and value for main.
25461 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
25462 match alternatives.
d63a86f8 25463
a0b3c4fd
JM
254641999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25465
25466 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
25467
254681999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
25469
25470 * gdb.base/signals.exp: Don't expect getting a backtrace from
25471 within a signal handler to fail on Linux.
25472
254731999-07-29 Stan Shebs <shebs@andros.cygnus.com>
25474
25475 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25476 * lib/gdb.exp: Remove some gratuitious semicolons.
25477 (delete_breakpoints): Increase timeout.
25478 (gdb_expect): Add -notransfer option.
25479 (gdb_test): Use -notransfer option.
25480 (get_compiler_info): Add f77 case.
25481 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 25482 case.
a0b3c4fd
JM
25483 (gdb_preprocess): Call get_compiler.
25484
25485 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
25486 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
25487 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
25488 gdb.base/long_long.exp, gdb.base/printcmds.exp,
25489 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
25490 third arg to gdb_test.
a0b3c4fd
JM
25491 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
25492 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 25493 HP-UX xfails, add others.
a0b3c4fd
JM
25494 * gdb.base/completion.exp: Reflect name change of self-test.
25495 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
25496 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
25497 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
25498 HP failure number.
a0b3c4fd
JM
25499 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
25500 useless HP-UX 10.30 references.
25501 * gdb.base/maint.exp: Loosen matches.
25502 * gdb.base/pointers.c (main): Declare more_code.
25503 * gdb.base/pointers.exp: Match on output of a `next'.
25504 * gdb.base/structs.c: Add prototypes.
25505 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
25506 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
25507
255081999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25509
25510 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 25511 command.
a0b3c4fd
JM
25512
255131999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25514
25515 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
25516 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
25517
25518 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
25519 debug info. Deal with lack of signal hanlder info in stack.
25520
a9c64011 25521 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
25522 * gdb.base/annota1.exp: If printf has debug info, deal with it.
25523
5a2468f5
JM
255241999-07-19 Stan Shebs <shebs@andros.cygnus.com>
25525
25526 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 25527 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 25528
adf40b2e
JM
25529Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
25530
25531 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 25532 a1-selftest.exp.
adf40b2e
JM
25533 * gdb.base/configure: Re-generate.
25534
255351999-07-12 Stan Shebs <shebs@andros.cygnus.com>
25536
25537 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
25538 in trying to run first and name is too long.
25539
25540 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
25541 pointers2.c and pointers2.exp, respectively.
25542 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
25543 doschk happier.
25544
43e526b9
JM
255451999-07-08 Stan Shebs <shebs@andros.cygnus.com>
25546
25547 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
25548 callfuncs2.c and callfuncs2.exp.
25549
25550 * gdb.base/list.exp: Remove mistaken xfails.
25551 * gdb.base/list0.h: Add optional prototypes.
25552
9846de1b
JM
25553Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
25554
a9c64011 25555 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 25556 calling malloc.
a9c64011
AS
25557 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
25558 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 25559 use.
9846de1b
JM
25560
255611999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25562
25563 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
25564 * gdb.base/annota2.cc, annota2.exp: Move from here.
25565 * gdb.c++/annota2.cc, annota2.exp: To here.
25566 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
25567
43ff13b4
JM
25568Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
25569
25570 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 25571 a consistent format.
43ff13b4 25572
085dd6e6
JM
255731999-06-25 Stan Shebs <shebs@andros.cygnus.com>
25574
25575 From Jimmy Guo <guo@cup.hp.com> and others at HP:
25576 * lib/gdb.exp (get_compiler_info): Add detection for assorted
25577 HP compilers, also set the globals $true and $false.
25578
25579 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
25580 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
25581 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
25582 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
25583 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
25584 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
25585 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
25586 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
25587 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
25588 whatis.c} Add C++ compatible function definitions and return
25589 types, add includes for library functions.
085dd6e6
JM
25590 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
25591 * gdb.base/step-test.c (myglob): Rename from glob.
25592 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
25593 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
25594 files, move here from gdb.hp.
085dd6e6 25595 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
25596 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
25597 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
25598 Adjust line numbers in regexps.
085dd6e6
JM
25599
25600 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
25601 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
25602 instead of 0/1.
25603
25604 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
25605 foll-vfork.exp: New files, move here from gdb.hp.
25606 * gdb.base/page.exp: New file, test of pagination command.
25607
25608 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
25609 recursion test.
25610 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
25611
25612 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 25613 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
25614
25615 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 25616 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 25617 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 25618 watchpoint test.
085dd6e6
JM
25619 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
25620 them work.
25621 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
25622 expressions properly.
25623 * gdb.base/corefile.exp: Loosen the match slightly.
25624 * gdb.base/default.exp: Allow "Error accessing memory" message
25625 also.
25626 * gdb.base/display.exp: Skip over x/0 j if PA64.
25627 * gdb.base/funcargs.exp: Add xfails for HP-UX.
25628 * gdb.base/interrupt.exp: Ditto.
25629 * gdb.base/langs.exp: Add symbolic matches governed by compiler
25630 in use.
25631 * gdb.base/list.exp: Add xfails for HP-UX.
25632 * gdb.base/long_long.exp: Refine some of the numeric matches.
25633 * gdb.base/mips_pro.exp: Xfail on HP-UX.
25634 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
25635 * gdb.base/nodebug.exp: Succeed on more varieties of output.
25636 * gdb.base/opaque.exp: Remove some HP-UX xfails.
25637 * gdb.base/ptype.exp: Succeed on more varieties of output.
25638 * gdb.base/scope.exp: Add xfails for HP-UX.
25639 * gdb.base/sect-cmd.exp: Add more cases.
25640 * gdb.base/setvar.exp: Add xfails for HP-UX.
25641 * gdb.base/shlib-call.exp: Loosen some matches slightly.
25642 * gdb.base/signals.exp: Match on void symbolically.
25643 * gdb.base/step-test.exp: Add case for PA64.
25644 * gdb.base/term.exp: Add exit and restart.
25645 * gdb.base/twice.exp: Clean up after self.
25646 * gdb.base/varargs.exp: Disable overload resolution explicitly.
25647 * gdb.base/whatis.exp: Allow more ways to pass tests.
25648
25649 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 25650 no longer useful.
085dd6e6
JM
25651
25652Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
25653
25654 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 25655 list of patterns.
085dd6e6 25656 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
25657 print_double_array(double_array)", "continuing to breakpoint
25658 1018", "print print_double_array(array_d)" and "continuing to
25659 1034" tests.
d63a86f8 25660
085dd6e6
JM
256611999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
25662
a9c64011 25663 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
25664
256651999-06-24 Stan Shebs <shebs@andros.cygnus.com>
25666
25667 * config/mt-*: Remove, these haven't been used since 1996.
25668
256691999-06-22 Stan Shebs <shebs@andros.cygnus.com>
25670
25671 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 25672 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
25673 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
25674
9e0b60a8
JM
256751999-06-18 Stan Shebs <shebs@andros.cygnus.com>
25676
25677 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
25678 simpler match case for the ptype of the big class.
25679
256801999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25681
25682 * gdb.exp: Fix test for gdb_prompt existence.
25683
256841999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25685
25686 * gdb.exp (gdb_test): Add fail after calls to perror.
25687
256881999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25689
25690 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
25691
256921999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
25693
25694 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
25695
0f71a2f6
JM
25696Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
25697
25698 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 25699 malloc() is linked in.
0f71a2f6
JM
25700
257011999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
25702
25703 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
25704 step at end.
25705
25706 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
25707
257081999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
25709
25710 * gdb.java/jv-print.exp: New file. (Our first Java test!)
25711
cce74817
JM
25712Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
25713
25714 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
25715 * gdb.base/mips_pro.exp: Likewise.
25716
257171999-06-02 Keith Seitz <keiths@cygnus.com>
25718
25719 * gdb.c++/templates.cc: Change all "new" operators to throw
25720 an exception.
25721 * gdb.c++/cplusfuncs.cc: Likewise.
25722
25723 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
25724
25725Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
25726
25727 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
25728 * gdb.base/ending-run.exp: When stepping out of main, accept a
25729 step into an arbitrary assembler file.
cce74817 25730
392a587b
JM
257311999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25732
d63a86f8 25733 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 25734 "breakpoint-invalid" to be printed.
6fdff2c5
PA
25735 * gdb.base/annota2.exp: Revise line number for main
25736 breakpoint. Allow any number of "frames-invalid" and
25737 "breakpoint-invalid" to be printed.
392a587b
JM
25738 * gdb.base/annota2.cc: Initialize a.x to 0.
25739
9e086581
JM
257401999-05-17 Keith Seitz <keiths@cygnus.com>
25741
6fdff2c5
PA
25742 * gdb.base/call-ar-st.exp: Skip
25743 "print print_double_array (double_array)" when "skip_float_tests" set.
25744 Ditto for "print print_double_array(array_d)",
25745 "print print_small_structs", "print print_ten_doubles", and
25746 "step into print_long_arg_list".
25747 Don't assume we can step into "print_long_arg_list": we could step
25748 into memcpy.
25749 * gdb.base/call-rt-st.exp: Don't run float-related tests when
25750 "skip_float_tests" is set: "print print_one_double(*d1)"
25751 and "print print_two_floats(*f3)".
9e086581
JM
25752 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
25753 "skip_float_tests" is set.
6fdff2c5
PA
25754 * gdb.base/varargs.exp: Skip
25755 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
25756 "skip_float_tests" set.
d63a86f8 25757
cd0fc7c3
SS
257581999-05-06 Keith Seitz <keiths@cygnus.com>
25759
25760 * gdb.base/annota2.cc: Include stdio.h.
25761
25762Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
25763
25764 * gdb.base/crossload.exp: Remove, this has been disabled ever
25765 since BFD stopped including all targets, and cross-GDB gets
25766 plenty of testing anyway.
25767 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
25768 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
25769 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
25770 * gdb.base/README: Remove, was doc for this.
25771 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 25772 needed.
cd0fc7c3 25773
b83266a0
SS
257741999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25775
25776 * gdb.base/call-ar-st.exp: Fix one regular expression in test
25777 output.
25778
25779 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
25780 * gdb.base/annota2.exp: New file. More annotation tests.
25781 * gdb.base/annota1.c: New file. Source file for annota1.exp.
25782 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
25783
257841999-04-23 Angela Marie Thomas <angela@cygnus.com>
25785
25786 * config/cfdbug.exp: New file.
25787
7a292a7a
SS
257881999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
25789
25790 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
25791 Marcus Daniel's and Dale Hawkins's demangler crashes.
25792
25793 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
25794 test_lucid_style_demangling, test_arm_style_demangling,
25795 test_hp_style_demangling): Try Tom Tromey's core-dumping
25796 identifier under each demangling style.
7a292a7a
SS
25797
257981999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
25799
25800 * gdb.c++/demangle.exp: Include the current demangling style
25801 in all test names.
25802 (current_demangling_style): New global variable.
25803 (set_demangling_style, test_demangling_core, test_demangling,
25804 test_demangling_exact): New functions.
25805 (test_gnu_style_demangling, test_lucid_style_demangling,
25806 test_arm_style_demangling, test_hp_style_demangling): Use those,
25807 instead of calling gdb_test and gdb_test_exact directly.
25808 (catch_demangling_errors): New function, which reports errors
25809 signalled by the demangling test functions in an orderly way.
25810 (do_tests): Use catch_demangling_errors.
25811
258121999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
25813
25814 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 25815 grouping in expressions, not {}.
7a292a7a
SS
25816
25817 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 25818 initialized yet.
7a292a7a
SS
25819
258201999-04-01 Stan Shebs <shebs@andros.cygnus.com>
25821
25822 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
25823 are listed.
25824
258251999-03-26 Stan Shebs <shebs@andros.cygnus.com>
25826
25827 * gdb.stabs/weird.exp: Test for CC being defined before
25828 looking at its value.
25829
258301999-03-25 Stan Shebs <shebs@andros.cygnus.com>
25831
25832 * gdb.base/call-ar-st.exp: Remove stray '#'.
25833 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
25834 "short int" and "long int".
25835 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 25836 change, to mollify finicky HP compiler.
7a292a7a
SS
25837 * gdb.hp/reg-test.exp (testfile): Fix file name.
25838 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 25839
7a292a7a
SS
25840 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25841 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25842 alternate form of enum ptype.
25843
c906108c
SS
258441999-03-23 Stan Shebs <shebs@andros.cygnus.com>
25845
7a292a7a
SS
25846 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25847 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
25848 passing skip_hp_tests, so as not to waste time on guaranteed
25849 failure.
7a292a7a 25850
c906108c
SS
25851 * gdb.c++/overload.cc: Pass string instead of char addr, always
25852 init ccpfoo.
25853 * gdb.c++/templates.cc: Fix syntax error.
25854
7a292a7a
SS
25855Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25856
25857 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 25858 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
25859 command.
25860
258611999-03-18 James Ingham <jingham@cygnus.com>
25862
25863 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25864
25865 * gdb.c++/method.exp: It was testing an uninitialized int on the
25866 stack and assuming it was positive.
25867
25868 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25869
25870 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 25871 keep it from killing the rest of the tests.
7a292a7a
SS
25872 Use gdb_continue_to_end.
25873
25874 * gdb.base/sigall.exp: use gdb_continue_to_end.
25875
25876 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25877
25878 * gdb.base/display.exp: use runto_main, not run.
25879
d63a86f8
RM
25880 * gdb.base/default.exp: Check for the current error message in the
25881 r abbreviation test.
7a292a7a
SS
25882 Add strongarm to the targets that know info float.
25883
d63a86f8 25884 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
25885 run which doesn't work with monitors.
25886
6fdff2c5
PA
25887 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25888 1034 test.
7a292a7a
SS
25889
25890 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25891
6fdff2c5
PA
25892 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25893 end of a program. Traps the case (in Cygmon) when the program
25894 never really exits. Same as Mark's continue_to_exit, but I had
25895 put it in a lot more places, so I used my name. Sorry Mark...
7a292a7a
SS
25896
25897 * config/monitor.exp (gdb_target_monitor): added another
25898 target_info parameter: remotebinarydownload. This will set the
25899 remotebinarydownload flag if this is causing some boards trouble.
25900
259011999-03-18 Mark Salter <msalter@cygnus.com>
25902
25903 * lib/gdb.exp (continue_to_exit): New function.
25904
25905 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25906 * gdb.base/ending-run.exp: Ditto.
25907 * gdb.base/step-test.exp: Ditto.
25908
259091999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25910
25911 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25912 (suggested by Art Haas <ahaas@neosoft.com>).
25913
259141999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25915
889bf7c5 25916 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
25917
25918Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25919
25920 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 25921 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
25922
259231999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25924
25925 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25926 a call to strlen; sometimes we do have sources.
25927
259281999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
25929
25930 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 25931 character, so GDB won't print garbage after its end.
d63a86f8 25932
c906108c
SS
25933 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25934 breakpoint there instead. Sometimes GCC emits memcpy to handle
25935 the large structures being passed by value, so we step into that
25936 instead of sum_array_print, which obscures what we're really testing.
25937 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
25938 the bizarre steps into memcpy, so do that here. Add check for
25939 stepping into function calls that pass large structures by value.
25940 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
25941 Remove all references to specific line numbers.
25942 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25943 New type and function.
25944 (main): Call large_struct_by_value, passing it a large struct by value.
25945 * lib/gdb.exp (gdb_get_line_number): New function.
25946
25947 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25948 more portable.
25949
7a292a7a
SS
259501999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25951
c906108c
SS
25952 * lib/gdb.exp: Doc fixes.
25953
7a292a7a
SS
259541999-03-05 Nick Clifton <nickc@cygnus.com>
25955
d63a86f8 25956 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
25957
259581999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25959
c906108c 25960 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
25961 commands. They're not germane to this test, and they don't work
25962 that way on remote targets.
c906108c 25963
3fc11d3e
JM
259641999-03-01 James Ingham <jingham@cygnus.com>
25965
25966 * Changelog entries merged over from gdb development branch.
25967
3fc11d3e
JM
25968 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25969
25970 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25971 for outputting results of test run.
25972
2d4a1622 25973 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
25974
25975 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 25976
7a292a7a
SS
259771999-02-25 Felix Lee <flee@cygnus.com>
25978
25979 * lib/gdb.exp (debug_format): initialize
25980
c906108c
SS
259811999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25982
25983 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25984 * gdb.base/call-rt-st.c: Ditto.
25985
c906108c
SS
259861999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25987
25988 * gdb.threads/pthreads.exp (horiz): New variable.
25989 (test_startup): Fix regexps that capture thread numbers.
25990
259911999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25992
25993 * gdb.base/smoke.exp: Disambiguate two test case names (both
25994 called ``print'').
25995
25996Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25997
25998 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 25999 compilation.
c906108c
SS
26000
260011999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26002
26003 * gdb.base/miscexprs.exp: Change patterns to match GDB's
26004 actual output formatting.
26005 * gdb.base/smoke.exp: GDB removes leading 0's.
26006 * gdb.base/volatile.exp: Don't check type of remuneration;
26007 that variable is no longer defined in constvars.c.
26008 * gdb.base/step-test.c (main): Exit with explicit exit code.
26009 * gdb.base/step-test.exp: Remove two nexti checks--they are
26010 not portable.
26011
260121999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
26013
26014 * gdb.base/help.exp ("help delete display"): Fix test to match
26015 gdb's output.
26016
26017 * gdb.base/long_long.c (known_types): Initialize values to zero.
26018 * gdb.base/long_long.exp: Step one more line
26019 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
26020 leading zeros. Explicitly ask for hex formatting. Use
26021 unique test case names.
c906108c
SS
26022
26023Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26024
d63a86f8 26025 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
26026
26027 * gdb.c++/method.exp: Add missing close brace.
26028
260291999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
26030
26031 * gdb.base/maint.exp: Use 'set height 0' to disable page
26032 prompting, not 'set height 400'.
26033
26034 Fix a bunch of timeouts.
26035 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
26036 four separate tests, so expect doesn't take forever to match a ton
26037 of text against a regexp with lots of .* forms.
26038 ("maint print psymbols", "maint print symbols"): Make some of
26039 these greps more selective, so that expect doesn't try to wade
26040 through huge piles of output and time out.
26041
26042 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
26043
26044 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
26045 tests: one which doesn't expect shlib events to be reported, and
26046 another which does, but is XFAIL for all platforms other than
26047 HP/UX.
c906108c
SS
26048
26049 * gdb.base/break.exp: Teach the test suite that the `catch
26050 fork', `catch vfork', and `catch exec' commands produce error
26051 messages on platforms that don't provide these features.
26052
26053Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
26054
26055 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
26056 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
26057 (shortening names from solib_threshold.exp etc), won't run on
26058 anything but HP-UX for the foreseeable future.
c906108c 26059 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 26060 reflect move.
c906108c
SS
26061
26062Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
26063
26064 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 26065 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
26066
26067Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
26068
26069 * gdb.base/shlib-call.exp: add test cases to verify that gdb
26070 successfully re-sets breakpoints in shared libraries.
26071 * gdb.base/shmain.c (main): return 0, don't fall off the end.
26072
26073Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
26074
d63a86f8
RM
26075 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
26076 and compiled w/o GCC.
c906108c
SS
26077
26078 * gdb.hp/watch-cmd.exp: ditto.
26079
26080 * gdb.hp/watch-hp.exp: ditto.
26081
26082 * gdb.hp/xdb1.exp: ditto.
26083
26084 * gdb.hp/xdb2.exp: ditto.
26085
26086 * gdb.hp/dbx.exp: ditto.
26087
26088Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
26089
26090 * constvars.c: Remove C++-isms.
26091 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 26092 with GCC.
c906108c
SS
26093
26094Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
26095
26096 The following changes are part of the HP merge.
26097
26098 * gdb.base/break.exp: new tests to verify that catchpoints for
26099 fork, vfork, and exec don't trigger inappropriately.
26100
26101 * gdb.base/opaque.exp: compile one file at a time, then link.
26102
26103 * gdb.base/signals.exp: be more restrictive about which hppa
26104 systems receive a setup_xfail. new tests.
26105
26106 * gdb.base/solib_threshold.build: new file.
26107 * gdb.base/solib_threshold.exp: new file.
26108 * gdb.base/solib_threshold.link_opts: new file.
26109 * gdb.base/solib_threshold.mk: new file.
26110 * gdb.base/gen_solib_threshold.c: new file.
26111
26112 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
26113 tests. New tests for enums inside classes.
26114
26115 * gdb.c++/compiler.cc: indicate support of template debugging.
26116
26117 * gdb.c++/demangle.exp: run hp style demangling tests.
26118
26119 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
26120 tests.
26121
26122 * gdb.c++/misc.cc: changes to support new tests.
26123
26124 * gdb.c++/templates.cc: changes to support HP's compiler; changes
26125 to support new tests.
26126
26127 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
26128 gcc, then skip these tests.
26129
26130Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
26131
26132 The following files are part of the HP merge; some had longer
26133 names at HP, but have been renamed to be no more than 14
26134 characters in length.
26135
26136 * gdb.hp/ambiguous.cc: new file.
26137 * gdb.hp/ambiguous.exp: new file.
26138 * gdb.hp/attach.exp: new file.
26139 * gdb.hp/attach2.exp: new file.
26140 * gdb.hp/classes-hp.exp: new file.
26141 * gdb.hp/ctti.exp: new file.
26142 * gdb.hp/ctti-add.cc: new file.
26143 * gdb.hp/ctti-add1.cc: new file.
26144 * gdb.hp/ctti-add2.cc: new file.
26145 * gdb.hp/ctti-add3.cc: new file.
26146 * gdb.hp/dbx.exp: new file.
26147 * gdb.hp/exception.cc: new file.
26148 * gdb.hp/exception.exp: new file.
26149 * gdb.hp/foll-exec.c: new file.
26150 * gdb.hp/foll-exec.exp: new file.
26151 * gdb.hp/foll-fork.c: new file.
26152 * gdb.hp/foll-fork.exp: new file.
26153 * gdb.hp/foll-vfork.c: new file.
26154 * gdb.hp/foll-vfork.exp: new file.
26155 * gdb.hp/inherit-hp.exp: new file.
26156 * gdb.hp/more-steps.exp: new file.
26157 * gdb.hp/namespace.cc: new file.
26158 * gdb.hp/namespace.exp: new file.
26159 * gdb.hp/optimize.exp: new file.
26160 * gdb.hp/pxdb.c: new file.
26161 * gdb.hp/pxdb.exp: new file.
26162 * gdb.hp/quicksort.exp: new file.
26163 * gdb.hp/reg-test.exp: new file.
26164 * gdb.hp/reg-test.s: new file.
26165 * gdb.hp/sized-enum.c: new file.
26166 * gdb.hp/sized-enum.exp: new file.
26167 * gdb.hp/start-stop.exp: new file.
26168 * gdb.hp/templ-hp.cc: new file.
26169 * gdb.hp/templ-hp.exp: new file.
26170 * gdb.hp/thr-lib.c: new file.
26171 * gdb.hp/thr-lib.exp: new file.
26172 * gdb.hp/thr-lib.h: new file.
26173 * gdb.hp/thr-liblib.c: new file.
26174 * gdb.hp/virtfun-hp.c: new file.
26175 * gdb.hp/virtfun-hp.exp: new file.
26176 * gdb.hp/watch-cmd.exp: new file.
26177 * gdb.hp/watch-hp.exp: new file.
26178 * gdb.hp/xdb1.exp: new file.
26179 * gdb.hp/xdb2.exp: new file.
26180 * gdb.hp/xdb3.exp: new file.
26181
26182Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
26183
26184 The following files are part of the HP merge; some had longer
26185 names at HP, but have been renamed to be no more than 14
26186 characters in length.
26187
26188 * gdb.base/ss.h: new file.
26189 * gdb.base/call-ar-st.c: new file.
26190 * gdb.base/call-ar-st.exp: new file.
26191 * gdb.base/call-rt-st.c: new file.
26192 * gdb.base/call-rt-st-exp: new file.
26193 * gdb.base/call-strs.exp: new file.
26194 * gdb.base/ena-dis-br.exp: new file.
26195 * gdb.base/environ.exp: new file.
26196 * gdb.base/long_long.exp: new file.
26197 * gdb.base/sect-cmd.exp: new file.
26198 * gdb.base/shlib-cl2.exp: new file.
26199 * gdb.base/smoke.exp: new file.
26200 * gdb.base/so-impl-ld.c: new file.
26201 * gdb.base/so-impl-ld.exp: new file.
26202 * gdb.base/so-indr-cl.c: new file.
26203 * gdb.base/so-indr-cl.exp: new file.
26204 * gdb.base/varargs.exp: new file.
26205 * gdb.base/volatile.exp: new file.
26206 * gdb.base/whatis-exp.exp: new file.
7a292a7a 26207 * gdb.base/display.exp: new file.
c906108c
SS
26208 * gdb.c++/derivation.exp: new file.
26209 * gdb.c++/local.exp: new file.
26210 * gdb.c++/member-ptr.exp: new file.
26211 * gdb.c++/overload.exp: new file.
26212 * gdb.c++/ovldbreak.exp: new file.
26213 * gdb.c++/ref-types.exp: new file.
26214 * gdb.c++/ref-types2.exp: new file.
26215 * gdb.c++/userdef.exp: new file.
d63a86f8 26216
c906108c
SS
26217Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
26218
26219 * gdb.base/default.exp: Reflect wording change in remote.c.
26220
dc96c6c7 26221Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26222
26223 * gdb.base/help.exp: Update to reflect current text.
26224
26225Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
26226
26227 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
26228 they're stack variables and contain garbage.
26229 * gdb.c++/anon-union.exp: new file.
26230
26231 The following changes were made by David Taylor
889bf7c5
PA
26232 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26233 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26234 in changes by HP.
c906108c
SS
26235
26236 * gdb.base/bitops.exp: new file.
26237 * gdb.base/default.exp: change expected messages for catch and
26238 info catch tests to reflect HP merge changes.
26239 * gdb.base/enable-disable-break.exp
26240 * gdb.base/ending-run.c: new file.
26241 * gdb.base/long_long.c: new file.
26242 * gdb.base/maint.exp: new file.
26243 * gdb.base/pointers2.exp: new file.
26244 * gdb.base/shlib-call2.exp: new file.
26245 * gdb.base/solib.exp: new file.
26246 * gdb.base/step-test.c: new file.
26247 * gdb.c++/anon-union.cc: new file.
26248 * gdb.c++/local.cc: new file.
26249 * gdb.c++/member-pointer.cc: new file.
26250 * gdb.c++/method.cc: new file.
26251 * gdb.c++/ref-types.cc: new file.
26252 * gdb.c++/ref-types2.cc: new file.
26253 * gdb.c++/userdef.cc: new file.
d63a86f8 26254
c906108c
SS
26255 * gdb.base/scope.exp: compile one file at a time, then link.
26256 * gdb.base/langs.exp: ditto.
26257 * gdb.base/list.exp: ditto.
d63a86f8 26258
c906108c
SS
26259Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
26260
26261 The following changes were made by David Taylor
889bf7c5
PA
26262 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
26263 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
26264 in changes by HP.
d63a86f8 26265
c906108c
SS
26266 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
26267 skip tests. When compiling pass c++ flag to gdb_compile.
26268 * gdb.c++/
d63a86f8 26269
c906108c
SS
26270 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
26271 test for on hppa*-*-hpux*; use args to see if c++ was specified.
26272 (skip_hp_tests): new function.
26273 (gdb_preprocess): new function.
26274
26275 * configure.in (hpdir): decide whether to configure gdb.hp.
26276 * configure: regenerated.
26277
26278 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
26279 to delete on clean.
26280 (EXECUTABLES): update to reflect new additions.
26281 * gdb.base/commands.exp: update message expected.
26282 * gdb.base/default.exp: add copyright notice.
26283 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
26284 * gdb.base/help.exp: update messages to reflect current text.
26285 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
26286 targets for recurse tests.
26287 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
26288 skip this file.
26289
26290 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
26291 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
26292 compilation.
26293 * gdb.c++/misc.exp: ditto.
26294 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
26295 run the tests. tell gdb_compile that it's a c++ compilation.
26296
26297 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 26298
c906108c
SS
26299 * gdb.base/all-bin.exp: new file.
26300 * gdb.base/arithmet.exp: new file.
26301 * gdb.base/assign.exp: new file.
26302 * gdb.base/completion.exp: new file.
26303 * gdb.base/cond-expr.exp: new file.
26304 * gdb.base/condbreak.exp: new file.
26305 * gdb.base/define.exp: new file.
26306 * gdb.base/dollar.exp: new file.
26307 * gdb.base/environment.exp: new file.
26308 * gdb.base/eval-skip.exp: new file.
26309 * gdb.base/jump.exp: new file.
26310 * gdb.base/logical.exp: new file.
26311 * gdb.base/pointers.exp: new file.
26312 * gdb.base/relational.exp: new file.
26313 * gdb.base/section_command.exp: new file.
26314 * gdb.base/whatis-expr.exp: new file.
26315
26316 * gdb.base/all-types.c: new file.
26317 * gdb.base/call-array-struct.c: new file.
26318 * gdb.base/call-return-struct.c: new file.
26319 * gdb.base/call-strings.c: new file.
26320 * gdb.base/callfuncs2.c: new file.
26321 * gdb.base/condbreak.c: new file.
26322 * gdb.base/constvars.c: new file.
26323 * gdb.base/display.c: new file.
26324 * gdb.base/int-type.c: new file.
26325 * gdb.base/jump.c: new file.
26326 * gdb.base/miscexprs.c: new file.
26327 * gdb.base/pointers.c: new file.
26328 * gdb.base/pointers2.c: new file.
26329 * gdb.base/shmain.c: new file.
26330 * gdb.base/shr1.c: new file.
26331 * gdb.base/shr2.c: new file.
26332 * gdb.base/solib.c: new file.
26333 * gdb.base/solib1.c: new file.
26334 * gdb.base/solib2.c: new file.
26335 * gdb.base/varargs.c: new file.
26336 * gdb.c++/derivation.cc: new file.
26337 * gdb.c++/overload.cc: new file.
26338 * gdb.c++/ovldbreak.cc: new file.
26339 * gdb.hp/attach.c: new file.
26340 * gdb.hp/attach2.c: new file.
26341 * gdb.hp/average.c: new file.
26342 * gdb.hp/compiler.c: new file.
26343 * gdb.hp/compiler.cc: new file.
26344 * gdb.hp/execd-program.c: new file.
26345 * gdb.hp/follow-exec.c: new file.
26346 * gdb.hp/follow-fork.c: new file.
26347 * gdb.hp/follow-vfork-and-exec.c: new file.
26348 * gdb.hp/misc-hp.cc: new file.
26349 * gdb.hp/more-steps.c: new file.
26350 * gdb.hp/optimize.c: new file.
26351 * gdb.hp/quicksort.c: new file.
26352 * gdb.hp/run-hp.c: new file.
26353 * gdb.hp/start-stop.c: new file.
26354 * gdb.hp/sum.c: new file.
26355 * gdb.hp/templates-hp.cc: new file.
26356 * gdb.hp/thread-local-in-lib.c: new file.
26357 * gdb.hp/thread-local-in-lib.h: new file.
26358 * gdb.hp/thread-local-in-lib.lib.c: new file.
26359 * gdb.hp/vforked-program.c: new file.
26360 * gdb.hp/virtfunc-hp.cc: new file.
26361 * gdb.hp/watchpoint-hp.c: new file.
26362 * gdb.hp/xdb.c: new file.
26363 * gdb.hp/xdb0.c: new file.
26364 * gdb.hp/xdb0.h: new file.
26365 * gdb.hp/xdb1.c: new file.
26366
26367Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
26368
26369 The following change was made by Edith Epstein
889bf7c5
PA
26370 <eepstein@cygnus.com> as part of a project to merge in changes
26371 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
26372
26373 * gdb.c++/demangle.exp: changed the expected output for some
26374 ARM-style mangling -- removed second reference to datatype.
889bf7c5 26375 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 26376 T1<char>::~T1<char>(void)
c906108c 26377 becomes,
a9c64011
AS
26378 maint demangle __dt__11T1__pt__2_cFv
26379 T1<char>::~T1(void)
c906108c 26380
889bf7c5 26381 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 26382
c906108c
SS
26383Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26384
26385 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
26386 * gdb.trace/backtrace.exp: Likewise.
26387 * gdb.trace/circ.exp: Likewise.
26388 * gdb.trace/collection.exp: Likewise.
26389 * gdb.trace/deltrace.exp: Likewise.
26390 * gdb.trace/infotrace.exp: Likewise.
26391 * gdb.trace/limits.exp: Likewise.
26392 * gdb.trace/packetlen.exp: Likewise.
26393 * gdb.trace/passc-dyn.exp: Likewise.
26394 * gdb.trace/passcount.exp: Likewise.
26395 * gdb.trace/report.exp: Likewise.
26396 * gdb.trace/save-trace.exp: Likewise.
26397 * gdb.trace/tfind.exp: Likewise.
26398 * gdb.trace/tracecmd.exp: Likewise.
26399 * gdb.trace/while-dyn.exp: Likewise.
26400 * gdb.trace/while-stepping.exp: Likewise.
26401
264021998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
26403
26404 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
26405
26406Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
26407
26408 From Brendan Kehoe:
26409 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
26410 int return types.
26411
26412Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
26413
26414 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 26415 remote dos host testing right.
c906108c
SS
26416
26417Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
26418
26419 * gdb.base/corefile.exp: remove some xfails.
26420
26421Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
26422
26423 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 26424 have different timestamps.
c906108c
SS
26425
26426Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
26427
26428 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 26429 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
26430
26431Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
26432
26433 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 26434 delta.
c906108c
SS
26435
26436Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
26437
26438 * gdb.base/default.exp: Add brace missing from previous delta.
26439
26440Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
26441
26442 * gdb.base/default.exp: Support test for info float for all
26443 varieties of arm toolchain.
26444
dc96c6c7 26445Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26446
26447 * gdb.trace/*.exp: remove "remote_download" command.
26448
dc96c6c7 26449Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26450
26451 * gdb.trace/*.exp: remove -gdwarf from compile.
26452
26453Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
26454
26455 * gdb.trace/configure.in(AC_INIT): typo
26456 * gdb.trace/configure: regenerated
26457
dc96c6c7 26458Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26459
26460 * config/m68k-emc.exp: New file.
26461 * lib/<emc-support.exp trace-support.exp}: New files.
26462 * configure.in: add new test directory gdb.trace.
26463 * gdb.trace/{configure configure.in Makefile.in}: New files.
26464 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
26465 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
26466 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
26467 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
26468 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
26469 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
26470 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 26471
dc96c6c7 26472Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26473
26474 * gdb.c++/classes.exp: Change all regular expressions to match
26475 arbitrary combinations of newline/carriage-return, so that they
26476 will work equally well on Unix and Windows.
26477 * gdb.c++/inherit.exp: ditto.
26478 * gdb.c++/virtfunc.exp: ditto.
26479
264801998-08-11 Dawn Perchik <dawn@cygnus.com>
26481
26482 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
26483
c2d11a7d
JM
26484Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
26485
26486 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
26487 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
26488 to use a0-a3/d0-d3 as needed.
26489
26490Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
26491
26492 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
26493 * gdb.disasm/am33.exp: Corresponding changes.
26494
c906108c
SS
264951998-07-11 Felix Lee <flee@cygnus.com>
26496
26497 * gdb.base/callfuncs.exp: add cmp10 test.
26498 * gdb.base/callfuncs.c (cmp10): new function.
26499
26500Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
26501
d63a86f8 26502 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
26503 into two parts to get around a synchronization problem in expect.
26504
3fc11d3e
JM
26505Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
26506
26507 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
26508
26509 * configure.in: Add options for gdbtk testsuite.
26510
26511 * configure: Regenerate.
26512
26513 * gdb.gdbtk: New directory to hold gdbtk tests.
26514
c906108c
SS
26515Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26516
26517 * gdb.fortran/types.exp: Escape brackets in expect patterns
26518 for test_float_literal_types_accepted tests.
26519 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
26520 before run test.
26521
c2d11a7d
JM
26522Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
26523
26524 * am33.exp: Just compile, do not link the testcase.
26525 * am33.s: Add ".am33" pseudoop to force am33 mode.
26526
c906108c
SS
265271998-06-25 Felix Lee <flee@cygnus.com>
26528
26529 * gdb.base/setshow.exp: make sure $pc is sane.
26530
26531 * gdb.stabs/weird.exp: split expect patterns properly.
26532
c2d11a7d
JM
26533Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
26534
26535 * gdb.disasm/am33.s: New disassembler testfile for the am33.
26536 * gdb.disasm/am33.exp: Run it.
26537
dc96c6c7 26538Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26539
26540 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
26541 match processing (and eliminate spurious timeouts when running).
26542
dc96c6c7 26543Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26544
26545 * gdb.base/signals.exp (test_handle_all_print): put back Mach
26546 exception test, but conditionalize it on target [mach | gnu].
26547
dc96c6c7 26548Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
26549
26550 * gdb.base/overlays.exp: fixup compile line for linker script.
26551
26552Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
26553
26554 * gdb.fortran/types.exp: don't guess at float size.
26555
26556Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
26557
26558 * gdb.base/exprs.exp: delete test that depends on int size.
26559
26560Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
26561
26562 * config/sim.exp: Removed checks for target triplets.
26563 (gdb_target_sim): Use gdb,target_sim_options.
26564
26565Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
26566
26567 * gdb.base/reread.exp: New file.
26568 * gdb.base/reread1.c: New file.
26569 * gdb.base/reread2.c: New file.
26570
26571Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
26572
26573 * config/sim.exp: Use 'target sim -sparclite' when running
26574 SPARClite programs.
26575
26576Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
26577
26578 * gdb.base/structs2.exp: New file.
26579 * gdb.base/structs2.c: New file.
26580
26581Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
26582
26583 * gdb.asm/common.inc: New file.
26584 * gdb.asm/d10v.inc: New file.
26585 * asm-source.exp: Pass -I's to gas to find .inc files.
26586 Update line numbers in expected output.
26587 * asmsrc1.s: Rewrite.
26588 * asmsrc2.s: Rewrite.
26589 * configure.in: Create arch.inc symlink.
26590 * configure: Regenerate.
26591 * Makefile.in (distclean): Delete arch.inc.
26592
26593Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
26594
26595 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
26596 (t_enum_value2): ditto
26597 (t_enum_value3): ditto
26598 (main): ditto
c906108c
SS
26599Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
26600
26601 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
26602 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
26603 change.
26604 Use gdb_test instead of send_gdb/gdb_expect sequences.
26605
26606Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
26607
26608 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
26609 not void.
26610
26611Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
26612
26613 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
26614 subroutines. Used to test gdbs ability to single step through PC
26615 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
26616
26617Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
26618
26619 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
26620 more rigorous EGCS C++ error checking.
26621
26622Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26623
a9c64011
AS
26624 * gdb.base/help.exp: Clean up `help set args' and `help show args'
26625 tests.
26626 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
26627 function when asleep.
26628 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
26629 for i*86 Linux and SVR4 signal handling problems.
26630 Remove linux xfail for `next to handler in signals_tests_1', fixed
26631 by recent infrun.c change.
26632 Limit backtrace to 10 frames to avoid timeout problems with infinite
26633 stack backtraces.
26634 Adjust expect pattern in `handle all print' test to match Apr 28 1997
26635 target.[ch] change.
c906108c
SS
26636
26637Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
26638
26639 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
26640 for a newline from gdb before continuing.
26641 (default_gdb_exit): Just look for y or n.
26642 (gdb_test): Detect abnormal exit from GDB running on DOS; if
26643 it does, fail the rests of the tests in the file.
26644
26645Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
26646
26647 * config/cygmon.exp: New file.
26648
26649Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
26650
26651 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 26652 main" test on remote targets.
c906108c
SS
26653
26654 * gdb.base/scope.exp: Fix problem with filelocal_bss before
26655 run test on remote targets.
26656
26657Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
26658
26659 * gdb.asm: New directory.
26660 * configure.in: Configure it.
26661 * configure: Regenerate.
26662 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
26663 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
26664
26665Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
26666
26667 * config/mn10300-eval.exp: New file to support MN10300 eval board.
26668
dc96c6c7 26669Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 26670
a9c64011
AS
26671 * gdb.base/overlays (several files): Merge the two overlay
26672 managers into one. Change variables (foox, barx, bazx, grbxx)
26673 back into ints but force them to load in their proper sections.
c906108c
SS
26674
26675Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
26676
26677 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 26678 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
26679 (D10VCopy): Handle memory regions crossing 16k boundaries.
26680 (D10VCopy): Transfer data in 32 bit chunks.
26681
26682Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
26683
26684 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 26685 correct.
c906108c
SS
26686
26687 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 26688 map. Include space for printf in .text segment.
c906108c
SS
26689
26690 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 26691 updated d10v memory VMA/LMA map.
c906108c 26692 (D10VCopy): Call D10VTranslate.
d63a86f8 26693
c906108c
SS
26694Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
26695
26696 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
26697
26698 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
26699 that it won't be put into the .sdata - small data -
26700 section. Update reference.
c906108c
SS
26701 * gdb.base/baz.c (bazx, baz): Ditto.
26702 * gdb.base/foo.c (foox, foo): Ditto.
26703 * gdb.base/grbx.c (grbxx, grbx): Ditto.
26704
26705 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 26706 to be arrays.
d63a86f8 26707
dc96c6c7 26708Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 26709
a9c64011
AS
26710 * gdb.base/overlays.exp: fix up and get working again.
26711 Add tests for backtraces from an overlay function.
d63a86f8 26712
c906108c
SS
26713Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
26714
26715 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
26716 "calling function with watchpoint enabled".
26717
26718Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
26719
26720 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 26721 gdb_suppress_tests for d10v-*-*.
c906108c
SS
26722 * lib/gdb.exp (gdb_suppress_tests): Disable this function
26723 pending review of whether it is useful or not.
26724
26725Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
26726
26727 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
26728
26729Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
26730
26731 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
26732 * config/dve.exp: New file to support Densan boards.
26733
26734Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
26735
26736 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 26737 reads and BSD.
c906108c
SS
26738
26739Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
26740
26741 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
26742 response.
26743
26744 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
26745
26746Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
26747
26748 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 26749 test.
c906108c
SS
26750
26751 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 26752 target_sizeof_long and target_bigendian_p.
c906108c 26753 (structs_by_value, structs_by_reference): Check values according
889bf7c5 26754 to targets word size and endianess.
d63a86f8 26755
c906108c
SS
26756Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
26757
26758 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 26759 output.
c906108c
SS
26760
26761Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
26762
26763 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 26764 Update test of set args help to match source change.
c906108c
SS
26765
26766Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
26767
26768 * gdb.base/default.exp: Expect help system output to be in
26769 alphabetical order.
26770 * gdb.base/help.exp: Ditto.
26771
26772Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
26773
26774 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
26775 "i*86-pc-linux-gnu*".
26776 * gdb.base/interrupt.exp: Ditto.
26777 * gdb.base/corefile.exp: Ditto.
26778
26779 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 26780 define vxworks when building the testcase.
c906108c
SS
26781
26782 * gdb.base/ptype.exp: Fix testnames to be unique.
26783 * gdb.base/radix.exp: Ditto.
26784 * gdb.base/term.exp: Ditto.
26785 * gdb.base/whatis.exp: Ditto.
26786 * gdb.c++/classes.exp: Ditto.
26787
26788Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
26789
26790 * gdb.base/callfuncs.exp: Fix indentation.
26791
26792 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
26793 suppress_flag has been set.
26794 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
26795 target feature.
26796
26797Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
26798
26799 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
26800 the testcase.
26801
26802 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 26803 set_debug_traps() and breakpoint().
c906108c
SS
26804 * gdb.c++/misc.cc (main): Ditto.
26805 * gdb.c++/templates.cc (main): Ditto.
26806 * gdb.c++/virtfunc.cc (main): Ditto.
26807
26808Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
26809
26810 * lib/gdb.exp(gdb_step_for_stub): New function.
26811 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
26812 exists, reload the executable and do a "continue" instead of
26813 doing a jump.
26814 (runto_main): Use gdb_step_for_stub.
d63a86f8 26815
c906108c 26816 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 26817 tests to have unique names.
c906108c
SS
26818 * gdb.base/callfuncs.exp: Ditto.
26819 * gdb.base/commands.exp: Ditto.
26820 * gdb.base/default.exp: Ditto.
26821 * gdb.base/help.exp: Ditto.
26822 * gdb.base/list.exp: Ditto.
26823 * gdb.base/opaque.exp: Ditto.
26824 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
26825 similar tests.
d63a86f8 26826
c906108c
SS
26827 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
26828 * gdb.c++/cplusfuncs.cc: Ditto.
26829 * gdb.c++/virtfunc.cc: Ditto.
26830
26831 * config/monitor.exp: Keep track of the last file we saw, rather
26832 than trying to get the info from gdb.
26833
26834 * gdb.fortran/types.exp: Move comment to previous line.
26835
26836Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
26837
26838 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 26839 target mode.
c906108c
SS
26840
26841Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
26842
26843 From Bob Manson:
26844 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 26845 string from GDB when it connects.
c906108c
SS
26846
26847 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26848
26849Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
26850
26851 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
26852 if we can't get a debug format from GDB (we may be testing an
26853 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
26854
26855 * gdb.stabs/weird.exp: Fix quoting.
26856
26857 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26858
26859Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
26860
26861 * config/arm-ice.exp: New file.
26862
26863Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
26864
26865 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 26866 until it has been modified to work with the new testsuite.
c906108c 26867
99707966 26868 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
26869 testcase won't compile, cause all of the testcases in the file to
26870 fail instead.
c906108c
SS
26871
26872 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26873 (gdb_clear_suppressed): New procedure.
26874 (gdb_stop_suppressing_tests): Only clear suppress_flag if
26875 it contains a positive value.
26876
26877Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
26878
26879 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26880
26881 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26882
26883Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26884
26885 * lib/gdb.exp (setup_xfail_format): New function.
26886 (get_debug_format): New function to get debug format.
26887 (debug_format): New global variable to hold last value set
26888 by get_debug_format.
26889 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 26890 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
26891 * gdb.c++/ptype.exp: Ditto.
26892 * gdb.c++/classes.exp: Ditto.
26893 * gdb.c++/cplusfuncs.exp: Ditto.
26894 * gdb.c++/inherit.exp: Ditto.
26895 * gdb.c++/templates.exp: Ditto.
26896 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 26897
c906108c
SS
26898Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26899
26900 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26901 host doesn't have a currently-open connection.
26902
26903 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
26904 any gdb stub target. Handle cases where gdb doesn't respond when
26905 interrupted in a sane fashion.
c906108c
SS
26906
26907 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 26908 same thing in a totally different way.
c906108c
SS
26909
26910 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 26911 setting "timeout".
c906108c 26912 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 26913 default_gdb_init now.
c906108c
SS
26914
26915Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26916
26917 * gdb.base/printcmds.exp: Fix "check for floating addition"
26918 regexp to accept results within approx +/- .01 of exact value.
26919 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26920
26921Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26922
26923 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 26924 properly.
c906108c
SS
26925 (gdb_expect): Add optional timeout parameter, and add timeout
26926 value to various calls.
26927 (gdb_suppress_tests): Only give one warning message per group.
26928
26929Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26930
26931 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
26932 global variables. Handle getting a value for $timeout more
26933 gracefully.
c906108c
SS
26934
26935Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26936
26937 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 26938 initialize.
c906108c 26939 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 26940 by a target configuration file.
c906108c
SS
26941 (gdb_expect): Pass the timeout to remote_expect.
26942
26943 * config/monitor.exp(gdb_load): Fix typo in regexp.
26944
26945Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26946
26947 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26948
26949Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26950
26951 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
26952 here. Call gdb_target_exec before rebooting the target, to make
26953 sure the connection to the target is closed.
c906108c
SS
26954 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26955 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26956 Also detect "Timeout reading from remote" error.
26957
26958 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
26959 gdb_target_monitor. Don't call gdb_file_cmd here; let
26960 gdb_target_monitor do it.
c906108c
SS
26961
26962 * gdb.disasm/hppa.exp: Don't use exec_output.
26963
26964Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26965
26966 * gdb.base/list.exp: If we're debugging a non-native target,
26967 try to set the pc register to point to the start of the
26968 program before doing the first list command.
26969
26970 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 26971 test_calls after restarting.
c906108c
SS
26972
26973 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 26974 reloading.
c906108c
SS
26975
26976 * gdb.base/watchpoint.exp: Fix typo.
26977
26978 * gdb.base/setshow.exp: Check for use_gdb_stub.
26979
26980 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 26981 stub case.
c906108c
SS
26982 * gdb.base/langs.exp: Ditto.
26983
26984 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
26985 gdb_load_offset. If we weren't given a file to load, figure out
26986 what the current file is and use it.
c906108c
SS
26987
26988 * config/i386-bozo.exp: New file.
26989
26990Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26991
26992 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26993 feature.
26994
26995 * config/proelf.exp: New entry.
26996
26997Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26998
26999 * lib/gdb.exp: Remove spurious .* patterns at the beginning
27000 of regexps.
27001
27002 * gdb.base/watchpoint.exp: Don't run the test_stepping
27003 tests if gdb can't call functions on the target.
27004
27005 * gdb.base/setshow.exp: Don't run the set prompt tests if
27006 the board has gdb_prompt set.
27007
27008Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
27009
27010 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
27011 * gdb.base/commands.exp: Likewise.
27012 * gdb.base/setshow.exp: Likewise.
27013
27014Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
27015
27016 * config/monitor.exp(gdb_start): Look for gdb_prompt target
27017 feature.
27018
27019 * config/i960.exp: New file.
27020
27021Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
27022
27023 * gdb.base/funcargs.exp: Check for gdb,short_int target
27024 feature instead of looking for explicit target triplets.
27025
dc96c6c7 27026Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 27027
d63a86f8 27028 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
27029 "p 123DEADBEEF", to check parse_number.
27030 * top.c: change "to enable to enable" to "to enable" in a couple
27031 of help strings.
27032
27033Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
27034
27035 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
27036 on the mn10300.
d63a86f8 27037
c906108c
SS
27038Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
27039
27040 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
27041 where the test executable is run with explicit args.
27042 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
27043
27044Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
27045
27046 * gdb.base/run.c: Use FAKEARGV to build test executable that
27047 does not require a command line arg, since most simulators
27048 don't currently support passing such an arg into the simulated
27049 program.
27050 * gdb.base/commands.exp: Change tests to insert the proper
27051 value as the arg to the first recursive factorial call. Change
27052 compilation line to define FAKEARGV at compile time.
27053
27054Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
27055
27056 * gdb.base/recurse.exp: Enable these tests for the mn10300.
27057 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
27058 function with watchpoint enabled" test.
27059
27060Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
27061
27062 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 27063 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
27064
27065 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 27066 "Tests restarted" messages.
c906108c
SS
27067
27068Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
27069
27070 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
27071
dc96c6c7 27072Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27073
27074 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
27075 for INFO SYMBOL; add help tests for OVERLAY commands.
27076 * gdb.base/default.exp: add tests for INFO SYMBOL command;
27077 add tests for OVERLAY commands
27078 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
27079 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
27080 * gdb.base/sigall.c: add usestubs code frag
27081 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 27082
c906108c
SS
27083Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
27084
27085 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
27086 failures.
27087 (gdb_stop_suppressing_tests): Note that tests have restarted.
27088
27089Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
27090
27091 * config/h8300.exp: New file.
27092
27093Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
27094
27095 * gdb.base/setshow.exp: Check for the existence of a
27096 feature, not its value.
27097
27098Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
27099
27100 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
27101
27102 * gdb.base/scope.exp: It's now init0(), not init().
27103
27104 * gdb.base/scope0.c: For now, change init() to be init0().
27105
27106 * config/monitor.exp: Use gdb_serial in preference to serial
27107 or netport.
27108
27109 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 27110 and it's not already set.
c906108c
SS
27111
27112Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
27113
27114 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 27115 isn't using a stub and if it supports argument passing.
c906108c
SS
27116
27117Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
27118
27119 * config/udi.exp(gdb_start): Make sure UDICONF is set
27120 properly before starting gdb.
27121
27122Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
27123
27124 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
27125 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
27126 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
27127
27128Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
27129
27130 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 27131 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
27132
27133 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
27134
27135 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
27136
27137 * config/monitor.exp: Make sure we disconnect from the target.
27138 Also, try a reboot/reload cycle instead of failing if the
27139 load fails.
27140
27141Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
27142
27143 * gdb.base/default.exp: Don't set match_max.
27144 * gdb.base/help.exp: Ditto.
27145 * gdb.base/list.exp: Ditto.
27146 * gdb.base/signals.exp: Ditto.
27147
27148 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
27149 set, use remote_ld to download the testcase instead of
27150 the GDB loader.
27151
27152Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
27153
27154 * config/vr5000.exp: New file.
27155
27156 * config/monitor.exp(gdb_target_monitor): Add pattern for
27157 "Ending remote" to detect errors in connecting.
27158
27159 * gdb.base/setshow.exp: Add .* within auto language test.
27160
27161 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
27162 target feature.
27163
27164 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 27165 and reboot the board if necessary.
c906108c
SS
27166
27167 * gdb.base/setvar.exp(test_set): Handle multiple prints within
27168 a set of tests. Remove print.* from the patterns being checked.
27169
27170Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
27171
27172 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
27173 refer to gdb_spawn_id.
27174
27175 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
27176 longer used.
27177 * config/sparclet.exp: Ditto.
27178 * config/sparclet-old.exp: Ditto.
27179 * config/slite.exp: Ditto.
27180 * config/sim.exp: Ditto.
27181 * gdb.base/funcargs.exp: Ditto.
27182
27183 * lib/gdb.exp:Remove references to gdb_spawn_id.
27184 (gdb_expect): Move to remote.exp.
27185
27186Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
27187
27188 * config/monitor.exp: Detect the "Couldn't establish connection"
27189 message from GDB.
27190
27191Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
27192
27193 * gdb.base/bitfields.exp: Use runto instead of explicit
27194 gdb_run_cmd/gdb_expect sequences.
27195
27196 * gdb.base/break.exp(text_next_with_recursion): Add match for
27197 gdb_expect call.
27198
27199 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
27200 We also need to handle the "A program is being debugged already"
27201 prompt from gdb. Use gdb_test to set the baud rate.
27202
27203 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
27204 to 20000. Really. I mean it.
27205
27206Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
27207
27208 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
27209 fails. If suppress_flag is set, skip perror message about not
27210 being able to send to GDB.
c906108c 27211 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 27212 GDB.
c906108c
SS
27213 (gdb_expect): If suppress_flag is set, always fail immediately.
27214 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
27215 (gdb_init): Call gdb_stop_suppressing_tests.
27216 (default_gdb_exit): Ditto.
27217 (default_gdb_start): Ditto.
27218
27219 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 27220 gdb_stop_suppressing_tests as appropriate.
c906108c 27221 * gdb.base/break.exp: Ditto.
889bf7c5 27222 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
27223 * gdb.base/commands.exp: Ditto.
27224 * gdb.base/exprs.exp: Ditto.
889bf7c5 27225 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
27226 * gdb.base/list.exp: Ditto.
27227 * gdb.base/recurse.exp: Ditto.
889bf7c5 27228 * gdb.base/scope.exp: Ditto.
c906108c
SS
27229 * gdb.base/structs.exp: Ditto.
27230 * gdb.c++/inherit.exp: Ditto.
27231
27232Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
27233
27234 * config/vr4300.exp: New file.
27235
99707966 27236 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 27237
99707966 27238 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
27239
27240Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
27241
27242 * lib/gdb.exp(gdb_init): New function.
27243
27244 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 27245 for each individual variable set.
c906108c
SS
27246
27247 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
27248 name.
27249
27250 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
27251
27252 * gdb.base/scope.exp: Use gdb_test.
27253
27254 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
27255 aborting; the testsuite driver will do that for us (see
27256 gdb_finish). Also, use gdb_test in a few more places.
27257
27258Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
27259
27260 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
27261
27262Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
27263
27264 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
27265 and "add_tests" are not at the same address.
27266
27267Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27268
27269 * gdb.base/ptype.exp: Use gdb_test.
27270
27271Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
27272
27273 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
27274 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
27275 left in. No longer expect them to fail.
27276
27277 * gdb.stabs/*.mt; Deleted, no longer used.
27278 * gdb.stabs/configure.in: Remove references to target makefile
27279 frags.
27280 * gdb.stabs/configure: Rebuilt.
27281
27282 * gdb.disasm/*.mt: Deleted, no longer used.
27283 * gdb.disasm/configure.in: Remove references to target makefile
27284 frags. Use "sh3.s" as the unique filename for this directory.
27285 * gdb.disasm/configure: Rebuilt.
27286
27287 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
27288 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
27289 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
27290
27291Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
27292
27293 * config/udi.exp: Use mondfe,name instead of remote_host.
27294
27295Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
27296
27297 * gdb.base/watchpoint.exp: Don't expect a failure when calling
27298 a function with a watchpoint enabled on the mn10200.
27299
27300 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
27301 before trying to create it!
27302
27303Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
27304
27305 * config/vx.exp: Use hostname instead of netport.
27306
27307 * config/vxworks.exp: New file.
27308
27309 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
27310
27311 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 27312 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
27313 occurs.
27314
27315 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
27316 $gdb_spawn_id directly.
27317 (gdb_run_cmd): Try _start as well as start. Use the target feature
27318 gdb,start_symbol as the symbol to start from when jumping.
27319
27320Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
27321
27322 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
27323 redundant) test.
27324
27325 * gdb.base/recurse.exp: Relax final value test for 'b' so that
27326 it doesn't lose for 16bit integer systems.
27327
27328Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
27329
27330 * gdb.fortran/types.exp: If the target doesn't support "double"
27331 data types, then expect "real" types to only be 4 bytes.
27332
27333 * gdb.c++/virtfunc.exp: Expect failure for virtual function
27334 call tests if the target doesn't support inferior function calls.
27335
27336 * gdb.base/printcmds.exp: Allow minor deviation in FP values
27337 in printf tests.
27338
27339Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
27340
27341 * gdb.base/help.exp: Disable "help set", "help show", and
27342 "help support". Simplify regexp for "help stack".
27343
27344 * gdb.base/default.exp: Set match_max to 5000 and the timeout
27345 to 60 seconds. Temporarily set match_max to 15000 around the
27346 "info copying" test.
27347
27348 * gdb.base/nodebug.exp: Don't try to do an inferior function
27349 call if the target doesn't support them.
27350 * gdb.base/printcmds.exp: Likewise.
27351 * gdb.base/setvar.exp: Likewise.
27352 * gdb.base/structs.exp: Likewise.
27353 * gdb.c++/templates.exp: Likewise.
27354 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
27355
27356 * gdb.base/recurse.exp: Enable for the mn10200.
27357
27358 * configure.in: Do configure gdb.stabs directory for *-*-elf
27359 targets.
27360 * configure: Rebuilt.
27361
27362 * gdb.base/break.exp: Check for gdb,noresults before testing
27363 exit status and/or results from the target.
27364 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
27365 * lib/gdb.exp: Remove old (now bogus) initialization of
27366 noinferior, noargs, noresults and nosignals.
27367
27368Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
27369
27370 * config/sh.exp: New file.
27371
27372 * config/slite.exp: Try to connect multiple times to the board
27373 before rebooting. Only send a "monitor run" if need_monitor_run
27374 is set.
27375
27376 * gdb.base/break.exp: Don't do the "stub continue" test if
27377 the target has gdb_stub set.
27378
27379 * gdb.base/callfuncs.exp: Increase the timeout.
27380
27381 * gdb.base/interrupt.exp: Don't even try to compile the testcase
27382 if the target has gdb,noinferiorio set.
27383
27384 * gdb.base/list.exp: Increase match_max to 10000 characters.
27385
27386 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
27387
27388 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
27389 target.
27390
27391 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
27392
27393Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
27394
27395 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
27396 trying to delete the copy of gdb. Catch the file delete so we
27397 don't die if the delete fails; also, the file should be copied to
27398 the host, not to the build.
c906108c
SS
27399
27400Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
27401
27402 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 27403 parenthesis in case it contains multiple regexps separated
c906108c
SS
27404 with |.
27405
27406 * gdb.base/watchpoint.exp: Use gdb_test.
27407 * gdb.base/default.exp: Ditto.
27408
27409Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
27410
99707966 27411 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 27412
c906108c
SS
27413 * gdb.base/scope.exp: Use gdb_test.
27414 * gdb.c++/classes.exp: Ditto.
27415 * gdb.c++/inherit.exp: Ditto.
27416
27417Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
27418
27419 * gdb.base/crossload.exp: Don't use execute_anywhere, use
27420 remote_exec instead.
27421 * gdb.base/corefile.exp: Don't be ridiculous.
27422 * gdb.base/*.c: Add missing stub invocations.
27423
27424Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
27425
27426 * config/slite.exp: Miscellaneous fixes.
27427
27428 * lib/gdb.exp: Fix runto.
27429
27430 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
27431 the target.
27432
27433 * gdb.base/watchpoint.exp: Fix regexp.
27434
27435 * lib/gdb.exp(default_gdb_exit): Add a catch to the
27436 close and wait commands, as the descriptor may now be
27437 invalid. Always call "remote_close host".
27438
27439Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
27440
27441 Major rewrite for testsuite revision.
d63a86f8 27442
c906108c
SS
27443 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
27444 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
27445 instead of relying on spawn_id to always contain a valid
27446 spawn id.
27447 (get_compiler_info): New procedure to build the ${binfile}.ci
27448 file, instead of replicating this in N different places.
27449 (gdb_compile): New procedure.
d63a86f8 27450
c906108c 27451 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
27452 appropriate arguments) instead of compile. Use gdb_test in a lot
27453 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
27454 at the start of a testcase, as this is no longer done magically.
27455
27456 config/*-gdb.exp: Rename without the -gdb suffix.
27457
27458 config/mips.exp: Use remote_close instead of exit_remote_shell.
27459 config/monitor.exp: Use target_info instead of looking at
27460 baud, timeout, etc.
27461 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
27462
27463Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27464
27465 * gdb.c++/templates.exp (test_ptype_of_templates),
27466 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
27467 Update expect patterns for destructors and assignment operators
27468 to match corresponding c-typeprint.c changes.
27469 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
27470 to destructor breakpoint test, GDB should be able to set the
27471 destructor breakpoint without specifying arguments.
27472
27473Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
27474
27475 * gdb.threads/pthreads.exp: Change result for failure to compile due
27476 to lack of pthreads runtime support from an error to simply an
27477 unsupported test, per dejagnu standards.
27478
27479Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27480
27481 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
27482 where GDB exits to reduce pattern match time.
27483 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
27484
27485 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
27486
dc96c6c7 27487Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27488
27489 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
27490 * gdb.base/default.exp: ditto.
27491 * gdb.base/nodebug.exp: ditto.
27492 * gdb.base/printcmds.exp: ditto.
27493 * gdb.base/ptype.exp: ditto.
27494 * gdb.base/setvar.exp: ditto.
27495 * gdb.base/structs.exp: ditto.
27496 * gdb.base/setshow.c: Guard against uninitialized values of argc.
27497
27498Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
27499
27500 * configure, */configure: Rebuild with autoconf 2.12.
27501
27502Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
27503
27504 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
27505 use new i*86-pc-linux*-gnu quads.
27506 * gdb.base/corefile.exp: Ditto.
27507 * gdb.base/signals.exp: Ditto.
27508 * gdb.base/sigall.exp: Ditto.
27509 * gdb.base/interrupt.exp: Ditto.
27510
27511 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
27512 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
27513 RedHat 4.0.
d63a86f8 27514
c906108c 27515 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
27516 linux. This allows the test case to at least compile on latest
27517 linux, but still not run due to missing the threads runtime library.
c906108c
SS
27518
27519Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27520
27521 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
27522 directory to search gdb directory. Accept and step over conditional
27523 stack alignment code. Consume $prompt in failure cases.
27524 Reset timeout to $oldtimeout instead of some arbitrary value.
27525 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
27526 timeout problems with infinite stack backtraces.
27527 * gdb.base/ptype.exp (ptype struct link, union tu_link):
27528 Accept function parameters for linkfunc member.
27529
27530Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
27531
27532 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
27533 (CXXFLAGS): Remove, unreferenced.
27534 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
27535 previous -B options and also add -B option to pick up cross compiled
27536 runtime.
c906108c
SS
27537 (TARGET_INCLUDES): Add for -I options and add code to initialize when
27538 doing cross compiles.
27539 (target_alias): Declare global.
27540 (xgcc): Set variable to full path of gcc in build tree. Use findfile
27541 to verify that gcc exists in build tree, and if so set CC to that
27542 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 27543
c906108c
SS
27544Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
27545
27546 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
27547 ptype test for anonymous union. Fixup testcase to match
27548 current gcc debug output.
27549
27550Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
27551
27552 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
27553 force argument to an unsigned long type.
27554
27555Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
27556
27557 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 27558 tests and anonymous union print/ptype tests.
c906108c
SS
27559 * gdb.base/list.exp (test_forward-search): Increase timeout by
27560 5 minutes for the "search extremely long line" case.
27561 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
27562 completely optional and that the pass/fail messages use the command as
27563 the message if that third arg is a null string.
27564 (gdb_test_exact): Arrange that a null string pattern means match a
27565 null string output rather than any output, which might include random
889bf7c5 27566 errors.
c906108c
SS
27567 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
27568 backtrace test.
27569 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
27570 always failing and failure is now exposed by gdb.exp changes.
27571
27572Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
27573
27574 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
27575 weren't being noted.
27576
27577Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27578
27579 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
27580 * gdb.stabs/weird.exp: Remove v_comb xfails.
27581
dc96c6c7 27582Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27583
27584 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 27585 list.exp scope.exp watchpoint.exp]
c906108c 27586 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 27587
dc96c6c7 27588Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27589
27590 * config/monitor.exp: Increase download timeout to 1000 seconds.
27591
dc96c6c7 27592Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27593
27594 * config/m32r.exp: Increase timeout to 120 seconds.
27595
27596Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
27597
27598 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
27599 and accept older ordering as obsolescent gcc or gdb.
27600 * gdb.c++/templates.exp: Ditto.
27601 * gdb.c++/virtfunc.exp: Ditto.
27602
27603Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
27604
27605 * gdb.base/coremaker.c: Add code to mmap some data so we
27606 can check that it ends up in the core file.
27607 * gdb.base/corefile.exp: Add test to read mmapped data
27608 from core file.
27609
dc96c6c7 27610Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27611
27612 * config/m32r.exp: New file.
27613
27614Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
27615
27616 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
27617 that cflags can contains -gstabs, and work correctly for other tests.
27618
dc96c6c7 27619Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
27620
27621 * gdb.base/setshow.exp: New file, tests show and set.
27622 * gdb.base/setshow.c: New file, tests show and set.
27623 * gdb.base/help.exp: Add test for help set|show annotate.
27624 * gdb.base/default.exp: Add test for set|show annotate.
27625
27626Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
27627
27628 * testsuite/gdb.base/break.exp: Make backtrace from factorial
27629 errors unique.
27630 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
27631 explicitly.
27632
27633Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
27634
27635 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
27636 and width commands. This is done elsewhere.
27637 * (gdb_start): Don't call gdb_start_sim here. That's already
27638 done in gdb_load. This fixes lots of failures in default.exp.
27639
27640Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
27641
27642 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
27643 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
27644 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
27645 in the same we we treat other failures (since it may be an expected
889bf7c5 27646 condition), rather than as an error.
c906108c
SS
27647 * gdb.base/signals.exp (test_handle_all_print): Revert back to
27648 old test format.
27649
27650Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
27651
27652 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
27653 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 27654 twice. Nuke the duplicates.
c906108c 27655 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 27656 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
27657 Remove config.h along with other config files.
27658
27659Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
27660
27661 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
27662 "p func1 ()" and note that rests of tests are skipped.
27663 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 27664 setup_xfails for "print func2::coremaker_local".
c906108c
SS
27665 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
27666 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
27667 affected by the previous run test.
27668 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
27669 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
27670 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
27671 "pass int powerset tuple" and "pass modeless int powerset tuple".
27672 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
27673 "real write 4" and "real write 8".
27674 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 27675 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
27676 "print \$i after tuple assign 2", and
27677 "print vs2 after tuple assign 2".
27678 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
27679 meaningful error message and return -1 so the caller can
27680 suppress further tests and avoid a cascade of errors.
d63a86f8 27681
c906108c
SS
27682Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
27683
27684 * gdb.base/a1-selftest.exp: Tweak tests to account for new
27685 format for printing version.
27686 * gdb.base/default.exp: Ditto.
27687 * gdb.base/interrupt.exp: Fix problem with cascade of
27688 errors if child process dies while calling a function.
d63a86f8 27689
c906108c
SS
27690Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
27691
27692 * Makefile.in (VPATH): Add
27693 * Makefile.in (Makefile, config.status): Fix rules so things get
27694 remade when necessary.
27695
27696Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
27697
27698 * Makefile.in (just-check): Add path to sibling expect dir
27699 to environment variable specified by RPATH_ENVVAR.
27700
27701Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
27702
27703 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
27704 (just-check): Add shared library paths for libstdc++, tk,
27705 tcl, bfd, and opcodes to the environment variable specified
27706 in RPATH_ENVVAR.
27707 * configure.in: Add support to recognize --enable-shared flag
27708 and generate correct value for RPATH_ENVVAR.
27709 * configure: Regenerated with autoconf.
27710
27711Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
27712
27713 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 27714 include all osf versions.
c906108c
SS
27715 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
27716 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
27717 when target is linux. When failing to build pthreads test
27718 executable, give more meaningful message.
27719 * gdb.threads/pthreads.c: Hpux also uses old definition of second
27720 arg for pthread_create.
d63a86f8 27721
c906108c
SS
27722Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
27723
27724 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 27725 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 27726 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 27727 and -lpthreads (everybody else).
c906108c
SS
27728 (test_startup): Fail gracefully if threads are not supported.
27729 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
27730 "p/c array_index("abcdef",2)" when not gcc compiled.
27731 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
27732 "print func2::coremaker_local" when not gcc compiled.
27733 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
27734 "ptype on opaque struct tagname (statically)",
27735 "ptype on opaque struct tagname (dynamically) 1", and
27736 "ptype on opaque struct tagname (dynamically) 2"
27737 for not compiled with gcc.
27738 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
27739 backtrace when compiled with gcc.
d63a86f8 27740 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
27741 than always return success.
27742
27743Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
27744
27745 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
27746
27747Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
27748
27749 * gdb.base/structs.exp: Undo last change.
27750
27751Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
27752
27753 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
27754 encapsulate all the steps/nexts done during self test, starting
27755 at main, and makes them less sensitive to optimization issues.
27756 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
27757 signal handler" test.
27758 * gdb.threads/pthreads.exp: Only run this for native configs.
27759 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
27760 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
27761 tests.
27762 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
27763 for "runto test_calls(void)" test.
d63a86f8 27764
c906108c
SS
27765Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
27766
27767 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
27768 and don't expect address info in breakpoint confirmations.
27769
27770Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
27771
27772 * gdb.base/list.exp (test_forward_search): Increase timeout
27773 temporarily by 60 seconds for searching extremely long line,
889bf7c5 27774 and then reset to old value when done. Increase expect input
c906108c
SS
27775 buffer to 10000.
27776
27777Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
27778
27779 * gdb.base/list.exp (test_forward_search): Fix to handle very
27780 long source line without overflowing expect's input buffer.
27781
27782Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
27783
27784 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
27785 "buffer_full".
27786
27787 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
27788 "buffer_full".
27789
27790 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
27791 "buffer_full".
27792
27793 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
27794 "buffer_full".
27795
27796Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
27797
27798 * configure.in (configdirs): Add gdb.threads.
27799 * configure: Regenerated with autoconf.
27800 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
27801 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
27802 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 27803
c906108c
SS
27804Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
27805
27806 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
27807
27808Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
27809
27810 * gdb.base/signals.exp (test_handle_all_print): Test separately for
27811 each signal's status in the output of "handle all print".
27812 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
27813 the \r\n sequence that immediately precedes the gdb prompt.
27814 * gdb.base/a1-selftest.exp: Save original timeout and restore
27815 after test.
27816
27817Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
27818
27819 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
27820 symbol.
27821
27822Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
27823
27824 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
27825
27826Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
27827
27828 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
27829 timeout by 60 seconds.
27830
27831Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
27832
27833 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
27834 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
27835 error return.
27836
27837Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
27838
27839 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27840 gdb initialization, also report how long dejagnu waited. Restore
27841 old timeout before doing error return. Temporarily increase timeout
889bf7c5 27842 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
27843
27844Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
27845
27846 * lib/gdb.exp: Report timeout value for verbosity level 2.
27847 * config/gdbserver.exp: Ditto.
27848 * config/hppro.exp: Ditto.
27849 * config/mips-gdb.exp: Ditto.
27850 * config/monitor.exp: Ditto.
27851 * config/netware.exp: Ditto.
27852 * config/sim-gdb.exp: Ditto.
27853 * config/slite-gdb.exp: Ditto.
27854 * config/udi-gdb.exp: Ditto.
27855 * config/unix-gdb.exp: Ditto.
27856 * config/vx-gdb.exp: Ditto.
27857 * gdb.base/a1-selftest.exp: Ditto.
27858 * gdb.base/a2-run.exp: Ditto.
27859 * gdb.base/break.exp: Ditto.
27860 * gdb.base/corefile.exp: Ditto.
27861 * gdb.base/list.exp: Ditto.
27862 * gdb.base/recurse.exp: Ditto.
27863 * gdb.base/scope.exp: Ditto.
27864 * gdb.base/signals.exp: Ditto.
27865
27866Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27867
27868 * gdb.threads/Makefile.in (docdir): Removed.
27869
27870Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27871
27872 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 27873 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 27874 @srcdir@.
d63a86f8 27875 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
27876 autoconf 2.5 or higher.
27877 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27878
27879Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
27880
27881 * configure: Regenerated.
27882 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27883 avoid name clashes with SunOS headers.
27884
27885Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27886
27887 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27888
27889Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27890
27891 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27892 prototype information ends up in the compiler info file.
27893
27894Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27895
27896 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27897 attempting to regenerate it. Eliminate use of a temporary file
27898 and just generate the info file directly. Source it immediately,
27899 for consistency of use.
27900 * gdb.base/corefile.exp: Ditto
27901 * gdb.base/exprs.exp: Ditto.
27902 * gdb.base/funcargs.exp: Ditto.
27903 * gdb.base/langs.exp: Ditto.
27904 * gdb.base/list.exp: Ditto.
27905 * gdb.base/mips_pro.exp: Ditto.
27906 * gdb.base/nodebug.exp: Ditto.
27907 * gdb.base/opaque.exp: Ditto.
27908 * gdb.base/ptype.exp: Ditto.
27909 * gdb.base/scope.exp: Ditto.
27910 * gdb.base/setvar.exp: Ditto.
27911 * gdb.base/signals.exp: Ditto.
27912 * gdb.base/whatis.exp: Ditto.
27913 * gdb.c++/templates.exp: Ditto.
27914 * gdb.c++/virtfunc.exp: Ditto.
27915 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 27916 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
27917
27918Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27919
27920 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27921 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27922 Increase timeout, a lot of single stepping might be needed if the
27923 target has no hardware watchpoints.
27924
27925Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27926
27927 * gdb.base/break.exp: Ignore compiler warnings when compiling
27928 break.c.
27929 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27930 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27931 from remote-sim.
27932 * gdb.base/exprs.exp: Add h8300 xfails.
27933 * gdb.base/funcargs.exp: Likewise.
27934 * gdb.base/nodebug.exp: Likewise.
27935 * gdb.base/printcmds.exp: Likewise.
27936 * gdb.base/ptype.exp: Likewise.
27937 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27938 h8300 xfails.
d63a86f8 27939 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
27940 on the h8300.
27941 * gdb.base/funcargs.c: Explicitly make last constant argument to
27942 call_after_alloca_subr an unsigned long type.
27943 * gdb.base/return.c: Include stdio.h.
27944
27945Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27946
27947 * config/abug.exp: New file for the older Motorola Bug monitor
27948 that runs on the mvme13x series VME boards.
27949 * config/monitor.exp: Use the new config array for target settings
27950 if they exist.
27951
27952Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27953
27954 * sim-gdb.exp: Make the SH simulator allocate less space when
27955 it is targeted.
27956
27957Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27958
27959 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27960 test.
27961
27962Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27963
27964 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27965 "rs6000-*-*" for "list function in include file" when gcc compiled.
27966 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27967 for "p ctable1[120]".
27968 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27969 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27970 Remove setup_xfail for "rs6000-*-*" for
27971 "print 'scope0.c'::filelocal before run".
27972 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27973 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27974 since some compilers don't allow both options to be given
27975 on the same command line. Create object file and move it.
d63a86f8 27976
c906108c
SS
27977Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27978
27979 * gdb.base/corefile.exp: Always regenerate the core file, since
27980 we always regenerate the coremaker program. Detect special case
27981 where registers cannot be read from core file.
d63a86f8 27982
c906108c
SS
27983Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27984
27985 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27986 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27987 * gdb.c++/templates.exp: Only match on basename of file since
27988 some formats like xcoff don't encode directory information.
27989 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27990 and rs6000 AIX xcoff targets.
27991 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27992 * configure: Regenerate.
27993 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27994 here, rather than in distclean.
d63a86f8 27995
c906108c
SS
27996Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27997
27998 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27999 defined, and use it to compile the test case with -O2. The
28000 native compilation still uses no optimization.
28001 * gdb.base/mips_pro.c: Remove inline assembly code since
28002 it is compiled PIC by default, which results in assembler
28003 warnings that make the testsuite think the compilation
28004 was unsuccessful.
28005
28006Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
28007
28008 * gdb.c++/misc.exp: Add note to message for
28009 "print s.a for foo struct" that this is a known gcc 2.7.2
28010 and earlier bug.
28011
28012Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
28013
28014 * gdb.base/break.exp: Fix pattern for matching "Delete all
28015 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
28016 setup_xfail for deleting all breakpoints test. Fix various
28017 timeout messages to include "(timeout)".
28018 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
28019 for "p t_float_values2(3.14159,float_val2)".
28020 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
28021 for "continue to call2g" when gcc compiled.
28022 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
28023 "up to foo in langs.exp", "show language at foo in langs.exp",
28024 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
28025 and "show language at fsub in langs.exp".
28026 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
28027 "list line 1 in include file", "list message for lines past EOF",
28028 "list function in include file", "list list0.h:foo", and
28029 "list filename:function; nonexistant function".
28030 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
28031 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
28032 and "ptype t_char_array" to be for native cc only.
d63a86f8 28033
c906108c
SS
28034Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
28035
d63a86f8 28036 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 28037 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 28038 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
28039
28040Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
28041
28042 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
28043 "bt in signals.exp". This problem only appears when running
28044 the testsuite, and then only intermittently.
28045
28046Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
28047
28048 * gdb.base/return.exp (return_tests): Differentiate between
28049 two tests of continuing.
28050
28051Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
28052
28053 * */Makefile.in (maintainer-clean): Remove config.log.
28054 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
28055 * gdb.c++/Makefile.in (PROGS): Add inherit.
28056 (clean): Remove *.ci.
28057
28058Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
28059
28060 * gdb.c++/misc.cc: Add test code from Mike Stump.
28061 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
28062
28063Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
28064
28065 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
28066 to "alpha-*-osf2*" and add comment.
28067 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
28068 setup_xfail for "step over execarg initialization" and
28069 "step over corearg initialization".
c906108c
SS
28070 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
28071 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
28072 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 28073 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
28074 "print func2::coremaker_local", and "backtrace in corefile.exp".
28075 * gdb.base/signals.exp: Build and source signals.ci.
28076 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
28077 to be for gcc only.
28078 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 28079
c906108c
SS
28080Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28081
28082 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
28083 Feb 3 procfs.c change.
28084
28085Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
28086
28087 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
28088
28089Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
28090
28091 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
28092 from dejagnu's apparent default of 10 seconds, which gives random
28093 results when running the tests over NFS on moderately loaded systems.
28094 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
28095
28096Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
28097
28098 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
28099 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 28100 result reports.
c906108c
SS
28101
28102Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
28103
28104 * configure.in (CY_AC_PATH_TCLH): Remove.
28105 * configure: Regenerate.
28106
28107Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
28108
28109 * gdb.c++/Makefile.in (clean): Add missing '{'.
28110
28111Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
28112
28113 * lib/gdb.exp: Provide a default value for noinferior.
28114
28115 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
28116 Load libgloss.exp.
28117
28118Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
28119
28120 * gdb.disasm/hppa.exp: Compile directly into an executable, use
28121 the executable, not the .o to run the tests from.
28122
28123Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
28124
28125 * gdb.base/break.exp: Don't test for program exit or exit status
28126 if $noresults if nonzero.
28127 * gdb.base/langs.exp: Likewise.
28128 * gdb.base/watchpoint.exp: Likewise.
28129
28130 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
28131 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
28132 trying to compile the testcase.
28133
28134Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
28135
28136 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
28137 * gdb.base/signals.exp (continue to handler): Likewise.
28138
28139Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
28140
28141 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
28142
28143 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
28144
28145Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
28146
28147 * gdb.base/corefile.exp: Recognize "not found" as failure
28148 when trying to determine if a core file was generated.
28149 If no core file was generate the first time, try again without
28150 the ulimit -c to work around braindamaged shells.
28151
28152Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
28153
28154 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
28155 [] tests with "test" and enclose string in quotes.
28156 * gdb.stabs/configure: Rebuild
d63a86f8 28157
c906108c
SS
28158Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
28159
28160 Changes in sync with expect:
28161 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
28162 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
28163 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
28164 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
28165 argument to AC_REQUIRE.
28166 * configure: Regenerated.
28167
28168Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
28169
28170 * gdb.base/corefile.exp: When generating a core, discard any
28171 error messages about ulimit not found and the "core dumped"
28172 message from the shell that runs the coredumper.
28173
28174Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
28175
28176 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
28177
28178 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
28179 which sed script to run. Expect failure for v_comb test
28180 on PA targets too.
d63a86f8 28181
c906108c
SS
28182Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
28183
28184 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 28185 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
28186
28187Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
28188
28189 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
28190 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 28191 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
28192 * lib/gdb.exp (default_gdb_start): Fix typo.
28193 * gdb.base/corefile.exp: Allow "Core was generated by ..."
28194 messages to not include the full program name that caused
28195 the core dump since some systems (such as solaris) apparently
28196 truncate this path to about 80 characters.
28197 When generating a core file first try increasing the core file
28198 size limit to unlimited since some systems may default it to
28199 zero, and it is harmless to try it. Move the test for failing
28200 to generate a core file to where it will actually get executed.
28201 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
28202 new gdb result from g++ debug info improvements and make old
28203 pattern obsolescent. Also account for size_t differences
28204 (may be int or long).
28205 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
28206 initialization before function call is placed in the delay slot
28207 and thus appears to be skipped over by commands such as "next".
28208
28209Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
28210
28211 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
28212
28213Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
28214
28215 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
28216 input source file; fix code to compile test to deal with this
28217 convention.
28218 * gdb.c++/*.exp: Likewise.
28219
28220Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
28221
28222 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
28223 "bt in signals.exp".
28224
28225Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
28226
28227 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
28228 "step over execarg initialization" and
889bf7c5 28229 "step over corearg initialization".
c906108c
SS
28230
28231Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
28232
28233 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
28234 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
28235
28236Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
28237
28238 From Rob Savoye (rob@poseidon.cygnus.com)
28239 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
28240 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
28241 configure.in}, gdb.disasm/{Makefile.in, configure.in},
28242 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
28243 configure.in}: Major reworking for autoconfig.
c906108c
SS
28244 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
28245 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 28246 New files.
c906108c
SS
28247 * config/unix-gdb.exp: Make GDB global.
28248 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
28249 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
28250 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
28251 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
28252 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
28253 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 28254 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
28255 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
28256 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
28257 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
28258 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 28259 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
28260 to returns as necessary, arrange for test to compile own testcase
28261 executable.
c906108c 28262 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 28263
c906108c
SS
28264Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
28265
28266 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 28267 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
28268 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
28269 "backtrace through signal handler".
28270
28271Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28272
28273 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
28274 continuing from a job control stop signal.
28275 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
28276
28277Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
28278
28279 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
28280 * gdb.base/corefile.exp: Likewise.
28281 * gdb.base/funcargs.exp: Likewise.
28282
28283Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
28284
28285 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
28286 * config/monitor.exp: Add support for setting baud rate.
28287
28288Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
28289
28290 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
28291 i*86-*-linux* xfails for "backtrace through signal handler".
28292 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
28293 "print func2::coremaker_local".
28294 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 28295 alpha-dec-osf2* xfail for
c906108c
SS
28296 "delete all breakpoints when none".
28297
28298Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
28299
28300 * gdb.base/break.exp: Change test that deletes all breakpoints
28301 when no user breakpoints are installed. A post 4.15 change
28302 causes gdb to no longer prompt in this case.
28303
28304Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
28305
28306 * gdb.base/return.exp (return_tests): Change xfail for test
28307 "correct value returned double test" to stop xfailing at
28308 Solaris 2.5. Apparently the bug has been fixed.
28309
28310Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
28311
28312 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
28313 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
28314
28315Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
28316
28317 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
28318 * gdb.disasm/hppa.s: Corresponding changes.
28319
28320Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
28321
28322 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
28323 makefile fragment.
28324 * config/mt-hpux: Deleted.
28325
28326Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
28327
d63a86f8 28328 * Many files: When warning about suppressed tests due to a
c906108c
SS
28329 nonexistant test binary, avoid incrementing the warning count.
28330
28331Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
28332
28333 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 28334
c906108c
SS
28335Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28336
28337 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
28338 "sparc-*-solaris2*".
28339
28340Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28341
28342 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
28343 Add global and local variables and initialize them.
28344 * gdb.base/corefile.exp: Test correct mapping of corefile sections
28345 by printing variables. Remove rs6000 and powerpc xfails, BFD now
28346 extracts the file name and terminating signal from the core file.
28347 * TODO: Remove note about tests for correct mapping of corefile.
28348 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
28349 from optimizing it away.
28350 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
28351 handles common blocks.
28352
28353Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
28354
28355 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
28356 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
28357
28358Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
28359
28360 * Makefile.in (maintainer-clean): New target, synonym for
28361 realclean.
28362 * gdb.base/Makefile.in (maintainer-clean): Likewise.
28363 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
28364 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
28365 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
28366 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
28367 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
28368
28369Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
28370
28371 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
28372 xfails when not gcc compiled for "print foo::funclocal".
28373 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
28374 "print foo::funclocal at foo",
28375 "print 'scope1.c'::foo::funclocal at foo",
28376 "print foo::funclocal_bss at foo",
28377 "print 'scope1.c'::foo::funclocal_bss at foo",
28378 "print foo::funclocal_ro at foo",
28379 "print 'scope1.c'::foo::funclocal_ro at foo",
28380 "print bar::funclocal at foo" and
28381 "print 'scope1.c'::bar::funclocal at foo".
28382 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
28383 gcc compiled for "print foo::funclocal at bar".
28384 Expand all messages to ensure that they identify that
28385 the test is at bar().
28386 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
28387 gcc compiled for:
28388 "ptype on opaque struct pointer (statically)",
28389 "ptype on opaque struct tagname (statically)",
28390 "ptype on opaque struct pointer (dynamically) 1",
28391 "ptype on opaque struct tagname (dynamically) 1",
28392 "ptype on opaque struct pointer (dynamically) 2" and
28393 "ptype on opaque struct tagname (dynamically) 2
28394 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
28395 gcc compiled for:
28396 "p datalocal"
28397 "whatis datalocal",
28398 "ptype datalocal",
28399 "p bsslocal",
28400 "whatis bsslocal", and
28401 "ptype bsslocal".
28402 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
28403 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
28404 when not gcc compiled.
28405 * gdb.base/funcargs.exp (float_and_integral_args): Add
28406 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
28407 compiled.
28408 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
28409 "backtrace from call6a" when not gcc compiled.
28410 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
28411 "backtrace from call7a" when not gcc compiled.
28412 * gdb.base/callfuncs.exp (do_function_calls):
28413 Add "hppa*-*-hpux*" xfail when not gcc compiled for
28414 "p t_char_array_values(char_array_val2,char_array_val1)",
28415 "p t_char_array_values(char_array_val1,char_array_val2)",
28416 "p t_char_array_values("carray 1","carray 2")",
28417 "p t_char_array_values("carray 1",char_array_val2)",
28418 "p t_char_array_values(char_array_val1,"carray 2")",
28419 "p sum_args(1,{2})",
28420 "p sum_args(2,{2,3})",
28421 "p sum_args(3,{2,3,4})",
28422 "p sum_args(4,{2,3,4,5})"
28423 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
28424 "backtrace in corefile.exp" when not gcc compiled.
28425
28426Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28427
28428 * gdb.base/signals.exp: Rewrite `handle all print' test as
28429 a procedure. Accept blanks or TABs as whitespace, increase
28430 timeout and expect input buffer size for the large output
28431 from the command. Remove "i*86-*-bsdi2.0" xfail.
28432
28433Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28434
28435 * gdb.base/setvar.exp: Add new testcases for truncation when
28436 assigning invalid values to bitfields.
28437
28438Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
28439
d63a86f8 28440 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
28441 mips-sgi-irix* xfail for
28442 "call inferior func with struct - returns char *"
28443 and fix test so that an optional (unsigned char *) cast is
889bf7c5 28444 accepted in the result.
c906108c
SS
28445
28446Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
28447
28448 * gdb.base/funcargs.exp (float_and_integral_args): Remove
28449 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
28450 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
28451 * gdb.base/signals.exp: Remove duplicate "handle all print" test
28452 that accidentally got checked in.
28453
28454Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
28455
d63a86f8 28456 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
28457 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
28458 compiled test.
28459 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
28460 Add mips-sgi-irix5* xfail for not gcc compiled.
28461 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6fdff2c5
PA
28462 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
28463 compiled for "p top", "whatis top", "p middle", and "whatis
28464 middle".
c906108c
SS
28465 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
28466 "whatis signed char" for not gcc compiled.
28467 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
28468 "set variable signed char=-1 (-1)" and
28469 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
28470 * gdb.base/funcargs.exp (float_and_integral_args):
28471 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
28472 Add mips-sgi-irix* xfail when not gcc compiled for
28473 "continue to call2b".
28474 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
28475 "continue to call2g".
6fdff2c5
PA
28476 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
28477 compiled for "backtrace from call6a"
28478 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
28479 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
28480 when not gcc compiled for "backtrace from call7a".
c906108c
SS
28481 (localvars_after_alloca): Fix gdb_test cmds for
28482 "print * after runto ...".
28483 Remove rs6000-*-* xfails for
28484 "print i after runto localvars_after_alloca" and
28485 "print l after runto localvars_after_alloca"
28486 for all compilers.
28487 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 28488 when not compiled with gcc, for:
c906108c
SS
28489 "print signed char == (minus)",
28490 "print signed char != (minus)",
28491 "print signed char < (minus)",
28492 "print signed char > (minus)".
28493 * gdb.base/callfuncs.exp (do_function_calls):
28494 Add mips-sgi-irix* xfail, when compiled with native compiler, for
28495 "call inferior func with struct - returns char *".
d63a86f8 28496 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
28497 "correct value returned double test" to include Solaris 2.4.
28498 * gdb.base/funcargs.exp (float_and_integral_args):
28499 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 28500
c906108c
SS
28501Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28502
28503 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
28504 enumeration bitfields if compiling with GNU C.
28505 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
28506 to empty' prompt.
28507
28508Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
28509
28510 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
28511 test for PRO targets.
28512
28513 * gdb.base/funcargs.exp: Avoid ever setting more than 8
28514 breakpoints in the inferior at any given time by making
28515 two groups of breakpoints for call2*, call6* and call7*
28516 tests.
28517
28518Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28519
28520 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
28521 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
28522 from optimizing it away.
28523 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
28524 "call inferior func with struct".
28525
28526Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
28527
28528 * configure.in: Only configure gdb.chill for particular targets.
28529
28530Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
28531
28532 * gdb.base/Makefile.in: Add action to .c.o transformation
28533 rule that generates a .ci file for each .o file and remove
28534 explicit .c.o rules except for callfuncs.o.
28535 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
28536 generates a .ci file for each .o file and remove explicit
28537 .cc.o rules.
28538 (clean): Remove *.tmp *.ci files.
28539 (EXECUTABLES): Remove templ-info.exp.
28540 * gdb.base/compiler.c: New file.
28541 * gdb.c++/compiler.cc: New file
28542 * gdb.base/scope.exp: Source gdb.base/scope.ci.
28543 Change rs6000-*-* xfail for
28544 "print 'scope0.c'::filelocal_ro" and
28545 "print 'scope1.c'::filelocal" and
28546 "print 'scope1.c'::filelocal_bss" and
28547 "print 'scope1.c'::filelocal_ro" and
28548 "print 'scope1.c'::foo::funclocal" and
28549 "print 'scope1.c'::foo::funclocal_ro" and
28550 "print 'scope1.c'::bar::funclocal" and
28551 "print 'scope0.c'::filelocal_ro" and
28552 "print 'scope1.c'::filelocal at foo" and
28553 "print 'scope1.c'::filelocal_bss at foo" and
28554 "print 'scope1.c'::filelocal_ro at foo" and
28555 "print 'scope1.c'::foo::funclocal at foo" and
28556 "print 'scope1.c'::foo::funclocal_bss at foo" and
28557 "print 'scope1.c'::foo::funclocal_ro at foo" and
28558 "print 'scope1.c'::bar::funclocal at foo" and
28559 "print 'scope0.c'::filelocal_ro" and
28560 "print 'scope1.c'::filelocal" and
28561 "print 'scope1.c'::filelocal_bss" and
28562 "print 'scope1.c'::filelocal_ro" and
28563 "print 'scope1.c'::foo::funclocal" and
28564 "print 'scope1.c'::foo::funclocal_bss" and
28565 "print 'scope1.c'::foo::funclocal_ro" and
28566 "print 'scope1.c'::bar::funclocal" and
28567 "print 'scope1.c'::bar::funclocal_bss"
28568 to only be xfail'd when not compiled with gcc.
d63a86f8 28569 Add rs6000-*-* xfail for
c906108c
SS
28570 "print 'scope0.c'::filelocal_bss before run"
28571 when compiled with gcc.
28572 (test_at_main): Add rs6000-*-* xfail for
28573 "print filelocal_ro in test_at_main"
28574 when compiled with gcc.
28575 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 28576 Add rs6000-*-aix* xfail for
c906108c
SS
28577 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
28578 "ptype t_char_array", not compiled with gcc.
28579 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
28580 xfail for "list foo (in include file)" when gcc compiled.
28581 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 28582 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
28583 "run to call0a" if not compiled with gcc.
28584 (unsigned_integral_args): Add rs6000-*-* xfail for
28585 "run to call1a" if not compiled with gcc.
28586 (float_and_integral_args): Add rs6000-*-* xfail for
28587 "run to call2a" if not compiled with gcc and for
28588 "continue to call2b" for any compiler.
28589 Add rs6000-*-* xfail to
28590 "print f1 after run to call2a" for gcc compiled.
28591 (discard_and_shuffle): Add rs6000-*-* xfail for
28592 "run to call6a".
28593 (shuffle_round_robin): Add rs6000-*-* xfail for
28594 "backtrace from call7a" if not compiled with gcc.
28595 Add rs6000-*-* xfail for
28596 "backtrace from call7b" if compiled with gcc.
28597 (call_after_alloca): Add rs6000-*-* xfail for
28598 "print c in call_after_alloca" and
28599 "print s in call_after_alloca" and
28600 "backtrace from call_after_alloca_subr"
28601 if not compiled with gcc.
28602 (localvars_in_indirect_call): Add rs6000-*-* xfail for
28603 "print c in localvars_in_indirect_call" and
28604 "print c in localvars_in_indirect_call" and
28605 "backtrace in indirectly called function" and
28606 "stepping into indirectly called function"
28607 if not compiled with gcc.
28608 (localvars_after_alloca): Add rs6000-*-* xfail for
28609 "print c after runto localvars_after_alloca" and
28610 "print s after runto localvars_after_alloca" and
28611 "print i after runto localvars_after_alloca" and
28612 "print l after runto localvars_after_alloca"
28613 for all compilers.
28614 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
28615 than whatis-info.exp.
28616 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
28617 than opaque-info.exp.
28618 Setup rs6000-*-* xfail for
d63a86f8 28619 "ptype on opaque struct pointer (statically)" and
c906108c
SS
28620 "ptype on opaque struct pointer (dynamically)" when
28621 not compiled with gcc.
28622 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
28623 rather than callf-info.exp.
28624 (do_function_calls): Add clear_xfail for rs6000-*-* for
28625 "p t_float_values2(3.14159,float_val2)". Seems to work
28626 fine there, both with xlc and gcc. Need to find out what
28627 it is doing right and fix other platforms.
28628 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
28629 "call inferior func with struct - returns int",
28630 "call inferior func with struct - returns long",
28631 "call inferior func with struct - returns float",
28632 "call inferior func with struct - returns double",
28633 "call inferior func with struct - returns char *",
28634 but only if not gcc compiled (presumes xlc compiled).
28635 Change rs6000-*-* xfails for
28636 "call inferior func with struct - returns char" and
28637 " call inferior func with struct - returns short" to only
28638 xfail if not using gcc.
28639 (clean mostlyclean): Remove *.ci and *.tmp files.
28640 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
28641 than templ-info.exp.
28642 * gdb.base/langs.exp: Source gdb.base/langs.ci.
28643 Add rs6000-*-* xfail for "up to foo in langs.exp"
28644 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 28645 when not gcc compiled.
d63a86f8 28646
c906108c
SS
28647Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28648
28649 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
28650 * gdb.base/corefile.exp: Likewise.
28651 * gdb.base/list.exp: Likewise.
28652 * gdb.base/scope.exp: Likewise.
28653 * gdb.base/siganls.exp: Likewise.
28654
28655 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
28656 compiler output.
28657 * gdb.base/whatis.exp: Likewise.
28658
28659Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
28660
28661 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
28662 failure (opcode table has been fixed to match reality).
28663
28664Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
28665
28666 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
28667 "call inferior func with struct - returns char",
28668 "call inferior func with struct - returns short"
28669
28670 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
28671 "print 'scope0.c'::filelocal at main",
28672 "print 'scope0.c'::filelocal_bss in test_at_main",
28673 "print 'scope0.c'::filelocal at foo",
28674 "print 'scope0.c'::filelocal_bss in test_at_foo",
28675 "print 'scope0.c'::filelocal at bar",
28676 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 28677
c906108c
SS
28678 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
28679 in source file 1". This bug seems to have been fixed with both
28680 gcc and native cc (was native assembler bug?).
28681
28682Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
28683
28684 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
28685 "backtrace through signal handler" to "i*86-*-sysv4*".
28686 * gdb.base/signals.exp: Add xfail for "'next' behaved as
28687 continue" case. Add "known SVR4 bug" to fail message.
28688 Add "i*86-*-bsdi2.0" xfail for "handle all print".
28689 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
28690 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
28691 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
28692 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
28693 "up to foo in langs.exp", "show language at foo in
28694 langs.exp", "up to cppsub_ in langs.exp", "show
28695 language at cppsub_ in langs.exp", "up to fsub in
28696 langs.exp", and "show language at fsub in langs.exp".
28697 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
28698 "bactrace in corefile.exp".
28699 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
28700 "call inferior function with struct - returns float" and
28701 "call inferior function with struct - returns double".
d63a86f8 28702
c906108c
SS
28703Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
28704
28705 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
28706 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
28707 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
28708 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
28709
28710Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
28711
28712 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
28713 (or overriden) "CHILL" macro rather then bare "gcc".
28714 Also look for ../../gcc/xgcc since that is what we will
28715 actually need, not "Makefile". Remove following assignment
28716 of CHILL to CHILL_FOR_TARGET because that results in
28717 recursive definition.
28718
28719Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
28720
28721 * gdb.base/corefile.exp: Change xfail for backtrace in
28722 corefile.exp from linuxaout to all linux.
28723 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
28724 cases where we miss the breakpoint at the signal handler
28725 for some reason. Setup xfail for linuxoldld/linuxaout and
28726 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
28727 hitting SIGURG breakpoint.
28728 * gdb.base/signals.exp: Setup xfail for "next" acting like
28729 continue to add linuxoldld. Setup xfail for all linux for
28730 "next to handler in signals_tests_1", "backtrace in
28731 signals_tests_1", "continue to func1", "pass SIGUSR1",
28732 and continue to handler".
28733
28734Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
28735
28736 * Update all FSF addresses except those in COPYING* files.
28737
28738Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
28739
28740 * gdb.base/a2-run.exp: Change messages to be more explicit about
28741 the status of args, and quote binfile in results.
28742
28743Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
28744
28745 * gdb.base/callfuncs.exp: Add tests for passing structs to
28746 inferior functions and return various types.
28747 * gdb.base/callfuncs.c: Add functions to receive a struct
28748 and return a member of the struct, in various types.
28749
28750Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28751
28752 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
28753
28754Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
28755
28756 * config/vxworks29k.exp: New file, sources vxworks.exp.
28757
28758Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28759
28760 * config/gdbremote.exp: New file. Testing framework using
28761 gdbserver.
28762
28763Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
28764
28765 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
28766 "call function when asleep" and "send end of file".
28767 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
28768 for "backtrace in corefile.exp".
28769 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
28770 for "backtrace through signal handler".
28771 * gdb.base/corefile.exp: Make sure we actually generate a core file
28772 before trying the core tests. Some systems allow the user to suppress
28773 generation of core files and default to that (linux for example).
28774 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
28775 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
28776
28777Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28778
28779 * gdb.threads: New directory with some crude multi-threaded
28780 gdb tests (step.exp and step2.exp).
28781 * config/mt-lynx (STEP_EXECUTABLE): Define.
28782 (THREADFLAGS): Define.
28783
28784Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
28785
28786 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
28787
28788 * gdb.base/signals.exp: Disable whole file for lynx until
28789 further notice.
28790
28791 * gdb.base/signals.exp: xfail test where "next" acts like
28792 "continue" for lynx.
28793
28794 * gdb.base/interrupt.exp: xfail test for calling function while
28795 inferior is asleep for lynx.
28796
28797 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
28798 than one cr-lf after each command.
28799
28800Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28801
28802 * configure.in: Reinstate setting of stabsdirs variable, fix
28803 typo in setting up configdirs for native builds.
28804
28805 * gdb.base/return.exp: Fix typo in return double test.
28806 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
28807 compiler from optimizing them away.
28808
28809Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
28810
28811 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
28812 sequences to be echo'd by gdb when using gdb_test.
28813 * gdb.chill/chexp.exp: Likewise.
28814 * gdb.fortran/exprs.exp: Likewise
28815
28816Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
28817
28818 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
28819 after the inferior gdb has started.
28820
28821 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
28822 after each command.
28823 * gdb.base/funcargs.exp: Likewise.
28824 * gdb.base/gdbvars.exp: Likewise.
28825 * gdb.base/interrupt.exp: Likewise.
28826 * gdb.base/list.exp: Likewise.
28827 * gdb.base/watchpoint.exp: Likewise.
28828 * gdb.c++/demangle.exp: Likewise.
28829 * gdb.c++/inherit.exp: Likewise.
28830 * gdb.chill/chexp.exp: Likewise.
28831 * gdb.fortran/exprs.exp: Likewise.
28832
28833 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
28834 test if we can't handle IO to/from the inferior.
28835
28836 * gdb.c++/misc.exp: Always check for a program already being
28837 started after sending a "run" command to gdb.
28838
28839 * gdb.base/twice.exp: Start with a fresh gdb.
28840
28841 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28842 only depend on gdb's expression code, not the chill runtime.
28843
28844 * gdb.base/return.c: Put return values into variables so we
28845 can have gdb print them rather than depending on the program
28846 to print them.
28847 * gdb.base/return.exp: Corresponding changes.
28848
28849 * lib/gdb.exp: Provide default value for noinferiorio.
28850 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28851 the inferior.
28852
28853 * gdb.base/break.exp: Always check for a program already being
28854 started after sending a "run" command to gdb.
28855 (text_next_with_recursion): Don't check the output from the
28856 program's printf statement. Instead just make sure the program
28857 exited.
28858
28859 * gdb.base/commands.exp: Protect tests which need arguments with
28860 $noargs conditionals.
28861
28862Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28863
28864 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
28865 of structure member arrays to match gdb/valops.c:value_addr change.
28866
28867Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
28868
28869 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28870 cases.
28871
28872Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
28873
28874 * configure.in (configdirs): Remove gdb.chill from default list
28875 of subdirs and then add it back in only if doing a native build.
28876 The current chill compiler does not yet work in any cross build.
28877 * Revert all signal changes from Jul 6.
28878 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
28879 for sh-hms targets, allowing these tests to link, with no other
28880 changes. Testing is suppressed by setting "nosignals" in site.exp.
28881
28882Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28883
28884 * configure.in (signaldirs): Define and add to configdirs for all
28885 targets except some specific ones that are known to not support signals.
28886 Also clean up formatting.
28887 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28888 (signals, sigall): Remove rules to build.
28889 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28890 Moved to new gdb.signals directory.
28891 * gdb.signals: New test directory.
28892 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28893 signals.c signals.exp}: New or moved files.
28894
28895Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28896
28897 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28898
28899Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28900
28901 * gdb.base/return.exp: Xfail `return double' test failure
28902 on at least Solaris 2.3 and handle future/past versions on
28903 a case by case basis as appropriate. Also update message
28904 to include i*86 failures.
28905
28906Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28907
28908 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28909
28910 * lib/gdb.exp: Fix comment which erroneously identified
28911 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28912 gdb_file_cmd not gdb_load).
28913 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28914
28915 * gdb.base/setvar.exp: Make test names consistent between pass and
28916 fail cases. Use gdb_test more.
28917
28918Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28919
28920 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28921
28922Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28923
28924 * gdb.base/help.exp: Fix expected help string for `show commands'.
28925
28926Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28927
28928 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28929
28930 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28931 of a text section.
28932
28933Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28934
28935 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28936 that loop eventually terminates. Fix Connection refused logic so
28937 that testsuite will expire nicely.
28938
28939Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28940
28941 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28942 config/rom68k.exp: New tcl glue for the appropriate monitors.
28943 These all just end up calling monitor.exp.
28944 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28945 refused' by retrying. Cleanup some timeout issues.
28946 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28947 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28948 callers don't have to set/restore global timeout variable.
28949
28950 * The following set of changes centralizes management of the global
28951 timeout variable. This way, it can be set in one target dependent
28952 place instead of dozens of places scattered throughout the test suite.
28953 If you need to lengthen a timeout, then you should either set timeout
28954 in one of the config/{target}.exp files, or multiply it by a factor.
28955 Setting it to an absolute value is always going to lose for some
28956 targets.
28957 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28958 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28959 * gdb.base/funcargs.exp: Don't set timeout.
28960 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28961 * gdb.base/printcmds.exp (test_print_string_constants
28962 test_print_array_constants): Don't set timeout.
28963 * gdb.base/ptype.exp: Don't set timeout.
28964 * gdb.base/recurse.exp: Don't set timeout.
28965 * gdb.base/return.exp: Don't set timeout.
28966 * gdb.base/watchpoint.exp: Don't set timeout.
28967 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28968 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28969
28970Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28971
28972 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28973
28974Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28975
28976 * lib/gdb.exp: Disable chill tests for irix5.
28977
28978Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28979
28980 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28981 each test pass or fail.
28982
28983Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28984
28985 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28986 xlc not gcc.
28987
28988Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28989
28990 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28991
28992Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28993
28994 * config/est.exp: Fix copyright and comments. Remove dead code.
28995 Use targetname, serialport and baud variables instead of fixed
28996 constants.
28997 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28998 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28999
29000Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29001
29002 * gdb.base/watchpoint.exp: Don't run
29003 test_watchpoint_triggered_in_syscall for sunos.
29004
29005Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29006
29007 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
29008 they don't seem to exist. Do include stdio.h.
29009
29010Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29011
29012 * gdb.base/a1-selftest.exp: Add alpha xfail.
29013
29014Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29015
29016 * gdb.base/watchpoint.c (main): Prompt before calling read().
29017 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29018 Revise accordingly. Remove cruft about sending "123" several
29019 times, until it gets noticed. Clean up the "print buf[0]" stuff
29020 so that it passes or fails, and waits for prompts in the usual way.
29021
29022Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29023
29024 * gdb.base/recurse.exp: Fix comment.
29025
29026 * TODO: Remove item about printing variables in nodebug.exp. Add
29027 item about enabling tests which are only run on some targets.
29028
29029 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
29030 fail, make test names unique, use new gdb_test convention
29031 regarding pattern, use gdb_test more, etc.).
29032
29033 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
29034 fail, make test names unique, etc.).
29035
29036Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29037
29038 * gdb.base/nodebug.c: Change return type of top and middle to
29039 short.
29040 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
29041 are fixed by the recent mdebugread.c changes. Allow `short ()'
29042 as type for top and middle.
29043
29044Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29045
29046 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
29047 nearly as I can tell, the whole thing was an accident in Stu's
29048 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
29049 to replace a send/expect pair with gdb_test, but ended up only
29050 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
29051 of 30 Mar 1995 took care of it, but left this vestigial comment
29052 which I am now nuking.
29053
29054Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29055
29056 * gdb.base/break.exp: Look for different line number for
29057 breakpoint at main depending on usestubs.
29058
29059Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29060
29061 * gdb.base/list.exp: Adjust some alternate expect patterns to
29062 match recent list0.c change. Add alternate expect pattern for
29063 output from `list default lines around main' for optimizing
29064 compilers.
29065
29066Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29067
29068 * lib/gdb.exp: If nosignals is not set, set it to 0.
29069
29070Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
29071
29072 * config/slite-gdb.exp: Responds to load symbol table prompt.
29073 * gdb.base/break.exp: Adjust line number, fix rerun.
29074 * gdb.base/langs0.c: Add #ifdef usestubs.
29075
29076Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
29077
29078 * gdb.base/list.exp: Adjust line contents after adding new lines in
29079 list0.c. Also fix a syntax error.
29080
29081 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
29082 * gdb.base/break.exp: ditto.
29083 * gdb.base/list.exp: ditto.
29084 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
29085 * gdb.base/run.c: ditto.
29086 * gdb.base/list0.c: ditto.
29087 * gdb.base/funcargs.c: ditto.
29088
29089Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
29090
29091 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
29092 $targetname, $serialport and $baud instead of hardwired variables.
29093 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
29094 target doesn't support signals.
29095
29096Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
29097
29098 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
29099
29100Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29101
29102 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
29103 Don't rely on the value of an auto variable before it has been
29104 initialized. Use gdb_test more.
29105
29106Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29107
29108 * lib/gdb.exp (default_gdb_version): A version number must start
29109 with a digit, but other than that contains all characters up to
29110 the first whitespace character.
29111
29112Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29113
29114 * gdb.base/commands.exp (breakpoint_command_test): New tests.
29115
29116Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29117
29118 * gdb.c++/*.exp: Warn if executable does not exist. The original
29119 reason for skipping the warning was that configure.in sometimes
29120 intentionally skipped building the executables but the tcl code
29121 had no way of knowing. That (a) was always bogus with respect to
29122 error handling, (b) is no longer true (right now there is no way
29123 to skip C++ tests).
29124
29125 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
29126
29127Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29128
29129 * gdb.base/list.exp: Add expect patterns for output from
29130 SunPRO compiled executables.
29131 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
29132 types.
29133
29134Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29135
29136 * gdb.base/break.exp (test_next_with_recursion): Accept any line
29137 number (we are already testing that the correct source line text
29138 gets printed).
29139
29140 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
29141 that is what is intended, but something needed to be done to get
29142 sunos4 native working again.
29143
29144 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
29145
29146 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
29147 apparently went with a (very) old xfail.
29148
29149Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
29150
29151 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
29152 runto_main is a proc in gdb.exp that will do 'step' for target use
29153 stubs.
29154 * gdb.base/exprs.exp: ditto.
29155 * gdb.base/interrupt.exp: ditto.
29156 * gdb.base/opaque.exp: ditto.
29157 * gdb.base/printcmds.exp: ditto.
29158 * gdb.base/ptype.exp: ditto.
29159 * gdb.base/scope.exp: ditto.
29160 * gdb.base/setvar.exp: ditto.
29161 * gdb.base/signals.exp: ditto.
29162 * gdb.base/twice.exp: ditto.
29163 * gdb.c++/classes.exp: ditto.
29164 * gdb.c++/inherit.exp: ditto.
29165 * gdb.c++/templates.exp: ditto.
29166 * gdb.base/break.exp: no run and hit main for stubs. Change line
29167 numbers for breakpoints and info breakpoint.
29168 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
29169 breakpoint().
29170 * gdb.base/callfuncs.c: ditto.
29171 * gdb.base/exprs: ditto.
29172 * gdb.base/interrupt.c: ditto.
29173 * gdb.base/opaque0.c: ditto.
29174 * gdb.base/printcmds.c: ditto.
29175 * gdb.base/ptype.c: ditto.
29176 * gdb.base/scope0.c: ditto.
29177 * gdb.base/setvar.c: ditto.
29178 * gdb.base/signals.c: ditto.
29179 * gdb.base/twice.c: ditto.
29180 * gdb.c++/misc.cc: ditto.
29181 * gdb.c++/templates.cc: ditto.
29182
29183Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29184
29185 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
29186
29187 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
29188 somewhere between `read' and `main.c'. I'm pretty sure the
29189 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
29190 and it isn't particularly useful.
29191
29192 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
29193
29194Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29195
29196 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
29197
29198Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
29199
29200 * config/mt-slite: add LIBS and -nostdlib.
29201 * config/slite-gdb.exp: add this new file to support sparclite target.
29202
29203Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
29204
29205 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
29206
29207 * gdb.base/a2-run.exp: Change argument to istarget from
29208 "*-*-vxworks" to "*-*-vxworks*".
29209 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
29210
29211Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
29212
29213 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
29214 will not runto main but do a 'step' to step out of breakpoint().
29215 * config/mt-slite: add -Dusestubs.
29216
29217Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29218
29219 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
29220 instead of just @.
29221
29222 * gdb.base/signals.exp: Add test for "handle all print".
29223 * TODO: Remove "handle all print". Also remove item about
29224 checking copyright date (I don't like the idea of a spurious FAIL
29225 based on when we run the tests).
29226
29227 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
29228 for SunOS4 (reason for failure not investigated). Remove
29229 redundant test for $binfile.
29230
29231 * gdb.base/nodebug.c (array_index): Call malloc.
29232
29233 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
29234
29235Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
29236
29237 * gdb.base/recurse.exp: Update gdb_test invocation to use new
29238 conventions and slightly simplify the matching regexp.
29239
29240Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29241
29242 * gdb.base/break.exp: Update gdb_test invocation to use new
29243 convention.
29244
29245 * lib/gdb.exp: If noargs is not set, set it to 0.
29246
29247 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
29248 tests unique.
29249
29250 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
29251
29252Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29253
29254 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
29255 one argument of type "<non-float parameter>".
29256
29257Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
29258
29259 * config/rom68k.exp: New file to support Motorola IDP board.
29260 * gdb.base/a2-run.exp: Skip this file if noargs is set.
29261 * gdb.base/break.c: Change things around so that this program
29262 doesn't depend upon args. This is necessary to make remote
29263 targets work (in general, they can't take args).
29264 * gdb.base/break.exp: Don't try to send args to program. Don't
29265 expect output. Also, replace lots of code with gdb_test.
29266
29267Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29268
29269 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
29270 printing of '\'' (which is what the comment says we are testing,
29271 even though we were not), not '''.
29272 (test_integer_literals_rejected): Test that printing ''' is an error.
29273
29274 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29275 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
29276 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
29277 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
29278 Use gdb_test not test_print_accept.
29279 * lib/gdb.exp: Remove test_print_accept.
29280
29281 * gdb.base/signals.exp (signal_tests_1): Make pass message
29282 consistent with fail message.
29283
29284 * gdb.base/whatis.exp: Remove xfails for printing char vs.
29285 unsigned char; the bug (PR 1821) is fixed.
29286
29287 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
29288
29289 * gdb.base/scope.exp (test_at_localscopes): Call pass for
29290 successful tests--makes xfailing them work right.
29291
29292Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29293
29294 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
29295 only \r\n, not .*. The test can pass .* as the last thing in
29296 $pattern if that is what it wants. In addition to providing this
29297 flexibility, this change should speed up pattern matching in cases
29298 where the pattern already ended with .* (there were a number of
29299 them). This change also helps catch bad patterns--in the old
29300 scheme the typo "char \*" instead of "char \\*" would pass. Now
29301 it is caught.
29302 * Many .exp files: Update callers.
29303
29304 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
29305 clearer and does not spuriously match multiple ('s. Likewise for
29306 ) and *.
29307
29308 * gdb.base/nodebug.exp: Test ability to call a function and pass
29309 it a string (even with no debugging info).
29310
29311 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
29312 "p '\'", which is the same as "p ''" once tcl gets done with
29313 quoting, to "p '\\'", which I suspect is what is intended (one
29314 backslash gets sent to GDB).
29315
29316 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
29317
29318Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29319
29320 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
29321 1817) was fixed literally years ago.
29322
29323Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29324
29325 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
29326 test, it causes stepping out of call_after_alloca_subr with
29327 optimizing compilers.
29328 (localvars_in_indirect_call): Consume GDB prompt if `finish'
29329 fails.
29330
29331 * gdb.c++/templates.exp: Source templ-info.exp only if
29332 the templates executable exists.
29333
29334 * gdb.c++/misc.cc (class Contains_static_instance,
29335 class Contains_nested_static_instance),
29336 gdb.c++/classes.exp (test_static_members): Test printing of
29337 a class that contains a static instance of the class.
29338
29339Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29340
29341 * gdb.base/langs2.c (cppsub_): Don't prototype.
29342 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
29343 only, I believe).
29344
29345Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29346
29347 * lib/gdb.exp (skip_chill_tests): New procedure.
29348
29349 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
29350
29351Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
29352
29353 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
29354 each expect pattern. Cuts runtime from 12 to about 4 seconds.
29355
29356Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29357
29358 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
29359
29360 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
29361 disassemble 8, not 16, instructions for part 4.
29362
29363 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
29364 support the latter anymore.
29365
29366 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
29367 -DNO_PROTOTYPES.
29368 * gdb.base/callfuncs.c: Control use of prototypes based on
29369 NO_PROTOTYPES, not __STDC__.
29370 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
29371 t_float_values2 tests if prototypes in use.
29372
29373 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
29374 t_double_values): When checking differences against DELTA, check
29375 that difference is within the range (-DELTA,DELTA), not just
29376 (-infinity,DELTA).
29377
29378Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
29379
29380 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
29381 'file' command firts, then 'target', then 'load', this is due to gdb
29382 target set up.
29383 * config/mips-gdb.exp: Fix a couple regular exp bugs.
29384
29385Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
29386
29387 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
29388 FP load/store variants.
29389 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
29390
29391Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29392
29393 * gdb.base/term.exp: Do not give a warning if not native, it is
29394 not an abnormal condition.
29395
29396Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
29397
29398 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
29399 t_char_array".
29400
29401Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
29402
29403 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
29404 are getting the version number.
29405
29406 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
29407 if not native, it is not an abnormal condition.
29408
29409Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29410
29411 * lib/gdb.exp: Just use "file exists", rather than undocumented
29412 dejagnu procedure "findfile".
29413
29414Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29415
29416 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
29417 (LDFLAGS): Set to -Xlinker -Ur.
29418
29419 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
29420 Removed, these values are set by lib/gdb.exp.
29421
29422 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
29423
29424Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
29425
29426 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
29427 of replicating gdb startup code.
29428
29429 * config/mt-vxworks (LDFLAGS): Set to -r.
29430 (CFLAGS_FOR_TARGET): Removed.
29431
29432 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
29433 (gdb) and gdb for vxworks uses (vxgdb).
29434
29435 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
29436 executable is not in the tree and host != target, use sed and
29437 program_transform_name to determine the gdb name used by the
29438 target.
29439
29440 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
29441 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
29442
29443Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29444
29445 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
29446 floats, chars, and shorts where there are ANSI-style function
29447 definitions.
29448
29449 * gdb.base/langs.exp, gdb.base/langs*: New test.
29450 * gdb.base/Makefile.in: Build it.
29451 * TODO: Remove item about checking that C names don't get C++
29452 demangling applied; this test tests it.
29453
29454Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29455
29456 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
29457 went with the const70 xfail. The xfail went away a year ago.
29458
29459 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
29460
29461 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
29462 for hp300.
29463
29464 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
29465
29466 * gdb.base/a1-selftest.exp: Don't run on hp300.
29467
29468Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29469
29470 * Makefile.in (site.exp): Set host_alias and target_alias as well
29471 as host_triplet and target_triplet.
29472
29473Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29474
29475 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
29476
29477 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
29478 places as other ecoff systems).
29479
29480 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
29481 ultrix.
29482
29483Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29484
29485 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
29486 remove them.
29487 * gdb.base/nodebug.exp: Accept "function" in addition to "text
29488 variable and "variable" in addition to "data variable".
29489 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
29490
29491 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
29492 2.
29493 * gdb.base/list1.c (long_line): Add additional statement at start
29494 of function.
29495 * gdb.base/list.exp (test_forward_search): Update line number to
29496 reflect new statement.
29497
29498Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29499
29500 * gdb.base/signals.exp: Reinitialize searched source directories
29501 after gdb_start call.
29502
29503Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
29504
29505 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
29506 * gdb.stabs/Makefile.in: Likewise.
29507
29508 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
29509 change. Instead split the tests into smaller pieces.
29510 * gdb.disasm/hppa.s: Corresponding changes.
29511
29512Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29513
29514 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29515 Quote ^C when passing it to stty. For some shells ^ is a pipe.
29516
29517 * gdb.base/funcargs.exp: Modify many tests so that every test
29518 either passes or fails. Make some test names unique.
29519
29520Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29521
29522 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
29523 Call stty to set interrupt character.
29524
29525 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
29526 for HP assembler versus GNU assembler based on actual behavior of
29527 $(CC), rather than assuming that $(AS) is always the GNU assembler.
29528
29529 * TODO: Suggest a few more stepping tests.
29530
29531Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
29532
29533 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
29534 restart GDB for h8300 after a continue.
29535 (return): Add pattern to match a29k-udi behavior.
29536 * gdb.base/nodebug.exp: Remove obsolete comment.
29537 * gdb.base/regs.exp: New file, testing of register displays.
29538 * gdb.base/return.exp: Fix typo in reference to $objdir.
29539 * gdb.base/whatis.exp: Always start with a fresh GDB.
29540
29541Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29542
29543 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
29544 higher, these tests generate a lot of output.
29545
29546Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29547
29548 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
29549 code following the catch silently ignored some errors; without the
29550 catch they should be thrown like any other tcl error. Also, the
29551 catch used "" instead of {} which meant all the callers who wanted
29552 to include one of the characters "[]$ had to quote it an extra time.
29553 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
29554 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
29555 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
29556 Remove extra quoting.
29557
29558Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
29559
29560 * gdb.base/commands.exp: Make test names unique; every test either
29561 passes or fails. Update some comments.
29562
29563 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
29564
29565Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29566
29567 The following fixes a FAIL caused by the fact that the alpha stabs
29568 configuration didn't use the ".if alpha" code in weird.def.
29569 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
29570 bit pointer, so the 32 bit version works even on the alpha.
29571 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
29572 Remove the stuff which allowed us to have separate versions for
29573 alpha and everything else.
29574
29575 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
29576 regexp which "info func operator\[\](" is supposed to match. Fix
29577 string to send to GDB. Note that GDB still doesn't work right. Add a
29578 new test for "info func .perator\[\](" which GDB does handle correctly.
29579
29580 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
29581
29582Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29583
29584 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
29585 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
29586 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
29587 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
29588 it makes the tests harder to understand and confuses test-o-matic.
29589 The preferred style is that each test provides a PASS or a FAIL,
29590 and has a unique message (e.g. "continue #54" not just "continue")
29591 which is the same for the pass and the fail.
29592 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
29593 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
29594 to lib/gdb.exp.
29595 * gdb.base/printcmds.exp: Use test_print_accept. Remove
29596 prt_accept which was basically the same thing. Likewise for
29597 test_print_reject and prt_reject.
29598 * lib/gdb.exp (test_print_reject): Add some more error message
29599 patterns to match from the former printcmds.exp (prt_reject).
29600 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
29601 One defect of the passcount stuff is that some of it failed to
29602 report XPASS where appropriate.
29603 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
29604 stuff before and after arg in expected pattern.
29605 (test_paddr_operator_functions): Re-do test without print_addr_of;
29606 this is the only test which seems to want extra stuff there.
29607
29608Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29609
29610 * gdb.base/nodebug.exp: Update new tests to reflect improved
29611 wording of gdb output.
29612
29613 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
29614 and "ptype" work on variables in files compiled without -g.
29615 Replaces commented out "maint print msymbol" tests.
29616
29617Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29618
29619 * gdb.base/setvar.c (dummy): Call malloc.
29620
29621 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
29622 losing with the irix4 sed.
29623
29624 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
29625 ALRM" on irix4.
29626
29627Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29628
29629 * TODO: Remove items about corefile.exp testing new exec-file and
29630 backtrace; both are now done. Add items about printing enums.
29631
29632Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29633
29634 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
29635 "get signal $thissig" test fails.
29636
29637 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
29638
29639Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29640
29641 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
29642 compiler warning with dec alpha compiler.
29643
29644 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
29645 extra \n from gdb_test call (this explains why the prompt test
29646 that I removed yesterday was there).
29647 (user_defined_command_test): Remove extra \n and prompt test.
29648
29649 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
29650 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
29651 doesn't exist.
29652 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
29653 Also remove alpha workaround, which turns out to be because
29654 SIGABRT == SIGLOST.
29655
29656 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
29657
29658 * gdb.base/help.exp: Don't test "help show".
29659
29660Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29661
29662 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
29663 "set print address" is on.
29664 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
29665 pass prompt to gdb_test; gdb_test already looks for the prompt.
29666
29667 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
29668
29669 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
29670 was a vestige of the manual TESTSTRATEGY, and the purpose of it
29671 was to make sure that gdb can read a core file. But (a) the "read
29672 the corefile" part didn't make it to a1-selftest.exp, we just
29673 delete the corefile after creating it, and (b) we test reading
29674 corefiles in corefile.exp anyway. Also, this test left around a
29675 xgdb process on Solaris.
29676
29677 * gdb.base/corefile.exp: Also test backtrace.
29678
29679Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
29680
29681 * gdb.base/commands.exp: Test a simple user defined command with
29682 arguments and if/while statements; verify the full user command is
29683 printed by "show user".
29684
29685 * gdb.base/commands.exp: Test if/while commands as part of a
29686 breakpoint command list; verify they appear in breakpoint
29687 information.
29688
29689Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29690
29691 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
29692 than by dividing by zero.
29693
29694Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
29695
29696 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
29697 performing an inferior call with watchpoints enabled.
29698 * gdb.base/watchpoint.c (main): Delete second unnecessary read
29699 call.
29700
29701Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29702
29703 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
29704 of "file" command.
29705
29706 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
29707 Add additional pattern for when "int operator int(void);" appears
29708 in a different order.
29709
29710Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
29711
29712 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
29713
29714 * gdb.base/help.exp: Replace most of docstrings for "info signals"
29715 and "signal" with ".*".
29716
29717Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
29718
29719 * TODO: Add note about "handle all nostop".
29720
29721 * gdb.base/{sigall.c, sigall.exp}: New test.
29722 * gdb.base/Makefile.in: Add it.
29723
29724Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
29725
29726 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
29727 when invoking GDB, suppresses any windowing interface.
29728
29729Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
29730
29731 * config/sim-gdb: New file, simulator testing support.
29732
29733Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
29734
29735 * gdb.base/interrupt.exp: Test calling func1 twice.
29736
29737Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
29738
29739 * gdb.base/list.exp (test_forward_search): Set timeout higher
29740 when we'll be getting lots of output from gdb.
29741
29742 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
29743 "init_malloc" to after the expect statement. Run it if that
29744 regexp is taken, but also for two others which happen if source
29745 cannot be found.
29746
29747Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29748
29749 * gdb.base/printcmds.exp: New test, for printing register before
29750 program is running.
29751
29752Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29753
29754 * gdb.base/list.exp: Correct some alternate expect patterns
29755 to reflect changes in list1.c.
29756
29757Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29758
29759 * TODO: Add item regarding large frames.
29760
29761 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
29762
29763 * TODO: Remove item about enabling return.exp; it
29764 is enabled. Suggest a few more "return" tests.
29765
29766Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29767
29768 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
29769 anonymous unions.
29770
29771Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29772
29773 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
29774 and pr-5646.o, so "make" is the same as "make all", not "make
29775 pr-4975.o".
29776
29777Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
29778
29779 * gdb.base/list.exp: Adjust expectations to reflect changes in
29780 list1.c.
29781 (test_forward_search): New test proc.
29782 * gdb.base/list1.c (long_line): New function, has long source line.
29783
29784Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
29785
29786 * gdb.base/a1-selftest.exp: Change initial stepping to know about
29787 additional line of code that was added.
29788
29789Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
29790
29791 * gdb.disasm/hppa.s: Break the large branching tests into smaller
29792 tests so as not to overflow expect's input buffers.
29793 * gdb.disasm/hppa.exp: Corresponding changes.
29794
29795Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29796
29797 Beginnings of template debugging tests.
29798 * gdb.c++/templ-info.cc: New file to test for template
29799 debugging capability of the compiler.
29800 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
29801 templ-info.cc.
29802 * gdb.c++/templates.cc: Add explicit template instantiations
29803 to enable compiling with -fno-implicit-templates. Add destructor
29804 and 'value' method to T5 class for template tests.
29805 * gdb.c++/templates.exp: Add testcases for printing of template
29806 types, setting breakpoints on template methods and calling a
d63a86f8 29807 template method.
c906108c
SS
29808
29809Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
29810
29811 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
29812 branch target since some assemblers (gas-2.5) may emit a
29813 relocation for the branch instead of resolving it in the
29814 assembler.
29815
29816Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29817
29818 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
29819 through signal handler.
29820
29821Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29822
29823 * configure.in (*-*-netware): Use config/mt-netware.
29824
29825 * config/mt-netware: New file.
29826 * config/mt-i386-netware: Removed, separate configs for different
29827 netware architectures are no longer needed now that we have
29828 --with-headers.
29829
29830Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29831
29832 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
29833 by the recent changes to use ANSI C arithmetic conversions.
29834
29835Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29836
29837 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29838 bug involving using inferior_pid to figure out whether to select a
29839 frame.
29840
29841Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
29842
29843 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29844 match the current disassembler output.
29845
29846Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
29847
29848 * gdb.fortran/exprs.exp: Expect VOID instead of void.
29849 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29850 types, expect "int" as type of integer values (for now).
29851
29852Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
29853
29854 * gdb.base/commands.exp: New tests for if/while commands.
29855
29856Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
29857
29858 * lib/gdb.exp (runto): Replace sub-pattern for hex value
29859 by .*, since hex values have different syntax in Chill mode.
29860
29861Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29862
29863 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
29864 linefeed from expect pattern for repeated types with indices > 9.
29865
29866Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
29867
29868 First part of Fortran test suite.
29869 * gdb.fortran: New directory.
29870 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29871
29872Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29873
29874 * gdb.base/default.exp: Update expect pattern for load command
29875 without arguments.
29876
29877Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
29878
29879 * configure.in: Change i386 to i[345]86.
29880 * gdb.base/configure.in: Likewise.
29881 * gdb.c++/configure.in: Likewise.
29882 * gdb.chill/configure.in: Likewise.
29883
29884Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29885
29886 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29887 patterns, since that is not a valid context for comments.
29888
29889Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29890
29891 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29892 repeated types and repeated types with indices > 9.
29893
29894Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29895
29896 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29897 2417; old bug has been fixed.
29898
29899Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29900
29901 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29902 send the newline ourselves instead of assuming gdb_test will do
29903 so when passed an empty input string.
29904
29905 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29906 stabs testcode.
29907
29908Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29909
29910 * lib/gdb.exp (gdb_test): Don't send anything if the first
29911 argument is an empty string. This makes cases where we want to
29912 match output that is already in expect's buffers (for example,
29913 matching a breakpoint after gdb_run_cmd has been called) work
29914 reliably.
29915
29916Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29917
29918 * config/netware.exp: New file.
29919
29920Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29921
29922 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29923 the -B and -L prefixes so we can find the debugging stub.
29924
29925 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29926 there and we are using the gcc from the tree.
29927
29928 * gdb.base/types.c: Removed.
29929
29930 * gdb.base/configure.in: Look for makefile fragments in ../config.
29931 Recognize i386-*-netware.
29932 * gdb.c++/configure.in: Likewise.
29933
29934Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29935
29936 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29937 the correct TCL syntax.
29938
29939Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29940
29941 * gdb.base/opaque.exp: use runto instead of messing around with
29942 breakpoints. Simplify by using gdb_test.
29943
29944 * gdb.base/bitfields.exp: restart between tests on netware targets
29945 because breakpoints aren't relocated after target death. Run
29946 processes to completion.
29947
29948 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29949
29950Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29951
29952 * Makefile.in: Remove extra tabs that confuse some versions
29953 of "make". Use the newly built gdb to test with by default,
29954 rather than the first one in the tester's search path.
29955
29956Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29957
29958 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29959
29960 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29961 condition help.
29962
29963Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29964
29965 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29966
29967 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29968 running.
29969 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29970 * gdb.base/funcargs.exp: Likewise.
29971
29972 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29973 * gdb.base/funcargs.exp: Likewise.
29974
29975 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29976 message is "".
29977
29978Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29979
29980 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29981 return,signals,twice}.exp: Handle non-existant binaries
29982 consistantly.
29983
29984 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29985 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29986 might testing a cross development system.
29987
29988Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29989
29990 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29991 runtest script is relative to ${srcdir}, not ${rootdir}.
29992
29993Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29994
29995 * gdb.base/signals.exp: Allow for optionality of breakpoint
29996 address.
29997
29998Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29999
30000 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
30001
30002Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
30003
30004 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
30005 for size_t definition.
30006 * gdb.c++/templates.cc: Likewise
30007
30008 * config/mt-i386-netware: New file.
30009
30010 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
30011 defined.
30012
30013 * gdb.base/Makefile.in: Added support for systems that name core
30014 files by appending "core" to the program name.
30015 * gdb.base/a1-selftest.exp: Likewise.
30016
30017Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30018
30019 * gdb.base/return.exp: Add comment and message for `return double'
30020 test failure on Sparc Solaris.
30021
30022Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
30023
30024 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
30025
30026Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30027
30028 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
30029 from optimizing them away.
30030 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
30031 patterns to include default constructors and assignment operators,
30032 to match gcc versions beyond 2.5.8. Accept any cplus demangling
30033 character in the output of the virtual base pointer.
30034
30035Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30036
30037 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
30038 expression match in print_addr_of to avoid unintented matches.
30039 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
30040 versions up to 2.5.8.
30041
30042Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30043
30044 * gdb.base/list.exp: Tweak alternate pattern for listing of an
30045 included file to run under newer versions of expect.
30046 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
30047 consecutive >'s in templates to accomodate recent cplus-dem.c change.
30048 Remove xfail for the virtual table of BDDHookV.
30049
30050Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
30051
30052 * lib/gdb.exp (string_to_regexp): Set a default result.
30053 (default_gdb_start): Fix misleading message.
30054
30055Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
30056
30057 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
30058 Remove all CC, etc definitions.
30059 * config/mt-hpux: New file.
30060 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
30061 (CFLAGS, LDFLAGS): Define.
30062 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
30063
30064 * Makefile.in (site.exp): Don't insert host_os, etc.
30065 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
30066 (distclean): Check existence of subdir.
30067 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
30068 * gdb.base/Makefile.in: General cleanup and simplification.
30069 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30070 to build executables. Use default rule to build .o files.
30071 (EXPECT, RUNTEST, CC): Fix relative pathname.
30072 (site.exp): Don't insert host_os, etc.
30073 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
30074 and/or SIGUSR1 defined.
30075 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
30076 * gdb.c++/Makefile.in: General cleanup and simplification.
30077 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
30078 (CFLAGS): Remove.
30079 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
30080
30081Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
30082
30083 * gdb.base/recurse.exp: Misc changes to get tests running again
30084 after Kung's changes to the watchpoint code.
30085 * gdb.base/watchpoint.exp: Likewise.
30086
30087Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
30088
30089 * lib/gdb.exp (string_to_regexp): Convert {\} also.
30090
30091Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
30092
30093 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
30094 * lib/gdb.exp (default_gdb_start): Define.
30095 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
30096 gdb.base/funcargs.exp, gdb.base/opaque.exp,
30097 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
30098 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
30099 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
30100 Don't call gdb_target_udi in between tests.
30101
30102Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30103
30104 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
30105 (which was basically just a local version of the same thing). In
30106 addition to avoiding duplication, gdb_test_exact is faster.
30107 * lib/gdb.exp (gdb_test_exact): Fix typo.
30108
30109 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
30110 don't give an error.
30111
30112 * gdb.base/term.exp: Call delete_breakpoints before starting.
30113
30114 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
30115 (t10): Add comment.
30116
30117Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30118
30119 Reorganization of the GDB Test Suite.
30120
30121 * gdb.base: New directory, contains all the basic tests.
30122 * gdb.c++: New directory, tests specific to C++.
30123 * gdb.chill: New directory, tests specific to Chill.
30124 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
30125 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
30126 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
30127 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
30128 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
30129 t30-31 to chill).
30130 * */gdbme.*: Rename to match appropriate expect scripts.
30131 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
30132 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
30133 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
30134 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
30135 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
30136 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
30137 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
30138 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
30139 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
30140 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
30141 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
30142 gdb.c++/virtfunc.cc: New names of C++ files.
30143 * gdb.chill/chillvars.ch: New name of Chill file.
30144 * gdb.base/configure.in, gdb.c++/configure.in,
30145 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
30146 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
30147 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
30148 * configure.in (configdirs): Update to reflect directory changes.
30149 (target_abbrev): No longer define for any configuration.
30150 * Makefile.in: Cosmetic improvements to header comments.
30151
30152Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
30153
30154 Various changes to gdb.t31:
30155
30156 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
30157 * gdbme.ch: Make all key-words and predefineds be upper-case.
30158 * chillvars.exp: Expect key-words and predefinds in upper-case.
30159
30160 * chillvars.exp: Use gdb_test_exact many places.
30161 Change expected output for arrays (which now includes index labels).
30162
30163 * pr-5020.exp, gdme.ch (module PR_5020):
30164 New test, for PR-5020.
30165
30166Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
30167
30168 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
30169 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
30170
30171Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
30172
30173 * Makefile.in: Fix bit-rot in definitions of CHILL,
30174 CHILL_FOR_TARGET and Chill_LIB.
30175 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
30176 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
30177 CHILL, and CHILL_LIB.
30178
30179Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
30180
30181 * Revert the previous changes. Please see Rob's directory
30182 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
30183
30184Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
30185
30186 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
30187 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
30188 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
30189 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
30190 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
30191 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
30192 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
30193 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
30194 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
30195 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
30196 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
30197 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
30198 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
30199 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
30200 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
30201 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
30202 changes from 94Q1.
30203
30204Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
30205
30206 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
30207 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
30208 Rob's new testing fragments.
30209
30210Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
30211
30212 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 30213 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
30214
30215Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
30216
30217 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
30218 version also, match on casted version strings, and match on
30219 gdb startup case where the line numbers might be messed up.
30220
30221Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
30222
30223 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 30224 (CFLAGS): Delete it from here.
c906108c
SS
30225
30226Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
30227
30228 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
30229
30230Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
30231
30232 * Makefile.in (RUNTEST): Default to just "runtest".
30233
30234Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30235
30236 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
30237 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
30238 the code has been restructured.
30239
30240Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30241
30242 * gdb.t00/default.exp (set write): Allow any number of \r and/or
30243 \n, not just one of each.
30244
30245 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
30246 /bin/cc gives a warning if you do.
30247
30248Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
30249
d63a86f8 30250 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
30251 __t10ListS_link1ZUiRCUiPT0
30252
30253Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30254
30255 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
30256 on local variables in recursive functions.
30257
30258 * gdb.t07/Makefile.in: Build the new test.
30259
30260Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30261
30262 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
30263 directly. Instead compare the return values from actual calls.
30264
30265Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
30266
30267 * Makefile.in (check): Set TCL_LIBRARY for runtest.
30268
30269Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30270
30271 * From Peter Schauer with minor modifications.
a9c64011
AS
30272 * gdb.t15/return.exp (return_tests): Handle targets where "return"
30273 stops in mid-line in the caller. Add xfail for returning a float
30274 value on X86 targets.
c906108c
SS
30275
30276Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30277
30278 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
30279 to avoid expect lossage.
30280 (fmem_LRbug_tests): Likewise.
30281 * gdb.disasm/hppa.s: Corresponding changes.
30282
30283 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
30284 conditions to work with latest dejagnu/expect.
30285
30286 * gdb.t15/funcargs.exp (finish from indirect call): No longer
30287 expected to fail on the PA.
30288 (backtrace in call with trampolines): Explicitly require main
30289 to be frame #1 (no trampolines should show up in backtrace).
30290
30291 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
30292 "continue -expect".
30293 * gdb.t06/break.exp: Likewise.
30294 * gdb.t07/watchpoint.exp: Likewise.
30295 * gdb.t13/bitfields.exp: Likewise.
30296 * gdb.t15/{funcargs,return}.exp: Likewise.
30297 * gdb.stabs/weird.exp: Likewise.
30298 * config/{mips,udi}-gdb.exp: Likewise.
30299
30300 * hppa.sed: Enclose comments within a sed command to avoid
30301 losing with the old OSF1 sed.
30302
30303Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30304
30305 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
30306 sequent dynix.
30307 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
30308 * gdb.t15/funcargs.exp: Conditionally step again to really
30309 finish from marker_call_with_trampolines. Handle the case where
30310 the first step from within call_with_trampolines already steps
30311 us back to main.
30312 * gdb.t15/gdbme.c: Add comment to closing brace of
30313 call_with_trampolines for funcargs.exp.
30314
30315Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30316
d63a86f8 30317 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
30318 Fix typo(s).
30319
30320Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30321
30322 * gdb.t07/gdbme.c: More code for watchpoint testing.
30323
30324 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
30325 "Hardware watchpoint" throughout file.
30326 (test_watchpoint_triggered_in_syscall): New test.
30327 (test_complex_watchpoint): New test.
30328
30329Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30330
30331 * gdbme.c (call_with_trampolines): New function to try and step
30332 into. Tests trampoline problems on the PA.
30333
30334 * funcargs.exp (localvars_in_indirect_call): No longer expect
30335 stepping into indirect call to fail on PAs.
30336 (test_stepping_over_trampolines): New test.
30337
30338Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30339
30340 * TODO: Add suggestions for static member function tests, and
30341 completion tests.
30342
30343Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30344
30345 * TODO: Add suggestions for "p/a" tests.
30346
30347 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
30348 (default_gdb_exit): Replace all the hair with sending "quit" to
30349 the process with a simple close.
30350
30351Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30352
30353 * TODO: Add suggestions for shared library tests.
30354
30355Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30356
30357 * TODO: Add suggestions for x/s tests.
30358
30359Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30360
30361 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
30362 "enable once", and "enable breakpoints once" with ".*".
30363
30364Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30365
30366 * TODO: Add suggestions about structure passing tests.
30367
30368Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30369
30370 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
30371 the primary1 test, use work around if __GNUC__ < 2.
30372 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
30373 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
30374 Test for bad output rather than waiting for timeout. Issue
30375 second continue only if first continue failed.
30376
30377Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30378
30379 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
30380 operator[] test with gdb_test because the old code didn't seem to
30381 be getting the quoting right with the new dejagnu.
30382
30383Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
30384
30385 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
30386 one from the path.
30387 * Makefile.in: Use a fresh expect if there is one, use runtest
30388 from the src tree if there is one.
d63a86f8 30389
c906108c
SS
30390Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30391
30392 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
30393 next over recursive call. Revise the tests from that point on
30394 (which had been skipped) to match GDB's actual (correct) output.
30395
30396 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
30397 with next over a breakpoint whose condition is false.
30398
30399 * gdb.t00/help.exp: Comment out "help set print" tests just like
30400 (and for same reason as) "help set" test.
30401
30402Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30403
30404 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
30405 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
30406
30407Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30408
30409 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
30410 necessary gdb_target_udi.
30411
30412 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
30413
30414 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
30415 1838 and 2417; they are fixed.
30416
30417 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
30418 gdb.t03/ptype.exp (ptype structure, ptype union):
30419 Remove xfails; the test is looser than when the xfails were added.
30420
30421 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
30422 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
30423
30424 * gdb.t01/run.exp: Only run shell test if isnative.
30425
30426 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
30427 since "run" automatically loads if necessary. Call gdb_target_udi
30428 after the "file" since "file" kills any execution target.
30429
30430 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
30431 GDB. GDB doesn't work that way (not anymore at least) on UDI.
30432 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
30433 argument for UDI.
30434
30435Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
30436
30437 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
30438
30439 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
30440
30441Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30442
30443 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
30444 properly quoting regexps. This makes the second argument to
30445 demangle a fixed string, which matches the callers, instead of a
30446 shell-style pattern which is what the previous implementation
30447 used. Update some of the callers.
30448
30449Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30450
30451 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
30452 (comib_nullified_tests): Fix typo.
30453 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
30454 strings. No longer expected to fail.
30455
30456 * gdb.disasm/hppa.s (addib_tests): Fix typo.
30457 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
30458 strings. No longer expected to fail.
30459
30460 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
30461 string. No longer expected to fail.
30462
30463Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30464
30465 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
30466 No longer expected to fail.
30467
30468 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
30469 string. No longer expected to fail.
30470
30471Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30472
30473 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
30474 only in the names (I probably got most of them). I was even
30475 generous with some which differed in underscores in names, and
30476 probably missed a few, and I *still* was able to remove almost a
30477 third of the file with almost no impact on testsuite coverage.
30478
30479Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30480
30481 * gdb.t00/default.exp: Match udi_attach error message as well as
30482 the one from child_attach.
30483
30484 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
30485
30486 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
30487
30488 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
30489 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
30490
30491 * Move test with enums and partial symbols back to
30492 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
30493 Reverts the change of 26 May 93. Per today's change to
30494 stabs.texinfo, the behavior that weird.exp was expecting was
30495 unreasonable; what is important is that the compiler+gdb get
30496 things right, which happens with a recent gcc. Also fix the test
30497 to deal with native compilers which put out the stab gdb can't
30498 deal with.
30499
30500Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30501
30502 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
30503 in the names. The main thing these accomplish is to slow things down.
30504 Many more such duplicates surely remain.
30505
30506 * gdb.t00/help.exp: Comment out "help support" test just like
30507 (and for same reason as) "help set" test.
30508
30509Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
30510
30511 * gdb.t06/break.exp: Remove setup_xfails for
30512 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
30513 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
30514 about known bug in gcc to include up through 2.5.8.
30515 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
30516 well as "_vb$".
30517 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
30518 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
30519 with latest gcc and gdb.
30520 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
30521 well as "_vb$".
30522
30523Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30524
30525 * configure.in (hppa*-*-*): Also configure and build stabs-only
30526 tests.
30527
30528Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30529
30530 * gdb.t10/hppa.mt: A makefile fragment for the PA.
30531 * gdb.t10/configure.in (hppa*-*-*): Use it.
30532
30533Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30534
30535 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
30536
30537Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30538
30539 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
30540 versions prior to 1.13.5.
30541
30542Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30543
30544 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
30545 the prompt is at the start of a line.
30546
30547Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
30548
30549 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
30550 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
30551 in the copr tests now.
30552 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
30553 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
30554 expected to fail.
30555
30556Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
30557
30558 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
30559 gdb.t31/chillvars.exp, lib/gdb.exp:
30560 Tweak to run under either version of expect.
30561 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
30562 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
30563 * gdb.t11/list.exp: Remove extraneous whitespace.
30564
30565Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30566
30567 * gdb.t16/printcmds.exp (test_print_strings): Accept
30568 "(unsigned char *) " before the string.
30569
30570 * TODO: Add notes about printing of fancy types and GDB expressions.
30571
30572Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
30573
30574 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
30575 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 30576 if doing mips-idt-ecoff.
c906108c
SS
30577
30578Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
30579
30580 * Most .exp files: Tweak to run under either version of expect.
30581
30582Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30583
30584 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
30585 xfails; I'm not sure why they are failing, but not because of PR 1806.
30586
30587Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
30588
30589 * config/unix-gdb.exp: Remove gdb_unload cause it's already
30590 defined in lib/gdb.exp.
30591
30592Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30593
30594 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
30595 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
30596 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
30597 have to be typeless.
30598
30599Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
30600
30601 * TODO: Add suggestion for copyright year test.
30602
30603Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
30604
30605 * configure.in (*-*-lynxos*): Add stabs tests.
30606
30607Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30608
30609 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
30610 so insert a tab before any assembler directive in column zero.
30611
30612 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
30613 stores.
30614 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
30615 stores.
30616 (fpu_short_memory_tests): Likewise.
30617
30618Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30619
30620 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
30621 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
30622 .stabs directives in comments.
30623
30624Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30625
30626 * TODO: New file, describing tests we could write.
30627 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
30628
30629Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30630
30631 * gdb.t06/signals.exp: Add kludge to force re-sync.
30632
30633 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
30634 to xgdb instead of gdb, get out of gdb.
30635
30636Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
30637
30638 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
30639 for info.
30640
30641Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
30642
30643 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
30644 * gdb.stabs/configure.in (hppa*-*-*): Use it.
30645 * gdb.stabs/hppa.sed: New sed script for the PA.
30646
30647Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30648
30649 * gdb.stabs: Re-write weird.def and configuration to use sed
30650 instead of cpp. sed is portable and POSIX; cpp is neither.
30651
30652Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30653
30654 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
30655
30656Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30657
30658 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
30659
30660Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30661
30662 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
30663 "_vb$".
30664 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
30665 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
30666
30667Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30668
30669 * lib/gdb.exp: Comment out code which depends on non-existent
30670 `transform' procedure.
30671
30672Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
30673
30674 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
30675 * lib/gdb.exp: Transform tool name.
30676 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
30677 1.1's new error handling system.
30678
30679Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30680
30681 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
30682
30683Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30684
30685 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
30686 They made pattern matching so slow that timeouts happened on
30687 heavily loaded systems. Now any output from "show print" which
30688 gets us back to the GDB prompt is a PASS.
30689
30690Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
30691
30692 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
30693
30694Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30695
30696 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
30697
30698 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
30699 It is not from PR 3220.
30700
30701Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30702
30703 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
30704 just started failing because they depended on the order the
30705 subcommands are presented, or exact docstring text. This kind of
30706 test is a pain and has minimal benefit.
30707
30708Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30709
30710 * gdb.t09/corefile.exp: At end of test, use "core" command with
30711 no arguments.
30712
30713Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
30714
30715 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
30716 17}/Makefile.in: Make it possible to run the testsuite with Sun
30717 make and CC = cross gcc by adding explicit build rules for .o
30718 files.
30719
30720Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30721
30722 * gdb.t15/funcargs.exp: Don't put comments on same line as
30723 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 30724
c906108c
SS
30725Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30726
30727 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
30728
30729Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
30730
30731 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
30732 * gdb.t20/inherit.exp: remove three dumplicate entries.
30733
30734Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30735
30736 * gdb.t06/break.exp: For "next over recursive call", fail on any
30737 incorrect output, not just on "factorial (value=2)".
30738
30739Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30740
30741 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
30742 working now. Add an xfail if accesing a bss variable causes
30743 a memory error if the target is not yet run.
30744
30745Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30746
30747 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
30748 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
30749 name of __st* demangling (2 strings). Did Kung really get the
30750 more than 95 others right without testing them?
30751
30752Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
30753
30754 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
30755
30756Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
30757
30758 * configure.in (configdirs): Add gdb.disasm
30759 * gdb.disasm: New directory for GDB disassembler tests.
30760 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
30761
30762Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30763
30764 * gdb.t00/help.exp: Don't test "help set".
30765
30766 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
30767 from within expect statements. None of these happen anymore and
30768 they cause regressions to be silently unnoticed.
30769
30770 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
30771 messages) about known failures with gcc cygnus-2.4.5-930417.
30772
30773 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
30774 comp-info.exp so it gets built if it doesn't exist.
30775
30776 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
30777 it is no longer used.
30778 * gdb.t13/comp-info.c: Removed.
30779
30780Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30781
30782 * gdb.t06/signals.exp: Add xfail for sun3.
30783
30784Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30785
30786 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
30787 relevant because ^C doesn't get sent but failure can be reproduced
30788 interactively).
30789
30790Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30791
30792 * gdb.stabs/alpha.mt: New configuration file for alpha.
30793 * gdb.stabs/configure.in: Use it.
30794 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
30795 sharing with alpha.mt, redefine long to word via preprocessor.
30796 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
30797 for alpha.
30798 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
30799 native cc.
30800 * gdb.t00/teststrategy.exp: Change expect string so that we
30801 consume the `(xgdb)' from the command echo and from the gdb prompt.
30802 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
30803 gdb currently compares all values as long, so this failure probably
30804 applies to any configuration where LONGEST is bigger than a target int.
30805 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
30806 with gcc.
30807 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
30808 to handle opaque pointers, gcc is.
30809 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
30810 as first argument. Include <sys/types.h> and change all operator
30811 new definitions to use size_t.
30812 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
30813 now that we use size_t.
30814
30815Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30816
a9c64011 30817 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 30818 a long or float array cast all array members to the same type.
a9c64011 30819 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 30820 with 64 bit longs.
a9c64011 30821 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 30822 on alpha.
a9c64011 30823 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
30824
30825Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30826
30827 * gdb.t24 (demangle.exp): Constructors of templates have names like
30828 vector<int>::vector(int) not vector<int>::vector<int>(int). See
30829 section 14.6 of the ARM.
30830
30831 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
30832 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
30833 accomplish little and slow down the testsuite.
30834
30835 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
30836 Accept spaces various places.
30837
30838Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30839
30840 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30841 with watchpoint enabled.
30842
30843 * Makefile.in: Remove definition of CC and remove the second
30844 definition of CXX (the "CXX = gcc" one remains). These definitions
30845 were causing backquotes to be expanded within backquotes, which
30846 doesn't work.
30847
30848Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
30849
30850 * gdb.t17/callfuncs.exp: Add "return 0" to end.
30851
30852Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30853
a9c64011
AS
30854 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
30855 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
30856 by mips cc and contains no stabs entries.
30857
30858Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
30859
30860 * config/vx-gdb.exp: Use fake device to load files rather than
30861 NFS.
30862 * lib/gdb.exp: New proc to do "file" command.
30863 * config/unix-gdb.exp: Use new "file" proc.
30864
30865Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
30866
30867 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30868 Rework board rebooting slightly.
30869 (gdb_exit): Don't exit from the remote shell; there isn't one.
30870 * gdb.stabs/weird.exp: If a program is being debugged already,
30871 kill it.
30872 * gdb.t04/setvar.exp: Stop and restart gdb.
30873 * gdb.t05/expr.exp: Likewise.
30874 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30875 restart gdb and reload the program.
30876 * gdb.t08/opaque.exp: Likewise.
30877 * gdb.t12/scope.exp: Likewise.
30878 * gdb.t13/bitfields.exp: Likewise.
30879 * gdb.t15/funcargs.exp: Likewise.
30880 * gdb.t20/classes.exp: Likewise.
30881 * gdb.t03/ptype.exp: Increase timeout.
30882 * gdb.t16/printcmds.exp (test_print_string_constants,
30883 test_print_array_constants): Likewise.
30884 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30885 * gdb.t20/classes.exp (do_tests): Likewise.
30886 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30887
30888Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30889
30890 * gdb.stabs: Renamed *wierd* to *weird*.
30891
30892Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30893
30894 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30895 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30896
30897Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30898
30899 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30900 (do_tests): Remove xfail for whatis on one_var and two_var.
30901
30902Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30903
30904 * Makefile.in: Made cross building work better by adding
30905 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30906
30907Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30908
30909 * gdb.t15/{return.c,return.exp,Makefile.in}:
30910 New test, currently commented out.
30911
30912Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30913
30914 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30915 still running and removes the leftover named socket so GDb can do
30916 clean restarts.
30917
30918Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30919
30920 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30921 console, not GDB.
30922 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30923 cross testing works better with "make check"
30924 * config/unix-gdb: Use default procedures for exit and version.
30925 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30926 with the newest VxWorks.
30927
30928Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30929
30930 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30931 old form.
30932
30933 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30934 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30935
30936 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30937
30938 * config/unix-gdb.exp: Remove this version of gdb_exit
30939 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30940 Rob says he'll look at it when he gets back to testing boards.
30941
30942Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30943
30944 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30945 an expected fail for certain ptype commands.
30946
30947 * gdb.t20/classes.exp: Update expected results of "ptype class
30948 Base1" to account for the constructor that now appears in the type.
30949
30950Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30951
30952 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30953 disappeared from list.
30954 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30955 "alldone" proc with call to cleanup and exit.
30956 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30957 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30958 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30959 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30960 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30961 "alldone" proc with simple returns that suppress remaining
30962 tests. The alldone proc went away many months ago.
30963
30964Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30965
30966 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30967
30968 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30969
30970Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30971
30972 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30973 as vax gdb will display them.
30974
30975Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30976
30977 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30978 optimizers.
30979
30980 * scope.exp: Change "bad value for localval" messages so each one
30981 is unique.
30982
30983 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30984 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30985
30986 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30987
30988Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30989
30990 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30991 doesn't exist (due to optimization).
30992
30993Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30994
30995 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30996 contains \r because the filename is long.
30997
30998 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30999 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
31000
31001Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31002
31003 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
31004 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
31005 Ultrix.
31006 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
31007 int tests.
31008 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
31009
31010Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
31011
31012 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
31013
31014 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 31015 to match does not match the passing case but still matches the
c906108c
SS
31016 failing case.
31017
31018Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31019
31020 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
31021
31022Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
31023
31024 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
31025 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
31026 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
31027 Remove various versions of gdb_exit.
31028 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
31029 gdb_exit.
31030 * config/unix-gdb.exp: gdb_exit remains here, and should override
31031 the generic version, since it's doing a lot of wierd stuff that
31032 the other versions aren't. FIXME, fold it in, or abandon this
31033 version.
31034
31035Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31036
31037 * gdb.t24/demangle.exp: Add tests for PR 3220.
31038
31039Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31040
31041 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
31042
31043Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
31044
31045 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
31046 "i386-*-*". Works for i486 as well.
31047
31048 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
31049 bug, and expand domain of xfail to all SVR4 systems, since the
31050 actual problem is likely to be in generic SVR4 /proc support.
31051
31052Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31053
31054 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
31055
31056Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
31057
31058 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
31059 xfails for other systems. Match a missing 'Continuing.' as an
31060 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
31061
31062 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
31063 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
31064 Only issue warning for missing executables if -all option is used.
31065
31066 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
31067 file if -all option is used. It's like an unpredictable XFAIL.
31068
31069Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31070
31071 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
31072 for dynamically linked binaries.
31073
31074 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
31075
31076Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31077
31078 * gdb.t20/inherit.exp: Change message for "print tagless struct"
31079 to state that this is a known bug in old versions of g++.
31080
31081Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31082
31083 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
31084 while waiting for `Continuing'.
31085
31086Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
31087
31088 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
31089 in text, data, and bss.
31090 * gdb.t10/nodebug.c: Add local and global test variables for
31091 initialized and uninitialized data.
31092
31093Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31094
31095 * config/unix-gdb.exp (gdb_exit): Add "wait".
31096
31097Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31098
31099 * gdb.t06/signals.exp: xfail the continue from the handler for all
31100 targets.
31101
31102 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
31103 function with watchpoints enabled, the i386 call dummy starts with
31104 a call.
31105
31106 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
31107 386 bsd names its corefiles.
31108
31109Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
31110
31111 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
31112 compilers don't grok it.
31113 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
31114 with small octal ints rather than character constants, which
31115 are signed and might not fit if first promoted to int.
31116
31117Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
31118
31119 * gdb.t09/Makefile.in (clean): Remove corefile.
31120
31121Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31122
31123 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
31124
31125Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31126 and Jim Kingdon (kingdon@cygnus.com)
31127
31128 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
31129 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
31130 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
31131
31132Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31133
31134 * gdb.t17/interrupt.exp: Add xfail for hppa.
31135
31136Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31137
31138 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
31139 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
31140 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
31141 to determine signed-ness of bitfields and use the result to setup
31142 the xfail.
31143 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
31144 * gdb.t15/funcargs.exp: Use them to step until the second indirect
31145 call line is reached if necessary.
31146
31147Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31148
31149 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
31150
31151Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31152
31153 * gdb.t06/break.exp: Also test `clear' command.
31154
31155Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31156
31157 * gdb.t00/teststrategy.exp: Remove extra quote.
31158
31159 * gdb.t07/watchpoint.exp: Change xfail for calling function with
31160 watchpoint enabled to be for all non-68k machines.
31161
31162 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
31163
31164Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31165
31166 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
31167 targets use aout.mt instead of ecoff.mt as gas understands
31168 standard aout format.
31169
31170Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
31171
31172 * lib/gdb.exp (runto): Don't insist that function we are running to
31173 was compiled with -g.
31174
31175 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
31176
31177 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
31178 to get back into the read system call.
31179 Accept leading newline in case where we woke it up.
31180
31181Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31182
31183 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
31184 to make the stabs test work on ecoff systems using gcc and -with-stabs.
31185 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
31186 enable ecoff configuration.
31187
31188Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31189
31190 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
31191
31192Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31193
31194 * gdb.t16/printcmds.exp: Add another printf test.
31195
31196Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
31197
31198 * configure.in: If configured -with-stabs on any target, add
31199 stabsdirs to configdirs.
31200
31201Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31202
31203 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
31204 fun" so pattern does not match the command itself.
31205
31206Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31207
31208 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
31209
31210Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31211
31212 * gdb.t17/interrupt.exp: Test for more things.
31213
31214Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31215
31216 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
31217 compiler arranges the code and line numbers.
31218
31219 * gdb.t17/interrupt.exp: Don't send \n after ^C.
31220
31221Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31222
31223 * gdb.t00/help.exp: Increase expect input buffer size.
31224
31225Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31226
31227 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
31228
31229 * gdb.t07/watchpoint.exp: Add xfail for hppa.
31230
31231 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
31232
31233 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
31234 [0-9]*, not just [0-9].
31235
31236Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31237
31238 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
31239
31240 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
31241
31242Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31243
31244 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
31245
31246Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31247
31248 * gdb.t06/signals.c: Add xfails for sun3.
31249
31250 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
31251
31252 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
31253 test_stepping tests.
31254
31255Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31256
31257 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
31258
31259 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
31260
31261 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
31262 rather than actually putting it through cpp twice.
31263
31264 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
31265
31266Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
31267
31268 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
31269 no longer needed.
31270
31271Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31272
31273 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
31274
31275 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
31276 C++ features prints as "struct", make it a pass, not an xfail.
31277
31278Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31279
31280 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
31281 Don't require VA to print as "class" rather than "struct".
31282
31283Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
31284
31285 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
31286
31287Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31288
31289 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
31290
31291Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31292
31293 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
31294 order.
31295
31296Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31297
31298 * gdb.t16/printcmds.exp: Add printf tests.
31299
31300 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
31301
31302 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
31303
31304Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
31305
31306 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
31307 pass counts, to counteract any existing or future setup_xfails.
31308
31309Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31310
31311 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
31312 {BEGIN,END}_COMMON for common block instead of STAB.
31313 * gdb.stabs/wierd.exp: Add xfail for rs6000.
31314
31315 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
31316 intp_var should be N_GSYM not N_LSYM.
31317 wierd-aout.S: Use a label for the value of the N_SO.
31318 wierd.def: Remove all backslashes.
31319 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
31320
31321Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31322
31323 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
31324 get the expected next to inheritance3.
31325
31326Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31327
31328 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
31329 now that gcc-2.4 gets it right.
31330
31331Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31332
31333 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
31334
31335 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
31336 generating comp-info.exp which works for cross-compilation.
31337
31338Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
31339
31340 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
31341 "*-*-sysv4.*".
31342
31343Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
31344
31345 * gdb.t01/run.exp: Start with a fresh gdb.
31346 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
31347 SVR4.x.
31348
31349Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
31350
31351 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
31352 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
31353 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
31354 Makefile.in (distclean, realclean): Remove gdbme.c from list of
31355 things to remove.
31356
31357Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
31358
31359 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
31360 test cases from bug reports.
31361
31362Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
31363
31364 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
31365 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
31366 avoid spurious xfails.
31367 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
31368 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
31369 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
31370
31371Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
31372
31373 * gdb.t00/teststrategy.exp: Rework to provide more useful
31374 description of each test, fix problem with systems that define
31375 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
31376 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
31377 results for "next over recursive call" so timeouts aren't taken
31378 by error.
31379
31380Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
31381
31382 * gdb.t12/scope.exp: Test printing of variables before run.
31383
31384 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
31385 printed in wrong order due to sorting.
31386
31387Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
31388
31389 * gdb.t00/teststrategy.exp: Fix expected results for printing
31390 user entered string constant. Is array of char, prints with no
31391 address.
31392
31393 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
31394 commands.
31395 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
31396 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
31397 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
31398 of struct of char arrays.
31399 * gdb.t00/radix.exp: New tests for radix commands.
31400
31401Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
31402
31403 * gdb.t16/printcmd.exp: Print a variable before running program
31404 (with xfail for AIX).
31405
31406Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
31407
31408 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
31409
31410 * gdb.t16/printcmd.exp: Don't print variables before running program.
31411
31412 * gdb.t06/break.exp: Don't require envp argument to main.
31413
31414 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
31415
31416 * gdb.t02/whatis.exp, gdb.t11/list.exp:
31417 Add xfails for rs6000.
31418
31419 * gdb.t02/whatis.exp: Change other tests not to re-test something
31420 we already tested.
31421
31422 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
31423 each type used has a variable of that type.
31424
31425Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
31426
31427 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
31428
31429Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
31430
31431 * configure.in: change srctrigger to be a file, not a directory
31432
31433Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
31434
31435 * configure.in (mips-idt-ecoff*): Added trailing '*'.
31436
31437 * gdb.t11/list.exp: Fixed a couple of typos.
31438
31439Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
31440
31441 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
31442 is fixed and PR is closed.
31443 * gdb.t16 (gdbme.c): Add simple test string variable.
31444 * gdb.t16 (printcmds.exp): Add tests with simple test string
31445 variable, primarily for boundaries on "set print elements".
31446
31447Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
31448
31449 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
31450 Make leading 0's optional and don't expect a tab in the middle
31451 of the number.
31452
31453 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
31454
31455 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
31456 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
31457 don't end command passed to gdb_test with newline.
31458
31459 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
31460 signed keyword away, don't expect signed bitfields to be signed.
31461
31462 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
31463 printing with only as many 1's as are in the field as well as printing
31464 with 32 1's (see comment).
31465
31466Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
31467
31468 * gdb.t00/default.exp: Start with a fresh gdb.
31469 * configure.in (configdirs): Remove gdb.t31 until the chill
31470 compiler works again. It no longer is able to find chillrt0
31471 since it isn't in libchill.a anymore.
31472 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
31473 wierd.o, make more modular.
31474 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
31475 spurious newlines that caused problems.
31476
31477Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31478
31479 * Move test with enums and partial symbols from gdb.t03/ptype.exp
31480 to gdb.stabs/wierd.exp since GCC has worked around the bug.
31481 gdb.stabs/wierd.{exp,def}: Many new tests.
31482
31483 * gdb.t00/default.exp: update info line for new message.
31484
31485 * gdb.t02/{whatis.exp,gdbme.c}:
31486 Test that "char *" doesn't print as "caddr_t".
31487
31488Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31489
31490 * gdb.t00/help.exp: Use .* in place of some help messages which
31491 just changed.
31492 gdb.t00/default.exp: Update "info frame" test for new message.
31493 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
31494 Remove some xfails
31495
31496Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31497
31498 * gdb.t03/{gdbme.c,ptype.exp}:
31499 Add tests for typedef'd struct and union without tags.
31500 Also check "whatis" on a variable of a typedef'd enum without a tag.
31501
31502 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
31503 PRMS 1823; the bug still exists but isn't reproduced by this test
31504 anymore), and remove rs6000 XFAIL (the bug is fixed).
31505
31506 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
31507 duplicated from whatis.exp. For those that are left, accept
31508 "long", "long int", or "int" for long variables (whatis.exp already
31509 has an XFAIL for "int", so no need to fail it here).
31510
31511 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
31512 Deal with GCC's names for types now that GDB uses the compiler's names.
31513
31514 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
31515 setup_xfail's for sunos4. If we #defined the signed keyword away,
31516 don't expect GDB to know that char it is signed.
31517
31518 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
31519
31520Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
31521
31522 * configure.in (configdirs): Add gdb.t24 for C++ tests that
31523 should work on any system, regardless of debugging format.
31524 * gdb.t21/demangle.exp: Move to gdb.t24.
31525 * gdb.t24/demangle.exp: Move from gdb.t21.
31526 * gdb.t24/{Makefile.in, configure.in}: New files.
31527
31528Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31529
31530 * configure.in: Do gdb.stabs and C++ tests only for stabs.
31531 * gdb.stabs: New directory.
31532
31533Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
31534
31535 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
31536 not just "Quit anyway?".
31537
31538Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
31539
31540 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
31541 that all setup_xfails are immediately followed by clear_xfails.
31542
31543Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
31544
31545 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
31546 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
31547 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
31548 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
31549 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
31550 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31551 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31552 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
31553 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
31554 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
31555 gdb.t31/chillvars.exp, lib/gdb.exp:
31556 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
31557 bug-gdb@prep.ai.mit.edu.
31558
31559Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
31560
31561 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
31562 with 0.0, not integer 0.
31563
31564Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
31565
31566 * gdb.t06/break.exp: Update for "Kill the program" message change.
31567
31568Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
31569
31570 * Makefile.in (GDBFLAGS): Set to -nx.
31571 * Makefile.in (site.exp): Use GDBFLAGS.
31572
31573Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31574
31575 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
31576 Makefiles.
31577 (check): depend on just-check.
31578 (just-check): added so that tests can be run without a noop
31579 build pass.
31580
31581Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
31582
31583 Switch to using configure's configdirs.
31584 * Makefile.in (Makefile): add configure.in dependency.
31585 (SUBDIRS): removed redundant assignment.
31586 * configure.in: switch subdirs assignment to configdirs.
31587 * gdb.t*/configure.in: new files.
31588
31589Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
31590
31591 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
31592 works.
31593
31594Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
31595
31596 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
31597 in explicit rules. Apparently this is not supported by some makes.
31598
31599Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
31600
31601 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
31602
31603Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31604
31605 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
31606 disappeared.
31607
31608Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
31609
31610 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
31611
31612Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
31613
31614 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
31615 watchpoint problem that is now fixed.
31616 * gdb.t30/chexp.exp: Remove setup_xfail for printing
31617 uninitialized convenience variables.
31618 * gdb.t31/chillvars.exp: Fix expected patterns for printing
31619 structures.
31620
31621Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31622
31623 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
31624 which causes expect to get out of sync with gdb on long output
31625 from help set.
31626 * gdb.t09/corefile.exp: Make expected pattern for core file
31627 failing signal and frame output format less sun specific.
31628
31629Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
31630
31631 * gdb.t31/chillvars.exp: Add and remove initial dummy
31632 breakpoint, so that symbol table is forced in.
31633 (Needed at least on Sunos4, though it seems not SVR4.)
31634 * gdb.t31/chillvars.exp: Update for changed output format.
31635
31636Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
31637
a9c64011 31638 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
31639
31640Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
31641
31642 * Makefile.in: Added --srcdir when invoking runtest, removed the
31643 need for a local config file. (optional now)
31644
31645Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
31646
31647 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
31648 failure count used to force early termination. Add some more
31649 expected failures for gnu style demangling.
31650
31651Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31652
31653 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
31654 pmi variable from gdb.t20/gdbme to get optimized away.
31655 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
31656 Check for written corefile upon timeout _and_ eof.
31657
31658Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31659
31660 * config/unix-gdb.exp: Add missing return 0.
31661
31662Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
31663
31664 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
31665 test termination.
31666
31667Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
31668
31669 * configure.in (subdirs): Put back gdb.t17 which mysteriously
31670 disappeared.
31671
31672Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
31673
31674 * gdb.t10/crossload.exp: Disable the i860-elf test until such
31675 time as i860 support works.
31676
d63a86f8 31677 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
31678 "backtrace 100\r" rather than just "backtrace\r", to match last
31679 change.
31680
31681Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
31682
31683 * config/udi-gdb.exp (gdb_exit): Remove close command.
31684 (gdb_target_udi): New procedure to set the UDI target.
31685 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
31686 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
31687 Added waits for prompts after several question responses. Added
31688 some more responses used by a29k-amd-udi-gdb.
31689 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
31690 pass different arguments, restart UDI connection after program
31691 completion.
31692 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
31693 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
31694 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
31695 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
31696 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
31697 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
31698 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
31699 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
31700 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
31701 after program completion.
31702 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
31703 compiled with a SELECT_VECS setting.
31704 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
31705 infinite recursion.
31706
31707 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
31708 Added checks for COFF results, and made them expected failures for
31709 all targets. It would be better to make them expected failures
31710 for COFF targets only.
31711
31712Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
31713
31714 * Makefile.in: add null dvi target, don't bother to recurse
31715 through test directories for info and install-info; rename
31716 $(datadir) to be dejagnu instead of deja-gnu
31717
31718Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
31719
31720 * gdb.t31/gdbme.ch: Re-enable code that previously caused
31721 compiler to coredump.
31722 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
31723 code.
31724
31725Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
31726
31727 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
31728 coredump.
31729 * gdb.t31/chillvars.exp: Comment out tests that depend on that
31730 code.
31731
31732Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
31733
31734 * gdb.t03/ptype.exp: tests for return code from gdb_test.
31735 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
31736 which in a shell. Deletes xgdb when done.
31737 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
31738 Tests the return from the "set height" or "set width" commands.
31739 Added a few return codes where needed.
31740
31741Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
31742
31743 * Makefile.in (SUBDIRS): Add gdb.t17.
31744 * configure.in (subdirs): Add gdb.t17.
31745 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
31746 files to test gdb's calling of functions in the inferior with
31747 the correct arguments and gdb's ability to retrieve any
31748 result returned.
31749
31750Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
31751
31752 * config/unix-gdb.exp (gdb_exit): Remove close commands that
31753 may be called after gdb goes away. Previous versions of expect
31754 needed these to avoid file descriptor leaks, but they cause
31755 errors with the current revision of expect.
31756 * gdb.t00/gdbvars.exp: Use -re on expected output after
31757 setting sevenbit-strings.
31758 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
31759 to set sevenbit-strings consistent across tests.
31760 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
31761 set sevenbit-strings consistent across tests.
31762
31763Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
31764
31765 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
31766 expected output to match current "expect" expectations.
31767
31768Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
31769
31770 * gdb.t00/default.exp: Change expected output for default "source"
31771 command, to match new gdb behavior which requires a filename to
31772 source.
31773
31774Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
31775
31776 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
31777 expected fail for i486-*-* that misses the marker2 function.
31778 * gdb.t10/crossload.exp (bfddefault): Allow successful
31779 recognition of a format to pass even if no symbols are found.
31780 Explicitly catch failures where the format is not recognized
31781 or is ambiguous, and add the reason to the fail message.
31782 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
31783 the cause is and invalid target and add reason to failure message.
31784 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
31785 elf32-i386, elf32-sparc, and elf32-i860.
31786 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
31787 Set up expected failure for 'filename'::variable scope resolution,
31788 which is now apparently broken on all targets.
31789 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
31790 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
31791 gdb.t23/templates.exp: Change failure for missing binfile into
31792 just a warning.
31793 gdb.t21/demangle.exp: Change all cfront references to 'arm'
31794 references.
31795
31796Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
31797
31798 * gdb.t00/default.exp: Add expected output for default "source"
31799 command, to match new gdb behavior.
31800 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
31801
31802Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
31803
31804 * config/*-gdb.exp: returns an error, rather than exiting on
31805 internal errors.
31806
31807Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
31808
31809 * gdb.t03/gdbme.c: Add pointer to struct variable.
31810 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
31811 referencing struct members.
31812
31813Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
31814
31815 * configure.in (mips-idt-ecoff): New target.
31816 * config/mips-gdb.exp: New file for remote board using MIPS remote
31817 debugging protocol.
31818
31819 * Redid configuration scheme. Removed gdb.t*/configure.in.
31820 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
31821 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
31822 distclean targets. Built executables via .o files. Adjusted
31823 tests to account for source files in $(srcdir) rather than
31824 $(objdir).
31825 * lib/gdb.exp (runto): Don't expect () after the function name,
31826 because it may have arguments.
31827
31828Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
31829
31830 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
31831 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
31832 expected failures for mips-idt-* and mips-sgi-*.
31833 * gdb.t00/default.exp (attach): Kill process if requested.
31834 * gdb.t00/help.exp (help target core, help target): Accept a gdb
31835 that does not read core files.
31836 * gdb.t01/run.exp: Removed checks for exit status code.
31837 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31838 it is linked in.
31839 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31840 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31841 appropriate, rather than doing it by hand.
31842 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31843 execution.
31844 * gdb.t10/crossload.exp: Kill existing program if needed.
31845 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31846 appropriate, rather than doing it by hand. Always increase
31847 timeout for this test, not just for VxWorks.
31848
31849Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
31850
31851 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
31852 of Chill STRUCT types and STRUCT values.
31853 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
31854 than "char".
31855 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 31856 struct2): New struct definitions and initializations to test
c906108c
SS
31857 simple Chill STRUCT types.
31858
31859Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
31860
31861 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
31862 the null byte at the end of strings.
31863 * gdb.t00/default.exp: Make show version insensitive to copyright
31864 date.
31865 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
31866 to avoid dependencies on target char signedness.
31867 * gdb.t16/printcmds.exp: Update expected results for explicitly
31868 unsigned char.
31869 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
31870 now work.
31871 * gdb.t21/demangle.exp: Add many more patterns for template
31872 demangling, most of them being expected failures.
31873 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
31874 string we are matching for, to match on the whole string.
31875 * gdb.t21/demangle.exp: Add many new test strings to demangle,
31876 and fix a whole bunch that had incorrect expected output but were
31877 passing anyway because of the bug in "proc demangle".
31878 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
31879 type.
31880 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
31881
31882Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31883
a9c64011
AS
31884 * gdb/testsuite: made modifications to testcases, etc., to allow
31885 them to work properly given the reorganization of deja-gnu and the
31886 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
31887
31888Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31889
31890 * gdb/testsuite: Initial creation of gdb/testsuite.
31891 Migrated dejagnu testcases and support files for testing nm to
31892 gdb/testsuite from deja-gnu. These files were moved "as is"
31893 with no modifications. This migration is part of a major overhaul
31894 of dejagnu. The modifications to these testcases, etc., which
31895 will allow them to work with the new version of dejagnu will be
31896 made in a future update.
48efe704 31897
8d8cb839 31898 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 31899\f
8d8cb839
EZ
31900;; Local Variables:
31901;; mode: change-log
31902;; left-margin: 8
31903;; fill-column: 74
31904;; version-control: never
31905;; End:
902f2ccb 31906
28e7fd62 31907 Copyright 1993-2013 Free Software Foundation, Inc.
902f2ccb
MC
31908 Copying and distribution of this file, with or without modification,
31909 are permitted provided the copyright notice and this notice are preserved.
This page took 3.465357 seconds and 4 git commands to generate.