2012-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
abcc4978
PA
12012-01-16 Pedro Alves <palves@redhat.com>
2
3 * lib/gdb.exp (banned_procedures): New variable.
4 (banned_variables_traced): Rename to ...
5 (banned_traced): ... this.
6 (gdb_init): Also trace banned procedures.
7 (gdb_finish): Also untrace banned procedures.
8
97ccebe8
PA
92012-01-16 Pedro Alves <palves@redhat.com>
10
11 Remove all calls to strace.
12
2af7517b
JK
132012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
14
15 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
16 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
17
9241a8bc
PP
182012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19
20 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
21 * gdb.base/pie-execl.exp: Likewise.
22
3848a17f
KS
232012-01-12 Keith Seitz <keiths@redhat.com>
24
25 PR mi/10586
26 * gdb.mi/var-cmd.c (struct anonymous): New structure.
27 (do_anonymous_type_tests): New function.
28 (main): Call do_anonymous_type_tests.
29 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
30 (verify_everything): New procedure.
31 * gdb.mi/mi-var-cp.cc (class A): New class.
32 (anonymous_structs_and_unions): New function.
33 (main): Call anonymous_structs_and_unions.
34 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
35 (verify_everything): New procedure.
36
440e2fca
KS
372012-01-12 Keith Seitz <keiths@redhat.com>
38
39 * lib/mi-support.exp: Expand comments about PATH_EXPR.
40 (varobj_tree::get_path_expr): Assume that all varobjs are
41 compound unless they are known simple types.
42 Adjust path expressions based on parent type, path parent type,
43 and tree language.
44 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
45 the root varobj.
46 (mi_walk_varobj_tree): Add LANGUAGE parameter.
47
675399c9
PA
482012-01-11 Pedro Alves <palves@redhat.com>
49
50 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
51 core files on this machine" anymore.
52
97ddaa9b
PH
532012-01-11 Paul Hilfinger <hilfingr@adacore.com>
54
55 * gdb.base/watchpoint.c (recurser): Initialize local_x.
56 (main): Repeat recurser call.
57 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
58 equivalent to 'local_x'.
59
ea733575
PH
602012-01-11 Paul Hilfinger <hilfingr@adacore.com>
61 Joel Brobecker <brobecker@adacore.com>
62
63 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
64
2ca0b532
PA
652012-01-05 Pedro Alves <alves.ped@gmail.com>
66
67 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
68 * gdb.python/py-events.c (first): Add bits for new "step N" test.
69 * gdb.python/py-events.exp: Test that "step N" tripping on a
70 breakpoint emits a breakpoint event.
71
6e681866
JB
722012-01-03 Joel Brobecker <brobecker@adacore.com>
73
74 * gdb.base/auxv.exp: Reformat the copyright notice.
75
3c2d6aff
YQ
762012-01-03 Yao Qi <yao@codesourcery.com>
77
78 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
79 (strace_trace_on_diff_addr): New.
80 * gdb.trace/strace.c: (main): Add two local variables.
81
0852fee3
UW
822011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
83
84 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
85 * gdb.cell/gcore.exp: Likewise.
86 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
87 to verify the correct instance of main is selected.
88
12c3e59c
JB
892012-01-02 Joel Brobecker <brobecker@adacore.com>
90
91 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
92 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
93 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
94 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
95 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
96 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
97 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
98 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
99 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
100 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
101 gdb.threads/thread_check.c: Reformat copyright header.
102
c0f378ec
EBM
1032011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
104
e4a7ca93 105 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
106 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
107 is not enabled.
108
3bc96cfb
JK
1092011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
110
111 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
112 parameter to self_exec, adjust the function.
113 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
114 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
115 (set var do_exit = 0): Remove test.
116 (newline at end of file): Add one.
117
095bcf5e
JB
1182011-12-27 Joel Brobecker <brobecker@adacore.com>
119
120 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
121 New files.
122
18d19bd1
JK
1232011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
124
125 Fix racy FAILs.
126 * gdb.threads/fork-thread-pending.c (barrier): New variable.
127 (thread_function, thread_forker): Call pthread_barrier_wait for it.
128 (main): Call pthread_barrier_init for it.
129
e809353a
JK
1302011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
131
132 Fix double send_gdb leading to racy FAILs.
133 * gdb.base/break.exp (set silent break bp_location1): Replace
134 3x send_gdb and gdb_expect by gdb_test.
135 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
136 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
137 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
138 instead of send_gdb. Twice.
139 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
140 3x send_gdb and gdb_expect by gdb_test.
141 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
142
da8cb7ec
JK
1432011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
144
145 * gdb.linespec/linespec.exp: Compile using {c++}.
146
ae1a303e
JK
1472011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
148
149 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
150 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
151 (verify GCC PR debug/51668): New test.
152
cc72b2a2
KP
1532011-12-23 Kevin Pouget <kevin.pouget@st.com>
154
155 Introduce gdb.FinishBreakpoint in Python.
156 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
157 py-finish-breakpoint2
158 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
159 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
160 instead of line number.
161 * gdb.python/py-finish-breakpoint.c: New file.
162 * gdb.python/py-finish-breakpoint.exp: New file.
163 * gdb.python/py-finish-breakpoint.py: New file.
164 * gdb.python/py-finish-breakpoint2.cc: New file.
165 * gdb.python/py-finish-breakpoint2.exp: New file.
166 * gdb.python/py-finish-breakpoint2.py: New file.
167
3b7962f9
JK
1682011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
169
170 Partial fix of compatibility with gcc-4.7.
171 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
172 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
173 Add comment to add a PASS case in the future.
174
6538471c
JK
175 Fix compatibility with gcc-4.7.
176 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
177
7052e42c
UW
1782011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
179
180 PR tdep/12797
181 * gdb.base/callfuncs.exp: Remove KFAIL.
182
9ac7f98e
JB
1832011-12-21 Joel Brobecker <brobecker@adacore.com>
184
185 * gdb.ada/task_bp: New testcase.
186
f6eeced0
JK
1872011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
188
189 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
190 -DNO_SECTIONS.
191 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
192
72225e17
JK
1932011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
194
195 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
196 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
197 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
198 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
199 conditional for gcc <= 4.5.
200
13ac8d2c
JK
2012011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
202
203 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
204 by XFAIL.
205 * gdb.cp/static-method.exp (info addr A::func())
206 (list static-method.cc:xxx::(anonymous namespace)::A::func)
207 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
208 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
209 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
210 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
211 (test value of F in k3_m): Likewise.
212 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
213 Likewise.
214
049682ba
JK
2152011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
216
217 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
218 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
219 Remove.
220 * gdb.threads/attachstop-mt.c: Remove.
221 * gdb.threads/attachstop-mt.exp: Remove.
222
2c9d8796
MK
2232011-12-17 Mark Kettenis <kettenis@gnu.org>
224
225 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
226
e0f9f062
DE
2272011-12-16 Doug Evans <dje@google.com>
228
f4aa2101 229 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
230 * boards/native-gdbserver.exp: New file.
231
e0f9f062
DE
232 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
233 gdbserver output.
234 (gdbserver_default_get_remote_address): New function.
235 (gdbserver_start): Call gdb,get_remote_address to compute argument
236 to "target remote" command.
237
80b6e756
PM
2382011-12-16 Phil Muldoon <pmuldoon@redhat.com>
239
1c3ad6ab 240 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
241 python print-stack. Add set/show python print-stack
242 off|full|message tests.
243
1576bd00
YQ
2442011-12-15 Yao Qi <yao@codesourcery.com>
245
246 * gdb.trace/strace.c: New
247 * gdb.trace/strace.exp: New.
248
d6a0f6e0
TT
2492011-12-14 Tom Tromey <tromey@redhat.com>
250
251 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
252
31015e1d
DE
2532011-12-14 Doug Evans <dje@google.com>
254
255 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
256
7b50312a
PA
2572011-12-14 Pedro Alves <pedro@codesourcery.com>
258
259 PR threads/10729
260
261 * gdb.mi/watch-nonstop.c: New file.
262 * gdb.mi/mi-watch-nonstop.exp: New file.
263
924437bc
PA
2642011-12-13 Pedro Alves <pedro@codesourcery.com>
265 Doug Evans <dje@google.com>
266
267 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
268 (clean_restart): Remove references to the gdb_stub target board
269 variable.
270 (gdb_step_for_stub): Delete.
271
272 * gdb.base/annota1.exp: Remove all references to [target_info
273 exists gdb_stub], gdb_step_for_stub and usestubs.
274 * gdb.base/annota3.exp: Ditto.
275 * gdb.base/async.exp: Ditto.
276 * gdb.base/break.exp: Ditto.
277 * gdb.base/code-expr.exp: Ditto.
278 * gdb.base/commands.exp: Ditto.
279 * gdb.base/completion.exp: Ditto.
280 * gdb.base/condbreak.exp: Ditto.
281 * gdb.base/consecutive.exp: Ditto.
282 * gdb.base/cvexpr.exp: Ditto.
283 * gdb.base/define.exp: Ditto.
284 * gdb.base/display.exp: Ditto.
285 * gdb.base/ena-dis-br.exp: Ditto.
286 * gdb.base/environ.exp: Ditto.
287 * gdb.base/gnu-ifunc.exp: Ditto.
288 * gdb.base/maint.exp: Ditto.
289 * gdb.base/pending.exp: Ditto.
290 * gdb.base/sect-cmd.exp: Ditto.
291 * gdb.base/sepdebug.exp: Ditto.
292 * gdb.base/unload.exp: Ditto.
293 * gdb.base/watchpoint-solib.exp: Ditto.
294 * gdb.cp/annota2.exp: Ditto.
295 * gdb.cp/annota3.exp: Ditto.
296 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
297 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
298 * gdb.mi/mi-pending.exp: Ditto.
299 * gdb.trace/circ.exp: Ditto.
300 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
301 * gdb.base/list.exp: Ditto.
302
303 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
304 breakpoint function and all references to the usestubs macro.
305 * gdb.base/exprs.c: Ditto.
306 * gdb.base/freebpcmd.c: Ditto.
307 * gdb.base/bitfields.c: Ditto.
308 * gdb.base/bitfields2.c: Ditto.
309 * gdb.base/break.c: Ditto.
310 * gdb.base/call-sc.c: Ditto.
311 * gdb.base/call-signals.c: Ditto.
312 * gdb.base/callfuncs.c: Ditto.
313 * gdb.base/charset.c: Ditto.
314 * gdb.base/consecutive.c: Ditto.
315 * gdb.base/constvars.c: Ditto.
316 * gdb.base/funcargs.c: Ditto.
317 * gdb.base/int-type.c: Ditto.
318 * gdb.base/interrupt.c: Ditto.
319 * gdb.base/langs0.c: Ditto.
320 * gdb.base/list0.c: Ditto.
321 * gdb.base/mips_pro.c: Ditto.
322 * gdb.base/miscexprs.c: Ditto.
323 * gdb.base/nodebug.c: Ditto.
324 * gdb.base/opaque0.c: Ditto.
325 * gdb.base/pointers.c: Ditto.
326 * gdb.base/printcmds.c: Ditto.
327 * gdb.base/ptype.c: Ditto.
328 * gdb.base/recurse.c: Ditto.
329 * gdb.base/reread1.c: Ditto.
330 * gdb.base/reread2.c: Ditto.
331 * gdb.base/restore.c: Ditto.
332 * gdb.base/return.c: Ditto.
333 * gdb.base/run.c: Ditto.
334 * gdb.base/scope0.c: Ditto.
335 * gdb.base/sepdebug.c: Ditto.
336 * gdb.base/setshow.c: Ditto.
337 * gdb.base/setvar.c: Ditto.
338 * gdb.base/sigall.c: Ditto.
339 * gdb.base/signals.c: Ditto.
340 * gdb.base/structs.c: Ditto.
341 * gdb.base/structs2.c: Ditto.
342 * gdb.base/testenv.c: Ditto.
343 * gdb.base/twice.c: Ditto.
344 * gdb.base/unwindonsignal.c: Ditto.
345 * gdb.base/watchpoint.c: Ditto.
346 * gdb.base/watchpoints.c: Ditto.
347 * gdb.base/whatis.c: Ditto.
348 * gdb.cp/classes.cc: Ditto.
349 * gdb.cp/cplusfuncs.cc: Ditto.
350 * gdb.cp/derivation.cc: Ditto.
351 * gdb.cp/formatted-ref.cc: Ditto.
352 * gdb.cp/misc.cc: Ditto.
353 * gdb.cp/overload.cc: Ditto.
354 * gdb.cp/ovldbreak.cc: Ditto.
355 * gdb.cp/ref-params.cc: Ditto.
356 * gdb.cp/ref-types.cc: Ditto.
357 * gdb.cp/templates.cc: Ditto.
358 * gdb.cp/virtfunc.cc: Ditto.
359 * gdb.hp/gdb.aCC/run.c: Ditto.
360 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
361 * gdb.hp/gdb.compat/xdb0.c: Ditto.
362 * gdb.reverse/consecutive-reverse.c: Ditto.
363 * gdb.reverse/sigall-reverse.c: Ditto.
364 * gdb.reverse/until-reverse.c: Ditto.
365 * gdb.reverse/watch-reverse.c: Ditto.
366 * gdb.trace/actions.c: Ditto.
367 * gdb.trace/circ.c: Ditto.
368 * gdb.trace/collection.c: Ditto.
369
fabde485
PA
3702011-12-13 Pedro Alves <pedro@codesourcery.com>
371
372 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
373 (func6, func7): New.
374 (main): Call func6 and func7.
375 * gdb.base/watchpoint.exp (test_wide_location_1)
376 (test_wide_location_2): New.
377 (top level): Re-enable hardware watchpoints if necessary. Call
378 test_wide_location_1 and test_wide_location_2.
379
ff7d1690
YQ
3802011-12-11 Yao Qi <yao@codesourcery.com>
381
382 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
383
a6af7abe
JB
3842011-12-11 Joel Brobecker <brobecker@adacore.com>
385
386 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
387 expected output for unsupported case.
388
61638e15
JK
3892011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
390
391 PR testsuite/12649
392 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
393 Protect gdb_test_multiple by final $gdb_prompt match.
394
0a00efc3
JK
3952011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
396
397 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
398 New variable, new test.
399 (list static-method.cc:xxx::(anonymous namespace)::A::func)
400 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
401 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
402 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
403 them if HAVE_GCC_45682_FIXED is not set.
404
4511b1ba
YQ
4052011-12-10 Yao Qi <yao@codesourcery.com>
406
407 * gdb.trace/status-stop.exp: New.
408 * gdb.trace/status-stop.c: New.
409
27949e73
JK
4102011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
413 timeout.
414
d8ea7931
TT
4152011-12-08 Tom Tromey <tromey@redhat.com>
416
417 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
418 condition.
419
1cc310d2
SS
4202011-12-07 Stan Shebs <stan@codesourcery.com>
421
422 * gdb.trace/tfind.exp: Update for output changes.
423
d482a875
PA
4242011-12-07 Pedro Alves <pedro@codesourcery.com>
425
426 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
427 throws "Cannot insert catchpoints in this configuration".
428 * gdb.ada/mi_catch_ex.exp: Likewise.
429
f0ba3972
PA
4302011-12-06 Pedro Alves <pedro@codesourcery.com>
431
432 * gdb.base/break-always.exp: Test changing memory at addresses
433 with breakpoints inserted.
434
f8eba3c6
TT
4352011-12-06 Joel Brobecker <brobecker@acacore.com>
436
437 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
438 involving a fully qualified function name.
439
4402011-12-06 Tom Tromey <tromey@redhat.com>
441
442 * gdb.ada/homonym.exp: Add three breakpoint tests.
443
4442011-12-06 Tom Tromey <tromey@redhat.com>
445
446 * gdb.base/solib-weak.exp (do_test): Remove kfail.
447 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
448 * gdb.objc/objcdecode.exp: Update for output changes.
449 * gdb.linespec/linespec.exp: New file.
450 * gdb.linespec/lspec.cc: New file.
451 * gdb.linespec/lspec.h: New file.
452 * gdb.linespec/body.h: New file.
453 * gdb.linespec/base/two/thefile.cc: New file.
454 * gdb.linespec/base/one/thefile.cc: New file.
455 * gdb.linespec/Makefile.in: New file.
456 * gdb.cp/templates.exp (test_template_breakpoints): Update for
457 output changes.
458 * gdb.cp/re-set-overloaded.exp: Remove kfail.
459 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
460 makes one breakpoint.
461 * gdb.cp/method2.exp (test_break): Update for output changes.
462 * gdb.cp/mb-templates.exp: Update for output changes.
463 * gdb.cp/mb-inline.exp: Update for output changes.
464 * gdb.cp/mb-ctor.exp: Update for output changes.
465 * gdb.cp/ovsrch.exp: Use fully-qualified names.
466 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
467 has multiple matches.
468 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
469 error message change.
470 * gdb.base/list.exp (test_list_filename_and_number): Update for
471 error message change.
472 * gdb.base/break.exp: Disable pending breakpoints. Update for
473 output changes.
474 * configure.ac: Add gdb.linespec.
475 * configure: Rebuild.
476 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
477
c642a434
UW
4782011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
479
480 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
481 last_break register on s390*-*-* targets.
482
b18003d1
JB
4832011-12-06 Joel Brobecker <brobecker@adacore.com>
484
485 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
486 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
487 of parameter X in procedure Foo.
488
fe96589c
SS
4892011-12-05 Stan Shebs <stan@codesourcery.com>
490
491 * gdb.trace/tfind.exp: Update help string matches.
492
1820ab47
JK
4932011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
494
495 * gdb.server/ext-run.exp (get process list): Accept also systemd
496 as PID 1.
497
e11ac3a3
JK
4982011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
499 Pedro Alves <pedro@codesourcery.com>
500
501 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
502 starting GDB.
503 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
504 $use_gdb_stub.
505 * gdb.base/display.exp: Likewise.
506 * gdb.base/ending-run.exp: Likewise.
507 * gdb.base/list.exp (test_listsize): Likewise.
508 * gdb.base/setshow.exp: Likewise.
509 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
510 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
511 check by global $use_gdb_stub.
512 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
513 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
514 (default_gdb_init): Unset global $use_gdb_stub.
515 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
516 by global $use_gdb_stub.
517 * lib/gdbserver-support.exp: Extend comments for set_board_info
518 gdb_protocol and gdb,socketport.
519 (gdbserver_start_extended): Set global gdbserver_protocol and
520 gdbserver_gdbport. Clear global use_gdb_stub.
521 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
522 from target use_gdb_stub.
523 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
524
1d41d75c
DE
5252011-12-03 Doug Evans <dje@google.com>
526
527 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
528 (gdb_step_for_stub): Add comments.
529
d6d7a51a
MR
5302011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
531
532 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
533 to the caller.
534 (gdb_test_multiple): Likewise.
535
05acf274
JK
5362011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
537
538 Fix gdb.mi/mi-solib.exp without system debug info installed.
539 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
540 expect attribute, return 0 for it. Update comments.
541
2268b414
JK
5422011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
543
544 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
545 (corrupted list): Adjust the expectation.
546
585861ea
JK
5472011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
548
549 PR threads/13448
550 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
551 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
552 * gdb.threads/tls-var-main.c: New file.
553 * gdb.threads/tls-var.c: New file.
554 * gdb.threads/tls-var.exp: New file.
555
968643aa
JK
5562011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
557
558 PR testsuite/12649
559 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
560 Protect gdb_test_multiple by final $gdb_prompt match.
561 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
562 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
563 (test_tracepoints): Likewise.
564
9750bca9
JK
5652011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
566
567 PR breakpoints/13346
568 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
569 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
570 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
571
ac1349b7
JB
5722011-12-01 Joel Brobecker <brobecker@adacore.com>
573
574 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
575 * gdb.ada/homonym/homonym.adb: For use of all types defined
576 locally inside both Get_Value subprograms.
577
26d44faf
JK
5782011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
579
580 Fix racy FAILs.
581 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
582 of send_gdb.
583
514f6425
UW
5842011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
585
586 * gdb.base/testenv.exp: Skip on remote targets. Unset global
587 environment variable after test completed.
588
4255c8d2
UW
5892011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
590
591 * gdb.base/solib-nodir.exp: Skip if remote target.
592 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
593 application. Call gdb_load_shlibs.
594 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
595
a35ad96a
JB
5962011-11-29 Joel Brobecker <brobecker@adacore.com>
597
598 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
599
1a1d5513
JB
6002011-11-28 Joel Brobecker <brobecker@adacore.com>
601
602 * gdb.ada/fullname_bp: New testcase.
603
50b4ddf8
JK
6042011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
605
606 PR testsuite/12649
607 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
608 Wrap send_gdb into a new gdb_test.
609
fb0aec57
JK
610 Code cleanup.
611 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
612 Convert send_gdb and gdb_expect to gdb_test_multiple.
613
2376d946
JK
6142011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
615
616 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
617
1eec78bd
KS
6182011-11-23 Keith Seitz <keiths@redhat.com>
619
620 * lib/mi-support.exp (varobj_tree): New namespace and procs.
621 (mi_varobj_tree_test_children_callback): New proc.
622 (mi_walk_varobj_tree): New proc.
623
36dfb11c
TT
6242011-11-22 Tom Tromey <tromey@redhat.com>
625
626 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
627 Add "use_mi_command" argument.
628 (mi_run_cmd, mi_run_with_cli): New procs.
629 * gdb.mi/solib-lib.c: New file.
630 * gdb.mi/solib-main.c: New file.
631 * gdb.mi/mi-solib.exp: New file.
632
0e965dd0
DE
6332011-11-21 Doug Evans <dje@google.com>
634
635 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
636 _Unwind_DebugHook is missing.
637
f196051f
SS
6382011-11-20 Stan Shebs <stan@codesourcery.com>
639
640 * gdb.trace/tstatus.exp: New.
641 * gdb.trace/actions.c: Include string.h.
642
bfccc43c
YQ
6432011-11-18 Yao Qi <yao@codesourcery.com>
644
645 * gdb.trace/pending.exp: New.
646 * gdb.trace/pending.c: New.
647 * gdb.trace/pendshr1.c: New.
648 * gdb.trace/pendshr2.c: New.
649 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
650 tracepoint location becomes pending.
651 (tracepoint_change_loc_2): New.
652
73cd8ab1
DM
6532011-11-16 David S. Miller <davem@davemloft.net>
654
655 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
656 target is sparc*-*-linux*
657
77426730
PK
6582011-11-15 Paul Koning <paul_koning@dell.com>
659
660 * gdb.python/py-type.exp: New testcases for exceptions on scalar
661 types.
662
ed59ded5
DE
6632011-11-14 Doug Evans <dje@google.com>
664
665 * gdb.base/shell.exp: New file.
666
405f8e94
SS
6672011-11-14 Stan Shebs <stan@codesourcery.com>
668
669 * gdb.trace/ftrace.c: New.
670 * gdb.trace/ftrace.exp: New.
671
1e4d1764
YQ
6722011-11-14 Yao Qi <yao@codesourcery.com>
673
674 * gdb.trace/change-loc-1.c: New.
675 * gdb.trace/change-loc-2.c: New.
676 * gdb.trace/change-loc.c: New.
677 * gdb.trace/change-loc.exp: New.
678 * gdb.trace/change-loc.h: New.
679 * gdb.trace/trace-break.c (marker): Define new symbol.
680 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
681 New.
682 (break_trace_same_addr_6): New.
683
71eba9c2 6842011-11-12 Matt Rice <ratmice@gmail.com>
685
686 * gdb.base/info-macros.exp: Make tests for info definitions
687 test info macro. Add tests for info macro argument processing.
688 Rename a few tests.
689
1d93e29a
KS
6902011-11-11 Keith Seitz <keiths@redhat.com>
691
692 PR gdb/12843
693 * gdb.base/linespecs.exp: New file.
694
a4b5b48a
DE
6952011-11-11 Doug Evans <dje@google.com>
696
697 * gdb.threads/print-threads.exp: Extend timeout for slower
698 tests.
699
f6b47be4
DE
7002011-11-10 Doug Evans <dje@google.com>
701
792a0230
DE
702 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
703 "record to end of main" test.
704
f6b47be4
DE
705 * gdb.python/py-type.c (TS): New typedef.
706 (ts): New global.
707 * gdb.python/py-type.exp: Test field list of typedef.
708
22355c90
JB
7092011-11-10 Joel Brobecker <brobecker@adacore.com>
710
711 * gdb.ada/small_reg_param: New testcase.
712
a7860e76
TT
7132011-11-09 Tom Tromey <tromey@redhat.com>
714
715 * gdb.cp/destrprint.exp: New file.
716 * gdb.cp/destrprint.cc: New file.
717
72a2e3dc
MI
7182011-11-08 Meador Inge <meadori@codesourcery.com>
719
720 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
721 (switch_stack_to_other): New test function.
722 * gdb.arch/thumb-prologue.exp: New test cases.
723
c7195df2 7242011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
725
726 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
727
d3895d7d
YQ
7282011-11-08 Yao Qi <yao@codesourcery.com>
729
730 * gdb.exp (supports_process_record): New.
731 (supports_reverse): New.
732 * gdb.reverse/break-precsave.exp: Call support_process_record
733 to run test conditionally.
734 * gdb.reverse/consecutive-precsave.exp: Likewise.
735 * gdb.reverse/i386-precsave.exp: Likewise.
736 * gdb.reverse/machinestate-precsave.exp: Likewise.
737 * gdb.reverse/solib-precsave.exp: Likewise.
738 * gdb.reverse/step-precsave.exp: Likewise.
739 * gdb.reverse/until-precsave.exp: Likewise.
740 * gdb.reverse/watch-precsave.exp: Likewise.
741 * gdb.reverse/break-reverse.exp: Call support_reverse to run
742 test conditionally.
743 * gdb.reverse/consecutive-reverse.exp: Likewise.
744 * gdb.reverse/finish-precsave.exp: Likewise.
745 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
746 * gdb.reverse/finish-reverse.exp: Likewise.
747 * gdb.reverse/i386-reverse.exp: Likewise.
748 * gdb.reverse/i386-sse-reverse.exp: Likewise.
749 * gdb.reverse/machinestate.exp: Likewise.
750 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
751 * gdb.reverse/sigall-precsave.exp: Likewise.
752 * gdb.reverse/sigall-reverse.exp: Likewise.
753 * gdb.reverse/solib-reverse.exp: Likewise.
754 * gdb.reverse/step-reverse.exp: Likewise.
755 * gdb.reverse/until-reverse.exp: Likewise.
756 * gdb.reverse/watch-reverse.exp: Likewise.
757
a59306a3
YQ
7582011-11-05 Yao Qi <yao@codesourcery.com>
759
760 * gdb.trace/trace-break.exp: Add test on setting two
761 fast tracepoints at the same address.
762
87769f59
JK
7632011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
764
765 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
766
3065dfb6
SS
7672011-11-02 Stan Shebs <stan@codesourcery.com>
768
769 * gdb.trace/collection.c: Add code using strings.
770 * gdb.trace/collection.exp: Add tests of string collection.
771
89e208db
JK
7722011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
773
774 * gdb.base/skip-solib.exp (executable_main): New variable.
775 (binfile_main): Base it on that.
776 Use $executable_main in clean_restart calls. Drop gdb_exit and
777 gdb_start calls.
778
405e54e9
JK
7792011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
780
781 Fix racy FAILs.
782 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
783 breakpoint_re globals import by async. Set string_regex to .* for
784 async. Remove the optional thread_selected_re and breakpoint_re
785 globals expectations.
786
58e8570a
JM
7872011-11-01 Joseph Myers <joseph@codesourcery.com>
788
789 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
790 well as Cygwin.
791
7b35ec7f 7922011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
793
794 Add tests for skip command.
89e208db
JK
795 * gdb.base/skip-solib-lib.c: New
796 * gdb.base/skip-solib-main.c: New
797 * gdb.base/skip-solib.exp: New
798 * gdb.base/skip.c: New
799 * gdb.base/skip.exp: New
800 * gdb.base/skip1.c: New
801 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 802
b9fd1791
PA
8032011-10-31 Yao Qi <yao@codesourcery.com>
804 Pedro Alves <pedro@codesourcery.com>
805
806 * gdb.trace/trace-break.c: New.
807 * gdb.trace/trace-break.exp: New.
808
4323fecc
JK
8092011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
810
811 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
812 break-here-2.
813
0e5bf2a8
PA
8142011-10-28 Pedro Alves <pedro@codesourcery.com>
815
816 * gdb.threads/no-unwaited-for-left.c: New.
817 * gdb.threads/no-unwaited-for-left.exp: New.
818 * gdb.threads/non-ldr-exc-1.c: New.
819 * gdb.threads/non-ldr-exc-1.exp: New.
820 * gdb.threads/non-ldr-exc-2.c: New.
821 * gdb.threads/non-ldr-exc-2.exp: New.
822 * gdb.threads/non-ldr-exc-3.c: New.
823 * gdb.threads/non-ldr-exc-3.exp: New.
824 * gdb.threads/non-ldr-exc-4.c: New.
825 * gdb.threads/non-ldr-exc-4.exp: New.
826
3a3dad98
JK
8272011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
828
829 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
830 * gdb.base/attach-pie-misread.exp: Likewise.
831 * gdb.base/break-interp.exp: Likewise.
832 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
833 testcases for use_gdb_stub.
834 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
835 (continue): New testcase.
836 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
837 * gdb.threads/attach-into-signal.exp: Likewise.
838 * gdb.threads/attach-stopped.exp: Likewise.
839 * gdb.threads/attachstop-mt.exp: Likewise.
840
d6a5d40c
PK
8412011-10-28 Paul Koning <paul_koning@dell.com>
842
843 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
844
ca539be8
JK
8452011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
846
847 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
848 (mi_gdb_test): Import globals thread_selected_re
849 and breakpoint_re. Expect them optionally at the regex start.
850
d234ef5c
DE
8512011-10-27 Doug Evans <dje@google.com>
852
853 * gdb.python/python.exp: Test source -s.
854
ab964825
PK
8552011-10-26 Paul Koning <paul_koning@dell.com>
856
857 * gdb.python/lib-types.cc (struct A): New structure.
858 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 859
54d8a644
PK
8602011-10-25 Paul Koning <paul_koning@dell.com>
861
862 PR python/13327
d234ef5c 863
54d8a644
PK
864 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
865 fetch_lazy method.
866
b0221781
YQ
8672011-10-24 Yao Qi <yao@codesourcery.com>
868
869 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
870 target is tic6x-*-*.
871
6cda5a20
JB
8722011-10-21 Joel Brobecker <brobecker@adacore.com>
873
874 * gdb.ada/mi_task_info/task_switch.adb: New file.
875 * gdb.ada/mi_task_info.exp: New file.
876
5ed9db04
JK
8772011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
878
879 * gdb.cp/expand-psymtabs-cxx.exp: New file.
880 * gdb.cp/expand-psymtabs-cxx.cc: New file.
881
9df2fbc4
PM
8822011-10-20 Phil Muldoon <pmuldoon@redhat.com>
883
884 PR python/12656
885
886 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
887 global_block tests.
888
736086ba
TT
8892011-10-18 Tom Tromey <tromey@redhat.com>
890
891 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
892
4af31552
TT
8932011-10-18 Tom Tromey <tromey@redhat.com>
894
895 * gdb.base/source.exp: Don't include full file name in test name.
896 * gdb.python/python.exp: Don't include full file name in test
897 name.
898
43136979
AR
8992011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
900
901 * gdb.base/attach-pie-noexec.c: New files.
902 * gdb.base/attach-pie-noexec.exp: New files.
903
543a9323
JM
9042011-10-17 Joseph Myers <joseph@codesourcery.com>
905
906 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
907 prompt for each extra line in command.
908
21ae7a4d
JK
9092011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
910
911 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
912 Revert the part of:
913 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
914 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
915 Change the expected string.
916
20ec36d9
JK
9172011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
918
919 Fix results with system glibc debug info installed.
920 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
921 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
922 Accept also __libc_ symbol prefix and no prefix.
923
6501c2fc
KS
9242011-10-14 Keith Seitz <keiths@redhat.com>
925
926 PR c++/13225
927 * gdb.cp/converts.cc (foo3_1): New function.
928 (foo3_2): New functions.
929 * gdb.cp/converts.exp: Add tests for int to pointer conversion
930 and null pointer conversions of integer constant zero.
931 Add test to check if all arguments are checked for incompatible
932 conversion BADNESS.
933
55b1fd0c
TT
9342011-10-14 Tom Tromey <tromey@redhat.com>
935
936 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
937 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
938 linespec.
939
22c05d8a
JK
9402011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
941
942 Fix internal error regression.
943 * gdb.dwarf2/implptr-optimized-out.S: New file.
944 * gdb.dwarf2/implptr-optimized-out.exp: New file.
945
1d6edc3c
JK
9462011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
947
948 Fix empty DWARF expressions DATA vs. SIZE conditionals.
949 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
950 (loclist): New.
951 (4): New abbrev.
952 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
953 Use prepare_for_testing, remove clean_restart.
954 (p arraynoloc, p arraycallnoloc): New tests.
955
9ec72168
JK
9562011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
957
958 * gdb.cp/namespace-enum.exp (executable): New variable.
959 (binfile): Use ${objdir}/${subdir}/ prefix.
960 Use ${executable} for clean_restart.
961
9c6c53f7
SA
9622011-10-11 Sterling Augustine <saugustine@google.com>
963
964 * gdb.cp/Makefile.in: Add namespace-enum test.
965 * gdb.cp/namespace-enum.exp: New file.
966 * gdb.cp/namespace-enum.c: New file.
967 * gdb.cp/namespace-enum-main.c: New file.
968
fac7ceb3
UW
9692011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
970
971 * gdb.python/py-shared.exp: Relax filename check to handle remote:
972 sysroot.
973
941b2081
JK
9742011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
975
976 Reimplement @entry in input expressions.
977 * gdb.base/exprs.c (v_int_array_init): New variable.
978 * gdb.base/exprs.exp (print v_int_array_init)
979 (print *v_int_array_init@1, print *v_int_array_init@2)
980 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
981 (print v_int_array_init[1]@1): New tests.
982
0344e878
JM
9832011-10-10 Joseph Myers <joseph@codesourcery.com>
984
985 * gdb.cp/gdb2495.exp: Do not include directories in filename in
986 expected message.
987
5a56e9c5
DE
9882011-10-09 Doug Evans <dje@google.com>
989
990 * gdb.base/alias.exp: Add tests for alias command.
991
2bda9cc5
JK
9922011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
993
994 * gdb.arch/amd64-entry-value.s: New file.
995 * gdb.mi/mi2-amd64-entry-value.s: New file.
996
a471c594
JK
9972011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
998
999 Display @entry parameter values even for references.
1000 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1001 functions.
1002 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1003 reference and datap_input.
1004 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1005 breakpoints.
1006 (continue to breakpoint: entry_reference: reference)
1007 (entry_reference: bt at entry)
1008 (continue to breakpoint: entry_reference: breakhere_reference)
1009 (entry_reference: bt, entry_reference: ptype regparam)
1010 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1011 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1012 (entry_reference: p regcopy, entry_reference: p nodataparam)
1013 (entry_reference: p nodataparam@entry): New tests.
1014
36b11add
JK
10152011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1016
1017 Support @entry in input expressions.
1018 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1019 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1020 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1021 (tailcall: p j@entry): New tests.
1022 * gdb.cp/koenig.cc (A::entry): New function.
1023 (main): Call it.
1024 * gdb.cp/koenig.exp (p entry (c)): New test.
1025
e18b2753
JK
10262011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1027
1028 Display @entry parameter values (without references).
1029 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1030 (different, validity, invalid): New functions.
1031 (main): Call them.
1032 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1033 stacktest, breakhere_stacktest, different, breakhere_different,
1034 breakhere_validity and breakhere_invalid.
1035 (entry: bt): Update for @entry.
1036 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1037 (entry_validity: *, entry_invalid: *): Many new tests.
1038 * gdb.base/break.exp
1039 (run until breakpoint set at small function, optimized file): Accept
1040 also the @entry suffix.
1041 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1042 * gdb.mi/mi2-amd64-entry-value.c: New files.
1043 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1044
2d6c5dc2
JK
10452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1046
1047 Protect entry values against self tail calls.
1048 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1049 (main): Call self.
1050 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1051 (set debug entry-values 1, self: bt debug entry-values): New tests.
1052
111c6489
JK
10532011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1054
1055 Recognize virtual tail call frames.
1056 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1057 (amb_b, amb_a): New.
1058 (main): Call a and b.
1059 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1060 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1061 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1062 New tests.
1063
8e3b41a9
JK
10642011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1065
1066 Implement basic support for DW_TAG_GNU_call_site.
1067 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1068 * gdb.arch/amd64-entry-value.cc: New file.
1069 * gdb.arch/amd64-entry-value.exp: New file.
1070
181cebd4
JK
10712011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1072
1073 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1074 * gdb.dwarf2/implptr-64bit.S: New file.
1075 * gdb.dwarf2/implptr-64bit.exp: New file.
1076
741f5e3c
JK
10772011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1078
1079 Fix initial language detection with -readnow.
1080 * gdb.cp/readnow-language.cc: New file.
1081 * gdb.cp/readnow-language.exp: New file.
1082
a73d2258
JK
10832011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1084
1085 Fix printed anonymous struct name.
1086 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1087
af369495
JM
10882011-10-09 Joseph Myers <joseph@codesourcery.com>
1089
1090 * gdb.base/solib-symbol.exp: Do not include directories in
1091 filenames in expected messages.
1092
1fa57852
DE
10932011-10-07 Doug Evans <dje@google.com>
1094
1095 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1096
bd054e06
KP
10972011-10-07 Kevin Pouget <kevin.pouget@st.com>
1098
1099 Allow Python notification of new object-file loadings.
1100 * gdb.python/py-events.exp: Test newobjfile event.
1101 * gdb.python/py-events.py: Register newobjfile callback.
1102 * gdb.python/py-events.c: Add call to shared library
1103 * gdb.python/py-events-shlib.c: New file.
1104
8031b6f8
JM
11052011-10-06 Joseph Myers <joseph@codesourcery.com>
1106
1107 * gdb.base/fixsection.exp: Do not include directories in filename
1108 in expected message.
1109
7fea6923
PM
11102011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1111
1112 Add tests for passing of environment variables to inferior.
1113 * gdb.base/testenv.c: New test source.
1114 * gdb.base/testenv.exp: New expect test.
1115
687f2a88
PK
11162011-10-04 Paul Koning <paul_koning@dell.com>
1117
1118 * gdb.python/py-value.c (main): Break before return.
1119
cb6be26b
KP
11202011-10-04 Kevin Pouget <kevin.pouget@st.com>
1121
1122 PR python/12691: Add the inferior to Python exited event
1123 * gdb.python/py-events.exp: Test the inferior attribute of exited
1124 event with a fork.
1125 * gdb.python/py-events.py: Print inferior number on exit.
1126 * gdb.python/py-events.c: Fork the inferior.
1127
fb213700
EBM
11282011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1129
1130 * gdb.base/jit.exp: Add testcase name to log message
1131
aa2071bd
PK
11322011-10-03 Paul Koning <paul_koning@dell.com>
1133 Jan Kratochvil <jan.kratochvil@redhat.com>
1134
1135 * gdb.python/py-value.exp
1136 (python inval = gdb.parse_and_eval('*(int*)0'))
1137 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1138 (set argc=2, python print argc_lazy): New tests.
1139
dd11a36c
JB
11402011-10-02 Joel Brobecker <brobecker@adacore.com>
1141
1142 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1143
46f886f1
JK
11442011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1145 Pedro Alves <pedro@codesourcery.com>
1146
1147 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1148 can_read_0, test for it.
1149 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1150 (parse_and_eval with memory error): ... here, make it untested if
1151 can_read_0.
1152
c5cb204f
MP
11532011-09-30 Marek Polacek <mpolacek@redhat.com>
1154
1155 * gdb.python/python.exp (verify pagination beforehand)
1156 (verify pagination afterwards): Fix race by splitting the line.
1157
68fb0ec0
JM
11582011-09-29 Joseph Myers <joseph@codesourcery.com>
1159
1160 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1161 for 64-bit multilibs from i?86-* targets.
1162
6aee0d90
MP
11632011-09-29 Marek Polacek <mpolacek@redhat.com>
1164
1165 * lib/gdb.exp: Fix a typo in one of the comments.
1166
e9101ff5
MP
11672011-09-29 Marek Polacek <mpolacek@redhat.com>
1168
1169 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1170 matching pattern.
1171
7a81bdbf
PK
11722011-09-28 Paul Koning <paul_koning@dell.com>
1173
1174 * gdb.python/py-type.c (enum E): New.
1175 * gdb.python/py-type.exp (test_fields): Add tests for Python
1176 mapping access to fields.
1177 (test_enums): New test for field access on enums.
1178
6710bf39
SS
11792011-09-27 Stan Shebs <stan@codesourcery.com>
1180
1181 * gdb.trace/collection.exp: Test collection of $_ret.
1182
b2a6bdeb
AT
11832011-09-22 Andreas Tobler <andreast@fgznet.ch>
1184
1185 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1186 list of compilation switches for <*-*-freebsd*>.
1187
3c9057f3
SS
11882011-09-19 Stan Shebs <stan@codesourcery.com>
1189
1190 * gdb.trace/tspeed.exp: New file.
1191 * gdb.trace/tspeed.c: New file.
1192
34518530
YQ
11932011-09-18 Yao Qi <yao@codesourcery.com>
1194
1195 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1196 instructions.
1197 (test_adr_32bit, test_pop_pc): Likewise.
1198 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1199 Thumb instructions.
1200 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1201 in gdb_test_multiple.
1202 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1203
ab254057
YQ
12042011-09-17 Yao Qi <yao@codesourcery.com>
1205
1206 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1207 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1208 support single step to signal handler.
1209
9c317b71
YQ
12102011-09-17 Yao Qi <yao@codesourcery.com>
1211
1212 * gdb.base/disp-step-fork.c: New.
1213 * gdb.base/disp-step-syscall.exp: New.
1214 * gdb.base/disp-step-vfork.c: New.
1215
a8123151
JB
12162011-09-16 Joel Brobecker <brobecker@adacore.com>
1217
1218 * gdb.ada/tasks.exp: Make the expected output for
1219 the `info tasks' tests more resilient to spacing
1220 changes.
1221
63a9aad8
JK
12222011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1223
1224 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1225 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1226
2aa48337
KP
12272011-09-15 Kevin Pouget <kevin.pouget@st.com>
1228
1229 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1230 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1231
6839b47f
KP
12322011-04-30 Kevin Pouget <kevin.pouget@st.com>
1233
1234 Handle multiple breakpoint hits in Python interface:
1235 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1236 presence.
1237 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1238 breakpoint hits.
1239
0935723e
JK
12402011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1241 Jan Kratochvil <jan.kratochvil@redhat.com>
1242
1243 * gdb.python/py-events.exp: Remove pretty printing comment.
1244 * gdb.python/py-evsignal.exp: New file.
1245 * gdb.python/py-evthreads.c: Include signal.h.
1246 (thread3): Remove variable count3. Remove variable bad and use raise
1247 instead.
1248 (thread2): Remove variable count2. Move thread3 pthread_create here,
1249 merge pthread_join to a single line.
1250 (main): Remove variable count1. Merge pthread_join with pthread_create
1251 to a single line.
1252 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1253 KFAIL python/12966 for gdbserver. Test return value of
1254 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1255 gdb_expect by gdb_test and gdb_test_multiple.
1256 (thread 2, thread 3): New tests.
1257
4801a9a3
PA
12582011-09-12 Matt Rice <ratmice@gmail.com>
1259 Pedro Alves <pedro@codesourcery.com>
1260
1261 PR gdb/13175
1262
1263 * gdb.base/interp.exp: New tests.
1264 * gdb.base/interp.c: New file.
1265
24ece742
DE
12662011-09-12 Doug Evans <dje@google.com>
1267
1268 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1269 * gdb.dwarf2/typeddwarf.exp: Ditto.
1270
7f062217
JK
12712011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1272
1273 Fix compatibility with x32 arch.
1274 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1275 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1276 is_x86_like_target.
1277 * testsuite/gdb.trace/collection.exp: Likewise.
1278 * testsuite/gdb.trace/report.exp: Likewise.
1279 * testsuite/gdb.trace/unavailable.exp: Likewise.
1280 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1281 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1282 (is_x86_like_target): Check also is_amd64_regs_target.
1283
08711b9a
JK
12842011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1285
1286 PR breakpoints/12435
1287 * gdb.arch/amd64-prologue-xmm.c: New file.
1288 * gdb.arch/amd64-prologue-xmm.exp: New file.
1289 * gdb.arch/amd64-prologue-xmm.s: New file.
1290
b99b5f66
JK
12912011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1292
1293 * gdb.dwarf2/dw2-param-error-main.c: New file.
1294 * gdb.dwarf2/dw2-param-error.S: New file.
1295 * gdb.dwarf2/dw2-param-error.exp: New file.
1296
a391a2f6
PA
12972011-09-08 Pedro Alves <pedro@codesourcery.com>
1298
1299 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1300 inferior's pid and look for a core dump named core.$pid. Use
1301 `remote_file' commands on the host instead of hand coding shell
1302 commands on the build.
1303 * gdb.base/valgrind-db-attach.exp: Kill the program before
1304 finishing the test.
1305
7d8e6458 13062011-09-02 Matt Rice <ratmice@gmail.com>
1307
1308 * lib/prompt.exp: New file for testing the first prompt.
1309 * gdb.python/py-prompt.exp: Ditto.
1310 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1311
68e77c9e
PA
13122011-09-02 Pedro Alves <pedro@codesourcery.com>
1313
1314 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1315 0, before testing gcore.
1316
9655e943
JK
13172011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1318
df6dc84d
JK
1319 * dw2-ifort-parameter-debug.S: Update copyright year.
1320 * dw2-ifort-parameter.c: Update copyright year.
1321 * dw2-ifort-parameter.exp: Update copyright year.
1322
9655e943
JK
1323 * dw2-ifort-parameter-debug.S: New file.
1324 * dw2-ifort-parameter.c: New file.
1325 * dw2-ifort-parameter.exp: New file.
1326
353d1d73
JK
13272011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1328
1329 * gdb.base/commands.exp (error_clears_commands_left): New function.
1330 (): Call it.
1331
5c07461a
JK
13322011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1333
1334 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1335 (C): Initialize `a'.
1336 * gdb.mi/mi-inheritance-syntax-error.exp
1337 (-data-evaluate-expression $path): Expect `a' as 5.
1338
0d932b2f
MK
13392011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1340
1341 PR mi/11912
1342 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1343 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1344 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1345 keyword in output of -var-info-path-expression.
1346
bdb54049
JK
13472011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1348
1349 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1350 * gdb.trace/collection.exp: Likewise.
1351 * gdb.trace/report.exp: Likewise.
1352 * gdb.trace/unavailable.exp: Likewise.
1353 * gdb.trace/while-dyn.exp: Likewise.
1354
59cde39c
KS
13552011-08-18 Keith Seitz <keiths@redhat.com>
1356
1357 PR c++/12266
1358 * gdb.cp/meth-typedefs.cc: New file.
1359 * gdb.cp/meth-typedefs.exp: New file.
1360
fa3a4f15
PM
13612011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1362
1363 * gdb.python/python.exp: Add extended-prompt tests.
1364
c1049fca
JK
13652011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1366
1367 * gdb.arch/i386-dr3-watch.exp
1368 (watchpoint on gap1 does not fit debug registers)
1369 (delete all watchpoints): Fix racy expect strings.
1370
d93f7b5c
YQ
13712011-08-14 Yao Qi <yao@codesourcery.com>
1372
1373 * gdb.base/maint.exp: set data_section to ".neardata".
1374 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1375 * gdb.base/savedregs.exp: Handle SIGILL.
1376 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1377 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1378
457e09f0
DE
13792011-08-12 Doug Evans <dje@google.com>
1380
1381 * gdb.python/py-symbol.exp: Add test for symbol.type.
1382
5d0bb2fb
UW
13832011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1384
1385 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1386 * gdb.mi/mi-pthreads.exp: Likewise.
1387 * gdb.mi/mi2-pthreads.exp: Likewise.
1388 * gdb.mi/gdb669.exp.exp: Likewise.
1389
fcdfa280
PA
13902011-08-09 Pedro Alves <pedro@codesourcery.com>
1391
1392 * lib/mi-support.exp (detect_async): Rename to...
1393 (mi_detect_async): ... this.
1394 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1395 * gdb.mi/mi-nonstop.exp: Adjust.
1396 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1397 * gdb.mi/mi-nsintrall.exp: Adjust.
1398 * gdb.mi/mi-nsmoribund.exp: Adjust.
1399 * gdb.mi/mi-nsthrexec.exp: Adjust.
1400
9d8fa392
PA
14012011-08-09 Pedro Alves <pedro@codesourcery.com>
1402
1403 * gdb.base/display.c (do_loops): New `p_i' local.
1404 * gdb.base/display.exp: Test displaying a variable that is
1405 temporarily at a bad address.
1406
b6cede78
JK
14072011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1408
1409 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1410 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1411
67bedb8c
JK
14122011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1413
1414 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
1415 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1416 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 1417
af6e93b2
PA
14182011-08-05 Pedro Alves <pedro@codesourcery.com>
1419
1420 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1421 procedure.
1422 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1423
1cf0e11f
YQ
14242011-08-05 Yao Qi <yao@codesourcery.com>
1425
1426 * gdb.base/callfuncs.exp: Set language after main.
1427 * gdb.cp/cplusfuncs.exp: Likewise.
1428 * gdb.cp/inherit.exp: Likewise.
1429
a1e28cb2
UW
14302011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1431
1432 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1433 * gdb.base/watch-vfork.exp: Skip on remote targets.
1434
d4f5bbb9
UW
14352011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1436
1437 * gdb.threads/thread-find.exp: Support remote targets.
1438
724f4f80
UW
14392011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1440
1441 * gdb.base/jit.exp: Download solib_binfile to target.
1442 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1443 and call dlopen without full path name.
1444 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1445 dlopen without full path name.
1446
934709f0
PW
14472011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1448
1449 * gdb.base/break-always.exp: Complete the test
1450 with duplicated breakpoints and enabling/disabling them.
1451
c26106c4
TT
14522011-08-02 Tom Tromey <tromey@redhat.com>
1453
1454 PR gdb/11289:
1455 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1456
9300444e 14572011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
1458
1459 PR gdb/13045
1460 * gdb.base/float.exp: Add new test case for PR gdb/13045
1461 * gdb.base/float.c: New file.
1462
00bd41d6
PM
14632011-07-28 Phil Muldoon <pmuldoon@redhat.com>
1464
1465 * gdb.python/py-mi.exp: Test printers returning string hint, and
1466 also not returning a value.
1467 * gdb.python/py-prettyprint.c: Add testcase for above.
1468 * gdb.python/py-prettyprint.py: Add test printer for above.
1469
d24f74ce
JK
14702011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1471
1472 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1473 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1474 (.Ldie30) Add as field "data4".
1475 (.Ldie32) Rename field "b" to "shl".
1476 (abbrev4) Change for the "data4" field.
1477 (abbrev5, abbrev6) Remove.
1478 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1479 (p &s.shl): ... here. Add comment.
1480 (p &s.data4): New.
1481
bb7da2bf
JK
14822011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1483
1484 Fix crash on lval_computed values.
1485 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1486
11081198
JK
14872011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1488
1489 * gdb.base/help.exp (help whatis): Update the expected string.
1490
3c6e0cb3
JK
14912011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1492
1493 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1494 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1495 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1496 Change the expected string.
1497
efa80663
PA
14982011-07-26 Pedro Alves <pedro@codesourcery.com>
1499
1500 * gdb.base/watchpoint.exp
1501 (test_disable_enable_software_watchpoint): New procedure.
1502 (top level): Run it.
1503
db8e4570
UW
15042011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
1505
1506 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
1507 executable file "${binfile}", C++ version "${binfile}-cxx".
1508 * gdb.python/py-prettyprint.exp: Likewise.
1509 * gdb.python/py-symbol.exp: Likewise.
1510 * gdb.python/py-type.exp: Likewise.
1511 * gdb.python/py-value.exp: Likewise.
1512 * gdb.python/py-template.exp (test_template_arg): Pass full executable
1513 file name instead of just suffix.
1514
543305c9
JK
15152011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1516
1517 Fix implicit pointer offsets.
1518 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1519 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1520 (continue to breakpoint: continue to baz breakpoint for implptr)
1521 (sanity check element 0, sanity check element 1)
1522 (enter the inlined function, check element 0 for the offset)
1523 (check element 1 for the offset)
1524 (continue to breakpoint: ignore the second baz breakpoint): New tests.
1525 (set foo breakpoint for implptr): Update the breakpoint number.
1526
b3215adc
UW
15272011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1528
1529 * gdb.python/py-mi.exp: Use different file names for different
1530 versions of the executable under test.
1531 * gdb.python/py-prettyprint.exp: Likewise.
1532 * gdb.python/py-symbol.exp: Likewise.
1533 * gdb.python/py-template.exp: Likewise.
1534 * gdb.python/py-type.exp: Likewise.
1535 * gdb.python/py-value.exp: Likewise.
1536
182b9acc
UW
15372011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1538
1539 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1540 flag after restarting GDB if necessary.
1541
e6052b5d
UW
15422011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1543
1544 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1545
1ced966e
PA
15462011-07-22 Pedro Alves <pedro@codesourcery.com>
1547
1548 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1549 backend doesn't leave used debug registers behind.
1550
3543a589
TT
15512011-07-22 Tom Tromey <tromey@redhat.com>
1552
1553 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1554 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1555 argument.
1556 * gdb.dwarf2/typeddwarf-amd64.S: New file.
1557
14d15303 15582011-07-21 Matt Rice <ratmice@gmail.com>
1559
1560 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1561 in mostlyclean rule. Add files ending in .core.
1562
9b158ba0 15632011-07-21 Matt Rice <ratmice@gmail.com>
1564
1565 PR macros/12999
1566 * gdb.base/info-macros.c: New test sources.
1567 * gdb.base/info-macros.exp: New tests.
1568
d17b6f81
PM
15692011-07-21 Phil Muldoon <pmuldoon@redhat.com>
1570
1571 * gdb.python/python.exp: Add prompt substitution tests.
1572
918dd910
JK
15732011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1574
1575 Fix crash if referenced CU is aged out.
1576 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1577 New.
1578 * gdb.dwarf2/implptr.exp: Likewise.
1579
0e37a63c
JK
15802011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1581
1582 * gdb.dwarf2/implptr.S: Rebuilt.
1583 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1584 (bar): Use them for j, k, l.
1585 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
1586 COMPILE.
1587 (print j in implptr:bar): Update for the intp typedef.
1588 (print p[0].x in implptr:foo): Use more exact regex.
1589
f65cf84c
TT
15902011-07-18 Tom Tromey <tromey@redhat.com>
1591
1592 * gdb.cp/static-method.exp: Add missing single quote.
1593
d5b4a7be
YQ
15942011-07-18 Yao Qi <yao@codesourcery.com>
1595
1596 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1597 supported.
1598 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1599 * gdb.mi/mi-nonstop.exp: Likewise.
1600 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1601 * gdb.mi/mi-nsintrall.exp: Likewise.
1602 * gdb.mi/mi-nsmoribund.exp: Likewise.
1603 * gdb.mi/mi-nsthrexec.exp: Likewise.
1604 * gdb.python/py-evthreads.exp: Likewise.
1605
e9ea2662
JK
16062011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1607
1608 Code cleanup.
1609 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
1610 it. Substitute it instead of test_compiler_info everywhere.
1611
ce451573
UW
16122011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1613
1614 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
1615 remote targets as well.
1616
756d88a7
UW
16172011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1618
1619 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1620 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
1621
31f83dc5
UW
16222011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1623
1624 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1625 a remote machine, not the host.
1626 (gdb_compile_shlib): Set soname if target is remote.
1627
059241a0
PP
16282011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1629
1630 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1631
28a0b48c 16322011-07-13 Matt Rice <ratmice@gmail.com>
1633
1634 * gdb.python/py-objfile-script-gdb.py: Renamed to
1635 py-objfile-script-gdb.py.in.
1636 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1637 py-objfile-script-gdb.py.
1638 * gdb.python/py-objfile-script.exp: Update reference to
1639 py-objfile-script-gdb.py.
1640
9a771b67
JK
16412011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1644 reference undefined label.
1645
04ad99e6
JK
16462011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1647
1648 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1649 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1650 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1651 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1652
713389e0
PM
16532011-07-11 Phil Muldoon <pmuldoon@redhat.com>
1654
1655 PR python/12438
1656 * gdb.python/python.exp: Add maint set/show python print-stack
1657 deprecated tests. Add set/show python print-backtrace tests.
1658
97d146f8
JK
16592011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1660
1661 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1662 debug info.
1663
facde0e5 16642011-07-06 Matt Rice <ratmice@gmail.com>
1665
1666 * gdb.python/python.exp: Update filename paths.
1667 * gdb.python/py-symtab.exp: Ditto.
1668
438640d1
MP
16692011-07-06 Marek Polacek <mpolacek@redhat.com>
1670
1671 * gdb.python/py-evthreads.exp: Add missing `$'.
1672
33a365df
MF
16732011-07-06 Jie Zhang <jie.zhang@analog.com>
1674
1675 * config/bfin.exp: New file.
1676 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1677 * gdb.asm/bfin.inc: New file.
1678
8f7ae686
MP
16792011-07-06 Marek Polacek <mpolacek@redhat.com>
1680
df46027d 1681 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
1682 the whole output.
1683
eb2a6f42
TT
16842011-07-05 Tom Tromey <tromey@redhat.com>
1685
1686 * gdb.java/jprint.java (jprint.hi): New field.
1687 * gdb.java/jprint.exp: Print string.
1688
177b42fe
TJB
16892011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
1690
1691 * gdb.base/call-sc.c: Fix typos.
1692 * gdb.base/ifelse.exp: Likewise.
1693 * gdb.base/structs.c: Likewise.
1694
3b2a0cf2
JB
16952011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1696
1697 * gdb.base/jit-so.exp: New test.
1698 * gdb.base/jit-dlmain.c: New file.
1699 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1700
46fc714c
JK
17012011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1702
1703 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
1704 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1705 * gdb.cp/pr9167.exp (p b): Likewise.
1706 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1707 (test value of P in inner_m, test type of Z in inner_m): Call
1708 setup_xfail for gcc <= 4.5.
46fc714c 1709
418c7cf7
JK
17102011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1711
1712 * gdb.cp/paren-type.cc: New files.
1713 * gdb.cp/paren-type.exp: New files.
1714
3d50dd94
JK
17152011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1716
1717 Stop on first linespec terminator instead of eating what we can.
1718 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1719 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1720 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1721 (break C::f()): ... this one.
1722 (break C::operator()()): New test.
1723 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1724 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1725 test.
1726
dcf9f4ab
JK
17272011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1728
1729 Fall back linespec to minimal symbols.
1730 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1731 error message.
1732 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1733 * gdb.cp/minsym-fallback-main.cc: New file.
1734 * gdb.cp/minsym-fallback.cc: New file.
1735 * gdb.cp/minsym-fallback.exp: New file.
1736 * gdb.cp/minsym-fallback.h: New file.
1737
3f542ed1
JK
17382011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1739
1740 * gdb.cp/no-dmgl-verbose.cc: New file.
1741 * gdb.cp/no-dmgl-verbose.exp: New file.
1742
17432011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
1744
1745 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1746 __GI_.
1747 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1748 (f): New function.
1749 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1750 (complete p 'func<short>(): ... here.
1751 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1752 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1753 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1754 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1755 Make them KFAIL gcc/49546.
1756
00eb2c4a
JB
17572011-07-01 Joel Brobecker <brobecker@adacore.com>
1758
1759 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1760
85a20c42
JK
17612011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1762
1763 Test GCC PR debug/49546.
1764 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1765 (test type of F in k3_m, test value of F in k3_m): New.
1766 * gdb.cp/temargs.cc (struct S3, struct K3): New.
1767 (main): New variable k3. Call k3.k3_m.
1768
d2d43431
JB
17692011-07-01 Jean-Charles Delay <delay@adacore.com>
1770
1771 * gdb.ada/packed_array.exp: Fix expected outout.
1772
54ae186f
JB
17732011-07-01 Jean-Charles Delay <delay@adacore.com>
1774
1775 * gdb.ada/packed_array.exp: fixed expected output.
1776
8f17729f
JB
17772011-07-01 Joel Brobecker <brobecker@adacore.com>
1778
1779 * gdb.ada/same_enum: New testcase.
1780
f5aa6869
JB
17812011-07-01 Joel Brobecker <brobecker@adacore.com>
1782
1783 * gdb.ada/ptr_typedef: New testcase.
1784
828292f2
JB
17852011-07-01 Joel Brobecker <brobecker@adacore.com>
1786
1787 * gdb.ada/arrayptr.exp: Add ptype test.
1788
18920c42
JB
17892011-07-01 Joel Brobecker <brobecker@adacore.com>
1790
1791 * gdb.ada/char_enum: New testcase.
1792
3536d9e3 17932011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
1794
1795 * gdb.base/dump.exp (capture_pointer_with_type): New.
1796 Get value from address instead of name.
1797 Start GDB once, and do `dump' and `restore'
1798 tests together.
1799
db863c42
MF
18002011-06-30 Jie Zhang <jie.zhang@analog.com>
1801 Mike Frysinger <vapier@gentoo.org>
1802
1803 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1804 helper functions for getting/setting remotetimeout variable.
1805 * lib/gdb.exp (gdb_load): If the target is remote, set
1806 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1807 with $loadtimeout. Set $load_ok to 0 before doing the load.
1808 Instead of returning, immediately, set $load_ok to 0. Call
1809 set_remotetimeout with $oldremotetimeout, and then return if
1810 $load_ok is 1.
1811
e9e642a8
AB
18122011-06-30 Andrew Burgess <aburgess@broadcom.com>
1813
1814 * gdb.python/py-template.exp: Don't run this test if the target
1815 does not support c++ tests.
1816
32019081
JK
18172011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1818
1819 Fix non-only rename list for Fortran modules import.
1820 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1821 tests.
1822 * gdb.fortran/module.f90 (module moduse): New.
1823 (program module): use moduse, test var_x, var_y and var_z.
1824
0ecee54c
TT
18252011-06-29 Tom Tromey <tromey@redhat.com>
1826
1827 PR testsuite/12040:
1828 * gdb.fortran/array-element.exp: Use f90, not f77.
1829 * gdb.fortran/complex.exp: Use f90, not f77.
1830 * gdb.fortran/derived-type.exp: Use f90, not f77.
1831 * gdb.fortran/library-module.exp: Use f90, not f77.
1832 * gdb.fortran/logical.exp: Use f90, not f77.
1833 * gdb.fortran/module.exp: Use f90, not f77.
1834 * gdb.fortran/multi-dim.exp: Use f90, not f77.
1835 * gdb.fortran/subarray.exp: Use f90, not f77.
1836
3b2b8fea
TT
18372011-06-29 Tom Tromey <tromey@redhat.com>
1838
1839 * gdb.fortran/charset.exp: New file.
1840 * gdb.fortran/charset.f90: New file.
1841
42159ca5
TT
18422011-06-29 Tom Tromey <tromey@redhat.com>
1843
1844 PR testsuite/12040:
1845 * lib/future.exp: New file, mostly extracted from ada.exp.
1846 Rewrote compatibility code to use rename.
1847 (gdb_find_gfortran): New proc.
1848 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1849 gfortran patch.
1850 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1851 Move to future.exp.
1852 * lib/gdb.exp: Always load future.exp.
1853
af69a5ce
YQ
18542011-06-28 Yao Qi <yao@codesourcery.com>
1855
1856 * gdb.cp/exception.cc: Don't include iostream.
1857 (bar): Remove print statement.
1858 (catcher): New.
1859 (main): Remove print statements. Call function catcher.
1860 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1861 Set breakpoint on catcher, and check the value of parameter.
1862
ab5c6a72
YQ
18632011-06-23 Yao Qi <yao@codesourcery.com>
1864
1865 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1866 1.2 is disabled. KFAIL for uclinux.
1867
9497469f
MP
18682011-06-23 Marek Polacek <mpolacek@redhat.com>
1869
1870 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1871 mi_gdb_test.
1872
b9132588
MP
18732011-06-23 Marek Polacek <mpolacek@redhat.com>
1874
5d197ed0 1875 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 1876
e55595ca
MP
18772011-06-23 Marek Polacek <mpolacek@redhat.com>
1878
5d197ed0
MP
1879 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1880
18812011-06-23 Marek Polacek <mpolacek@redhat.com>
1882
1883 * gdb.mi/mi2-basics.exp: Fix races. Honour the
1884 `test_exec_and_symbol_mi_operatons' return value.
1885 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1886 gdb_test_multiple.
1887 (test_exec_and_symbol_mi_operatons): Likewise.
1888 (test_path_specification): Likewise.
e55595ca 1889
be777e08
YQ
18902011-06-23 Yao Qi <yao@codesourcery.com>
1891
1892 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1893 supported.
1894 * lib/gdb.exp (support_displaced_stepping): New.
1895
615556d6
YQ
18962011-06-23 Yao Qi <yao@codesourcery.com>
1897
1898 * gdb.threads/execl.exp: Skip on remote target.
1899
833b0ca7
MP
19002011-06-21 Marek Polacek <mpolacek@redhat.com>
1901
5d197ed0 1902 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
1903 mi_gdb_test.
1904
1ee4023a
MP
19052011-06-20 Marek Polacek <mpolacek@redhat.com>
1906
5d197ed0 1907 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 1908
d0b1d624
MP
19092011-06-20 Marek Polacek <mpolacek@redhat.com>
1910
5d197ed0 1911 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
1912 mi_gdb_test.
1913
79aa92c1
MP
19142011-06-20 Marek Polacek <mpolacek@redhat.com>
1915
5d197ed0 1916 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 1917
5ce5db06
YQ
19182011-06-14 Yao Qi <yao@codesourcery.com>
1919
1920 gdb/testsuite/
1921 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1922
533a737e
JK
19232011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1924
1925 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1926
d0e53741
TT
19272011-06-10 Tom Tromey <tromey@redhat.com>
1928
1929 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1930 Add tests for pointer-to-member-function.
1931 * gdb.cp/temargs.cc (S::somefunc): New function.
1932 (K2): New class.
1933 (main): Instantiate K2; call method.
1934
b5916bbd
JB
19352011-06-08 Joel Brobecker <brobecker@adacore.com>
1936
1937 * gdb.python/py-inferior.c (f2): Make str an array rather
1938 than a pointer.
1939 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1940
5be4dfca
JK
19412011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1942
1943 * gdb.base/async-shell.c: New file.
1944 * gdb.base/async-shell.exp: New file.
1945
9f47e254
PA
19462011-06-06 Pedro Alves <pedro@codesourcery.com>
1947
1948 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1949
64b9b334
JB
19502011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
1951
1952 From Stephen Kitt <steve@sk2.org>
1953 * gdb.base/help.exp: Adjust following some spelling corrections
1954 in GDB.
1955
dbc0f131
YQ
19562011-06-01 Yao Qi <yao@codesourcery.com>
1957
1958 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1959
fd336a18
KS
19602010-05-31 Keith Seitz <keiths@redhat.com>
1961
1962 PR c++/12750
1963 * gdb.cp/static-method.cc: New file.
1964 * gdb.cp/static-method.exp: New file.
1965
fa8b9902
KS
19662010-05-31 Keith Seitz <keiths@redhat.com>
1967
1968 PR symtab/12704
1969 * gdb.cp/anon-ns.cc: New file.
1970 * gdb.cp/anon-ns.exp: New file.
1971
0a5b1e09
PA
19722011-05-31 Pedro Alves <pedro@codesourcery.com>
1973
1974 * gdb.arch/i386-dr3-watch.c: New file.
1975 * gdb.arch/i386-dr3-watch.exp: New file.
1976
0578b8d1
YQ
19772011-05-30 Yao Qi <yao@codesourcery.com>
1978
1979 * gdb.base/callfuncs.c (t_structs_fc): New.
1980 (t_structs_dc, t_structs_ldc): New.
1981 (t_double_many_args):
1982 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1983 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1984 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1985 * gdb.base/callfuncs.exp: Call new functions.
1986
6680506e
YQ
19872011-05-30 Yao Qi <yao@codesourcery.com>
1988
ff4d2c60
YQ
1989 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1990 Call rerun_and_prepare for each test to isolate effects.
1991
19922011-05-30 Yao Qi <yao@codesourcery.com>
1993
1994 * gdb.base/varargs.c (find_max_float_real): New.
1995 (find_max_double_real, find_max_long_double_real): New.
1996 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
1997 * lib/gdb.exp (setup_kfail_for_target): New.
1998
e43ec454
YQ
19992011-05-30 Yao Qi <yao@codesourcery.com>
2000
2001 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2002 (callcd, callce, callcf, callc1a, callc1b): New.
2003 (callc2a, callc2b): New.
2004 * gdb.base/funcargs.exp (complex_args): New.
2005 (complex_integral_args, complex_float_integral_args): New.
2006 * lib/gdb.exp (support_complex_tests): New. Determine
2007 whether to run test cases on _Complex types.
2008
432b4d03
JK
20092011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2010
2011 * gdb.threads/leader-exit.c: New file.
2012 * gdb.threads/leader-exit.exp: New file.
2013
6caf069d
MP
20142011-05-27 Marek Polacek <mpolacek@redhat.com>
2015
9497469f 2016 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2017
97fce28b
MP
20182011-05-27 Marek Polacek <mpolacek@redhat.com>
2019
2020 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2021 remove the `supported' variable.
2022 * gdb.mi/mi-nonstop.exp: Likewise.
2023 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2024 * gdb.mi/mi-nsintrall.exp: Likewise.
2025 * gdb.mi/mi-nsmoribund.exp: Likewise.
2026 * gdb.mi/mi-nsthrexec.exp: Likewise.
2027
9da8c2a0
PA
20282011-05-26 Pedro Alves <pedro@codesourcery.com>
2029
2030 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2031
2c03e5be
PA
20322011-05-26 Pedro Alves <pedro@codesourcery.com>
2033
2034 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2035
2e21250d
KS
20362011-05-24 Keith Seitz <keiths@redhat.com>
2037
2038 PR breakpoint/12803
2039 * gdb.cp/cmpd-minsyms.cc (a): New method.
2040 (b): New method.
2041 (c): New method.
2042 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2043
cdac0397
PA
20442011-05-24 Pedro Alves <pedro@codesourcery.com>
2045
2046 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2047 watchpoint's command list didn't execute when the watchpoint went
2048 out of scope.
2049
ee5683ab
PM
20502011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2051
2052 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2053 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2054 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2055 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2056 * gdb.arch/i386-permbkpt.exp: Likewise.
2057 * gdb.arch/i386-prologue.exp: Likewise.
2058 * gdb.arch/i386-size-overlap.exp: Likewise.
2059 * gdb.arch/i386-size.exp: Likewise.
2060 * gdb.arch/i386-unwind.exp: Likewise.
2061 * gdb.reverse/i386-precsave.exp: Likewise.
2062 * gdb.reverse/i386-reverse.exp: Likewise.
2063 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2064 * gdb.reverse/i387-env-reverse.exp: Likewise.
2065 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2066
c91c8c16
PA
20672011-05-24 Pedro Alves <pedro@codesourcery.com>
2068
2069 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2070 file doesn't error, using MI.
2071
c50491a7
TT
20722011-05-23 Tom Tromey <tromey@redhat.com>
2073
2074 * gdb.base/charset.exp (string_display): Add tests to assign to
2075 arrays.
2076 * gdb.base/charset.c (short_array, int_array, long_array): New.
2077
4a07b7da
PA
20782011-05-20 Pedro Alves <pedro@codesourcery.com>
2079
2080 Cope with async mode.
2081
4a07b7da
PA
2082 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2083 into gdb_test + mi_expect_stop.
2084
b275f2d2
PA
20852011-05-20 Pedro Alves <pedro@codesourcery.com>
2086
2087 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2088 (callme): Remove printf call.
2089
eec52c44
PM
20902011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2091
2092 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2093 quote pattern to avoid problems with Cygwin/mingw expect versions.
2094 * gdb.base/default.exp (show convenience): Use double
2095 quote pattern for regular expressions.
2096
b3c8eb43
JK
20972011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2098
2099 Fix -readnow for -gdwarf-4 unused type units.
2100 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2101 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2102
ed731959
JK
21032011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2104
2105 * gdb.base/kill-after-signal.c: New file.
2106 * gdb.base/kill-after-signal.exp: New file.
2107
3b48433d
PA
21082011-05-16 Pedro Alves <pedro@codesourcery.com>
2109
2110 * gdb.ada/start.exp: Call untested with the correct test filename.
2111 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2112 test filename. Make the test's binary unique.
2113 * gdb.arch/i386-signal.exp: Call untested with the correct test
2114 filename.
2115 * gdb.arch/i386-size-overlap.exp: Ditto.
2116 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2117 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2118 * gdb.cp/call-c.exp: Ditto.
2119 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2120 filename. Make the test's binary unique.
2121 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2122 * gdb.python/py-mi.exp: Ditto.
2123 * gdb.python/Makefile.in (EXECUTABLES): Update.
2124 * gdb.reverse/i386-precsave.exp: Ditto.
2125 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2126 test filename.
2127 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2128 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2129 unique.
2130 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2131 test filename.
2132 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2133 * gdb.trace/tfile.exp: Ditto.
2134
ba4a8bdd
YQ
21352011-05-14 Yao Qi <yao@codesourcery.com>
2136
2137 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2138 type.
2139
dbaefcf7
DE
21402011-05-13 Doug Evans <dje@google.com>
2141
2142 * gdb.python/py-objfile-script.exp: New file.
2143 * gdb.python/py-objfile-script.c: New file.
2144 * gdb.python/py-objfile-script-gdb.py: New file.
2145 * testsuite/gdb.python/py-section-script.exp: Test
2146 "info auto-load-scripts".
2147
9930639c
TT
21482011-05-13 Tom Tromey <tromey@redhat.com>
2149
2150 * gdb.dwarf2/clztest.exp: New file.
2151 * gdb.dwarf2/clztest.c: New file.
2152 * gdb.dwarf2/clztest.S: New file.
2153
05272e11
DE
21542011-05-13 Doug Evans <dje@google.com>
2155
cc63ef9b
DE
2156 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2157 String16 tests.
05272e11 2158
6edba76f
TT
21592011-05-13 Tom Tromey <tromey@redhat.com>
2160
2161 * lib/gdb.exp (is_x86_like_target): New proc.
2162 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2163 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2164 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2165 -nostdlib to compiler.
2166 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2167 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2168 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2169 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2170 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2171
028d0ed5
TJB
21722011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2173
2174 * gdb.python/py-function.exp: Test setting a value from a function
2175 which executes a command.
2176
8a9b8146
TT
21772011-05-12 Tom Tromey <tromey@redhat.com>
2178
2179 * gdb.dwarf2/typeddwarf.S: New file.
2180 * gdb.dwarf2/typeddwarf.c: New file.
2181 * gdb.dwarf2/typeddwarf.exp: New file.
2182
10483e8e
MP
21832011-05-12 Marek Polacek <mpolacek@redhat.com>
2184
2185 * gdb.mi/mi-basics.exp: Fix races. Honour the
2186 `test_exec_and_symbol_mi_operatons' return value.
2187 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2188 gdb_test_multiple.
2189 (test_exec_and_symbol_mi_operatons): Likewise.
2190 (test_path_specification): Likewise.
2191
faf067f1
JK
21922011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2193
2194 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2195 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2196 Replace `file copy' and `file rename' by `file mtime'. Twice.
2197
7ff911a3
JK
21982011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2199
2200 * gdb.base/readline-ask.c: New file.
2201 * gdb.base/readline-ask.exp: New file.
2202 * gdb.base/readline-ask.inputrc: New file.
2203
a536c6d7
UW
22042011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2205
2206 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2207 to avoid race condition.
2208 * gdb.cell/coremaker.c: Use small stack size.
2209 * gdb.cell/ea-standalone.exp: Use file name without path as
2210 argument to c_to.
2211 * gdb.cell/fork.exp: Allow other output when continuing to end.
2212
d472a426
JK
22132011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2214
2215 * gdb.threads/corethreads.c: New file.
2216 * gdb.threads/corethreads.exp: New file.
2217
22182011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2219
2220 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2221 Try to compile the test using -Wl,-z,norelro first.
2222 (load_core): New variable libthread_db_seen, initialize it.
2223 (zeroed-threads cannot be listed): Protect it by XFAIL on
2224 !$libthread_db_seen.
2225
8be455d7
JK
22262011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2227
2228 PR 12573
2229 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2230 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2231 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2232
1976171a
JK
22332011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2234
2235 * gdb.cp/psymtab-parameter.cc: New file.
2236 * gdb.cp/psymtab-parameter.exp: New file.
2237
7db6f30f
JK
22382011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2239
2240 Fix a race.
2241 * gdb.cp/static-print-quit.exp (print c): Split to ...
2242 (print c - <return>, print c - q <return>, print c - to quit):
2243 ... these. Make the testfile untested on gdb-7.1.
2244
85161e9e 22452011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2246
2247 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2248 gdb_rename_execfile, gdb_touch_execfile): New.
2249 * gdb.base/reread.exp: Use new procs to handle multiple
2250 exec files.
2251
0c51be18
YQ
22522011-05-05 Yao Qi <yao@codesourcery.com>
2253
2254 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2255 (test_adr_32bit, test_pop_pc): New.
2256 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2257 (test_adr_32bit, test_pop_pc): New.
2258
4d393d60
JM
22592011-05-04 Joseph Myers <joseph@codesourcery.com>
2260
2261 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2262 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2263 targets.
2264 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2265 handle targets.
2266
8ffd0459
JK
22672011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2268
2269 * gdb.base/completion.exp (complete help info wat): Rename to ...
2270 (complete 'help info wat'): ... here.
2271 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2272 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2273
8e28d804
PA
22742011-05-04 Pedro Alves <pedro@codesourcery.com>
2275
2276 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2277 gdb_test and explicit $gdb_prompt/timeout matches.
2278
3eb2ef34
YQ
22792011-05-04 Yao Qi <yao@codesourcery.com>
2280
2281 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2282 and __thumb2__.
2283
aaaf81a3
MP
22842011-05-03 Marek Polacek <mpolacek@redhat.com>
2285
2286 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2287 in place of `gdb_test "delete breakpoints"'. This eliminates two
2288 testcases.
2289
c4cbc0df
PA
22902011-05-02 Pedro Alves <pedro@codesourcery.com>
2291
2292 PR testsuite/12649
2293 Fix races.
2294
2295 * gdb.base/completion.exp: Remove all sleep calls. Remove
2296 unnecessary regexs. Don't explicitly expect anything after the
2297 prompt. Eat the prompt if necessary.
2298
b4cbb4a3
EBM
22992011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2300
2301 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2302 accept to show the caller line again as well as the line after.
2303
d65aec65
PM
23042011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2305
2306 PR mi/12531
2307
2308 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2309 compile target.
2310 * gdb.python/py-prettyprint.exp: Add C++ object for
2311 CPLUS_FAKE_CHILD test.
2312
30852783
UW
23132011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2314
2315 * gdb.base/signest.exp: New file.
2316 * gdb.base/signest.c: Likewise.
2317
c7b1f0d9
JK
23182011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2319
2320 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2321 thread and breakpoint notifications.
2322
559a7a62
JK
23232011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2324
2325 * gdb.base/fortran-sym-case.c: New file.
2326 * gdb.base/fortran-sym-case.exp: New file.
2327 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2328 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2329 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2330
8344e389
JK
23312011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2332
2333 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2334 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2335 false #1', `if true else false #2' and `if true else false #3'.
2336
2484c66b
UW
23372011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2338
2339 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2340 while delivering signal.
2341
8d3788bd
VP
23422011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2343
2344 MI breakpoint notifications.
2345
2346 * testsuite/gdb.mi/mi-cli.exp: Adust.
2347 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2348 * testsuite/gdb.mi/mi-watch.exp: Adust.
2349 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2350 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2351 notifications.
2352
3e03848b
JK
23532011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2354
2355 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2356 * gdb.base/gdbindex-stabs.c: New file.
2357 * gdb.base/gdbindex-stabs.exp: New file.
2358
918c9108
YQ
23592011-04-25 Yao Qi <yao@codesourcery.com>
2360
2361 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2362 with /*...*/.
2363 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2364
90556b8c
JK
23652011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2366
2367 * gdb.python/py-value.exp (test_objfiles): Name the first test
2368 `py-value in file.filename'.
2369
03f2bd59
JK
23702011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2371
2372 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2373 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2374 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2375 !gdbserver_reconnect_p..
2376 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2377
7b08b9eb
JK
23782011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2379
2380 * gdb.cp/cpcompletion.exp (complete class methods)
2381 (complete class methods beginning with F): Move them above runto. New
2382 comment about the runto delimiter.
2383
b78974c3
PA
23842011-04-20 Pedro Alves <pedro@codesourcery.com>
2385
2386 * gdb.base/maint.exp: Test that "maint print registers" works
2387 without a running program.
2388
20429c40 23892011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 2390
20429c40
MP
2391 * gdb.base/setshow.exp: Fix racy tests.
2392 ($old_gdb_prompt): New variable.
2393
7a9dd1b2
TT
23942011-04-19 Tom Tromey <tromey@redhat.com>
2395
2396 * gdb.mi/mi-nsmoribund.exp:
2397 * gdb.hp/gdb.objdbg/objdbg01.exp:
2398 * gdb.base/structs.exp (test_struct_returns):
2399 * gdb.base/call-sc.exp (test_scalar_returns):
2400 * gdb.base/bigcore.exp: Remove duplicate words.
2401
02835898
JK
24022011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2403
2404 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2405 * gdb.base/break-interp.exp (test_attach): New comment.
2406
254f582e
JK
24072011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2408
2409 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2410 (clear __stack_user.next, clear stack_used.next)
2411 (save a zeroed-threads corefile): New test.
2412 Call core_load for $core0file.
2413 (zeroed-threads cannot be listed): New test.
2414
4fe85f5c
JK
24152011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2416
2417 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2418 filename.
2419 ($srcfile): Preserve the original value.
2420 ($testfile): Match it the .exp filename.
2421 ($corefile): New variable. Substitute it around.
2422 Use clean_restart.
2423 ($prev_timeout): Remove.
2424 (load_core): Move core loading into this proc.
2425 Fix restore of $timeout if load_core fails.
2426
63524580
JK
24272011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2428
2429 * gdb.base/eu-strip-infcall.c: New file.
2430 * gdb.base/eu-strip-infcall.exp: New file.
2431
90359a16
JK
24322011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2433
2434 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2435 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2436
626e7282
JK
24372011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2438
2439 Fix Python access to inlined frames.
2440 * gdb.python/py-frame-inline.c: New file.
2441 * gdb.python/py-frame-inline.exp: New file.
2442
3363d018
EBM
24432011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2444
2445 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2446 content of 's24' correctly (avoiding "optimized out").
2447 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2448
28781456
JK
24492011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2450
2451 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2452
4a4106ca
TJB
24532011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2454
2455 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2456 expect a colon in watch -location output.
2457
d26ccb4f
JK
24582011-04-13 Marek Polacek <mpolacek@redhat.com>
2459
df46027d 2460 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
2461 New testcase `expect response to define backtrace'. Also remove
2462 redundant `default' block.
2463
e1ab1f9c
JK
24642011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2465
2466 * gdb.python/py-prettyprint.c (struct hint_error): New.
2467 (main): New variable hint_error.
2468 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2469 "print hint_error".
2470 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2471 (register_pretty_printers): Register it.
2472
0c2e6019
TT
24732011-04-04 Tom Tromey <tromey@redhat.com>
2474
2475 * gdb.cp/maint.exp (test_help): Update.
2476 (test_namespace): Likewise.
2477
af57139d
JB
24782011-04-01 Joel Brobecker <brobecker@adacore.com>
2479
2480 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2481 * gdb.ada/arrayptr.exp: Add new tests.
2482
956a9fb9
JB
24832011-04-01 Joel Brobecker <brobecker@adacore.com>
2484
2485 * gdb.ada/mi_catch_ex: New testcase.
2486
d0c4d642
PA
24872011-04-01 Pedro Alves <pedro@codesourcery.com>
2488
2489 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2490 base::overload(void) method without specifying "const".
2491
18819fa6
UW
24922011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2493
2494 * gdb.arch/thumb-singlestep.S: New file.
2495 * gdb.arch/thumb-singlestep.exp: Likewise.
2496
a4c8e806
TT
24972011-03-31 Tom Tromey <tromey@redhat.com>
2498
2499 * gdb.python/py-prettyprint.py (exception_flag): New global.
2500 (NoStringContainerPrinter._iterator.next): Check it.
2501 * gdb.python/py-prettyprint.c (main): New variable nstype2.
2502 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2503
53832f31
TT
25042011-03-29 Tom Tromey <tromey@redhat.com>
2505
2506 * gdb.cp/anon-struct.cc: New file.
2507 * gdb.cp/anon-struct.exp: New file.
2508
e4620230
JK
25092011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2510
2511 Test STT_GNU_IFUNC support.
2512 * gdb.base/gnu-ifunc-lib.c: New file.
2513 * gdb.base/gnu-ifunc.c: New file.
2514 * gdb.base/gnu-ifunc.exp: New file.
2515
d0fb5eae
JK
25162011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2517
2518 Support a ring of related breakpoints.
2519 * gdb.base/watchpoint-delete.c: New file.
2520 * gdb.base/watchpoint-delete.exp: New file.
2521
20106cfb
JK
25222011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2523
2524 * gdb.ada/arrayparam.exp (print first after function call): Use
2525 explicit package name. Add a comment
2526 (print lasta after function call): Rename ...
2527 (print last after function call): ... it and use explicit package
2528 name.
2529 (print length after function call): Use explicit package name.
2530 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2531 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2532 (multiple matches for symbol i): Rename ...
2533 (multiple matches for symbol integervar): ... it.
2534 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2535 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2536
e7ab5e63
AB
25372011-03-25 Andrew Burgess <aburgess@broadcom.com>
2538
2539 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2540 environment variable to make grep output more predictable. Move
2541 all the environment setup into gdb_init so it's done once per test
2542 case rather than each time we start gdb.
2543
9ef07c8c
TT
25442011-03-24 Tom Tromey <tromey@redhat.com>
2545
2546 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
2547 test.
2548
dd90784c
JK
25492011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2550
2551 * gdb.dwarf2/dw2-entry-value-main.c: New file.
2552 * gdb.dwarf2/dw2-entry-value.S: New file.
2553 * gdb.dwarf2/dw2-entry-value.exp: New file.
2554
05775840
PM
25552011-03-22 Phil Muldoon <pmuldoon@redhat.com>
2556
2557 PR python/12183
2558
2559 * gdb.python/py-function.exp: Add GdbError tests.
2560
8661b11b
PA
25612011-03-18 Pedro Alves <pedro@codesourcery.com>
2562
2563 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2564 (reglocal_test_func, statlocal_test_func): New functions.
2565 (globals_test_func): Call new functions.
2566 * gdb.trace/unavailable.exp (gdb_collect_args_test)
2567 (gdb_collect_locals_test): New procedure.
2568 (gdb_trace_collection_test): Call new procedures.
2569
0fdb4f18
PA
25702011-03-18 Pedro Alves <pedro@codesourcery.com>
2571
2572 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2573 (test_register, test_register_unavailable): New procedures.
2574 (gdb_unavailable_registers_test): New procedure.
2575 (gdb_trace_collection_test): Call it.
2576
99c3dc11
PM
25772011-03-18 Phil Muldoon <pmuldoon@redhat.com>
2578
2579 PR python/12149
2580
2581 * gdb.python/python.exp: Add gdb.write tests.
2582
29703da4
PM
25832010-03-17 Phil Muldoon <pmuldoon@redhat.com>
2584
2585 * gdb.python/Makefile.in: Add py-objfile.
2586 * gdb.python/py-objfile.exp: New file.
2587 * gdb.python/py-objfile.c: New file.
2588 * gdb.python/py-block.exp: Add is_valid tests.
2589 * gdb.python/py-inferior.exp: Ditto.
2590 * gdb.python/py-infthread.exp: Ditto.
2591 * gdb.python/py-symbol.exp: Ditto.
2592 * gdb.python/py-symtab.exp: Ditto.
2593
598997c8
KS
25942011-03-16 Keith Seitz <keiths@redhat.com>
2595
2596 PR c++/12273
2597 * gdb.cp/cmpd-minsyms.exp: New test.
2598 * gdb.cp/cmpd-minsyms.cc: New file.
2599
2600 PR c++/11734
2601 * gdb.cp/ovsrch.exp: New test.
2602 * gdb.cp/ovsrch.h: New file.
2603 * gdb.cp/ovsrch1.cc: New file.
2604 * gdb.cp/ovsrch2.cc: New file.
2605 * gdb.cp/ovsrch3.cc: New file.
2606 * gdb.cp/ovsrch4.cc: New file.
2607
c91513d8
PP
26082011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2609
2610 PR gdb/12528
2611 * gdb.base/Makefile.in: Adjust EXECUTABLES.
2612 * gdb.base/break-on-linker-gcd-function.exp: New test.
2613 * gdb.base/break-on-linker-gcd-function.cc: New file.
2614
7470fc63
AT
26152011-03-15 Andreas Tobler <andreast@fgznet.ch>
2616
2617 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2618
959e7469
PM
26192011-03-15 Phil Muldoon <pmuldoon@redhat.com>
2620
2621 * lib/gdb.exp (gdb_unload): Add another termination case.
2622
9373cf26
JK
26232011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2624
2625 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2626 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2627 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2628 Provide a stub byte there.
2629 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2630 DW_AT_entry_pc.
2631 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2632
24e9cda0
UW
26332011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
2634
2635 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2636 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
2637 "generic ABI, auto".
2638 (altivec_abi_tests): Accept vectors returned by reference.
2639
7371cf6d
PM
26402010-03-14 Phil Muldoon <pmuldoon@redhat.com>
2641
2642 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2643
ce77046a
UW
26442011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2645
2646 * gdb.python/py-section-script.exp: Skip test if no Python support.
2647
176400c3
UW
26482011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2649
2650 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2651
ecec24e6
PM
26522011-03-10 Phil Muldoon <pmuldoon@redhat.com>
2653
2654 * gdb.python/py-parameter.exp: Update tests to the new Python
2655 parameter API. Add "no documentation" test. Add deprecated API
2656 backward compatibility test.
2657
5dbdd470
TT
26582011-03-09 Tom Tromey <tromey@redhat.com>
2659
2660 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2661 gdb_continue_to_end.
2662
b66e66ee
MK
26632011-03-09 Mark Kettenis <kettenis@gnu.org>
2664
2665 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2666 tabs.
2667
eceb0c5f
TT
26682011-03-09 Tom Tromey <tromey@redhat.com>
2669
2670 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
2671 parentheses.
2672 (gdb_continue_to_end): Add "allow_extra" parameter. Use
2673 $command.
2674 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2675 argument to gdb_continue_to_end.
2676 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2677 argument to gdb_continue_to_end.
2678 * gdb.cp/annota3.exp: Fix regex.
2679 * gdb.cp/annota2.exp: Fix regex.
2680 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2681 gdb_continue_to_end.
2682 * gdb.base/call-signal-resume.exp: Revert earlier patch.
2683 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2684 gdb_continue_to_end.
2685
63154eca
PA
26862011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2687
2688 * gdb.server/ext-run.exp
2689 (load new file without any gdbserver inferior): New test.
2690
967d1f9b
TT
26912011-03-07 Tom Tromey <tromey@redhat.com>
2692
2693 * Makefile.in (TAGS): Rewrite.
2694
d68dcbb9
JK
26952011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2696
2697 * gdb.trace/report.exp (12.1: trace report #1): New match for the
2698 initial commands echo. New match for `Found trace'. Anchor all the
2699 other matches. Anchor and match for `No trace frame found' the final
2700 match.
2701
6bf58e63
TT
27022011-03-07 Tom Tromey <tromey@redhat.com>
2703
2704 * Makefile.in (TAGS): New target.
2705
fda326dd
TT
27062011-03-07 Tom Tromey <tromey@redhat.com>
2707
2708 * lib/opencl.exp (skip_opencl_tests): Update for exit message
2709 change.
2710 * lib/mi-support.exp (mi_gdb_test): Update for exit message
2711 change.
2712 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
2713 exit message change.
2714 (skip_altivec_tests): Update for exit message change.
2715 (skip_vsx_tests): Likewise.
2716 (gdb_continue_to_end): Likewise. Add 'command' argument.
2717 * lib/cell.exp (skip_cell_tests): Update for exit message change.
2718 * gdb.threads/tls.exp: Update for exit message change.
2719 * gdb.threads/thread-unwindonsignal.exp: Use
2720 gdb_continue_to_end.
2721 * gdb.threads/step.exp (step_it): Update for exit message change.
2722 (continue_all): Likewise.
2723 * gdb.threads/print-threads.exp (test_all_threads): Update for
2724 exit message change.
2725 * gdb.threads/interrupted-hand-call.exp: Use
2726 gdb_continue_to_end.
2727 * gdb.threads/execl.exp: Use gdb_continue_to_end.
2728 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2729 gdb_continue_to_end.
2730 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2731 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2732 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2733 * gdb.cp/method.exp: Update for exit message change.
2734 * gdb.cp/mb-templates.exp: Update for exit message change.
2735 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2736 * gdb.cp/annota3.exp: Update for exit message change.
2737 * gdb.cp/annota2.exp: Update for exit message change.
2738 * gdb.cell/fork.exp: Use gdb_continue_to_end.
2739 * gdb.base/term.exp: Update for exit message change.
2740 * gdb.base/step-test.exp (test_i): Update for exit message change.
2741 * gdb.base/sigstep.exp (advance): Update for exit message change.
2742 (advancei): Likewise.
2743 * gdb.base/siginfo.exp: Update for exit message change.
2744 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2745 * gdb.base/reread.exp: Use gdb_continue_to_end.
2746 * gdb.base/langs.exp: Use gdb_continue_to_end.
2747 * gdb.base/interrupt.exp: Update for exit message change.
2748 * gdb.base/gdb1555.exp: Update for exit message change.
2749 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2750 * gdb.base/ending-run.exp: Update for exit message change.
2751 * gdb.base/chng-syms.exp: Update for exit message change.
2752 * gdb.base/checkpoint.exp: Update for exit message change.
2753 * gdb.base/catch-syscall.exp (check_for_program_end): Use
2754 gdb_continue_to_end.
2755 (test_catch_syscall_with_wrong_args): Likewise.
2756 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2757 * gdb.base/break-interp.exp (test_ld): Update for exit message
2758 change.
2759 * gdb.base/bang.exp: Update for exit message change.
2760 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2761 (do_call_attach_tests): Likewise.
2762 * gdb.base/a2-run.exp: Update for exit message change.
2763 * gdb.arch/ppc-dfp.exp: Update for exit message change.
2764 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2765 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2766
dd19bd70
JK
27672011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2768
2769 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2770
30e62689
TT
27712011-03-03 Tom Tromey <tromey@redhat.com>
2772
2773 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2774 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2775 * gdb.hp/gdb.aCC/configure.ac: Remove.
2776 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2777 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2778 * gdb.hp/gdb.base-hp/configure.ac: Remove.
2779 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2780 * gdb.hp/gdb.compat/configure (Makefile): Remove.
2781 * gdb.hp/gdb.compat/configure.ac: Remove.
2782 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2783 * gdb.hp/gdb.defects/configure (Makefile): Remove.
2784 * gdb.hp/gdb.defects/configure.ac: Remove.
2785 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2786 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2787 * gdb.hp/gdb.objdbg/configure.ac: Remove.
2788 * gdb.hp/configure.ac: Remove.
2789 * gdb.hp/configure: Remove.
2790 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2791 substitution.
2792 (Makefile): Remove rule.
2793 * gdb.cell/configure.ac: Remove.
2794 * gdb.cell/configure: Remove.
2795 * gdb.stabs/Makefile.in (Makefile): Remove.
2796 (distclean): Don't remove config.status or config.log.
2797 * gdb.stabs/configure (Makefile): Remove.
2798 * gdb.stabs/configure.ac: Remove.
2799 * configure: Rebuild.
2800 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2801 Remove stabs- and cell-specific logic. Test for existence of
2802 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
2803 subdirectories, gdb.cell, and and gdb.stabs.
2804 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2805
c171f854
JB
28062011-03-03 Joel Brobecker <brobecker@adacore.com>
2807
2808 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2809 end of buffer.
2810
9a5193cb
JB
28112011-03-02 Joel Brobecker <brobecker@adacore.com>
2812
2813 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2814 gdb_test when running a test where we expected no output back.
2815
9bb4c1bb
MS
28162011-02-28 Michael Snyder <msnyder@vmware.com>
2817
2818 * gdb.cp/overload.cc: Change initializer value to integer.
2819
3bd0f5ef
MS
28202011-02-27 Michael Snyder <msnyder@vmware.com>
2821
2822 * gdb.multi/base.exp: Add test for remove-inferiors.
2823
2279eaad
JB
28242011-02-26 Joel Brobecker <brobecker@adacore.com>
2825
2826 * gdb.python/py-frame.exp: Simplify the initialization phase
2827 using prepare_for_testing.
2828
c82c0b55
MS
28292011-02-25 Michael Snyder <msnyder@vmware.com>
2830
2831 * gdb.multi/base.exp: Add tests for info inferiors with args.
2832
1d94651b
JK
28332011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2834
2835 * gdb.dwarf2/dw2-ranges.S: Rename to ...
2836 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2837 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2838 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2839 asmfile3. Comment the STABS (#3) file compilation. Compile
2840 everything through assembler. Provide KFAIL for symtab/12497.
2841 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2842 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2843 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2844 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2845
3bd0f5ef
MS
28462011-02-24 Michael Snyder <msnyder@vmware.com>
2847
2848 * gdb.base/break.exp: Add tests for delete breakpoints using
2849 convenience variables and value history references.
2850
12c1418e
MS
28512011-02-24 Michael Snyder <msnyder@vmware.com>
2852
2853 * gdb.base/break.exp: Remove debugging 'printf' accidentally
2854 left behind in previous check-in.
2855
e5a67952
MS
28562011-02-23 Michael Snyder <msnyder@vmware.com>
2857
2858 * gdb.base/break.exp: Add tests for "info break" with arguments.
2859 * gdb.trace/infotrace.exp: Update patterns for error and help.
2860 * gdb.base/completion.exp: Update pattern.
2861 * gdb.base/ena-dis-br.exp: Update pattern.
2862 * gdb.base/help.exp: Update patterns.
2863
28642011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
2865
2866 * gdb.base/memattr.exp: New test.
2867 * gdb.base/memattr.c: Test load for memattr.exp.
2868
6e6fbe60
DE
28692011-02-22 Doug Evans <dje@google.com>
2870
2871 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2872
1d41d745
MS
28732011-02-22 Michael Snyder <msnyder@vmware.com>
2874
2875 * Makefile.in: Make more clean.
2876 * gdb.ada/Makefile.in: Ditto.
2877 * gdb.arch/Makefile.in: Ditto.
2878 * gdb.asm/Makefile.in: Ditto.
2879 * gdb.base/Makefile.in: Ditto.
2880 * gdb.cp/Makefile.in: Ditto.
2881 * gdb.dwarf2/Makefile.in: Ditto.
2882 * gdb.java/Makefile.in: Ditto.
2883 * gdb.mi/Makefile.in: Ditto.
2884 * gdb.modula2/Makefile.in: Ditto.
2885 * gdb.python/Makefile.in: Ditto.
2886 * gdb.server/Makefile.in: Ditto.
2887 * gdb.stabs/Makefile.in: Ditto.
2888 * gdb.threads/Makefile.in: Ditto.
2889 * gdb.trace/Makefile.in: Ditto.
2890
79ba84ca
MS
28912011-02-22 Michael Snyder <msnyder@vmware.com>
2892
df46027d 2893 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
2894 info threads.
2895
b9b35694
JB
28962011-02-22 Joel Brobecker <brobecker@adacore.com>
2897
2898 * gdb.python/py-breakpoint.exp: Fix the expected output of
2899 one of the "maint info breakpoints" tests to accept the output
2900 generated on platforms that do not have hardware watchpoints.
2901
8bfb830f
JB
29022011-02-22 Joel Brobecker <brobecker@adacore.com>
2903
2904 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2905 clean_restart. Be a little stricter in the expected output
2906 for one of the tests. Fix a typo in one of the comments.
2907
c45f3c54
JB
29082011-02-22 Joel Brobecker <brobecker@adacore.com>
2909
2910 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2911 Delete variable binfile, no longer use. Add or modify test
2912 comments to make them unique.
2913
b97c863c
MS
29142011-02-21 Michael Snyder <msnyder@vmware.com>
2915
2916 * Makefile.in: Update for make clean.
2917 * gdb.ada/Makefile.in: Ditto.
2918 * gdb.arch/Makefile.in: Ditto.
2919 * gdb.asm/Makefile.in: Ditto.
2920 * gdb.base/Makefile.in: Ditto.
2921 * gdb.cp/Makefile.in: Ditto.
2922 * gdb.dwarf2/Makefile.in: Ditto.
2923 * gdb.java/Makefile.in: Ditto.
2924 * gdb.mi/Makefile.in: Ditto.
2925 * gdb.modula2/Makefile.in: Ditto.
2926 * gdb.python/Makefile.in: Ditto.
2927 * gdb.server/Makefile.in: Ditto.
2928 * gdb.stabs/Makefile.in: Ditto.
2929 * gdb.threads/Makefile.in: Ditto.
2930 * gdb.trace/Makefile.in: Ditto.
2931
aea5b279
MS
29322011-02-21 Michael Snyder <msnyder@vmware.com>
2933
2934 * gdb.threads/thread-find.exp: Update patterns for changes in
2935 output of "info threads" command.
2936
e3039479
UW
29372011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2938 Ulrich Weigand <uweigand@de.ibm.com>
2939
2940 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2941 (skip_hw_watchpoint_tests): Likewise.
2942 (skip_hw_watchpoint_multi_tests): Likewise.
2943
b800ec70
UW
29442011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2945
2946 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2947 (skip_hw_watchpoint_tests): Likewise.
2948 (skip_hw_watchpoint_multi_tests): Likewise.
2949 (skip_hw_watchpoint_access_tests): Likewise.
2950
2951 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2952 * gdb.base/pr11022.exp: Likewise.
2953 * gdb.base/watch-read.exp: Likewise.
2954 * gdb.base/watch_thread_num.exp: Likewise.
2955 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2956 * gdb.base/watchpoint-hw.exp: Likewise.
2957 * gdb.base/watchpoint.exp: Likewise.
2958 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2959 * gdb.threads/watchthreads-reorder.exp: Likewise.
2960 * gdb.threads/watchthreads.exp: Likewise.
2961 * gdb.threads/watchthreads2.exp: Likewise.
2962
91033e37
JB
29632011-02-21 Joel Brobecker <brobecker@adacore.com>
2964
2965 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2966 the debugger is unable to find the array bounds.
2967
eeaafae2
JK
29682011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2969
2970 * gdb.cp/typedef-operator.exp: New file.
2971 * gdb.cp/typedef-operator.cc: New file.
2972
e338d953
MS
29732011-02-17 Michael Snyder <msnyder@vmware.com>
2974
2975 * gdb.threads/thread-find.exp: Fix regular expressions.
2976
e67ad678
JB
29772011-02-17 Joel Brobecker <brobecker@adacore.com>
2978
2979 * gdb.ada/packed_array: Expand testcase to test printing of
2980 unconstrained packed array.
2981
93084bca
JB
29822011-02-17 Joel Brobecker <brobecker@adacore.com>
2983
2984 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2985
a0c78a73
PA
29862011-02-16 Pedro Alves <pedro@codesourcery.com>
2987
f65d5553 2988 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
2989 (main): Initialize it before collecting, and and clear it
2990 afterwards.
f65d5553
PA
2991 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2992 collecting with '{type} addr', where the addr expression is not an
2993 rvalue.
a0c78a73 2994
3dfcbbd2
KW
29952011-02-16 Ken Werner <ken.werner@de.ibm.com>
2996
2997 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2998 a bool variable. Expect correct OpenCL names for vector types. Use the
2999 uc3 variable name instead of referring to the uchar3 built-in type.
3000 Escape the asterisk at the half pointer test.
3001
08807d5a
PA
30022011-02-16 Pedro Alves <pedro@codesourcery.com>
3003
f65d5553 3004 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3005 (main): Initialize it before collecting, and and clear it
3006 afterwards.
f65d5553
PA
3007 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3008 collecting overlapping memory ranges.
08807d5a 3009
60f98dde
MS
30102011-02-15 Michael Snyder <msnyder@vmware.com>
3011
3012 * gdb.base/default.exp: Add tests for thread commands.
3013 * gdb.base/help.exp: Add tests for thread commands.
3014 * gdb.threads/thread-find.exp: New test for thread find command.
3015
648cd113
KW
30162011-02-15 Ken Werner <ken.werner@de.ibm.com>
3017
3018 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3019
494e194e
YQ
30202011-02-15 Yao Qi <yao@codesourcery.com>
3021
3022 PR tdep/12352
3023 * gdb.arch/arm-disp-step.S : New test for str instruction.
3024 * gdb.arch/arm-disp-step.exp : Likewise.
3025
d9492458
TJB
30262011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3027
3028 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3029 "vector_register2_vr" test strings. Test the extended floating
3030 point registers (F32~F63).
3031 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3032 IBM XL C compiler. Make the test program use a register provided
3033 by the compiler for the lxvd2x instruction.
3034
8af8e3bc
PA
30352011-02-14 Pedro Alves <pedro@codesourcery.com>
3036
3037 * gdb.trace/unavailable.cc (class Base, class Middle, class
3038 Derived): New types.
3039 (derived_unavail, derived_partial, derived_whole): New globals.
3040 (virtual_partial): New global.
3041 (virtualp): Point at virtual_partial.
3042 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3043 related to unavailable vptr.
3044
1b28d0b3
PA
30452011-02-14 Pedro Alves <pedro@codesourcery.com>
3046
3047 * gdb.trace/unavailable.cc (a, b, c): New globals.
3048 (main): Set and clear them.
3049 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3050 `a' and `c', and check that `b' isn't collected, although `a' and
3051 `c' are.
3052
ec0a52e1
PA
30532011-02-14 Pedro Alves <pedro@codesourcery.com>
3054
3055 * gdb.trace/unavailable.cc (struct Virtual): New.
3056 (virtualp): New global pointer.
3057 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3058 printing a pointer to an object whose type has a vtable, with
3059 print object on.
3060
24e6bcee
PA
30612011-02-14 Pedro Alves <pedro@codesourcery.com>
3062
3063 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3064 value repeat handles unavailableness.
3065
39d37385
PA
30662011-02-14 Pedro Alves <pedro@codesourcery.com>
3067
3068 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3069 tests for building arrays from unavailable values, subscripting
3070 non-memory rvalue unvailable arrays, and accessing fields or
3071 baseclasses of non-lazy unavailable values,
3072 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3073 struct types.
3074 (g_smallstruct, g_smallstruct_b): New globals.
3075
06d72e16
PA
30762011-02-14 Pedro Alves <pedro@codesourcery.com>
3077
3078 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3079
bc9a5551
JK
30802011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3081
3082 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3083 * gdb.cp/overload-const.exp: New file.
3084 * gdb.cp/overload-const.cc: New file.
3085
54fcddd0
UW
30862011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3087
3088 * gdb.opencl/callfuncs.cl: New file.
3089 * gdb.opencl/callfuncs.exp: New test.
3090 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3091
d6dafb7c
UW
30922011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3093
3094 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3095 when computing result.
3096 * gdb.arch/altivec-abi.exp: Update expected results.
3097
a449c2d8
TJB
30982011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3099
3100 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3101 * gdb.base/jit.exp: Likewise.
3102 * gdb.base/pie-execl.exp: Likewise.
3103 * gdb.base/solib-nodir.exp: Likewise.
3104 * gdb.base/solib-overlap.exp: Likewise.
3105
764880b7
PA
31062011-02-07 Pedro Alves <pedro@codesourcery.com>
3107
3108 * gdb.trace/collection.c (global_pieces): New.
3109 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3110 New procedure.
3111 (gdb_trace_collection_test): Call it.
3112
505500db
SW
31132011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3114
3115 * gdb.python/py-evthreads.c: New file.
3116 * gdb.python/py-evthreads.exp: New file.
3117 * gdb.python/py-events.py: New file.
3118 * gdb.python/py-events.exp: New file.
3119 * gdb.python/py-events.c: New file.
3120
385203ed
DD
31212011-02-04 David Daney <ddaney@caviumnetworks.com>
3122
3123 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3124
9011945e
AB
31252011-02-03 Andrew Burgess <aburgess@broadcom.com>
3126
3127 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3128 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3129 boundary between two compilation units.
3130
580688f3
PA
31312011-02-02 Pedro Alves <pedro@codesourcery.com>
3132
3133 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3134 (Virtual): New structs.
3135 (virtual_o, virtual_middle_b): New globals.
3136 * gdb.cp/virtbase.exp: New tests.
3137
d3f0f853
PP
31382011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3139
3140 * gdb.base/jit.exp: New file.
3141 * gdb.base/jit-main.c: New file.
3142 * gdb.base/jit-solib.c: New file.
3143
b2030fb5
UW
31442011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3145
3146 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3147 proceed to initial kernel entry point.
3148 * gdb.opencl/datatypes.exp: Likewise.
3149 * gdb.opencl/operators.exp: Likewise.
3150 * gdb.opencl/vec_comps.exp: Likewise.
3151
2db19d1e
SW
31522011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3153
3154 * gdb.cp/nsnested.cc: New.
3155 * gdb.cp/nsnested.exp: New.
3156 * gdb.cp/nsnoimports.exp: New.
3157 * gdb.cp/nsnoimports.cc: New.
3158
6b0c4c1f
JB
31592011-01-31 Joel Brobecker <brobecker@adacore.com>
3160
3161 * gdb.base/interact.exp: Add extra tests that verify that
3162 the value of the interactive-mode setting does not change
3163 after the script is sourced.
3164
80b23b6a
JK
31652011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3166
3167 * gdb.cp/noparam.exp: New file.
3168 * gdb.cp/noparam.cc: New file.
3169
ffd5ec24
PA
31702011-01-28 Pedro Alves <pedro@codesourcery.com>
3171
3172 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3173 there's no stack or registers.
3174
a81766d8
TT
31752011-01-26 Tom Tromey <tromey@redhat.com>
3176
3177 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3178 space before string output. Add test for "set print pretty off"
3179 case.
3180
585fdaa1
PA
31812011-01-25 Pedro Alves <pedro@codesourcery.com>
3182
3183 * gdb.base/frame-args.exp: Adjust.
3184 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3185 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3186 * gdb.dwarf2/pieces.exp: Adjust.
3187 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3188 * gdb.opt/inline-locals.exp: Adjust.
3189 * gdb.threads/fork-child-threads.exp: Adjust.
3190
d468832a
KW
31912011-01-25 Ken Werner <ken.werner@de.ibm.com>
3192
3193 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3194 OpenCL kernel function. Add a comment as marker. Add address space
3195 qualifiers for the remaining program scope variables.
3196 * gdb.opencl/datatypes.cl: Likewise.
3197 * gdb.opencl/operators.cl: Likewise.
3198 * gdb.opencl/vec_comps.cl: Likewise.
3199 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3200 Add breakpoint at the marker comment.
3201 * gdb.opencl/datatypes.exp: Likewise.
3202 * gdb.opencl/operators.exp: Likewise.
3203 * gdb.opencl/vec_comps.exp: Likewise.
3204
490f124f
PA
32052011-01-24 Pedro Alves <pedro@codesourcery.com>
3206
3207 * gdb.base/printcmds.c (some_struct): New struct and instance.
3208 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3209 procedure.
3210 <global scope>: Call it.
3211
6da78614
KW
32122011-01-21 Ken Werner <ken.werner@de.ibm.com>
3213
3214 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3215 argument to the gdb_compile_opencl_hostapp call.
3216
ec64c9aa
YQ
32172011-01-19 Yao Qi <yao@codesourcery.com>
3218
3219 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3220 positve list.
3221
810cfdbb
YQ
32222011-01-19 Yao Qi <yao@codesourcery.com>
3223
3224 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3225 canonical form.
3226 Remove "xscale-*-*"
3227 * gdb.xml/tdesc-regs.exp: Likewise.
3228 * gdb.python/py-section-script.exp: Replace ARM target triplet
3229 with canonical form.
3230 Match arm*-*-symbianelf*.
3231 * gdb.base/dup-sect.exp: Likewise.
3232 * lib/dwarf.exp: New.
3233 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3234 dwarf2_support.
3235 * gdb.dwarf2/dup-psym.exp: Likewise.
3236 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3237 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3238 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3239 * gdb.dwarf2/dw2-basic.exp: Likewise.
3240 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3241 * gdb.dwarf2/dw2-const.exp: Likewise.
3242 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3243 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3244 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3245 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3246 * gdb.dwarf2/dw2-filename.exp: Likewise.
3247 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3248 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3249 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3250 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3251 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3252 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3253 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3254 * gdb.dwarf2/dw2-producer.exp: Likewise.
3255 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3256 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3257 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3258 * gdb.dwarf2/dw2-strp.exp: Likewise.
3259 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3260 * gdb.dwarf2/implptr.exp: Likewise.
3261 * gdb.dwarf2/mac-fileno.exp: Likewise.
3262 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3263 * gdb.dwarf2/pieces.exp: Likewise.
3264 * gdb.dwarf2/pr11465.exp: Likewise.
3265 * gdb.dwarf2/valop.exp: Likewise.
3266 * gdb.dwarf2/watch-notconst.exp: Likewise.
3267 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3268
4694da01
TT
32692011-01-19 Tom Tromey <tromey@redhat.com>
3270
3271 * gdb.python/py-infthread.exp: Add thread tests.
3272
b075872c
JB
32732011-01-14 Joel Brobecker <brobecker@adacore.com>
3274
3275 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3276
2c3e6e24
JB
32772011-01-14 Joel Brobecker <brobecker@adacore.com>
3278
3279 * gdb.ada/widewide: New testcase.
3280
de8fa76c
JB
32812011-01-13 Joel Brobecker <brobecker@adacore.com>
3282
3283 * gdb.base/interact.exp: New testcase.
3284
1b05df00
TT
32852011-01-12 Tom Tromey <tromey@redhat.com>
3286
3287 * gdb.mi/gdb2549.exp: Update for error message changes.
3288 * gdb.mi/mi-cli.exp: Likewise.
3289 * gdb.mi/mi-disassemble.exp: Likewise.
3290 * gdb.mi/mi-pthreads.exp: Likewise.
3291 * gdb.mi/mi-regs.exp: Likewise.
3292 * gdb.mi/mi-stack.exp: Likewise.
3293 * gdb.mi/mi-var-block.exp: Likewise.
3294 * gdb.mi/mi-var-cmd.exp: Likewise.
3295 * gdb.mi/mi2-cli.exp: Likewise.
3296 * gdb.mi/mi2-disassemble.exp: Likewise.
3297 * gdb.mi/mi2-pthreads.exp: Likewise.
3298 * gdb.mi/mi2-regs.exp: Likewise.
3299 * gdb.mi/mi2-stack.exp: Likewise.
3300 * gdb.mi/mi2-var-block.exp: Likewise.
3301 * gdb.mi/mi2-var-cmd.exp: Likewise.
3302
c2ff108b
JK
33032011-01-12 Andrew Burgess <aburgess@broadcom.com>
3304 Jan Kratochvil <jan.kratochvil@redhat.com>
3305
3306 PR fortran/11104 and DWARF unbound arrays detection.
3307 * gdb.fortran/multi-dim.exp: New file.
3308 * gdb.fortran/multi-dim.f90: New file.
3309
b716877b
AB
33102011-01-12 Andrew Burgess <aburgess@broadcom.com>
3311
3312 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3313 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3314 add new tests for opcode dumping.
3315
6c162d5e
TT
33162011-01-11 Tom Tromey <tromey@redhat.com>
3317
3318 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3319
77b06cd7
TJB
33202010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3321
3322 Convert hardware watchpoints to use breakpoint_ops.
3323 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3324 type is not supported.
3325 * gdb.base/foll-fork.exp: Likewise.
3326 * gdb.base/foll-vfork.exp: Likewise.
3327
f39a75d0
PM
33282011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3329
3330 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3331 Use load_lib gdb-python.exp.
3332 * gdb.python/python.exp: Ditto.
3333 * gdb.python/py-function.exp: Ditto.
3334
fc529d80
AS
33352011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3336
3337 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3338
fb03cb59
JK
33392011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3340
3341 * configure: Regenerate.
3342
d8e22779
TT
33432011-01-06 Tom Tromey <tromey@redhat.com>
3344
3345 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3346
09050809
JB
33472011-01-06 Joel Brobecker <brobecker@adacore.com>
3348
fc529d80
AS
3349 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3350 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3351 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3352 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3353 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3354 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3355 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3356 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3357 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3358 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3359 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3360 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3361 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3362 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3363 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3364 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3365 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3366 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3367 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3368 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3369 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3370 gdb.ada/uninitialized_vars.exp,
3371 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3372 Simplify by using clean_restart.
09050809 3373
8ed5dd9e
JB
33742011-01-06 Joel Brobecker <brobecker@adacore.com>
3375
3376 Add marker to be used as anchor for inserting breakpoints.
3377 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3378 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3379 Likewise.
3380
3381 Remove uses of gdb_start_cmd.
3382 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3383 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3384
3385 Do not run testcase if testing with GDBserver.
3386 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3387 if testing with GDBserver.
3388
368a124f
JB
33892011-01-06 Joel Brobecker <brobecker@adacore.com>
3390
3391 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3392 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3393 copyright header.
3394
44944448
JB
33952011-01-05 Joel Brobecker <brobecker@adacore.com>
3396
3397 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3398 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3399 testsuite/gdb.fortran/complex.f,
3400 testsuite/gdb.fortran/derived-type.f90,
3401 testsuite/gdb.fortran/library-module-lib.f90,
3402 testsuite/gdb.fortran/library-module-main.f90,
3403 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3404 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3405 Copyright year update.
3406
31886ea6
JB
34072011-01-05 Joel Brobecker <brobecker@adacore.com>
3408
3409 * gdb.base/langs1.f: Add copyright header.
3410
ebedcab5
JK
34112011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3412
3413 * gdb.base/morestack.exp: New file.
3414 * gdb.base/morestack.c: New file.
3415
de1eb2f9
JK
34162011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3417
3418 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3419
9e87a409
JB
34202010-12-29 Joel Brobecker <brobecker@adacore.com>
3421
3422 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3423 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3424
720d1a40
JB
34252010-12-29 Joel Brobecker <brobecker@adacore.com>
3426
3427 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3428
a283af87
AS
34292010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3430
5d3d9cba
AS
3431 * gdb.threads/tls.exp: Fix typo.
3432
a283af87
AS
3433 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3434 * gdb.threads/execl.exp: Update.
3435
2a20745c
YQ
34362010-12-23 Yao Qi <yao@codesourcery.com>
3437
3438 * gdb.arch/arm-disp-step.exp: New.
3439 * gdb.arch/arm-disp-step.S: New.
3440
a7658b96
TT
34412010-12-21 Tom Tromey <tromey@redhat.com>
3442
3443 * gdb.threads/execl.exp: Update.
3444 * gdb.threads/linux-dp.exp: Update.
3445 * gdb.threads/manythreads.exp: Update.
3446 * gdb.threads/tls.exp: Update.
3447
5b79abe7
TT
34482010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3449
3450 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3451 (NextOverThrowDerivates) <resumebpt>: New.
3452 (resumebpt_test): New.
3453 (main): Call resumebpt_test.
3454 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3455
0914bcdb
SS
34562010-12-12 Stan Shebs <stan@codesourcery.com>
3457
3458 * gdb.trace/tsv.exp: Test print command on trace state variables.
3459
305aeedc
TT
34602010-12-09 Tom Tromey <tromey@redhat.com>
3461
3462 * gdb.base/interp.exp: Add regression test.
3463
186c406b
TT
34642010-12-09 Tom Tromey <tromey@redhat.com>
3465
3466 * gdb.java/jnpe.java: New file.
3467 * gdb.java/jnpe.exp: New file.
3468 * gdb.cp/nextoverthrow.exp: New file.
3469 * gdb.cp/nextoverthrow.cc: New file.
3470
aae1c79a
DE
34712010-12-07 Doug Evans <dje@google.com>
3472
3473 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3474 of data-directory.
3475 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3476 updated.
3477 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3478
60f98dde 34792010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
3480
3481 * gdb.base/callfuncs.exp: Test for skip_float_tests.
3482 * gdb.base/call-sc.exp: Ditto.
3483 * gdb.base/finish.exp: Ditto.
3484 * gdb.base/return.exp: Ditto.
3485 * gdb.base/return2.exp: Ditto.
3486
5fa290c1
DE
34872010-11-30 Doug Evans <dje@google.com>
3488
3489 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3490 (gdb_expect_list): Fix spelling errors in comments.
3491 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3492 send_gdb/gdb_expect_list where applicable.
3493 * gdb.base/call-ar-st.exp: Ditto.
3494 * gdb.base/funcargs.exp: Ditto.
3495 * gdb.base/gcore.exp: Ditto.
3496 * gdb.base/page.exp: Ditto.
3497 * gdb.base/sigaltstack.exp: Ditto.
3498 * gdb.base/siginfo.exp: Ditto.
3499 * gdb.base/sigstep.exp: Ditto.
3500 * gdb.base/trace-commands.exp: Ditto.
3501
4e04c971
DE
35022010-11-29 Doug Evans <dje@google.com>
3503
3504 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3505 printer-name;subprinter-name.
3506
8cf6f0b1
TT
35072010-11-29 Tom Tromey <tromey@redhat.com>
3508
3509 * gdb.dwarf2/implptr.exp: New file.
3510 * gdb.dwarf2/implptr.c: New file.
3511 * gdb.dwarf2/implptr.S: New file.
3512
94b6973e
PM
35132010-11-29 Phil Muldoon <pmuldoon@redhat.com>
3514
fc529d80 3515 PR python/12199
94b6973e
PM
3516
3517 * gdb.python/py-breakpoint.exp: Test the delete method.
3518
8358c15c
JK
35192010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3520
3521 Fix step_resume_breakpoint unsaved during an infcall.
3522 * gdb.base/step-resume-infcall.exp: New file.
3523 * gdb.base/step-resume-infcall.c: New file.
3524
f6df29bc
TJB
35252010-11-24 Edjunior Machado <emachado@br.ibm.com>
3526
3527 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3528
f2b5a5cf
TJB
35292010-11-24 Edjunior Machado <emachado@br.ibm.com>
3530
3531 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3532 on ppc64's symbols; "finish" and "return" commands must accept to
3533 show the caller line again as well as the line after.
3534 * gdb.asm/powerpc64.inc: New file.
3535
6b0ecdc2
DE
35362010-11-23 Doug Evans <dje@google.com>
3537
3538 * lib/gdb.exp (gdb_test_sequence): New function.
3539 (gdb_expect_list): Add verbose -log call for each pattern.
3540 * gdb.base/signals.exp (test_handle_all_print): Call it.
3541 Reduce timeout increment from 6 minutes to 1 minute.
3542 * gdb.server/ext-run.exp: Call it.
3543
ea976c60
PM
35442010-11-23 Phil Muldoon <pmuldoon@redhat.com>
3545
f2b5a5cf 3546 PR python/12212
ea976c60
PM
3547
3548 * gdb.python/python.exp: Check that selected_thread raises an
3549 error when no inferior is loaded.
3550
c0efa795
JK
35512010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3552
3553 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3554 * gdb.dwarf2/dw2-stack-boundary.S: New file.
3555
ec3aa567
JK
35562010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3557
3558 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3559 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3560
d8249011
DE
35612010-11-18 Doug Evans <dje@google.com>
3562
3563 * gdb.server/ext-run.exp: Fix intermittent failures.
3564
d4eba7d1
NF
35652010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3566
3567 * gdb.stabs/gdb11479.exp: Use runto_main.
3568
b04c2f88
NF
35692010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3570
3571 * gdb.base/break-entry.exp: Skip if using a stub.
3572
ae9d7ce4
NF
35732010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3574
3575 * gdb.python/py-inferior.exp: Pack values in target endianness.
3576
621c8364
TT
35772010-11-12 Tom Tromey <tromey@redhat.com>
3578
3579 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3580 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3581 MemoryError.
3582 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3583 type.
3584 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3585 MemoryError.
3586 (test_subscript_regression): Update exception type.
3587
84f4c1fe
PM
35882010-11-11 Phil Muldoon <pmuldoon@redhat.com>
3589
3590 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3591 breakpoint tests.
3592
a1442452
PA
35932010-11-09 Pedro Alves <pedro@codesourcery.com>
3594
3595 * gdb.base/watchpoint.exp: Test "watch -location" with an
3596 innacessible location.
3597
efd11a33
JK
35982010-11-09 Edjunior Machado <emachado@br.ibm.com>
3599 Luis Machado <luisgpm@br.ibm.com>
3600
3601 * gdb.base/maint.exp: Expect "." prefix.
3602 * gdb.base/nodebug.exp: Expect "." Likewise.
3603 * gdb.base/sepsymtab.exp: Expect "." Likewise.
3604 * gdb.base/watchpoint-cond-gone.exp: Likewise.
3605 * gdb.base/watchpoint.exp: Expect a software watch to be created for
3606 POWER server processors.
3607
aa00efb5
JK
36082010-11-08 Edjunior Machado <emachado@br.ibm.com>
3609 Luis Machado <luisgpm@br.ibm.com>
3610
3611 * gdb.base/break-entry.exp: convert entry point for
3612 ppc64 and expect leading `.' on ppc64's symbols
3613
99e7ae30
DE
36142010-11-05 Doug Evans <dje@google.com>
3615
3616 * gdb.base/help.exp: Update expected output.
b521dba8
DE
3617 * gdb.python/py-param.exp: Delete, contents moved to ...
3618 * gdb.python/py-parameter.exp: ... here. New file.
3619 Add test for gdb.parameter ("directories").
99e7ae30 3620
f4b8a18d
KW
36212010-11-05 Ken Werner <ken.werner@de.ibm.com>
3622
3623 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3624 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3625 * configure: Regenerate.
3626 * gdb.opencl/Makefile.in: New File.
3627 * gdb.opencl/datatypes.exp: Likewise.
3628 * gdb.opencl/datatypes.cl: Likewise.
3629 * gdb.opencl/operators.exp: Likewise.
3630 * gdb.opencl/operators.cl: Likewise.
3631 * gdb.opencl/vec_comps.exp: Likewise.
3632 * gdb.opencl/vec_comps.cl: Likewise.
3633 * gdb.opencl/convs_casts.exp: Likewise.
3634 * gdb.opencl/convs_casts.cl: Likewise.
3635 * lib/opencl.exp: Likewise.
3636 * lib/opencl_hostapp.c: Likewise.
3637 * lib/opencl_kernel.cl: Likewise.
3638 * lib/cl_util.c: Likewise.
3639 * lib/cl_util.c: Likewise.
3640 * gdb.base/default.exp (set language): Add "opencl" to the list of
3641 languages.
3642
a9d5ef47
SW
36432010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
3644
3645 * gdb.cp/overload.exp: Added test for inheritance overload.
3646 * gdb.cp/overload.cc: Ditto.
3647 * gdb.cp/oranking.exp: Removed releveant kfails.
3648
03eb1c79
JK
36492010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3650 Joel Brobecker <brobecker@adacore.com>
3651
3652 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3653 check test_compiler_info.
3654
dbc98a8b
KW
36552010-11-03 Ken Werner <ken.werner@de.ibm.com>
3656
3657 * gdb.base/gnu_vector.exp: Adjust expect messages.
3658
120bd360
KW
36592010-11-03 Ken Werner <ken.werner@de.ibm.com>
3660
3661 * gdb.base/gnu_vector.exp: Add unary operator tests.
3662
c37f7098
KW
36632010-11-03 Ken Werner <ken.werner@de.ibm.com>
3664
3665 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3666
7b51bc51
DE
36672010-11-02 Doug Evans <dje@google.com>
3668
3669 * gdb.python/py-pp-maint.c: New file.
3670 * gdb.python/py-pp-maint.exp: New file.
3671 * gdb.python/py-pp-maint.py: New file.
3672
50c97f38
TT
36732010-11-02 Tom Tromey <tromey@redhat.com>
3674
3675 * gdb.base/default.exp: Remove "scheme" from language list.
3676
a289b8f6
JK
36772010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3678
3679 Revert:
3680 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3681 * gdb.threads/sigstep-threads.exp: New file.
3682 * gdb.threads/sigstep-threads.c: New file.
3683
cd017491
MS
36842010-10-20 Michael Snyder <msnyder@vmware.com>
3685
3686 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3687
8e6a5956
UW
36882010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3689
3690 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3691 Skip test completely if gdb,no_hardware_watchpoints.
3692
2c04da0d
UW
36932010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3694
3695 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3696 strict, but do not check for any particular function name within libc.
3697
79afc5ef
SW
36982010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3699
3700 * gdb.cp/smartp.exp: New test.
3701 * gdb.cp/smartp.cc : New test.
3702
026ffab7
SW
37032010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3704
3705 * gdb.cp/converts.exp: Test pointer to bool conversion.
3706 Test pointer to long conversion.
3707 * gdb.cp/oranking.exp: Removed relevant kfail.
3708
3a772aa4
TT
37092010-10-18 Tom Tromey <tromey@redhat.com>
3710
3711 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3712 argument to lazy_string.
3713 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3714 (pp_ls.to_string): Use it.
3715 * gdb.python/py-prettyprint.c (main): Move declarations to top.
3716 Add "estring2" local.
3717
5fc3827b
JK
37182010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3719
3720 Fix s390x compatibility.
3721 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
3722 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3723
8aeb23f3
JK
37242010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3725
3726 * gdb.threads/sigstep-threads.exp: New file.
3727 * gdb.threads/sigstep-threads.c: New file.
3728
c1e56572
JK
37292010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3730
3731 * gdb.base/pie-execl.exp: New file.
3732 * gdb.base/pie-execl.c: New file.
3733
92163a10
JK
37342010-10-13 Doug Evans <dje@google.com>
3735 Jan Kratochvil <jan.kratochvil@redhat.com>
3736
3737 PR exp/12117
3738 * gdb.cp/ptype-cv-cp.cc: New file.
3739 * gdb.cp/ptype-cv-cp.exp: New file.
3740
7062b0a0
SW
37412010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
3742
3743 * gdb.cp/converts.cc: New test program.
3744 * gdb.cp/converts.exp: New test.
3745 * gdb.cp/overload.exp: Added test for void* vs int*.
3746 * gdb.cp/overload.exp: Ditto.
3747 * gdb.cp/oranking.exp: Removed related kfail.
3748
0e3509db
DE
37492010-10-13 Doug Evans <dje@google.com>
3750
3751 * lib/gdb-python.exp (gdb_check_python_config): New function.
3752 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3753 * gdb.python/lib-types.cc: New file.
3754 * gdb.python/lib-types.exp: New file.
3755
8dc78533
JK
37562010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3757
3758 * gdb.python/py-error.exp: New file.
3759 * gdb.python/py-error.py: New file.
3760
93c17e06
JK
37612010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3762
3763 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3764 gdb_test_multiple.
3765
d8b34041
JK
37662010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3767
3768 * gdb.base/break-interp.exp: Use ldlags for linking flags.
3769 * gdb.base/prelink.exp: Likewise.
3770 * gdb.base/solib-nodir.exp: Likewise.
3771 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3772 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3773 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3774
e0cc584e
UW
37752010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
3776
3777 * break-interp.exp (test_ld): Use two separate gdb_expect statements
3778 for the "info files" test to avoid timeouts on slow machines.
3779
cfc353b1
JK
37802010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3781
3782 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3783 (main): Make openlib dummy call.
3784
d3d7896d
JK
37852010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3788 * break-interp.exp (reach): Move the core body ...
3789 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
3790 (test_ld): Provide always real argument, even to the linker. Replace
3791 dl_main by _dl_debug_state.
3792
5e533c94
JK
37932010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3794
3795 Fix results of prelinked PIEs on ppc*.
3796 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3797 Accept also DISPLACEMENT "PRESENT".
3798 (main): Replace "ZERO" displacements by "PRESENT".
3799
33540610
SW
38002010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
3801
3802 * gdb.cp/oranking.exp: New test.
3803 * gdb.cp/oranking.cc: New test program.
3804
3bdf2bbd
KW
38052010-10-08 Ken Werner <ken.werner@de.ibm.com>
3806
3807 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3808 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3809
2f608a3a
KW
38102010-10-06 Ken Werner <ken.werner@de.ibm.com>
3811
3812 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3813 lush, lynx) New constant.
3814 * gdb.base/constvars.exp: Test const array types.
3815 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3816
aa2e2d8d
DE
38172010-10-06 Doug Evans <dje@google.com>
3818
3819 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3820 of syscall staging area.
3821
2844d6b5
KW
38222010-10-06 Ken Werner <ken.werner@de.ibm.com>
3823
3824 * gdb.base/gnu_vector.c: Add variable c4.
3825 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3826 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3827
7d8ac8bb
MR
38282010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
3829
3830 * gdb.arch/altivec-abi.exp: Fix a typo.
3831
84a02e58
MR
38322010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
3833
3834 * lib/mi-support.exp (thread_selected_re): Correct pattern used
3835 to match a thread ID.
3836
b18e6318
JK
38372010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3838
3839 Fix s390x testcase compatibility.
3840 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3841
a2c09bd0
DE
38422010-10-01 Doug Evans <dje@google.com>
3843
3844 * lib/gdb-python.exp: New file.
3845 * gdb.python/py-block.exp: Use it.
3846 * gdb.python/py-breakpoint.exp: Ditto.
3847 * gdb.python/py-frame.exp: Ditto.
3848 * gdb.python/py-inferior.exp: Ditto.
3849 * gdb.python/py-param.exp: Ditto.
3850 * gdb.python/py-prettyprint.exp: Ditto.
3851 * gdb.python/py-shared.exp: Ditto.
3852 * gdb.python/py-symbol.exp: Ditto.
3853 * gdb.python/py-symtab.exp: Ditto.
3854 * gdb.python/py-type.exp: Ditto.
3855 * gdb.python/py-value.exp: Ditto.
3856 * gdb.python/python.exp: Ditto.
3857
38f12cfc
TT
38582010-09-30 Tom Tromey <tromey@redhat.com>
3859
3860 * gdb.base/anon.exp: New file.
3861 * gdb.base/anon.c: New file.
3862
9ae8282d
TT
38632010-09-30 Tom Tromey <tromey@redhat.com>
3864
3865 * gdb.base/completion.exp: Test completion through anonymous
3866 union.
3867 * gdb.base/break1.c (struct some_struct): Add anonymous union.
3868
e9e07ba6
JK
38692010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3870
3871 Fix printing parameters of inlined functions.
3872 * gdb.dwarf2/dw2-inline-param.exp: New file.
3873 * gdb.dwarf2/dw2-inline-param-main.c: New file.
3874 * gdb.dwarf2/dw2-inline-param.S: New file.
3875
cd2effb2
JK
38762010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3877
3878 PR corefiles/12071.
3879 * gdb.base/corefile.exp (quit with a process, no question: load core)
3880 (quit with a core file): New tests.
3881
bceffbf3
JK
38822010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3883
3884 Fix GDB crash on inferior calls with self-referencing classes.
3885 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3886 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3887 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3888
1736ad11
JK
38892010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3890
3891 Fix lost siginfo_t for inferior calls.
3892 * gdb.base/siginfo-infcall.exp: New file.
3893 * gdb.base/siginfo-infcall.c: New file.
3894
a176ad92
JB
38952010-09-22 Joel Brobecker <brobecker@adacore.com>
3896
3897 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3898
c2b0a229
JK
38992010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3900
3901 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3902 New test.
3903 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3904
e8ae22d1
JB
39052010-09-22 Joel Brobecker <brobecker@adacore.com>
3906
3907 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3908 type of our const type.
3909
ec322823
SW
39102010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
3911
3912 * gdb.cp/pr12028.cc: New.
3913 * gdb.cp/pr12028.exp: New.
3914
72929c62
JB
39152010-09-22 Joel Brobecker <brobecker@adacore.com>
3916
3917 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3918
875b4ff5 39192010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 3920 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
3921
3922 PR mi/11407
3923 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3924 * gdb.mi/dw2-ref-missing-frame-main.c New File.
3925 * gdb.mi/dw2-ref-missing-frame.S New File.
3926 * gdb.mi/dw2-ref-missing-frame.exp New File.
3927
7155d578
TT
39282010-09-14 Tom Tromey <tromey@redhat.com>
3929
3930 PR symtab/8399:
3931 * gdb.threads/tls.exp: Remove kfail. Update expected output.
3932
515ed532
TT
39332010-09-14 Tom Tromey <tromey@redhat.com>
3934
3935 PR exp/11803:
3936 * gdb.threads/tls.exp: Use C++.
3937 (check_thread_local): Use K::another_thread_local.
3938 * gdb.threads/tls.c (class K): New.
3939 (another_thread_local): Now a member of K.
3940 (spin): Update. No longer K&R C.
3941
450ca57c
SW
39422010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
3943
3944 * gdb.cp/koenig.cc: created class for testing member lookup.
3945 * gdb.cp/koenig.exp: Added test for member lookup.
3946
dbd492a3
JK
39472010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3948
3949 Fix false FAILs on sourcetree topdir directory containing "kill".
3950 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3951 source line matching regexp.
3952
8d4d924b
JK
39532010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3954
3955 * gdb.python/python.exp (set height 0, collect help from uiout)
3956 (verify help to uiout): New tests.
3957
8e64f2a0
JK
39582010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3959
3960 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3961 is_lp64_target to check 64bit target.
3962
4569eed2
JK
39632010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3964
3965 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3966 (test_ld) <powerpc64-*>: New.
3967
5e1617b1
DJ
39682010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3969
3970 * gdb.cp/templates.exp (test_template_args): Allow "struct".
3971
c767944b
DJ
39722010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3973
3974 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3975 (FunctionArg::method): New function.
3976 (empty, arg): New variables.
3977 (main): Call arg.method.
3978 * gdb.cp/templates.exp (test_template_args): New function.
3979 (do_tests): Call it.
3980
27d3a3fc
UW
39812010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3982
3983 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3984 of "next" to proceed over pthread_exit call.
3985
55b7ce7f
UW
39862010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3987
3988 * gdb.base/maint.exp: Avoid wildcards against potentially very long
3989 "maint print statistics" output to prevent expect timeouts.
3990
809df446
JK
39912010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3992
3993 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3994 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3995 (test_float_rejected): ... here.
3996 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3997 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3998 (test_float_rejected): ... here.
3999 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4000 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4001 (test_float_rejected): ... here.
4002 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4003 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4004 (test_float_rejected): ... here.
4005
8464be76
DJ
40062010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4007
4008 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4009 before disabling hardware watchpoints.
4010 (test_inaccessible_watchpoint): Check that hardware watchpoints
4011 are used. Test for watchpoints on a constant address.
4012
14dba4b4
JK
40132010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4014
4015 * gdb.base/ui-redirect.exp: New file.
4016
3f3540e1 40172010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4018 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4019
4020 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4021
0f254bb7
DE
40222010-08-31 Doug Evans <dje@google.com>
4023
4024 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4025
03f17ccf
TT
40262010-08-30 Tom Tromey <tromey@redhat.com>
4027
4028 PR python/11792:
4029 * gdb.python/py-value.exp (test_subscript_regression): Add
4030 dynamic_type test.
4031
640617ad
DJ
40322010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4033
4034 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4035 instead of running to main. Do not test the main function.
4036 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4037 Add new main.
4038
2ed91d1b
PA
40392010-08-26 Pedro Alves <pedro@codesourcery.com>
4040
4041 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4042 one test.
4043
673bfd45
DE
40442010-08-24 Doug Evans <dje@google.com>
4045
4046 PR symtab/11942
4047 * gdb.dwarf2/dw4-sig-types.cc: New file.
4048 * gdb.dwarf2/dw4-sig-types.h: New file.
4049 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4050 * gdb.dwarf2/dw4-sig-types.exp: New file.
4051
f9ffd4bb
TT
40522010-08-23 Tom Tromey <tromey@redhat.com>
4053
4054 PR python/11145:
4055 * gdb.python/py-value.c (Base, Derived): New types.
4056 (base): New global.
4057 * gdb.python/py-value.exp (test_subscript_regression): Add
4058 dynamic_cast test.
4059
d839c8a4
TT
40602010-08-23 Tom Tromey <tromey@redhat.com>
4061
4062 PR python/10676:
4063 * gdb.python/py-type.exp (test_fields): Add tests for type
4064 equality.
4065
702c2711
TT
40662010-08-23 Tom Tromey <tromey@redhat.com>
4067
4068 PR python/11915:
4069 * gdb.python/py-type.exp (test_fields): Add tests for array.
4070
832bafd3
KS
40712010-08-23 Keith Seitz <keiths@redhat.com>
4072
4073 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4074 have any children. Create a new abbrev for it.
4075 Add missing terminal sequence to .debug_abbrev.
4076
c37bf528
KS
40772010-08-20 Keith Seitz <keiths@redhat.com>
4078
4079 PR symtab/11465:
4080 * gdb.dwarf2/pr11465.exp: New test.
4081 * gdb.dwarf2/pr11465.S: New file.
4082 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4083 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4084
4572cbac
TJB
40852010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4086
4087 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4088 registers. Update data sets with the new v2_double element in the
4089 VSX register union. Add vector_register3_vr data set for the AltiVec
4090 registers. Use gdb_test_no_output instead of send_gdb.
4091
e7fbb131
PA
40922010-08-19 Pedro Alves <pedro@codesourcery.com>
4093
4094 * gdb.python/py-shared.exp: New file, factored out from
4095 python.exp.
4096 * gdb.python/py-shared.c: New file.
4097 * gdb.python/py-shared-sl.c: New file.
4098 * gdb.python/python-1.c: New file.
4099 * gdb.python/python-sl.c: Delete.
4100 * gdb.python/python.c: Mention python-1.c.
4101 * gdb.python/python.exp: Move shared library tests to
4102 py-shared.exp.
4103 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4104 (MISCELLANEOUS): New.
4105 (clean mostlyclean): Also remove $MISCELLANEOUS.
4106
d30f5e1f
DE
41072010-08-19 Doug Evans <dje@google.com>
4108
4109 PR exp/11926
4110 * gdb.base/printcmds.exp (test_float_accepted): New function.
4111 Move existing float tests there. Add tests for floats with suffixes.
4112 (test_float_rejected): New function.
4113 * gdb.java/jv-print.exp (test_float_accepted): New function.
4114 (test_float_rejected): New function.
4115 * gdb.objc/print.exp: New file.
4116 * gdb.pascal/print.exp: New file.
4117 * lib/objc.exp: New file.
4118
7b3fd859
PM
41192010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4120
4121 * gdb.base/default.exp (info set): Avoid full buffer error and force
4122 reading up to final gdb prompt.
4123 (show): Likewise.
4124
c92817ce
TT
41252010-08-18 Tom Tromey <tromey@redhat.com>
4126
4127 PR symtab/11919:
4128 * gdb.base/completion.exp: Add test.
4129
f1208f9e
DE
41302010-08-18 Doug Evans <dje@google.com>
4131
4132 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4133 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4134 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4135 Simplify, early exit if runto_main fails.
4136 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4137 (set_lang_fortran): Moved to lib/fortran.exp.
4138 * gdb.fortran/types.exp: load_lib fortran.exp.
4139 (set_lang_fortran): Moved to lib/fortran.exp.
4140 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4141 * gdb.java/jprint.exp (set_lang_java): Ditto.
4142 * gdb.java/jv-exp.exp: load_lib java.exp.
4143 If set_lang_java fails, issue a warning instead of failure to be
4144 consistent with other set_lang_foo uses.
4145 (set_lang_java): Moved to lib/java.exp.
4146 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4147 If set_lang_java fails, issue a warning instead of failure to be
4148 consistent with other set_lang_foo uses.
4149 * gdb.pascal/types.exp: load_lib pascal.exp.
4150 (set_lang_pascal): Moved to lib/pascal.exp.
4151 * lib/fortran.exp: New file.
4152 * lib/java.exp (set_lang_java): New function.
4153 * lib/pascal.exp (set_lang_pascal): New function.
4154
2f06b485
YQ
41552010-08-18 Yao Qi <yao@codesourcery.com
4156
4157 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4158 func_nofb_start and func_loopfb_start, so that address of functions
4159 is equal to these labels on Thumb.
4160
96e25403
YQ
41612010-08-18 Yao Qi <yao@codesourcery.com>
4162
4163 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4164 to reflect latest c source file.
4165
36e6adc4
JK
41662010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4167
4168 * gdb.cp/infcall-dlopen.exp: New file.
4169 * gdb.cp/infcall-dlopen.cc: New file.
4170 * gdb.cp/infcall-dlopen-lib.cc: New file.
4171
f431efe5
PA
41722010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4173 Pedro Alves <pedro@codesourcery.com>
4174
4175 PR breakpoints/11371
4176
4177 * gdb.base/watch-cond-infcall.exp: New file.
4178 * gdb.base/watch-cond-infcall.c: New file.
4179
06a64a0b
TT
41802010-08-16 Tom Tromey <tromey@redhat.com>
4181
4182 * gdb.base/help.exp: Update.
4183 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4184 watchpoint.
4185 (test_watch_location): New proc.
4186 (test_watchpoint_in_big_blob): Delete watchpoint.
4187 * gdb.base/watchpoint.c (func5): New function.
4188 (main): Call it.
4189
70ebf4ed
DE
41902010-08-16 Doug Evans <dje@google.com>
4191
4192 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4193
ca5c20b6
PM
41942010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4195
4196 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4197 tests.
4198
7346b668
KW
41992010-08-11 Ken Werner <ken.werner@de.ibm.com>
4200
4201 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4202 * gdb.base/gnu_vector.c: New File.
4203 * gdb.base/gnu_vector.exp: Likewise.
4204
cb2e07a6
PM
42052010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4206
4207 * gdb.python/python.c: New File.
4208 * gdb.python/python-sl.c: New File.
4209 * gdb.python/python.exp: Test solib_address and decode_line
4210 * functions.
4211
5da1313b
JK
42122010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4213
4214 * gdb.python/python.exp (show height, set height 10)
4215 (verify pagination beforehand, verify pagination beforehand: q)
4216 (gdb.execute does not page, verify pagination afterwards)
4217 (verify pagination afterwards: q): New.
4218
49c3ccf7
DE
42192010-08-02 Doug Evans <dje@google.com>
4220
4221 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4222 because of an older gcc, change test2
4223 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4224 to unsupported.
4225
42c0c4f1
KH
42262010-07-30 Kazu Hirata <kazu@codesourcery.com>
4227
4228 * gdb.base/break-always.exp: Do not expect full paths to file
4229 names.
4230 * gdb.base/commands.exp: Likewise.
4231
d3765805
DE
42322010-07-30 Doug Evans <dje@google.com>
4233
c98ee71b
DE
4234 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4235 xfail them when run with older gccs.
4236
fd961404
DE
4237 * lib/gdb.exp (build_executable): Forward "c++" option to
4238 get_compiler_info.
4239
999adef4
DE
4240 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4241 "python print ttype.template_argument(1)" and
4242 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4243 if using gcc 4.4 or earlier.
4244
d3765805
DE
4245 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4246 attach-to-debugger handling.
4247
1276c759
JK
42482010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4249
4250 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4251 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4252 (main): Use copyreloc.
4253 * gdb.base/prelink.exp (split debug of executable)
4254 (.dynbss vs. .bss address shift): New tests.
4255
88caa9b9
PA
42562010-07-29 Pedro Alves <pedro@codesourcery.com>
4257
4258 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4259 in gdb_test_multiple.
4260
c6f2ac43
PA
42612010-07-29 Pedro Alves <pedro@codesourcery.com>
4262
4263 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4264 environment.
4265
326fd672
TT
42662010-07-28 Tom Tromey <tromey@redhat.com>
4267
4268 PR python/11060:
4269 * gdb.python/py-type.c (Temargs): New template.
4270 (temvar): New variable.
4271 * gdb.python/py-type.exp (test_template): New proc.
4272
3ce3b1ba
PA
42732010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4274
4275 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4276 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4277
34eaf542
TT
42782010-07-28 Tom Tromey <tromey@redhat.com>
4279
4280 PR c++/9946:
4281 * gdb.cp/temargs.exp: New file.
4282 * gdb.cp/temargs.cc: New file.
4283
d41b819e
JK
42842010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4285
4286 * gdb.base/help.exp (help disassemble): Update the content.
4287
26ab7092
JK
42882010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4289
4290 * gdb.threads/ia64-sigill.exp: New file.
4291 * gdb.threads/ia64-sigill.c: New file.
4292
5283e9e1
TT
42932010-07-27 Tom Tromey <tromey@redhat.com>
4294
4295 * gdb.opt/inline-cmds.c (ATTR): New define.
4296 (func1): Use it.
4297 (func2): Likewise.
4298 (func3): Likewise.
4299 (outer_inline1): Likewise.
4300 (outer_inline2): Likewise.
4301 * gdb.opt/inline-bt.c (ATTR): New define.
4302 (func1): Use it.
4303 (func2): Likewise.
4304 * gdb.opt/inline-locals.c (ATTR): New define.
4305 (func1): Use it.
4306 (func2): Likewise.
4307
e992ef73
TT
43082010-07-27 Tom Tromey <tromey@redhat.com>
4309
4310 * gdb.stabs/gdb11479.c (hack): New function.
4311 (test): Use it.
4312 (test2): Use it.
4313 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4314 (int32_search_buf, int64_search_buf): No longer static.
4315 (x): Remove.
4316 * gdb.base/relocate.c (hack): New function.
4317
5374244e
PM
43182010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4319
4320 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4321 * gdb.python/py-value.c (func1): New function.
4322 (func2): Likewise.
4323
a99aee83
CV
43242010-07-26 Corinna Vinschen <vinschen@redhat.com>
4325
4326 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4327 as not to clash with .data section.
4328
a04ba985
JG
43292010-07-26 Jerome Guitton <guitton@adacore.com>
4330
4331 * gdb.base/code_elim.exp: New file.
4332 * gdb.base/code_elim1.c: New file.
4333 * gdb.base/code_elim2.c: New file.
4334
23bd0f7c
PA
43352010-07-21 Pedro Alves <pedro@codesourcery.com>
4336
4337 PR symtab/11827
4338
4339 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4340 (some_volatile_enum): New variable.
4341 * gdb.base/printcmds.exp (test_print_enums): New.
4342 <top level>: Call it.
4343
883df6dd
SW
43442010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4345
4346 * gdb.cp/fpointer.cc: New test.
4347 * gdb.cp/fpointer.exp: New test.
4348
569b05a5
JK
43492010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4350
4351 * gdb.base/solib-nodir.exp: New file.
4352 * lib/gdb.exp (runto): New case for a GDB internal error.
4353
51d7d803
JK
43542010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4355 Ulrich Weigand <uweigand@de.ibm.com>
4356 Tom Tromey <tromey@redhat.com>
4357
4358 * gdb.base/charset-malloc.c: New file.
4359 * gdb.base/charset.c (malloc_stub): New prototype.
4360 (main): Call it instead of malloc itself.
4361 * gdb.base/charset.exp: Use only prepare_for_testing.
4362 (binfile): Remove the variable.
4363
c0edd9ed
JK
43642010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4365
4366 Make core files the process_stratum.
4367 * gdb.base/corefile.exp (run: load core again)
4368 (run: sanity check we see the core file, run: with core)
4369 (run: core file is cleared, attach: load core again)
4370 (attach: sanity check we see the core file, attach: with core)
4371 (attach: core file is cleared): New tests.
4372 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4373
3cbaedff
KW
43742010-07-14 Ken Werner <ken.werner@de.ibm.com>
4375
4376 * gdb.arch/altivec-abi.exp: New tests.
4377
91158a56
TT
43782010-07-13 Tom Tromey <tromey@redhat.com>
4379
4380 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4381 (main): Use it.
4382 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4383
0f5238ed
TT
43842010-07-13 Tom Tromey <tromey@redhat.com>
4385
4386 * gdb.base/label.exp: New file.
4387 * gdb.base/label.c: New file.
4388
add265ae
L
43892010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4390 H.J. Lu <hongjiu.lu@intel.com>
4391
4392 * lib/gdb.exp (is_ilp32_target): New.
4393 (is_lp64_target): Likewise.
4394
4395 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4396 target.
4397 * gdb.arch/amd64-disp-step.exp: Likewise.
4398 * gdb.arch/amd64-dword.exp: Likewise.
4399 * gdb.arch/amd64-i386-address.exp: Likewise.
4400 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 4401
add265ae
L
4402 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4403 target.
4404 * gdb.arch/i386-bp_permanent.exp: Likewise.
4405 * gdb.arch/i386-byte.exp: Likewise.
4406 * gdb.arch/i386-disp-step.exp: Likewise.
4407 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4408 * gdb.arch/i386-prologue.exp: Likewise.
4409 * gdb.arch/i386-size-overlap.exp: Likewise.
4410 * gdb.arch/i386-size.exp: Likewise.
4411 * gdb.arch/i386-sse.exp: Likewise.
4412 * gdb.arch/i386-unwind.exp: Likewise.
4413 * gdb.arch/i386-word.exp: Likewise.
4414
4415 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4416 test only when building 64-bit executables. Do not hard-code
4417 -m64 option.
4418
2dfb8c17
DE
44192010-07-07 Doug Evans <dje@google.com>
4420
4421 * lib/gdb.exp (gdb_test_list_exact): New function.
4422 * gdb.base/default.exp (show convenience): Call it, add tests for
4423 $_sdata = void, $_thread = 0.
4424
4e5799b6
JK
44252010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4426 Joel Brobecker <brobecker@adacore.com>
4427
4428 Fix re-run of PIE executable, PR shlibs/11776.
4429 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4430 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4431 and re-"run" of the inferior.
4432
1a219cc7
JK
44332010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4434 Joel Brobecker <brobecker@adacore.com>
4435
4436 Cope with missing /usr/sbin/prelink.
4437 * lib/prelink-support.exp (prelink_no):
4438 <result == 1 && $output is "no such file or directory">: New.
4439 (prelink_yes): Likewise. Return on failed prelink_no.
4440
5e3b36f8
JK
44412010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4442 Joel Brobecker <brobecker@adacore.com>
4443
4444 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4445 build_executable by build_executable_own_libs. Replace "prelink -R"
4446 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4447 change.
4448 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4449 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4450 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4451 Replace build_executable by build_executable_own_libs's function
4452 build_executable_own_libs.
4453 (prelinkNO): Create new stub to call prelink_no.
4454 (prelinkYES): Create new stub to call prelink_yes.
4455 (test_attach): Rename calls of copy to file_copy.
4456 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4457 (copy): Move to ...
4458 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4459 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4460 * gdb.base/prelink.exp: Disable testcase also for is_remote and
4461 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
4462 special flags by gdb_compile_shlib. Replace second gdb_compile by
4463 build_executable_own_libs. Replace "prelink -R" execution by a call of
4464 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
4465 a second call of prelink_yes. Replace restart commands by
4466 clean_restart.
4467 (prelink): Rename to ...
4468 (seen displacement message): ... this test. Extend its expectation
4469 strictness.
4470
86e4bafc
JK
44712010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4472
4473 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4474 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4475 displacement message exactly once.
4476
3cd07d20
JK
44772010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4478 Joel Brobecker <brobecker@adacore.com>
4479
4480 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
4481 its restore after the <$relink_args != ""> loop. new comment.
4482
0a1e94c7
JK
44832010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4484 Joel Brobecker <brobecker@adacore.com>
4485
4486 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4487 code for it. New variable relink_args.
4488 (prelinkYES): Call prelinkNO.
4489 (test_attach): Accept new parameter relink_args. Re-prelink the binary
4490 in such case. Move the core code to ...
4491 (test_attach_gdb): ... a new function. Send GDB command "file".
4492 Extend expected "Attaching to " string.
4493
2f70bcfb
TT
44942010-07-02 Tom Tromey <tromey@redhat.com>
4495
4496 * gdb.base/bitops.exp: Remove extraneous "pass".
4497
a17ac5b0
TT
44982010-07-02 Ken Werner <ken.werner@de.ibm.com>
4499
4500 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4501
dc10affe
PA
45022010-07-01 Pedro Alves <pedro@codesourcery.com>
4503
d41c0fc8
PA
4504 * gdb.base/help.exp: Adjust expected output.
4505
45062010-07-01 Pedro Alves <pedro@codesourcery.com>
4507
4508 * gdb.base/help.exp: Adjust expected output.
dc10affe 4509
0a600c36
JK
45102010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4511
4512 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4513 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4514 c++/11702.
4515
37cc8bfe
JK
45162010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4517 Doug Evans <dje@google.com>
4518
4519 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4520 add .dynamic entry'.
4521
254e6b9e
DE
45222010-06-29 Doug Evans <dje@google.com>
4523
4524 Test PR c++/11702.
4525 * gdb.cp/m-static.exp: Add testcase.
4526 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4527
595939de 45282010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
4529 Tom Tromey <tromey@redhat.com>
4530 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
4531
4532 * gdb.python/py-inferior.c: New File.
4533 * gdb.python/py-infthread.c: New File.
4534 * gdb.python/py-inferior.exp: New File.
4535 * gdb.python/py-infthread.exp: New File.
4536
98751a41
JK
45372010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4538
4539 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4540 (ptype ::C::OtherFileClass typedefs): New.
4541 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4542 (C::OtherFileClass::cOtherFileClassVar2): New.
4543 (C::OtherFileClass::cOtherFileClassVar_use): Use also
4544 cOtherFileClassVar2.
4545 (C::cOtherFileType2, C::cOtherFileVar2): New.
4546 (C::cOtherFileVar_use): use also cOtherFileVar2.
4547 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4548
41f62f39
JK
45492010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4550
4551 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4552 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4553 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4554 (print ::C::cOtherFileVar)
4555 (whatis C::OtherFileClass::cOtherFileClassType)
4556 (whatis ::C::OtherFileClass::cOtherFileClassType)
4557 (print C::OtherFileClass::cOtherFileClassVar)
4558 (print ::cOtherFileClassVar)
4559 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4560 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4561 trailing content.
4562 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4563 (C::OtherFileClass::cOtherFileClassVar)
4564 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4565 (C::cOtherFileVar, C::cOtherFileVar_use): New.
4566
af53d231
JK
45672010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4568
4569 Test PR c++/11703 and PR gdb/1448.
4570 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4571 gdb/1448.
4572
9655fd1a
JK
45732010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4574
4575 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4576 (main) <rtti_data>: New.
4577 * gdb.cp/virtbase.exp (print rtti_data): New.
4578
824cc8dd
JK
45792010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4580 Joel Brobecker <brobecker@adacore.com>
4581
4582 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4583
6036c742
JK
45842010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4585
4586 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4587
de6a0421
DE
45882010-06-28 Doug Evans <dje@google.com>
4589
4590 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4591
b2dae948
DE
45922010-06-27 Doug Evans <dje@google.com>
4593
4594 * gdb.cp/m-static.exp: Update expected test output.
4595
0f3bb72e
PH
45962010-06-25 Paul Hilfinger <hilfinger@adacore.com>
4597
889bf7c5
PA
4598 * gdb.gdb/selftest.exp: Adjust expected message for
4599 capturing start-up runtime.
0f3bb72e 4600
bc9f0842
TT
46012010-06-25 Tom Tromey <tromey@redhat.com>
4602
4603 PR python/10808:
4604 * gdb.python/python.exp: Add new tests.
4605
099ef718
SW
46062010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
4607
4608 * gdb.cp/operator.cc: Created an import loop.
4609 * gdb.cp/operator.exp: Added testcase for import loop.
4610
5868a632
JK
46112010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4612
4613 Test PR python/11407.
4614 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4615 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4616 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4617 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4618 executable_nofb and executable_fb. New variables srcsfile, objsfile,
4619 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4620 binfile. Call gdb_compile with clean_restart twice.
4621 (func_nofb print, func_nofb backtrace, func_loopfb print)
4622 (func_loopfb backtrace): New.
4623
af76db58
JK
46242010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4625
4626 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4627 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4628 by a hand made one.
4629 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
4630 i?86 requirement. Remove variables srcfile and binfile. New variable
4631 sources, executable_nofb and executable_fb. Call prepare_for_testing.
4632
f2c7657e
UW
46332010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4634
4635 * gdb.cell/dwarfaddr.exp: New file.
4636 * gdb.cell/dwarfaddr.S: New file.
4637
628fe4e4
JK
46382010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4639
4640 Test PR 9436.
4641 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4642
f1421989
HZ
46432010-06-24 Hui Zhu <teawater@gmail.com>
4644
4645 * gdb.base/eval.exp: New file.
4646
d03285ec
UW
46472010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4648
4649 * gdb.cell/fork.exp: New file.
4650 * gdb.cell/fork.c: Likewise.
4651 * gdb.cell/fork-spu.c: Likewise.
4652
41b2c92d
PM
46532010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
4654
4655 * lib/gdb.exp (banned_variables_traced): New global variable.
4656 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4657 (gdb_init): Use `trace add variable' instead of obsolete
4658 `trace variable'.
4659
d5bc977f
DE
46602010-06-21 Doug Evans <dje@google.com>
4661
4662 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4663
d2ed6730
UW
46642010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4665
4666 * gdb.arch/spu-ls.exp: New file.
4667 * gdb.arch/spu-ls.c: Likewise.
4668
6aed2dbc
SS
46692010-06-18 Stan Shebs <stan@codesourcery.com>
4670
4671 * gdb.threads/thread-specific.exp: Add tests of $_thread.
4672
e0756905
UW
46732010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4674
4675 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4676 * gdb.base/watch-cond.exp: Likewise.
4677 * gdb.python/py-breakpoint.exp: Likewise.
4678
d8053d4d
PA
46792010-06-18 Pedro Alves <pedro@codesourcery.com>
4680
4681 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4682 clean_restart, make sure every test has a distinct message, and
4683 that messages don't include the executable' full path.
4684
81ce510c
DE
46852010-06-17 Doug Evans <dje@google.com>
4686
4687 * gdb.arch/i386-size.exp: Updated expected output for
4688 DISASSEMBLY_OMIT_FNAME.
4689
65d79d4b
SDJ
46902010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4691 Sergio Durigan Junior <sergiodj@redhat.com>
4692
4693 * gdb.base/watch-notconst.c: New file.
4694 * gdb.base/watch-notconst.S: New file.
4695 * gdb.base/watch-notconst2.c: New file.
4696 * gdb.base/watch-notconst2.S: New file.
4697 * gdb.base/watch-notconst.exp: New file.
4698 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4699 (func4): Add operations on `global_ptr_ptr'.
4700 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4701 routine to test watchpoints created with a constant expression.
4702 (test_inaccessible_watchpoint): Include tests for watchpoints
4703 created with a constant expression.
4704
df0f4836
KB
47052010-06-14 Kevin Buettner <kevinb@redhat.com>
4706
4707 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4708 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4709 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4710 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4711 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4712 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4713 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4714 of `_start'.
4715
b769def5
UW
47162010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4717
4718 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4719 not supported on the target.
4720 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4721 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4722 * gdb.mi/mi-nsintrall.exp: Likewise.
4723 * gdb.mi/mi-nsmoribund.exp: Likewise.
4724 * gdb.mi/mi-nsthrexec.exp: Likewise.
4725
d914c394
SS
47262010-06-11 Stan Shebs <stan@codesourcery.com>
4727
4728 * gdb.base/permissions.exp: New file.
4729
47302010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
4731
4732 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4733 does not support ELF executable class.
4734
f3ce5b9c
UW
47352010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4736
4737 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4738
8e46892c
JK
47392010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4740
4741 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4742 (runto): Catch "The target does not support running in non-stop mode.".
4743
6cc55c64
MS
47442010-06-11 Michael Snyder <msnyder@vmware.com>
4745
4746 * gdb.base/setshow.exp (set language asm): Don't use
4747 gdb_test_no_output, fails on some targets.
4748
caddefa4
UW
47492010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4750
4751 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4752 * gdb.cp/pr9167.exp: Likewise.
4753
468b1aa7
UW
47542010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4755
4756 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4757
5c3552dc
UW
47582010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4759
4760 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4761
02e6fe6a
UW
47622010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4763
4764 * gdb.base/charset.c (main): Make sure malloc gets linked in.
4765
0e03807e
TT
47662010-06-11 Tom Tromey <tromey@redhat.com>
4767
4768 PR gdb/9977, PR exp/11636::
4769 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4770 (pieces_test_f6): Update expected output.
4771
2bdf28a0
JK
47722010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4773
4774 * gdb.base/moribund-step.exp: New.
4775
f6978de9
MS
47762010-06-08 Michael Snyder <msnyder@vmware.com>
4777
4778 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 4779 * gdb.ada/boolean_expr.exp:
f6978de9
MS
4780 * gdb.ada/frame_args.exp: Ditto.
4781 * gdb.ada/lang_switch.exp: Ditto.
4782 * gdb.ada/ptype_arith_binop.exp: Ditto.
4783 * gdb.ada/ref_param.exp: Ditto.
4784 * gdb.ada/type_coercion.exp:Ditto.
4785
4786 * gdb.asm/asm-source.exp: Ditto.
4787
4788 * gdb.base/attach.exp: Ditto.
4789 * gdb.base/bitfields2.exp: Ditto.
4790 * gdb.base/call-signal-resume.exp: Ditto.
4791 * gdb.base/callfuncs.exp: Ditto.
4792 * gdb.base/commands.exp: Ditto.
4793 * gdb.base/dbx.exp: Ditto.
4794 * gdb.base/default.exp: Ditto.
4795 * gdb.base/dump.exp: Ditto.
4796 * gdb.base/exprs.exp: Ditto.
4797 * gdb.base/freebpcmd.exp: Ditto.
4798 * gdb.base/interrupt.exp: Ditto.
4799 * gdb.base/list.exp: Ditto.
4800 * gdb.base/long_long.exp: Ditto.
4801 * gdb.base/maint.exp: Ditto.
4802 * gdb.base/ptype.exp: Ditto.
4803 * gdb.base/return.exp: Ditto.
4804 * gdb.base/setshow.exp: Ditto.
4805 * gdb.base/sigbpt.exp: Ditto.
4806 * gdb.base/sigrepeat.exp: Ditto.
4807
4808 * gdb.cp/classes.exp: Ditto.
4809
4810 * gdb.dwarf2/dw2-restore.exp: Ditto.
4811
4812 * gdb.gdb/selftest.exp: Ditto.
4813
4814 * gdb.multi/base.exp: Ditto.
4815 * gdb.multi/bkpt-multi-exec.exp: Ditto.
4816
4817 * gdb.python/py-block.exp: Ditto.
4818 * gdb.python/py-prettyprint.exp: Ditto.
4819 * gdb.python/py-template.exp: Ditto.
4820
4821 * gdb.server/ext-attach.exp: Ditto.
4822 * gdb.server/ext-run.exp: Ditto.
4823 * gdb.server/server-mon.exp: Ditto.
4824
4825 * gdb.threads/fork-thread-pending.exp: Ditto.
4826 * gdb.threads/hand-call-in-threads.exp: Ditto.
4827 * gdb.threads/interrupted-hand-call.exp: Ditto.
4828 * gdb.threads/linux-dp.exp: Ditto.
4829 * gdb.threads/manythreads.exp: Ditto.
4830 * gdb.threads/print-threads.exp: Ditto.
4831 * gdb.threads/pthreads.exp: Ditto.
4832 * gdb.threads/schedlock.exp: Ditto.
4833 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4834 * gdb.threads/threadapply.exp: Ditto.
4835
de7ff789
MS
48362010-06-08 Michael Snyder <msnyder@vmware.com>
4837
889bf7c5 4838 * gdb.ada/exec_changed.exp:
de7ff789
MS
4839 Use ".*" instead of "" as wildcard regexp.
4840
4841 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4842 * gdb.base/call-ar-st.exp: Ditto.
4843 * gdb.base/checkpoint.exp: Ditto.
4844 * gdb.base/default.exp: Ditto.
4845 * gdb.base/dump.exp: Ditto.
4846 * gdb.base/ending-run.exp: Ditto.
4847 * gdb.base/fileio.exp: Ditto.
4848 * gdb.base/miscexprs.exp: Ditto.
4849 * gdb.base/pointers.exp: Ditto.
4850 * gdb.base/readline.exp: Ditto.
4851 * gdb.base/reread.exp: Ditto.
4852 * gdb.base/restore.exp: Ditto.
4853 * gdb.base/shlib-call.exp: Ditto.
4854 * gdb.base/valgrind-db-attach.exp: Ditto.
4855 * gdb.base/volatile.exp: Ditto.
4856 * gdb.base/watchpoints.exp: Ditto.
4857
4858 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4859
4860 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4861 * gdb.python/py-value.exp: Ditto.
4862
4863 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4864 * gdb.trace/circ.exp: Ditto.
4865 * gdb.trace/collection.exp: Ditto.
4866 * gdb.trace/packetlen.exp: Ditto.
4867 * gdb.trace/passc-dyn.exp: Ditto.
4868 * gdb.trace/report.exp: Ditto.
4869 * gdb.trace/tfile.exp: Ditto.
4870 * gdb.trace/tfind.exp: Ditto.
4871 * gdb.trace/while-dyn.exp: Ditto.
4872
3bebe2f2
JK
48732010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4874
4875 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4876
5c631832
JK
48772010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 Test PR 10640.
4880 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4881
4c3376c8
SW
48822010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
4883
4884 * gdb.cp/koenig.exp: Test for ADL operators.
4885 * gdb.cp/koenig.cc: Added ADL operators.
4886 * gdb.cp/operator.exp: New test.
4887 * gdb.cp/operator.cc: New test.
4888
dc226d5a
MS
48892010-06-04 Michael Snyder <msnyder@vmware.com>
4890
dfb88a23
MS
4891 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4892 * gdb.base/pending.exp: Ditto.
f7ae76b3 4893
dc226d5a
MS
4894 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4895
967cf477
DE
48962010-06-04 Doug Evans <dje@google.com>
4897
4898 * gdb.python/py-prettyprint.exp: Add new test for enabled and
4899 disabled printers.
4900 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4901 (enable_lookup_function): New function.
4902
eb801841
TT
49032010-06-04 Tom Tromey <tromey@redhat.com>
4904
4905 * gdb.python/py-value.exp (test_value_hash): Don't test equality
4906 of hash and id.
4907
38979823
JK
49082010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4909
4910 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4911 newline.
4912 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4913 (empty verbose non-noisy clear, empty verbose noisy clear)
4914 (empty non-verbose noisy clear): Likewise.
4915
35ec993f
MS
49162010-06-03 Michael Snyder <msnyder@vmware.com>
4917
4918 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4919 * gdb.base/display.exp: Ditto.
4920 * gdb.base/find.exp: Ditto.
4921 * gdb.base/ifelse.exp: Ditto.
4922 * gdb.base/multi-forks.exp: Ditto.
4923 * gdb.base/recurse.exp: Ditto.
4924 * gdb.base/setshow.exp: Ditto.
4925 * gdb.base/value-double-free.exp: Ditto.
4926 * gdb.base/watch-vfork.exp: Ditto.
4927 * gdb.base/watch_thread_num.exp: Ditto.
4928 * gdb.base/watchpoint-solib.exp: Ditto.
4929 * gdb.base/watchpoint.exp: Ditto.
4930 * gdb.base/watchpoints.exp: Ditto.
4931
4932 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4933 * gdb.cp/overload.exp: Ditto.
4934 * gdb.cp/virtfunc.exp: Ditto.
4935
4936 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4937
889bf7c5 4938 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
4939 Replace gdb_test with gdb_test_no_output.
4940
889bf7c5 4941 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
4942 Replace gdb_test with gdb_test_no_output.
4943 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4944 * gdb.threads/watchthreads.exp: Ditto.
4945 * gdb.threads/watchthreads2.exp: Ditto.
4946
4947 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4948 * gdb.trace/tfind.exp: Ditto.
4949
c22decce
JB
49502010-06-03 Joel Brobecker <brobecker@adacore.com>
4951
4952 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4953 successful test if message is the empty string.
4954
fd5700c7
JK
49552010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4956
4957 * gdb.fortran/module.exp (stopped language detection): New test.
4958
f55ee35c
JK
49592010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4960
4961 Support DW_TAG_module as separate namespaces.
4962 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4963 gdb.fortran/library-module-lib.f90: New.
4964 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4965 (print i): Remove.
4966 (continue to breakpoint: i-is-1, print var_i value 1)
4967 (continue to breakpoint: i-is-2, print var_i value 2)
4968 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4969 (print var_d, print var_i value 14, ptype modmany, complete `modm)
4970 (complete `modmany, complete `modmany`, complete `modmany`var)
4971 (show language, setting breakpoint at module): New tests.
4972 * gdb.fortran/module.f90 (module mod): Remove.
4973 (module mod1, module mod2, module modmany, subroutine sub1)
4974 (subroutine sub2, program module): New.
4975
b8e8282f
JK
49762010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4977
4978 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4979 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
4980 * gdb.cp/anon-union.exp (pass): Rename to ...
4981 (print z 2): ... here.
b8e8282f 4982
019ebafc
MS
49832010-06-02 Michael Snyder <msnyder@vmware.com>
4984
e68d8fd4
MS
4985 * gdb.trace/actions.exp: Use gdb_test_no_output.
4986 * gdb.trace/circ.exp: Ditto.
4987 * gdb.trace/packetlen.exp: Ditto.
4988 * gdb.trace/save-trace.exp: Ditto.
4989 * gdb.trace/tracecmd.exp: Ditto.
4990 * gdb.trace/tsv.exp: Ditto.
4991
12b5d08a
MS
4992 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4993 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4994 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4995 * gdb.threads/manythreads.exp: Ditto.
4996 * gdb.threads/print-threads.exp: Ditto.
4997 * gdb.threads/pthreads.exp: Ditto.
4998 * gdb.threads/schedlock.exp: Ditto.
4999 * gdb.threads/staticthreads.exp: Ditto.
5000 * gdb.threads/thread-specific.exp: Ditto.
5001 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5002 * gdb.threads/threadapply.exp: Ditto.
5003 * gdb.threads/watchthreads.exp: Ditto.
5004 * gdb.threads/watchthreads2.exp: Ditto.
5005
89493308
MS
5006 * gdb.python/py-block.exp: Use gdb_test_no_output.
5007 * gdb.python/py-prettyprint.exp: Ditto.
5008 * gdb.python/py-template.exp: Ditto.
5009 * gdb.python/py-value.exp: Ditto.
5010
5011 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5012 * gdb.reverse/watch-reverse.exp: Ditto.
5013
5014 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5015 * gdb.server/ext-run.exp: Ditto.
5016
019ebafc
MS
5017 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5018 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5019 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5020 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5021 * gdb.dwarf2/dw2-producer.exp: Ditto.
5022 * gdb.dwarf2/mac-fileno.exp: Ditto.
5023
5024 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5025 * gdb.gdb/selftest.exp: Ditto.
5026
5027 * gdb.multi/base.exp: Use gdb_test_no_output.
5028
5029 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5030
3e0ca3a5
JK
50312010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5032
5033 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5034
9db70545
MS
50352010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5036
a8d52276
MS
5037 * gdb.cp/class2.exp: Use gdb_test_no_output.
5038 * gdb.cp/classes.exp: Ditto.
5039 * gdb.cp/extern-c.exp: Ditto.
5040 * gdb.cp/inherit.exp: Ditto.
5041 * gdb.cp/maint.exp: Ditto.
5042 * gdb.cp/mb-inline.exp: Ditto.
5043 * gdb.cp/mb-templates.exp: Ditto.
5044 * gdb.cp/method2.exp: Ditto.
5045 * gdb.cp/misc.exp: Ditto.
5046 * gdb.cp/ovldbreak.exp: Ditto.
5047 * gdb.cp/punctuator.exp: Ditto.
5048 * gdb.cp/templates.exp: Ditto.
5049 * gdb.cp/virtbase.exp: Ditto.
5050
889bf7c5 5051 * gdb.threads/attach-stopped.exp:
9db70545 5052 Replace uses of send_gdb / gdb_expect.
889bf7c5 5053 * gdb.threads/attachstop-mt.exp:
9db70545 5054 Replace uses of send_gdb / gdb_expect.
889bf7c5 5055 * gdb.threads/gcore-thread.exp:
9db70545 5056 Replace uses of send_gdb / gdb_expect.
889bf7c5 5057 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5058 Replace uses of send_gdb / gdb_expect.
5059 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5060 * gdb.threads/print-threads.exp:
9db70545
MS
5061 Replace uses of send_gdb / gdb_expect.
5062 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5063 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5064 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5065
5066 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5067 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5068 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5069 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5070 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5071 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5072 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5073 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5074 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5075 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5076 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5077
359cc68c
JK
50782010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5079
5080 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5081
7d3fe98e
SW
50822010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5083
5084 * gdb.cp/koenig.exp: Added new test case.
5085 * gdb.cp/koenig.cc: Ditto.
5086
27d3a1a2
MS
50872010-06-01 Michael Snyder <msnyder@vmware.com>
5088
5089 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5090 * gdb.base/arrayidx.exp: Ditto.
5091 * gdb.base/attach.exp: Ditto.
5092 * gdb.base/auxv.exp: Ditto.
5093 * gdb.base/bigcre.exp: Ditto.
5094 * gdb.base/break-always.exp: Ditto.
5095 * gdb.base/break-interp.exp: Ditto.
5096 * gdb.base/break.exp: Ditto.
5097 * gdb.base/breakpoint-shadow.exp: Ditto.
5098 * gdb.base/call-ar-st.exp: Ditto.
5099 * gdb.base/call-sc.exp: Ditto.
5100 * gdb.base/call-signal-resume.exp: Ditto.
5101 * gdb.base/callfuncs.exp: Ditto.
5102 * gdb.base/catch-syscall.exp: Ditto.
5103 * gdb.base/charset.exp: Ditto.
5104 * gdb.base/code-expr.exp: Ditto.
5105 * gdb.base/commands.exp: Ditto.
5106 * gdb.base/cond-expr.exp: Ditto.
5107 * gdb.base/condbreak.exp: Ditto.
5108 * gdb.base/cursal.exp: Ditto.
5109 * gdb.base/cvexpr.exp: Ditto.
5110 * gdb.base/default.exp: Ditto.
5111 * gdb.base/del.exp: Ditto.
5112 * gdb.base/detach.exp: Ditto.
5113 * gdb.base/display.exp: Ditto.
5114 * gdb.base/ena-dis-br.exp: Ditto.
5115 * gdb.base/eval-skip.exp: Ditto.
5116 * gdb.base/foll-fork.exp: Ditto.
5117 * gdb.base/foll-vfork.exp: Ditto.
5118 * gdb.base/frame-args.exp: Ditto.
5119 * gdb.base/funcargs.exp: Ditto.
5120 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5121 * gdb.base/gdbvars.exp: Ditto.
5122 * gdb.base/help.exp: Ditto.
5123 * gdb.base/ifelse.exp: Ditto.
5124 * gdb.base/included.exp: Ditto.
5125 * gdb.base/list.exp: Ditto.
5126 * gdb.base/macscp.exp: Ditto.
5127 * gdb.base/maint.exp: Ditto.
5128 * gdb.base/multi-fork.exp: Ditto.
5129 * gdb.base/overlays.exp: Ditto.
5130 * gdb.base/page.exp: Ditto.
5131 * gdb.base/pending.exp: Ditto.
5132 * gdb.base/pointers.exp: Ditto.
5133 * gdb.base/pr11022.exp: Ditto.
5134 * gdb.base/prelink.exp: Ditto.
5135 * gdb.base/printcmds.exp: Ditto.
5136 * gdb.base/psymtab.exp: Ditto.
5137 * gdb.base/randomize.exp: Ditto.
5138 * gdb.base/relational.exp: Ditto.
5139 * gdb.base/relocate.exp: Ditto.
5140 * gdb.base/remote.exp: Ditto.
5141 * gdb.base/sepdebug.exp: Ditto.
5142 * gdb.base/set-lang-auto.exp: Ditto.
5143 * gdb.base/setshow.exp: Ditto.
5144 * gdb.base/setvar.exp: Ditto.
5145 * gdb.base/signals.exp: Ditto.
5146 * gdb.base/signull.exp: Ditto.
5147 * gdb.base/sigstep.exp: Ditto.
5148 * gdb.base/sizeof.exp: Ditto.
5149 * gdb.base/solib-disc.exp: Ditto.
5150 * gdb.base/store.exp: Ditto.
5151 * gdb.base/structs.exp: Ditto.
5152 * gdb.base/structs2.exp: Ditto.
5153 * gdb.base/subst.exp: Ditto.
5154 * gdb.base/term.exp: Ditto.
5155 * gdb.base/trace-commands.exp: Ditto.
5156 * gdb.base/unwindonsignal.exp: Ditto.
5157 * gdb.base/valgrind-db-attach.exp: Ditto.
5158 * gdb.base/varargs.exp: Ditto.
5159 * gdb.base/watch-cond.exp: Ditto.
5160 * gdb.base/watch_thread_num.exp: Ditto.
5161 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5162 * gdb.base/watchpoint.exp: Ditto.
5163 * gdb.base/whatis-exp.exp: Ditto.
5164
f8d3bf8f
MS
51652010-06-01 Michael Snyder <msnyder@vmware.com>
5166
5167 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5168 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5169 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5170 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5171 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5172 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5173 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5174 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5175 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5176 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5177 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5178 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5179 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5180 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5181 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5182
3f9e0d32
JK
51832010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5184
5185 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5186 trailing newline.
5187 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5188 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5189 (p *args): ... here and remove excessive trailing newline.
5190
f629457d
JB
51912010-05-31 Joel Brobecker <brobecker@adacore.com>
5192
5193 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5194
09eef106
JK
51952010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 Accept the new Linux kernel "t (tracing stop)" string.
5198 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5199 Update comment.
5200 (state_wait) <T (tracing stop)>: New.
5201 (main): Update the state_wait expect string.
5202
94f31136
PA
52032010-05-28 Pedro Alves <pedro@codesourcery.com>
5204
5205 * limits.c, limits.exp: Delete files.
5206 * Makefile.in (clean mostlyclean): Adjust.
5207 * tracecmd.exp: Adjust.
5208
096554ab
JK
52092010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5210
5211 * gdb.base/tui-layout.exp: New.
5212
27d3a1a2 52132010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5214
889bf7c5 5215 * gdb.reverse/break-precsave.exp:
bcd2dc50 5216 Replace uses of send_gdb / gdb_expect.
889bf7c5 5217 * gdb.reverse/break-reverse.exp:
bcd2dc50 5218 Replace uses of send_gdb / gdb_expect.
889bf7c5 5219 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5220 Replace uses of send_gdb / gdb_expect.
889bf7c5 5221 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5222 Replace uses of send_gdb / gdb_expect.
889bf7c5 5223 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5224 Replace uses of send_gdb / gdb_expect.
889bf7c5 5225 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5226 Replace uses of send_gdb / gdb_expect.
889bf7c5 5227 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5228 Replace uses of send_gdb / gdb_expect.
889bf7c5 5229 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5230 Replace uses of send_gdb / gdb_expect.
889bf7c5 5231 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5232 Replace uses of send_gdb / gdb_expect.
889bf7c5 5233 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5234 Replace uses of send_gdb / gdb_expect.
889bf7c5 5235 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5236 Replace uses of send_gdb / gdb_expect.
889bf7c5 5237 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5238 Replace uses of send_gdb / gdb_expect.
889bf7c5 5239 * gdb.reverse/machinestate.exp:
bcd2dc50 5240 Replace uses of send_gdb / gdb_expect.
889bf7c5 5241 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5242 Replace uses of send_gdb / gdb_expect.
889bf7c5 5243 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5244 Replace uses of send_gdb / gdb_expect.
889bf7c5 5245 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5246 Replace uses of send_gdb / gdb_expect.
889bf7c5 5247 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5248 Replace uses of send_gdb / gdb_expect.
889bf7c5 5249 * gdb.reverse/step-precsave.exp:
bcd2dc50 5250 Replace uses of send_gdb / gdb_expect.
889bf7c5 5251 * gdb.reverse/step-reverse.exp:
bcd2dc50 5252 Replace uses of send_gdb / gdb_expect.
889bf7c5 5253 * gdb.reverse/until-precsave.exp:
bcd2dc50 5254 Replace uses of send_gdb / gdb_expect.
889bf7c5 5255 * gdb.reverse/until-reverse.exp:
bcd2dc50 5256 Replace uses of send_gdb / gdb_expect.
889bf7c5 5257 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5258 Replace uses of send_gdb / gdb_expect.
889bf7c5 5259 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5260 Replace uses of send_gdb / gdb_expect.
5261
3def43e0
JK
52622010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5263
5264 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5265 excessive newline.
5266
27d3a1a2 52672010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5268
5269 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5270 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5271 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5272 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5273 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5274 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5275 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5276 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5277 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5278 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5279 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5280 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5281 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5282 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5283 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5284 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5285 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5286 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5287 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 5288
27d3a1a2 52892010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 5290
22454424
MS
5291 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5292 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5293
5294 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5295 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5296 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5297
889bf7c5 5298 * gdb.reverse/consecutive-reverse.exp:
22454424 5299 Replace uses of send_gdb / gdb_expect.
889bf7c5 5300 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
5301 Replace uses of send_gdb / gdb_expect.
5302
5303 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5304 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5305 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5306 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
5307 Replace uses of send_gdb / gdb_expect.
5308 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5309 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5310 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5311 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5312 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5313 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5314 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5315 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5316 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
5317
53182010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 5319
22454424 5320 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5321
22454424 5322 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5323
22454424
MS
5324 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5325 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5326 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5327 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5328 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5329 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5330 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5331 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5332 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5333
6e5f2c59
TT
53342010-05-25 Tom Tromey <tromey@redhat.com>
5335
5336 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5337
bbc8b958
TT
53382010-05-25 Tom Tromey <tromey@redhat.com>
5339
5340 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5341 argument order.
5342 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5343 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5344 order.
5345 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5346 order.
5347 * gdb.base/call-sc.exp (setup_kfails): Remove.
5348 (setup_compiler_kfails): Remove.
5349 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5350 argument order.
5351 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5352 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5353 (advancei): Fix setup_kfail argument order.
5354 * gdb.base/radix.exp: Fix setup_kfail argument order.
5355 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5356 order.
5357 * gdb.base/structs.exp (setup_kfails): Remove.
5358 (setup_compiler_kfails): Fix setup_kfail argument order.
5359 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5360 order.
5361 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5362 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5363 setup_kfail argument order.
5364 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5365
83d1babf
TT
53662010-05-25 Tom Tromey <tromey@redhat.com>
5367
5368 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5369
6acb16a2
MS
53702010-05-25 Michael Snyder <msnyder@vmware.com>
5371
5372 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5373 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5374 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5375 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5376 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5377 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5378 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5379 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5380 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
5381 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5382 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5383 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5384 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5385 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5386 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5387 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5388 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5389 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5390 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5391 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5392 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5393 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5394 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
5395 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5396 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5397 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5398 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5399 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5400 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5401 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5402 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5403 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5404 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5405 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5406 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5407 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5408 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5409 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5410 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5411 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5412 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5413 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5414 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5415 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5416 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5417 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5418 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 5419 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5420
54212010-05-25 Doug Evans <dje@google.com>
5422
5423 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5424 gdb.string_to_argv.
ad3986f0 5425
d3b1e874
TT
54262010-05-21 Tom Tromey <tromey@redhat.com>
5427
5428 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5429 Call it.
5430 * gdb.dwarf2/pieces.S: Update.
5431 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5432
cb826367
TT
54332010-05-21 Tom Tromey <tromey@redhat.com>
5434
5435 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5436 Call it.
5437 * gdb.dwarf2/pieces.c (struct C): New.
5438 (f6): New function.
5439 * gdb.dwarf2/pieces.S: Replace.
5440
74de6778
TT
54412010-05-21 Tom Tromey <tromey@redhat.com>
5442
5443 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5444 Call it.
5445
afd74c5f
TT
54462010-05-21 Tom Tromey <tromey@redhat.com>
5447
5448 * gdb.dwarf2.pieces.exp: New file.
5449 * gdb.dwarf2.pieces.S: New file.
5450 * gdb.dwarf2.pieces.c: New file.
5451
a7b75dfd 54522010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5453 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
5454
5455 * lib/gdb.exp (gdb_test_no_output): New function.
5456 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5457 when testing commands that should produce no output.
5458
c81c812a
JB
54592010-05-17 Joel Brobecker <brobecker@adacore.com>
5460
5461 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5462 parameter that we want to watch being a constant.
5463
0cce5bd9
JB
54642010-05-17 Joel Brobecker <brobecker@adacore.com>
5465
5466 * gdb.ada/cond_lang: New testcase.
5467
47050449
JB
54682010-05-17 Joel Brobecker <brobecker@adacore.com>
5469
5470 * lib/gdb.exp (banned_variables): New variable/constant.
5471 (gdb_init): Add write trace on variables listed in banned_variables.
5472 (gdb_finish): Remove write traces on variables listed in
5473 banned_variables.
5474
77c01586
JB
54752010-05-17 Joel Brobecker <brobecker@adacore.com>
5476
5477 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5478 * gdb.cp/koenig.exp: Likewise.
5479
88d4aea7
PM
54802010-05-14 Phil Muldoon <pmuldoon@redhat.com>
5481
889bf7c5 5482 PR python/11482
88d4aea7
PM
5483
5484 * gdb.python/py-value.exp (test_value_hash): New function.
5485
f5a010c0
PM
54862010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
5487
5488 PR exp/11530.
5489 * gdb.base/gdb11530.c: New file.
5490 * gdb.base/gdb11530.exp: New file.
5491
8ef4892f
JK
54922010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5493
5494 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5495 * gdb.dwarf2/dw2-modula2-self-type.S: New.
5496
7322dca9
SW
54972010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
5498
5499 * gdb.cp/koenig.exp: New test.
5500 * gdb.cp/koenig.cc: New test program.
5501
02e7ea18
JB
55022010-05-05 Joel Brobecker <brobecker@adacore.com>
5503
5504 Remove the use of prms_id and bug_id throughout the testsuite.
5505
e1c34c5d
PM
55062010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
5507
5508 PR exp/11349.
5509 * testsuite/gdb.cp/ref-types.exp: Add test to examine
5510 use a reference local variable.
5511
8e1d0c49
JK
55122010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5513
5514 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5515 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
5516 variable different_dir. Move debugfile into a full directory pathname
5517 under DIFFERENT_DIR.
5518 * lib/gdb.exp (separate_debug_filename): Remove.
5519 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
5520 variable debug_dir and mkdir of it. Update function comments.
5521
e66408ed
PA
55222010-04-29 Pedro Alves <pedro@codesourcery.com>
5523
5524 PR gdb/11557
5525
5526 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5527 files.
5528
d7b32ed3
PM
55292010-04-29 Phil Muldoon <pmuldoon@redhat.com>
5530
889bf7c5 5531 * gdb.python/py-param.exp: New File.
d7b32ed3 5532
6aecb9c2
JB
55332010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
5534
5535 * gdb.base/default.exp: Fix "set language" test.
5536
bdf92a1c
PM
55372010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
5538
5539 PR breakpoints/11531.
5540 * gdb.base/gdb11531.c: New file.
5541 * gdb.base/gdb11531.exp: New file.
5542
3f172e24
TT
55432010-04-26 Tom Tromey <tromey@redhat.com>
5544
5545 * gdb.base/completion.exp: Add tests for completion and deprecated
5546 commands.
5547
64af4c92
JK
55482010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5549
5550 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5551 (print /x char_array): Escape curly brackets.
5552
492928e4
JK
55532010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5554
5555 Fix deadlock on looped list of loaded shared objects.
5556 * gdb.base/solib-corrupted.exp: New.
5557
66d09542
DE
55582010-04-23 Doug Evans <dje@google.com>
5559
5560 * gdb.python/py-section-script.c: New file.
5561 * gdb.python/py-section-script.exp: New file.
5562 * gdb.python/py-section-script.py: New file.
5563
8bd10a10
CM
55642010-04-20 Chris Moller <cmoller@redhat.com>
5565
5566 PR 10179
5567
5568 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5569 * gdb.base/pr10179-a.c:
5570 * gdb.base/pr10179-b.c:
5571 * gdb.base/pr10179.exp: New files.
5572
c0201579
JK
55732010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5574
5575 Fix crashes on dangling display expressions.
5576 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5577 is SEP.
5578 (lib_flags): Remove the "debug" keyword.
5579 (libsepdebug): New variable for iterating new loop.
5580 (save_pf_prefix): New variable wrapping the loop.
5581 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
5582 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5583
793b0ff8
PM
55842010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5585
5586 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5587
097f51f7
PM
55882010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5589
5590 PR stabs/11479.
5591 * gdb.stabs/gdb11479.exp: New file.
5592 * gdb.stabs/gdb11479.c: New file.
5593
9a22f0d0
PM
55942010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5595
5596 * gdb.base/charset.c (Strin16, String32): New variables.
5597 * gdb.base/charset.exp (gdb_test): Test correct display
5598 of 16 or 32 bit strings.
5599
56002010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
5601
5602 PR 9167
5603 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5604 * gdb.cp/pr9167.cc: New file.
5605 * gdb.cp/pr9167.exp: New file.
5606
5607
6e354e5e
PM
56082010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
5609
5610 PR pascal/11492.
5611 * gdb.pascal/gdb11492.pas: New file.
5612 * gdb.pascal/gdb11492.exp: New file.
5613
be942545
JB
56142010-04-20 Joel Brobecker <brobecker@adacore.com>
5615
1667e6e3 5616 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 5617
0c3acc09
JB
56182010-04-20 Joel Brobecker <brobecker@adacore.com>
5619
5620 * gdb.ada/dyn_loc: New testcase.
5621
ec31cde5
CM
56222010-04-20 Chris Moller <cmoller@redhat.com>
5623
5624 PR 10867
889bf7c5 5625
ec31cde5
CM
5626 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
5627 * gdb.cp/pr10687.cc: New file.
5628 * gdb.cp/pr10687.exp: New file.
5629
5630
ce4b0682
SDJ
56312010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5632 Sergio Durigan Junior <sergiodj@redhat.com>
5633
5634 * gdb.fortran/logical.exp: New testcase.
5635 * gdb.fortran/logical.f90: New file.
5636
3436961f
DE
56372010-04-19 Doug Evans <dje@google.com>
5638
5639 * gdb.base/help.exp (help source): Update expected output.
5640
4d836c09
JK
56412010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5642
5643 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5644 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
5645 gdb_exit and return.
5646 (executable): New variable.
5647 (binfile): Use it.
5648
6149aea9
PA
56492010-04-19 Pedro Alves <pedro@codesourcery.com>
5650
5651 PR breakpoints/8554.
5652
5653 * gdb.trace/save-trace.exp: Adjust.
5654
ed41462c
L
56552010-04-17 H.J. Lu <hongjiu.lu@intel.com>
5656
5657 PR corefiles/11511
5658 * gdb.arch/system-gcore.exp: New.
5659 * gdb.arch/gcore.c: Likewise.
5660
3f7b2faa
DE
56612010-04-15 Doug Evans <dje@google.com>
5662
fa33c3cd
DE
5663 * gdb.python/py-progspace.c: New file.
5664 * gdb.python/py-progspace.exp: New file.
5665
3f7b2faa
DE
5666 * gdb.base/source.exp: Add tests for "source -s".
5667
79f283fe
PM
56682010-04-14 Phil Muldoon <pmuldoon@redhat.com>
5669
5670 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5671 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5672 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5673 * gdb.python/py-mi.exp: New test for to_string returning None.
5674
fc8eb08a
PM
56752010-04-12 Phil Muldoon <pmuldoon@redhat.com>
5676
5677 * gdb.python/py-breakpoint.c: Make result global.
5678
26e197f6
JK
56792010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5680
5681 Fix non-GNU make compatibility.
5682 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5683
adc36818
PM
56842010-04-09 Phil Muldoon <pmuldoon@redhat.com>
5685
5686 * gdb.python/py-breakpoint.exp: New File.
5687 * gdb.python/py-breakpoint.C: Ditto.
5688
64e17368
SS
56892010-04-08 Stan Shebs <stan@codesourcery.com>
5690
5691 * gdb.trace/actions.exp: Clear default-collect.
5692 * gdb.trace/save-trace.exp: Clear default-collect.
5693
fff5cc64
PM
56942010-04-08 Phil Muldoon <pmuldoon@redhat.com>
5695
5696 * gdb.python/py-value: Add null string variable.
5697 (test_lazy_string): Test zero length, NULL address lazy
5698 strings.
5699
a055a187
L
57002010-04-07 H.J. Lu <hongjiu.lu@intel.com>
5701
5702 * gdb.arch/i386-avx.c: New.
5703 * gdb.arch/i386-avx.exp: Likewise.
5704
5705 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5706
96e39866
DE
57072010-04-06 Doug Evans <dje@google.com>
5708
5709 * gdb.base/source-test.gdb: New file.
5710 * gdb.base/source.exp: Test source -v.
5711
5984a431
UW
57122010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5713
5714 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5715
ec8a089a
PM
57162010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
5717
5718 * gdb.stabs/aout.sed: Convert all backslash to double backslash
5719 within one line, unless it is followed by a double quote.
5720 * gdb.stabs/hppa.sed: Idem.
5721 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
5722 * gdb.stabs/weird.exp: Check for correct parsing of
5723 char and string constants.
ec8a089a
PM
5724 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5725 in .stabs to .stabx substitution.
5726
fce3c1f0
SS
57272010-04-05 Stan Shebs <stan@codesourcery.com>
5728
5729 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5730 constant global.
5731 * gdb.trace/tfile.exp: Try to print them.
5732
d77f58be
SS
57332010-04-04 Stan Shebs <stan@codesourcery.com>
5734
5735 * gdb.base/completion.exp: Update for new "info watchpoints".
5736 * gdb.base/default.exp: Ditto.
5737 * gdb.base/help.exp: Ditto.
5738 * gdb.base/watchpoint.exp: Ditto.
5739 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 5740
af54718e
SS
57412010-04-04 Stan Shebs <stan@codesourcery.com>
5742
5743 * gdb.trace/tfile.exp: Sharpen tfind test.
5744
74d1f91e
JK
57452010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5746
5747 * gdb.base/break-entry.exp: New.
5748
eb8e76db 57492010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 5750 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
5751
5752 * gdb.reverse/i386-sse-reverse.exp: New file.
5753 * gdb.reverse/i386-sse-reverse.c: New file.
5754
bf65cad8
PA
57552010-04-02 Pedro Alves <pedro@codesourcery.com>
5756
5757 * gdb.trace/tfind.exp: Adjust expected disassembly output.
5758
fff87407
SS
57592010-04-01 Stan Shebs <stan@codesourcery.com>
5760
5761 * gdb.trace/actions.exp: Tweak expected output.
5762 * gdb.trace/while-stepping.exp: Tweak expected output.
5763
fe01d668
L
57642010-04-01 H.J. Lu <hongjiu.lu@intel.com>
5765
5766 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5767
86b17b60
PA
57682010-04-01 Pedro Alves <pedro@codesourcery.com>
5769
5770 * gdb.base/commands.exp: Adjust.
5771 * gdb.cp/extern-c.exp: Adjust.
5772
2c58c0a9
PA
57732010-04-01 Pedro Alves <pedro@codesourcery.com>
5774
5775 * gdb.trace/collection.c (local_test_func): Define a local struct,
5776 and instanciate it.
5777
0db9b91c
PA
57782010-04-01 Pedro Alves <pedro@codesourcery.com>
5779
5780 * gdb.trace/collection.exp (gdb_collect_args_test)
5781 (gdb_collect_argarray_test): XFAIL the tests that assume the
5782 argarray argument's elements are collected.
5783
8072405b
JK
57842010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5785
5786 * gdb.dwarf2/dw2-bad-parameter-type.exp,
5787 gdb.dwarf2/dw2-bad-parameter-type.S: New.
5788
8bf6485c
SS
57892010-03-31 Stan Shebs <stan@codesourcery.com>
5790
5791 * gdb.trace/save-trace.exp: Test save/restore of default-collect
5792 and tracepoint conditionals.
5793 (gdb_verify_tracepoints): Delete unused return.
5794
fd7f724a
KS
57952010-03-26 Keith Seitz <keiths@redhat.com>
5796
5797 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5798 appear in the output before main.
5799 Remove KFAIL for gdb/2215 aka bz 9320.
5800
8d9e7719
DE
58012010-03-30 Doug Evans <dje@google.com>
5802
0906dd0b
DE
5803 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5804 by dejagnu.
5805 * gdb.arch/amd64-dword.exp: Ditto.
5806
8d9e7719
DE
5807 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5808 match.
5809 (break printf): Ditto.
5810
1da644f0
SW
58112010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
5812
5813 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5814 gcc < 4.4.
5815 * gdb.cp/shadow.exp: Ditto.
5816
a8121990
PA
58172010-03-29 Pedro Alves <pedro@codesourcery.com>
5818
5819 * gdb.trace/collection.exp (run_trace_experiment): Make sure
5820 "tstart" is silent.
5821
6e79d367
PA
58222010-03-29 Pedro Alves <pedro@codesourcery.com>
5823
5824 * gdb.trace/collection.exp (executable): New.
5825 (binfile): Use it.
5826 (fpreg, spreg, pcreg): New.
5827 (test_register): Use gdb_test_multiple. Pass /x to print.
5828 (prepare_for_trace_test): New.
5829 (run_trace_experiment): Use "continue", not gdb_run_cmd.
5830 (gdb_collect_args_test, gdb_collect_argstruct_test)
5831 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5832 prepare_for_trace_test.
5833 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
5834 fpreg, spreg and pcreg.
5835 (gdb_collect_expression_test, gdb_collect_globals_test): Use
5836 prepare_for_trace_test.
5837 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
5838 try to detect tracing support here. Don't set breakpoints at
5839 `begin' or `end' here.
5840 <global scope>: Use clean_restart. Run to main before checking
5841 for tracing support. Check for for tracing support here.
5842
09248348
JK
58432010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5844
5845 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5846 " as $displacement" to "seen displacement message".
5847
d350db38
PA
58482010-03-28 Pedro Alves <pedro@codesourcery.com>
5849
5850 * gdb.trace/while-dyn.exp (executable): New variable.
5851 (binfile): Use it.
5852 (test_while_stepping): New function. Move most tests here. Call
5853 it once for each of the while-stepping, stepping and ws aliases.
5854
907af001
UW
58552010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5856
5857 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5858 that do not provide the tagless_struct type name at all.
5859 (test_print_anon_union): Do not check value of uninitialized
5860 union member. Do not use cp_test_ptype_class, so we can accept
5861 "long" as well as "long int".
5862
610197fd
PA
58632010-03-26 Pedro Alves <pedro@codesourcery.com>
5864
5865 * gdb.trace/tfile.c (tohex, bin2hex): New.
5866 (write_error_trace_file): Hexify error description.
5867
6c28cbf2
SS
58682010-03-25 Stan Shebs <stan@codesourcery.com>
5869
5870 * gdb.trace/tfile.c: Generate an additional trace file, improve
5871 portability.
5872 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5873 files in a better way.
5874
e62b8c7e
KS
58752010-03-25 Keith Seitz <keiths@redhat.com>
5876
5877 * gdb.java/jprint.exp: XFAIL printing of static class members
5878 because of GCC debuginfo problem.
5879
82ccf5a5
JK
58802010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5881
5882 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5883
293e2f9e
DJ
58842010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5885
5886 * gdb.base/completion.exp: Allow long instead of long int.
5887 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5888 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
5889 variable p.
5890 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5891 * gdb.base/pointers.exp: Allow long instead of long int.
5892 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5893 * gdb.base/step-line.exp: Allow a directory before the source file name.
5894
95a42b64
TT
58952010-03-24 Tom Tromey <tromey@redhat.com>
5896
5897 PR breakpoints/9352:
5898 * gdb.base/default.exp: Update.
5899 * gdb.base/commands.exp: Update.
5900 * gdb.cp/extern-c.exp: Test setting commands on multiple
5901 breakpoints at once.
5902
2390201f
DJ
59032010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5904
5905 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5906 if gdb,nosignals.
5907 * gdb.base/watchpoints.c: Do not include unnecessary headers.
5908 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5909 exited".
5910
8c9a6790
SS
59112010-03-24 Stan Shebs <stan@codesourcery.com>
5912
5913 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5914
a6c727b2
DJ
59152010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5916
5917 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5918 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5919 argument. Handle "short" and "long".
5920 (Top level): Pass overprototyped output for old_fptr and xptr.
5921
4dfd5423
PA
59222010-03-23 Pedro Alves <pedro@codesourcery.com>
5923
5924 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5925 format strings and add casts to avoid compiler warnings.
5926
59272010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
5928
5929 * lib/trace-support.exp (gdb_trace_setactions):
5930 Don't expect whitespace after ">" prompt.
5931 * gdb.trace/actions.exp: Adjust for output changes.
5932 * gdb.trace/while-stepping.exp: Likewise.
5933
c847d045
JK
59342010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5935
5936 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5937 and r157645).
5938
5f717f1d
JK
59392010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5940
5941 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5942 New.
5943
7d6d51d5
DJ
59442010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
5945
5946 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5947 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5948
3b11a015
SS
59492010-03-19 Stan Shebs <stan@codesourcery.com>
5950
5951 * gdb.trace/ax.exp: New file.
5952
d7d158ed
DE
59532010-03-19 Doug Evans <dje@google.com>
5954
6bb85cd1
DE
5955 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5956 output from gcc.
5957
d7d158ed
DE
5958 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5959 named /usr/sbin/prelink<foo>.
5960
4daf5ac0
SS
59612010-03-18 Stan Shebs <stan@codesourcery.com>
5962
5963 * gdb.trace/circ.exp: Test circular-trace-buffer.
5964 * gdb.trace/tfile.exp: Update tstatus test.
5965
e8d05480
JB
59662010-03-18 Joel Brobecker <brobecker@adacore.com>
5967
5968 * gdb.dwarf2/dw2-anonymous-func.S: New file.
5969 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5970
441b986a
UW
59712010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5972
5973 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5974
4247603b
PA
59752010-03-18 Pedro Alves <pedro@codesourcery.com>
5976
5977 * gdb.base/default.exp: Adjust the expected output of the finish
5978 and until commands when the inferior is not being run.
5979
13387711
SW
59802010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
5981
5982 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5983 * gdb.cp/nsusing.exp: Ditto.
5984
6e31430b
TT
59852010-03-15 Tom Tromey <tromey@redhat.com>
5986
5987 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5988 * gdb.cp/userdef.cc (operator==): New function.
5989 (main): New locals mem1, mem2.
5990
e2d69cb5
JZ
59912010-03-15 Jie Zhang <jie@codesourcery.com>
5992
5993 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5994 Declare and use new loadtimeout variable.
5995
f572f0a9
DJ
59962010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
5997
5998 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5999 Use gdb_load later.
6000
51f4c0b0
PA
60012010-03-14 Pedro Alves <pedro@codesourcery.com>
6002
6003 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6004 literal. Add missing endlines to prints to stderr.
6005
1c809c68
TT
60062010-03-12 Tom Tromey <tromey@redhat.com>
6007
6008 PR c++/9708:
6009 * gdb.cp/m-static.exp: Add regression test.
6010 * gdb.cp/m-static.cc (method): New method.
6011 (main): Call it.
6012
00ae8fef
SW
60132010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6014
6015 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6016 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6017
759f0f0b
PA
60182010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6019
21e24d21
PA
6020 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6021
60222010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6023
759f0f0b
PA
6024 * lib/gdb.exp (skip_stl_tests): New.
6025 (gdb_compile): Symbian needs -ldl.
6026 (shlib_target_file): New.
6027 (shlib_symbol_file): New.
6028 (gdb_load_shlibs): Use shlib_target_file.
6029 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6030 * gdb.cp/exception.exp: Use skip_stl_tests.
6031 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6032 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6033 * gdb.cp/mb-templates.exp: Ditto.
6034 * gdb.base/commands.exp: Relax regexes.
6035 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6036 shlib_target_file and shlib_symbol_file.
6037 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6038 sections.
6039 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6040 * gdb.base/solib-disc.exp: Use
6041 shlib_target_file and shlib_symbol_file.
6042 * gdb.base/unload.exp: Don't skip on symbian. Use
6043 shlib_target_file and shlib_symbol_file.
6044 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6045
6a8f2671 60462010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6047
6a8f2671
PA
6048 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6049 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6050 Issue a tfind end before looking for a tracepoint frame.
6051 * gdb.trace/tfind.exp: Adjust tstatus output.
6052 Adjust disassembly output.
6053 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6054
ccf26247
JK
60552010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6056
6057 * gdb.base/break-interp.exp: Create new displacement parameter value
6058 for the test_ld calls.
6059 (reach): New parameter displacement, verify its content. New push of
6060 pf_prefix "reach-$func:". Import global expect_out.
6061 (test_core): New parameter displacement, verify its content. New push
6062 of pf_prefix "core:". New command "set verbose on". Import global
6063 expect_out.
6064 (test_attach): New parameter displacement, verify its content. New
6065 push of pf_prefix "attach:". New command "set verbose on". Import
6066 global expect_out.
6067 (test_ld): New parameter displacement, pass it to the reach, test_core
6068 and test_attach calls and verify its content in the "ld.so exit" test.
6069 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6070 (prelink): Update expected text, use gdb_test.
6071
e469c7fb
DE
60722010-03-10 Doug Evans <dje@google.com>
6073
6074 * gdb.base/checkpoint.exp: Fix comment.
6075 Lengthen timeout while doing >600 checkpoints test.
6076 Rename duplicate "kill all one" test to keep test names unique.
6077
60e1c644
PA
60782010-03-10 Pedro Alves <pedro@codesourcery.com>
6079
6080 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6081
cec808ec
KS
60822010-03-08 Keith Seitz <keiths@redhat.com>
6083
889bf7c5
PA
6084 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6085 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6086 (dm_type_long): New function.
6087 (dm_type_unsigned_short): New function.
6088 (dm_type_unsigned_long): New function.
6089 (myint): New typedef.
6090 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6091 long, unsigned shor and long, operator char*, and typedef.
6092 (test_lookup_operator_functions): Add operator char* test.
6093 (test_paddr_operator_functions): Likewise.
6094 (test_paddr_overloaded_functions): Use probe values for
6095 short, long, and unsigned short and long.
6096 (test_paddr_hairy_functions): If the demangler probe detected
6097 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6098 demangler.
6099 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6100 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6101 and "print null_pmf".
6102 Add test "ptype a.*pmf".
6103 * gdb.cp/overload.exp: Allow optional "int" to appear with
6104 "short" and "long".
6105 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6106 long expect value for men_overload1arg.
6107 Allow "int" to appear with "short" and "long".
6108 When testing "info break", add argument for main (void).
6109 Also allow "int" to appear with "short" and "long".
6110 Ditto with "unsigned" and "long long".
cec808ec
KS
6111 * gdb.java/jmain.exp: Do not enclose methods names in single
6112 quotes.
6113 * gdb.java/jmisc.exp: Likewise.
6114 * gdb.java/jprint.exp: Likewise.
6115 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6116
6117 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6118 * gdb.cp/exception.exp (backtrace after first throw)
6119 (backtrace after second throw): Allow a namespace before __cxa_throw.
6120 (backtrace after first catch, backtrace after second catch): Allow
6121 a namespace before __cxa_begin_catch.
6122
6123 * gdb.cp/cpexprs.exp: New file.
6124 * gdb.cp/cpexprs.cc: New file.
6125
6126 From Daniel Jacobowitz <dan@codesourcery.com>
6127 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6128 to use string_to_regexp.
6129 (ctor, dtor): New functions. Use them to match constructor
6130 and destructor function types.
6131 (Top level): Use runto_main.
6132
f870a310
TT
61332010-03-05 Tom Tromey <tromey@redhat.com>
6134
6135 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6136 gdb.target_charset.
6137 (pp_ns.to_string): Likewise.
6138
0c199f28
KS
61392010-03-04 Keith Seitz <keiths@redhat.com>
6140
6141 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6142 can be quoted. Test that both the filename and function/line
6143 portions can be quoted at the same time.
6144
c7437ca6
PA
61452010-03-04 Pedro Alves <pedro@codesourcery.com>
6146
6147 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6148
b111b805
DE
61492010-03-03 Doug Evans <dje@google.com>
6150
24486cb7
DE
6151 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6152 libc contains libpthread.
6153
b111b805
DE
6154 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6155 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6156 of gdb_compile. Add another pattern to match android backtrace.
6157
a0e0ef55
TT
61582010-03-03 Tom Tromey <tromey@redhat.com>
6159
6160 PR gdb/11345:
6161 * gdb.base/printcmds.exp (test_printf): Add test.
6162
1ba53b71
L
61632010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6164
6165 * gdb.arch/amd64-byte.exp: New.
6166 * gdb.arch/amd64-dword.exp: Likewise.
6167 * gdb.arch/amd64-pseudo.c: Likewise.
6168 * gdb.arch/amd64-word.exp: Likewise.
6169 * gdb.arch/i386-byte.exp: Likewise.
6170 * gdb.arch/i386-pseudo.c: Likewise.
6171 * gdb.arch/i386-word.exp: Likewise.
6172
f5dff777
DJ
61732010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6174
6175 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6176 types. Add structreg, bitfields, and flags registers.
6177 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6178 registers.
6179
90884b2b
L
61802010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6181
6182 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6183 (load_description): Set architecture if defined.
6184
dc00d89f
PM
61852010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6186
6187 * gdb.python/py-frame.exp: Add read_var block tests.
6188 * gdb.python/py-frame.c (block): New function.
6189
0e095b7e
JK
61902010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6191 Daniel Jacobowitz <dan@codesourcery.com>
6192
6193 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6194
624f1a65
DM
61952010-02-25 David S. Miller <davem@davemloft.net>
6196
6197 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6198 fix logic for setting all_syscalls_numbers.
6199
f3e9a817
PM
62002010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6201
6202 * Makefile.in: Add py-block and py-symbol.
6203 * gdb.python/py-symbol.exp: New File.
6204 * gdb.python/py-symtab.exp: New File.
6205 * gdb.python/py-block.exp: New File.
6206 * gdb.python/py-symbol.c: New File.
6207 * gdb.python/py-block.c: New File.
6208
f6bbabf0
PM
62092010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6210
6211 PR python/11314
6212 * lib/gdb.exp (skip_python_tests): New function.
6213 * gdb.python/py-cmd.exp: Use skip_python_tests.
6214 * gdb.python/py-frame.exp: Likewise.
6215 * gdb.python/py-function.exp: Likewise.
6216 * gdb.python/py-prettyprint.exp: Likewise.
6217 * gdb.python/py-template.exp: Likewise.
6218 * gdb.python/py-type.exp: Likewise.
6219 * gdb.python/py-value.exp: Likewise.
6220
85d721b8
PA
62212010-02-22 Pedro Alves <pedro@codesourcery.com>
6222
6223 PR9605
6224
6225 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6226
48e32051
TT
62272010-02-19 Tom Tromey <tromey@redhat.com>
6228
6229 PR c++/8693, PR c++/9496:
6230 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6231 regression tests.
6232
ac9c0048
JK
62332010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6234
6235 Fix compatibility with m68k as.
6236 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6237 Use only /* comments */.
6238
57bb97a4
UW
62392010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6240
6241 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6242 * configure: Regenerate.
6243
7d1bf85c
DJ
62442010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6245
6246 * gdb.python/py-type.exp: Check for Python support.
6247
061b5285
PA
62482010-02-17 Pedro Alves <pedro@codesourcery.com>
6249
6250 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6251 `regsub' syntax available.
6252
f8a8bc2c
PA
62532010-02-17 Pedro Alves <pedro@codesourcery.com>
6254
6255 * gdb.base/shmain.c (main): Remove printf call.
6256 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6257 * gdb.base/unload.c (main): Make format of fprintf a string
6258 literal. Add missing endlines to prints to stderr.
6259 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6260
6f451e5e
TT
62612010-02-17 Tom Tromey <tromey@redhat.com>
6262
6263 * gdb.java/jprint.java (jprint.props): New field.
6264 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6265
12d79008
PA
62662010-02-17 Pedro Alves <pedro@codesourcery.com>
6267
ef801a0e 6268 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6269 available.
6270
d252f7e5
DJ
62712010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6272
6273 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6274 creation to support remote host testing.
6275
67bdab6c
DJ
62762010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6277
6278 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6279 Recognize "command not found".
6280
bb391223
DJ
62812010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6282
6283 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6284 single-stepping.
6285
70362913
DJ
62862010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6287
6288 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6289 if arguments are not supported.
6290
493f3c00
DJ
62912010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6292
6293 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6294 be const or non-const.
6295
8034c749
DJ
62962010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6297
6298 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6299 mi_send_resuming_command to send -exec-continue.
6300
791dfb64
DJ
63012010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6302
6303 * gdb.base/list.exp (test_list_filename_and_function): Add test
6304 with single quotes.
6305 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6306 matching.
6307 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6308 Add KFAIL'd tests for PR gdb/11289.
6309
7c5fe868
DJ
63102010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6311
6312 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6313
fdc498b8
DJ
63142010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6315
6316 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6317 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6318 a temporary directory.
6319
b519e2a6
DJ
63202010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6321
6322 * gdb.base/charset.exp: Use a single regular expression to match
6323 show host-charset and show target-charset output.
6324
74164c56
JK
63252010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6326
6327 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6328 "Illegal process-id" expect string more exact.
6329 (attach to digits-starting nonsense is prohibited): New.
6330
701ed6dc
JK
63312010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6332
6333 * gdb.base/prelink.exp (set verbose on): New.
6334
889bf7c5 63352010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
6336
6337 * mi-reverse.exp: New file. Test for reverse option to the
6338 following MI commands: exec-continue, exec-finish, exec-next,
6339 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 6340
dadf0e9c
JB
63412010-02-09 Joel Brobecker <brobecker@adacore.com>
6342
6343 * gdb.ada/ptype_tagged_param: New testcase.
6344
714f19d5
TT
63452010-02-08 Tom Tromey <tromey@redhat.com>
6346
6347 PR c++/8017:
6348 * gdb.cp/overload.exp: Add tests.
6349 * gdb.cp/overload.cc (struct K): New.
6350 (namespace N): New.
6351 (main): Call new functions.
6352 (K::staticoverload): Define.
6353
889bf7c5 63542010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
6355
6356 PR gdb/10728
6357 * gdb.cp/pr10728-x.h: New file.
6358 * gdb.cp/pr10728-x.cc: New file.
6359 * gdb.cp/pr10728-y.cc: New file.
6360 * gdb.cp/pr10728.exp: New file.
6361 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6362
889bf7c5 63632010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
6364
6365 PR gdb/9067
6366 * gdb.cp/pr9067.exp: New
6367 * gdb.cp/pr9067.cc: New
6368 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6369
7b356089
JB
63702010-02-08 Joel Brobecker <brobecker@adacore.com>
6371
6372 * lib/gdb.exp (gdb_test_timeout): New global variable.
6373 Set it to timeout if not already set.
6374 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6375
1be00882
DE
63762010-02-05 Doug Evans <dje@google.com>
6377
6378 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6379 user.
6380
82856980
SW
63812010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6382
6383 PR c++/7935:
6384 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6385
1a334831
TT
63862010-02-04 Tom Tromey <tromey@redhat.com>
6387
6388 * gdb.cp/virtbase.exp: Make test case names unique.
6389
9c3c02fd
TT
63902010-02-02 Tom Tromey <tromey@redhat.com>
6391
6392 * gdb.cp/virtbase.exp: Add regression tests.
6393 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6394 (main): Instantiate RHC.
6395
0cc2414c
TT
63962010-02-02 Tom Tromey <tromey@redhat.com>
6397
6398 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6399 type-printing change.
6400
edf3d5f3
TT
64012010-02-02 Tom Tromey <tromey@redhat.com>
6402
6403 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6404 * gdb.cp/virtbase.cc: New file.
6405 * gdb.cp/virtbase.exp: New file.
6406 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6407
e4b7f41c
JK
64082010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6409
6410 PR libc/11214:
6411 * gdb.threads/current-lwp-dead.c: Include features.h.
6412 (HAS_NOMMU): New.
6413 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6414
b381ea14
JK
64152010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6416
6417 * gdb.base/symbol-without-target_section.exp,
6418 gdb.base/symbol-without-target_section.c: New.
6419
c593ac0e
DJ
64202010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6421
6422 * gdb.base/bigcore.exp: Reset increased timeout.
6423 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6424
db25f29d
DJ
64252010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6426
6427 * gdb.base/gcore.exp (capture_command_output): Use
6428 gdb_test_multiple.
6429
f9d67f43
DJ
64302010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6431
6432 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6433 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6434 (Top level): Call it.
6435
177321bd
DJ
64362010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6437
6438 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6439
97f2ed50
DJ
64402010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6441
6442 * gdb.base/call-strs.exp, gdb.base/default.exp,
6443 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6444 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6445 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6446 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6447 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6448 * gdb.base/ending-run.exp: Correct restore of timeout.
6449 * gdb.base/page.exp: Remove unnecessary timeout setting.
6450
e4e2711a
JB
64512010-01-29 Joel Brobecker <brobecker@adacore.com>
6452
6453 * gdb.ada/rec_return: New testcase.
6454
ba581dc1
JB
64552010-01-29 Joel Brobecker <brobecker@adacore.com>
6456
6457 * gdb.ada/call_pn: New testcase.
6458
4ea95be9
DJ
64592010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6460
6461 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6462 (Top level): Use it to resume.
6463 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6464 the Thumb mode displaced stepping error as unsupported.
6465
df83a9bf
SW
64662010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
6467
889bf7c5
PA
6468 * gdb.cp/nsusing.exp: Added more tests.
6469 * gdb.cp/nsrecurs.exp: Ditto.
6470 * gdb.cp/nsusing.cc: Added test functions.
6471 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 6472
40b27cdc
JK
64732010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6474
6475 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6476 absolute directory pathnames in gdb.sum file.
6477
de958931
SW
64782010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
6479
6480 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6481 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6482
708ead4e
TT
64832010-01-26 Tom Tromey <tromey@redhat.com>
6484
6485 PR exp/7643:
6486 * gdb.base/printcmds.exp (test_print_string_constants): Remove
6487 setup_kfail.
6488
b14e635e
SW
64892010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
6490
6491 * gdb.cp/nsrecurs.exp: New test.
6492 * gdb.cp/nsrecurs.cc: New test program.
6493 * gdb.cp/nsstress.exp: New test.
6494 * gdb.cp/nsstress.cc: New test program.
6495 * gdb.cp/nsdecl.exp: New test.
6496 * gdb.cp/nsdecl.cc: New test program.
6497
8540c487
SW
64982010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
6499
6500 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6501 imported into file scope.
6502 Marked test as xfail.
6503 * gdb.cp/namespace-using.cc (marker5): New function.
6504 * gdb.cp/shadow.exp: New test.
6505 * gdb.cp/shadow.cc: New test program.
6506 * gdb.cp/nsimport.exp: New test.
6507 * gdb.cp/nsimport.cc: New test program.
6508
421d5d99
TT
65092010-01-25 Tom Tromey <tromey@redhat.com>
6510
6511 PR gdb/11049:
6512 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6513 with "set print null-stop on".
6514
691f8dc1
JK
65152010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6516
6517 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6518 Adjust it for DISASSEMBLY_OMIT_FNAME.
6519
0b92b5bb
TT
65202010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6521
6522 PR symtab/11199:
6523 * gdb.dwarf2/member-ptr-forwardref.exp,
6524 gdb.dwarf2/member-ptr-forwardref.S: New.
6525
23787403
JK
65262010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6527
6528 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6529 (thread1_func): Protect thread1_tid with thread1_tid_cond by
6530 thread1_tid_mutex. Remove gdbstop_mutex handling.
6531 (thread2_func): Protect thread2_tid with thread2_tid_cond by
6532 thread2_tid_mutex. Remove gdbstop_mutex handling.
6533 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6534 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
6535 pthread_cond_wait conditionalizations by while loops.
6536
b966cb8a
TT
65372010-01-20 Tom Tromey <tromey@redhat.com>
6538
6539 PR backtrace/10770:
6540 * gdb.dwarf2/pr10770.exp: New file.
6541 * gdb.dwarf2/pr10770.c: New file.
6542 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6543
fcae584b
VP
65442010-01-20 Vladimir Prus <vladimir@codesourcery.com>
6545
6546 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6547 that target was removed, and the test always runs native anyway.
6548
a0f49112
JK
65492010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6550
6551 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6552 gdb.base/watchpoint-cond-gone-stripped.c: New.
6553
ceeb3d5a
TT
65542010-01-19 Tom Tromey <tromey@redhat.com>
6555
6556 PR c++/8000:
6557 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
6558 existing tests.
6559 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6560 (main): Use AAA::SomeEnum.
6561
dd322c54
JK
65622010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6563
6564 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6565 (test_ignore_count): Declare line_callme_body global.
6566 (run to breakpoint with ignore count): Use line_callme_body.
6567 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6568 (set line_main_hello, set line_main_return): Reindent.
6569 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6570 New.
6571 (continue to callee4): Use line_callee4_body.
6572 (check *stopped from CLI command): Use line_callee4_next.
6573 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6574 (set line_main_hello, set line_main_return): Reindent.
6575 (set line_callee4_head, set line_callee4_body): New.
6576 (continue to callee4): Use line_callee4_body.
6577
4e8f195d
TT
65782010-01-18 Tom Tromey <tromey@redhat.com>
6579
6580 PR c++/9680:
6581 * gdb.cp/casts.cc: Add new classes and variables.
6582 * gdb.cp/casts.exp: Test new operators.
6583
9e14a9ba
JB
65842010-01-18 Tom Tromey <tromey@redhat.com>
6585 Thiago Jung Bauermann <bauerman@br.ibm.com>
6586
6587 * gdb.python/source2.py: New file.
6588 * gdb.python/source1: New file.
6589 * gdb.python/python.exp: Test "source" command.
6590
00bf0b85
SS
65912010-01-15 Stan Shebs <stan@codesourcery.com>
6592
6593 * gdb.trace/tfile.c: New file.
6594 * gdb.trace/tfile.exp: New file.
889bf7c5 6595
55235ad7
JK
65962010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6597
6598 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6599
9f2982ff
JK
66002010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6601
6602 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6603
bbfba9ed
JK
66042010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6605
6606 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6607 (libfunc): New parameter action. Implement also selectable "sleep".
6608 * gdb.base/break-interp-main.c: Include assert.h.
6609 (libfunc): New parameter action.
6610 (main): New parameters argc and argv. Assert argc. Pass argv.
6611 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6612 (test_attach): New proc.
6613 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
6614 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
6615
61f0d762
JK
66162010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6617
6618 * gdb.base/break-interp.exp (test_core): New proc.
6619 (test_ld): Call it.
6620
06a6f270
JK
66212010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6622
6623 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6624 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
6625 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
6626 and gdb_compile_shlib. Use new -Wl compiler options.
6627 (dl bt, main bt): New tests.
6628
51bee8e9
JK
66292010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6630
6631 Support PIEs with no symfile_objfile.
6632 * gdb.base/break-interp.exp: New argument at the test_ld calls.
6633 (test_ld): New parameter trynosym.
6634 (test_ld <$trynosym>): New block.
6635
b8040f19
JK
66362010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6637
6638 * gdb.base/break-interp.exp: New file.
6639
be759fcf
PM
66402010-01-13 Phil Muldoon <pmuldoon@redhat.com>
6641
6642 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6643 * gdb.python/py-prettyprint.py (pp_ls): New printer.
6644 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6645 test.
6646 * gdb.python/py-prettyprint.c: Define lazystring test structure.
6647 * gdb.python/py-mi.exp: Add lazy string test.
6648
dc146f7c
VP
66492010-01-13 Vladimir Prus <vladimir@codesourcery.com>
6650
6651 * lib/mi-support.exp (mi_check_thread_states): Handle
6652 core number in thread listing.
6653
b4ba55a1
JB
66542010-01-12 Joel Brobecker <brobecker@adacore.com>
6655
6656 * gdb.base/maint.exp: Adjust the expected output for the
6657 "maint print type" test. Use gdb_test_multiple instead of
6658 gdb_sent/gdb_expect.
6659
08e24bd4
DE
66602010-01-11 Doug Evans <dje@google.com>
6661
6496a609
DE
6662 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6663 from gdbserver_download. All callers updated.
6664
08e24bd4
DE
6665 * gdb.server/ext-run.exp: "info os processes" requires xml support.
6666
b5cfddf5
JK
66672010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6668
6669 Implement binary numbers parsing.
6670 * gdb.base/printcmds.exp (test_integer_literals_accepted)
6671 (test_integer_literals_rejected): New binary tests.
6672
3725885a
RW
66732010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6674
6675 * gdb.cell/configure: Regenerate.
6676
37aeb5df
JK
66772010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6678
6679 * gdb.base/corefile.exp: Move the core finding block out and call it as
6680 core_find, new variable $corefile, replace corefile by $corefile and
6681 [file tail $corefile] for usage vs. test names resp.
6682 * lib/gdb.exp (core_find): Move it as a new function here. New
6683 parameter binfile and deletefiles. New variable $destcore. Pre-delete
6684 $destcore. Return "" on error.
6685
d521f563
JK
66862010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6687
6688 Workaround PR binutils/10802.
6689 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6690 (twice).
6691
28f24826
DJ
66922010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6693
6694 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6695
2de75e71
JB
66962010-01-08 Joel Brobecker <brobecker@adacore.com>
6697
6698 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6699 call, to avoid interruption.
6700
fe00719b 67012010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
6702
6703 * gdb.stabs/weird.def (args93): New.
6704
d0ef5df8
DE
67052010-01-07 Doug Evans <dje@google.com>
6706
6707 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6708
3a08d52f
TT
67092010-01-07 Tom Tromey <tromey@redhat.com>
6710
6711 * gdb.base/source.exp: Use correct line number.
6712
7a697b8d
SS
67132010-01-05 Stan Shebs <stan@codesourcery.com>
6714
6715 * gdb.trace/tracecmd.exp: Test ftrace.
6716
7803799a
UW
67172010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6718
6719 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6720
c54eabfa
JK
67212010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6722
6723 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6724 "uint_for_mi_testing".
6725
02e7ef19
JB
67262010-01-01 Joel Brobecker <brobecker@adacore.com>
6727
6728 Test indented comment in file being sourced.
6729 * gdb.base/commands.exp: Test indented comment in file being sourced.
6730
abd775ce
JB
67312010-01-01 Joel Brobecker <brobecker@adacore.com>
6732
6733 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6734 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6735 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6736 notice.
6737
79b55b82
JB
67382010-01-01 Joel Brobecker <brobecker@adacore.com>
6739
6740 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6741 notice.
6742
8997583e
JK
67432010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6744
6745 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6746 missing $after_stopped and comma (,) expectation.
6747
6da95a67
SS
67482009-12-31 Stan Shebs <stan@codesourcery.com>
6749
6750 * gdb.trace/actions.exp: Test teval action.
889bf7c5 6751
218d2fc6
TJB
67522009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6753
6754 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6755 (top level): Call test_watchpoint_in_big_blob.
6756 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6757 watchpoints.
6758 (func3): Write to buf.
6759
236f1d4d
SS
67602009-12-29 Stan Shebs <stan@codesourcery.com>
6761
6762 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 6763
f61e138d
SS
67642009-12-28 Stan Shebs <stan@codesourcery.com>
6765
6766 * gdb.trace/tsv.exp: New file.
6767 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 6768
0219b378
DJ
67692009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
6770
6771 * gdb.base/find.c (main): Reference search buffers.
6772 * gdb.base/included.c (main): Reference integer.
6773 * gdb.base/ptype.c (charfoo): Declare.
6774 (intfoo): Call charfoo.
6775 * gdb.base/scope0.c (useitp): New function.
6776 (usestatics): Use useitp.
6777 (useit): Add a type for val.
6778 * gdb.base/scope1.c (useit1): Take a pointer argument.
6779 (usestatics1): Update calls to useit1.
6780 * gdb.cp/call-c.cc: Declare foo.
6781 (main): Call foo.
6782 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6783 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6784 (main): Call C::ensureRefs and ensureOtherRefs.
6785 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6786 variables.
6787 (ensureOtherRefs): New function.
6788 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6789 * gdb.cp/templates.cc (main): Call t5i.value.
6790
3f78692f
JK
67912009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6792
6793 Fix compatibility with G++-4.5.
6794 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6795 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6796 (uncaught return): Remove.
6797
429374b8
JK
67982009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6799 Phil Muldoon <pmuldoon@redhat.com>
6800
6801 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6802 (bp_location13, bp_location14, bp_location17, bp_location18)
6803 (marker3_proto, marker4_proto): New variables.
6804 (breakpoint info): Update output.
6805 (run until breakpoint at marker3, run until breakpoint at marker4): New
6806 tests.
6807
859825b8
JK
68082009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6809
6810 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6811 Replace the printf call of Y by provided "y-set-1" label. New block
6812 for the second shared library.
6813 * gdb.base/unload.exp: Compile also the second library, call
6814 gdb_load_shlibs also for it. Use now gdb_breakpoint.
6815 (single pending breakpoint info): Rename to ...
6816 (pending breakpoint info before run): ... this extended test.
6817 (libfile2, libname2, libsrcfile2, libsrc2)
6818 (lib_sl2): New variables.
6819 (exec_opts): Set also SHLIB_NAME2.
6820 (pending breakpoint info on first run at shrfunc1)
6821 (pending breakpoint info on second run at shrfunc1)
6822 (pending breakpoint info on second run at shrfunc2)
6823 (print y from libfile, print y from libfile2): New tests.
6824 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6825 * gdb.base/unloadshr2.c: New.
6826
e6a386cd
HZ
68272009-12-22 Hui Zhu <teawater@gmail.com>
6828
6829 * gdb.reverse/sigall-reverse.exp: Adjust.
6830
9e19b45e
VP
68312009-12-21 Vladimir Prus <vladimir@codesourcery.com>
6832
6833 PR gdb/10884
6834
6835 * gdb.mi/var-cmd.c (do_bitfield_tests): New
6836 (main): Call do_bitfield_tests.
aacf5b1e 6837 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 6838
d53a7b30
JB
68392009-12-20 Joel Brobecker <brobecker@adacore.com>
6840
6841 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6842 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6843 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6844 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6845 gdb.modula2/unbounded1.c: Update copyright header.
6846
191ca0a1
CM
68472009-12-10 Chris Moller <moller@mollerware.com>
6848
6849 PR gdb/9399
6850 * gdb.cp/virtfunc2.exp: New tests
6851 * gdb.cp/virtfunc2.cc: New tests
6852 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6853
0fa6cf1b
MS
68542009-12-10 Oza Pawandeep (paawan1982@yahoo.com
6855
6856 * gdb.reverse/i387-env-reverse.c: New file.
6857 * gdb.reverse/i387-env-reverse.exp: New file.
6858 * gdb.reverse/i387-stack-reverse.c: New file.
6859 * gdb.reverse/i387-stack-reverse.exp: New file.
6860
361ae042
PM
68612009-12-08 Phil Muldoon <pmuldoon@redhat.com>
6862
6863 * gdb.python/py-type.exp (test_range): New test.
6864
bfd31e71
PM
68652009-12-03 Phil Muldoon <pmuldoon@redhat.com>
6866
6867 PR python/10805
6868
6869 * gdb.python/py-type.exp: New file.
6870 * gdb.python/py-type.c: New file.
6871 * Makefile.in: Add py-type.
6872
57a1d736
TT
68732009-12-03 Tom Tromey <tromey@redhat.com>
6874
6875 * gdb.python/py-value.exp (test_parse_and_eval): New
6876 function.
6877
1f3b5d1b
PP
68782009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6879
6880 PR gdb/11022
6881
6882 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
6883 * gdb.base/pr11022.c: New test.
6884
8b7dbdc9
JK
68852009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6886
6887 Fix spurious false FAILs.
6888 * gdb.base/structs.c (chartest): New.
6889 (main): Fill-in chartest.
6890 * gdb.base/structs.exp (anychar_re, first): New.
6891 (start_structs_test): Import global anychar_re and first.
6892 New gdb_test call "set print elements 300; ${testfile}"
6893 (start_structs_test <$first>): New block.
6894 (any): Import global anychar_re. New variable ac. Use ${ac}.
6895
6a53b2ec
JK
68962009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6897
6898 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6899
d7167b4c
JK
69002009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6901
6902 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6903 Force $srcfile file.
6904 * gdb.base/foll-fork.c (callee): Comment out the printf call.
6905
b1798462
UW
69062009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6907
6908 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6909 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6910 * gdb.threads/watchthreads-reorder.exp: Likewise.
6911
b6199126
DJ
69122009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
6913
6914 PR gdb/8704
6915
6916 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6917 "if", and "thread". Correct matching in the previous test.
6918
b22a0510
DJ
69192009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
6920
6921 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6922
930636d2
MS
69232009-11-23 Michael Snyder <msnyder@vmware.com>
6924
6925 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6926 * gdb.reverse-watch-precsave.exp: Ditto.
6927
21a0512e
PP
69282009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
6929
6930 * gdb.asm/asm-source.exp: Adjust.
6931 * gdb.base/help.exp: Adjust.
889bf7c5 6932
fc30d5e0
PA
69332009-11-22 Pedro Alves <pedro@codesourcery.com>
6934
6935 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6936 (do_syscall_tests_without_xml): Set data-directory to
6937 /the/path/to/nowhere.
6938
f6bc2008
PA
69392009-11-21 Pedro Alves <pedro@codesourcery.com>
6940
6941 * gdb.threads/local-watch-wrong-thread.c,
6942 gdb.threads/local-watch-wrong-thread.exp: New files.
6943
8c2fb5de
PA
69442009-11-21 Pedro Alves <pedro@codesourcery.com>
6945
6946 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6947 assume new `regsub' syntax available.
6948
ebec9a0f
PA
69492009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6950
a79d3c27
JK
6951 * gdb.base/watchpoint-hw-hit-once.exp,
6952 gdb.base/watchpoint-hw-hit-once.c: New.
6953
69542009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6955
6956 * gdb.threads/watchthreads-reorder.exp,
6957 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 6958
276a961b
MK
69592009-11-17 Nathan Sidwell <nathan@codesourcery.com>
6960
6961 * gdb.xml/tdesc-regs.exp: Use for m68k.
6962
4867c1fb
PA
69632009-11-15 Pedro Alves <pedro@codesourcery.com>
6964
6965 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6966
f6838f81
DJ
69672009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6968
6969 * lib/gdb.exp (current_target_name): New procedure.
6970 (gdb_wrapper_target): New variable.
6971 (gdb_wrapper_init): Set gdb_wrapper_target.
6972 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6973 wrapper.
6974
4ac4dd3f
DJ
69752009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6976
6977 * gdb.base/remote.exp: Delete the slowest load test.
6978 Do not load with fixed packet sizes.
6979
a7881759
DJ
69802009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6981
6982 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6983
97a5b505
DJ
69842009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6985
6986 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
6987 srcfile when setting a breakpoint.
6988
d3e1fc54
DJ
69892009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
6990
6991 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6992 macros.
6993
7cbcbded
DJ
69942009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6995
6996 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6997 to be in memory.
6998 * gdb.base/display.c (force_mem): New.
6999 (do_loops): Use it. Add breakpoint comments.
7000 (do_vars): Add a breakpoint comment.
7001 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7002 line numbers.
7003
bdea3a92
NF
70042009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7005
7006 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7007 instead of a bare "run".
7008
269f82e5
PP
70092009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7010
7011 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7012
a69b7d9d
DJ
70132009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7014
7015 * lib/cell.exp (skip_cell_tests): Clean up test files before
7016 returning.
7017
b598bfda
DJ
70182009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7019
7020 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7021 and the breakpoint menu. Do not call perror if a prompt is seen.
7022 Consume the following GDB prompt.
7023 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7024 * gdb.cp/namespace.exp: Use gdb_test.
7025 * gdb.cp/templates.exp: Use gdb_test.
7026 (test_template_breakpoints): Use gdb_test_multiple.
7027
87728fa0
DJ
70282009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7029
7030 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7031 (marker4): Reference values.
7032
b67c692f
DJ
70332009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7034
7035 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7036 is missing.
7037
f0df251a
DJ
70382009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7039
7040 * gdb.base/break.c (need_malloc): New.
7041 * gdb.base/constvars.c (main): Reference crass and crisp.
7042 * gdb.base/gdb1821.c (main): Reference bar.
7043 * gdb.cp/gdb1355.cc (main): Reference s1.
7044 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7045 (main): Call them.
7046 * gdb.cp/hang2.cc (dummy2): Define.
7047 * gdb.cp/hang3.cc (dummy3): Define.
7048 * gdb.cp/m-data.cc (main): Reference shadow.
7049
bdf7534a
NF
70502009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7051 Nathan Froyd <froydnj@codesourcery.com>
7052
7053 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7054 remote host.
7055
f24fce77
NF
70562009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7057
7058 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7059 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7060 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7061 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7062 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7063 * gdb.dwarf2/dw2-producer.exp: Likewise.
7064 * gdb.dwarf2/mac-fileno.exp: Likewise.
7065 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7066 py-prettyprint.py to the remote host.
7067 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7068
40f0318e
KS
70692009-11-11 Keith Seitz <keiths@redhat.com>
7070
7071 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7072 use it instead of "Foo".
7073 * gdb.cp/classes.exp (do_tests): Add a test to access
7074 a method through a typedef'd class name.
7075
f3d9f7fb
NF
70762009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7077
7078 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7079 exponents.
7080 * gdb.base/pointers.exp: Likewise.
7081 * gdb.cp/ref-types.exp: Likewise.
7082
a4216f37
KS
70832009-11-11 Keith Seitz <keiths@redhat.com>
7084
7085 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7086 new[] and delete[].
7087 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7088 "void".
7089 (probe_demangler): Remove all single-quoting of
7090 method and variable names.
7091 (info_func_regexp): Remove the word "void" from any
7092 occurrence of "(void)".
7093 (print_addr_2): Remove all single-quoting of
7094 method names.
7095 (print_addr_2_kfail): Likewise.
7096 (print_addr): Single-quote C function names before
7097 passing to print_addr_2.
7098 (test_paddr_operator_functions): Remove single-quoting
7099 for method names.
7100 Add tests for operator new[] and operator delete[].
7101
9b14d7aa
JK
71022009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7103
7104 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7105
85feb311
KS
71062009-11-09 Keith Seitz <keiths@redhat.com>
7107
7108 * gdb.cp/overload.exp: Add tests for resolving overloaded
7109 methods in expression parsing/evaluation.
7110
fa335448
DJ
71112009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7112
7113 * lib/gdb.exp (default_gdb_version): Use --version instead of
7114 --command.
7115
ec3c07fc
NS
71162009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7117
7118 * lib/gdb.exp (gdb_compile_test): New.
7119 (skip_ada_tests, skip_java_tests): New.
7120 (gdb_compile): Use gdb_compile_test for f77.
7121 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7122 * lib/java.exp (compile_java_from_source): Remove runtests check,
7123 use gdb_compile_test to record result.
7124 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7125 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7126 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7127 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7128 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7129 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7130 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7131 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7132 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7133 adjust gdb_compile invocations.
7134
b8b4e42b
JK
71352009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7136
7137 * Makefile.in (abs_builddir): New.
7138 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7139 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7140 `$(abs_builddir)/site.exp'.
7141
f8b7eaf3
DJ
71422009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7143
7144 * config/m68k-emc.exp, lib/emc-support.exp,
7145 gdb.trace/gdb_c_test.c: Delete.
7146 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7147 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7148 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7149 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7150 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7151 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7152 casing for m68k-*-elf.
7153
c4187697
NS
71542009-11-03 Pedro Alves <pedro@codesourcery.com>
7155
7156 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7157 * gdb.arch/i386-prologue.exp: Likewise.
7158 * gdb.arch/i386-unwind.exp: Likewise.
7159
db16b772
DJ
71602009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7161
7162 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7163
bcf71277
DJ
71642009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7165
7166 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7167
0105cee2
DJ
71682009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7169
7170 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7171
24ddea62
JK
71722009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7173
7174 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7175
287ccc17
JK
71762009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7177
7178 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7179 * gdb.base/sepdebug2.c: New file.
7180
08bca259 71812009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7182
7183 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7184 the modified warnings for catch syscall. Verify if GDB was compiled
7185 with support for lib expat, and choose which tests to run depending
7186 on this.
7187
5d4e2b76
VP
71882009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7189
7190 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7191 that composite commands are parsed OK. And also test
7192 that breakpoint commands do work.
7193
240e538a
MS
71942009-10-23 Michael Snyder <msnyder@vmware.com>
7195
7196 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7197 to allow for new disassembly style.
7198
9c419145
PP
71992009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7200
7201 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7202
02506ff1
MS
72032009-10-22 Michael Snyder <msnyder@vmware.com>
7204
7205 * gdb.reverse/break-precsave.exp: New test.
7206 * gdb.reverse/consecutive-precsave.exp: Ditto.
7207 * gdb.reverse/finish-precsave.exp: Ditto.
7208 * gdb.reverse/i386-precsave.exp: Ditto.
7209 * gdb.reverse/machinestate-precsave.exp: Ditto.
7210 * gdb.reverse/sigall-precsave.exp: Ditto.
7211 * gdb.reverse/solilb-precsave.exp: Ditto.
7212 * gdb.reverse/step-precsave.exp: Ditto.
7213 * gdb.reverse/until-precsave.exp: Ditto.
7214 * gdb.reverse/watch-precsave.exp: Ditto.
7215
4cf866a3
MS
72162009-10-22 Michael Snyder <msnyder@vmware.com>
7217
7218 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7219 for gdb_expect. Adjust one test's expect strings for the new
7220 format of disassemble.
7221 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7222 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7223 gdb_test_multiple.
7224 * gdb.reverse/step-reverse.exp: Delete 'return'.
7225 * gdb.reverse/until-reverse.exp: Delete blank lines.
7226 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7227
2b28d209
PP
72282009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7229
7230 * gdb.base/consecutive.exp: Adjust.
7231 * gdb.base/display.exp: Likewise.
7232 * gdb.base/pc-fp.exp: Likewise.
7233 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7234
33b9c32b
MS
72352009-10-19 Michael Snyder <msnyder@vmware.com>
7236
7237 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7238 * gdb.reverse/finish-reverse.c: Ditto.
7239 * gdb.reverse/sigall-reverse.c: Ditto.
7240 * gdb.reverse/solib-reverse.c: Ditto.
7241 * gdb.reverse/step-reverse.c: Ditto.
7242 * gdb.reverse/watch-reverse.c: Ditto.
7243
6c95b8df
PA
72442009-10-19 Pedro Alves <pedro@codesourcery.com>
7245 Stan Shebs <stan@codesourcery.com>
7246
7247 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7248 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7249 "Executing new program".
7250 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7251 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7252 left listed after having been killed.
7253 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7254 * gdb.base/maint.exp: Adjust test.
7255
7256 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7257 * gdb.multi/Makefile.in: New.
7258 * gdb.multi/base.exp: New.
7259 * gdb.multi/goodbye.c: New.
7260 * gdb.multi/hangout.c: New.
7261 * gdb.multi/hello.c: New.
7262 * gdb.multi/bkpt-multi-exec.c: New.
7263 * gdb.multi/bkpt-multi-exec.exp: New.
7264 * gdb.multi/crashme.c: New.
7265
279017b7
TG
72662009-10-13 Tristan Gingold <gingold@adacore.com>
7267
7268 * gdb.base/sepdebug.exp: Check debug info are found.
7269
0413d738
PA
72702009-10-08 Pedro Alves <pedro@codesourcery.com>
7271
7272 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7273 bits.
7274
c628eecc
JK
72752009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7276
7277 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7278
38af1bfe
JB
72792009-10-07 Joel Brobecker <brobecker@adacore.com>
7280
7281 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7282 of the comments.
7283
2b0adecd
PM
72842009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7285
7286 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7287 * gdb.base/annota3.exp: Idem.
7288 * gdb.base/maint.exp: Idem.
7289
8d417781
PM
72902009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7291
889bf7c5 7292 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
7293 to default.
7294
bb61102d
PM
72952009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7296
889bf7c5 7297 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
7298 mingw and cygwin targets.
7299
ace5c364
PM
73002009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7301 Pedro Alves <pedro@codesourcery.com>
7302
889bf7c5 7303 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
7304 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7305
c2d494a0
PM
73062009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7307
e1b52ce2
PM
7308 * gdb.base/shr1.c: Use %p in format string.
7309 * gdb.base/unload.c: Avoid warning in fprintf.
7310 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 7311
209f53f5
PM
73122009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7313
7314 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7315 long type.
7316 (test_unlink): Correct printf string.
7317 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7318 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7319
8172766a
JK
73202009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7321
7322 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7323 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7324 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7325
0f73703c
UW
73262009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7327
7328 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7329 * gdb.objc/nondebug.exp: Likewise.
7330
b32306ca
UW
73312009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7332
7333 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7334 target_info setting.
7335
7336 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7337 that detect new threads during "info threads".
7338
0057022f
UW
73392009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7340
7341 * gdb.threads/manythreads.c (main): Increase thread stack size
7342 to 2*PTHREAD_STACK_MIN.
7343 * gdb.threads/multi-create.c (main): Likewise.
7344 (create_function): Likewise.
7345
f29c0325
UW
73462009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7347
7348 * gdb.base/dump.exp: Pass difference of pointer types instead
7349 of integer types as offset to restore in intarr3.srec case.
7350
fcb34849
UW
73512009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7352
7353 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7354
d5142e3b
UW
73552009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7356
7357 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7358
087b74b2 73592009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 7360
087b74b2
PM
7361 New test for two watchpoints, with disabling of
7362 the first inserted.
7363 * testsuite/gdb.base/watchpoints.c: New file.
7364 * testsuite/gdb.base/watchpoints.exp: New file.
7365
96c07c5b
TT
73662009-09-25 Tom Tromey <tromey@redhat.com>
7367
7368 * gdb.base/charset.exp: Test utf-16 strings with Python.
7369
b8899f2b
TT
73702009-09-25 Tom Tromey <tromey@redhat.com>
7371
7372 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7373 UCS-4.
7374 * gdb.base/charset.c (utf_32_string): Rename.
7375 (init_utf32): Rename.
7376 (main): Update.
7377
329719ec
TT
73782009-09-22 Tom Tromey <tromey@redhat.com>
7379
7380 * gdb.python/py-function.exp: Add regression tests.
7381
11ef0d76
KS
73822009-09-21 Keith Seitz <keiths@redhat.com>
7383
7384 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7385 with invalid operator.
7386
3fe8f3b3
KS
73872009-09-21 Keith Seitz <keiths@redhat.com>
7388
7389 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7390 and destructor using typedef name of class.
7391 * gdb.cp/classes.cc (class Base1): Add a destructor.
7392 (base1): New typedef.
7393 (use_methods): Instanitate an object of type base1.
7394 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7395 (do_tests): Call test_template_typedef.
7396 * gdb.cp/templates.cc (Baz::~Baz): New method.
7397 (intBazOne): New typedef.
7398 (main): Instantiate intBazOne.
7399
7a9fe101
PM
74002009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7401
7402 PR python/10633
7403
7404 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7405 Function.
7406 (run_lang_tests): Add print elements test.
7407
2e4d963f
PM
74082009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7409
7410 * gdb.python/py-value.exp (test_subscript_regression): New
7411 function. Test for invalid subscripts.
7412 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7413 (ptr_ref): New function.
7414
ec7e75e7
PP
74152009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7416
7417 * gdb.base/default.exp: Fix "show convenience".
7418
0cc7d26f
TT
74192009-09-15 Tom Tromey <tromey@redhat.com>
7420
7421 * lib/mi-support.exp (mi_create_varobj): Update.
7422 (mi_create_floating_varobj): Likewise.
7423 (mi_create_dynamic_varobj): New proc.
7424 (mi_varobj_update): Update.
7425 (mi_varobj_update_with_type_change): Likewise.
7426 (mi_varobj_update_kv_helper): New proc.
7427 (mi_varobj_update_dynamic_helper): Rewrite.
7428 (mi_varobj_update_dynamic): New proc.
7429 (mi_list_varobj_children): Update.
7430 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7431 * gdb.python/python-prettyprint.py (pp_outer): New class.
7432 (pp_nullstr): Likewise.
7433 (lookup_function): Register new printers.
7434 * gdb.python/python-prettyprint.c (struct substruct): New type.
7435 (struct outerstruct): Likewise.
7436 (substruct_test): New function.
7437 (struct nullstr): New type.
7438 (string_1, string_2): New globals.
7439 (main): Add new tests.
7440 * gdb.python/python-mi.exp: Added regression tests.
7441 * gdb.mi/mi2-var-display.exp: Update.
7442 * gdb.mi/mi2-var-cmd.exp: Update.
7443 * gdb.mi/mi2-var-child.exp: Update.
7444 * gdb.mi/mi2-var-block.exp: Update.
7445 * gdb.mi/mi-var-invalidate.exp: Update.
7446 * gdb.mi/mi-var-display.exp: Update.
7447 * gdb.mi/mi-var-cmd.exp: Update.
7448 * gdb.mi/mi-var-child.exp: Update.
7449 * gdb.mi/mi-var-block.exp: Update.
7450 * gdb.mi/mi-break.exp: Update.
7451 * gdb.mi/gdb701.exp: Update.
7452
a96d9b2e
SDJ
74532009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7454
7455 * Makefile.in: Inclusion of catch-syscall object.
7456 * gdb.base/catch-syscall.c: New file.
7457 * gdb.base/catch-syscall.exp: New file.
7458
b43b923a
MS
74592009-09-12 Michael Snyder <msnyder@vmware.com>
7460
7461 * gdb.reverse/step-reverse.exp: Explicitly check for targets
7462 that can support reverse debuggnig.
7463
cec03d70
TT
74642009-09-11 Tom Tromey <tromey@redhat.com>
7465
7466 * gdb.dwarf2/valop.S: New file.
7467 * gdb.dwarf2/valop.exp: New file.
7468
e23bb3fc
MK
74692009-09-11 Mark Kettenis <kettenis@gnu.org>
7470
7471 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7472
37c3696d
DE
74732009-09-10 Doug Evans <dje@google.com>
7474
7475 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7476 Add $gdb_prompt to second breakpoint regexp.
7477
5172aecb
JB
74782009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
7479
7480 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7481 names, add missing ones.
7482 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7483 * gdb.python/py-frame.c: Rename from python-frame.c.
7484 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
7485 testfile name.
7486 * gdb.python/py-function.exp: Rename from python-function.exp.
7487 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
7488 testfile name.
7489 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7490 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7491 Adjust testfile name.
7492 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7493 * gdb.python/py-template.cc: Rename from python-template.cc.
7494 * gdb.python/py-template.exp: Rename from python-template.exp.
7495 Adjust testfile name.
7496 * gdb.python/py-value.c: Rename from python-value.c.
7497 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
7498 testfile name.
7499
b554e4bd
JK
75002009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7501
7502 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7503 $bpt2address.
7504 (Second breakpoint address is valid on ia64)
7505 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7506
9a68ae16
JM
75072009-09-03 Joseph Myers <joseph@codesourcery.com>
7508
7509 * gdb.base/ending-run.exp: Restrict regular expression matching
7510 line number to require closing brace following.
7511
146b9145
DE
75122009-09-03 Doug Evans <dje@google.com>
7513
7514 * gdb.base/store.exp (check_set): Fix typo in expected value message.
7515
787d21e1
TT
75162009-09-02 Tom Tromey <tromey@redhat.com>
7517
7518 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7519
e7802207
TT
75202009-09-02 Tom Tromey <tromey@redhat.com>
7521
7522 * gdb.dwarf2/callframecfa.exp: New file.
7523 * gdb.dwarf2/callframecfa.S: New file.
7524
817aadd2
JK
75252009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7526
7527 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7528 gdb.base/solib-overlap-main.c: New.
7529
4a76eae5
DJ
75302009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
7531
7532 PR gdb/10565
7533
7534 * gdb.base/bitfields.c (struct container, container): New.
7535 (main): Initialize it and call break5.
7536 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7537
d4b96c9a
JK
75382009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7539
7540 Support constant DW_AT_data_member_location by GCC PR debug/40659.
7541 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7542
4e22772d
JK
75432009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7544
7545 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7546
2efab443
MS
75472009-08-26 Michael Snyder <msnyder@vmware.com>
7548
7549 * gdb.base/i386-reverse.c: New file.
7550 * gdb.base/i386-reverse.exp: New file.
7551 * gdb.base/Makefile.in: Add new files to be removed.
7552
07ab73a0
JM
75532009-08-26 Joseph Myers <joseph@codesourcery.com>
7554
7555 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7556 environment-pwd for remote host.
7557 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7558
676accff
KS
75592009-08-24 Keith Seitz <keiths@redhat.com>
7560
7561 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7562 Add two new C++ completer tests which limit the output to a
889bf7c5 7563 given class.
676accff 7564
f9f7ad22
MS
75652009-08-24 Michael Snyder <msnyder@vmware.com>
7566
7567 * gdb.base/del.exp: Fix typo in comment.
7568 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7569
81ecdfbb
RW
75702009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7571
7572 * configure: Regenerate.
7573 * gdb.hp/configure: Likewise.
7574 * gdb.hp/gdb.aCC/configure: Likewise.
7575 * gdb.hp/gdb.base-hp/configure: Likewise.
7576 * gdb.hp/gdb.compat/configure: Likewise.
7577 * gdb.hp/gdb.defects/configure: Likewise.
7578 * gdb.hp/gdb.objdbg/configure: Likewise.
7579 * gdb.stabs/configure: Likewise.
7580
cab0c772
UW
75812009-08-19 Doug Evans <dje@google.com>
7582
7583 * gdb.base/gdbvars.c: New file.
7584 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7585
b8fa0bfa
PA
75862009-08-14 Pedro Alves <pedro@codesourcery.com>
7587
7588 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7589 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7590
b84aa90a
PA
75912009-08-13 Pedro Alves <pedro@codesourcery.com>
7592
7593 * gdb.base/default.exp: Adjust "set language test": it's now an
7594 enum command. Larger help string moved to "help set language".
7595 * gdb.base/help.exp: Adjust "help set language" expected output,
7596 now lists all known languages.
7597
0d8f9b2c
NF
75982009-08-11 Nathan Froyd <froydnj@codesourcery.com>
7599
7600 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7601 all frame arguments.
7602 * gdb.arch/altivec-regs.exp: Likewise.
7603
bda180e0
TT
76042009-08-07 Tom Tromey <tromey@redhat.com>
7605
7606 * gdb.base/setshow.exp: Add tests for changes to set language, set
7607 check range, and set check type.
7608
48cb2d85
VP
76092009-08-03 Vladimir Prus <vladimir@codesourcery.com>
7610
7611 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7612 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 7613 Call it.
48cb2d85 7614
1ea34204
UW
76152009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7616
7617 * configure.ac: Run gdb.cell tests when appropriate.
7618 * configure: Regenerate.
7619 * lib/cell.exp: New file.
7620 * gdb.cell: New directory.
7621 * gdb.cell/configure.ac: New file.
7622 * gdb.cell/configure: New file.
7623 * gdb.cell/Makefile.in: New file.
7624 * gdb.cell/arch.exp: New file.
7625 * gdb.cell/break.c: New file.
7626 * gdb.cell/break.exp: New file.
7627 * gdb.cell/break-spu.c: New file.
7628 * gdb.cell/bt.c: New file.
7629 * gdb.cell/bt2-spu.c: New file.
7630 * gdb.cell/bt-spu.c: New file.
7631 * gdb.cell/bt.exp: New file.
7632 * gdb.cell/coremaker.c: New file.
7633 * gdb.cell/coremaker-spu.c: New file.
7634 * gdb.cell/core.exp: New file.
7635 * gdb.cell/gcore.exp: New file.
7636 * gdb.cell/data.c: New file.
7637 * gdb.cell/data.exp: New file.
7638 * gdb.cell/data-spu.c: New file.
7639 * gdb.cell/ea-cache.exp: New file.
7640 * gdb.cell/ea-cache.c: New file.
7641 * gdb.cell/ea-cache-spu.c: New file.
7642 * gdb.cell/ea-standalone.c: New file.
7643 * gdb.cell/ea-standalone.exp: New file.
7644 * gdb.cell/ea-test.c: New file.
7645 * gdb.cell/ea-test.exp: New file.
7646 * gdb.cell/f-regs.exp: New file.
7647 * gdb.cell/mem-access.c: New file.
7648 * gdb.cell/mem-access.exp: New file.
7649 * gdb.cell/mem-access-spu.c: New file.
7650 * gdb.cell/ptype.exp: New file.
7651 * gdb.cell/registers.exp: New file.
7652 * gdb.cell/size.c: New file.
7653 * gdb.cell/sizeof.exp: New file.
7654 * gdb.cell/size-spu.c: New file.
7655 * gdb.cell/solib.exp: New file.
7656 * gdb.cell/solib-symbol.exp: New file.
7657
85e747d2
UW
76582009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7659
7660 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7661
58d6951d
DJ
76622009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7663
7664 * gdb.base/float.exp: Handle VFP registers.
7665
6e0a4f15
MS
76662009-07-14 Michael Snyder <msnyder@vmware.com>
7667
dcd5da87
MS
7668 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7669 to bring gdb to the beginning of the calling line.
7670
6e0a4f15
MS
7671 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7672 confusing the i386 epilogue unwinder.
7673
782b2b07
SS
76742009-07-14 Stan Shebs <stan@codesourcery.com>
7675
7676 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7677
f662c3bc
MS
76782009-07-14 Michael Snyder <msnyder@vmware.com>
7679
7680 * gdb.reverse/step-reverse.exp (stepi into function call):
7681 Call instruction may not be first instruction in the line.
7682 (reverse stepi from a function call): Used wrong line number.
7683
8f313923
JK
76842009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7685
7686 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7687
4662c76e
JK
76882009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7689
7690 Fix gdb.base/macscp.exp when using custom inputrc.
7691 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7692 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
7693 env(TERM) set.
7694 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7695 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7696
aa81e255
JK
76972009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7698
7699 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7700 * gdb.base/annota1.exp (thread_test): Import global $testfile.
7701 Change the compilation target to match the testcase name.
7702 * gdb.base/sect-cmd.exp: Change the compilation target to match the
7703 testcase name.
7704 * a2-run.exp: Use for setup prepare_for_testing. Change the
7705 compilation target to match the testcase name.
7706 * gdb.base/commands.exp: Likewise.
7707 * gdb.base/finish.exp: Likewise.
7708 * gdb.base/float.exp: Likewise.
7709 * gdb.base/info-target.exp: Likewise.
7710 * gdb.base/relational.exp: Likewise.
7711 * gdb.base/term.exp: Likewise.
7712 * gdb.base/until.exp: Likewise.
7713 * gdb.base/volatile.exp: Likewise.
7714 * gdb.base/whatis-exp.exp: Likewise.
7715
4c93b1d7
HZ
77162009-07-11 Hui Zhu <teawater@gmail.com>
7717
7718 * gdb.base/help.exp (disassemble): Update expected help text.
7719
812f7342
TT
77202009-07-09 Tom Tromey <tromey@redhat.com>
7721
7722 * lib/gdb.exp: Handle TRANSCRIPT.
7723 (remote_spawn, remote_close, send_gdb): New procs.
7724
fbb8f299
PM
77252009-07-10 Phil Muldoon <pmuldoon@redhat.com>
7726
7727 * gdb.python/python-prettyprint.c: Add counted null string
7728 structure.
7729 * gdb.python/python-prettyprint.exp: Print null string. Test for
7730 embedded nulls.
7731 * gdb.python/python-prettyprint.py (pp_ns): New Function.
7732 * gdb.python/python-value.exp (test_value_in_inferior): Add
7733 variable length string fetch tests.
7734 * gdb.python/python-value.c (main): Add strings for string fetch tests.
7735
c0ac0ec7
JK
77362009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7737
7738 * gdb.base/dump.exp (inaccessible memory is reported): New test.
7739
30b66ecc
TT
77402009-07-07 Tom Tromey <tromey@redhat.com>
7741
7742 * gdb.base/call-rt-st.exp: Update for change to escape output.
7743 * gdb.base/callfuncs.exp: Likewise.
7744 * gdb.base/charset.exp: Likewise.
7745 * gdb.base/constvars.exp: Likewise.
7746 * gdb.base/long_long.exp: Likewise.
7747 * gdb.base/pointers.exp: Likewise.
7748 * gdb.base/printcmds.exp: Likewise.
7749 * gdb.base/setvar.exp: Likewise.
7750 * gdb.base/store.exp: Likewise.
7751 * gdb.cp/ref-types.exp: Likewise.
7752 * gdb.mi/mi-var-child.exp: Likewise.
7753 * gdb.mi/mi-var-display.exp: Likewise.
7754 * gdb.mi/mi2-var-display.exp: Likewise.
7755 * gdb.base/charset.exp: Test octal escape sequence length.
7756 Update for change to escape output.
7757
187c4a2b
JK
77582009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7759
7760 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7761
d80a43f9
DJ
77622009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
7763
7764 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7765
047427a8
JK
77662009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7769 gdbserver increasing $portnum if "Can't bind address" has been seen.
7770
8b5a0f4f
PA
77712009-07-05 Pedro Alves <pedro@codesourcery.com>
7772
7773 * gdb.base/ending-run.exp: Add "step out of main" pattern for
7774 mingw32ce.
7775
7d93ba58
PA
77762009-07-05 Pedro Alves <pedro@codesourcery.com>
7777
7778 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7779 VFP format.
7780
2277426b
PA
77812009-07-02 Pedro Alves <pedro@codesourcery.com>
7782
7783 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7784 linux. Adjust to use "inferior", "info inferiors", "detach
7785 inferior" and "kill inferior" instead of "restart", "info fork",
7786 "detach fork" and "delete fork".
7787 * gdb.base/ending-run.exp: Spell out "info".
7788 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7789 the "kill" command.
7790
5af949e3
UW
77912009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7792
7793 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7794 change to prefix TLS offset in hex with 0x.
7795
5d3729b5
UW
77962009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7797
7798 * gdb.base/default.exp: Update test case for "x" changes.
7799
af589bd0
TG
78002009-07-01 Tristan Gingold <gingold@adacore.com>
7801
7802 * gdb.base/bigcore.exp: Make darwin untested.
7803
40974f91
JK
78042009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7805
7806 * gdb.base/completion.exp (directory completion): Create the directory.
7807 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7808 escapeuniquesub.
7809 (directory completion 2): Expect now ${escapeuniquesub}.
7810 (Glob remaining of directory test): Remove one excessive newline.
7811 Expect the real output.
7812
59dd3af6
JK
78132009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7814
7815 Fix `make check//%' target after `make check' has been ran.
7816 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
7817 a mkdir call.
7818 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7819 (%/.dir): Remove.
7820
f4e164aa
JK
78212009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7822
7823 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7824 the expected result record.
7825
69af2122
JK
78262009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7827
7828 Remove racy FAILs relying just on the timeouts.
7829 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7830 (annotation_level 2): Remove racy FAILs.
7831
2fd481e1
PP
78322009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7833
7834 gdb/10275
889bf7c5
PA
7835 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7836
c38f313d
DJ
78372009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
7838
7839 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7840
8b777f02
VP
78412009-06-30 Vladimir Prus <vladimir@codesourcery.com>
7842
7843 * gdb.mi/mi-stack.exp: Testing symbolic options
7844 to -stack-list-locals and -stack-list-arguments.
7845
00c7eacf
JK
78462009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7847
7848 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7849
6bc80edc
TT
78502009-06-29 Tom Tromey <tromey@redhat.com>
7851
7852 * dg-extract-results.sh: New file.
7853 * Makefile.in (FORCE_PARALLEL): New variable.
7854 (CHECK_TARGET): New conditional variable.
7855 (check): Use CHECK_TARGET.
7856 (DO_RUNTEST): New variable.
7857 (check-single): New target.
7858 (TEST_DIRS): New variable.
7859 (TEST_TARGETS): Likewise.
7860 (check-parallel): New target.
7861 (check-gdb.%): New pattern.
7862 (BASE1_FILES): New variable.
7863 (BASE2_FILES): Likewise.
7864 (check-gdb.base%): New pattern.
7865 (%/.dir): New pattern.
7866 * configure: Rebuild.
7867 * aclocal.m4 (AM_CONDITIONAL): New defun.
7868 * configure.ac: Check whether user is using GNU make.
7869 (GMAKE): New conditional.
7870
794684b6
SW
78712009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
7872
7873 * gdb.cp/namespace-nested-import.cc: New test.
7874 * gdb.cp/namespace-nested-import.exp: New test.
7875
edb3359d
DJ
78762009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
7877
7878 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7879 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7880 * gdb.opt/Makefile.in (EXECUTABLES): Update.
7881 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7882 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7883 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7884 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7885 gdb.opt/inline-markers.c: New files.
7886 * lib/gdb.exp (skip_inline_frame_tests): New function.
7887 (skip_inline_var_tests): New function.
7888
cf657a0c
AS
78892009-06-27 Andreas Schwab <schwab@linux-m68k.org>
7890
7891 * gdb.cp/exception.exp: Don't require $hex before inner frame in
7892 backtrace.
7893
28d41a99
MS
78942009-06-27 Michael Snyder <msnyder@vmware.com>
7895
7896 * gdb.reverse: New directory.
7897 * gdb.reverse/break-reverse.c: New test.
7898 * gdb.reverse/break-reverse.exp: New test.
7899 * gdb.reverse/consecutive-reverse.c: New test.
7900 * gdb.reverse/consecutive-reverse.exp: New test.
7901 * gdb.reverse/finish-reverse.c: New test.
7902 * gdb.reverse/finish-reverse.exp: New test.
7903 * gdb.reverse/machinestate.c: New test.
7904 * gdb.reverse/ms1.c: New test.
7905 * gdb.reverse/machinestate.exp: New test.
7906 * gdb.reverse/Makefile.in: New file.
7907 * gdb.reverse/shr2.c: New test.
7908 * gdb.reverse/solib-reverse.c: New test.
7909 * gdb.reverse/solib-reverse.exp: New test.
7910 * gdb.reverse/step-reverse.c: New test.
7911 * gdb.reverse/step-reverse.exp: New test.
7912 * gdb.reverse/until-reverse.c: New test.
7913 * gdb.reverse/ur1.c: New test.
7914 * gdb.reverse/until-reverse.exp: New test.
7915 * gdb.reverse/watch-reverse.c: New test.
7916 * gdb.reverse/watch-reverse.exp: New test.
7917 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7918 * configure: Regenerate.
7919
fe3c8b0d
DE
79202009-06-26 Doug Evans <dje@google.com>
7921
7922 * gdb.base/psymtab.exp: Turn off pending breakpoints.
7923
3a72a602
PM
79242009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
7925
7926 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7927 windows problem for 'file delete $binfile'.
7928
27aa8d6a
SW
79292009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
7930
7931 * gdb.cp/namespace-using.exp: New test.
7932 * gdb.cp/namespace-using.cc: New test.
7933
8ac055f8
JB
79342009-05-20 Joel Brobecker <brobecker@adacore.com>
7935
7936 * gdb.ada/variant_record_packed_array: New testcase.
7937
85e306ed
TT
79382009-06-23 Tom Tromey <tromey@redhat.com>
7939
7940 * gdb.base/charset.exp (test_combination): Regression test.
7941 * gdb.base/charset.c (my_wchar_t): New typedef.
7942 (myvar): New global.
7943 (main): Set myvar.
7944
56643c5e
PM
79452009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
7946
7947 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7948 target.
7949
1fac167a
UW
79502009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7951
7952 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7953
7ccb0be9
UW
79542009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7955
7956 * gdb.mi/gdb680.exp: Update test for error message.
7957
568d6575
UW
79582009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7959
7960 * gdb.base/annota1.exp: Allow multiple occurrences of the
7961 frames-invalid annotation.
7962 * gdb.cp/annota2.exp: Likewise.
7963
7cd1089b
PM
79642009-06-15 Phil Muldoon <pmuldoon@redhat.com>
7965
7966 * gdb.cp/gdb2495.cc: New file.
7967 * gdb.cp/gdb2495.exp: New file.
7968
72c63395
JK
79692009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7970
7971 Report error on GDB crash during runto.
7972 * lib/gdb.exp (runto <eof>): New.
7973
3788363d
DJ
79742009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
7975
7976 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7977 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7978 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7979 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7980 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7981 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7982 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7983 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7984 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7985 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7986 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7987 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7988 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7989 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7990 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7991 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7992 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7993 gdb.server/server-mon.exp, gdb.server/server-run.exp,
7994 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7995 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7996 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7997 gdb.trace/passcount.exp, gdb.trace/report.exp,
7998 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7999 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8000 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8001 executable.
8002
17592de3
PA
80032009-06-07 Pedro Alves <pedro@codesourcery.com>
8004
8005 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8006 defined before referencing it.
8007
701e355d
DE
80082009-06-03 Doug Evans <dje@google.com>
8009
8010 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8011 * gdb.arch/i386-see.c: Ditto.
8012
f2292c65
PM
80132009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8014
8015 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8016 (check_macro): Return 1 if undefined.
8017 If first test fails, check if macro debug information is available,
8018 and report unsupported test if no macro information is found.
8019
5a437975
DE
80202009-05-29 Doug Evans <dje@google.com>
8021
8022 * gdb.threads/hand-call-in-threads.exp: New.
8023 * gdb.threads/hand-call-in-threads.c: New.
8024
c141c696
MS
80252009-05-29 Michael Snyder <msnyder@vmware.com>
8026
8027 * gdb.base/break-always.exp: Change "1" to "on".
8028 Add confirmation check.
8029
b3444185
PA
80302009-05-28 Pedro Alves <pedro@codesourcery.com>
8031
8032 * gdb.threads/threxit-hop-specific.c: New.
8033 * gdb.threads/threxit-hop-specific.exp: New.
8034 * gdb.threads/thread-execl.c: New.
8035 * gdb.threads/thread-execl.exp: New.
8036
b6313243
TT
80372009-05-27 Tom Tromey <tromey@redhat.com>
8038 Thiago Jung Bauermann <bauerman@br.ibm.com>
8039
8040 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8041 (mi_child_regexp): Likewise.
8042 (mi_list_varobj_children_range): Likewise.
8043 (mi_get_features): Likewise.
8044 (mi_list_varobj_children): Rewrite.
8045 * gdb.python/python-mi.exp: New file.
8046
a6bac58e
TT
80472009-05-27 Tom Tromey <tromey@redhat.com>
8048 Thiago Jung Bauermann <bauerman@br.ibm.com>
8049 Phil Muldoon <pmuldoon@redhat.com>
8050 Paul Pluzhnikov <ppluzhnikov@google.com>
8051
8052 * gdb.python/python-prettyprint.exp: New file.
8053 * gdb.python/python-prettyprint.c: New file.
8054 * gdb.python/python-prettyprint.py: New file.
8055 * gdb.base/display.exp: print/r is now valid.
8056
2c74e833
TT
80572009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8058 Tom Tromey <tromey@redhat.com>
8059 Pedro Alves <pedro@codesourcery.com>
8060 Paul Pluzhnikov <ppluzhnikov@google.com>
8061
8062 * gdb.python/python-template.exp: New file.
8063 * gdb.python/python-template.cc: New file.
8064 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8065 tests.
8066 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8067 Call it.
8068 (test_value_after_death): New proc.
8069 * gdb.python/python-value.c (PTR): New typedef.
8070 (main): New variable 'x'.
8071
89c73ade
TT
80722009-05-27 Tom Tromey <tromey@redhat.com>
8073
8074 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8075 tests.
8076 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8077 Call it.
8078
a75724bc
PA
80792009-05-27 Pedro Alves <pedro@codesourcery.com>
8080
8081 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8082
e58b0e63
PA
80832009-05-24 Pedro Alves <pedro@codesourcery.com>
8084
8085 * gdb.threads/fork-thread-pending.c: New.
8086 * gdb.threads/fork-thread-pending.exp: New.
8087
4ac36638
JK
80882009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8089
8090 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8091 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8092
889bf7c5 80932009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8094
889bf7c5 8095 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8096
b242c3c2
PA
80972009-05-17 Pedro Alves <pedro@codesourcery.com>
8098
8099 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8100 `gdb_get_line_number'. Call `callee' in both parent and child.
8101 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8102 `gdb_get_line_number' instead of hardcoding line numbers.
8103 (catch_fork_unpatch_child): New procedure to test detaching
8104 breakpoints from child fork.
8105 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8106 hardcoding line numbers.
8107 (do_fork_tests): Run `catch_fork_unpatch_child'.
8108
ee342b23
VP
81092009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8110
8111 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8112 of structure type enters or leaves the scope, it
8113 is reported by -var-update.
8114
e2009e98
DE
81152009-05-11 Doug Evans <dje@sebabeach.org>
8116
8117 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8118 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8119 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8120
00903456
JK
81212009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8122
8123 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8124
dc621c35
DE
81252009-04-30 Doug Evans <dje@google.com>
8126
8127 * gdb.threads/watchthreads2.exp: New testcase.
8128 * gdb.threads/watchthreads2.c: New testcase.
8129
9ab4e744
DE
81302009-04-29 Doug Evans <dje@google.com>
8131
8132 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8133 * gdb.cp/mb-ctor.cc: Ditto.
8134 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8135 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8136 * gdb.cp/mb-inline1.cc: Call it.
8137 * gdb.cp/mb-inline2.cc: Ditto.
8138 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8139 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8140
484086b7
JK
81412009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8142
8143 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8144 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8145 Replace all uses of `decimal' by `nonzero'.
8146 (info macro FROM_COMMANDLINE): New test.
8147
379a77b5
TT
81482009-04-27 Tom Tromey <tromey@redhat.com>
8149
8150 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8151
b92b73c2
DE
81522009-04-27 Doug Evans <dje@google.com>
8153
8154 * gdb.threads/watchthreads.c (main): Initialize args before starting
8155 the threads. Plus formatting cleanup.
8156 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8157 biased scheduling of one thread.
8158
945a118d
JG
81592009-04-27 Jerome Guitton <guitton@adacore.com>
8160
8161 * gdb.cp/templates.cc (GetMax): New template.
8162 (main): Declare two instances of GetMax.
8163 * gdb.cp/templates.exp: Add new test.
8164
d389af10
JK
81652009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8166
8167 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8168
e7f86de9
JM
81692009-04-22 Joseph Myers <joseph@codesourcery.com>
8170
8171 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8172
334cc82d
TT
81732009-04-15 Tom Tromey <tromey@redhat.com>
8174
8175 * gdb.base/charset.exp: Add regression test.
8176
d12672cc
JB
81772009-04-14 Joel Brobecker <brobecker@adacore.com>
8178
8179 * gdb.base/exe-lock.exp: New testcase.
8180
18e8c3bc
TT
81812009-04-13 Tom Tromey <tromey@redhat.com>
8182
8183 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8184 operator on Frame.
8185
5ecd5cbe
UW
81862009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8187
8188 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8189 * gdb.server/ext-attach.exp: Likewise.
8190
7309f756
VP
81912009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8192
8193 Eliminate some sleep usage.
8194
889bf7c5
PA
8195 * gdb.mi/basics.c (do_nothing): New.
8196 (main): Use do_nothing instead of printf, so that
8197 not to introduce race condition between output of
8198 inferiour and output of gdb. Do not use sleep as it
8199 is not generally available on embedded targets.
7309f756 8200
f4b95f6f
PA
82012009-04-02 Pedro Alves <pedro@codesourcery.com>
8202
8203 * gdb.server/ext-attach.exp: Expect an optional process id after
8204 "Detached from remote process".
8205
de40b933
JK
82062009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8207
8208 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8209 gdb.dwarf2/dw2-unresolved.exp: New.
8210
2ae101a4
PA
82112009-04-02 Pedro Alves <pedro@codesourcery.com>
8212
8213 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8214 mi_run_to_main.
8215
56a8e183
PA
82162009-04-02 Pedro Alves <pedro@codesourcery.com>
8217
8218 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8219 mi_run_to_main. Skip thread exit test on remote targets.
8220 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8221 mi_run_to_main.
8222 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8223 mi_run_to_main.
8224 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8225 when expecting ^connected. Detect when the target doesn't support
8226 non-stop mode.
8227 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8228 supported. Return -1 on error, 0 on success.
8229 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8230 (mi_runto): Return mi_runto_helper's result explicitly.
8231
c35fafde
PA
82322009-04-01 Pedro Alves <pedro@codesourcery.com>
8233
8234 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8235
f8a8dce6
JB
82362009-04-01 Tom Tromey <tromey@redhat.com>
8237
8238 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8239 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8240 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8241 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8242
71c25dea
TT
82432009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8244 Jan Kratochvil <jan.kratochvil@redhat.com>
8245
8246 PR gdb/931
8247 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8248 output.
8249 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8250 for gdb/931.
8251 * dw2-strp.S (DW_AT_language): Change to C++.
8252 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8253
02d9a9ce
JB
82542009-03-31 Joel Brobecker <brobecker@adacore.com>
8255
8256 * gdb.ada/tasks: New testcase.
8257
1042e4c0
SS
82582009-03-30 Stan Shebs <stan@codesourcery.com>
8259
8260 * gdb.trace/actions.exp: Update to match new info trace format.
8261 * gdb.trace/deltrace.exp: Ditto.
8262 * gdb.trace/infotrace.exp: Ditto.
8263 * gdb.trace/passcount.exp: Ditto.
8264 * gdb.trace/save-trace.exp: Ditto.
8265 * gdb.trace/while-stepping.exp: Ditto.
8266 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8267
f8f6f20b
TJB
82682009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8269
8270 * gdb.python/python-frame.c: New file.
8271 * gdb.python/python-frame.exp: New file.
8272
c0c6f777
TJB
82732009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8274
8275 * gdb.python/python-value.exp: Add tests for the address
8276 attribute.
8277
3cb51905
AS
82782009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8279
8280 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8281
88fc996f
DE
82822009-03-26 Doug Evans <dje@google.com>
8283
8284 * gdb.mi/mi-nonstop-exit.exp: New file.
8285 * gdb.mi/non-stop-exit.c: New file.
8286
56ef84b1
TT
82872009-03-26 Tom Tromey <tromey@redhat.com>
8288
8289 Update for change to prologue skipping:
8290 * gdb.mi/mi2-simplerun.exp: Update.
8291 * gdb.mi/mi2-break.exp: Update.
8292 * gdb.mi/mi-simplerun.exp: Update.
8293 * gdb.mi/mi-break.exp: Update.
8294 * gdb.base/ending-run.exp: Update.
8295
def2b000
TJB
82962009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8297
8298 * gdb.python/python-value.exp (test_value_in_inferior): Test
8299 gdb.Value.is_optimized_out attribute.
8300
442ddf59
JK
83012009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8302
8303 * gdb.dwarf2/dw2-noloc-main.c: New file.
8304 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8305 (.text): Remove.
8306 (.data): New.
8307 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8308 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8309 (DW_TAG_subprogram func_cu1, noloc): Remove.
8310 (main): New.
8311 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8312 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8313 (file_symbols): New procedure.
8314
a8df5de4
TT
83152009-03-25 Tom Tromey <tromey@redhat.com>
8316
8317 * gdb.base/charset.exp (valid_target_charset): New proc.
8318 Use it to skip tests on invalid charsets.
8319
cc1d7add
PM
83202009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8321
8322 * gdb.base/completion.exp: Add a test for directory completion.
8323
bcd5727b
JK
83242009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8325
8326 Fix a racy FAIL.
8327 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8328 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8329
cc924cad
TJB
83302009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8331
8332 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8333 * gdb.python/python-function.exp: Add test for function returning
8334 a GDB value.
8335
bc3b79fd
TJB
83362009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8337
8338 * gdb.python/python-function.exp: New file.
8339
6c7a06a3
TT
83402009-03-20 Tom Tromey <tromey@redhat.com>
8341
8342 * gdb.base/store.exp: Update for change to escape output.
8343 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8344 to escape output.
8345 * gdb.base/pointers.exp: Update for change to escape output.
8346 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8347 to escape output.
8348 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8349 escape output.
8350 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8351 to escape output.
8352 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8353 escape output.
8354 * gdb.base/setvar.exp: Update for change to escape output.
8355 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8356 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8357 to escape output.
8358 (test_print_string_constants): Likewise.
8359 * gdb.base/charset.exp (valid_host_charset): Check size of
8360 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8361 cases. Handle "auto"-related output.
8362 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8363 (uvar, Uvar): New globals.
8364
c31af87b
JG
83652009-03-19 Jerome Guitton <guitton@adacore.com>
8366
8367 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8368 deltas.
8369 * gdb.ada/fixed_points.exp: Ditto.
8370
51272cf2
PA
83712009-03-18 Pedro Alves <pedro@codesourcery.com>
8372
8373 * return-nodebug.c: Don't include stdio.h.
8374 (init): Delete.
8375 (func): Delete definition and provide extern declaration.
8376 (t): New.
8377 (main): Don't call printf. Call func and store its result in t.
8378 * return-nodebug1.c: New.
8379 * return-nodebug.exp: Don't expect stdio output. Instead, print
8380 the global variable t. Drop printf formatters and cast types from
8381 foreach loop. Don't use prepare_for_testing. Compile
8382 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8383 define FORMAT or CAST.
8384
d24948ac
PP
83852009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8386
8387 * gdb.base/solib-display.exp: Disable test for remote targers.
8388
61ff14c6
JK
83892009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8390
8391 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8392
cb4dce93
JK
83932009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8394
8395 Fix a racy FAIL.
8396 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8397 code from `follow parent, print pids'.
8398 (`follow child, print pids', `follow parent, print pids'): Call it.
8399 Replace `gdb_test "break..."' by gdb_breakpoint.
8400
f7c60c5e
VP
84012009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8402
8403 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 8404 sync and async modes.
f7c60c5e 8405
383ace49
JB
84062009-03-12 Joel Brobecker <brobecker@adacore.com>
8407
8408 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8409 that was checked in by mistake. Remove loading of ada.exp, since
8410 this is not necessary in this case.
8411
4ce102af
JB
84122009-03-12 Joel Brobecker <brobecker@adacore.com>
8413
8414 * gdb.ada/ptype_arith_binop.exp: New testcase.
8415
529a2aef
JB
84162009-03-12 Joel Brobecker <brobecker@adacore.com>
8417
8418 * gdb.ada/mod_from_name: New testcase.
8419
8a38181c
JB
84202009-03-12 Joel Brobecker <brobecker@adacore.com>
8421
8422 * gdb.ada/tick_last_segv: New testcase.
8423
11436dee
VP
84242009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8425
61ff14c6 8426 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 8427
1f31650a
VP
84282009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8429
61ff14c6
JK
8430 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8431 include the token in ^running and frame info in *stopped.
1f31650a 8432
a3247a22
PP
84332009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8434
8435 * solib-display.exp: New file.
8436 * solib-display-main.c: New file.
8437 * solib-display-lib.c: New file.
61ff14c6 8438
aae64587
PA
84392009-03-05 Pedro Alves <pedro@codesourcery.com>
8440
8441 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8442
44aabfbc
JK
84432009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8444
8445 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8446 (list_and_check_macro): Use more specific test name.
8447 (next to definition): Make the test names unique.
8448
c087fcd3
PM
84492009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8450
8451 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 8452
c86cf029
VP
84532009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8454
8455 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8456 notifications.
8457 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8458 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8459 * lib/mi-support.exp (library_loaded_re): New.
8460 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8461
3ea85240
VP
84622009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8463
8464 * gdb.gdb/observer.exp: Use test_notification observer, not
8465 normal_stop, everywhere.
8466 (test_normal_stop_notifications): Rename to...
8467 (test_notifications): ...this.
8468 (test_observer_normal_stop): Rename to...
8469 (test_observer): ...this.
8470
1903f0e6
DE
84712009-02-16 Doug Evans <dje@google.com>
8472
8473 * gdb.arch/amd64-disp-step.S (test_int3): New test.
8474 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8475 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8476 (test_prefixed_syscall,test_int3): New tests.
8477 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8478 (test_prefixed_syscall,test_int3): New tests.
8479
1d33d6ba
VP
84802009-02-14 Vladimir Prus <vladimir@codesourcery.com>
8481
3cb51905
AS
8482 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8483 (mi_expect_interrupt): Likewise.
8484 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8485 response.
1d33d6ba 8486
faafb047
PM
84872009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8488
8489 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8490 * gdb.base/pc-fp.exp (get_valueofx): Remove.
8491 Replace calls to get_valueofx by get_hexadecimal_valueof.
8492
417e16e2
PM
84932009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8494
8495 * lib/gdb.exp (get_valueof): Accept anything as a return value.
8496 (get_integer_valueof): New procedure.
8497 (get_sizeof): Use new get_integer_value_of.
8498 * gdb.base/sizeof.exp: Replace all uses of get_valueof
8499 by get_integer_valueof.
8500
7065b901
TT
85012009-02-13 Tom Tromey <tromey@redhat.com>
8502
8503 * gdb.base/remote.exp (get_sizeof): Remove.
8504 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8505 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8506 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8507 * lib/gdb.exp (get_valueof): Move from long_long.exp.
8508 (get_sizeof): Likewise.
8509
5d7cb8df
JK
85102009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8511
8512 PR fortran/9806
8513 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8514
b2febfff
PP
85152009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8516
8517 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8518
4aa995e1
PA
85192009-02-06 Pedro Alves <pedro@codesourcery.com>
8520
8521 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8522
d8906c6f
TJB
85232009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8524
8525 * gdb.python/python-cmd.exp: New file.
8526
ff4ab08d
TG
85272009-02-06 Tristan Gingold <gingold@adacore.com>
8528
8529 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8530
aacd552b
TG
85312009-02-05 Tristan Gingold <gingold@adacore.com>
8532
8533 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8534 pointer is dereferenced and use this signal name in regexp.
8535 * gdb.base/signull.exp: Ditto.
8536 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8537 * gdb.base/signull.c (main): Ditto.
8538
08c637de
TJB
85392009-02-04 Tom Tromey <tromey@redhat.com>
8540 Thiago Jung Bauermann <bauerman@br.ibm.com>
8541
8542 * gdb.python/python-value.exp: Use `gdb.history' instead of
8543 `gdb.value_from_history'.
8544 (test_value_numeric_ops): Add test for conversion of enum constant.
8545 * gdb.python/python-value.c (enum e): New type.
8546 (evalue): New global.
8547 (main): Use argv.
8548
20261af8
JG
85492009-02-04 Jerome Guitton <guitton@adacore.com>
8550
8551 * gdb.ada/uninitialized_vars: New test program.
8552 * gdb.ada/uninitialized_vars.exp: New testcase.
8553
52e44b43
TT
85542009-02-02 Tom Tromey <tromey@redhat.com>
8555
8556 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8557 * gdb.cp/pr2489.cc: Rename...
8558 * gdb.cp/pr9594.cc: ... to this.
8559
1c71341a
TT
85602009-02-02 Tom Tromey <tromey@redhat.com>
8561
8562 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8563 * gdb.cp/pr2489.cc: New file.
8564 * gdb.cp/cpcompletion.exp: New file.
8565
a4295225
TT
85662009-02-02 Tom Tromey <tromey@redhat.com>
8567
8568 PR exp/9059:
8569 * gdb.cp/call-c.exp: Add regression test.
8570 * gdb.cp/call-c.cc (FooHandle): New typedef.
8571 (main): New variable 'handle'.
8572
592375cd
VP
85732009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8574
8575 * lib/mi-support.exp (et_mi_thread_list)
8576 (check_mi_and_console_threads): Adjust for current thread in
8577 -thread-list-ids output.
8578
41447f92
VP
85792009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8580
889bf7c5
PA
8581 * gdb.mi/mi-break.exp (test_disabled_creation): New.
8582 Call it.
41447f92 8583
35669430
DE
85842009-01-28 Doug Evans <dje@google.com>
8585
8586 * gdb.arch/amd64-disp-step.S: New file.
8587 * gdb.arch/amd64-disp-step.exp: New file.
8588 * gdb.arch/i386-disp-step.S: New file.
8589 * gdb.arch/i386-disp-step.exp: New file.
8590
09f00d9a
PM
85912009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
8592
8593 * gdb.base/find.exp: Set newline variable
8594 using quotes instead of braces to fix cygwin failures.
8595
1e8fb976
PA
85962009-01-23 Pedro Alves <pedro@codesourcery.com>
8597
8598 * gdb.base/radix.exp: Add tests to ensure that that set
8599 input-radix 0 and set output-radix 0 are really rejected.
8600
da061712
PA
86012009-01-23 Pedro Alves <pedro@codesourcery.com>
8602
8603 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8604 copyright years.
8605
dd7e2d2b
PA
86062009-01-23 Pedro Alves <pedro@codesourcery.com>
8607
8608 PR gdb/9664:
8609 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8610
392452f6
PA
86112009-01-22 Pedro Alves <pedro@codesourcery.com>
8612
8613 PR c++/9631:
8614 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8615
8653e71c
PM
86162009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
8617
8618 * gdb.server/file-transfer.exp: Use EXEEXT variable for
8619 binfile definition to fix Windows OS failure.
8620
a12cc160
DJ
86212009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8622
8623 PR gdb/9346
8624 * gdb.base/interrupt.c (sigint_handler): New.
8625 (main): Install a SIGINT handler if SIGNALS is defined. Exit
8626 on error.
8627 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8628 Test "signal SIGINT".
8629
b89667eb
DE
86302009-01-19 Doug Evans <dje@google.com>
8631
8632 * gdb.base/break.exp: Update expected gdb output.
8633 * gdb.base/sepdebug.exp: Ditto.
8634 * gdb.mi/mi-syn-frame.exp: Ditto.
8635 * gdb.mi/mi2-syn-frame.exp: Ditto.
8636 * gdb.base/call-signal-resume.exp: New file.
8637 * gdb.base/call-signals.c: New file.
8638 * gdb.base/unwindonsignal.exp: New file.
8639 * gdb.base/unwindonsignal.c: New file.
8640 * gdb.threads/interrupted-hand-call.exp: New file.
8641 * gdb.threads/interrupted-hand-call.c: New file.
8642 * gdb.threads/thread-unwindonsignal.exp: New file.
8643
adb483fe
DJ
86442009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
8645
8646 * gdb.base/define.exp: Test defining and hooking prefix commands.
8647 * gdb.python/python.exp: Update test for "show user" output.
8648
60023297
JK
86492009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8650
8651 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
8652 now the output exactly, using less wildcards. Expect also the output
8653 of gfortran-4.3. Update for the f-valprint.c modification from
8654 2008-04-22.
8655 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8656 Remove gdb_test test names where matching the command.
8657
ccc57cf9
PA
86582009-01-01 Pedro Alves <pedro@codesourcery.com>
8659
8660 PR breakpoints/9681:
8661 * gdb.base/watchpoint.exp: Add regression test.
8662
c7a6ca08
PA
86632008-12-31 Pedro Alves <pedro@codesourcery.com>
8664
8665 * gdb.threads/attach-into-signal.exp: Don't use
8666 gdb_suppress_entire_file.
8667 * gdb.threads/attach-stopped.exp: Ditto.
8668 * gdb.threads/attachstop-mt.exp: Ditto.
8669
3a031f65
PA
86702008-12-31 Pedro Alves <pedro@codesourcery.com>
8671
8672 PR gdb/8812:
8673 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8674
09e6485f
PA
86752008-12-29 Pedro Alves <pedro@codesourcery.com>
8676
8677 PR gdb/7536:
8678 * gdb.base/radix.exp: Add tests to ensure invalid input radices
8679 and unsupported output radices are really rejected.
8680
0cd53049
JK
86812008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8682
8683 * gdb.cp/punctuator.exp: Backslash the '$' signs.
8684
ba163c7e
TT
86852008-12-22 Tom Tromey <tromey@redhat.com>
8686
8687 * gdb.cp/punctuator.exp: New file.
8688
6f4de6c9
JK
86892008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 * gdb.base/completion.exp (Completing non-existing component): New test.
8692
0f34d0b4
JK
86932008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 Fix for PR gdb/8648.
8696 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8697 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8698 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8699 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8700
db2ad4c3
JK
87012008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8702
8703 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8704
bb5ef15e
DP
87052008-12-16 Christophe Lyon <christophe.lyon@st.com>
8706
8707 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8708 compiler actually generate code at the expected line number.
8709
90142adc
JZ
87102008-12-15 Jie Zhang <jie.zhang@analog.com>
8711
8712 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8713
fad6eecd
TT
87142008-12-12 Tom Tromey <tromey@redhat.com>
8715
8716 * gdb.base/commands.exp (redefine_hook_test): New proc.
8717 Call it.
8718
17c8aaf5
TT
87192008-12-11 Tom Tromey <tromey@redhat.com>
8720
8721 * gdb.base/macscp.exp: New regression test.
8722
7c8adf68
TT
87232008-12-11 Tom Tromey <tromey@redhat.com>
8724
8725 * gdb.base/macscp.exp: Print "address.addr".
8726 * gdb.base/macscp1.c (struct outer): New struct.
8727 (address): New global.
8728
b05dcbb7
TT
87292008-12-09 Tom Tromey <tromey@redhat.com>
8730
8731 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8732 Call it.
8733
2d476de1
DE
87342008-12-04 Doug Evans <dje@google.com>
8735
8736 * gdb.server/ext-run.exp: Relax regexp for init program.
8737
87bdc959
TG
87382008-12-03 Tristan Gingold <gingold@adacore.com>
8739
8740 * gdb.base/macscp.exp: Generate an object file during compilation
8741 to work around Darwin dsymutil limitations.
8742
e0740f77
JK
87432008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8744
8745 Test resolving external references to TLS variables.
8746 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8747 FILE2_THREAD_LOCAL.
8748 (testfile2, srcfile2): New variables.
8749 * gdb.threads/tls.c (file2_thread_local)
8750 (function_referencing_file2_thread_local): New.
8751 * gdb.threads/tls2.c: New file.
8752
67f0aac5
JB
87532008-11-28 Joel Brobecker <brobecker@adacore.com>
8754
8755 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
8756 rather than integer, as integer might not be big enough when
8757 on 64bit targets.
67f0aac5 8758
c332165e
JG
87592008-11-27 Jerome Guitton <guitton@adacore.com>
8760
8761 * gdb.cp/formatted-ref.exp: Add equality test.
8762 * gdb.ada/formatted_ref.exp: Ditto.
8763
fc9b693c
JK
87642008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8765
8766 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8767 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8768
a9c64011
AS
87692008-11-20 Andreas Schwab <schwab@suse.de>
8770
8771 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8772 matching syscall entry point.
8773 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8774 (tcatch_vfork_then_child_follow): Likewise. Finish through
8775 vfork even if we stopped at the syscall trampoline.
8776
e2fd701e
DE
87772008-11-20 Doug Evans <dje@google.com>
8778
8779 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8780
69abc51c
TJB
87812008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
8782
8783 * gdb.arch/ppc-dfp.exp: New file.
8784 * gdb.arch/ppc-dfp.c: New file.
8785
c14c28ba
PP
87862008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8787
8788 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 8789
2e74121d
DE
87902008-11-17 Doug Evans <dje@google.com>
8791
8792 * gdb.mi/mi-syn-frame.exp: Update expected output.
8793 * gdb.mi/mi2-syn-frame.exp: Update expected output.
8794
66bb093b
VP
87952008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8796
8797 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
8798 "thread N" results in =thread-selected.
8799 * lib/mi-support (mi_run_cmd, mi_expect_stop)
8800 (mi_send_resuming_command_raw): Be prepared for
8801 =thread-selected.
8802
3d043ef6
VP
88032008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8804
a9c64011
AS
8805 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8806 * lib/mi-support.exp: Likewise.
3d043ef6 8807
808104c8
JB
88082008-11-16 Joel Brobecker <brobecker@adacore.com>
8809
8810 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8811 commands from the expected output for "help catch".
8812
00b22944
JB
88132008-11-15 Joel Brobecker <brobecker@adacore.com>
8814
8815 * gdb.ada/int_deref.exp: New testcase.
8816
59669435
TT
88172008-11-14 Nick Roberts <nickrob@snap.net.nz>
8818
8819 * gdb.mi/gdb2549.exp: New file.
8820
de04a248
DE
88212008-11-11 Doug Evans <dje@google.com>
8822
8823 * gdb.base/callexit.exp: New file.
8824 * gdb.base/callexit.c: New file.
8825
6b8ce727
DE
88262008-11-10 Doug Evans <dje@google.com>
8827
8828 * lib/gdb.exp (GDBFLAGS): Move -nx ...
8829 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
8830 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8831 (default_gdb_start,default_gdb_exit): Ditto.
8832 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8833 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8834 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8835 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8836 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8837 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8838
1b14b8aa
AS
88392008-11-03 Andreas Schwab <schwab@suse.de>
8840
8841 * gdb.base/hashline2.exp: Fix typo.
8842 * gdb.base/hashline3.exp: Likewise.
8843
f3134b88
TT
88442008-10-30 Tom Tromey <tromey@redhat.com>
8845
8846 * gdb.base/pointers.exp: Add test.
8847 * gdb.base/pointers.c (k, S): New typedefs.
8848 (instance): New global.
8849
c2226152
AS
88502008-10-30 Andreas Schwab <schwab@suse.de>
8851
8852 * gdb.base/args.exp: Add tests for newlines.
8853
462f405c
JB
88542008-10-30 Joel Brobecker <brobecker@adacore.com>
8855
8856 gdb.base/foll-exec.exp: Update the expected output of a couple
8857 of "info breakpoints" tests.
8858
79a45b7d
TT
88592008-10-28 Tom Tromey <tromey@redhat.com>
8860
8861 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8862
adc13a14
PA
88632008-10-24 Pedro Alves <pedro@codesourcery.com>
8864
8865 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8866 gdb_start_cmd.
8867 Use runto_main before any test that requires execution.
8868
252fbfc8
PA
88692008-10-23 Pedro Alves <pedro@codesourcery.com>
8870
8871 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8872 instead of SIGINT.
8873
28148e3d
JB
88742008-10-22 Joel Brobecker <brobecker@adacore.com>
8875
8876 * gdb.base/completion.exp: Update expected output following
8877 the addition of the "info tasks" command.
8878
c209f847
TT
88792008-10-22 Tom Tromey <tromey@redhat.com>
8880
8881 * gdb.base/exprs.exp (test_expr): Add test for string
8882 concatenation.
8883
f177e350
PA
88842008-10-19 Pedro Alves <pedro@codesourcery.com>
8885
8886 * configure.ac: Output gdb.python/Makefile.
8887 * configure: Regenerate.
8888 * gdb.python/Makefile.in: New.
8889
cce89356
JB
88902008-10-16 Joel Brobecker <brobecker@adacore.com>
8891
8892 * gdb.base/foll-fork.exp: Adjust the expected output to match
8893 the new description for fork/vfork catchpoints in the "info
8894 breakpoints" output.
8895
176d289d
TJB
88962008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8897
8898 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8899
a08702d6
TJB
89002008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8901
8902 * gdb.python/python-value.c: New file.
8903 * gdb.python/python-value.exp: New file.
8904
1c5cfe86
PA
89052008-10-15 Pedro Alves <pedro@codesourcery.com>
8906
8907 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8908
5a98ad69
DP
89092008-10-15 Denis Pilat <denis.pilat@st.com>
8910
41702f1b 8911 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 8912
dcb1a1e2
TT
89132008-10-09 Tom Tromey <tromey@redhat.com>
8914
8915 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8916 'fprintf' and 'stderr'.
8917
9124fe48
JB
89182008-10-07 Joel Brobecker <brobecker@adacore.com>
8919
8920 * gdb.ada/ref_tick_size.exp: New testcase.
8921
45452591
DE
89222008-10-06 Doug Evans <dje@google.com>
8923
8924 * gdb.dwarf2/dw2-cu-size.exp: New file.
8925 * gdb.dwarf2/dw2-cu-size.S: New file.
8926
8927 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8928 .Ltype_int for clarity.
8929
4fc5b208
PP
89302008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8931
8932 PR gdb/2384:
8933 * gdb.cp/gdb2384.exp: Extended to test more cases.
8934 * gdb.cp/gdb2384.cc: Likewise.
8935 * gdb.cp/gdb2384-base.h: Likewise.
8936 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 8937
d78df370
JK
89382008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8939
8940 * gdb.base/maint.exp (maint print type): Remove printing
8941 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8942
9a044a89
TT
89432008-09-30 Tom Tromey <tromey@redhat.com>
8944
8945 * gdb.base/macscp.exp: Add completion tests.
8946 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8947 (TWENTY_THREE): Likewise.
8948 (FORTY_EIGHT): Likewise.
8949
506800a9
TT
89502008-09-30 Tom Tromey <tromey@redhat.com>
8951
8952 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8953 everywhere.
8954 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8955
1a6f01b5
JK
89562008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8957
8958 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8959 testcase is derived from. Fix racy dependency on an expected PID
8960 number. No longer support the testcase on Linux kernel 2.4.x.
8961
2fae03e8
TT
89622008-09-27 Tom Tromey <tromey@redhat.com>
8963
8964 * gdb.base/macscp.exp: Add tests for stringification, splicing,
8965 and varargs.
8966
1ad15515
PA
89672008-09-22 Pedro Alves <pedro@codesourcery.com>
8968
8969 * lib/mi-support.exp (mi_expect_interrupt): New.
8970 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8971 from gdb.mi/mi-nonstop.exp.
8972 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8973 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8974 lib/mi-support.exp.
8975 Use mi_check_thread_states throughout. Avoid ".*" and do not
8976 require an anchor after -exec-run.
8977
d0b76dc6
DJ
89782008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
8979
8980 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8981 stop is pending. Avoid ".*" when two stops are pending.
8982 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8983 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8984 newlines in fullnames.
8985 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8986 (mi_expect_stop): Update comments. Only anchor in sync mode.
8987 Do not match newlines.
8988 (mi_send_resuming_command_raw): Always return status.
8989 (mi_get_stop_line): Do not match more than one line by accident.
8990 Only anchor in sync mode.
8991 (mi_run_inline_test): If -exec-next fails, give up.
8992
9990c830
UW
89932008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8994
8995 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8996 on SPU.
8997
ebcf6f00
JB
89982008-09-10 Joel Brobecker <brobecker@adacore.com>
8999
9000 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9001
b6db24e5
JB
90022008-09-10 Joel Brobecker <brobecker@adacore.com>
9003
9004 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9005 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9006 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9007 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9008 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9009 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9010 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9011 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9012 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9013 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9014 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9015 Include the "= " sequence in the expected output of print tests.
9016
2bf448e0
JB
90172008-09-10 Joel Brobecker <brobecker@adacore.com>
9018
9019 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9020 description for boolean types.
9021
d51fd4c8
PA
90222008-09-09 Pedro Alves <pedro@codesourcery.com>
9023
9024 * gdb.base/hook-stop-continue.c: New.
9025 * gdb.base/hook-stop-continue.exp: New.
9026
694182d2
DJ
90272008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9028
9029 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9030
3b8a7fc0
JG
90312008-09-08 Jerome Guitton <guitton@adacore.com>
9032
9033 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9034 (stack_check_probe_2, stack_check_probe_loop_1)
9035 (stack_check_probe_loop_2): New functions.
9036 (main): Add call to these new functions.
9037 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9038 functions, check that the breakpoint is inserted at the appropriate
9039 location.
9040 (insert_breakpoint): Slightly refine this procedure so that it can
9041 be called several times in the test.
9042
96cc0ae8
JG
90432008-09-08 Jerome Guitton <guitton@adacore.com>
9044
9045 * gdb.base/stack-checking.c: New file.
9046 * gdb.base/stack-checking.exp: New file.
9047
1f08b409
TJB
90482008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9049
9050 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9051 * gdb.arch/altivec-regs.exp: Likewise.
9052 * gdb.arch/vsx-regs.exp: Likewise.
9053
3099e1c4
TJB
90542008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9055
9056 * gdb.arch/ppc-fp.exp: New file.
9057 * gdb.arch/ppc-fp.c: New file.
9058
cc69bfc1
PP
90592008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9060
9061 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9062 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9063
b02a33db
MS
90642008-09-04 Michael Snyder <msnyder@vmware.com>
9065
9066 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9067 as "at" (for non-debug functions such as _start).
9068
2992cbe0
UW
90692008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9070
9071 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9072 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9073 software watchpoints.
9074 * gdb.base/watch_thread_num.exp: Likewise.
9075
514f746b
AR
90762008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9077
9078 * gdb.arch/i386-bp_permanent.exp: New test.
9079
876cecd0
TT
90802008-08-24 Tom Tromey <tromey@redhat.com>
9081
9082 * gdb.base/maint.exp: Update "maint print type".
9083
80f73d71
VP
90842008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9085
9086 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9087 support. Adjust the order of "*running" notifications.
9088 * gdb.mi/non-stop.c: Don't cast from int to void* and
9089 back.
9090
d9c78d7d
MK
90912008-08-20 Mark Kettenis <kettenis@gnu.org>
9092
9093 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9094 expect to find it in the "info frame" output.
9095
97a2d1d3
DJ
90962008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9097
9098 * gdb.base/interp.exp: Always consume both prompts.
9099
b96e2927
PA
91002008-08-20 Pedro Alves <pedro@codesourcery.com>
9101
9102 * gdb.base/pending.exp: Test pending breakpoints without symbols
9103 loaded.
9104
8cf6e61a
VP
91052008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9106
9107 * lib/mi-support.exp (mi_expect_stop): Produce
9108 more details on failures.
9109 * gdb.mi/mi-nonstop.exp: New.
9110 * gdb.mi/non-stop.c: New.
9111
c6ebd6cf
VP
91122008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9113
a9c64011
AS
9114 * gdb.mi/mi-async.exp: Use 'set target-async'.
9115 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9116
46a9b8ed
DJ
91172008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9118
9119 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9120
44feb3ce
TT
91212008-08-17 Tom Tromey <tromey@redhat.com>
9122
9123 * gdb.base/help.exp (help catch): Rewrite.
9124
311a4e6b
TJB
91252008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9126
9127 * gdb.base/define.exp: Test indented command documentation.
9128 * gdb.python/python.exp: Test indented multi-line command.
9129
604c2f83
LM
91302008-08-15 Luis Machado <luisgpm@br.ibm.com>
9131
9132 * testsuite/gdb.arch/vsx-regs.c: New source file.
9133 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9134 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9135
886a217c
TT
91362008-08-14 Tom Tromey <tromey@redhat.com>
9137
9138 * gdb.base/macscp.exp: Add regression test for "macro define" or
9139 "macro undef" with no arguments.
9140
c814a4f3
PP
91412008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9142
9143 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9144
12ab8a60
UW
91452008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9146
9147 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9148
d57a3c85
TJB
91492008-08-06 Tom Tromey <tromey@redhat.com>
9150
9151 * gdb.python/python.exp: New file.
9152
c7b778ff
JK
91532008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9154
9155 Fix for PR gdb/1543.
9156 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9157 $LOCATION.
9158 (location): New variable.
9159 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9160 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9161 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9162 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9163 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9164 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9165 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9166 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9167 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9168 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9169 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9170 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9171 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9172 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9173 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9174 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9175 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9176 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9177 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9178 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9179 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9180 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9181 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9182 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9183 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9184 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9185 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9186 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9187 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9188 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9189 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9190 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9191 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9192 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9193 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9194 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9195 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9196 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9197 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9198 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9199 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9200 gdb.base/type-opaque.exp, gdb.base/until.exp,
9201 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9202 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9203 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9204 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9205 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9206 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9207 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9208 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9209 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9210 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9211 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9212 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9213 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9214 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9215 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9216 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9217 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9218 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9219 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9220 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9221 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9222 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9223 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9224 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9225 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9226 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9227 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9228 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9229 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9230 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9231 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9232 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9233 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9234 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9235 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9236 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9237 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9238 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9239 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9240 to bug-gdb@prep.ai.mit.edu .
9241
5e06a3d1
VP
92422008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9243
9244 * lib/mi-support.exp (mi_load_shlibs): New.
9245 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9246
9d81d21b
VP
92472008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9248
9249 * lib/mi-support.exp (get_mi_thread_list)
9250 (check_mi_and_console_threads): New, moved from ...
9251 * gdb.mi/mi-pthread.exp: ...here.
9252 * gdb.mi/gdb669.exp (get_mi_thread_list)
9253 (check_mi_and_console_threads): Delete.
9254 * gdb.mi/mi2-pthread.exp: Likewise.
9255
bae98fe0
TT
92562008-07-28 Tom Tromey <tromey@redhat.com>
9257
9258 * Makefile.in (just-check): Remove. Move body to...
9259 (check): ... here.
9260
57380f4e
DJ
92612008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9262
9263 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9264 Add a test for duplicated SIGINTs.
9265
e09490f1
DJ
92662008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9267
9268 * gdb.threads/schedlock.exp (get_args): Update to work for any
9269 value of NUM.
9270 (Top level): Report the number of threads that did not resume.
9271
6387b45f
DJ
92722008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9273
9274 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9275
62f64ff2
DJ
92762008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9277
9278 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9279 non-MI prompt.
9280
fa8de41e
TT
92812008-07-26 Tom Tromey <tromey@redhat.com>
9282
9283 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9284 (function_struct, function_struct_ptr): New globals.
9285 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9286 function pointer in a struct.
9287
ccb3ac8a
TT
92882008-07-26 Tom Tromey <tromey@redhat.com>
9289
9290 * gdb.base/macscp.exp: Add test for macro lexing bug.
9291
d7d9f01e
TT
92922008-07-18 Tom Tromey <tromey@redhat.com>
9293
9294 * gdb.base/macscp.exp: Add macro tests.
9295
9bf07184
PP
92962008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9297
9298 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9299
becf6477
PP
93002008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9301
9302 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9303
0709f7d3
PP
93042008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9305
9306 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 9307
7093c834
PP
93082008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9309
9310 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 9311
b432ffe3
JK
93122008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9313
9314 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9315
b1a268e5
VP
93162008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9317
9318 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9319
e2995f8e
KB
93202008-07-11 Kevin Buettner <kevinb@redhat.com>
9321
9322 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9323 of regexp to account for changes made to GDB in the printing of
9324 byte vectors.
9325
14032a66
TT
93262008-07-11 Tom Tromey <tromey@redhat.com>
9327
9328 * gdb.base/completion.exp: Add 'help' completion test.
9329
981505ef
JK
93302008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9331
9332 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9333
10568435
JK
93342008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9335
9336 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9337
4487aabf
PA
93382008-07-09 Pedro Alves <pedro@codesourcery.com>
9339
9340 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9341
a4a9b1c4
PA
93422008-07-09 Pedro Alves <pedro@codesourcery.com>
9343
9344 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9345
3c3185ac
JK
93462008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9347
9348 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9349
7ebd49dc
VP
93502008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9351
9352 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9353 previous commit. Add a comment.
9354
84e46146
PA
93552008-06-28 Pedro Alves <pedro@codesourcery.com>
9356
9357 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9358
0f8d4a2f
VP
93592008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9360
9361 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9362
f747e0ce
PA
93632008-06-27 Pedro Alves <pedro@codesourcery.com>
9364
9365 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9366 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9367 compiling an executable, link in an object that forces unbuffered
9368 output.
9369 * lib/set_unbuffered_mode.c: New file.
9370
734a5c36
JK
93712008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9372
9373 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9374
a2840c35
VP
93752008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9376
a9c64011
AS
9377 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9378 mi_expect_stop.
9379 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9380 Demand that *running is output.
9381 (detect_async): Perform checking every time.
9382 (mi_send_resuming_command): Extract everything into...
9383 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
9384 (mi_expect_stop): Don't accept any output before *stopped.
9385
6ae37fef
VP
93862008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9387
9388 Robustify mi-simplerun.
a9c64011
AS
9389 * gdb.mi/basics.c (main): Add a call to sleep.
9390 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9391 * gdb.mi/mi2-cli.exp: Likewise.
9392 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 9393
b4aa76f0 93942008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
9395
9396 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9397
e1ac3328
VP
93982008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9399
a9c64011
AS
9400 * gdb.mi/mi-console.exp: Adjust.
9401 * gdb.mi/mi-syn-frame.exp: Adjust.
9402 * gdb.mi/mi2-console.exp: Adjust.
9403 * gdb.mi/mi2-syn-frame.exp: Adjust.
9404 * lib/mi-support.exp (mi_run_cmd): Adjust.
9405 (mi_send_resuming_command): Adjust.
e1ac3328 9406
f7f9a841
VP
94072008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9408
9409 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
9410 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9411 testing of stopped.
9412 * gdb.mi/mi2-syn-frame.exp: Likewise.
9413 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9414 (async, detect_async): New.
9415 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9416 depending on if we're running in sync or async mode.
f7f9a841 9417
37cd5d19
TT
94182008-06-09 Tom Tromey <tromey@redhat.com>
9419
9420 * gdb.base/completion.exp: New tests for field name completion
9421 with spaces, and field name completion with '->'.
9422
65d12d83
TT
94232008-06-06 Tom Tromey <tromey@redhat.com>
9424
9425 * gdb.base/break1.c (struct some_struct): New struct.
9426 (values): New global.
9427 * gdb.base/completion.exp: Add field name completion test.
9428
ebfe2e3f
PP
94292008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9430
9431 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9432 to pointer.
9433 * gdb.cp/call-c.cc: Likewise.
9434
bcf6fc3a
NR
94352008-06-06 Nick Roberts <nickrob@snap.net.nz>
9436
9437 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9438 annotation.
9439
49fd4a42 94402008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 9441 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
9442
9443 * gdb.threads/execl.c, gdb.threads/execl1.c,
9444 gdb.threads/execl.exp: New tests.
a9c64011 9445
8a34ac3f
AR
94462008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9447 Daniel Jacobowitz <dan@codesourcery.com>
9448
9449 * gdb.cp/exception.exp: Activate test, make it work with pending
9450 catchpoints.
9451
86ae69ef
JK
94522008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9453
9454 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9455
f7f9ae2c
VP
94562008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9457
a9c64011
AS
9458 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9459 now printed.
9460 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 9461
2a2d4dc3
AS
94622008-05-27 Andreas Schwab <schwab@suse.de>
9463
9464 * gdb.base/frame-args.exp: Handle arguments that are optimized
9465 out.
9466
5099e4d9
LM
94672008-05-26 Luis Machado <luisgpm@br.ibm.com>
9468
9469 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9470 quiet for ppc32 and group options into a single variable.
9471
d9c36a91
JB
94722008-05-23 Joel Brobecker <brobecker@adacore.com>
9473
9474 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9475 of zero-size elements.
9476 * gdb.ada/null_array.exp: Test printing this new array.
9477
103a8671
JK
94782008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9481
07a4cc1a 94822008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
9483
9484 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9485 of the "finish" command.
9486
55f996a7
NR
94872008-05-21 Nick Roberts <nickrob@snap.net.nz>
9488
9489 * gdb.base/annota1.exp: Test for new annotation.
9490
907fc202
UW
94912008-05-16 Pedro Alves <pedro@codesourcery.com>
9492
9493 * gdb.base/fixsection.exp: New file.
9494 * gdb.base/fixsection0.c: New file.
9495 * gdb.base/fixsection1.c: New file.
9496
e8f97270
UW
94972008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9498
9499 * gdb.base/annota1.exp: Accept printf@... in place of printf.
9500 * gdb.base/annota3.exp: Likewise.
9501
ac0bb574
NF
95022008-05-13 Nathan Froyd <froydnj@codesourcery.com>
9503
9504 * gdb.base/watch_thread_num.exp: Don't run tests that require
9505 watchpoints if the target doesn't support them.
9506
6fadd07a
DE
95072008-05-12 Doug Evans <dje@google.com>
9508
9509 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9510
6e9a4a30
JB
95112008-05-09 Joel Brobecker <brobecker@adacore.com>
9512
9513 * gdb.ada/assign_1.exp: New testcase.
9514
08388c79
DE
95152008-05-09 Doug Evans <dje@google.com>
9516
a3c83fae
DE
9517 * gdb.base/find.exp: New file.
9518 * gdb.base/find.c: New file.
08388c79 9519
bd5ddfe8
DJ
95202008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
9521
9522 * gdb.base/commands.exp (watchpoint_command_test): Handle
9523 gdb,no_hardware_watchpoints.
9524 * gdb.base/float.exp: Allow ARM targets without floating point.
9525 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9526
b5dd68e2 95272008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 9528 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
9529
9530 * gdb.ada/lang_switch: New test program.
9531 * gdb.ada/lang_switch.exp: New testcase.
9532
382d13d1
DE
95332008-05-05 Doug Evans <dje@google.com>
9534
9535 * gdb.base/help.exp (disassemble): Update expected help text.
9536
9dd789d0
PA
95372008-05-04 Pedro Alves <pedro@codesourcery.com>
9538
9539 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9540
611c83ae
PA
95412008-05-04 Pedro Alves <pedro@codesourcery.com>
9542
9543 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9544 different times.
9545
ff013f42
JK
95462008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9547
9548 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9549 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9550 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9551 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9552
96dff6a2
VP
95532008-05-04 Vladimir Prus <vladimir@codesourcery.com>
9554
9555 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9556 notification to appear.
9557
55cd6f92
DJ
95582008-05-04 Daniel Jacobowitz <dan@debian.org>
9559
9560 * gdb.base/fullname.c: New file.
9561 * gdb.base/fullname.exp: New file.
9562 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9563
d705c43c
PA
95642008-05-03 Pedro Alves <pedro@codesourcery.com>
9565
9566 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9567 expressions with macros.
9568
333222e1
JK
95692008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9570
9571 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9572
5ac01682
DJ
95732008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
9574
9575 * gdb.base/completion.exp: Handle lack of other symbols beginning
9576 with "a".
9577
9578 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9579
237fc4c9
PA
95802008-05-02 Jim Blandy <jimb@codesourcery.com>
9581
9582 * gdb.asm/asmsrc1.s: Add scratch space.
9583
ed5e9466
DJ
95842008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9585 Daniel Jacobowitz <dan@codesourcery.com>
9586
9587 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9588 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9589 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9590
b39cc962
DJ
95912007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
9592
9593 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9594
36d520f5
JB
95952008-05-01 Joel Brobecker <brobecker@adacore.com>
9596
9597 * gdb.base/info-target.exp: New testcase.
9598
8d4e3071
DJ
95992008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9600
9601 * gdb.cp/hang.exp: Use .cc instead of .C.
9602 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9603 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9604
6f3f3097
DJ
96052008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9606
9607 * gdb.base/gdb1250.exp: Remove perror.
9608 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9609
5550a914
PA
96102008-04-30 Pedro Alves <pedro@codesourcery.com>
9611
9612 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9613 .2byte.
9614
d848e687
DJ
96152008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
9616
9617 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
9618 (maybe_kfail): New.
9619
93b5768b
PA
96202008-04-25 Pedro Alves <pedro@codesourcery.com>
9621
9622 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9623
721c02de
VP
96242008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9625
a9c64011
AS
9626 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9627 * gdb.mi/mi2-syn-frame.exp: Likewise.
9628 * lib/mi-support.exp: Likewise.
721c02de 9629
74960c60
VP
96302008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9631
9632 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9633 to specify regexp for the location to stop at.
9634 * gdb.base/break-always.c: New.
9635 * gdb.base/break-always.exp: New.
9636
d24317b4
VP
96372008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9638
9639 * lib/mi-support.exp (mi_runto_helper): Adjust
9640 for the original-location field.
9641 (mi_create_breakpoint, mi_list_breakpoints): New.
9642 * gdb.mi/mi-break.exp: Adjust.
9643 * gdb.mi/mi2-break.exp: Adjust.
9644 * gdb.mi/mi-pending.exp: Adjust.
9645 * gdb.mi/mi-simplerun.exp: Adjust.
9646 * gdb.mi/mi2-simplerun.exp: Adjust.
9647 * gdb.mi/mi-syn-frame.exp: Adjust.
9648 * gdb.mi/mi2-syn-frame.exp: Adjust.
9649 * gdb.mi/mi-until.exp: Adjust.
9650 * gdb.mi/mi2-until.exp: Adjust.
9651 * gdb.mi/mi-var-display.exp: Adjust.
9652 * gdb.mi/mi2-var-display.exp: Adjust.
9653 * gdb.mi/mi-watch.exp: Adjust.
9654 * gdb.mi/mi2-watch.exp: Adjust.
9655
fdc59709 96562008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 9657
a9c64011
AS
9658 * aclocal.m4: Add override.m4.
9659 * configure: Regenerate.
fdc59709 9660
8e91f023
VP
96612008-04-19 Vladimir Prus <vladimir@codesourcery.com>
9662
9663 * gdb.mi/var-cmd.c (do_at_tests): Verify that
9664 '-var-update --all-values' reports new value even the type
9665 of a variable object has changed.
9666
233a11ab
CS
96672008-04-18 Craig Silverstein <csilvers@google.com>
9668
9669 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9670 files.
d24317b4 9671
9c1137ad
JB
96722008-04-18 Joel Brobecker <brobecker@adacore.com>
9673
9674 * gdb.ada/atomic_enum: New test program.
9675 * gdb.ada/atomic_enum.exp: New testcase.
9676
66d0bbc7
DE
96772008-04-17 Doug Evans <dje@google.com>
9678
9679 * gdb.opt/Makefile.in: Fix whitespace.
9680
100906b0
UW
96812008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
9682
9683 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9684
4584e32e
DE
96852008-04-17 Doug Evans <dje@google.com>
9686
9687 * gdb.base/hashline1.exp: New testcase.
9688 * gdb.base/hashline2.exp: New testcase.
9689 * gdb.base/hashline2.exp: New testcase.
9690
0a320680
PA
96912008-04-17 Pedro Alves <pedro@codesourcery.com>
9692
9693 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9694
18ac113b
AR
96952008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
9696
9697 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9698 temporary breakpoint to match "Temporary breakpoint".
9699 * gdb.base/break.exp (delete_breakpoints): Likewise.
9700 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9701 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9702 * gdb.base/display.exp: Likewise.
9703 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9704 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9705 * gdb.base/restore.exp (restore_tests): Likewise.
9706 * gdb.base/sepdebug.exp: Likewise.
9707 * gdb.base/watchpoint.exp: Likewise.
9708 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9709 * gdb.mi/mi-pending.exp: Likewise.
9710 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9711 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9712 * gdb.mi/mi-var-cmd.exp: Likewise.
9713 * gdb.mi/mi-var-display.exp: Likewise.
9714 * gdb.mi/mi2-cli.exp: Likewise.
9715 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9716 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9717 * gdb.mi/mi2-var-display.exp: Likewise.
9718 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9719 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9720 new "disp" field.
a9c64011 9721 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
9722 reason. This is to support fix for PR2424.
9723
add38693
JK
97242008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9725
9726 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9727
fcacd99f
VP
97282008-04-13 Vladimir Prus <vladimir@codesourcery.com>
9729
9730 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 9731 field. Add more floating varobj tests.
fcacd99f 9732 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
9733 field.
9734 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9735 (main): Call do_at_tests.
9736 * lib/mi-support.exp (mi_create_floating_varobj)
9737 (mi_varobj_update_with_type_change): New.
fcacd99f 9738
de051565
MK
97392008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
9740
9741 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9742 option of -var-evaluate-expression.
9743 * gdb.mi/mi2-var-display.exp: Likewise.
9744
dbc52822
VP
97452008-04-07 Vladimir Prus <vladimir@codesourcery.com>
9746
9747 Introduce test setup helpers.
a9c64011
AS
9748 * lib/gdb.exp (build_executable, clean_restart)
9749 (prepare_for_testing): New.
9750 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9751 * gdb.base/return.exp: Likewise.
9752 * gdb.base/ending-run.exp: Likewise.
dbc52822 9753
473591da
NR
97542008-04-07 Nick Roberts <nickrob@snap.net.nz>
9755
9756 * gdb.mi/mi-async.exp: New test for asynchronous Machine
9757 Interface (MI) responses.
9758
2b2d9e11
VP
97592008-04-06 Vladimir Prus <vladimir@codesourcery.com>
9760
a9c64011
AS
9761 * gdb.cp/breakpoint.cc: New code to test conditions involving
9762 member variables.
9763 * gdb.cp/breakpoint.exp: Test condition involving member
9764 variables.
2b2d9e11 9765
bb378428
VP
97662008-04-05 Vladimir Prus <vladimir@codesourcery.com>
9767
9768 * lib/mi-support.exp (mi_expect_stop): New.
9769 (mi_run_cmd): Change the
9770 token. Use mi_send_resuming_command, use
9771 mi_expect_stop.
9772 (mi_execute_to_helper): Rename to mi_execute_to.
9773 (mi_send_resuming_command): Add more error patterns.
9774 (mi_wait_for_stop): Renamed to...
9775 (mi_get_stop_line): ...this.
9776 (mi_run_inline_test): Adjust.
9777
9778 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9779 * gdb.mi/mi-console.exp: Likewise.
9780 * gdb.mi/mi-pending.exp: Likewise.
9781 * gdb.mi/mi-simplerun.exp: Likewise.
9782 * gdb.mi/mi-stack.exp: Likewise.
9783 * gdb.mi/mi-stepi.exp: Likewise.
9784 * gdb.mi/mi-syn-frame.exp: Add comment.
9785 * gdb.mi/mi-until.exp: Likewise.
9786 * gdb.mi/mi-var-display.exp: Likewise.
9787 * gdb.mi/mi-watch.exp: Likewise.
9788 * gdb.mi/mi2-cli.exp: Likewise.
9789 * gdb.mi/mi2-console.exp: Likewise.
9790 * gdb.mi/mi2-simplerun.exp: Likewise.
9791 * gdb.mi/mi2-stack.exp: Likewise.
9792 * gdb.mi/mi2-stepi.exp: Likewise.
9793 * gdb.mi/mi2-until.exp: Likewise.
9794 * gdb.mi/mi2-var-display.exp: Likewise.
9795 * gdb.mi/mi2-watch.exp: Likewise.
9796
62172bb9
UW
97972008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9798
9799 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9800
9801 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9802
a13e061a
PA
98032008-04-04 Pedro Alves <pedro@codesourcery.com>
9804
9805 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9806 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9807 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9808 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9809 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9810 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9811 expect an mi error duplicated in stderr.
9812
eae06beb
JB
98132008-04-03 Joel Brobecker <brobecker@adacore.com>
9814
9815 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9816 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9817 Add a couple of tests that verify the behavior when the new setting
9818 is set to "cancel" and "all".
9819 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9820 "ask" before we start the testing.
9821
79c6ced6
AR
98222008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
9823
9824 * gdb.cp/casts.cc: Add class reference variables.
9825 * gdb.cp/casts.exp: New test cases for up/down casting references.
9826
6c2d1a6b
MK
98272008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
9828
9829 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9830 instead of beginning to make an extra test pass.
9831 * gdb.mi/mi2-var-display.exp: Likewise.
9832
55b411d9
MR
98332008-03-31 Maciej W. Rozycki <macro@mips.com>
9834
9835 * gdb.base/break.exp: Mark failures as such. Fix formatting.
9836
c6140da2
MD
98372008-03-31 Markus Deuling <deuling@de.ibm.com>
9838 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9839
9840 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9841 value. Add xfail for older kernels.
9842
79732189
AR
98432008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
9844
9845 Bring mi-support in line with gdb.exp.
9846 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9847 (mi_gdb_start): New function.
9848
33c3676e
MR
98492008-03-28 Maciej W. Rozycki <macro@mips.com>
9850
9851 * gdb.mi/mi-var-cmd.exp: Fix a typo.
9852
92e28119
VP
98532008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9854
9855 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9856 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 9857
9e8e3afe
VP
98582008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9859
9860 * lib/mi-support.exp (mi_create_varobj_checked): New.
9861 (mi_list_varobj_children): Allow to check for a
9862 value.
9863 (mi_list_array_varobj_children): New.
9864
9865 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9866 and mi_list_varobj_children, as opposed to hardcoding
9867 expected strings.
9868 * gdb.mi/gdb701.exp: Likewise.
9869 * gdb.mi/gdb792.exp: Likewise.
9870 * gdb.mi/mi-var-block.exp: Likewise.
9871 * gdb.mi/mi-var-cmd.exp: Likewise.
9872 * gdb.mi/mi-var-invalidate.exp: Likewise.
9873 * gdb.mi/mi2-var-block.exp: Likewise.
9874 * gdb.mi/mi2-var-child.exp: Likewise.
9875 * gdb.mi/mi2-var-cmd.exp: Likewise.
9876 * gdb.mi/mi2-var-display.exp: Likewise.
9877
9df50351
JK
98782008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9879
9880 Fix random false FAILs on i386.
9881 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9882
31e5d73a
DJ
98832008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9884
9885 PR gdb/544
9886 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9887
12f4afab
DJ
98882008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9889
9890 PR gdb/544
9891 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9892
b562a0cb
DJ
98932008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9894
9895 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9896 fixed PR gdb/544.
9897
17faa917
DJ
98982008-03-21 Pedro Alves <pedro@codesourcery.com>
9899
9900 * gdb.threads/fork-child-threads.exp: Test next over fork.
9901
6214f497
DJ
99022008-03-21 Chris Demetriou <cgd@google.com>
9903
9904 * gdb.base/break.exp (rbreak junk): New test for rbreak
9905 "Junk at end of arguments" issue.
9906
63092375
DJ
99072008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9908
9909 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9910 *& to work on created array elements.
9911 (Top level): Test print $pc with a file. Test string operations
9912 without a target.
9913 * gdb.base/ptype.exp: Do not expect *& to work on created array
9914 elements.
9915
b21991b0
DJ
99162008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9917
9918 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9919 gdb.threads/staticthreads.exp: Update exit query.
9920
c4b347c7
SL
99212008-03-07 Sandra Loosemore <sandra@codesourcery.com>
9922
9923 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9924
fa4727a6
DJ
99252008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
9926
9927 * gdb.base/watchpoint.c (global_ptr, func4): New.
9928 (main): Call func4.
9929 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9930 (test_inaccessible_watchpoint): New.
9931
2f34202f
MR
99322008-02-29 Maciej W. Rozycki <macro@mips.com>
9933
9934 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9935 select the largest.
9936
0d6ba1b1
DJ
99372008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9938
9939 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9940 frames-invalid annotations.
9941
e691325a
PM
99422008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
9943
a9c64011 9944 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 9945
f85b5ecc
DE
99462008-02-27 Doug Evans <dje@google.com>
9947
9948 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9949 for bug 1738.
9950 (breakpoint_to_handler_entry): Ditto.
9951
b40e7bf3
JB
99522008-02-27 Joel Brobecker <brobecker@adacore.com>
9953
9954 * gdb.base/ending-run.exp: Use the first line of code inside
9955 function body to test breakpoints.
9956 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9957 location where the breakpoint is inserted when using the line
9958 where a function is declared. Fix typo in the description of
9959 one of the tests.
9960 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9961
2faca73a
PM
99622008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9963
9964 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 9965 tests.
2faca73a 9966
6f439c36
PM
99672008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9968
9969 * gdb.base/args.exp: avoid same output for tests
9970 with single quotes.
9971
54e52265
VP
99722008-02-26 Vladimir Prus <vladimir@codesourcery.com>
9973
a9c64011
AS
9974 * gdb.base/annota1.exp: Adjust for 'info break'
9975 format changes.
9976 * gdb.base/annota3.exp: Likewise.
9977 * gdb.base/break.exp: Likewise.
9978 * gdb.base/condbreak.exp: Likewise.
9979 * gdb.base/pending.exp: Likewise.
9980 * gdb.base/sepdebug.exp: Likewise.
9981 * gdb.base/unload.exp: Likewise.
9982 * gdb.cp/ovldbreak.exp: Likewise.
9983 * gdb.mi/mi-pending.exp: Likewise.
54e52265 9984
897b09ca
DE
99852008-02-07 Doug Evans <dje@google.com>
9986
9987 * gdb.cp/mb-inline.exp: New.
9988 * gdb.cp/mb-inline.h: New.
9989 * gdb.cp/mb-inline1.cc: New.
9990 * gdb.cp/mb-inline2.cc: New.
9991
b1c32d35
PM
99922008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
9993
9994 * gdb.pascal/floats.pas: New test program.
9995 * gdb.pascal/floats.exp: New testcase.
9996
1a4ca44a
TJB
99972008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9998
9999 * gdb.base/callfuncs.c (t_float_many_args): New function.
10000 (t_double_many_args): New function.
10001 * gdb.base/callfuncs.exp: Add tests for exceeding float
10002 and double parameters passed through the stack.
10003
439048e8
JB
100042008-02-05 Joel Brobecker <brobecker@adacore.com>
10005
10006 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10007 gdb.ada/complete/foo.adb: New files.
10008 * gdb.ada/complete.exp: New testcase.
10009
81fe8080
DE
100102008-02-03 Doug Evans <dje@google.com>
10011
301f0ecf
DE
10012 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10013
81fe8080
DE
10014 * gdb.cp/gdb2384.exp: New file.
10015 * gdb.cp/gdb2384.cc: New file.
10016 * gdb.cp/gdb2384-base.h: New file.
10017 * gdb.cp/gdb2384-base.cc: New file.
10018
4b071aec
DE
100192008-02-02 Doug Evans <dje@google.com>
10020
10021 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10022
61137ba6
JB
100232007-02-01 Joel Brobecker <brobecker@adacore.com>
10024
10025 * gdb.ada/sym_print_name: New test program.
10026 * gdb.ada/sym_print_name.exp: New testcase.
10027
100282007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10029
10030 * gdb.ada/nested/hello.adb: New file.
10031 * gdb.ada/nested.exp: New testcase.
10032 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10033
98deb0da
VP
100342008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10035
10036 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10037 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10038 don't cause future evaluations of function to report
10039 creation of internal breakpoints.
98deb0da 10040
723a2275
VP
100412008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10042
10043 * gdb.mi/mi-break.exp (test_error): New.
10044 Call it.
10045
fb546a2f
LM
100462008-01-31 Luis Machado <luisgpm@br.ibm.com>
10047
10048 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10049 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10050
2d8fd90a
PM
100512008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10052
10053 * gdb.pascal/integers.pas: New test program.
10054 * gdb.pascal/integers.exp: New testcase.
10055
a7fa0ded
PM
100562008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10057
10058 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10059
5e1a1926
TJB
100602008-01-30 Luis Machado <luisgpm@br.ibm.com>
10061
10062 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10063 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10064
8d04f9f0
JB
100652008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10066
10067 * gdb.ada/formatted_ref: New test program.
10068 * gdb.ada/formatted_ref.exp: New testcase.
10069
10070 * gdb.cp/formatted-ref.cc: New file.
10071 * gdb.cp/formatted-ref.exp: New testcase.
10072
ce75a98f
JB
100732008-01-30 Joel Brobecker <brobecker@adacore.com>
10074
10075 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10076
e835f6bf
NR
100772008-01-30 Nick Roberts <nickrob@snap.net.nz>
10078
10079 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10080 (test_file_list_exec_source_file): Update to new macro-info field.
10081
d118ef87
PH
100822008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10083
10084 * gdb.ada/exprs: New test program.
10085 * gdb.ada/exprs.exp: New testcase.
10086
7d35ab09
TJB
100872008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10088
10089 * dfp-test.c (DELTA, DELTA_B): New definitions.
10090 (double_val1, double_val2, double_val3, double_val4, double_val5,
10091 double_val6, double_val7, double_val8, double_val9, double_val10,
10092 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10093 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10094 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10095 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10096 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10097 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10098 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10099 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10100 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10101 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10102 dec128_val16): New global variables.
10103 (decimal_dec128_align): New function.
10104 (decimal_mixed): Likewise.
10105 (decimal_many_args_dec32): Likewise.
10106 (decimal_many_args_dec64): Likewise.
10107 (decimal_many_args_dec128): Likewise.
10108 (decimal_many_args_mixed): Likewise.
10109 * dfp-test.exp: Add tests calling new inferior functions.
10110
2d717e4f
DJ
101112008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10112
10113 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10114 gdb.server/ext-run.exp: New files.
10115 * lib/gdbserver-support.exp (gdbserver_download): New.
10116 (gdbserver_start): New. Update gdbserver expected
10117 output.
10118 (gdbserver_spawn): Use them.
10119 (gdbserver_start_extended): New.
10120
e85a822c
DJ
101212008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10122
10123 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10124 Run on GNU/Linux.
10125 (do_exec_tests): Check for systems which do not support catchpoints.
10126 Do not match START.
10127 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10128 Run on GNU/Linux. Enable verbose output.
10129 (check_fork_catchpoints): New.
10130 (explicit_fork_child_follow, catch_fork_child_follow)
10131 (tcatch_fork_parent_follow): Update expected messages.
10132 (do_fork_tests): Use check_fork_catchpoints.
10133 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10134 Run on GNU/Linux. Enable verbose output.
10135 (check_vfork_catchpoints): New.
10136 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10137 expected messages.
10138 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10139
401ea829
JB
101402008-01-29 Jim Blandy <jimb@red-bean.com>
10141
10142 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10143 host' errors.
10144 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10145
aceaf3ad
JB
101462008-01-29 Jim Blandy <jimb@red-bean.com>
10147
10148 * gdb.threads/sigthread.c: Use barriers to ensure that
10149 child_thread and child_thread_two are always initialized before we
10150 start to use them.
10151
a5606eee
VP
101522008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10153
10154 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10155 * gdb.base/watchpoint-solib.c: New.
10156 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10157
c55a82bb
PM
101582008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10159
10160 * gdb.base/gdb1056.exp: Add unsigned integer test.
10161
0993fe05
DE
101622008-01-28 Doug Evans <dje@google.com>
10163
10164 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10165
4fe42e7f
JB
101662008-01-27 Jim Blandy <jimb@codesourcery.com>
10167
c7a69933
JB
10168 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10169
4fe42e7f
JB
10170 * gdb.base/expand-psymtabs.exp: Doc fix.
10171
5def8285
MK
101722008-01-26 Mark Kettenis <kettenis@gnu.org>
10173
10174 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10175
5313c911
NR
101762008-01-24 Nick Roberts <nickrob@snap.net.nz>
10177
a9c64011 10178 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10179 -var-set-format.
10180
93815fbf
VP
101812008-01-23 Chris Demetriou <cgd@google.com>
10182
10183 * gdb.threads/thread_events.c: New testcase source file.
10184 * gdb.threads/thread_events.exp: New testcase expect file.
10185
467a88ee
NR
101862008-01-23 Nick Roberts <nickrob@snap.net.nz>
10187
10188 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10189
10190 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10191 -var-set-format.
10192
d8f82aba
DJ
101932008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10194 Vladimir Prus <vladimir@codesourcery.com>
10195
10196 * gdb.base/float.exp: Allow missing floating point for m68k and
10197 PowerPC.
10198
60c46647
VP
101992008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10200
10201 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10202 ignore count.
10203 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10204 * gdb.mi/mi-cli.exp: Adjust.
10205 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10206
c7dd36a1
PA
102072008-01-17 Pedro Alves <pedro@codesourcery.com>
10208
10209 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10210 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10211 with dummy_ptr's address.
10212 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10213 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10214 all targets.
10215 * gdb.mi/mi2-var-child.exp: Likewise.
10216
39d5313e
JB
102172008-01-09 Joel Brobecker <brobecker@adacore.com>
10218
10219 * gdb.ada/null_array: New test program.
10220 * gdb.ada/null_array.exp: New testcase.
10221
0aea4bf3
LM
102222008-01-09 Luis Machado <luisgpm@br.ibm.com>
10223
10224 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10225 with required float modifiers.
10226
0b354900
JB
102272008-01-08 Joel Brobecker <brobecker@adacore.com>
10228
10229 * gdb.ada/funcall_param: New test program.
10230 * gdb.ada/funcall_param.exp: New testcase.
10231
cdb7f5d4
JB
102322008-01-08 Joel Brobecker <brobecker@adacore.com>
10233
10234 * gdb.ada/arrayparam: New test program.
10235 * gdb.ada/arrayparam.exp: New testcase.
10236
88e2547f
JB
102372008-01-08 Joel Brobecker <brobecker@adacore.com>
10238
10239 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10240 landed. Should also fix random failures in the test following it.
10241
f6867ce0
TJB
102422008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10243
10244 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10245 for expressions with decimal float values.
10246 (test_dfp_conversions): New function to test casts to and from
10247 decimal float types.
10248 Call test_dfp_conversions.
10249 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10250 elements.
10251 (main): Initialize ds.float4 and ds.double8 elements.
10252 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10253 string to new error message.
10254 (d64_set_tests): Likewise.
10255 (d128_set_tests): Likewise.
10256 Add tests for expressions with decimal float variables. Add tests for
10257 conversions to and from decimal float types.
10258
f9c11282
JB
102592008-01-05 Joel Brobecker <brobecker@adacore.com>
10260
10261 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10262 * gdb.ada/packed_tagged.exp: New testcase.
10263
0ecbca72
JB
102642008-01-04 Joel Brobecker <brobecker@adacore.com>
10265
10266 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10267 gdb.ada/homonym/homonym_main.adb: New files.
10268 * gdb.ada/homonym.exp: New testcase.
10269
c18d3d89
JB
102702008-01-04 Joel Brobecker <brobecker@adacore.com>
10271
10272 * gdb.ada/packed_array.exp: Add testing of references to
10273 a packed array.
10274
ecc7085b
JB
102752008-01-04 Joel Brobecker <brobecker@adacore.com>
10276
10277 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10278 New files.
10279 * gdb.ada/type_coercion.exp: New testcase.
10280
c474c922
JB
102812008-01-04 Joel Brobecker <brobecker@adacore.com>
10282
10283 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10284 gdb.ada/tagged/foo.adb: New file.
10285 * gdb.ada/tagged.exp: New testcase.
10286
9005b927
JB
102872008-01-04 Joel Brobecker <brobecker@adacore.com>
10288
10289 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10290 gdb.ada/ptype_field/foo.adb: New files.
10291 * gdb.ada/ptype_field.exp: New testcase.
10292
1a6aaad8
JB
102932008-01-03 Joel Brobecker <brobecker@adacore.com>
10294
10295 * gdb.ada/print_pc.exp: New testcase.
10296
0ef22f53
JB
102972008-01-03 Joel Brobecker <brobecker@adacore.com>
10298
10299 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10300 gdb.ada/taft_type/p.adb: New files.
10301 * gdb.ada/taft_type.exp: New testcase.
10302
1689ecf8
JB
103032008-01-03 Joel Brobecker <brobecker@adacore.com>
10304
10305 * gdb.ada/array_bounds/bar.adb: New file.
10306 * gdb.ada/array_bounds.exp: New testcase.
10307
a4d0b9c3
JB
103082008-01-03 Joel Brobecker <brobecker@adacore.com>
10309
10310 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10311 gdb.ada/arrayptr/foo.adb: New files.
10312 * gdb.ada/arrayptr.exp: New testcase.
10313
a31ace00
JB
103142008-01-03 Joel Brobecker <brobecker@adacore.com>
10315
10316 * gdb.base/set-lang-auto.exp: New testcase.
10317
a97fced3
JB
103182008-01-03 Joel Brobecker <brobecker@adacore.com>
10319
10320 * gdb.ada/fun_addr/foo.adb: New file.
10321 * gdb.ada/fun_addr.exp: New testcase.
10322
ef29ce1a
JK
103232008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10324
10325 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10326 New files
10327
0fafefe3
JB
103282008-01-02 Joel Brobecker <brobecker@adacore.com>
10329
10330 * array_subscript_addr/p.adb: New file.
a9c64011 10331 * array_subscript_addr.exp: New testcase.
0fafefe3 10332
c4359f8d
JB
103332008-01-02 Joel Brobecker <brobecker@adacore.com>
10334
a9c64011 10335 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
10336 New files.
10337 * gdb.ada/str_cmp_ref.exp: New testcase.
10338
1aa1b15b
JB
103392008-01-01 Joel Brobecker <brobecker@adacore.com>
10340
10341 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10342 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 10343 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 10344
81c9b2cf
JB
103452008-01-01 Joel Brobecker <brobecker@adacore.com>
10346
10347 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10348 gdb.ada/ref_param/pck.ads: New files.
10349 * gdb.ada/ref_param.exp: New testcase.
10350
319e4674
JB
103512008-01-01 Joel Brobecker <brobecker@adacore.com>
10352
10353 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10354 gdb.ada/interface/foo.adb: New files.
10355 * gdb.ada/interface.exp: New testcase.
10356
ef682c56
JB
103572007-12-31 Jim Blandy <jimb@codesourcery.com>
10358
10359 * gdb.base/multi-forks.exp: Consume all output from child
10360 processes before proceeding to next test.
10361
f6f3eb6c
JB
103622007-12-29 Jim Blandy <jimb@codesourcery.com>
10363
10364 * configure: Regenerated.
10365
f652e42f
JB
103662007-12-27 Joel Brobecker <brobecker@adacore.com>
10367
10368 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10369 gdb.ada/fixed_cmp/fixed.adb: New files.
10370 * gdb.ada/fixed_cmp.exp: New testcase.
10371
6943e596
JB
103722007-12-27 Joel Brobecker <brobecker@adacore.com>
10373
10374 * gdb.ada/boolean_expr.exp: New testcase.
10375
aad9a193
JB
103762007-12-26 Jim Blandy <jimb@codesourcery.com>
10377
10378 * gdb.base/multi-forks.exp: Doc fix.
10379
fb5f3683
JB
103802007-12-26 Joel Brobecker <brobecker@adacore.com>
10381
10382 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10383 * gdb.ada/char_param.exp: Do not compile our test program with
10384 -gnata, this is unnecessary.
10385 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10386
384e4a9c
JB
103872007-12-24 Joel Brobecker <brobecker@adacore.com>
10388
10389 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10390 gdb.ada/print_chars/foo.adb: New files.
10391 * gdb.ada/print_chars.exp: New testcase.
10392
01e044f7
JB
103932007-12-24 Joel Brobecker <brobecker@adacore.com>
10394
10395 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10396 gdb.ada/char_param/foo.adb: New files.
10397 * gdb.ada/char_param.exp: New testcase.
10398
0ce17860
JB
103992007-12-22 Jim Blandy <jimb@codesourcery.com>
10400
10401 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10402 hard-coding source line numbers into the test.
10403 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10404 gdb_get_line_number to find.
10405
919809b9
JB
104062007-12-22 Joel Brobecker <brobecker@adacore.com>
10407
10408 * gdb.base/ptype.c (highest): New struct type.
10409 (the_highest): New variable of that type.
10410 (main): Add dummy assignment to a field of variable the_highest.
10411 * gdb.base/ptype.exp: Test type printing of our new variable.
10412
abc8a88d
PM
104132007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10414
10415 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 10416 and record first explicitly generated thread number.
abc8a88d
PM
10417 Use that thread number for thread specific watchpoint test.
10418 Add iteration number to repetitive tests.
10419
5158f3e3
CES
104202007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10421 Jim Blandy <jimb@codesourcery.com>
10422
10423 * gdb.base/expand-psymtabs.c: New testcase
10424 source file.
10425 * gdb.base/expand-psymtabs.exp: New testcase
10426 expect file.
10427
37e4754d
LM
104282007-12-17 Luis Machado <luisgpm@br.ibm.com>
10429
10430 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10431 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10432
551e5d04
JB
104332007-12-17 Joel Brobecker <brobecker@adacore.com>
10434
10435 * gdb.ada/frame_args/foo.adb: New file.
10436 * gdb.ada/frame_args/pck.ads: New file.
10437 * gdb.ada/frame_args/pck.adb: New file.
10438 * gdb.ada/frame_args.exp: New testcase.
10439
a05ee097
JB
104402007-12-17 Joel Brobecker <brobecker@adacore.com>
10441
10442 * gdb.base/frame-args.c: New file.
10443 * gdb.base/frame-args.exp: New testcase.
10444
c162e8c9 104452007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 10446 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
10447
10448 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10449
afe8ab22 104502007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10451
afe8ab22
VP
10452 * gdb.mi/mi-pending.exp: New.
10453 * gdb.mi/mi-pending.c: New.
10454 * gdb.mi/mi-pendshr.c: New.
10455
dfdfb3ca
JB
104562007-12-06 Jim Blandy <jimb@codesourcery.com>
10457
10458 * gdb.base/default.exp: Update expected output for 'info catch'.
10459
b7fca990
JK
104602007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10461
10462 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10463 must be set to binary.
10464
6a1afc1e
PA
104652007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
10466
10467 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10468
a6b151f1
DJ
104692007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
10470
10471 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10472 gdb.mi/mi-file-transfer.exp: New.
10473
43039443
JK
104742007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10475
10476 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10477
0ef2251b
MR
104782007-11-22 Maciej W. Rozycki <macro@mips.com>
10479
10480 * gdb.trace/backtrace.exp: Fix a typo.
10481 * gdb.trace/circ.exp: Likewise.
10482 * gdb.trace/collection.exp: Likewise.
10483 * gdb.trace/limits.exp: Likewise.
10484 * gdb.trace/report.exp: Likewise.
10485 * gdb.trace/tfind.exp: Likewise.
10486 * gdb.trace/while-dyn.exp: Likewise.
10487
5443631e
NR
104882007-11-21 Nick Roberts <nickrob@snap.net.nz>
10489
10490 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10491 objects of pointers that can't be dereferenced are now
10492 "noneditable".
10493
a4ce5b0d
UW
104942007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10495
10496 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10497 (target_cpu): Remove.
10498
d6e956e5
VP
104992007-10-15 Vladimir Prus <vladimir@codesourcery.com>
10500
10501 * gdb.base/ending-run.exp: Expect the list of cleared
10502 breakpoint to come in natural order, not the reversed one.
a9c64011 10503
214270ab
VP
105042007-11-07 Vladimir Prus <vladimir@codesourcery.com>
10505
10506 * gdb.mi/mi-var-child.c (do_child_deletion): New.
10507 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 10508
1a619819
LM
105092007-11-05 Luis Machado <luisgpm@br.ibm.com>
10510
10511 * gdb.base/printcmds.exp: New function
10512 test_printf_with_dfp.
10513
5b01a6fa
DE
105142007-11-02 Doug Evans <dje@google.com>
10515
10516 * gdb.disasm/t01_mov.s: Remove carriage returns.
10517 * gdb.disasm/t02_mova.s: Ditto.
10518 * gdb.disasm/t03_add.s: Ditto.
10519 * gdb.disasm/t04_sub.s: Ditto.
10520 * gdb.disasm/t05_cmp.s: Ditto.
10521 * gdb.disasm/t06_ari2.s: Ditto.
10522 * gdb.disasm/t07_ari3.s: Ditto.
10523 * gdb.disasm/t08_or.s: Ditto.
10524 * gdb.disasm/t09_xor.s: Ditto.
10525 * gdb.disasm/t10_and.s: Ditto.
10526 * gdb.disasm/t11_logs.s: Ditto.
10527 * gdb.disasm/t12_bit.s: Ditto.
10528 * gdb.disasm/t13_otr.s: Ditto.
10529
ec33ab7f
JK
105302007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10531
10532 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10533
ae0d01ff
UW
105342007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10535
10536 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10537 provide DFP support.
10538
55eddb0f
DJ
105392007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
10540
10541 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10542 Test "set powerpc vector-abi". Skip auto-detection tests for old
10543 toolchains.
10544
7020f05c
PA
105452007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10546
10547 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10548 with [string compare].
10549
84bc3db9
PA
105502007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10551
10552 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10553 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10554
5876dc88
LM
105552007-10-25 Luis Machado <luisgpm@br.ibm.com>
10556
10557 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10558 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10559 * gdb.opt/Makefile.in: New makefile.
10560 * Makefile.in: Create new directory "gdb.opt".
10561 * configure.ac: Add "gdb.opt" directory.
10562 * configure: Regenerated.
a9c64011 10563
c3ea9a14
DE
105642007-10-25 Doug Evans <dje@google.com>
10565
10566 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10567 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10568
a9c64011 105692007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
10570 Thiago Jung Bauermann <bauerman@br.ibm.com>
10571
10572 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10573 Floating Point expressions.
10574 * gdb.base/dfp-test.exp: new file adding tests for Decimal
10575 Floating Point variables.
10576 * gdb.base/dfp-test.c: new file containing program with Decimal
10577 Floating variables, used by gdb.base/dfp-test.exp.
10578
62a24a2b
DJ
105792007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
10580
10581 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10582
e7b1eae6
UW
105832007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10584
10585 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10586 compiling test case with GCC.
10587 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10588
c641edcc
UW
105892007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10590
10591 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10592 format changes.
10593
5e5ebfe6
MS
105942007-10-18 Michael Snyder <msnyder@specifix.com>
10595
10596 * gdb.base/dbx.exp: Add missing "-re " operator.
10597
e831e7b6
GM
105982007-10-16 Gaius Mulley <gaius@glam.ac.uk>
10599
10600 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10601 * configure.ac: Removed trailing spaces after backslash.
10602 * gdb.modula2: New directory.
10603 * gdb.modula2/Makefile.in: New file.
10604 * gdb.modula2/unbounded-array.exp: New file.
10605 * gdb.modula2/unbounded1.c: New file.
10606
7cc46491
DJ
106072007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
10608
10609 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10610
106112007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
10612
10613 * gdb.base/sigstep.c (main): Add checks for
10614 return values for setitimer call.
10615 Call setitimer again with itimer = ITIMER_REAL
10616 if first call to setitimer fails.
10617
e91528f0
KH
106182007-10-11 Kazu Hirata <kazu@codesourcery.com>
10619
10620 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10621 of $timeout.
10622
2ec9a4f8
DJ
106232007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10624
10625 * gdb.server/server-run.exp: Test for dynamic linker symbols.
10626
106272007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
10628
10629 * lib/gdb.exp (gdb_run_cmd): Move comment outside
10630 of gdb_expect call, to avoid interruption.
10631
64b2fa04
PA
106322007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
10633
10634 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10635 (v_unsigned_long_long, v_long_long_array)
10636 (v_signed_long_long_array, v_unsigned_long_long_array)
10637 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10638 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10639 [!NO_LONG_LONG]: New.
10640 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10641 v_long_long_member.
10642
10643 (v_long_long_func, v_signed_long_long_func)
10644 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10645 (main) [!NO_LONG_LONG]: Initialize long long variants.
10646
10647 * gdb.base/whatis.exp: If board file requests no_long_long, build
10648 test with NO_LONG_LONG defined. Test long long, signed long long,
10649 and unsigned long long variants but only if board file doesn't
10650 disable it.
10651
a912286e 106522007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 10653 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
10654
10655 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10656 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10657 * configure: Regenerated.
10658 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10659 gdb.pascal/types.exp, lib/pascal.exp: New files.
10660
471ba8c9
DJ
106612007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
10662
10663 * gdb.cp/classes.exp (do_tests): Always step to the line after the
10664 call.
10665 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10666 to return to the call.
10667 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10668 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10669 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10670 * gdb.mi/mi-until.exp (test_until): Likewise.
10671 * gdb.mi/mi2-until.exp (test_until): Likewise.
10672
fef8a650
DJ
106732007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
10674
10675 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10676 two-char array.
10677 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10678
d983da9c
DJ
106792007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
10680
10681 * gdb.threads/watchthreads.c (thread_function): Sleep between
10682 iterations.
10683 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10684 at once for S/390. Generate matching fails and passes.
10685
17f62551
VP
106862007-09-27 Vladimir Prus <vladimir@codesourcery.com>
10687
10688 * gdb.mi/var-cmd.c (do_children_tests): Initialize
10689 the 'struct_declarations' variable to zeros.
a9c64011 10690
ed0616c6
VP
106912007-09-24 Vladimir Prus <vladimir@codesourcery.com>
10692
10693 * gdb.cp/mb-ctor.cc: New.
10694 * gdb.cp/mb-ctor.exp: New.
10695 * gdb.cp/mb-templates.cc: New.
10696 * gdb.cp/mb-templates.exp: New.
10697
41f1b697
DJ
106982007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
10699
10700 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10701
3f213f78
PA
107022007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
10703
10704 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10705 targets.
10706 * configure: Regenerate.
10707
0d381245 107082007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10709
0d381245
VP
10710 * gdb.base/annota1.exp: Adjust for 'info break'
10711 format changes.
10712 * gdb.base/annota3.exp: Likewise.
10713 * gdb.base/break.exp: Likewise.
10714 * gdb.base/condbreak.exp: Likewise.
10715 * gdb.base/pending.exp: Likewise.
10716 * gdb.base/sepdebug.exp: Likewise.
10717 * gdb.base/unload.exp: Likewise.
10718 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 10719
fe3f5fa8
VP
107202007-09-22 Vladimir Prus <vladimir@codesourcery.com>
10721
10722 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10723 messages.
10724 * gdb.base/chng-syms.exp: Likewise.
10725 * gdb.base/unload.exp: Likewise.
a9c64011 10726
a75cf6c0
DJ
107272007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
10728
10729 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10730
18ecae38
DJ
107312007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
10732
10733 * schedlock.c (NUM): Change to 1.
10734 (main): Use args[0] for the main thread.
10735 * schedlock.exp: Only expect two threads. Only issue one pass or fail
10736 regardless of the number of threads.
10737
5509918f
MR
107382007-09-14 Maciej W. Rozycki <macro@mips.com>
10739
4a543daf
MR
10740 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10741 type down.
10742 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10743 test.
10744 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10745 watchpoint type down.
10746 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10747 test.
10748
107492007-09-14 Maciej W. Rozycki <macro@mips.com>
10750
5509918f
MR
10751 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10752 Move all the tests here and run them twice, once using software
10753 watchpoints and once using hardware watchpoints.
10754 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10755
40b53987
DJ
107562007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
10757
10758 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10759 test.
10760
695e2681
MK
107612007-09-10 Mark Kettenis <kettenis@gnu.org>
10762
8b3fc8d8
MK
10763 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10764 build-id.
10765
695e2681
MK
10766 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10767 know about $ORIGIN. Calculate output dir from $dest instead of
10768 using ${objdir}/{$subdir}.
10769
58d69f29
MK
107702007-09-09 Mark Kettenis <kettenis@gnu.org>
10771
10772 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10773 gcore, before continuing with the test.
10774
3e347599
DJ
107752007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
10776
10777 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10778 * gdb.mi/mi-watch.exp: Likewise.
10779
ea37ba09
DJ
107802007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10781 Jim Blandy <jimb@codesourcery.com>
10782
10783 * gdb.arch/i386-sse.exp: Do not expect character constants.
10784 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10785 * gdb.base/display.exp: Allow print/s.
10786 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10787 and unsigned char array changes.
10788
2025a643
DJ
107892007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10790
10791 * gdb.base/display.exp: Add tests for printf %p.
10792
26669a27
PA
107932007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
10794
10795 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10796 the dll name to unicode.
10797
c8f021f8
JK
107982007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10799
10800 * gdb.base/default.exp (show version): Update the version text.
10801 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10802
4cf31eea
JK
108032007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10804
10805 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10806 New files.
10807
4935890f
JK
108082007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10809
10810 * lib/gdb.exp (build_id_debug_filename_get): New function.
10811 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10812 Remove the generate DEBUG file for the future testcase runs.
10813 New testcase for the NT_GNU_BUILD_ID retrieval.
10814 Move the final testing step to ...
10815 (test_different_dir): ... a new function.
10816 New parameter XFAIL to XFAIL all the tests performed.
10817 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10818 New parameter TYPE to PF_PREFIX all the tests performed.
10819
02142340
VP
108202007-08-31 Vladimir Prus <vladimir@codesourcery.com>
10821
10822 * gdb.mi/mi-var-cp.cc (path_expression): New
10823 function.
10824 * gdb.mi/mi-var-cp.exp: Run path exression tests.
10825
36acd84e
UW
108262007-08-27 Markus Deuling <deuling@de.ibm.com>
10827
10828 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10829 to fit into SPU Local Store memory.
10830
a896d121
JB
108312007-08-23 Joel Brobecker <brobecker@adacore.com>
10832
10833 * gdb.base/default.exp: Adjust the expected output of "info
10834 warranty" after the switch to GPLv3.
10835
7b433602
JB
108362007-08-23 Joel Brobecker <brobecker@adacore.com>
10837
10838 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10839 to 30000 (from 20000).
10840
e22f8b7c
JB
108412007-08-23 Joel Brobecker <brobecker@adacore.com>
10842
10843 Switch the license of all .exp files to GPLv3.
10844 Switch the license of all .f and .f90 files to GPLv3.
10845 Switch the license of all .s and .S files to GPLv3.
10846
5a0e3bd0
JB
108472007-08-23 Joel Brobecker <brobecker@adacore.com>
10848
10849 * configure.ac: Switch license to GPLv3.
10850
cc00619d
JB
108512007-08-23 Joel Brobecker <brobecker@adacore.com>
10852
10853 Switch the licensing to GPLv3 for all .ads and .adb files.
10854
8d26208a
DJ
108552007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
10856
10857 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10858 and t_int_double.
10859 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10860
4fcb9948
JB
108612007-08-17 Joel Brobecker <brobecker@adacore.com>
10862
10863 * gdb.base/step-line.c: Switch license to GPL version 3, and
10864 update copyright year.
10865 * gdb.base/step-line.inp: Likewise.
10866
b9c34f67
JB
108672007-08-17 Joel Brobecker <brobecker@adacore.com>
10868
10869 * gdb.base/gdb1555.exp: Make expected output immune to formatting
10870 changes inside gdb1555.c.
10871 * gdb.base/pending.exp: Likewise.
10872
2cc17678
DJ
108732007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
10874
10875 * config/default.exp: New file.
10876
e48883f7
DJ
108772007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10878
10879 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10880 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10881
1ab80e5b
MR
108822007-07-30 Maciej W. Rozycki <macro@mips.com>
10883
10884 * gdb.base/dump.exp: Force the correct endianness for binary
10885 formats not carrying this information.
10886
aba471f5
DJ
108872007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10888
10889 * gdb.threads/staticthreads.exp: Match .*sem_post.
10890
d4e07204
DJ
108912007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10892
10893 * gdb.base/readline.exp (operate_and_get_next): Match the final
10894 prompt.
10895
2b97317d
KB
108962007-07-23 Kevin Buettner <kevinb@redhat.com>
10897
10898 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10899 to restarting SID.
10900
44efa07a
KB
109012007-07-18 Kevin Buettner <kevinb@redhat.com>
10902
10903 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10904 prior to `gdb_start'.
10905
7b5ebade
KB
109062007-07-18 Kevin Buettner <kevinb@redhat.com>
10907
10908 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
10909 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10910 Remove call to gdb_unload.
10911
255e7678
DJ
109122007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
10913 Daniel Jacobowitz <dan@codesourcery.com>
10914
10915 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10916 for __WIN32__.
10917 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
10918 * gdb.base/unload.exp: Use shared library test routines.
10919
3a40aaa0
UW
109202007-07-03 Markus Deuling <deuling@de.ibm.com>
10921
10922 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10923 * gdb.base/solib-symbol-lib.c: Likewise.
10924 * gdb.base/solib-symbol-main.c: Likewise.
10925
b0f4b84b
DJ
109262007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
10927
10928 * config/gdbserver.exp (gdb_reconnect): New.
10929 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10930 gdb.base/solib-disc.exp: New files.
10931 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10932 remote debugging".
10933 (gdb_compile): Add shlib_load flag.
10934 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10935 port.
10936 (gdbserver_reconnect): New.
10937
1b05479a
DJ
109382007-07-01 Nick Roberts <nickrob@snap.net.nz>
10939 Daniel Jacobowitz <dan@codesourcery.com>
10940
10941 * gdb.base/annota3.exp: Test for if construct.
10942
86f78eb2
DJ
109432007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
10944
10945 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10946
6a2eb474 109472007-06-21 Chris Dearman <chris@mips.com>
a9c64011 10948 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
10949
10950 * gdb.base/display.exp: Allow a newline after display/i.
10951 * gdb.base/pc-fp.exp: Likewise.
10952 * gdb.base/sigbpt.exp: Likewise.
10953
f8b73d13
DJ
109542007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10955
10956 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
10957 required features to be included.
10958
4339e69e
DJ
109592007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10960
10961 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10962 in info threads output.
10963
23d964e7
UW
109642007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10965 Markus Deuling <deuling@de.ibm.com>
10966
10967 * gdb.arch/spu-info.exp: New testcase.
10968 * gdb.arch/spu-info.c: New file.
10969
fd20f75b
DJ
109702007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
10971
10972 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10973 tpcs_offset. Restore lr after the call.
10974 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10975
2226f861
DJ
109762007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
10977
10978 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10979 (gdbserver_run): Kill any running gdbserver.
10980 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10981
d12371a9
MR
109822007-05-17 Maciej W. Rozycki <macro@mips.com>
10983
10984 * gdb.base/sigbpt.exp: Preset segv_addr.
10985
93f02886
DJ
109862007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
10987
10988 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10989 (gdb_compile_shlib): Likewise.
10990 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10991 (default_gdb_init): Clear cleanfiles.
10992 (gdb_finish): Delete recorded cleanfiles.
10993 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10994
10995 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10996 Do not use isnative.
10997 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10998 gdb.base/so-impl-ld.exp: Likewise.
10999 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11000 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11001 gdb_compile.
11002
b04e06d7
VP
110032007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11004
11005 * config/unknown.exp: Remove.
11006
069ed931
UW
110072007-05-15 Markus Deuling <deuling@de.ibm.com>
11008
11009 * gdb.base/info-proc.exp: Check is_remote.
11010
09db0d03
UW
110112007-05-14 Markus Deuling <deuling@de.ibm.com>
11012
11013 * gdb.base/gcore.exp: Initialize variable core_supported.
11014
af2cbe8c
DJ
110152007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11016
11017 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11018
027c0295
DJ
110192007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11020
11021 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11022 * gdb.threads/print-threads.exp (test_all_threads): Allow
11023 negative and hexadecimal thread IDs.
11024
dc5000e7
DJ
110252007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11026
11027 * gdb.java/jprint.java (public): Avoid invalid call to static
11028 method.
11029
2e74ed18
DP
110302007-05-14 Denis Pilat <denis.pilat@st.com>
11031
11032 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11033 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11034 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11035 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11036 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11037
83547f02
UW
110382007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11039
11040 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11041 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11042 this mode.
11043 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11044 * gdb.base/spu.ld: New file.
11045
b18be20d
DJ
110462007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11047
11048 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11049
be444858
DJ
110502007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11051
11052 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11053
b1d53152
DJ
110542007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11055
11056 * gdb.java/jmain.exp: Handle demangled names with and without method
11057 signatures.
11058
d084b331
DJ
110592007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11060
11061 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11062 (have_a_very_merry_interrupt): Remove calls to puts.
11063 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11064 inferior output.
11065 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11066 test names.
11067
db9d7fc5
DJ
110682007-04-29 Markus Deuling <deuling@de.ibm.com>
11069 Daniel Jacobowitz <dan@codesourcery.com>
11070
11071 * gdb.base/auxv.exp (core_works): Also check is_remote.
11072 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11073
ef783a7d 110742007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11075
ef783a7d
VP
11076 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11077 message, not the undefined 'module' variable.
11078 * gdb.base/siginfo.exp: Likewise.
11079 * gdb.base/sigstep.exp: Likewise.
11080 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11081 serialport.
11082 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11083
b7b73cae
CV
110842007-04-25 Corinna Vinschen <vinschen@redhat.com>
11085
11086 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11087 target sim fails. Return 0 otherwise.
11088 (gdb_load): Return prematurely if gdb_target_sim fails.
11089
7d90fdfa
DP
110902007-04-16 Denis Pilat <denis.pilat@st.com>
11091
11092 * gdb.base/setshow.exp: Reset height after having set it to 100.
11093
5d3e9c85
DP
110942007-04-16 Denis Pilat <denis.pilat@st.com>
11095
11096 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11097
18e75969
DP
110982007-04-16 Denis Pilat <denis.pilat@st.com>
11099
11100 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11101
25d5ea92
VP
111022007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11103
11104 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11105 tests. Run the frozen varobjs test.
11106 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11107 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11108
0b49cb80
JK
111092007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11110
11111 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11112 gdb.base/type-opaque.exp: New files.
11113
a73bafbc 111142007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11115
11116 * gdb.mi/mi-var-child.c
a73bafbc
VP
11117 (do_children_tests): User char[2] instead of
11118 char so that automatic printing of pointers to char
11119 don't give unpredicable result.
11120 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11121 local variables.
11122 * gdb.mi/mi-var-child.exp: Step to right line
11123 of do_children_tests.
11124 * gdb.mi/mi2-var-child.exp: Likewise.
11125 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11126 do_locals_tests.
a73bafbc
VP
11127 (do_children_tests): User char[2] instead of
11128 char so that automatic printing of pointers to char
a9c64011 11129 don't give unpredicable result.
a73bafbc 11130 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11131 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11132 Pass test name to mi_wait_for_stop.
11133
7ce59000
DJ
111342007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11135
11136 * gdb.asm/asm-source.exp: Remove d10v case.
11137 * lib/gdb.exp (skip_cplus_tests): Likewise.
11138 * gdb.asm/d10v.inc: Deleted.
11139
20389057
DJ
111402007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11141
11142 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11143
8807d78b
DJ
111442007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11145
11146 * config/netware.exp: Delete file.
11147
aa3edb8e
JB
111482007-03-29 Joel Brobecker <brobecker@adacore.com>
11149
11150 * gdb.dwarf2/dw2-noloc.S: New file.
11151 * gdb.dwarf2/dw2-noloc.exp: New file.
11152
297561ac
PA
111532007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11154
11155 * gdb.cp/method2.cc: New test.
11156 * gdb.cp/method2.exp: New test.
11157 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11158
1f81bd39
DJ
111592007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11160
11161 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11162
9453113a
DJ
111632007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11164
11165 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11166
b741e217
DJ
111672007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11168
11169 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11170 (gdb_load): Delete, replace with...
11171 (gdb_reload): ...this.
11172 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11173 * gdb.server/server-mon.exp: Likewise.
11174 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11175 (gdb_start_cmd): New.
11176 (gdb_file_cmd): Save the last loaded file.
11177 (gdb_reload): New.
11178 (gdb_gnu_strip_debug): Use transform.
11179 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11180 support here. Use new $last_loaded_file. Check mtime.
11181 (gdb_target_cmd): Handle ObjC failure case.
11182 (infer_host_exec): Delete.
11183 (gdbserver_load): Rename to...
11184 (gdbserver_run): ...this. Simplify.
11185 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11186 (mi_gdb_load): Move most contents to a new function...
11187 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11188 (mi_run_cmd): Use mi_gdb_target_load.
11189 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11190 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11191 Use gdb_run_cmd.
11192 * gdb.base/charsign.exp: Remove incorrect comment.
11193 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11194 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11195 gdb.base/start.exp: Use gdb_start_cmd.
11196
446ab585 111972007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11198 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11199
11200 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11201 * gdb.base/signull.exp: Similarly.
11202
bbb88ebf
UW
112032007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11204
11205 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11206 messages available to test cases (like chng-sym.exp).
11207
cb8c4a99
AS
112082007-03-14 Andreas Schwab <schwab@suse.de>
11209
11210 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11211 format changes.
11212
4e463ff5
DJ
112132007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11214
11215 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11216 (optimized_1): New.
11217 (main): Call optimized_1.
11218 (gdb2029): Correct typos. Call gdb2029_marker.
11219 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11220 for gdb2029.
11221
b6db2c47
MK
112222007-03-12 Mark Kettenis <kettenis@gnu.org>
11223
11224 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11225 as tabs. Remove redundant test pattern.
11226
70ed3737
UW
112272007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11228
11229 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11230 for /a format output.
11231
47b67b60
DJ
112322007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11233
11234 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11235 collect output incrementally.
11236
b8953b0e
UW
112372007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11238
11239 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11240 for -var-create lpcharacter test.
11241 * gdb.mi/mi2-var-cmd.exp: Likewise.
11242
7acd5c40
UW
112432007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11244
11245 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11246 pass on targets where address zero is readable.
11247
9c6759c1
UW
112482007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11249
11250 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11251 just a single architecture.
11252
a2f1aeb4
UW
112532007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11254
11255 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11256 (fetch_all_registers): New function, uses gdb_test_multiple and
11257 exp_continue to fetch inferior output line-by-line.
11258 Replace all uses of do_get_all_registers by fetch_all_registers.
11259
46579ac2
UW
112602007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11261
11262 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11263 in target_info.
11264
fc133f24
MS
112652007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11266
a9c64011 11267 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11268 consistancy; add a default (timeout) case.
11269
7646a51d
MS
112702007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11271
11272 * gdb.base/watchpoint.exp: Fix truncated comment.
11273
dcfff61f
MS
112742007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11275
11276 * Makefile.in: Remove spurious single-quotes from sed command.
11277
664e3ee9
DJ
112782007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11279
11280 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11281 func.
11282 * gdb.mi/mi2-var-cmd.exp: Likewise.
11283
d7cc6f2f
JB
112842007-02-27 Joel Brobecker <brobecker@adacore.com>
11285
a9c64011
AS
11286 * gdb.dwarf2/dw2-producer.S: New file.
11287 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
11288
112892007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
11290
11291 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11292 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11293 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11294 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11295 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11296 Revert tests to use mi_gdb_test and include value field in output
11297 of -var-create.
11298
93d42b30
DJ
112992007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11300
11301 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11302
c499ed39
DJ
113032007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11304
11305 * gdb.base/maint.exp: Remove full paths from test names.
11306 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11307 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11308
9836f81b
JB
113092007-02-27 Joel Brobecker <brobecker@adacore.com>
11310
11311 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11312
c74d0ad8
DJ
113132007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11314
11315 * gdb.server/server-mon.exp: New test.
11316
2711e456
DJ
113172007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11318
11319 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11320
ff6f572f
DJ
113212007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11322
11323 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11324 register capitalization.
11325
fada3feb
DP
113262007-02-13 Denis Pilat <denis.pilat@st.com>
11327
11328 * gdb.mi/mi-var-invalidate.exp: New file.
11329
fb1e4ffc
DJ
113302007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11331
11332 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11333
3da939d7
DJ
113342007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11335
11336 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11337
123dc839
DJ
113382007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11339
11340 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11341 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11342
877e3645 113432007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
11344
11345 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11346 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11347 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11348 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11349 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 11350 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 11351 Update tests to include value field in output of -var-create.
a9c64011 11352
3c0a2960
AS
113532007-02-08 Andreas Schwab <schwab@suse.de>
11354
11355 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11356
108546a0
DJ
113572007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11358
11359 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11360 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11361
d701dcab
DP
113622007-02-02 Denis Pilat <denis.pilat@st.com>
11363
11364 * gdb.threads/threadapply.exp: check that frame is not changed by
11365 the thread apply all command.
11366
783e3e2f
AS
113672007-01-31 Andreas Schwab <schwab@suse.de>
11368
6d9c3a87
AS
11369 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11370
3c50d7b9
AS
11371 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11372 in the dwarf sections.
11373 * gdb.dwarf2/mac-fileno.S: Likewise.
11374
783e3e2f
AS
11375 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11376 bspstore register on ia64.
11377
78ff580e
AS
113782007-01-29 Andreas Schwab <schwab@suse.de>
11379
cc8e9b12
AS
11380 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11381 "frame-begin" annotation.
11382
78ff580e
AS
11383 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11384 number of "frames-invalid" annotations.
11385
704a4f78
DJ
113862007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11387
11388 * gdb.base/commands.exp: Call if_commands_test.
11389 (gdb_test_no_prompt, if_commands_test): New.
11390
e741bf94
MK
113912007-01-28 Mark Kettenis <kettenis@gnu.org>
11392
11393 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11394
474d0ad3
AS
113952007-01-27 Andreas Schwab <schwab@suse.de>
11396
11397 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11398 .short/.int/.quad in the dwarf sections.
11399 * gdb.dwarf2/dw2-intercu.S: Likewise.
11400 * gdb.dwarf2/dw2-intermix.S: Likewise.
11401
e784b426
JK
114022007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11403
11404 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
11405 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11406 array.
e784b426
JK
11407 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11408 * gdb.base/setvar.exp: Likewise.
11409
37f08e04
AS
114102007-01-26 Andreas Schwab <schwab@suse.de>
11411
9a01813a
AS
11412 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11413 test.
11414
37f08e04
AS
11415 * gdb.base/multi-forks.exp ("restart $i"): Also match
11416 __kernel_syscall_via_break.
11417
6e2a9270
VP
114182007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11419
11420 * lib/mi-support.exp (mi_delete_varobj): New.
11421 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11422 testcase.
11423 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11424 (main): Call the above.
11425 (reference_update_test, base_in_reference_test)
11426 (reference_to_pointer): Delete the created varobjs.
a9c64011 11427
e515b470
DJ
114282007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11429
11430 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11431 * configure: Regenerated.
11432 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11433 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11434 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11435 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11436 * lib/gdb.exp (gdb_skip_xml_test): New function.
11437
08d8bcd7
DJ
114382007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11439
11440 * gdb.base/sigrepeat.exp: Correct error message.
11441
114422007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
11443 Daniel Jacobowitz <dan@codesourcery.com>
11444
11445 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11446 gdb.arch/i386-gnu-cfi-asm.S: New files.
11447
97c3f1f3
JK
114482007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11449
11450 * lib/gdb.exp: Abort on missing `site.exp'.
11451
cb1df416
DJ
114522007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11453 Daniel Jacobowitz <dan@codesourcery.com>
11454
11455 * gdb.base/included.c, gdb.base/included.exp,
11456 gdb.base/included.h: New files.
11457
35990120
DJ
114582007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11459
11460 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11461 (maximize_rlimit): Reduce limits on 64-bit systems.
11462
6e81a116 114632007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
11464
11465 From Marcus Deuling <deuling@de.ibm.com>:
11466 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11467 every case.
11468
6c3c41f3
NR
114692007-01-13 Nick Roberts <nickrob@snap.net.nz>
11470
11471 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11472 (test_path_specification): Use objdir instead of srcdir to always
11473 get an absolute filename.
11474
2f12c312
DJ
114752007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
11476
11477 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11478
81121995
VP
114792007-01-11 Vladimir Prus <vladimir@codesourcery.com>
11480
11481 * gdb.mi/mi-var-cp.cc (reference_update_tests):
11482 Make sure the variable we're using is in scope.
11483 (reference_to_pointer): Likewise.
11484
4741b737
DJ
114852007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11486
11487 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11488 has no debug information.
11489
054410c3
DJ
114902007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11491
11492 * gdb.base/annota1.exp: Remove extra send_gdb.
11493
818f79f6
DJ
114942007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11495
11496 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11497
f7a6bb70
DJ
114982007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11499
11500 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11501
57e66780
DJ
115022007-01-08 Nick Roberts <nickrob@snap.net.nz>
11503 Daniel Jacobowitz <dan@codesourcery.com>
11504
11505 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11506 lcharacter or linteger change. Correct duplicated test name.
11507 * gdb.mi/mi2-var-cmd.exp: Likewise.
11508
3d799a95
DJ
115092007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11510
11511 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11512
115132007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 11514
a9c64011
AS
11515 * gdb.base/nofield.c: New file.
11516 * gdb.base/nofield.exp: New testcase.
51679ba9 11517
eafb94e8
NR
115182007-01-05 Nick Roberts <nickrob@snap.net.nz>
11519
11520 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11521
11522 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11523 test.
11524
5e572bb4
DJ
115252007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11526
11527 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11528
74a44383
DJ
115292007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11530
11531 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11532 when continuing.
11533
1b572db9
DJ
115342007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11535
11536 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11537 Expect ".exe" extension.
11538
381bc39b
DJ
115392007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11540
11541 * gdb.base/charset.exp: Add explicit filename to break.
11542 * gdb.base/dbx.exp: Add explicit filename to breaks.
11543
2b70e4c6
DJ
115442007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11545
11546 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11547 * gdb.mi/mi2-file.exp: Likewise.
11548
303b6f5d
DJ
115492007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11550
11551 Implement specification of MI tests as comments
11552 in C and C++ sources.
11553 * lib/mi-support.exp (mi_autotest_data): New variable.
11554 (mi_autotest_source): New variable.
11555 (count_newlines, mi_prepare_inline_tests)
11556 (mi_get_inline_test, mi_continue_to_line)
11557 (mi_run_inline_test, mi_tbreak)
11558 (mi_send_resuming_command, mi_wait_for_stop): New functions.
11559 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11560 Run inline tests.
11561 * gdb.mi/mi-var-cp.cc: Define tests here.
11562
23da0d94
VP
115632007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11564
11565 Simplify usage of mi_continue_to.
11566 * lib/mi-support.exp (mi_runto_helper): Renamed
11567 from mi_runto, added new parameter 'run_or_continue'.
11568 (mi_runto): Use mi_runto_helper.
11569 (mi_continue_to): Accept just function name as parameter.
11570 Use mi_runto_helper.
11571 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11572 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11573
f9e18282
JB
115742006-01-04 Joel Brobecker <brobecker@adacore.com>
11575
11576 Make this testcase a bit more realistic. The current code
11577 is too simplistic, and allows the compiler to optimize out
11578 some of the entities we need for this testcase.
11579 * gdb.ada/null_record/bar.ads (Void_Star): New type.
11580 (Do_Nothing): Add extra parameter.
11581 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11582 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11583 by using a variable of type Void_Star.
11584
fd678c65
JB
115852006-01-04 Joel Brobecker <brobecker@adacore.com>
11586
11587 * gdb.ada/catch_ex/foo.adb: New file.
11588 * gdb.ada/catch_ex.exp: New testcase.
11589
05cfdb42
DJ
115902007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
11591
11592 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11593 pass --image-base to linker.
11594
2e03ee74
DJ
115952007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11596 Daniel Jacobowitz <dan@codesourcery.com>
11597
11598 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
11599 secondary prompts.
11600
0d5de010
DJ
116012007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11602
11603 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11604 output. Test the types of members and member pointers.
11605 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11606 gdb/2092.
11607 * gdb.cp/member-ptr.exp: Search for a comment instead of a
11608 statement. Enable for GCC. Update expected output for some tests
11609 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
11610 layout.
11611 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11612 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11613 (Diamond::vget_base): New.
11614 (main): Add new tests.
11615 * gdb.cp/printmethod.exp: Update expected output for member functions.
11616 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11617 print pEe->D::vg().
11618
61a771aa
DJ
116192007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11620
11621 * gdb.threads/tls.exp: Allow stops in sem_post.
11622
2fa63963
DJ
116232006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
11624
11625 * gdb.base/annota1.exp: Allow .*printf in backtraces.
11626 * gdb.base/annota3.exp: Likewise.
11627 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11628 again (instead of timing out).
11629 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11630 GCC bug 26475.
11631 * gdb.java/jmisc.exp: Adjust to work with method signatures including
11632 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
11633 test from jmisc1.exp.
11634 * gdb.java/jmisc1.exp: Delete.
11635 * gdb.java/jprint.exp: Adjust to work with method signatures including
11636 return types.
11637 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11638 * gdb.threads/linux-dp.exp: Don't be confused by program output.
11639 * lib/java.exp (compile_java_from_source): Pass the correct type
11640 to target_compile.
11641
5eefc2b7
JB
116422006-12-31 Joel Brobecker <brobecker@adacore.com>
11643
11644 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11645 (stack_align_edx): New function.
11646 (stack_align_eax): New function.
11647 (main): Add calls to stack_align_edx and stack_align_eax.
11648 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11649 Add testing for the cases where the register used during a stack
11650 realignment is edx. Same for eax.
11651
227c54da
DJ
116522006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
11653
11654 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11655 and generic PE targets.
11656
cab8ac94
JB
116572006-12-29 Joel Brobecker <brobecker@adacore.com>
11658
11659 * gdb.ada/array_return.exp: Update copyright date list.
11660
ba54f318
JB
116612006-12-27 Joel Brobecker <brobecker@adacore.com>
11662
11663 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11664 (Create_Small_Float_Vector): New function.
11665 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11666 function body.
11667 * gdb.ada/array_return/p.adb: Use new type and function from
11668 package Pck.
11669 * gdb.ada/array_return.exp: Add a test verifying that GDB is
11670 able to print the value returned by a function returning an
11671 array of float.
11672
6b7a35dd
JB
116732006-12-20 Joel Brobecker <brobecker@adacore.com>
11674
11675 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11676 The associated tests should be PASSing.
11677
038224f6
VP
116782006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11679
11680 Test for base in references.
11681 * gdb.mi/mi-var-cp.cc: Add test code.
11682 * gdb.mi/mi-var-cp.exp: Test for bases in references.
11683 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11684 * gdb.mi/mi2-watch.exp: Likewise.
11685 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11686 (mi_list_varobj_children): New function.
11687
b26ed50d
VP
116882006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11689
11690 * lib/mi-support.exp
11691 (mi_runto): Accept "()" after function name.
11692 (mi_create_varobj): New function.
11693 (mi_varobj_update): New function.
11694 (mi_Check_varobj_value): New function.
11695 * gdb.mi/mi-var-cp.exp: New file.
11696 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 11697
08232497
DJ
116982006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
11699
11700 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11701 gdb.base/weaklib2.c: New files.
11702
d394c993 117032006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 11704
ac6c2fba
NS
11705 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11706 info. Adjust test names.
11707
8ec659a0 11708 * gdb.base/break.c (main): Move position of malloc.
d394c993 11709 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 11710
acd65feb
VP
117112006-11-28 Vladimir Prus <vladimir@codesourcery.com>
11712
11713 * gdb.mi/mi-var-cmd.exp: Check -var-update after
11714 assignement of arrays and function pointers.
11715 * gdb.mi/var-cmd.c: Add declaration necessary for above
11716 tests.
11717
f556d5e5
NS
117182006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11719
11720 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
11721
11722 * gdb.threads/linux-dp.exp: Read thread table before and after
11723 creating each philosopher and verify it.
11724
697bc68d
NS
117252006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11726 Paul Brook <paul@codesourcery.com>
11727 Daniel Jacobowitz <dan@codesourcery.com>
11728
11729 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 11730 main to remove duplication. Add start function of the form
697bc68d
NS
11731 '_*start[1-9]*'. Add RVDS start function.
11732
29d73ae4
DJ
117332006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11734
11735 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11736
c1d88655
UW
117372006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11738
11739 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11740 * gdb.asm/spu.inc: New file.
11741 * gdb.base/term.exp: Disable if [target_info exists noargs].
11742 * gdb.gdb/complaints.exp: Disable if ![isnative].
11743 * gdb.gdb/selftest.exp: Likewise.
11744 * gdb.gdb/observer.exp: Likewise.
11745 * gdb.gdb/xfullpath.exp: Likewise.
11746 * gdb.base/attach.exp: Disable on SPU target.
11747 * gdb.cp/bs145503.exp: Likewise.
11748 * gdb.cp/exception.exp: Likewise.
11749 * gdb.cp/userdef.exp: Likewise.
11750
32a13b1a
DJ
117512006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11752
11753 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11754
d8295fe9
VP
117552006-11-10 Vladimir Prus <vladimir@codesourcery.com>
11756
11757 * gdb.base/completion.exp: Fix completion tests for
11758 'info' and 'info '.
11759 * gdb.base/help.exp (help_test_raw, test_class_help)
11760 (test_prefix_command_help): Move...
11761 * lib/gdb.exp: Here.
11762 * gdb.base/main.exp: Adjust.
11763 * gdb.cp/maint.exp: Adjust.
11764 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 11765
8c394015
VP
117662006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11767
11768 * gdb.stabs/weird.exp (print_weird_var): Use
11769 gdb_test_multiple instead of gdb_expect.
11770
027fc1bc
VP
117712006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11772
11773 * gdb.base/help.exp (help_test_raw): New.
11774 (test_class_help): New.
11775 (test_prefix_command_help): New.
11776 Adjust testcases.
11777
67609209
FR
117782006-11-09 Christophe Lyon <christophe.lyon@st.com>
11779
11780 * gdb.base/constvars.c (main): Write to crass and crips, so that
11781 they are allocated by the compiler.
11782
f73adfeb
AS
117832006-10-27 Andreas Schwab <schwab@suse.de>
11784
11785 * gdb.base/multi-forks.exp: Use "detach fork" instead of
11786 "detach-fork".
11787
2f83a18e
DJ
117882006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
11789
11790 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11791 of patterns.
11792
94277a38
DJ
117932006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11794
11795 * gdb.base/sepdebug.exp: Remove debug format test.
11796 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11797 Handle no-symtab.
11798 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11799
5bd2f6e2
DJ
118002006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11801
11802 * gdb.threads/manythreads.c (thread_function, main): Don't cast
11803 int to pointer or pointer to int.
11804 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11805
8c008720
DJ
118062006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
11807
11808 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11809
9e35dae4
DJ
118102006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11811
11812 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11813
d9639e13
DJ
118142006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11815
11816 PR c++/2116
11817 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11818
390a1bd0
JB
118192006-10-06 Joel Brobecker <brobecker@adacore.com>
11820
11821 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11822 the corresponding bug has been fixed in GDB (PR/2018).
11823
dd920c33
JB
118242006-10-06 Joel Brobecker <brobecker@adacore.com>
11825
11826 * gdb.base/subst.exp: New testcase.
11827
53bbefe9
JB
118282006-10-06 Joel Brobecker <brobecker@adacore.com>
11829
11830 * gdb.ada/array_return/pck.ads: Add copyright notice.
11831 * gdb.ada/array_return/pck.adb: Likewise.
11832 * gdb.ada/array_return/p.adb: Likewise.
11833 * gdb.ada/exec_changed/first.adb: Likewise.
11834 * gdb.ada/exec_changed/second.adb: Likewise.
11835
09851417
JB
118362006-10-06 Joel Brobecker <brobecker@adacore.com>
11837
11838 * gdb.ada/watch_arg/watch.adb: New file.
11839 * gdb.ada/watch_arg.exp: New testcase.
11840
041bf30d
VP
118412006-10-02 Vladimir Prus <vladimir@codesourcery.com>
11842
11843 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 11844 via string_to_regexp.
041bf30d 11845 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 11846
f286fbdd 118472006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
11848
11849 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11850 Remove unused / obsolete files.
11851
7c07f349
NR
118522006-09-19 Nick Roberts <nickrob@snap.net.nz>
11853
11854 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11855
cd5ff84a
VP
118562006-09-17 Vladimir Prus <vladimir@codesourcery.com>
11857
11858 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11859 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 11860 the number of frames.
cd5ff84a 11861
ae018d1a
DJ
118622006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
11863
11864 * gdb.base/args.c (main): Add breakpoint marker.
11865 * gdb.base/args.exp: Use args_test for tests. Add new tests which
11866 really test empty arguments.
11867 (args_load): Delete.
11868 (args_test): New.
11869
b399c549
NR
118702006-09-13 Nick Roberts <nickrob@snap.net.nz>
11871
11872 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 11873 check for one file.
b399c549 11874
2ab1eb7a
VP
118752006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
11876
11877 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11878 HIGH_FRAME argument to -stack-list-locals can be larger than
11879 the number of frames.
a9c64011 11880
476308bf
FF
118812006-08-18 Fred Fish <fnf@specifix.com>
11882
11883 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11884 '$' in front of skip_vmx_tests_saved when setting that.
11885
8625200f
AS
118862006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
11887
11888 * gdb.base/trace-commands.exp: New file.
11889
089ec8f1
DJ
118902006-08-10 Joel Brobecker <brobecker@adacore.com>
11891 Daniel Jacobowitz <dan@codesourcery.com>
11892
11893 * gdb.base/step-bt.exp: Make hexadecimal address optional in
11894 expected output of the backtrace commands.
11895
b60f0898
JB
118962006-08-09 Joel Brobecker <brobecker@adacore.com>
11897
11898 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11899 untested followed by return combination.
11900 * gdb.arch/altivec-regs.exp: Likewise.
11901 * gdb.arch/e500-abi.exp: Likewise.
11902 * gdb.arch/e500-regs.exp: Likewise.
11903 * gdb.arch/gdb1291.exp: Likewise.
11904 * gdb.arch/gdb1431.exp: Likewise.
11905 * gdb.arch/gdb1558.exp: Likewise.
11906 * gdb.arch/i386-prologue.exp: Likewise.
11907 * gdb.arch/i386-unwind.exp: Likewise.
11908 * gdb.asm/asm-source.exp: Likewise.
11909 * gdb.base/a2-run.exp: Likewise.
11910 * gdb.base/advance.exp: Likewise.
11911 * gdb.base/all-bin.exp: Likewise.
11912 * gdb.base/annota1.exp: Likewise.
11913 * gdb.base/annota3.exp: Likewise.
11914 * gdb.base/args.exp: Likewise.
11915 * gdb.base/arithmet.exp: Likewise.
11916 * gdb.base/assign.exp: Likewise.
11917 * gdb.base/async.exp: Likewise.
11918 * gdb.base/attach.exp: Likewise.
11919 * gdb.base/bang.exp: Likewise.
11920 * gdb.base/bigcore.exp: Likewise.
11921 * gdb.base/bitfields.exp: Likewise.
11922 * gdb.base/bitfields2.exp: Likewise.
11923 * gdb.base/break.exp: Likewise.
11924 * gdb.base/call-sc.exp: Likewise.
11925 * gdb.base/call-strs.exp: Likewise.
11926 * gdb.base/callfuncs.exp: Likewise.
11927 * gdb.base/checkpoint.exp: Likewise.
11928 * gdb.base/chng-syms.exp: Likewise.
11929 * gdb.base/code-expr.exp: Likewise.
11930 * gdb.base/commands.exp: Likewise.
11931 * gdb.base/completion.exp: Likewise.
11932 * gdb.base/cond-expr.exp: Likewise.
11933 * gdb.base/condbreak.exp: Likewise.
11934 * gdb.base/consecutive.exp: Likewise.
11935 * gdb.base/constvars.exp: Likewise.
11936 * gdb.base/corefile.exp: Likewise.
11937 * gdb.base/cvexpr.exp: Likewise.
11938 * gdb.base/dbx.exp: Likewise.
11939 * gdb.base/define.exp: Likewise.
11940 * gdb.base/detach.exp: Likewise.
11941 * gdb.base/display.exp: Likewise.
11942 * gdb.base/dump.exp: Likewise.
11943 * gdb.base/ena-dis-br.exp: Likewise.
11944 * gdb.base/ending-run.exp: Likewise.
11945 * gdb.base/environ.exp: Likewise.
11946 * gdb.base/eval-skip.exp: Likewise.
11947 * gdb.base/exprs.exp: Likewise.
11948 * gdb.base/fileio.exp: Likewise.
11949 * gdb.base/finish.exp: Likewise.
11950 * gdb.base/float.exp: Likewise.
11951 * gdb.base/foll-exec.exp: Likewise.
11952 * gdb.base/foll-fork.exp: Likewise.
11953 * gdb.base/foll-vfork.exp: Likewise.
11954 * gdb.base/freebpcmd.exp: Likewise.
11955 * gdb.base/funcargs.exp: Likewise.
11956 * gdb.base/gcore.exp: Likewise.
11957 * gdb.base/gdb1090.exp: Likewise.
11958 * gdb.base/gdb1250.exp: Likewise.
11959 * gdb.base/huge.exp: Likewise.
11960 * gdb.base/info-proc.exp: Likewise.
11961 * gdb.base/interrupt.exp: Likewise.
11962 * gdb.base/jump.exp: Likewise.
11963 * gdb.base/langs.exp: Likewise.
11964 * gdb.base/lineinc.exp: Likewise.
11965 * gdb.base/list.exp: Likewise.
11966 * gdb.base/logical.exp: Likewise.
11967 * gdb.base/long_long.exp: Likewise.
11968 * gdb.base/macscp.exp: Likewise.
11969 * gdb.base/maint.exp: Likewise.
11970 * gdb.base/mips_pro.exp: Likewise.
11971 * gdb.base/miscexprs.exp: Likewise.
11972 * gdb.base/multi-forks.exp: Likewise.
11973 * gdb.base/opaque.exp: Likewise.
11974 * gdb.base/overlays.exp: Likewise.
11975 * gdb.base/pc-fp.exp: Likewise.
11976 * gdb.base/pointers.exp: Likewise.
11977 * gdb.base/printcmds.exp: Likewise.
11978 * gdb.base/psymtab.exp: Likewise.
11979 * gdb.base/ptype.exp: Likewise.
11980 * gdb.base/recurse.exp: Likewise.
11981 * gdb.base/relational.exp: Likewise.
11982 * gdb.base/relocate.exp: Likewise.
11983 * gdb.base/remote.exp: Likewise.
11984 * gdb.base/reread.exp: Likewise.
11985 * gdb.base/restore.exp: Likewise.
11986 * gdb.base/return.exp: Likewise.
11987 * gdb.base/return2.exp: Likewise.
11988 * gdb.base/scope.exp: Likewise.
11989 * gdb.base/sect-cmd.exp: Likewise.
11990 * gdb.base/sep.exp: Likewise.
11991 * gdb.base/sepdebug.exp: Likewise.
11992 * gdb.base/setshow.exp: Likewise.
11993 * gdb.base/setvar.exp: Likewise.
11994 * gdb.base/sigall.exp: Likewise.
11995 * gdb.base/sigbpt.exp: Likewise.
11996 * gdb.base/signals.exp: Likewise.
11997 * gdb.base/signull.exp: Likewise.
11998 * gdb.base/sizeof.exp: Likewise.
11999 * gdb.base/solib.exp: Likewise.
12000 * gdb.base/step-line.exp: Likewise.
12001 * gdb.base/step-test.exp: Likewise.
12002 * gdb.base/structs.exp: Likewise.
12003 * gdb.base/structs2.exp: Likewise.
12004 * gdb.base/term.exp: Likewise.
12005 * gdb.base/twice.exp: Likewise.
12006 * gdb.base/until.exp: Likewise.
12007 * gdb.base/varargs.exp: Likewise.
12008 * gdb.base/volatile.exp: Likewise.
12009 * gdb.base/watchpoint.exp: Likewise.
12010 * gdb.base/whatis-exp.exp: Likewise.
12011 * gdb.base/whatis.exp: Likewise.
12012 * gdb.cp/ambiguous.exp: Likewise.
12013 * gdb.cp/annota2.exp: Likewise.
12014 * gdb.cp/annota3.exp: Likewise.
12015 * gdb.cp/bool.exp: Likewise.
12016 * gdb.cp/breakpoint.exp: Likewise.
12017 * gdb.cp/casts.exp: Likewise.
12018 * gdb.cp/class2.exp: Likewise.
12019 * gdb.cp/classes.exp: Likewise.
12020 * gdb.cp/cplusfuncs.exp: Likewise.
12021 * gdb.cp/ctti.exp: Likewise.
12022 * gdb.cp/derivation.exp: Likewise.
12023 * gdb.cp/exception.exp: Likewise.
12024 * gdb.cp/gdb1355.exp: Likewise.
12025 * gdb.cp/hang.exp: Likewise.
12026 * gdb.cp/inherit.exp: Likewise.
12027 * gdb.cp/local.exp: Likewise.
12028 * gdb.cp/m-data.exp: Likewise.
12029 * gdb.cp/m-static.exp: Likewise.
12030 * gdb.cp/member-ptr.exp: Likewise.
12031 * gdb.cp/method.exp: Likewise.
12032 * gdb.cp/misc.exp: Likewise.
12033 * gdb.cp/namespace.exp: Likewise.
12034 * gdb.cp/overload.exp: Likewise.
12035 * gdb.cp/ovldbreak.exp: Likewise.
12036 * gdb.cp/pr-1023.exp: Likewise.
12037 * gdb.cp/pr-1210.exp: Likewise.
12038 * gdb.cp/pr-574.exp: Likewise.
12039 * gdb.cp/printmethod.exp: Likewise.
12040 * gdb.cp/psmang.exp: Likewise.
12041 * gdb.cp/ref-params.exp: Likewise.
12042 * gdb.cp/ref-types.exp: Likewise.
12043 * gdb.cp/rtti.exp: Likewise.
12044 * gdb.cp/templates.exp: Likewise.
12045 * gdb.cp/try_catch.exp: Likewise.
12046 * gdb.cp/userdef.exp: Likewise.
12047 * gdb.cp/virtfunc.exp: Likewise.
12048 * gdb.disasm/am33.exp: Likewise.
12049 * gdb.disasm/h8300s.exp: Likewise.
12050 * gdb.disasm/mn10300.exp: Likewise.
12051 * gdb.disasm/sh3.exp: Likewise.
12052 * gdb.disasm/t01_mov.exp: Likewise.
12053 * gdb.disasm/t02_mova.exp: Likewise.
12054 * gdb.disasm/t03_add.exp: Likewise.
12055 * gdb.disasm/t04_sub.exp: Likewise.
12056 * gdb.disasm/t05_cmp.exp: Likewise.
12057 * gdb.disasm/t06_ari2.exp: Likewise.
12058 * gdb.disasm/t07_ari3.exp: Likewise.
12059 * gdb.disasm/t08_or.exp: Likewise.
12060 * gdb.disasm/t09_xor.exp: Likewise.
12061 * gdb.disasm/t10_and.exp: Likewise.
12062 * gdb.disasm/t11_logs.exp: Likewise.
12063 * gdb.disasm/t12_bit.exp: Likewise.
12064 * gdb.disasm/t13_otr.exp: Likewise.
12065 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12066 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12067 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12068 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12069 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12070 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12071 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12072 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12073 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12074 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12075 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12076 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12077 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12078 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12079 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12080 * gdb.mi/gdb701.exp: Likewise.
12081 * gdb.mi/gdb792.exp: Likewise.
12082 * gdb.mi/mi-basics.exp: Likewise.
12083 * gdb.mi/mi-break.exp: Likewise.
12084 * gdb.mi/mi-cli.exp: Likewise.
12085 * gdb.mi/mi-console.exp: Likewise.
12086 * gdb.mi/mi-disassemble.exp: Likewise.
12087 * gdb.mi/mi-eval.exp: Likewise.
12088 * gdb.mi/mi-file.exp: Likewise.
12089 * gdb.mi/mi-read-memory.exp: Likewise.
12090 * gdb.mi/mi-regs.exp: Likewise.
12091 * gdb.mi/mi-return.exp: Likewise.
12092 * gdb.mi/mi-simplerun.exp: Likewise.
12093 * gdb.mi/mi-stack.exp: Likewise.
12094 * gdb.mi/mi-stepi.exp: Likewise.
12095 * gdb.mi/mi-syn-frame.exp: Likewise.
12096 * gdb.mi/mi-until.exp: Likewise.
12097 * gdb.mi/mi-var-block.exp: Likewise.
12098 * gdb.mi/mi-var-child.exp: Likewise.
12099 * gdb.mi/mi-var-cmd.exp: Likewise.
12100 * gdb.mi/mi-var-display.exp: Likewise.
12101 * gdb.mi/mi-watch.exp: Likewise.
12102 * gdb.mi/mi2-basics.exp: Likewise.
12103 * gdb.mi/mi2-break.exp: Likewise.
12104 * gdb.mi/mi2-cli.exp: Likewise.
12105 * gdb.mi/mi2-console.exp: Likewise.
12106 * gdb.mi/mi2-disassemble.exp: Likewise.
12107 * gdb.mi/mi2-eval.exp: Likewise.
12108 * gdb.mi/mi2-file.exp: Likewise.
12109 * gdb.mi/mi2-read-memory.exp: Likewise.
12110 * gdb.mi/mi2-regs.exp: Likewise.
12111 * gdb.mi/mi2-return.exp: Likewise.
12112 * gdb.mi/mi2-simplerun.exp: Likewise.
12113 * gdb.mi/mi2-stack.exp: Likewise.
12114 * gdb.mi/mi2-stepi.exp: Likewise.
12115 * gdb.mi/mi2-syn-frame.exp: Likewise.
12116 * gdb.mi/mi2-until.exp: Likewise.
12117 * gdb.mi/mi2-var-block.exp: Likewise.
12118 * gdb.mi/mi2-var-child.exp: Likewise.
12119 * gdb.mi/mi2-var-cmd.exp: Likewise.
12120 * gdb.mi/mi2-var-display.exp: Likewise.
12121 * gdb.mi/mi2-watch.exp: Likewise.
12122 * gdb.stabs/exclfwd.exp: Likewise.
12123 * gdb.stabs/weird.exp: Likewise.
12124 * gdb.threads/gcore-thread.exp: Likewise.
12125 * gdb.trace/actions.exp: Likewise.
12126 * gdb.trace/backtrace.exp: Likewise.
12127 * gdb.trace/circ.exp: Likewise.
12128 * gdb.trace/collection.exp: Likewise.
12129 * gdb.trace/deltrace.exp: Likewise.
12130 * gdb.trace/infotrace.exp: Likewise.
12131 * gdb.trace/limits.exp: Likewise.
12132 * gdb.trace/packetlen.exp: Likewise.
12133 * gdb.trace/passc-dyn.exp: Likewise.
12134 * gdb.trace/passcount.exp: Likewise.
12135 * gdb.trace/report.exp: Likewise.
12136 * gdb.trace/save-trace.exp: Likewise.
12137 * gdb.trace/tfind.exp: Likewise.
12138 * gdb.trace/tracecmd.exp: Likewise.
12139 * gdb.trace/while-dyn.exp: Likewise.
12140 * gdb.trace/while-stepping.exp: Likewise.
12141
f4b618d1
JB
121422006-08-08 Joel Brobecker <brobecker@adacore.com>
12143
12144 * gdb.base/step-bt.c: New file.
12145 * gdb.base/step-bt.exp: New testcase.
12146
3d00d119
DJ
121472006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12148
12149 * config/monitor.exp (gdb_load): Remove support for obsolete
12150 download-write-size.
12151 * gdb.base/remote.exp: Likewise. Update all callers of
12152 gdb_timed_load.
12153
017b5bd4
DJ
121542006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12155
12156 * cursal.exp: Pass binfile to gdb_load.
12157
837c599d
DJ
121582006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12159
12160 * gdb.base/cursal.exp: Add "" to gdb_load call.
12161
8dd4540b
MK
121622006-07-29 Mark Kettenis <kettenis@gnu.org>
12163
12164 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12165 NetBSD/ELF targets.
12166
ab5c9f60
DJ
121672006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12168
12169 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12170 operator*.
12171
4c42eaff
DJ
121722006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12173
12174 * gdb.base/completion.exp: Update for change in "file" behavior.
12175 * gdb.stabs/weird.exp: Likewise.
12176 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12177 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12178
0155cc76
NS
121792006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12180
12181 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12182 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12183
16026cd7
AS
121842006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12185
12186 * gdb.base/default.exp: Update source command error message.
12187 * gdb.base/help.exp: Update 'help source' message.
12188
16963cb6
DJ
121892006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12190
12191 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12192 test.
12193
6d7fd486
AS
121942006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12195
12196 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12197
29e8a844
DJ
121982006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12199
12200 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12201
6afcfa39
DJ
122022006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12203
12204 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12205
267a692b
MK
122062006-07-17 Mark Kettenis <kettenis@gnu.org>
12207
12208 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12209 *-*-openbsd* from targets for wich we expect ARM FPA floating
12210 point format.
12211
85d2fec4
NR
122122006-07-17 Nick Roberts <nickrob@snap.net.nz>
12213
12214 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12215
122162006-07-17 Mark Kettenis <kettenis@gnu.org>
12217
12218 * gdb.base/annota3.exp: Expect frame-begin annotation.
12219
85b4c6e8
JB
122202006-07-14 Joel Brobecker <brobecker@adacore.com>
12221
12222 * gdb.base/help.exp: Adjust "help unset" test to accept
12223 any list of unset commands.
12224
fb933624
DJ
122252006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12226 Daniel Jacobowitz <dan@codesourcery.com>
12227
12228 * gdb.cp/ref-params.exp: New test.
12229 * gdb.cp/ref-params.cc: New source file.
12230 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12231
1dff4b64
MK
122322006-07-08 Mark Kettenis <kettenis@gnu.org>
12233
12234 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12235 spaces/tabs in regular expressions since they might not be there.
12236
40d2e0e3
AS
122372006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12238
12239 * gdb.base/ifelse.exp: New file.
12240
f6c957d2
NS
122412006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12242
12243 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12244 line.
12245 * gdb.base/huge.exp: Loop over compilation to find a size that
12246 is acceptable.
12247 * gdb.base/remote.exp: Correct expected strings.
12248 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12249
b9c5a23d
DJ
122502006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12251
12252 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12253
9af2e58d
DJ
122542006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12255
12256 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12257 native.
12258
30930ca5
DJ
122592006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12260
12261 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12262 enable stabs testing.
12263
aa32fa1d
DJ
122642006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12265
bd4a4c80 12266 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12267 gdb_test_multiple does.
12268
321fef15
DJ
122692006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12270
12271 * Makefile.in (host_alias): Remove.
12272 (target_alias): Use @target_noncanonical@.
12273 (site.exp): Don't set host_alias.
12274 * aclocal.m4: Remove contents. Include acx.m4.
12275 * configure: Regenerated.
12276 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12277
e1c2defa
NS
122782006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12279
e63b55d1
NS
12280 * lib/gdb.exp (gdb_load_cmd): New.
12281
5600ea19
NS
12282 * gdb.base/fileio.c: Add system(NULL) test.
12283 * gdb.base/fileio.exp: Check it.
12284
e1c2defa
NS
12285 * gdb.base/break.c: Add 10a breakpoint at }
12286 * gdb.base/break.exp: Add test for breakpoint at }
12287 * gdb.cp/anon-union.cc: Add code at end of function.
12288 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12289 * gdb.mi/var-cmd.c: Add code at end of function.
12290 * gdb.mi/mi-var-display.exp: Adjust end of next.
12291 * gdb.mi/mi2-var-display.exp: Likewise.
12292 * gdb.base/fileio.c: Add stop function and insert calls at
12293 stopping places.
12294 * gdb.base/fileio.exp: Breakpoint stop function and remove
12295 explicit line number references.
12296
6c0112ec
JB
122972006-05-19 Joel Brobecker <brobecker@adacore.com>
12298
a9c64011
AS
12299 * gdb.base/del.exp (test_delete_alias): New function.
12300 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 12301
154189a4
FF
123022006-05-18 Fred Fish <fnf@specifix.com>
12303
12304 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12305 required. Check for spurious output after program exits normally.
12306
582e64c2
FF
123072006-05-17 Fred Fish <fnf@specifix.com>
12308
12309 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12310 gdb_load, so it works in the simulator.
12311
8ef6493a
FF
123122006-05-11 Fred Fish <fnf@specifix.com>
12313
12314 * gdb.base/bang.exp: Ignore unexpected output between the
12315 "program exited normally" and the gdb prompt, as many other
12316 tests do.
12317
692b141c
MK
123182006-05-07 Mark Kettenis <kettenis@gnu.org>
12319
12320 * gdb.base/help.exp: Make "delete checkpoint" part option for
12321 "help d" and "help delete" tests.
12322
540b8a30
UW
123232006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12324
a9c64011 12325 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
12326 expected output in some mi_gdb_test statements.
12327 * gdb.mi/mi2-basics.exp: Likewise.
12328
9b6462d9
JB
123292006-05-05 Joel Brobecker <brobecker@adacore.com>
12330
12331 * gdb.base/del.c: New file.
12332 * gdb.base/del.exp: New testcase.
12333
954de43b
DM
123342006-05-05 David S. Miller <davem@sunset.davemloft.net>
12335
12336 * gdb.base/break.exp: Do not assume a breakpoint on
12337 main will actually be in $srcfile when optimizing.
1303f75e
DM
12338 * gdb.base/savedregs.exp: Do not require that the dummy
12339 frame location match up to a symbol and source file location.
c3242428
DM
12340 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12341 will get printed without a mi_cmd_data_list_register_values prefix.
12342 (*-data-list-register-*): Correct regular expressions to expect the new
12343 pseudo d? floating point registers.
12344 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 12345
c7e64c9a
DJ
123462006-05-05 Christophe Lyon <christophe.lyon@st.com>
12347
12348 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12349 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12350 is allocated by the compiler.
12351 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12352 anons, e, anone to force their allocation by the compiler.
12353
123542006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
12355
12356 * gdb.base/help.exp: Update expected text for help d and
12357 help delete.
12358
27ce9a6d
MK
123592006-05-02 Mark Kettenis <kettenis@gnu.org>
12360
12361 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12362 NetBSD/ELF targets.
12363
8608915f
MK
123642006-04-30 Mark Kettenis <kettenis@gnu.org>
12365
12366 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12367 single-step breakpoint fails; make this a KFAIL on
12368 sparc*-*-openbsd*.
12369 * gdb.base/siginfo.exp: Likewise.
12370 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12371
b8db102d
MS
123722006-04-26 Michael Snyder <msnyder@redhat.com>
12373
12374 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12375 which may have to consume output from other forks.
12376 Add tests to make sure that "delete fork" succeeded.
12377
c702009a
MS
123782006-04-20 Michael Snyder <msnyder@redhat.com>
12379
12380 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12381 Add support for the Renesas M32C and M16C.
12382
12383 * gdb.asm/asm-source.exp: Add m32c target.
12384 * gdb.asm/m32c.inc: Support for m32c target.
12385
e28493f2
AS
123862006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12387
12388 * gdb.base/commands.exp (recursive_source_test): New test.
12389
880da185
DM
123902006-04-04 David S. Miller <davem@sunset.davemloft.net>
12391
12392 * gdb.base/float.exp: Add pattern for sparc targets.
12393
61d9b92f
DJ
123942006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12395
12396 * gdb.base/commands.exp (stray_arg0_test): New test.
12397
bd717df8
PB
123982006-03-30 Paul Brook <paul@codesourcery.com>
12399
12400 * gdb.mi/mi-until.exp: kfail broken until command.
12401 * gdb.mi/mi2-until.exp: Ditto.
12402
ec793d3c
NR
124032006-03-27 Nick Roberts <nickrob@snap.net.nz>
12404
12405 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12406
831004b7
AO
124072006-03-08 Alexandre Oliva <aoliva@redhat.com>
12408
12409 * gdb.base/prelink.exp: Anchor tested-for regular expression
12410 on gdb prompt.
12411
effe49a0
PB
124122006-03-07 Paul Brook <paul@codesourcery.com>
12413
12414 * gdb.base/assign.exp: Correct fail message.
12415
e5461016
PB
124162006-03-07 Paul Brook <paul@codesourcery.com>
12417
12418 * lib/compiler.c: Extract armcc version number.
12419 * lib/compiler.cc: Ditto.
12420
fc91c6c2
PB
124212006-03-07 Paul Brook <paul@codesourcery.com>
12422
12423 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12424 additional_flags=-w.
12425 * gdb.arch/altivec-regs.exp: Ditto.
12426 * gdb.arch/e500-abi.exp: Ditto.
12427 * gdb.arch/e500-regs.exp: Ditto.
12428 * gdb.base/all-bin.exp: Ditto.
12429 * gdb.base/annota1.exp: Ditto.
12430 * gdb.base/annota3.exp: Ditto.
12431 * gdb.base/args.exp: Ditto.
12432 * gdb.base/arithmet.exp: Ditto.
12433 * gdb.base/assign.exp: Ditto.
12434 * gdb.base/async.exp: Ditto.
12435 * gdb.base/bang.exp: Ditto.
12436 * gdb.base/break.exp: Ditto.
12437 * gdb.base/call-rt-st.exp: Ditto.
12438 * gdb.base/completion.exp: Ditto.
12439 * gdb.base/cond-expr.exp: Ditto.
12440 * gdb.base/condbreak.exp: Ditto.
12441 * gdb.base/consecutive.exp: Ditto.
12442 * gdb.base/define.exp: Ditto.
12443 * gdb.base/display.exp: Ditto.
12444 * gdb.base/ena-dis-br.exp: Ditto.
12445 * gdb.base/environ.exp: Ditto.
12446 * gdb.base/eval-skip.exp: Ditto.
12447 * gdb.base/info-proc.exp: Ditto.
12448 * gdb.base/jump.exp: Ditto.
12449 * gdb.base/logical.exp: Ditto.
12450 * gdb.base/long_long.exp: Ditto.
12451 * gdb.base/maint.exp: Ditto.
12452 * gdb.base/miscexprs.exp: Ditto.
12453 * gdb.base/pc-fp.exp: Ditto.
12454 * gdb.base/pointers.exp: Ditto.
12455 * gdb.base/relational.exp: Ditto.
12456 * gdb.base/reread.exp: Ditto.
12457 * gdb.base/sect-cmd.exp: Ditto.
12458 * gdb.base/sep.exp: Ditto.
12459 * gdb.base/sepdebug.exp: Ditto.
12460 * gdb.base/until.exp: Ditto.
12461 * gdb.base/whatis-exp.exp: Ditto.
12462 * gdb.cp/annota2.exp: Ditto.
12463 * gdb.cp/annota3.exp: Ditto.
12464 * gdb.trace/actions.exp: Ditto.
12465 * gdb.trace/backtrace.exp: Ditto.
12466 * gdb.trace/circ.exp: Ditto.
12467 * gdb.trace/collection.exp: Ditto.
12468 * gdb.trace/deltrace.exp: Ditto.
12469 * gdb.trace/infotrace.exp: Ditto.
12470 * gdb.trace/limits.exp: Ditto.
12471 * gdb.trace/packetlen.exp: Ditto.
12472 * gdb.trace/passc-dyn.exp: Ditto.
12473 * gdb.trace/passcount.exp: Ditto.
12474 * gdb.trace/report.exp: Ditto.
12475 * gdb.trace/save-trace.exp: Ditto.
12476 * gdb.trace/tfind.exp: Ditto.
12477 * gdb.trace/tracecmd.exp: Ditto.
12478 * gdb.trace/while-dyn.exp: Ditto.
12479 * gdb.trace/while-stepping.exp: Ditto.
12480 * lib/gdb.exp: Ditto.
12481 (gdb_compile): Handle nowarning option.
12482
5f4a23d9
AO
124832006-03-07 Alexandre Oliva <aoliva@redhat.com>
12484
12485 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12486 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
12487 Rename executable to prelinkt. Don't re-prelink if we didn't
12488 get a core file. Test prelink -u exit status to tell whether
12489 prelinking failed. Use gdb_test_multiple.
12490
9733fc94
DJ
124912006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12492
12493 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12494 (do_tests): Call it.
12495
cc10cae3
AO
124962006-02-28 Alexandre Oliva <aoliva@redhat.com>
12497
12498 * gdb.base/prelink.exp: New test.
12499 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12500
15c46491
WZ
125012006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
12502
12503 * gdb.fortran/derived-type.f90: New file.
12504 * gdb.fortran/derived-type.exp: New testcase.
12505
5c9f7ded
DJ
125062006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
12507
12508 * gdb.base/default.exp: Allow ';' as a directory separator.
12509
5b96932b
AS
125102006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12511
12512 * gdb.base/help.exp (help add-symbol-file): Update.
12513
1986bccd
AS
125142006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12515
12516 * gdb.base/help.exp (help load): Update expected results.
12517
a8b7528f
FF
125182006-02-19 Fred Fish <fnf@specifix.com>
12519
12520 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12521 specifix hex value as part of results.
12522 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 12523
f8261448
FF
125242006-02-16 Fred Fish <fnf@specifix.com>
12525
12526 * gdb.base/whatis.c: Define variables using typedefs char_addr,
12527 ushort_addr, and slong_addr, so the typedefs are not optimized
12528 away.
12529 * gdb.base/whatis.exp: Add tests using type name for struct type,
12530 union type, enum type, and typedef.
a9c64011 12531
31d8bdd2
MK
125322006-02-13 Mark Kettenis <kettenis@gnu.org>
12533
12534 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12535
34e41e63
JB
125362006-02-13 Jim Blandy <jimb@redhat.com>
12537
12538 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12539 case where it takes two "next" commands to skip past the init
12540 call.
12541
ac6e4f31
FF
125422006-02-12 Fred Fish <fnf@specifix.com>
12543
12544 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12545 to handle cases where it takes two "next" commands to skip
12546 past the init call.
12547
2db2d571
JB
125482006-02-07 Joel Brobecker <brobecker@adacore.com>
12549
12550 * gdb.ada/array_return.exp: Mark the last test as expected to fail
12551 on hppa32 targets.
12552
38fcd64c
DJ
125532006-02-06 Vladimir Prus <ghost@cs.msu.su>
12554
12555 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12556 field.
12557
1315ad46
MK
125582006-01-29 Mark Kettenis <kettenis@gnu.org>
12559
12560 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12561
5625b943
DJ
125622006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12563
12564 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12565 files.
12566
80df1bbe
DJ
125672006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12568
12569 * gdb.cp/maint.exp: Set complaints to a positive value.
12570
9078e690
DJ
125712006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12572
12573 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
12574 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
12575 function name.
12576
9c903399
DJ
125772006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12578
12579 * gdb.base/checkpoint.c: Update copyright notice. Include
12580 <stdlib.h>.
12581
761ae4d6
JB
125822006-01-04 Jim Blandy <jimb@redhat.com>
12583
12584 * gdb.asm/asm-source.exp: Independently provide default values for
12585 asm-flags and debug-flags. Use 'string equal' to do the
12586 comparison, not the implicit expr's '==' operator. Remove
12587 now-unneeded assignments to asm-flags. In h8300 case, place
12588 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12589
099ac3dd
MS
125902006-01-04 Michael Snyder <msnyder@redhat.com>
12591
12592 * gdb.base/checkpoint.c: New file.
12593 * gdb.base/checkpoint.exp: New file.
12594 * gdb.base/multi-fork.c: New file.
12595 * gdb.base/multi-fork.exp: New file.
12596 * gdb.base/pi.txt: New file (data for checkpoint.c test).
12597
f4d85314
FF
125982006-01-04 Fred Fish <fnf@specifix.com>
12599
12600 * gdb.base/ptype.c (foo): Add typedef.
12601 (intfoo): Add function.
12602 * gdb.base/ptype1.c: New file.
12603 * gdb.base/ptype.exp: Handle compilation and linking with two
12604 source files. Test that proper type for "foo" is found based
12605 on source context rather than first match found in symtabs.
12606
a1b06f35
MK
126072005-12-28 Mark Kettenis <kettenis@gnu.org>
12608
12609 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12610 * gdb.asm/openbsd.inc: Indent commands.
12611
d082a1e2
MK
126122005-12-26 Mark Kettenis <kettenis@gnu.org>
12613
c65016bd
MK
12614 * gdb.base/freebpcmd.exp: Increase timeout.
12615
d082a1e2
MK
12616 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12617
d3c32a0e
DJ
126182005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
12619
12620 * gdb.base/default.exp: Update check for "show version".
12621
9fdb1f50
RC
126222005-12-09 Randolph Chung <tausq@debian.org>
12623
12624 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12625 * gdb.asm/pa64.inc: New file.
12626
5f2c56f7
RC
126272005-12-09 Randolph Chung <tausq@debian.org>
12628
12629 * gdb.asm/common.inc: Indent commands.
12630 * gdb.asm/asmsrc1.s: Likewise.
12631 * gdb.asm/asmsrc2.s: Likewise.
12632
8117349c
RC
126332005-12-09 Randolph Chung <tausq@debian.org>
12634
12635 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12636 (get_addr_of_sym): Remove duplicate print.
12637 (gen_core): xfail hppa*-*-hpux*, update expected output.
12638 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12639 * gdb.arch/pa64-nullify.s: New file.
12640
8f07f25a
RC
126412005-12-09 Randolph Chung <tausq@debian.org>
12642
12643 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12644
55b39184
DJ
126452005-12-07 Christophe Lyon <christophe.lyon@st.com>
12646
12647 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12648 code generation for these functions.
12649 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12650 error message.
12651
31e2b00f
AS
126522005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
12653
12654 * gdb.base/help.exp (help b, help br, help bre, help brea)
12655 (help break): Update the expected message.
12656
c3d0b56e
SC
126572005-11-11 Stephane Carrez <stcarrez@nerim.fr>
12658
12659 * gdb.asm/m68hc11.inc: Setup the data section.
12660 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12661 script for this test.
12662 (m6812-*-*): Likewise.
12663
36ae0ea9
RC
126642005-11-09 Randolph Chung <tausq@debian.org>
12665
12666 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12667
9d6f42e9
WZ
126682005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
12669
12670 * gdb.base/break.exp: Fix a comment typo.
12671
e2126a14
EZ
126722005-11-03 Jim Blandy <jimb@redhat.com>
12673
a9c64011
AS
12674 Checked in by Elena Zannoni <ezannoni@redhat.com>
12675
889bf7c5 12676 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 12677
e0ac7199
CV
126782005-11-02 Corinna Vinschen <vinschen@redhat.com>
12679
12680 * gdb.arch/gdb1558.c: Include stdio.h.
12681
31d3fb18
MK
126822005-10-31 Mark Kettenis <kettenis@gnu.org>
12683
12684 * gdb.asm/asm-source.exp: Use -e instead of --entry.
12685
e52b687c
MK
126862005-10-31 Mark Kettenis <kettenis@gnu.org>
12687
12688 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12689
f4711d79
PG
126902005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
12691
a9c64011
AS
12692 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12693 vscr" tests to better match output.
f4711d79 12694
987a9106
JB
126952005-10-12 Jim Blandy <jimb@redhat.com>
12696
12697 * gdb.base/structs.exp (any): New function.
12698 (test_struct_returns): Don't make any assumptions at all about
12699 what value the function returns when GDB can't set the return
12700 value.
12701
2336bb58
JB
127022005-10-09 Joel Brobecker <brobecker@adacore.com>
12703
12704 * gdb.ada/arrayidx/p.adb: New file.
12705 * gdb.ada/arrayidx.exp: New testcase
12706
127072005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
12708
12709 * gdb.ada/array_return/pck.ads: New file.
12710 * gdb.ada/array_return/pck.adb: New file.
12711 * gdb.ada/array_return/p.adb: New file.
12712 * gdb.ada/array_return.exp: New testcase.
12713
705335ea
JB
127142005-10-03 Joel Brobecker <brobecker@adacore.com>
12715
a9c64011
AS
12716 * gdb.base/arrayidx.c: New file.
12717 * gdb.base/arrayidx.exp: New testcase.
705335ea 12718
11ee9940
NR
127192005-09-29 Nick Roberts <nickrob@snap.net.nz>
12720
12721 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12722 frames-invalid and breakpoints-invalid are no longer generated
12723 with level 3 so don't expect them in the output.
12724
39fb8e9e
BR
127252005-09-27 Bob Rossi <bob@brasko.net>
12726
a9c64011 12727 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
12728 from test. Escape the | in mi_gdb_test call.
12729 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12730 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12731 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12732 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12733 expected regex's in mi_gdb_test calls.
12734 * lib/mi-support.exp: Remove arbitrary .* from tests.
12735 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12736 Fully anchor GDB/MI expected results in mi_gdb_test.
12737 * lib/gdb.exp (string_to_regexp): Escape the ] character.
12738 * gdb.base/sizeof.exp: Remove escape character. Correct test.
12739
2af48f68
PB
127402005-09-26 Paul Brook <paul@codesourcery.com>
12741
12742 * long_long.exp: Exclude eabi targets from arm FPA float format test.
12743
f34502bc
WZ
127442005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12745
12746 * bfp-test.c: New file.
12747 * bfp-test.exp: New testcase.
12748
ca929517
WZ
127492005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12750
12751 * gdb.fortran/subarray.exp: New testcase to test the evaluation
12752 of subarray and substring variable.
12753 * gdb.fortran/subarray.f: New source file for the test of subarray
12754 and substring variable evaluation.
12755 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12756 of string constant.
12757
c761af65
DJ
127582005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
12759
12760 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12761 copyright dates.
12762
561d7a1d
PG
127632005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
12764
12765 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12766 powerpc altivec' test with an almost identical 'info vector' test.
12767
b2b64cc9
PG
127682005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12769
a9c64011
AS
12770 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12771 vscr" tests to match output.
b2b64cc9 12772
6ac4d15a
PG
127732005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12774
a9c64011
AS
12775 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12776 output.
6ac4d15a 12777
40e55bef
BR
127782005-09-11 Bob Rossi <bob@brasko.net>
12779
889bf7c5
PA
12780 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12781 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12782 commands that return an MI output command and an asyncronous MI output
12783 command.
40e55bef
BR
12784 * gdb.mi/mi-console.exp: Ditto.
12785
3c7385ec
BR
127862005-09-11 Bob Rossi <bob@brasko.net>
12787
12788 * gdb.mi/mi-var-child.c: Include <string.h>.
12789
a6cd0eb3
DJ
127902005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
12791
12792 * killed.exp: Correct gdb_expect syntax.
12793
2f168eed
CV
127942005-08-09 Corinna Vinschen <vinschen@redhat.com>
12795
12796 * lib/mi-support.exp (mi_gdb_load): Fix typo.
12797
ecd3fd0f
BR
127982005-08-02 Bob Rossi <bob@brasko.net>
12799
12800 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12801 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12802 Change tests to inferior-tty-set/show.
12803 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12804 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12805 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12806 inferior. Use mi_gdb_test to get GDB and Inferior output.
12807 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12808 descriptor.
12809 (mi_inferior_tty_name): Add inferior PTY file name.
12810 (mi_gdb_start): Add INFERIOR_PTY parameter.
12811 (mi_gdb_test): Add IPATTERN parameter.
12812
f1ea48cb 128132005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 12814
f1ea48cb
BR
12815 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12816 parameter to mi_gdb_test.
12817 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12818
6e650a67
DJ
128192005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12820
12821 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12822 struct_declarations.
12823 * gdb.mi/mi-var-child.exp: Step over the initialization of
12824 struct_declarations.
12825
8be260b6
DJ
128262005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12827
12828 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12829 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12830 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12831 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12832 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12833 file.
12834
4e660f07
NR
128352005-07-27 Nick Roberts <nickrob@snap.net.nz>
12836
12837 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12838 (do_children_tests): Assign values to the extra elements.
12839
12840 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12841 them for tests for "-var-update --no-values" and
a9c64011 12842 "-var-update --all-values".
4e660f07
NR
12843 Add test for "-var-list-children --simple-values".
12844
12845 * gdb.mi/basics.c (callee4): Add integer array D[3]...
12846
12847 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12848 "-stack-list-locals --simple-values" Improve doc strings and
12849 comments.
12850
6bdae935
MK
128512005-07-18 Mark Kettenis <kettenis@gnu.org>
12852
598b7a6f
MK
12853 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12854 *-*-openbsd*.
12855 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12856
6bdae935
MK
12857 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12858 sigaltsatck'.
12859
1323e929 128602005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 12861
1323e929
BR
12862 * gdb.base/default.exp (tty): Changed output of command.
12863 * gdb.base/help.exp (help tty): Ditto.
12864
b1a9c082
MK
128652005-07-12 Mark Kettenis <kettenis@gnu.org>
12866
12867 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12868
10a844a2
MK
128692005-07-10 Mark Kettenis <kettenis@gnu.org>
12870
12871 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12872 -stack-select-frame without arguments.
12873 (test_stack_frame_listing): Add test for newly implemented command
12874 -stack-info-frame.
12875
3cb3b8df
BR
128762005-07-06 Bob Rossi <bob@brasko.net>
12877
12878 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12879 command.
12880 (Copyright): Update copyright.
12881
a0c5fbcf
WZ
128822005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
12883
12884 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12885 tests to evaluate exponentiation expression.
12886
984971d0
AS
128872005-06-29 Andreas Schwab <schwab@suse.de>
12888
12889 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12890 main to avoid warnings.
12891
12892 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12893
fe03833f
NR
128942005-06-20 Nick Roberts <nickrob@snap.net.nz>
12895
12896 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12897 -stack-select-frame without arguments.
12898 (test_stack_frame_listing): Add test for newly implemented command
12899 -stack-info-frame.
a9c64011 12900
7a55f279
WZ
129012005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
12902
0ffa0ea5
DJ
12903 * gdb.fortran/array-element.f: New file.
12904 * gdb.fortran/array-element.exp: New testcase.
7a55f279 12905
26585198
DJ
129062005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12907
12908 * gdb.base/bigcore.exp: Correct checks for systems which can
12909 not dump a large core file.
12910
c1bd25fd
DJ
129112005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12912
12913 * gdb.base/relocate.c: Add a copyright notice.
12914 (dummy): Remove.
12915 * gdb.base/relocate.exp: Test printing the values of variables
12916 from a relocatable file.
12917
589e074d
DJ
129182005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
12919
12920 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12921 excess MI output after an error.
12922
0915f927
JB
129232005-05-29 Joel Brobecker <brobecker@adacore.com>
12924
12925 * gdb.arch/alpha-step.c: New file.
12926 * gdb.arch/alpha-step.exp: New testcase.
12927
76ff342d
DJ
129282005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
12929 Dennis Brueni <dennis@slickedit.com>
12930
12931 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12932 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12933 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12934 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12935 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12936 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12937 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12938
96b0c7ac
DJ
129392005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
12940 Wu Zhou <woodzltc@cn.ibm.com>
12941
12942 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
12943 IBM's xlc compiler.
12944 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12945 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12946
f21565d2
JB
129472005-05-13 Jim Blandy <jimb@redhat.com>
12948
12949 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12950 calling gdb_suppress_entire_file.
12951 * gdb.base/charset.exp: Same.
12952 * gdb.base/call-rt-st.exp: Same.
12953
6006a3a1
BR
129542005-05-05 Bob Rossi <bob_rossi@cox.net>
12955
12956 * lib/gdb.exp (fullname_syntax): Added global regex.
12957 (fullname_syntax_POSIX): Ditto.
12958 (fullname_syntax_UNC): Ditto.
12959 (fullname_syntax_DOS_CASE): Ditto.
12960 (fullname_syntax_DOS): Ditto.
12961 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12962 fullname_syntax variable to scope and use it.
12963 (test_file_list_exec_source_files): Ditto.
12964 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12965
c3b69c04
DJ
129662005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
12967
12968 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12969
3c95e6af
PG
129702004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
12971
a9c64011
AS
12972 * lib/gdb.exp (skip_altivec_tests): New function, based on
12973 check_vmx_hw_available from the GCC testsuite.
12974 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12975 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 12976
78df6c56
JB
129772005-05-02 Jim Blandy <jimb@redhat.com>
12978
12979 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12980 calling gdb_suppress_entire_file.
12981
1690f9cf
DJ
129822005-04-30 Randolph Chung <tausq@debian.org>
12983
12984 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12985 Slightly relax "sem_post" name checking.
12986
5ea106f7
PG
129872005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12988
12989 * gdb.base/unload.exp: Use new shared library infrastructure.
12990
bf7234cf
PG
129912005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12992
12993 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 12994 infrastructure.
bf7234cf 12995
547b869a
CV
129962005-04-29 Corinna Vinschen <vinschen@redhat.com>
12997
12998 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12999 * gdb.asm/h8300.inc: New file.
13000
f07e55f0
PG
130012005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13002
13003 * gdb.base/shlib-call.exp: Change to use new shared library
13004 infrastructure.
13005
3cbba3d1
PG
130062005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13007
a9c64011
AS
13008 * gdb.base/pending.exp: Change to use new shared library
13009 infrastructure.
3cbba3d1 13010
ed6df200
PG
130112005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13012
a9c64011
AS
13013 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13014 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13015
8c8f4ebe
PG
130162005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13017
a9c64011
AS
13018 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13019 shared objects being adjusted and update copyright years.
8c8f4ebe 13020
607fbc54
DJ
130212005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13022
13023 * ChangeLog: Correct some 2003-01-13 dates.
13024 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13025 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13026 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13027 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13028 gdb.trace/tfind.exp: Update copyright years.
13029
57bf0e56
DJ
130302005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13031 Daniel Jacobowitz <dan@codesourcery.com>
13032
13033 * lib/gdb.exp (gdb_compile): Handle shlib=.
13034 (gdb_compile_shlib): New function.
13035
9b593790
PG
130362005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13037
a9c64011 13038 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13039
9494c6a5
DJ
130402005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13041
13042 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13043 gdb.server.
13044 * configure.ac: Likewise.
13045 * configure: Regenerated.
13046 * gdb.gdbserver/Makefile.in: Moved to...
13047 * gdb.server/Makefile.in: ... here.
13048 * gdb.gdbserver/server.c: Moved to...
13049 * gdb.server/server.c: ... here.
13050 * gdb.gdbserver/server-run.exp: Moved to...
13051 * gdb.server/server-run.exp: ... here.
13052
6f8eac0e
DJ
130532005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13054
13055 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13056 * configure.ac: Create gdb.gdbserver/Makefile.
13057 * configure: Regenerated.
13058 * lib/gdbserver-support.exp: New file, derived from
13059 config/gdbserver.exp.
13060 * config/gdbserver.exp: Use gdbserver-support.exp.
13061 * gdb.gdbserver/Makefile.in: New file.
13062 * gdb.gdbserver/server.c: New file.
13063 * gdb.gdbserver/server-run.exp: New file.
13064
6e87504d
PG
130652005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13066
a9c64011
AS
13067 * lib/gdb.exp (test_compiler_info): Return compiler_info
13068 if no arguments are given.
6e87504d 13069
d1779be4
PG
130702005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13071
13072 * gdb.arch/altivec-abi.exp: Check for compiler and set
13073 use altivec' flag accordingly.
13074 * gdb.arch/altivec-regs.exp: Likewise.
13075
88750304
DJ
130762005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13077
13078 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13079
f3fb768d
AS
130802005-03-27 Andreas Schwab <schwab@suse.de>
13081
13082 * gdb.base/bigcore.c (main): Add missing mode argument in open
13083 call.
13084
7e813ac5
DJ
130852005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13086
13087 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13088 downloads.
13089 * config/gdbserver.exp (gdb_load): Likewise.
13090
8e3049aa
PB
130912005-03-14 Paul Brook <paul@codesourcery.com>
13092
13093 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13094 targets.
13095
a9df7c44
JB
130962005-03-09 Joel Brobecker <brobecker@adacore.com>
13097
13098 * gdb.dwarf2/dup-psym.S: New file.
13099 * gdb.dwarf2/dup-psym.exp: New testcase.
13100
9f0d94e8
JB
131012005-03-09 Joel Brobecker <brobecker@adacore.com>
13102
13103 * gdb.ada/exec_changed/first.adb: New file.
13104 * gdb.ada/exec_changed/second.adb: New file.
13105 * gdb.ada/exec_changed.exp: New testcase.
13106
5f579bc5
NS
131072005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13108
36e9969c
NS
13109 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13110 (A2): New class.
13111 (main): Test operator+.
13112 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13113 breakpoint test.
13114
5f579bc5
NS
13115 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13116 * gdb.base/signull.exp: Disable if gdb,nosignals.
13117 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13118 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13119 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13120 * gdb.mi/mi2-console.exp: Likewise.
13121 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13122 continue output at start.
13123 (gdb_collect_locals_test): Robustify regexp.
13124 * gdb.trace/passc-dyn.exp: Fix comment typo.
13125 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13126
be46087e
CV
131272005-03-08 Corinna Vinschen <vinschen@redhat.com>
13128
13129 * gdb.asm/asm-source.exp: Add iq2000 case.
13130 * gdb.asm/iq2000.inc: New file.
13131
384e1a61 131322005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13133
384e1a61
MI
13134 * gdb.base/command.exp: Change hardcoded value to regular expression.
13135 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13136
584b6e9e
DJ
131372005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13138
13139 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13140 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13141 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13142 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13143 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13144
ab5b5d61
MK
131452005-03-05 Mark Kettenis <kettenis@gnu.org>
13146
13147 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13148 changes.
13149
ae051c1b
PG
131502004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13151
a9c64011
AS
13152 * lib/compiler.c: Add test for IBM's xlc compiler.
13153 * lib/compiler.cc: Likewise.
ae051c1b 13154
3f0f6ed2
JB
131552004-02-24 Joel Brobecker <brobecker@adacore.com>
13156
13157 * gdb.ada/fixed_points.exp: Create compilation object directory
13158 before running the test.
13159 * gdb.ada/null_record.exp: Likewise.
13160 * gdb.ada/packed_array.exp: Likewise.
13161 * gdb.ada/start.exp: Likewise.
13162
724f452b
JB
131632005-02-15 Joel Brobecker <brobecker@adacore.com>
13164
13165 * gdb.ada/packed_array/pa.adb: New file.
13166 * gdb.ada/packed_array.exp: New testcase.
13167
57f5cdfb 131682005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13169
1f393151
MK
13170 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13171 files.
13172
ebdda337
MK
13173 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13174 on *-*-openbsd*. Correctly match whitespace in regukar
13175 expressions.
13176
cf309262
DJ
131772005-02-10 Daniel Jacobowitz <dan@debian.org>
13178
13179 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13180 PR exp/1821
13181 * gdb.base/gdb1821.c: New test file.
13182 * gdb.base/gdb1821.exp: New test file.
13183
3be49e7a
JB
131842005-02-09 Joel Brobecker <brobecker@adacore.com>
13185
13186 * gdb.base/start.c: New file.
13187 * gdb.base/start.exp: New testcase.
13188
e292e67d
JB
131892005-02-09 Joel Brobecker <brobecker@adacore.com>
13190
13191 * gdb.ada/start/dummy.adb: New file.
13192 * gdb.ada/start.exp: New testcase.
13193
dbdfa66c
CV
131942005-02-09 Corinna Vinschen <vinschen@redhat.com>
13195
13196 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13197 for printing symbols and statistics.
13198 Add test for using relative pathnames in "maint print msymbols" test.
13199 Mark "maint info sections DATA" XFAIL on Cygwin.
13200 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13201 tests.
13202
d7941671
AC
132032005-02-09 Andreas Schwab <schwab@suse.de>
13204
13205 Committed by Andrew Cagney <cagney@gnu.org>
13206 * gdb.base/remotetimeout.exp: New file.
13207
74e5ef44
MK
132082005-02-07 Mark Kettenis <kettenis@gnu.org>
13209
13210 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13211
464dd14d
JB
132122005-02-03 Joel Brobecker <brobecker@adacore.com>
13213
13214 * gdb.ada/gnat_ada.gpr: New file.
13215 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13216 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13217 * configure.ac: No longer generate gnat_ada.gpr.
13218 * configure: Regenerate.
13219 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13220 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13221 * gdb.ada/null_record/bar.ads: Likewise.
13222 * gdb.ada/null_record/bar.adb: Likewise.
13223 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13224 * gdb.ada/null_record.exp (testdir): New variable.
13225 (testfile): executable is now in testdir subdirectory.
13226 (srcfile): Use full path to the main compilation unit.
13227 * gdb.ada/fixed_points.exp: Same changes as above.
13228
30d756ae
NR
132292005-02-03 Nick Roberts <nickrob@snap.net.nz>
13230
13231 * gdb.base/interp.exp: New test.
13232
9d799f85
AC
132332005-01-24 Andrew Cagney <cagney@gnu.org>
13234
13235 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13236
15656118
AC
132372005-01-19 Andrew Cagney <cagney@gnu.org>
13238
a892c31b
AC
13239 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13240 configure.ac not configure.in.
13241
15656118
AC
13242 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13243 of powerpc*-*-*.
13244 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13245 * gdb.base/list.exp (test_list_function)
15656118
AC
13246 (test_list_filename_and_function): Ditto.
13247 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13248
a7b01baf
AC
132492005-01-16 Andrew Cagney <cagney@gnu.org>
13250
17d92a02
AC
13251 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13252
a7b01baf
AC
13253 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13254
bc8332bb
AC
132552005-01-14 Andrew Cagney <cagney@gnu.org>
13256
13257 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13258 * gdb.mi/mi2-var-cmd.exp: Ditto.
13259
4d074752
CV
132602005-01-10 Corinna Vinschen <vinschen@redhat.com>
13261
13262 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13263
bec39cab
AC
132642005-01-07 Andrew Cagney <cagney@gnu.org>
13265
13266 * configure.ac: Rename configure.in, require autoconf 2.59.
13267 * configure: Re-generate.
13268 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13269 * gdb.stabs/configure: Re-generate.
13270 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13271 * gdb.hp/configure: Re-generate.
13272 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13273 autoconf 2.59.
13274 * gdb.hp/gdb.objdbg/configure: Re-generate.
13275 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13276 autoconf 2.59.
13277 * gdb.hp/gdb.defects/configure: Re-generate.
13278 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13279 autoconf 2.59.
13280 * gdb.hp/gdb.compat/configure: Re-generate.
13281 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13282 autoconf 2.59.
13283 * gdb.hp/gdb.base-hp/configure: Re-generate.
13284 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13285 autoconf 2.59.
13286 * gdb.hp/gdb.aCC/configure: Re-generate.
13287
f10b16d4
JB
132882004-12-15 Jim Blandy <jimb@redhat.com>
13289
13290 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13291 under NPTL when there is debugging info available for libpthread.
13292
fb6e1814
JG
132932004-12-13 Jerome Guitton <guitton@gnat.com>
13294
13295 * gdb.ada/fixed_points.c: New file.
13296 * gdb.ada/fixed_points.exp: New file.
13297
fe46cd3a
RC
132982004-12-03 Randolph Chung <tausq@debian.org>
13299
13300 * gdb.arch/pa-nullify.exp: New file.
13301 * gdb.arch/pa-nullify.s: New file.
13302
8de0841b
RC
133032004-11-30 Randolph Chung <tausq@debian.org>
13304
13305 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13306 instead of "tbug". Fix regexp to work properly with gdb_test.
13307
c8170782
PH
133082004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13309
13310 * gdb.base/bitfields2.exp: New test.
13311 * gdb.base/bitfields2.c: New file.
13312
954269c2
RE
133132004-11-28 Richard Earnshaw <rearnsha@arm.com>
13314
13315 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13316
0107feed
RC
133172004-11-16 Randolph Chung <tausq@debian.org>
13318
13319 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13320
f073ae8c
DJ
133212004-11-14 Daniel Jacobowitz <dan@debian.org>
13322
13323 * gdb.threads/threadapply.exp: Correct "macro details" test.
13324
19ad59e7
JJ
133252004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13326
13327 * gdb.threads/threadapply.exp: New test.
13328 * gdb.threads/threadapply.c: New file.
13329
9cf0961b
MK
133302004-11-07 Mark Kettenis <kettenis@gnu.org>
13331
13332 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13333 frames.
13334
c789492a
FL
133352004-11-05 Felix Lee <felix+log1@specifixinc.com>
13336
13337 * gdb.base/cursal.exp: New file.
13338 * gdb.base/cursal.c: New file.
13339
a1e167bb
AC
133402004-11-03 Andrew Cagney <cagney@gnu.org>
13341
13342 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13343
b7cbf173
MK
133442004-10-30 Mark Kettenis <kettenis@gnu.org>
13345
13346 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13347 NetBSD/ELF targets.
13348
88f9d34f
JB
133492004-10-29 Joel Brobecker <brobecker@gnat.com>
13350
13351 * gdb.threads/bp_in_thread.c: New file, copied from
13352 pthread_cond_wait.c.
13353 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13354 file, rather than reusing the .c file from another testcase.
13355
ca7d6a0c
JB
133562004-10-20 Joel Brobecker <brobecker@gnat.com>
13357
13358 * gdb.ada/null_record.exp: Check where we stopped after
13359 sending the start command, instead of where the associated
13360 temporary breakpoint was inserted.
13361
0d863d03
AC
133622004-10-14 Andrew Cagney <cagney@gnu.org>
13363
13364 * gdb.mi/gdb701.c (main): Return 0.
13365
d11e72cb
DJ
133662004-10-13 Daniel Jacobowitz <dan@debian.org>
13367
d40539a4 13368 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 13369
e1923096
JJ
133702004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13371
13372 * gdb.threads/schedlock.c: Add comment markers to use to find
13373 line numbers.
13374 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13375 comments.
13376 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13377 breakpoint lines.
13378
ec8ba2c9
DJ
133792004-10-12 Daniel Jacobowitz <dan@debian.org>
13380
13381 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13382
0eb3658b
DJ
133832004-10-12 Daniel Jacobowitz <dan@debian.org>
13384
13385 * configure.in: Add gdb.dwarf2.
13386 * configure: Regenerated.
13387 * Makefile.in: Add gdb.dwarf2.
13388 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13389 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13390 gdb.dwarf2/file1.txt: New files.
13391
a271cc33
OF
133922004-10-11 Orjan Friberg <orjanf@axis.com>
13393
a9c64011 13394 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
13395 of "run", since the latter doesn't work with remote targets. Adjust
13396 the breakpoint numbering accordingly.
13397 * gdb.threads/pthread_cond_wait.exp: Ditto.
13398
895ce074
MC
133992004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13400
13401 * gdb.base/overlays.exp: Update copyright years.
13402
6be3092d
KI
134032004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13404
13405 * gdb.base/overlays.exp: Disable if target is Linux.
13406
e05389b8
FL
134072004-10-06 Felix Lee <felix+log1@specifixinc.com>
13408
13409 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13410
73cb587d
KI
134112004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13412
13413 * gdb.asm/asm-source.exp: Add m32r-linux target.
13414 * gdb.asm/m32r-linux.inc: New file.
13415
3c0edcdc
AC
134162004-09-24 Andrew Cagney <cagney@redhat.com>
13417 David Anderson <anderson@redhat.com>
13418
13419 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13420 command fails, assume things will work.
13421 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13422 (_GNU_SOURCE): Define.
13423 (print_unsigned, print_hex): Change parameter to "long long".
13424 (print_byte_count): New function, use to print byte counts.
13425 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13426 O_LARGEFILE.
13427 (main): Compute an upper bound on a corefile in max_core_size.
13428 Limit memory chunk size to max_core_size. Limit total memory
13429 allocated to max_core_size.
13430
4bb3667f
AC
134312004-09-23 Andrew Cagney <cagney@gnu.org>
13432
13433 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13434 from a separate process with code that creates a corefile by
13435 making the inferior dump core.
13436
60fe1a51
MK
134372004-09-23 Mark Kettenis <kettenis@gnu.org>
13438
13439 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13440 block.
13441
8e937346
MC
134422004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13443
13444 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13445 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13446 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13447 Likewise.
13448
7213f6d6
JJ
134492004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13450
13451 * gdb.java/jprint.exp: New test case for java inferior call.
13452 * gdb.java/jprint.java: Ditto.
13453
eac69dca
JB
134542004-09-15 Joel Brobecker <brobecker@gnat.com>
13455
13456 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13457
22227696
MC
134582004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13459
13460 * gdb.threads/killed.c: Include <stdlib.h>.
13461 * gdb.threads/pthreads.c: Likewise.
13462
7dd403a4
MC
134632004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13464
13465 * gdb.threads/killed.c: Add copyright notice.
13466
33f2d567
JM
134672004-09-10 Jason Molenda (jmolenda@apple.com)
13468
a9c64011
AS
13469 * gdb.base/define.exp: Two new tests to verify zero space chars
13470 after 'if' and 'while' commands in a user-defined command is correctly
13471 parsed.
33f2d567 13472
e05b62ac
AC
134732004-09-08 Andrew Cagney <cagney@gnu.org>
13474
13475 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
13476 delivery test with duplicate at end of file.
13477
9cbe82da
MK
134782004-09-06 Mark Kettenis <kettenis@jive.nl>
13479
13480 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13481
564803d9
MC
134822004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13483
13484 * config/hppro.exp: Removed.
13485
7c6807ce
MC
134862004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13487
13488 * config/sparclet.exp: Removed.
13489
bf7e26dd
MC
134902004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13491
13492 * config/udi.exp: Removed.
13493
714e341b
MC
134942004-09-02 Michael Chastain <mec.gnu@mindspring.com>
13495
13496 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13497 of "exp_continue".
13498 (advancei): Likewise.
13499
1236e623
JJ
135002004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13501
13502 * gdb.base/unload.exp: Fix so messages aren't duplicated.
13503
3bdcad15
MI
135042004-09-01 Manoj Iyer <manjo@austin.ibm.com>
13505
228af206 13506 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
13507 to check for nodebug in executable.
13508 * gdb.gdb/observer.exp (setup_test): Likewise.
13509 * gdb.gdb/selftest.exp (test_with_self): Likewise.
13510 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13511
c72b934c
AC
135122004-09-01 Andrew Cagney <cagney@gnu.org>
13513
13514 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13515 files.
13516
edd9b715
JJ
135172004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13518
13519 * gdb.base/unload.exp: Fix expected warning message to match
13520 latest format.
13521
fb4ce06b
CV
135222004-09-01 Corinna Vinschen <vinschen@redhat.com>
13523
13524 * gdb.base/call-rt-st.exp: Fix typos.
13525
ce78e7c3
MI
135262004-08-31 Manoj Iyer <manjo@austin.ibm.com>
13527
13528 * gdb.threads/thread_check.exp: New testcase.
13529 * gdb.threads/thread_check.c: New testcase.
13530
2dedb159
AC
135312004-08-31 Andrew Cagney <cagney@gnu.org>
13532
13533 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13534 (skip_to_handler_entry): New procedures. Test stepping into a
13535 handler when the breakpoint is at the handler's entry point.
13536
68f53502
AC
135372004-08-30 Andrew Cagney <cagney@gnu.org>
13538
13539 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13540 gdb/1757.
13541
3e3ffd2b
MC
135422004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13543
13544 With code from Manoj Iyer <manjo@austin.ibm.com>:
13545 * lib/gdb.exp (gdb_file_cmd): Return more information in the
13546 return value. Add an arm for "no debugging symbols found".
13547 Change a stray "error" to "perror".
13548 (gdb_run_cmd): Adapt to new return value.
13549 * gdb.base/remote.exp: Adapt to new return value.
13550 * gdb.gdb/complaints.exp: Likewise.
13551 * gdb.gdb/observer.exp: Likewise.
13552 * gdb.gdb/selftest.exp: Likewise.
13553 * gdb.gdb/xfullpath.exp: Likewise.
13554
4b6f5fd2
JB
135552004-08-27 Joel Brobecker <brobecker@gnat.com>
13556
13557 * gdb.threads/bp_in_thread.exp: New testcase.
13558
e5b25496
MC
135592004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13560
13561 Fix PR testsuite/1735.
13562 * gdb.threads/schedlock.c (thread_function): Add a cast
13563 to suppress a gcc warning.
13564 * gdb.threads/thread-specific.c (thread_function): Likewise.
13565
934353d6
MC
135662004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13567
13568 * gdb.base/unload.c: Include <stdlib.h>.
13569
f98a0aef 135702004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 13571
f98a0aef 13572 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
13573 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13574 synchronized after the "return".
13575
5a2e8882
MC
135762004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13577
13578 * gdb.mi/basics.c: Include <stdio.h>.
13579 * gdb.mi/pthreads.c: Include <stdlib.h>.
13580 * gdb.mi/var-cmd.c: Include <stdlib.h>.
13581
a9640423
MC
135822004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13583
13584 * gdb.threads/schedlock.c: Add copyright notice.
13585
b04e311d
AC
135862004-08-25 Andrew Cagney <cagney@gnu.org>
13587
13588 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13589 (skip_over_handler, breakpoint_over_hander): New test procedures.
13590 (advance, advancei): Add a proper prefix, do not use
13591 rerun_to_main.
13592 * gdb.base/sigstep.c (main): Change to use an infinite loop.
13593
7c27f15b
MC
135942004-08-24 Michael Chastain <mec.gnu@mindspring.com>
13595
13596 * gdb.mi/basics.c: Add copyright notice.
13597 * gdb.mi/var-cmd.c: Add copyright notice.
13598
fffc87ae
MC
135992004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13600
13601 * lib/gdb.exp: Remove signed_keyword_not_used.
13602 * lib/compiler.c: Likewise.
13603 * lib/compiler.cc: Likewise.
13604
d782e0bf
MC
136052004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13606
13607 * gdb.base/whatis.c: Remove conditional disabling of "signed".
13608 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13609
96033e83
MC
136102004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13611
13612 * gdb.base/whatis.c: Add copyright notice.
13613
cf38c229
MK
136142004-08-20 Mark Kettenis <kettenis@gnu.org>
13615
13616 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
13617 it to skip the breakpoints encoded in the inline assembly.
13618
f4b49756
MC
136192004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13620
13621 * Makefile.in: Add gdb.fortran.
13622
2f193b69
MC
136232004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13624
13625 * gdb.base/call-sc.exp (test_scalar_returns):
13626 Fix cut-and-paste glitch in "Make fun return now".
13627
89a237cb
MC
136282004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13629
13630 * configure.in: Add gdb.fortran.
13631 * configure: Regenerate.
13632 * gdb.fortran/Makefile.in: New file.
13633 * lib/gdb.exp (skip_fortran_tests): New procedure.
13634
469aff8e
MC
136352004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13636
13637 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
13638 reference to bug-gnu@prep.ai.mit.edu.
13639 * gdb.mi/mi-var-child.exp: Likewise.
13640 * gdb.mi/mi-var-cmd.exp: Likewise.
13641 * gdb.mi/mi-var-display.exp: Likewise.
13642 * gdb.mi/mi2-var-block.exp: Likewise.
13643 * gdb.mi/mi2-var-child.exp: Likewise.
13644 * gdb.mi/mi2-var-cmd.exp: Likewise.
13645 * gdb.mi/mi2-var-display.exp: Likewise.
13646
00b51b9f
MK
136472004-08-15 Mark Kettenis <kettenis@gnu.org>
13648
13649 * gdb.base/unload.c (main): Make local variable msg const.
13650
45f07fef
MC
136512004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13652
13653 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
13654 to bug-gnu@prep.ai.mit.edu.
13655 * gdb.mi/mi-disassemble.exp: Likewise.
13656 * gdb.mi/mi-eval.exp: Likewise.
13657 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
13658 default line number.
13659 * gdb.mi/mi-return.exp: Likewise.
13660 * gdb.mi/mi-simplerun.exp: Likewise.
13661 * gdb.mi/mi-stack.exp: Likewise.
13662 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
13663 number with explicit range test.
13664 * gdb.mi/mi-watch.exp: Likewise.
13665 * gdb.mi/mi2-break.exp: Likewise.
13666 * gdb.mi/mi2-cli.exp: Likewise.
13667 * gdb.mi/mi2-disassemble.exp: Likewise.
13668 * gdb.mi/mi2-eval.exp: Likewise.
13669 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
13670 default line number.
13671 * gdb.mi/mi2-return.exp: Likewise.
13672 * gdb.mi/mi2-simplerun.exp: Likewise.
13673 * gdb.mi/mi2-stack.exp: Likewise.
13674 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
13675 number with explicit range test.
13676 * gdb.mi/mi2-watch.exp: Likewise.
13677
dd8c8ee7
MC
136782004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13679
13680 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13681 * gdb.cp/m-static.exp: Likewise.
13682 * gdb.cp/rtti.exp: Likewise.
13683
4e838464
MK
136842004-08-14 Mark Kettenis <kettenis@gnu.org>
13685
13686 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13687
8d8cb839
EZ
136882004-08-14 Eli Zaretskii <eliz@gnu.org>
13689
13690 * ChangeLog: Prefix Local Variables with semi-colons and indent
13691 the reference to older ChangeLog files, to fix fontification in
13692 Emacs.
13693
deea8bb0
MC
136942004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13695
13696 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13697 * gdb.mi/mi2-break.exp: Likewise.
13698
c3297504
MC
136992004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13700
13701 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13702
25808999
MC
137032004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13704
13705 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13706
226a8d71
MC
137072004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13708
13709 * gdb.cp/classes.exp: Remove unused declarations. Just let
13710 test names default instead of providing special names. Remove
13711 extraneous demangler test.
13712
37fdf854
JJ
137132004-08-12 Jeff Johnston <jjohnstn@redhat.com>
13714
13715 * gdb.base/unload.exp: New test for breakpoints in dynamically
13716 loaded libraries.
13717 * gdb.base/unload.c: Ditto.
13718 * gdb.base/unloadshr.c: Ditto.
13719
2d3a7986
MC
137202004-08-12 Michael Chastain <mec.gnu@mindspring.com>
13721
13722 * gdb.cp/classes.exp (test_ptype_class_objects): Call
13723 cp_test_ptype_class.
13724 (test_enums): Likewise.
13725
c72b934c
AC
137262004-08-10 Andrew Cagney <cagney@gnu.org>
13727
13728 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13729 files.
13730
cc503c8a
AC
137312004-08-10 Andrew Cagney <cagney@gnu.org>
13732
13733 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13734 init_malloc call.
13735
902f2ccb
MC
137362004-08-10 Michael Chastain <mec.gnu@mindspring.com>
13737
13738 * ChangeLog: Add copyright notice. The notice is copied
13739 from emacs 21.3 top level ChangeLog.
13740
78c90502
MC
137412004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13742
13743 * lib/cp-support.exp: New file.
13744 * lib/cp-support.exp (cp_test_type_class): New function.
13745 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13746 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13747 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13748 cp_test_ptype_class.
13749
88e5ea78
MC
137502004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13751
13752 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13753 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13754 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13755 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13756 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13757 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13758 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13759 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13760 gdb.mi/mi2-watch.exp: Update copyright years.
13761
6a89fc9c
MK
137622004-08-09 Mark Kettenis <kettenis@gnu.org>
13763
13764 * gdb.base/sigaltstack.exp: Provide proper anchoring.
13765
1482e0de
MC
137662004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13767
13768 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13769 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13770 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13771 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13772 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13773 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13774 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13775 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13776 gdb.mi/mi-watch.exp: Update copyright years.
13777
1a5ce3f3
DJ
137782004-08-08 Daniel Jacobowitz <dan@debian.org>
13779
13780 PR gdb/1738
13781 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13782 from a breakpoint with a pending signal.
13783
04f6ecf2
DJ
137842004-08-08 Daniel Jacobowitz <dan@debian.org>
13785
13786 PR gdb/1736
13787 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13788 * gdb.base/sigaltstack.exp (finish_test): Consume output until
13789 the prompt.
13790 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13791
54d90d35
DJ
137922004-08-08 Daniel Jacobowitz <dan@debian.org>
13793
13794 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13795
d2f6abb0
DJ
137962004-08-08 Daniel Jacobowitz <dan@debian.org>
13797
13798 PR gdb/1736
13799 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
13800 for i?86-*-linux*.
13801
5598c03d
DJ
138022004-08-08 Daniel Jacobowitz <dan@debian.org>
13803
13804 * gdb.arch/i386-prologue.exp: Compile without debug information.
13805
c6fee705
MC
138062004-08-08 Michael Chastain <mec.gnu@mindspring.com>
13807
13808 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13809 rather than asking gdb to search.
13810
dd90efdb
MC
138112004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13812
13813 * gdb.base/gcore.c: Include <string.h>.
13814
1e84bec1
MC
138152004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13816
13817 * gdb.base/gcore.c: Add copyright notice.
13818
e425eb2b
MC
138192004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13820
13821 * gdb.base/freebpcmd.c: Include <stdio.h>.
13822 * gdb.base/long_long.c: Include <string.h>.
13823 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13824 * gdb.base/siginfo.c: Include <string.h>.
13825 * gdb.base/sigstep.c: Include <string.h>.
13826
cb9aaed5
MC
138272004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13828
13829 * gdb.base/complex.c: Include <stdlib.h>.
13830
55944f3d
MC
138312004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13832
13833 * gdb.base/complex.c: Add copyright notice.
13834
7b2953d9
MC
138352004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13836
13837 * gdb.base/charset.c: Include <stdlib.h>.
13838
c9133d23
MC
138392004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13840
13841 * gdb.base/auxv.c: Include <stdlib.h>.
13842
0a8490ad
MC
138432004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13844
13845 * gdb.base/auxv.c: Add copyright notice.
13846
3426d5ec
MC
138472004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13848
13849 * gdb.base/coremaker.c: Add copyright notice.
13850 * gdb.base/coremaker2.c: Add copyright notice.
13851
8da195dd
AC
138522004-08-04 Andrew Cagney <cagney@gnu.org>
13853
13854 * gdb.base/store.exp: Update copyright.
13855 (check_set, up_set, check_struct, up_struct): Add a prefix to test
13856 names, do not import gdb_prompt.
13857
8d394f98
AC
138582004-08-01 Andrew Cagney <cagney@gnu.org>
13859
13860 Fix PR testsuite/1729.
13861 * gdb.base/dump.exp: Add test name to callers of capture_value, do
13862 not use capture_value with value 4.
13863 (capture_value): Add optional test name parameter.
13864 (test_reload_saved_value, test_restore_saved_value): Use $msg as
13865 the prefix, pass to capture_value.
13866
b6702b23
MK
138672004-08-01 Mark Kettenis <kettenis@gnu.org>
13868
13869 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13870 * gdb.arch/i386-prologue.c (standard): New prototype and function.
13871 (main): Call new function.
13872
c203e0ca
MC
138732004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13874
13875 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13876
a7995a30
MC
138772004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13878
13879 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13880
9366563b
MC
138812004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13882
b6eeaf26 13883 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
13884 Accept more values of vtbl pointer. Remove some messages
13885 about "obsolete gcc or gdb".
13886
2fc1f950
MC
138872004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13888
13889 * gdb.cp/classes.exp: Accept more varieties of ptype output.
13890
c724d49b
MC
138912004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13892
13893 * gdb.base/asm-source.exp: Properly convert target board
13894 debug flags from gcc format to binutils format.
13895
736b0fce
MK
138962004-07-28 Mark Kettenis <kettenis@gnu.org>
13897
13898 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13899 gdb1718". PR backtrace/1718 partially fixed.
13900
5633ea5c
JJ
139012004-07-27 Jeff Johnston <jjohnstn@redhat.com>
13902
13903 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13904
575eebb1
NC
139052004-07-26 Nick Clifton <nickc@redhat.com>
13906
13907 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
13908 good default value for a specific architecture is available then
13909 set it to that value. Otherwise default to the -gstabs switch.
13910 Remove the -g... switches from the asm-flags variable. Allow the
13911 target board info to override the value if it wants to. Pass the
13912 switch on the assembler command line.
13913
62104619
MK
139142004-07-23 Mark Kettenis <kettenis@gnu.org>
13915
13916 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13917 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13918 (main): Call new function.
13919
4a1135b8
MC
139202004-07-22 Michael Chastain <mec.gnu@mindspring.com>
13921
13922 Test for PR exp/1715.
13923 * gdb.base/radix.exp: Refactor common procedures. Make all
13924 test names unique. Change XFAIL to KFAIL.
13925
8a12c1f0
MC
139262004-07-20 Michael Chastain <mec.gnu@mindspring.com>
13927
13928 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13929 * gdb.ada/gnat_ada.gin: ... to here.
13930 * configure.in: Use gnat_ada.gin.
13931 * configure: Regenerate.
13932
23b451cf
AC
139332004-07-20 Andrew Cagney <cagney@gnu.org>
13934
13935 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13936 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
13937 XFAILs. Clean up test messages and comments. Check backtraces.
13938 Delete re-sync code.
13939
ab618a02
MC
139402004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13941
13942 Fix PR cli/740.
13943 * gdb.base/annota1.exp: Honor gdb,nosignals.
13944 * gdb.base/annota3.exp: Likewise.
13945
46dad340
MC
139462004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13947
13948 * lib/java.exp: Update copyright notice.
13949
756d8c70
AC
139502004-07-19 Andrew Cagney <cagney@gnu.org>
13951
13952 * gdb.base/selftest.exp: Copy file from here ...
13953 * gdb.gdb/selftest.exp: ... to here.
13954
586027e6
AC
139552004-07-16 Andrew Cagney <cagney@redhat.com>
13956
13957 * lib/insight-support.exp: Delete file.
13958 * lib/java.exp (java_init): Fix copyright.
13959
029d2200
AC
139602004-07-16 Andrew Cagney <cagney@gnu.org>
13961
13962 * gdb.base/restore.c: Append "prologue" to comments marking the a
13963 function's prologue.
13964 * gdb.base/restore.exp: Update copyright, re-indent.
13965 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
13966 callerN" prefix where needed. Update patterns that match a
13967 function's prologue.
13968
653b62c5
MC
139692004-07-16 Michael Chastain <mec.gnu@mindspring.com>
13970
13971 * gdb.base/restore.c: Add copyright notice.
13972
f7d690e5
AC
139732004-07-16 Andrew Cagney <cagney@gnu.org>
13974
13975 * gdb.base/logical.exp: Update copyright.
13976 (evaluate): New procedure. Use to re-implement tests using
13977 several tables.
13978
d629a7cb
MH
139792004-07-14 Martin Hunt <hunt@redhat.com>
13980
13981 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13982 which fixes some problems where init.tcl was not found.
13983
9c7bb332
AC
139842004-07-13 Andrew Cagney <cagney@gnu.org>
13985
6bf46641
AC
13986 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13987 (check_sizeof, check_valueof): Do not include the output in the
13988 test name. Use gdb_test.
13989 (get_valueof): Use gdb_test_multiple.
13990
c4ffd4c0
AC
13991 * gdb.base/step-test.exp: Update copyright. Use
13992 gdb_test_multiple. Ensure that test names do not include
13993 architecture dependent output.
13994
ab89363a
AC
13995 * gdb.gdb/observer.exp: Update copyright.
13996 (setup_test): Use gdb_test_multiple.
13997 (attach_first_observer, attach_second_observer)
13998 (attach_third_observer, detach_first_observer)
13999 (detach_second_observer, detach_third_observer)
14000 (reset_counters, check_counters): Make $message a prefix.
14001 (test_normal_stop_notifications): Add "args" parameter - a list of
14002 init functions to be called. Make $message a prefix,
14003 (test_observer_normal_stop): Change the message prefixes so that
14004 they are unique, pass the attach / detach procedures to
14005 test_normal_stop_notifications.
14006
ec58997a
AC
14007 * gdb.base/signull.exp (test_segv): Prefix all tests with
14008 "${name}". Clean up test messages.
14009
b475183b
AC
14010 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14011
9c7bb332
AC
14012 * gdb.base/ena-dis-br.exp: Update copyright.
14013 (break_at): New function. Replace send_gdb with gdb_test,
14014 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14015 ignore count, not stopped at bpt", with KFAIL.
14016
2dd95497
CV
140172004-07-13 Corinna Vinschen <vinschen@redhat.com>
14018
14019 * gdb.base/attach.exp: Remove cleanupfile handling.
14020
419e626b
AC
140212004-07-12 Andrew Cagney <cagney@gnu.org>
14022
14023 * gdb.base/annota1.exp: Cleanup corefile test name.
14024 * gdb.base/annota3.exp: Ditto.
14025
8b1b3228
AC
140262004-07-12 Andrew Cagney <cagney@gnu.org>
14027
78650829
AC
14028 * gdb.base/signals.exp: Clean up copyright, re-indent.
14029
8b1b3228
AC
14030 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14031 gdb_test and gdb_test_multiple.
14032
935c2760
JJ
140332004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14034
14035 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14036 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14037 provide line number info for first statement in main.
14038
1544280f
AC
140392004-07-08 Andrew Cagney <cagney@gnu.org>
14040
1279f4ff
AC
14041 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14042
1544280f
AC
14043 * gdb.base/sigbpt.exp: Make the common part of each test name a
14044 prefix instead of suffix.
14045
bcc82369
BR
140462004-07-07 Bob Rossi <bob_rossi@cox.net>
14047
14048 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14049 test from test_tbreak_creation_and_listing to
14050 test_file_list_exec_source_file
14051 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14052 Changed name of test from test_tbreak_creation_and_listing to
14053 test_file_list_exec_source_file
14054
23f4b0aa
JJ
140552004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14056
14057 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14058 the jmisc() constructor instead of <init>.
14059 * gdb.java/jmisc1.exp: Ditto.
14060
56401cd5
AC
140612004-07-07 Andrew Cagney <cagney@gnu.org>
14062
14063 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14064 corrupting the PC.
14065
44ae2f6a
MC
140662004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14067
14068 * gdb.cp/templates.exp: Accept whitespace change in demangler
14069 output.
14070
45a83408
AC
140712004-07-06 Andrew Cagney <cagney@gnu.org>
14072
14073 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14074
d205ad70
MC
140752004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14076
14077 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14078 * lib/compiler.cc: Likewise.
14079
06ea1a61
MC
140802004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14081
14082 * lib/compiler.cc: Work around string preprocessing problem
14083 with old hp c++ compiler.
14084 * lib/compiler.c: Likewise.
14085
daab1251
CV
140862004-06-29 Corinna Vinschen <vinschen@redhat.com>
14087
14088 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14089 directives to conditionalize symbol prefixing.
14090 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14091 additional_flags handling. Add underscore prefix for Cygwin.
14092 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14093 conditionalize symbol prefixing.
14094 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14095 additional_flags handling. Add underscore prefix for Cygwin.
14096
cc984116
CV
140972004-06-29 Corinna Vinschen <vinschen@redhat.com>
14098
14099 * gdb.base/bigcore.exp: Skip test on Cygwin.
14100
c279b077
MC
141012004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14102
14103 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14104 formats for "info register". Use gdb_test_multiple. Fix
14105 the "invalid register" test.
14106
0e915747
CV
141072004-06-28 Corinna Vinschen <vinschen@redhat.com>
14108
14109 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14110 PID for Cygwin. Add Cygwin specific strings to check for in some
14111 tests.
14112 (do_attach_tests): Add a test for user interaction when attaching
14113 to a process with no matching symbol table already loaded.
14114
11422c86
AC
141152004-06-26 Andrew Cagney <cagney@gnu.org>
14116
14117 Test PR java/1567 and PR java/1565.
14118 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14119 * gdb.java/jmisc2.exp: Delete file.
14120
cefbce26
MC
141212004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14122
14123 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14124
e19f872c
CV
141252004-06-25 Corinna Vinschen <vinschen@redhat.com>
14126
14127 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14128 attach process.
14129
d931ba3b
MC
141302004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14131
14132 * gdb.cp/pr-1553.exp: Remove.
14133
aef68c48
MC
141342004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14135
14136 * gdb.cp/pr-1553.cc: Remove.
14137 * gdb.cp/pr-1553.exp: Disable this test.
14138
8d5df71a
JB
141392004-06-20 Jim Blandy <jimb@redhat.com>
14140
a9c64011 14141 Fix PR testsuite/1680.
8d5df71a
JB
14142 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14143 regular expressions.
14144
4ac6f39d
MC
141452004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14146
14147 Fix PR testsuite/1679.
14148 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14149 Issue an UNSUPPORTED result instead.
14150
1b413552
JB
141512004-06-18 Jim Blandy <jimb@redhat.com>
14152
14153 * gdb.base/charset.exp: Only send a control-C if we see a new
14154 prompt and incomplete command.
14155
6daa6ebd
MC
141562004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14157
14158 * gdb.cp/pr-574.cc: Add copyright notice.
14159
51fa4ae0
JB
141602004-06-17 Jim Blandy <jimb@redhat.com>
14161
14162 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14163 cases where the regexp has no groups; this grabs random text from
14164 the previous test suite, whatever that was.
14165
8fea26c5
MC
141662004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14167
14168 * gdb.cp/printmethod.cc: Add copyright notice.
14169
1e3aeb41
MC
141702004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14171
14172 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14173
9d9030bc
AC
141742004-06-16 Andrew Cagney <cagney@gnu.org>
14175
14176 * gdb.base/signull.c: Update copyright. Include <string.h>.
14177 (bowler): Replace data_pointer with data_read
14178 and data_write cases. Add code_descriptor case.
14179 (zero, desc): New array and pointer.
14180 (data, code): Change to simple pointers.
14181 * gdb.base/signull.exp: Fix probe pattern matching a function
14182 descriptor SIGSEGV. Replace data_pointer with data_read and
14183 data_write tests.
14184
acd4ad44
AC
141852004-06-16 Andrew Cagney <cagney@gnu.org>
14186
14187 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14188
08fd625c
MC
141892004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14190
14191 * gdb.base/long_long.c: Add copyright notice.
14192
1903502c
MC
141932004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14194
14195 * gdb.base/long_long.exp: Remove reference to
14196 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14197 to gdb_breakpoint and gdb_continue_to_breakpoint.
14198
83313cb1
JB
141992004-06-14 Jim Blandy <jimb@redhat.com>
14200
14201 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14202 endian case.
14203
1bf404ef
AC
142042004-06-14 Andrew Cagney <cagney@gnu.org>
14205
14206 * gdb.base/gcore.exp (capture_command_output): Delete the always
14207 passing tests containing inferior values.
14208 * gdb.base/ending-run.exp: Do not include the breakpoint address
14209 in the test message. Update copyright.
14210 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14211 size in the test name, use gdb_test_multiple. Update copyright.
14212
ef220b33
MC
142132004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14214
14215 * gdb.cp/ref-types.cc: Add copyright notice.
14216
4f70a4c9
MC
142172004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14218
14219 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14220 hp_aCC_compiler.
14221 * lib/compiler.cc: Likewise.
14222 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14223 'set' commands. Log diagnostics for other lines. Set
14224 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14225
335928ac
MC
142262004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14227
14228 * gdb.cp/try_catch.cc: Add copyright notice.
14229
2efb12e8
MC
142302004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14231
14232 * gdb.cp/userdef.cc: Add copyright notice.
14233
0bbed51a
MC
142342004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14235
14236 * gdb.cp/virtfunc.cc: Add copyright notice.
14237
e12a46c9
RC
142382004-06-11 Randolph Chung <tausq@debian.org>
14239
14240 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14241 problem.
14242
338e05af
AC
142432004-06-10 Andrew Cagney <cagney@gnu.org>
14244
14245 * lib/compiler.cc, lib/compiler.c: Append either
14246 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14247 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14248 instead of gcc-3-3.
14249
dc3f10cb
AC
142502004-06-09 Andrew Cagney <cagney@gnu.org>
14251
b4d946af
AC
14252 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14253 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14254
dc3f10cb
AC
14255 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14256 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14257 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14258 fixed.
14259
b5c0bfa2
AC
142602004-06-09 Andrew Cagney <cagney@gnu.org>
14261
14262 * gdb.base/structs.exp (test_struct_returns): Replace
14263 "return_value_unknown" and "finish_value_unknown" by
14264 "return_value_known" and "finish_value_known". Instead of
14265 "return_value_unknown" iff "finish_value_unknown", check
14266 "return_value_known" implies "finish_value_known".
14267
caeb605f
MH
142682004-06-08 Martin Hunt <hunt@redhat.com>
14269
14270 * gdb.base/float.exp: Add pattern for mips targets.
14271
c892bb64
RC
142722004-06-08 Randolph Chung <tausq@debian.org>
14273
14274 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14275 message for unknown architectures more clear.
14276
48306d3e
JB
142772004-06-08 Joel Brobecker <brobecker@gnat.com>
14278
14279 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14280 start the execution of the program.
14281
83ecb59f
JB
142822004-06-07 Jim Blandy <jimb@redhat.com>
14283
14284 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14285 * gdb.arch/i386-cpuid.h: New helper file.
14286
55264cb4
RC
142872004-06-07 Randolph Chung <tausq@debian.org>
14288
14289 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14290 has started.
14291
23cadb28
RM
142922004-06-04 Roland McGrath <roland@redhat.com>
14293
14294 Fix PR gdb/1647.
14295 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14296 differently to be robust to output buffering differences.
14297
51d01eda
MC
142982004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14299
14300 * gdb.threads/pthreads.exp: Update copyright years.
14301 (check_control_c): Change asynchronous 'after' to synchronous.
14302
f4fc3b93
RM
143032004-06-04 Roland McGrath <roland@redhat.com>
14304
14305 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14306 next gdb prompt.
14307
4013522b
MC
143082004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14309
14310 Fix PR gdb/1636.
14311 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14312 calls to synchronous.
14313
7a8f1e6b
JB
143142004-05-26 Jim Blandy <jimb@redhat.com>
14315
14316 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14317
81bb3443
RC
143182004-05-24 Randolph Chung <tausq@debian.org>
14319
14320 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14321 * gdb.asm/pa.inc: New file.
14322
8f5a3103
MK
143232004-05-22 Mark Kettenis <kettenis@gnu.org>
14324
14325 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14326
734b8fe8 143272004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 14328 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
14329
14330 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14331 GDB prompt.
14332
725603e1
UW
143332004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14334
f4fc3b93 14335 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
14336 setjmp/longjmp. Use sigaction instead of signal.
14337
8b923272 143382004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 14339 Michael Snyder <msnyder@redhat.com>
8b923272
JB
14340
14341 * gdb.threads/pthread_cond_wait.c: New file.
14342 * gdb.threads/pthread_cond_wait.exp: New testcase.
14343
8bfabb04
AC
143442004-05-13 Andrew Cagney <cagney@redhat.com>
14345
14346 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14347 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14348
42edda50
AC
143492004-05-11 Andrew Cagney <cagney@redhat.com>
14350
14351 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14352 fixed but revealed gdb/1639.
14353
d303a6c7
AC
143542004-05-10 Andrew Cagney <cagney@redhat.com>
14355
14356 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14357 func1" and "next to 2nd alarm", kernel bug avoided.
14358
bf08c2a1
DJ
143592004-05-10 Daniel Jacobowitz <dan@debian.org>
14360
14361 PR external/1568
14362 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14363 XFAIL if it is smaller than bytes_allocated.
14364 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14365 (main): Make chunks_allocated unsigned. Correct comment.
14366
c0586a34
JB
143672004-05-07 Joel Brobecker <brobecker@gnat.com>
14368
14369 * gdb.arch/powerpc-aix-prologue.c: New file.
14370 * gdb.arch/powerpc-aix-prologue.exp: New file.
14371
f2785d12
JB
143722004-05-07 Jim Blandy <jimb@redhat.com>
14373
14374 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14375 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14376
bd7f6e30
JB
143772004-05-06 Joel Brobecker <brobecker@gnat.com>
14378
14379 * gdb.base/sep.exp: No longer setup_kfail when the program was
14380 built with dwarf2.
14381
0a5e7efe
JI
143822004-05-05 Jim Ingham <jingham@apple.com>
14383
14384 * gdb.base/pending.exp: Make sure pending breakpoints
14385 preserve the ignore count.
f4fc3b93 14386
a8958849
MK
143872004-04-27 Jerome Guitton <guitton@gnat.com>
14388
14389 * i386-prologue.exp: Add testcase for jump instruction as first
14390 instruction of the real code.
14391 * i386-prologue.c (jump_at_beginning): New function.
14392
7e103f5b
MK
143932004-04-28 Mark Kettenis <kettenis@gnu.org>
14394
14395 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14396 x86_64-*-*.
14397
5d38b224
MK
143982004-04-28 Mark Kettenis <kettenis@gnu.org>
14399
14400 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14401 i*86-*-*.
14402
0ef32fd9
MK
144032004-04-25 Mark Kettenis <kettenis@gnu.org>
14404
14405 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14406 expression that checks the return type.
14407
71d7dd7c
AC
144082004-04-23 Andrew Cagney <cagney@redhat.com>
14409
14410 * gdb.base/call-sc.exp: New test of scalar call/return values.
14411 * gdb.base/call-sc.c: Ditto.
14412
1e9f977e
JJ
144132004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14414
14415 * gdb.threads/manythreads.c: Reduce thread stack size.
14416
899d9e3a
JJ
144172004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14418
14419 * gdb.threads/manythreads.c: Add copyright notice.
14420
61bcae62
AC
144212004-04-23 Andrew Cagney <cagney@redhat.com>
14422
14423 * gdb.base/siginfo.exp: Better handle step out of signal.
14424 * gdb.base/sigstep.exp: Ditto.
14425
7339a42e 144262004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 14427 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
14428
14429 * gdb.threads/manythreads.c: New testcase.
14430 * gdb.threads/manythreads.exp: Ditto.
14431
5c98409b
JB
144322004-04-22 Jim Blandy <jimb@redhat.com>
14433
14434 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14435 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14436
3b611f1a
MC
144372004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14438
14439 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14440
f0fd9238
AC
144412004-04-21 Andrew Cagney <cagney@redhat.com>
14442
14443 * gdb.base/sigstep.c: New file.
14444 * gdb.base/sigstep.exp: New file.
14445
90990674
JB
144462004-04-16 Joel Brobecker <brobecker@gnat.com>
14447
14448 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14449 call to observer_notify_normal_stop.
14450
78cef34b
AC
144512004-04-15 Andrew Cagney <cagney@redhat.com>
14452
14453 * gdb.base/siginfo.c: New file.
14454 * gdb.base/siginfo.exp: New file.
14455
d2343407
JB
144562004-04-12 J. Brobecker <brobecker@gnat.com>
14457
14458 * gdb.base/sep.exp: Fix typo in comment.
14459
a2dba3c8
JB
144602004-04-12 J. Brobecker <brobecker@gnat.com>
14461
14462 * gdb.base/sep.c: New file.
14463 * gdb.base/sep-proc.c: New file.
14464 * gdb.base/sep.exp: New testcase.
14465
15f7b60e
MK
144662004-04-09 Mark Kettenis <kettenis@gnu.org>
14467
14468 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14469 support.
14470
44f4de1a
AC
144712004-04-05 Andrew Cagney <cagney@redhat.com>
14472
14473 * gdb.base/sigaltstack.c: New file.
14474 * gdb.base/sigaltstack.exp: New file.
14475
ef04f396
JB
144762004-04-04 Joel Brobecker <brobecker@gnat.com>
14477
14478 * gdb.base/foll-fork.exp: Update the expected output for
14479 "help set follow-fork-mode", to match a change that was made
14480 to the help of this variable on 2004-01-13.
14481
d40d2c92
JB
144822004-04-01 Joel Brobecker <brobecker@gnat.com>
14483
14484 * lib/ada.exp: Add copyright notice.
14485 * bar.ads: Likewise.
14486 * bar.adb: Likewise.
14487 * null_record.adb: Likewise.
14488 * null_record.exp: Likewise.
14489 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14490
f86ef5a3
JB
144912004-04-01 Joel Brobecker <brobecker@gnat.com>
14492
14493 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14494 * configure: Regenerate.
14495
414e70e3
JB
144962004-04-01 Joel Brobecker <brobecker@gnat.com>
14497
14498 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14499 to build the application. Remove the message printed when in
14500 verbose mode, redundant with the UNSUPPORTED message above.
14501
f0aaee49
JB
145022004-03-31 Joel Brobecker <brobecker@gnat.com>
14503
14504 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14505 * gdb.ada (null_record.exp): New testcase.
14506
ac81cb54
JB
145072004-03-31 Joel Brobecker <brobecker@gnat.com>
14508
14509 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14510
854af2f7
JB
145112004-03-31 Joel Brobecker <brobecker@gnat.com>
14512
14513 * gdb.ada: New subdirectory.
14514 * gdb.ada/Makefile.in: New file.
14515 * gdb.ada/gnat_ada.gpr.in: New file.
14516
034cb681
JB
145172004-03-31 Joel Brobecker <brobecker@gnat.com>
14518
14519 * lib/ada.exp: New file.
14520
78a1a894
DJ
145212004-03-24 Daniel Jacobowitz <drow@mvista.com>
14522
14523 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14524 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14525
4b2b3b3e
AC
145262004-03-22 Andrew Cagney <cagney@redhat.com>
14527
14528 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14529 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14530 Problem identified by Ulrich Weigand.
14531
23c73aa3
DC
145322004-03-17 David Carlton <carlton@kealia.com>
14533
14534 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14535 PR c++/826.
14536
d63a86f8
RM
145372004-03-16 Roland McGrath <roland@redhat.com>
14538
14539 * gdb.base/auxv.exp: New file.
14540 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14541
0e02aa50
DC
145422004-03-12 David Carlton <carlton@kealia.com>
14543
14544 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
14545 * gdb.cp/pr-1553.cc: Ditto.
14546 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14547 pass branch.
14548
c20b71be
MC
145492004-03-12 Michael Chastain <mec.gnu@mindspring.com>
14550
14551 * gdb.cp/templates.exp: Accept more template types.
14552
c7414a01
MC
145532004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14554
14555 From Corinna Vinschen with modifications.
14556 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14557 local variable obj_with_enum.
14558 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14559 results with obj_with_enum.
14560
ed69573c
MC
145612004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14562
14563 * gdb.cp/classes.cc: New file, copied from misc.cc.
14564 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14565
28301461
MC
145662004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14567
14568 * gdb.cp/misc.cc: Add copyright notice.
14569
1198ecbe
DC
145702004-03-05 David Carlton <carlton@kealia.com>
14571
14572 * gdb.cp/rtti.exp: Add 'print *obj3' test.
14573 * gdb.cp/rtti.h: Update copyright.
14574 (namespace n2::n3): New.
14575 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14576 (n2::n3::func3): New.
14577 (main): Call n2::n3::func3.
14578 * gdb.cp/rtti2.cc: Update copyright.
14579 (n2::create3): New.
14580
9e08c470
MK
145812004-03-04 Mark Kettenis <kettenis@gnu.org>
14582
14583 * gdb.asm/openbsd.inc: Fix typo.
14584
4bebc3aa
FF
145852004-03-03 Fred Fish <fnf@redhat.com>
14586
14587 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14588 "val" instead of unused "size". Update copyright year.
14589
6ea9fb37
DJ
145902004-02-29 Daniel Jacobowitz <drow@mvista.com>
14591
14592 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
14593 to use unsigned char.
14594 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14595 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14596
23b23974
DJ
145972004-02-29 Daniel Jacobowitz <drow@mvista.com>
14598
14599 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14600 line of output.
14601
7574fd53
DJ
146022004-02-28 Daniel Jacobowitz <drow@mvista.com>
14603
14604 * gdb.base/relocate.c (dummy): Initialize.
14605
a195357f
DJ
146062004-02-28 Daniel Jacobowitz <drow@mvista.com>
14607
14608 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
14609 a breakpoint at exit.
14610
72fd54a9
FF
146112004-02-27 Fred Fish <fnf@redhat.com>
14612
14613 * gdb.base/chng-syms.exp: Add expect condition to match failing
14614 case that isn't a timeout.
14615
b9d23137
AC
146162004-02-27 Andrew Cagney <cagney@redhat.com>
14617
14618 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14619 support.
14620
15d208f6 146212004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 14622
15d208f6
FF
14623 * gdb.arch/gdb1431.c: Remove.
14624 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14625 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14626 of "until" incorrectly.
14627
98f9cd2d
JB
146282004-02-26 J. Brobecker <brobecker@gnat.com>
14629
14630 * gdb.cp/class2.cc (empty): New class.
14631 (refer): New function.
14632 (main): Declare an object of type empty and use it.
14633 * gdb.cp/class2.exp: Print the value of an object of type empty.
14634
9b50c11b
JJ
146352004-02-26 Jeff Johnston <jjohnstn@redhat.com>
14636
14637 * gdb.base/langs.exp: Update query string to match the
14638 new nquery format used for pending breakpoints.
14639
0dcd613f
AC
146402004-02-26 Andrew Cagney <cagney@redhat.com>
14641
14642 Fix PR i18n/1570.
14643 * gdb.base/charset.c: Update copyright notice.
14644 (main, init_string): Remove the escape character '\e' tests.
14645 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14646 * gdb.base/charset.exp (valid_host_charset): Ditto.
14647 * gdb.base/setvar.exp: Ditto.
14648
b8a56647
AC
146492004-02-24 Andrew Cagney <cagney@redhat.com>
14650
90d59e34
AC
14651 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14652 mmapped data in core file" PASS and FAIL messages consistent.
14653
b8a56647
AC
14654 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14655 setting a breakpoint. Work around PR java/1565.
14656
9f27c604
JJ
146572004-02-23 Jeff Johnston <jjohnstn@redhat.com>
14658
14659 * lib/gdb.exp (gdb_breakpoint): Update query string to match
14660 new nquery format.
14661 * gdb.base/pending.exp: Ditto.
14662
3224a706
MK
146632004-02-22 Mark Kettenis <kettenis@gnu.org>
14664
14665 * configure.in: Run stabs tests on *BSD.
14666 * configure: Regenerated.
14667
41e0a9ca
MK
146682004-02-21 Mark Kettenis <kettenis@gnu.org>
14669
14670 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14671
1e1b3428
FF
146722004-02-20 Fred Fish <fnf@redhat.com>
14673
14674 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14675 blank in test for "returns short", for consistency with other
14676 "returns xxx" tests. Update copyright year.
14677
f9a7572a
FF
146782004-02-19 Fred Fish <fnf@redhat.com>
14679
14680 New testcase for PR breakpoint/1558.
14681 * gdb.arch/gdb1558.exp: New file.
14682 * gdb.arch/gdb1558.c: New file.
14683
b2ce2854
EZ
146842004-02-19 Elena Zannoni <ezannoni@redhat.com>
14685
14686 * gdb.base/nodebug.exp: Fix typo.
14687
e7c9ff01
JB
146882004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14689
14690 Committed by Jim Blandy <jimb@redhat.com>.
14691
62f4b920
JB
14692 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14693
2db536a1
JB
14694 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14695
e7c9ff01
JB
14696 * gdb.base/float.exp: Support s390*-*-* targets.
14697
f3205b34
AF
146982004-02-17 Adam Fedor <fedor@gnu.org>
14699
14700 * gdb.base/gdb1555.exp: New file.
14701 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14702
9d62932d
EZ
147032004-02-17 Elena Zannoni <ezannoni@redhat.com>
14704
14705 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14706
344c9711
FF
147072004-02-16 Fred Fish <fnf@redhat.com>
14708
14709 * gdb.arch/gdb1291.c: Remove
14710 * gdb.arch/gdb1291.s: New test input file.
14711 * gdb.arch/gdb1291.exp: Expand test to check case that should not
14712 fail. Test for correct result, known incorrect result, other
14713 failures and timeouts.
14714
2d822687
AC
147152004-02-16 Andrew Cagney <cagney@redhat.com>
14716
14717 * gdb.base/bigcore.exp: New file.
14718 * gdb.base/bigcore.c: New file.
14719
dac15b66
AC
147202004-02-13 Andrew Cagney <cagney@redhat.com>
14721
14722 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14723 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14724 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14725 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14726 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14727 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14728 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14729 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14730 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14731 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14732
6bdfc2c4
JJ
147332004-02-11 Jeff Johnston <jjohnstn@redhat.com>
14734
14735 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14736 executed is an alloc instruction.
14737
87b3ede8
DC
147382004-02-11 David Carlton <carlton@kealia.com>
14739
14740 * gdb.cp/breakpoint.exp: New.
14741 * gdb.cp/breakpoint.cc: New.
14742
6e19e2bf
MC
147432004-02-11 Michael Chastain <mec.gnu@mindspring.com>
14744
14745 Partial fix for PR gdb/1543.
14746 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14747 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14748 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14749 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14750 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14751 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14752 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14753 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14754 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14755 to bug-gdb@prep.ai.mit.edu .
14756 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14757 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14758 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14759 Likewise.
14760
5c5455dc
AC
147612004-02-10 Andrew Cagney <cagney@redhat.com>
14762
14763 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14764 using gdb_internal_error_resync.
14765
9cf689d7
DJ
147662004-02-09 Daniel Jacobowitz <drow@mvista.com>
14767
14768 * gdb.threads/thread-specific.exp: Stop early if no threads are
14769 found.
14770
d2dc51db
MC
147712004-02-09 Michael Chastain <mec.gnu@mindspring.com>
14772
14773 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14774
14b1a056
DJ
147752004-02-08 Daniel Jacobowitz <drow@mvista.com>
14776
14777 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14778 breakpoints.
14779
83f66e8f
DJ
147802004-02-07 Daniel Jacobowitz <drow@mvista.com>
14781
14782 * config/sim.exp (gdb_load): Handle $arg == "".
14783 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14784 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14785
30fc0091
EZ
147862004-02-07 Elena Zannoni <ezannoni@redhat.com>
14787
a9c64011
AS
14788 * gdb.base/maint.exp: Update test to reflect
14789 obstack changes.
30fc0091 14790
4d806929
JJ
147912004-02-04 Jeff Johnston <jjohnstn@redhat.com>
14792
14793 * gdb.base/pendshr.c (pendfunc): New function that calls
14794 pendfunc1.
14795 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14796
7bfdd688
FF
147972004-02-04 Fred Fish <fnf@redhat.com>
14798
14799 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14800 function symbols and update copyright years.
14801 * gdb.arch/gdb1291.c: Ditto.
14802
aaa08ee4
MC
148032004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14804
14805 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14806
dbad7755
MC
148072004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14808
14809 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14810
ec4646ef
MC
148112004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14812
14813 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14814
1b802196
FF
148152004-02-02 Fred Fish <fnf@redhat.com>
14816
14817 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14818 remote targets. Update copyright years.
14819
18fe2033
JJ
148202004-02-02 Jeff Johnston <jjohnstn@redhat.com>
14821
14822 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14823 support.
14824 * gdb.base/langs.exp: Fix test which attempts to create
14825 breakpoint on non-existent function to handle new pending
14826 support.
14827 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14828 a breakpoint.
14829 * gdb.base/pending.exp: New test.
14830 * gdb.base/pending.c: New file.
14831 * gdb.base/pendshr.c: Ditto.
14832
8d577d32
DC
148332004-02-02 David Carlton <carlton@kealia.com>
14834
14835 * gdb.cp/overload.exp: Add overloadNamespace tests.
14836 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14837 (overloadNamespace, XXX): New.
14838 (main): Call XXX::marker2.
14839
3ad13771
FF
148402004-02-01 Fred Fish <fnf@redhat.com>
14841
14842 * gdb.base/dump.exp: Use runto_main instead of "runto main".
14843 * gdb.base/finish.exp: Ditto.
14844 * gdb.base/gcore.exp: Ditto.
14845 * gdb.base/huge.exp: Ditto.
14846 * gdb.base/info-proc.exp: Ditto.
14847 * gdb.base/return2.exp: Ditto.
14848 * gdb.threads/gcore-thread.exp: Ditto.
14849
44c75849
DJ
148502004-02-01 Daniel Jacobowitz <drow@mvista.com>
14851
14852 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14853
005bc093
MK
148542004-02-01 Mark Kettenis <kettenis@gnu.org>
14855
14856 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14857 that opening the file succeeds on OpenBSD.
14858
c47cebdb
DJ
148592004-02-01 Daniel Jacobowitz <drow@mvista.com>
14860
14861 * gdb.threads/thread-specific.c: New file.
14862 * gdb.threads/threads-specific.exp: New test script.
14863 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14864 to expect_out.
14865
5a01311c
MK
148662004-02-01 Mark Kettenis <kettenis@gnu.org>
14867
14868 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
14869 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14870 only on the "print_small_structs from print_long_arg_list" test.
14871
ce22a4f1
DJ
148722004-02-01 Daniel Jacobowitz <drow@mvista.com>
14873
14874 * gdb.base/completion.exp: Kill a stray backslash.
14875
14876 From Jim Ingham <jingham@apple.com>:
14877 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14878 agrees with the result from sending a tab.
14879
abbab9d3
DJ
148802004-01-31 Daniel Jacobowitz <drow@mvista.com>
14881
14882 * gdb.base/chng-syms.exp: Remove stray newline.
14883
53904d1e
MK
148842004-01-31 Mark Kettenis <kettenis@gnu.org>
14885
14886 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14887 *-*-openbsd*.
14888 * gdb.asm/openbsd.inc: New file.
14889
3a4b3aac
MK
148902004-01-30 Mark Kettenis <kettenis@gnu.org>
14891
14892 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
14893 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14894 *-*solaris2*. Remove commented out default settings for
14895 asm-flags. Replace gdb_compile with target_link.
14896
ebac27b4
MC
148972004-01-29 Michael Chastain <mec.gnu@mindspring.com>
14898
14899 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
14900 for all tests. Remove old hp-ux and cygnus xfail cases.
14901
d8679d84
PH
149022004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
14903
14904 * gdb.base/chng-syms.exp: New file.
14905 * gdb.base/chng-syms.c: New file.
14906
0a55bc22
MC
149072004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14908
14909 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
14910 Provide arms for current output in all my configurations.
14911
94b8e876
MC
149122004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14913
14914 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14915 * lib/compiler.cc: Likewise.
14916 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14917 get the right preprocessor. Eval the output directly. Remove
14918 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
14919 hp_f77_compiler and hp_f90_compiler completely.
14920 (gdb_preprocess): Delete.
14921 (get_compiler): Delete.
14922
7cf03d44
MK
149232004-01-24 Mark Kettenis <kettenis@gnu.org>
14924
14925 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14926 <string.h>.
14927
68b6dce9
NR
149282004-01-24 Nick Roberts <nick@nick.uklinux.net>
14929
14930 * gdb.mi/mi-stack.exp: Update copyright.
14931
b368761e
DC
149322004-01-23 David Carlton <carlton@kealia.com>
14933
14934 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
14935 test for cp_lookup_transparent_type.
14936 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
14937 call them.
14938
f2061b53
DJ
149392004-01-23 Daniel Jacobowitz <drow@mvista.com>
14940
14941 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
14942 after -var-update.
14943
37fc574a
DC
149442004-01-23 David Carlton <carlton@kealia.com>
14945
14946 * gdb.cp/namespace.cc (C::ensureRefs): New.
14947 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14948
8e94b928
NR
149492004-01-20 Nick Roberts <nick@nick.uklinux.net>
14950
14951 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14952 case "-stack-list-locals 2".
14953 * gdb.mi/mi-var-child.exp: Test for case
14954 "-var-list-children --all-values NAME".
14955
997b0952
MC
149562004-01-18 Michael Chastain <mec.gnu@mindspring.com>
14957
14958 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14959
52470da3
MK
149602004-01-18 Mark Kettenis <kettenis@gnu.org>
14961
7049b4b8
MK
14962 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14963 used with gdb_test_multiple.
14964
52470da3
MK
14965 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14966 read at address 0. This fixes PR testsuite/1504.
14967
da6012e5
DJ
149682004-01-18 Daniel Jacobowitz <drow@mvista.com>
14969
14970 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14971 Remove downloading, guessing the host executable, the calls to
14972 gdb_file_cmd and gdb_target_cmd, and "load" support.
14973 (infer_host_exec): New function broken out from gdb_load.
14974 (gdb_load): New wrapper for gdbserver_gdb_load.
14975 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14976 gdb_target_cmd. Use -target-select.
14977 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14978 Download binaries to the host. Clear last_mi_remote_file when
14979 we load a new binary.
14980 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
14981 call gdbserver_gdb_load and mi_gdb_target_cmd.
14982
32c70722
MC
149832004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14984
14985 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14986 type patterns.
14987
b0cecf36
MC
149882004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14989
14990 * gdb.cp/templates.exp: Fix typo in test name of
14991 "print Foo<volatile char*>::foo".
14992
4120d7e6
MC
149932004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14994
14995 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14996
f679e530
BE
149972004-01-16 Ben Elliston <bje@wasabisystems.com>
14998
14999 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15000 (clean mostlyclean): Remove empty rm.
15001
091c48f6
MC
150022004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15003
15004 * gdb.base/setvar.exp: Add copyright years.
15005
3e5fc8d2
DC
150062004-01-14 David Carlton <carlton@bactrian.org>
15007
15008 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15009 PR c++/1511 and update coment.
15010 * gdb.cp/templates.exp: Update patterns to match current output.
15011 If changes involve something other than whitespace, KFAIL
15012 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15013
63d06c5c
DC
150142004-01-14 David Carlton <carlton@kealia.com>
15015
15016 * gdb.cp/namespace.exp: Add tests involving classes defined within
15017 namespaces.
15018 * gdb.cp/namespace.cc (C::CClass): New.
15019 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15020
a51dab88
EZ
150212004-01-14 Elena Zannoni <ezannoni@redhat.com>
15022
15023 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15024 what debug info we have. Print a better message if something goes
15025 wrong while producing the separate debug info file.
15026
a476ccc9
MC
150272004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15028
15029 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15030
f453692c
MC
150312004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15032
15033 * gdb.base/callfuncs.c: Add copyright notice.
15034
f40063a5
MC
150352004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15036
15037 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15038 inheritance. PR gdb/1498, PR gcc/13539.
15039
19ac3974
EZ
150402004-01-13 Elena Zannoni <ezannoni@redhat.com>
15041
a9c64011
AS
15042 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15043 test specific name.
15044 * gdb.mi/gdb669.exp: Ditto.
15045 * gdb.mi/mi-pthreads.exp: Ditto.
15046 * gdb.mi/mi1-pthreads.exp: Ditto.
15047 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15048
56c97c6e
MC
150492004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15050
15051 * gdb.cp/member-ptr.cc: Add copyright notice.
15052
a0644324
MC
150532004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15054
15055 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15056 some patterns for recent versions of gcc and hpacc. Delete
15057 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15058 Delete tests that access a NULL pointer-to-member-data. This
15059 script is still disabled for gcc.
15060
32fabe09
EZ
150612004-01-12 Elena Zannoni <ezannoni@redhat.com>
15062
15063 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15064 escaped correctly.
32fabe09 15065
1f8a6abb
EZ
150662004-01-12 Elena Zannoni <ezannoni@redhat.com>
15067
15068 * gdb.base/sepdebug.exp: New file.
15069 * gdb.base/sepdebug.c: New file.
15070 * lib/gdb.exp (separate_debug_filename): New procedure.
15071 (gdb_gnu_strip_debug): New procedure.
15072
48efe704
AC
150732004-01-12 Andrew Cagney <cagney@redhat.com>
15074
15075 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15076 * gdb.mi/ChangeLog-1999-2003: New file.
15077
a9415475
AC
150782004-01-12 Andrew Cagney <cagney@redhat.com>
15079
15080 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15081 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15082 or EEXIST", treat EBUSY as an XFAIL.
15083
83b8cf9d
MC
150842004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15085
15086 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15087 hp_cc_compiler.
15088
9939d2a8
MC
150892004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15090
15091 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15092 decorations.
15093
1ff8cadf
MC
150942004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15095
15096 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15097 and "(aCC)" decorations. Remove obsolete doco about old
15098 test results.
15099
6fa9022e
MC
151002004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15101
15102 * gdb.cp/exception.exp: Fix typo in doco.
15103
209721fe
MK
151042004-01-09 Mark Kettenis <kettenis@gnu.org>
15105
15106 * gdb.base/gdb1476.exp: Fix typo.
15107
ef11303e
MC
151082004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15109
15110 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15111 file.
15112
041ab88c
MC
151132004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15114
15115 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15116 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15117 Use gdb_compile. Remove restriction on gcc. Add some patterns
15118 for recent version of gdb. Delete second half, which was a copy
15119 of the first half with different build flags. This test is
15120 still disabled because it is still not ready for production.
15121
e36d075a
MC
151222004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15123
15124 * gdb.cp/exception.cc: Add copyright notice.
15125 * gdb.cp/exception.exp: Add a notice that this file is broken
15126 because of line number changes caused by addition of copyright
15127 notice.
15128
42b190ad
MC
151292004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15130
15131 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15132 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15133
8f25f06b
MC
151342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15135
15136 * gdb.cp/classes.exp: Accept gnu abi 2.
15137 * gdb.cp/derivation.exp: Likewise.
15138 * gdb.cp/overload.exp: Likewise.
15139 * gdb.cp/virtfunc.exp: Likewise.
15140
06ded8b8
MC
151412004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15142
15143 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15144 semicolon after end of function.
15145
77c26ae3
MC
151462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15147
15148 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15149 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15150 boilerplate code for compiling and running the program under
15151 test. Add some string method tests.
15152
20757486
MC
151532004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15154
15155 * gdb.cp/bs15503.cc: Add copyright notice.
15156 * gdb.cp/bs15503.exp: Adjust line number.
15157
0fd3b503
MC
151582004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15159
15160 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15161 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15162
10d1bea8
MC
151632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15164
15165 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15166 hp_cc_compiler.
15167
2789202a
MC
151682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15169
15170 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15171 * gdb.cp/ctti.exp: Use the marker instead of "next".
15172 With gcc, run further before bailing.
15173
b862f14c
MC
151742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15175
15176 * gdb.cp/cttiadd.cc: Add copyright notice.
15177 * gdb.cp/cttiadd1.cc: Likewise.
15178 * gdb.cp/cttiadd2.cc: Likewise.
15179 * gdb.cp/cttiadd3.cc: Likewise.
15180
96da2469
MC
151812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15182
15183 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15184 Use gdb_test, gdb_test_multiple. Use floating-point values that
15185 have exact representations in IEEE-ish formats.
15186
053248ff
MC
151872004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15188
15189 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15190 compilers. Delete duplicate call to get_compiler_info.
15191 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15192 * gdb.base/volatile.exp: Likewise.
15193
84acecdd
MK
151942004-01-07 Mark Kettenis <kettenis@gnu.org>
15195
15196 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15197 memory at address 0.
15198
fe11a27f
MC
151992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15200
15201 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15202 to test for hp-ux assembler. Fix copyright years.
15203
60ad077b
AC
152042004-01-07 Andrew Cagney <cagney@redhat.com>
15205
15206 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15207
1c9b8f33
AC
152082004-01-07 Andrew Cagney <cagney@redhat.com>
15209
15210 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15211 when creating the read-only file. From analysis by Roland McGrath
15212 and Elena Zannoni.
15213
753ccc7a
MC
152142004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15215
15216 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15217
eca3e36b
MC
152182004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15219
15220 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15221 data pointers.
15222
f8d4bac4
MC
152232004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15224
15225 * gdb.cp/m-static.exp: Compile one source file at a time.
15226 Delete unused call to get_compiler_info.
15227
9b4e0f94
MC
152282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15229
15230 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15231 * gdb.base/call-rt-st.exp: Likewise.
15232 * gdb.base/nodebug.exp: Likewise.
15233 * gdb.base/volatile.exp: Likewise.
15234 * gdb.cp/ref-types.exp: Likewise.
15235 * gdb.cp/templates.exp: Likewise.
15236
023c1024
MK
152372004-01-05 Mark Kettenis <kettenis@gnu.org>
15238
15239 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15240
19703c4a
MC
152412004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15242
15243 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15244 hppa*-hp-hpux*.
15245
18b67037
MK
152462004-01-04 Mark Kettenis <kettenis@gnu.org>
15247
ba6219c8
MK
15248 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15249 x86_64-*-*.
15250
18b67037
MK
15251 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15252 sparc64-*-* and sparc*-solaris2*.
15253
1bfbbb9d
MK
152542004-01-04 Mark Kettenis <kettenis@gnu.org>
15255
15256 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15257 return ${tests}" test. The ${tests} already mentions the
15258 filename.
15259
06846494
MC
152602004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15261
15262 * gdb.cp/local.exp: Accept gcc abi 2.
15263
3b0cb202
MC
152642004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15265
15266 * gdb.cp/templates.exp: Accept gcc abi 2.
15267
0643ec3f
MC
152682004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15269
15270 * lib/compiler.cc: Remove supports_template_debugging.
15271 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15272
d231d0b1
MC
152732004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15274
15275 * gdb.cp/namespace.exp: Accept gcc abi 2.
15276
44ffb27c
MC
152772004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15278
15279 * gdb.cp/method.exp: Accept gcc abi 2.
15280
184ad485
MC
152812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15282
15283 * gdb.cp/classes.exp: Generate identical results as old version.
15284 * gdb.cp/derivation.exp: Likewise.
15285 * gdb.cp/overload.exp: Likewise.
15286 * gdb.cp/virtfunc.exp: Likewise.
15287
116f09e7
MC
152882004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15289
15290 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15291 mysterious bug with sourceware version of expect.
15292
b1379776
MC
152932004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15294
15295 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15296 current versions of gcc, including gcc abi 2. Remove gratuitous
15297 restart of test program. Use gdb_test_multiple and gdb_test for
15298 all tests. Add patterns to xfail missing "const" in "const char *"
15299 and kfail PR gdb/1155.
15300
6b7a4c0e
MC
153012004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15302
15303 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15304 current versions of gcc, including gcc abi 2. Remove gratuitous
15305 restart of test program. Use gdb_test_multiple and gdb_test for
15306 all tests. Add patterns to kfail PR gdb/1498.
15307
51615d72
MC
153082003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15309
15310 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15311 current versions of gcc, including gcc abi 2. Use "breakpoint"
15312 and "continue" instead of restarting the target program. Use
15313 gdb_test_multiple and gdb_test for all tests.
15314
7b79a9d7
MK
153152004-01-01 Mark Kettenis <kettenis@gnu.org>
15316
15317 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15318 for *-*-solaris2*.
15319
1cd3489f
MC
153202003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15321
15322 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15323 current versions of gcc, including gcc abi 2. Use "breakpoint"
15324 and "continue" instead of restarting the target program several
15325 times. Use gdb_test_multiple and gdb_test for all tests.
15326
850742db
MC
153272003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15328
15329 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15330 source files.
15331
eb4bbda8
MC
153322003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15333
15334 * gdb.base/environ.exp: Handle compiling test case from multiple
15335 source files.
15336
e42c7771
MC
153372003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15338
15339 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15340
80e4b428
JB
153412003-12-17 Jim Blandy <jimb@redhat.com>
15342
5f06973a
JB
15343 * gdb.base/freebpcmd.c: Add copyright notice.
15344
80e4b428
JB
15345 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15346
0ab84fb7
MC
153472003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15348
15349 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15350
1b3bb3d0
JB
153512003-12-13 Jim Blandy <jimb@redhat.com>
15352
15353 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15354
3a4c9371
KB
153552003-12-12 Kevin Buettner <kevinb@redhat.com>
15356
15357 * gdb.asm/frv.inc: New file.
15358 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15359
a1dea79a
FF
153602003-12-09 Fred Fish <fnf@redhat.com>
15361
15362 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15363 functions to break1.c and leave prototypes behind. Add more
15364 "set breakpoint NN here" comments.
15365 * gdb.base/break1.c: New file.
15366
15367 * gdb.base/break.exp: Handle compiling test case from multiple
15368 source files and change source file references as needed.
15369 * gdb.base/completion.exp: Ditto.
15370 * gdb.base/condbreak.exp: Ditto.
15371 * gdb.base/define.exp: Ditto.
15372 * gdb.base/ena-dis-br.exp: Ditto.
15373 * gdb.base/info-proc.exp: Ditto.
15374 * gdb.base/maint.exp: Ditto.
15375 * gdb.base/until.exp: Ditto.
15376
15377 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15378 hardcoded line numbers.
15379 * gdb.base/define.exp: Ditto.
15380 * gdb.base/ena-dis-br.exp: Ditto.
15381 * gdb.base/maint.exp: Ditto.
15382 * gdb.base/until.exp: Ditto.
15383
15384 * gdb.base/completion.exp: Use "break1" for completion tests since
15385 "break" is no longer a unique prefix.
15386
5266b69c
AC
153872003-12-06 Andrew Cagney <cagney@redhat.com>
15388
15389 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15390 "return_value_unimplemented". When an unimplemented struct return
15391 architecture, report incorrect values as a KFAIL
15392
374451f0
MC
153932003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15394
15395 * gdb.cp/rtti.exp: Accept new wording of warning from
15396 cp_lookup_rtti_type.
15397
ba9b20a7
MC
153982003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15399
15400 Partial fix for PR testsuite/1456.
15401 * gdb.base/scope.exp (test_at_main): Replace references to
15402 gcc_compiled with calls to test_compiler_info.
15403 (test_at_foo): Likewise.
15404 (test_at_bar): Likewise.
15405
b74b6d0b
MC
154062003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15407
15408 Partial fix for PR testsuite/1456.
15409 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15410 to test_compiler_info.
15411
ccfa3402
MC
154122003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15413
15414 * gdb.base/so-impl-ld.exp: Update copyright notice.
15415
f6246aba
MC
154162003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15417
15418 Partial fix for PR testsuite/1456.
15419 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15420 to test_compiler_info.
15421
13ae734a
MC
154222003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15423
15424 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15425 from current versions of gdb. Clean up regular expressions.
15426 Delete redundant timeout case.
15427
d8e1cdee
MC
154282003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15429
15430 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15431 from current versions of gdb. Clean up regular expressions.
15432 Delete redundant timeout case.
15433
96457b64
MC
154342003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15435
15436 Partial fix for PR testsuite/1456.
15437 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15438 gcc_compiled with call to test_compiler_info.
15439
f35309fc
MC
154402003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15441
15442 Partial fix for PR testsuite/1456.
15443 * gdb.base/list.exp (test_list_function): Delete unused declaration
15444 of gcc_compiled.
15445
d7afdf9b
MC
154462003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15447
15448 Partial fix for PR testsuite/1456.
15449 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15450 call to test_compiler_info.
15451
71507b56
MK
154522003-11-29 Mark Kettenis <kettenis@gnu.org>
15453
15454 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15455 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15456 it to create the appropriate note.inc.
15457 * gdb.asm/asmsrc1.s: Include "note.inc".
15458 * gdb.asm/netbsd.inc: New file.
15459 * gdb.asm/empty.inc: New file.
15460
f81f93f7
MC
154612003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15462
15463 Partial fix for PR testsuite/1456.
15464 * gdb.base/constvars.exp: Replace references to gcc_compiled with
15465 calls to test_compiler_info.
15466
9a77938e
MC
154672003-11-27 Michael Chastain <mec.gnu@mindspring.com>
15468
15469 Partial fix for PR testsuite/1456.
15470 * gdb.base/volatile.exp: Replace references to gcc_compiled with
15471 calls to test_compiler_info.
15472
e8367dc7
MK
154732003-11-27 Mark Kettenis <kettenis@gnu.org>
15474
15475 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15476 pattern for the KFAILs.
15477
526c61ee
AF
154782003-11-25 Adam Fedor <fedor@gnu.org>
15479
15480 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15481 * gdb.objc/objcdecode.m: New file.
15482
28f2d600
AF
154832003-11-25 Adam Fedor <fedor@gnu.org>
15484
15485 * gdb.objc/nondebug.exp: Test for PR objc/1236.
15486 * gdb.objc/nondebug.m: New file.
15487
a3895cee
BE
154882003-11-26 Ben Elliston <bje@wasabisystems.com>
15489
15490 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15491 NetBSD as it does on FreeBSD. Modelled on a similar change by
15492 Mark Kettenis on 2003-05-30.
15493 (link-flags): Set to "--entry _start" regardless of target.
15494 Special linker flags are to be appended to $link-flags.
15495 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15496
c9f2c8a3
MC
154972003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15498
15499 * gdb.cp/method.exp: Accept output of new demangler.
15500
15a0587a 155012003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
15502
15503 * gdb/class2.exp: New file.
15504 * gdb/class2.cc: New file.
15505
3c00b570
MC
155062003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15507
15508 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15509 of new demangler.
15510
7027acc7
MK
155112003-11-23 Mark Kettenis <kettenis@gnu.org>
15512
15513 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15514 of gdb_test "run".
15515
b0e1598a
MK
155162003-11-23 Mark Kettenis <kettenis@gnu.org>
15517
15518 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
15519 "continue" into "run".
15520
4d9eda44
MC
155212003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15522
15523 Partial fix for PR testsuite/1456.
15524 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15525 call to test_compiler_info.
15526 * gdb.cp/ctti.exp: Likewise.
15527 * gdb.cp/derivation.exp: Likewise.
15528 * gdb.cp/member-ptr.exp: Likewise.
15529 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15530 reference to gcc_compiled.
15531
155322003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
15533
15534 Fix PR testsuite/1463.
15535 * gdb.base/structs.exp (start_structs_test): Call
15536 get_debug_format before using the debug format.
15537
d422fe19
AC
155382003-11-22 Andrew Cagney <cagney@redhat.com>
15539
15540 * lib/gdb.exp (gdb_test_multiple): Add simple example.
15541 * gdb.base/structs.exp: Use gdb_test_multiple.
15542
039cf96d
AC
155432003-11-20 Andrew Cagney <cagney@redhat.com>
15544
6882279b
AC
15545 * gdb.base/structs.exp: Handle and recover from internal errors.
15546 Replace "foo${n}" with "foo<n>" in test messages.
15547
e53890ae
AC
15548 * gdb.base/structs.exp: Update copyright. Rewrite.
15549 * gdb.base/structs.c: Update copyright. Rewrite.
15550
2b211c59
AC
15551 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15552 resync count exceeded.
d63a86f8 15553
039cf96d
AC
15554 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15555 from the internal error.
15556 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15557 Original from Jim Blandy.
15558 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 15559
eac98b22
AC
155602003-11-19 Andrew Cagney <cagney@redhat.com>
15561
15562 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15563 KFAIL.
15564
67455b2a
MK
155652003-11-17 Mark Kettenis <kettenis@gnu.org>
15566
15567 New testcase for PR backtrace/1435.
15568 * gdb.arch/i386-unwind.exp: New file.
15569 * gdb.arch/i386-unwind.c: New file.
15570
853d6e5b
AC
155712003-11-17 Andrew Cagney <cagney@redhat.com>
15572
15573 * lib/gdb.exp (compiler_info): New global.
15574 (test_compiler_info): New function.
15575 (get_compiler_info): Set compiler_info.
15576 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
15577 "compiler_info" to gcc-<major>-<minor>.
15578
38cf6e11
MC
155792003-11-15 Michael Chastain <mec.gnu@mindspring.com>
15580
15581 * gdb.trace/configure: Remove.
15582
a50d3602
EZ
155832003-11-13 Elena Zannoni <ezannoni@redhat.com>
15584
15585 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 15586 breakpoints.
a50d3602
EZ
15587 * gdb.base/break.exp: Remove all references to explicit line
15588 numbers.
15589
d9407aaa
NC
155902003-11-11 Nick Clifton <nickc@redhat.com>
15591
15592 * gdb.base/shreloc.exp: Do not run for targets which do not
15593 support shared objects.
15594
db488fc1
CV
155952003-11-10 Corinna Vinschen <vinschen@redhat.com>
15596
15597 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15598 Don't run tests if nofileio flag is given.
15599
6a90a18e
EZ
156002003-11-07 Elena Zannoni <ezannoni@redhat.com>
15601
15602 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 15603 as well as 'Watchpoint'.
6a90a18e 15604
0b915e9c
EZ
156052003-11-06 Elena Zannoni <ezannoni@redhat.com>
15606
15607 Reported by Jim Ingham <jingham@apple.com>:
15608 * gdb.base/annota1.exp: Match at least one occurrence of the
15609 signal handler annotation.
15610
d7e4b55f
EZ
156112003-11-06 Elena Zannoni <ezannoni@redhat.com>
15612
a9c64011
AS
15613 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15614 as well as 'Watchpoint'.
d7e4b55f 15615
2fe4e8d0
MC
156162003-11-05 Michael Chastain <mec@shout.net>
15617
15618 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15619
6ef88553
KW
156202003-11-03 Kris Warkentin <kewarken@qnx.com>
15621
15622 * gdb.arch/gdb1291.c: New test file.
15623 * gdb.arch/gdb1291.exp: New test script.
15624 * gdb.arch/gdb1431.c: New test file.
15625 * gdb.arch/gdb1431.exp: New test script.
15626
ae7dc4d8
MC
156272003-10-22 Michael Chastain <mec@shout.net>
15628
15629 * gdb.mi/pthreads.c: Add copyright notice.
15630
c39d7427
MC
156312003-10-22 Michael Chastain <mec@shout.net>
15632
15633 * gdb.threads/pthreads.c: Add copyright notice.
15634
8b7d96c1
MC
156352003-10-20 Michael Chastain <mec@shout.net>
15636
15637 * gdb.base/gdb1056.exp: New test script.
15638
d1d69fdd
DJ
156392003-10-13 Daniel Jacobowitz <drow@mvista.com>
15640
15641 * gdb.threads/killed.exp: Use gdb_run_cmd.
15642
7d605576
DJ
156432003-10-13 Daniel Jacobowitz <drow@mvista.com>
15644
15645 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15646 create a core file.
15647 * gdb.threads/gcore-thread.exp: Likewise.
15648
618ec112
CV
156492003-10-13 Corinna Vinschen <vinschen@redhat.com>
15650
15651 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15652 type, based on char type.
15653 (struct bit_flags_short_t): New bitfield type, based on short type.
15654 (init_bit_flags_char): New fuction.
15655 (init_bit_flags_short): Ditto.
15656 (print_bit_flags_char): Ditto.
15657 (print_bit_flags_short): Ditto.
15658 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15659
9367a73c
MC
156602003-10-11 Michael Chastain <mec@shout.net>
15661
15662 * gdb.base/call-rt-st.exp: Update copyright year.
15663
1decf120
KI
156642003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
15665
15666 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15667 * gdb.disasm/sh3.s: Ditto.
15668
5445b2ae
DJ
156692003-10-07 Daniel Jacobowitz <drow@mvista.com>
15670
15671 * gdb.threads/switch-threads.exp: New test.
15672 * gdb.threads/switch-threads.c: New source file.
15673
aec24853
CV
156742003-10-07 Corinna Vinschen <vinschen@redhat.com>
15675
15676 * gdb.base/ending-run.exp: Add sh specific case.
15677
adc7428d
AC
156782003-10-06 Andrew Cagney <cagney@redhat.com>
15679
15680 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15681 * gdb.disasm/mn10200.exp: Delete obsolete file.
15682
c9d37158
DJ
156832003-09-29 Daniel Jacobowitz <drow@mvista.com>
15684
15685 * ChangeLog: Correct an entry command.exp -> commands.exp.
15686 * gdb.base/commands.exp (bp_deleted_in_command_test)
15687 (temporary_breakpoint_commands): Check noargs.
15688
79c2c32d
DC
156892003-09-25 David Carlton <carlton@kealia.com>
15690
15691 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
15692 of some print tests, where appropriate. Add tests for C::D::cd,
15693 E::ce, F::cXfX, G::XgX.
15694 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15695
594e6d67
RE
156962003-09-25 Richard Earnshaw <rearnsha@arm.com>
15697
15698 * lib/java.exp (java_init): Import target_alias before using it.
15699
10f0d451
DC
157002003-09-25 David Carlton <carlton@kealia.com>
15701
15702 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15703
274bcba0
EZ
157042003-09-23 Elena Zannoni <ezannoni@redhat.com>
15705
d63a86f8 15706 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 15707 weirdness.
274bcba0 15708
cdbf20f7
MC
157092003-09-17 Michael Chastain <mec@shout.net>
15710
15711 * gdb.cp/gdb1355.exp: New file.
15712 * gdb.cp/gdb1355.c: New file.
15713
71e06f80
CV
157142003-09-15 Corinna Vinschen <vinschen@redhat.com>
15715
15716 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15717 * gdb.asm/sh.inc: New file.
15718
5c4e30ca
DC
157192003-09-11 David Carlton <carlton@kealia.com>
15720
bd45b7af
DC
15721 * gdb.cp/namespace.exp: Add tests for namespace types.
15722 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
15723 (test_namespace): New.
15724
1c199746
EZ
157252003-09-11 Elena Zannoni <ezannoni@redhat.com>
15726
a9c64011 15727 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 15728 * gdb.stabs/weird.exp: Ditto.
1c199746 15729
04ed252f
MC
157302003-09-08 Michael Chastain <mec@shout.net>
15731
15732 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15733
d8a2d9e7
MC
157342003-09-07 Michael Chastain <mec@shout.net>
15735
15736 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15737 'parse error'.
15738
161afb24
MK
157392003-09-07 Mark Kettenis <m.kettenis@osp.nl>
15740
15741 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15742
49f2741a
MC
157432003-08-30 Michael Chastain <mec@shout.net>
15744
15745 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15746 * gdb.gdb/observer.exp: Ditto.
15747 * gdb.gdb/xfullpath.exp: Ditto.
15748
8afa723e
MK
157492003-08-29 Mark Kettenis <kettenis@gnu.org>
15750
15751 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15752 *-*-*bsd*.
15753
f31dfe3b
JJ
157542003-08-28 Jeff Johnston <jjohnstn@redhat.com>
15755
15756 * gdb.base/dump.exp: Skip for ia64.
15757
4630e498
JJ
157582003-08-25 Jeff Johnston <jjohnstn@redhat.com>
15759
15760 * gdb.asm/asm-source.exp: Add ia64 support.
15761 * gdb.asm/ia64.inc: New file.
15762
1105b7ef
MC
157632003-08-22 Michael Chastain <mec@shout.net>
15764
15765 * gdb.cp: New directory.
15766 * gdb.cp/*: Copy from gdb.c++/*.
15767 * gdb.c++/*: Remove.
15768 * Makefile.in: Change gdb.c++ to gdb.cp.
15769 * configure.in: Ditto.
15770 * configure: Regnerate.
15771
c945b932
MK
157722003-08-18 Mark Kettenis <kettenis@gnu.org>
15773
15774 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15775 * gdb.arch/i386-prologue.c (gdb1338): Add function.
15776
2b66634b
DJ
157772003-08-17 Daniel Jacobowitz <drow@mvista.com>
15778
15779 * mi-var-display.exp (-var-list-children weird): Accept function
15780 pointers with argument types.
15781 * mi1-var-display.exp (-var-list-children weird): Likewise.
15782 * mi2-var-display.exp (-var-list-children weird): Likewise.
15783
a356f73b
DJ
157842003-08-17 Daniel Jacobowitz <drow@mvista.com>
15785
15786 * gdb.base/annota3.exp: Add missing newline.
15787
483417b8
MC
157882003-08-06 Michael Chastain <mec@shout.net>
15789
15790 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15791
c99c59c3
MS
157922003-08-12 Michael Snyder <msnyder@redhat.com>
15793
15794 * gdb.base/float.exp: Add test for SH.
15795
55ed7501
MK
157962003-08-10 Mark Kettenis <kettenis@gnu.org>
15797
15798 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15799
1a371f2e
EZ
158002003-08-07 Elena Zannoni <ezannoni@redhat.com>
15801
15802 * gdb.base/completion.exp: Remove reduntant completion test
15803 on filename.
15804
e0f353ce
EZ
158052003-08-07 Elena Zannoni <ezannoni@redhat.com>
15806
a9c64011
AS
15807 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15808 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15809 gdb.trace/save-trace.exp: Make sure that full pathnames are
15810 escaped correctly.
e0f353ce 15811
5710a1af 158122003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 15813
a9c64011
AS
15814 * configure.in: Don't generate config.h from config.hin.
15815 * configure: Regenerate.
15816 * config.hin: Remove file.
15817 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15818 * gdb.threads/pthreads.c: Ditto.
5710a1af 15819
dcd81ce9
DJ
158202003-08-07 Daniel Jacobowitz <drow@mvista.com>
15821
15822 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15823 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15824 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15825 Replace ld24 with seth/add3.
15826
6009d884
AC
158272003-08-02 Andrew Cagney <cagney@redhat.com>
15828
15829 * gdb.base/annota3.exp: New file.
15830 * gdb.base/annota3.c: New file.
15831 * gdb.c++/annota3.exp: New file.
15832 * gdb.c++/annota3.cc: New file.
15833
51514e06
MC
158342003-07-29 Michael Chastain <mec@shout.net>
15835
15836 * gdb.threads/tls.c (spin): Check errno only if sem_wait
15837 actually failed.
15838 (do_pass): Likewise.
15839 * gdb.threads/tls.exp: Always initialize no_of_threads.
15840
4ee6625b
DJ
158412003-07-27 Daniel Jacobowitz <drow@mvista.com>
15842
15843 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15844 pattern.
15845 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15846 * gdb.threads/tls.exp: Recognize one case of the host library not
15847 supporting TLS.
15848
225f2bf6
AC
158492003-07-27 Andrew Cagney <cagney@redhat.com>
15850
15851 * gdb.base/fileio.exp: Use SH when running commands using
15852 remote_exec.
15853
bcb27c9f
DJ
158542003-07-24 Daniel Jacobowitz <drow@mvista.com>
15855
15856 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15857 * gdb.base/relocate.c (dummy): New padding array.
15858
3d67be83
MS
158592003-07-22 Michael Snyder <msnyder@redhat.com>
15860
d63a86f8 15861 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
15862
15863 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15864 patterns to be more general, accepting old and new output.
15865 Some output chars (such as '+') also must be quoted.
d63a86f8 15866 Some addresses are displayed numerically instead of
3d67be83
MS
15867 symbolically.
15868
57ba3b85
MS
158692003-07-23 Michael Snyder <msnyder@redhat.com>
15870
686d097c
MS
15871 * gdb.base/return2.exp: Don't test long-long return.
15872
57ba3b85
MS
15873 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15874 * gdb.disasm/t01_mov.exp: Ditto.
15875 * gdb.disasm/t02_mova.s: Ditto.
15876 * gdb.disasm/t02_mova.exp: Ditto.
15877 * gdb.disasm/t03_add.s: Ditto.
15878 * gdb.disasm/t03_add.exp: Ditto.
15879 * gdb.disasm/t04_sub.s: Ditto.
15880 * gdb.disasm/t04_sub.exp: Ditto.
15881 * gdb.disasm/t05_cmp.s: Ditto.
15882 * gdb.disasm/t05_cmp.exp: Ditto.
15883 * gdb.disasm/t06_ari2.s: Ditto.
15884 * gdb.disasm/t06_ari2.exp: Ditto.
15885 * gdb.disasm/t07_ari3.s: Ditto.
15886 * gdb.disasm/t07_ari3.exp: Ditto.
15887 * gdb.disasm/t08_or.s: Ditto.
15888 * gdb.disasm/t08_or.exp: Ditto.
15889 * gdb.disasm/t09_xor.s: Ditto.
15890 * gdb.disasm/t09_xor.exp: Ditto.
15891 * gdb.disasm/t10_and.s: Ditto.
15892 * gdb.disasm/t10_and.exp: Ditto.
15893 * gdb.disasm/t11_logs.s: Ditto.
15894 * gdb.disasm/t11_logs.exp: Ditto.
15895 * gdb.disasm/t12_bit.s: Ditto.
15896 * gdb.disasm/t12_bit.exp: Ditto.
15897 * gdb.disasm/t13_otr.s: Ditto.
15898 * gdb.disasm/t13_otr.exp: Ditto.
15899
e00759ef
EZ
159002003-07-22 Elena Zannoni <ezannoni@redhat.com>
15901
15902 * gdb.threads/tls.exp :Add kfail for 'info address' case.
15903
8bc2021f
EZ
159042003-07-22 Elena Zannoni <ezannoni@redhat.com>
15905
a9c64011
AS
15906 * gdb.threads/tls.c : New file.
15907 * gdb.threads/tls.exp : New file.
15908 * gdb.threads/tls-main.c : New file.
15909 * gdb.threads/tls-shared.c : New file.
15910 * gdb.threads/tls-shared.exp : New file.
8bc2021f 15911
89320c4c
AS
159122003-07-22 Andreas Schwab <schwab@suse.de>
15913
15914 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15915
180dea7c
AS
159162003-07-20 Andreas Schwab <schwab@suse.de>
15917
15918 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15919 due to insn reordering.
15920
0714963c
AC
159212003-07-15 Andrew Cagney <cagney@redhat.com>
15922
15923 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15924
98a23b3f
MC
159252003-07-15 Michael Chastain <mec@shout.net>
15926
15927 * gdb.base/gdb1250.exp: New file.
15928 * gdb.base/gdb1250.c: New file.
15929
27e417a2
ML
159302003-07-09 Michal Ludvig <mludvig@suse.cz>
15931
15932 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15933 expansion of size_t to 'unsigned long', not only to 'unsigned'.
15934
8bc2021f
EZ
159352003-07-09 Elena Zannoni <ezannoni@redhat.com>
15936
a9c64011
AS
15937 * gdb.threads/tls.c: New file.
15938 * gdb.threads/tls.exp: New file.
15939 * gdb.threads/tls-main.c: New file.
15940 * gdb.threads/tls-shared.c: New file.
15941 * gdb.threads/tls-shared.exp: New file.
8bc2021f 15942
d99968dc
EZ
159432003-07-09 Elena Zannoni <ezannoni@redhat.com>
15944
15945 * gdb.base/annota1.exp: Make sure that we properly escape the
15946 full path of the source file. Xfail more permissive patterns,
d63a86f8 15947 due to a compiler debug info problem.
d99968dc 15948
83876b3b
AS
159492003-07-07 Andreas Schwab <schwab@suse.de>
15950
2705e972
AS
15951 * gdb.asm/m68k.inc: New file.
15952 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15953
83876b3b
AS
15954 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15955 arguments"): Also match negative number.
15956
15957 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15958
3a871b37
DJ
159592003-07-03 Daniel Jacobowitz <drow@mvista.com>
15960
15961 * gdb.base/store.c (charest): New typedef.
15962 (add_char): Rename to add_charest, update.
15963 (wack_char): Rename to wack_charest, update types. Return l + r
15964 to keep r live across the call.
15965 (wack_short, wack_int, wack_long, wack_longest, wack_float)
15966 (wack_double, wack_doublest): Return l + r to keep r live across
15967 the call.
15968 * gdb.base/store.exp: Accomodate store.c changes.
15969
b2a7f303
DC
159702003-06-30 David Carlton <carlton@kealia.com>
15971
15972 * gdb.c++/maint.exp (test_invalid_name): New.
15973 (test_first_component): Add tests for invalid names.
15974
3c6cb4a1
MC
159752003-06-29 Michael Chastain <mec@shout.net>
15976
15977 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15978 output of '<VTT for class>' for virtual base classes.
15979
f1c2644b
DJ
159802003-06-29 Daniel Jacobowitz <drow@mvista.com>
15981
15982 * gdb.base/completion.exp: Tab-complete "complet" instead of
15983 "compl".
15984 * gdb.base/complex.exp, gdb.base/complex.c: New files.
15985
18080350
DJ
159862003-06-29 Daniel Jacobowitz <drow@mvista.com>
15987
15988 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15989 * gdb.base/volatile.exp: Likewise.
15990
f56973f8
DJ
159912003-06-29 Daniel Jacobowitz <drow@mvista.com>
15992
15993 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15994 gdb/1265.
15995
159962003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
15997 Daniel Jacobowitz <drow@mvista.com>
15998
15999 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16000 initial line count of 'captured_main' from 26 to 32.
16001 (test_with_self): Allow xmalloc call to be interleaved with the
16002 preceding two lines.
16003
e766d4d6
JB
160042003-06-24 Joel Brobecker <brobecker@gnat.com>
16005
16006 * gdb.base/bang.exp: New testcase.
16007
f125c9a4
JB
160082003-06-23 Joel Brobecker <brobecker@gnat.com>
16009
16010 * gdb.base/langs.exp: Add some tests for the "minimal" language
16011 support.
16012
6e25beaf
EZ
160132003-06-23 Elena Zannoni <ezannoni@redhat.com>
16014
16015 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16016 the testcase.
16017
2f816dda
DJ
160182003-06-22 Daniel Jacobowitz <drow@mvista.com>
16019
16020 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16021 offset.
16022
db5a5748
DJ
160232003-06-22 Daniel Jacobowitz <drow@mvista.com>
16024
16025 * gdb.c++/pr-1210.cc: New file.
16026 * gdb.c++/pr-1210.exp: New file.
16027
1df0c130
DJ
160282003-06-21 Daniel Jacobowitz <drow@mvista.com>
16029
16030 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16031 000-exec-continue.
16032
a92feac0
MK
160332003-06-15 Mark Kettenis <kettenis@gnu.org>
16034
16035 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16036 on *-*-*bsd* instead of *-*-freebsd*.
16037
81a58f5b
AC
160382003-06-14 Andrew Cagney <cagney@redhat.com>
16039
16040 * gdb.base/store.exp: Test longest and doublest. Test all
16041 parameters. Weaken return statement match.
16042 * gdb.base/store.c: Add longest and doublest - aka long long and
16043 long double functions. Put all parameters into local register
16044 variables. Use negative values.
16045
b257a0d3
AC
160462003-06-14 Andrew Cagney <cagney@redhat.com>
16047
16048 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16049 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16050 exit status.
16051 * gdb.base/fileio.exp: Disable target when nointerrupts and
16052 noinferiorio, instead of limiting it to remote. Use remote_exec
16053 instead of system.
d63a86f8 16054
21c38304
JJ
160552003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16056
16057 * gdb.base/float.exp: Add ia64 support.
16058
1bcdb424
CV
160592003-06-12 Corinna Vinschen <vinschen@redhat.com>
16060
16061 * gdb.base/fileio.exp: Run only on remote targets.
16062
6aeb981f
CV
160632003-06-10 Corinna Vinschen <vinschen@redhat.com>
16064
16065 * gdb.base/fileio.c: New file, testing File-I/O.
16066 * gdb.base/fileio.exp: Ditto.
16067
53df362e
RG
160682003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16069
16070 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16071 shared objects after relocation at load time (gdb PR/1132).
16072 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16073 as above, part of the shared object relocation test.
53df362e 16074
ffee1b46
MK
160752003-06-08 Mark Kettenis <kettenis@gnu.org>
16076
b5ca3722
MK
16077 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16078 fully filled history list.
16079 * gdb.base/gdb_history: New file.
16080
03ed860d
MK
16081 * gdb.base/signals.exp: XFAIL "continue to func1" on
16082 i*86-*-freebsd*.
16083
ffee1b46
MK
16084 * gdb.base/attach.exp: When trying to attach to a nonexistent
16085 process, make it possible to specify the PID based on the target,
16086 and do so for *-*-freebsd*.
16087
d80dbb52
RH
160882003-06-02 Richard Henderson <rth@redhat.com>
16089
16090 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16091
6dd77b81
RH
160922003-06-02 Richard Henderson <rth@redhat.com>
16093
16094 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16095
f6347e16
RH
160962003-06-02 Richard Henderson <rth@redhat.com>
16097
16098 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16099
2c161407
DJ
161002003-06-01 Daniel Jacobowitz <drow@mvista.com>
16101
16102 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16103 of globalvar.
16104
572eb746
MK
161052003-06-01 Mark Kettenis <kettenis@gnu.org>
16106
16107 * gdb.asm/asm-source.exp: Check for memory read errors in
16108 disassembler test on *BSD too.
16109
9e9617a5
RH
161102003-06-01 Richard Henderson <rth@redhat.com>
16111
16112 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16113 for .frame.
16114 (gdbasm_call): Lose ldgp.
16115 (gdbasm_startup): Add frame information.
16116 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16117
7b34ad4e
MK
161182003-05-31 Mark Kettenis <kettenis@gnu.org>
16119
16120 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16121 i?86-*-*.
16122
10059fdf
MK
161232003-05-30 Mark Kettenis <kettenis@gnu.org>
16124
16125 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16126 FreeBSD.
16127
acf4b816
RH
161282003-05-29 Richard Henderson <rth@redhat.com>
16129
16130 * gdb.asm/alpha.inc: New file.
16131 * gdb.asm/asm-source.exp: Use it.
16132
e9ecd949
JB
161332003-05-29 Jim Blandy <jimb@redhat.com>
16134
16135 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16136 'core.PID'.
16137
e3e5a4f3
JB
161382003-05-22 Jim Blandy <jimb@redhat.com>
16139
16140 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16141 backtrace.
d63a86f8 16142
72fe3d25
DC
161432003-05-20 David Carlton <carlton@math.stanford.edu>
16144
16145 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16146 this time.
16147
58da2eb2
DC
161482003-05-19 David Carlton <carlton@bactrian.org>
16149
16150 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16151 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16152
1fcb5155
DC
161532003-05-19 David Carlton <carlton@bactrian.org>
16154
16155 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16156 namespace tests.
16157 Bump copyright date.
16158 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16159 (main): Call C::D::marker2.
16160 * gdb.c++/namespace1.cc: New file.
16161
85e85163
JJ
161622003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16163
16164 Roland McGrath <roland@redhat.com>
d63a86f8 16165 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16166 there is no manager thread.
16167
a25fbfec
JJ
161682003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16169
d63a86f8
RM
16170 * gdb.threads/schedlock.exp: Remove assumption that all threads
16171 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16172 in one of the child threads rather than the main thread.
16173
be375bae
JB
161742003-05-07 Jim Blandy <jimb@redhat.com>
16175
09bf6082
JB
16176 Add support for assembly source testing on the s390x.
16177 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16178 architecture.
16179 * gdb.asm/s390x.inc: New file.
16180
be375bae
JB
16181 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16182 succession of 'if' statements.
16183
00905d52
AC
161842003-05-05 Andrew Cagney <cagney@redhat.com>
16185
16186 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16187
b1e29e33
AC
161882003-05-05 Andrew Cagney <cagney@redhat.com>
16189
16190 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16191 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16192
e33d66ec
EZ
161932003-05-02 Elena Zannoni <ezannoni@redhat.com>
16194
16195 * gdb.base/charset.exp: Update based on new behavior of set/show
16196 charset commands.
16197
2b6fd0d8
AC
161982003-05-01 Andrew Cagney <cagney@redhat.com>
16199
16200 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16201 variable do not give memory errors.
16202
130cacce
AF
162032003-04-30 Adam Fedor <fedor@gnu.org>
16204
16205 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16206 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16207 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16208 gdb.objc/basicclass.m: : New files
16209
16210 * lib/gdb.exp (gdb_compile_objc): New procedure.
16211
bea71854
DJ
162122003-04-27 Daniel Jacobowitz <drow@mvista.com>
16213
16214 * gdb.base/signals.exp: Make backtrace tests more specific.
16215
0f20eeea
DC
162162003-04-23 David Carlton <carlton@bactrian.org>
16217
16218 * gdb.c++/maint.exp (test_first_component): Add tests for
16219 'operator' in more locations.
16220
c8c4d8dc
KB
162212003-04-16 Kevin Buettner <kevinb@redhat.com>
16222
16223 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16224
3fe60e3c
EZ
162252003-04-16 Elena Zannoni <ezannoni@redhat.com>
16226
16227 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16228 func marke' instead. Update test name.
3fe60e3c 16229
9219021c
DC
162302003-04-15 David Carlton <carlton@math.stanford.edu>
16231
16232 * gdb.c++/maint.exp: New file.
16233
5dd55bdd
EZ
162342003-04-14 Elena Zannoni <ezannoni@redhat.com>
16235
16236 * gdb.threads/schedlock.c: Change type of thread function argument
16237 to long, to avoid warnings on 64-bit platforms.
16238
00890572
EZ
162392003-04-14 Elena Zannoni <ezannoni@redhat.com>
16240
a9c64011
AS
16241 * gdb.base/attach.exp: Add new message from ptrace in case of
16242 attaching to nonexistent process.
d63a86f8 16243
93201743
JB
162442003-04-11 Jim Blandy <jimb@redhat.com>
16245
16246 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16247 gdb.c++/userdef.cc: Place comments on the lines to which the
16248 marker function might return.
16249 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16250 gdb.c++/userdef.exp: Look for those comments to check that we've
16251 returned to the right place, instead of checking line numbers.
16252
2a11c64d
EZ
162532003-04-11 Elena Zannoni <ezannoni@redhat.com>
16254
a9c64011
AS
16255 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16256 match on sourcefile name, instead of directory name.
2a11c64d 16257
68ab8fc5
EZ
162582003-04-10 Elena Zannoni <ezannoni@redhat.com>
16259
d63a86f8 16260 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16261 working directory name.
16262
5624293a
JB
162632003-04-09 Jim Blandy <jimb@redhat.com>
16264
16265 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16266 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16267 after an inferior function call, report the failure, but allow the
16268 test to continue.
16269
f1f02ee4
SC
162702003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16271
16272 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16273 with -DPROTOTYPES.
16274
6eb79af0
SC
162752003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16276
16277 * gdb.base/break.exp: Revert last patch.
16278
8dfb4cf0
SC
162792003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16280
16281 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16282 with -DPROTOTYPES.
16283
ed4c619a
AC
162842003-04-02 Andrew Cagney <cagney@redhat.com>
16285
16286 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16287 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16288 matching directories by the name breakpoint.
16289 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16290 Make "continue to marker1" consistent.
16291 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16292 message consistent.
16293 * lib/gdb.exp: Put "the program is no longer running", and "the
16294 program exited" in parenthesis.
16295 * lib/mi-support.exp: Ditto.
d63a86f8 16296
4e35d5f0 162972003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 16298
4e35d5f0
BR
16299 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16300
71900fe8
AC
163012003-03-29 Andrew Cagney <cagney@redhat.com>
16302
16303 * gdb.base/sizeof.c (main): Print the value of '\377'.
16304 * gdb.base/sizeof.exp: Check the sign of '\377'.
16305
c0655a16
MC
163062003-03-27 Michael Chastain <mec@shout.net>
16307
16308 * gdb.base/gdb1090.exp: New file.
16309 * gdb.base/gdb1090.cc: New file.
16310
5b2a3989
JB
163112003-03-27 J. Brobecker <brobecker@gnat.com>
16312
16313 * gdb.gdb/observer.exp: New regression test.
16314
79876890
MC
163152003-03-27 Michael Chastain <mec@shout.net>
16316
16317 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16318 * gdb.base/ptype.exp: Likewise.
16319
6eac95e3
CV
163202003-03-27 Corinna Vinschen <vinschen@redhat.com>
16321
16322 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16323
e8c71839
MC
163242003-03-26 Michael Chastain <mec@shout.net>
16325
16326 * gdb.base/ptype.exp: Actually use some typedef'd types.
16327
71b10041
SC
163282003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16329
16330 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16331 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16332
2512cf80
CV
163332003-03-20 Corinna Vinschen <vinschen@redhat.com>
16334
16335 * gdb.base/default.exp: Fix regular expression.
16336
0d195a4f
CV
163372003-03-20 Corinna Vinschen <vinschen@redhat.com>
16338
16339 * gdb.base/args.exp: Fix regular expression.
16340
8a2dbca8
CV
163412003-03-20 Corinna Vinschen <vinschen@redhat.com>
16342
16343 * gdb.base/help.exp: Allow Win32 child process.
16344
bf028682
CV
163452003-03-20 Corinna Vinschen <vinschen@redhat.com>
16346
16347 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16348 when stepping out of main().
16349
182dbe85
CV
163502003-03-20 Corinna Vinschen <vinschen@redhat.com>
16351
16352 * gdb.base/default.exp: Check for win32 specific message when calling
16353 "run" without executable.
16354
d67a6ba5
CV
163552003-03-20 Corinna Vinschen <vinschen@redhat.com>
16356
16357 * gdb.base/args.exp: Expect .exe in output.
16358
a955b5bb
CV
163592003-03-20 Corinna Vinschen <vinschen@redhat.com>
16360
16361 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16362 Cygwin native.
16363
bf6bad4b
AC
163642003-03-17 Andrew Cagney <cagney@redhat.com>
16365
16366 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16367 vector registes.
16368 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16369 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16370
293e9a31
DC
163712003-03-17 David Carlton <carlton@math.stanford.edu>
16372
16373 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16374 test, for PR breakpoints/38.
16375 Call test_watchpoint_and_breakpoint.
16376 * gdb.base/watchpoint.c (func3): New function.
16377 (main): Call func3.
16378
5330f2db
DC
163792003-03-04 David Carlton <carlton@math.stanford.edu>
16380
16381 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16382 Garply<Garply<char> >:: garply".
16383 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16384 with respect to PR c++/1111; note also PR c++/1113.
16385 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16386 respect to PR c++/1062.
16387 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16388
6ece72da
DC
163892003-03-03 David Carlton <carlton@math.stanford.edu>
16390
16391 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16392 with respect to PR c++/57.
16393 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16394 c++/826.
16395 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16396 respect to PR c++/57.
16397
85ca1584
DC
163982003-03-03 David Carlton <carlton@math.stanford.edu>
16399
16400 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16401 respect to PR c++/33 into FAILs.
16402
98e9c5b8
MC
164032003-03-03 Michael Chastain <mec@shout.net>
16404
7bedbf27
MC
16405 * configure.in: Update copyright years.
16406
164072003-03-03 Michael Chastain <mec@shout.net>
16408
16409 * Makefile.in: Update copyright years.
98e9c5b8 16410
f683e100
DC
164112003-02-28 David Carlton <carlton@math.stanford.edu>
16412
16413 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16414 print class instead of struct and/or superfluous protection
16415 specifiers, as long as the resulting output is equivalent to the
16416 source code.
16417 Delete FIXME from end of messages on tests that don't need
16418 fixing.
16419
a9e0cf2c
DC
164202003-02-28 David Carlton <carlton@math.stanford.edu>
16421
16422 * gdb.c++/templates.exp (do_tests): Allow const in the two
16423 Foo<volatile char *>::foo tests.
16424
e8d359df
MS
164252003-02-27 Michael Snyder <msnyder@redhat.com>
16426
d63a86f8 16427 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
16428 will be consistant.
16429
0b71dc91
DC
164302003-02-26 David Carlton <carlton@math.stanford.edu>
16431
16432 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16433 char *>::foo" test with respect to PR c++/33. Create a new test
16434 which is identical to that one except that it doesn't put the
16435 space between the "char" and the "*"; KFAIL it, too.
16436
dd14ab43
DC
164372003-02-26 David Carlton <carlton@math.stanford.edu>
16438
16439 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16440 template types into either PASSes or KFAILs (corresponding to PR
16441 c++/57). Tweak indentation. Update copyright.
16442
1146c7f1
SC
164432003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16444
16445 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16446
74641dfb
MC
164472003-02-13 Michael Chastain <mec@shout.net>
16448
16449 * gdb.base/exprs.exp: Remove i960 remnants.
16450 * gdb.base/funcargs.exp: Likewise.
16451 * gdb.base/list.exp: Likewise.
16452 * gdb.base/ptype.exp: Likewise.
16453
559cd2d0
DC
164542003-02-14 David Carlton <carlton@math.stanford.edu>
16455
16456 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16457 pEe->D::vg()" from XFAIL to KFAIL.
16458
c4f90d87
JM
164592003-02-13 Jason Molenda (jmolenda@apple.com)
16460
16461 * gdb.base/maint.exp: Update maint print statistics regexp to include
16462 new entries.
16463
cbc4d97c
MC
164642003-02-13 Michael Chastain <mec@shout.net>
16465
16466 * gdb.c++/inherit.exp: Remove call to get_debug_format.
16467
40f235b7
MC
164682003-02-12 Michael Chastain <mec@shout.net>
16469
16470 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16471 * gdb.c++/inherit.exp: Likewise.
16472 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16473 * gdb.c++/templates.exp: Likewise.
16474 * gdb.c++/virtfunc.exp: Likewise.
16475
c56716b0
JM
164762003-02-06 Jason Molenda (jason-cl@molenda.com)
16477
16478 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16479 why the code is written that way.
16480
070afcf8
MC
164812003-02-05 Michael Chastain <mec@shout.net>
16482
16483 * gdb.base/dump.exp: Add missing copyright line.
16484
5d0331e5
JM
164852003-02-05 Jason Molenda (jason-cl@molenda.com)
16486
f7ae6d3e 16487 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
16488 at the beginning so the breakpoint doesn't get set on the loop.
16489
92851186
MC
164902003-02-05 Michael Chastain <mec@shout.net>
16491
16492 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16493 output for configurations with gcc 2.95.3.
16494
cbf1e085
AC
164952003-02-05 Keith Seitz <keiths@redhat.com>
16496 Andrew Cagney <ac131313@redhat.com>
16497
16498 * gdb.mi/mi-cli.exp: New file.
d63a86f8 16499
29518e1e
MC
165002003-02-04 Michael Chastain <mec@shout.net>
16501
16502 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16503 Call perror and then continue.
16504
5af1d5f3
MC
165052003-02-03 Michael Chastain <mec@shout.net>
16506
16507 * gdb.c++/pr-1023.cc: New file.
16508 * gdb.c++/pr-1023.exp: New file.
16509
6b549786
JB
165102003-02-05 Jim Blandy <jimb@redhat.com>
16511
16512 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16513 it's local to foobar. Check for it there, and check that it's not
16514 present in main.
16515 * gdb.c++/local.cc (marker2): New function.
16516 (foobar): Call marker1.
16517 (main): Call marker2 instead of marker1.
16518
67f16606
AC
165192003-02-04 Andrew Cagney <ac131313@redhat.com>
16520
16521 * gdb.disasm/mn10200.exp: Obsolete file.
16522 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16523 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16524 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16525
1c5cb38e
DC
165262003-02-04 David Carlton <carlton@math.stanford.edu>
16527
16528 * gdb.c++/overload.exp: Test intToChar(1).
16529 * gdb.c++/overload.cc (intToChar): New.
16530 (main): Call intToChar.
16531
d1fe6965
DC
165322003-02-03 David Carlton <carlton@math.stanford.edu>
16533
16534 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16535 'might_kfail' arg.
16536 KFAIL some of the continue_to_bp_overloaded calls, according to
16537 PR c++/1025.
16538
9ba61c5d
MC
165392003-02-01 Michael Chastain <mec@shout.net>
16540
16541 * gdb.base/advance.c (marker1): New marker function.
16542 * gdb.base/advance.exp: When the 'advance' command lands on the
16543 return breakpoint, it can legitimately stop on either the
16544 current line or the next line. Accommodate both outcomes.
16545 * gdb.base/until.exp: Likewise.
16546
e7494ffb
AC
165472003-02-02 Andrew Cagney <ac131313@redhat.com>
16548
16549 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16550 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16551 now a list, not a tuple.
16552 * gdb.mi/mi-var-display.exp: Ditto.
16553 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 16554
075559bc
AC
165552003-02-01 Andrew Cagney <ac131313@redhat.com>
16556
16557 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16558 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16559 stack backtraces.
16560 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 16561
2bd4c7b1
MK
165622003-02-01 Mark Kettenis <kettenis@gnu.org>
16563
16564 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16565 gdb.mi/mi1-pthreads.exp: Return instead of calling
16566 gdb_suppress_entire_file.
16567
eabd8992
MS
165682003-02-01 Mark Salter <msalter@redhat.com>
16569
16570 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16571
71469e2f
MS
165722003-01-31 Mark Salter <msalter@redhat.com>
16573
16574 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16575 Support empty arg.
16576
38a94d44
MC
165772003-01-30 Michael Chastain <mec@shout.net>
16578
16579 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16580 This was a workaround for a UTF-8 bug in readline 4.3. The bug
16581 has been fixed in gdb/readline on 2003-01-09.
16582
19ea9e73
MS
165832003-01-29 Michael Snyder <msnyder@redhat.com>
16584
e8d359df
MS
16585 * gdb.base/maint.exp: Allow for leading underscore in symbol.
16586 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
16587 * gdb.base/args.exp: Skip if target does not support args passing.
16588
2307bd6a
DJ
165892003-01-22 Daniel Jacobowitz <drow@mvista.com>
16590
19ea9e73 16591 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
16592 gdb_test. Accept a list of expect arguments as the third
16593 parameter.
16594 (gdb_test): Use it.
16595
f2dd3617
EZ
165962003-01-20 Elena Zannoni <ezannoni@redhat.com>
16597
16598 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16599 allow for different test tree configurations. Update some
16600 tescases accordingly.
16601 * gdb.arch/altivec-regs.exp: Ditto.
16602 * gdb.asm/asm-source.exp: Ditto.
16603 * gdb.base/advance.exp: Ditto.
16604 * gdb.base/display.exp: Ditto.
d63a86f8 16605 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
16606 * gdb.base/mips_pro.exp: Ditto.
16607 * gdb.base/overlays.exp: Ditto.
16608 * gdb.base/relocate.exp: Ditto.
16609 * gdb.base/setshow.exp: Ditto.
16610 * gdb.base/step-line.exp: Ditto.
16611 * gdb.base/step-test.exp: Ditto.
16612 * gdb.base/until.exp: Ditto.
16613 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16614
c71cdefd
DC
166152003-01-17 David Carlton <carlton@math.stanford.edu>
16616
16617 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16618 corresponding to PR c++/945.
16619 Update copyright.
16620
fdba05d7
DC
166212003-01-17 David Carlton <carlton@math.stanford.edu>
16622
16623 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16624 corresponding to PR c++/68.
16625
166262003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
16627
16628 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16629 (test_paddr_hairy_functions): Call print_addr_2_kfail for
16630 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
16631
c362c33a
EZ
166322003-01-15 Elena Zannoni <ezannoni@redhat.com>
16633
0fbc361c
EZ
16634 * gdb.base/break.exp: Fix change of default location, because of
16635 removal of until tests.
16636 * gdb.base/help.exp: Update test for new 'until' help message.
16637 Add test for help on 'advance'.
a9c64011 16638 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 16639
dabf8a35
MK
166402003-01-15 Mark Kettenis <kettenis@gnu.org>
16641
16642 * gdb.base/default.exp: Adapt "info float" test for recent changes
16643 to that command. Add test for "info vector".
16644 * gdb.base/float.exp: New file. Add test for "info float" that
16645 resembles the old test in gdb.base/default.exp.
16646
a1769aca
DC
166472003-01-15 David Carlton <carlton@math.stanford.edu>
16648
16649 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16650
82025e13
EZ
166512003-01-15 Elena Zannoni <ezannoni@redhat.com>
16652
16653 * gdb.base/break.exp: Move the tests of until command from here...
16654 * gdb.base/until.exp: ... to here. New file. Add other tests.
16655 * gdb.base/advance.c: New file.
16656 * gdb.base/advance.exp: New file.
16657
8f9ab801
EZ
166582003-01-14 Elena Zannoni <ezannoni@redhat.com>
16659
a9c64011
AS
16660 * gdb.base/args.c: New file.
16661 * gdb.base/args.exp: New file.
8f9ab801 16662
9ae66589
DJ
166632003-01-14 Daniel Jacobowitz <drow@mvista.com>
16664
16665 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16666
8d77e5c3
DJ
166672003-01-14 Daniel Jacobowitz <drow@mvista.com>
16668
16669 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16670
12d2f0a1
DJ
166712003-01-14 Daniel Jacobowitz <drow@mvista.com>
16672
16673 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
16674 dates.
16675
6ca37014
DJ
166762003-01-13 Daniel Jacobowitz <drow@mvista.com>
16677
16678 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16679
b0023472
DJ
166802003-01-13 Daniel Jacobowitz <drow@mvista.com>
16681
16682 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16683 (ptype &*"foo").
16684 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16685
607fbc54 166862003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
16687
16688 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16689 * gdb.mi/mi1-console.exp: Likewise.
16690
607fbc54 166912003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
16692
16693 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16694 * gdb.mi/mi1-console.exp: Likewise.
16695
a1fb14a2
DJ
166962003-01-13 Daniel Jacobowitz <drow@mvista.com>
16697
16698 * gdb.c++/overload.exp: Remove some fixed XFAILs.
16699
c4cf40b7
DJ
167002003-01-09 Daniel Jacobowitz <drow@mvista.com>
16701
16702 * gdb.base/detach.exp: New test.
16703
696d5a5b
DJ
167042003-01-09 Daniel Jacobowitz <drow@mvista.com>
16705
16706 * Makefile.in (ALL_SUBDIRS): New variable.
16707 (subdirs, clean, distclean): Use it.
16708 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
16709 regenerating Makefile, since it is generated from the top level.
16710 * gdb.asm/Makefile.in: Likewise.
16711 * gdb.base/Makefile.in: Likewise.
16712 * gdb.c++/Makefile.in: Likewise.
16713 * gdb.disasm/Makefile.in: Likewise.
16714 * gdb.java/Makefile.in: Likewise.
16715 * gdb.mi/Makefile.in: Likewise.
16716 * gdb.threads/Makefile.in: Likewise.
16717 * gdb.trace/Makefile.in: Likewise.
16718
754533e4
DC
167192003-01-09 David Carlton <carlton@math.stanford.edu>
16720
16721 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16722 Add copyright year 2003.
16723
d8b3e9ee
MC
167242003-01-06 Michael Chastain <mec@shout.net>
16725
16726 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16727 When selecting a thread, 'line' and 'file' are optional.
16728 * gdb.mi/mi1-pthreads.exp: Likewise.
16729
8e9e0fe6
AS
167302003-01-06 Andreas Schwab <schwab@suse.de>
16731
16732 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16733 failures.
16734
b5ab8ff3
DJ
167352003-01-04 Daniel Jacobowitz <drow@mvista.com>
16736
16737 Fix PR gdb/844
16738 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16739 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16740
16741 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
16742 instead of calling gdb_suppress_entire_file.
16743 * gdb.threads/print-threads.exp: Likewise.
16744 * gdb.threads/schedlock.exp: Likewise.
16745
16746 * gdb.threads/killed.exp: Return instead of calling
16747 gdb_suppress_entire_file.
16748 * gdb.threads/linux-dp.exp: Likewise.
16749 * gdb.threads/pthreads.exp: Likewise.
16750
1e698235
DJ
167512003-01-04 Daniel Jacobowitz <drow@mvista.com>
16752
16753 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16754 stabs.
16755 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16756 * gdb.base/whatis.exp: Always allow (void) after function names.
16757
147ff08c
DJ
167582003-01-04 Daniel Jacobowitz <drow@mvista.com>
16759
16760 * gdb.c++/casts.exp: Correct regexp.
16761
dc62bfc2
MK
167622003-01-04 Mark Kettenis <kettenis@gnu.org>
16763
16764 * configure.in: Call AC_CONFIG_HEADER. Don't call
16765 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16766 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
16767 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
16768 aforementioned directories in the AC_OUPUT call.
16769 * config.hin: New file.
16770 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16771 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16772 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16773 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16774 pass -I$objdir instead of -I$objdir/$subdir in compilation.
16775 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16776 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16777 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16778 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16779 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16780 gdb.threads/configure.in, gdb.threads/configure,
16781 gdb.threads/config.in, gdb.trace/configure.in,
16782 gdb.trace/configure: Removed.
16783
77afa639
MC
167842003-01-03 Michael Chastain <mec@shout.net>
16785
16786 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16787 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16788
7634bb6e
DJ
167892003-01-03 Daniel Jacobowitz <drow@mvista.com>
16790
16791 * gdb.base/store.exp: Fix regular expressions.
16792
b39c905e
MK
167932002-12-28 Mark Kettenis <kettenis@gnu.org>
16794
16795 * configure.in: Rewrite.
16796 * configure: Regenerated.
16797
0a8551dd
DC
167982003-01-03 David Carlton <carlton@math.stanford.edu>
16799
16800 * gdb.base/psymtab.exp: New file.
16801 * gdb.base/psymtab1.c: Ditto.
16802 * gdb.base/psymtab2.c: Ditto.
16803
c60b7188
AF
168042002-12-23 Adam Fedor <fedor@gnu.org>
16805
16806 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16807
ee73db83
DC
168082002-12-23 David Carlton <carlton@math.stanford.edu>
16809
16810 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16811 and current_directory initialization.
16812
d6c1774e
JB
168132002-12-22 Jim Blandy <jimb@redhat.com>
16814
f0a847b8
JB
16815 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16816 rather than as part of the output file name.
16817
d6c1774e
JB
16818 * gdb.base/attach.exp: There's no need to copy the test program to
16819 /tmp; that was only ever necessary on HP/UX, and this test is
16820 entirely disabled there anyway.
16821
f0708dbb
JB
168222002-12-21 Jim Blandy <jimb@redhat.com>
16823
4c2acfea
JB
16824 * gdb.c++/psmang.exp: Doc fix.
16825
f0708dbb
JB
16826 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16827 test.
16828
9579e000
DC
168292002-12-20 David Carlton <carlton@math.stanford.edu>
16830
16831 * gdb.c++/annota2.exp: KFAIL annotate-quit.
16832
d1810171
MC
168332002-12-18 Michael Chastain <mec@shout.net>
16834
16835 * gdb.c++/annota2.exp: Add copyright year 2002.
16836
76565097
DC
168372002-12-17 David Carlton <carlton@math.stanford.edu>
16838
16839 * gdb.c++/try_catch.cc: Add marker comments.
16840 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16841 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16842 * gdb.c++/m-static.cc: Ditto.
16843 * gdb.c++/m-static1.cc: Ditto.
16844 * gdb.c++/try_catch.cc: Ditto.
16845
da81390b
JJ
168462002-12-16 Jeff Johnston <jjohnstn@redhat.com>
16847
16848 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16849 to see whether we are using the new -environment-directory
16850 command which resets via -r or the old version of the command
16851 which may prompt the user. Part of fix for gdb/741.
16852
b304d130
AC
168532002-12-13 Andrew Cagney <ac131313@redhat.com>
16854
16855 * gdb.fortran/types.exp: Update obsolete comment.
16856 * gdb.fortran/exprs.exp: Ditto.
16857 * lib/gdb.exp: Delete obsolete code.
16858 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16859 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16860 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16861 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16862 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16863 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16864 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16865 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16866 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16867 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16868 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16869 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16870 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16871 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16872 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16873 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16874 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16875 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16876 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16877 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16878 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16879 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16880 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16881 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16882 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16883 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16884 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16885 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16886 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16887 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16888 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16889 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16890 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16891 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16892 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16893 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16894 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16895
a23b6e6a
DC
168962002-12-11 David Carlton <carlton@math.stanford.edu>
16897
16898 * gdb.c++/m-data.exp: Add test for members that shadow global
16899 variables: see PR gdb/804.
16900 * gdb.c++/m-data.cc: Ditto.
16901
6604731b
DJ
169022002-12-10 Daniel Jacobowitz <drow@mvista.com>
16903
16904 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16905
de46ecd7
DC
169062002-12-06 David Carlton <carlton@math.stanford.edu>
16907
16908 * gdb.base/store.c: Don't declare functions static.
16909
27e829d0
AC
169102002-12-04 Andrew Cagney <ac131313@redhat.com>
16911
16912 * gdb.base/store.exp, gdb.base/store.c: New files.
16913
92806416
DJ
169142002-12-03 Daniel Jacobowitz <drow@mvista.com>
16915
16916 * gdb.base/selftest.exp: Update for current gdb.
16917
3bcbaac5
DJ
169182002-12-03 Daniel Jacobowitz <drow@mvista.com>
16919
16920 * gdb.base/maint.exp: Only dump symbols from one source file
16921 or objfile.
16922
f4f00b1f
DJ
169232002-12-03 Daniel Jacobowitz <drow@mvista.com>
16924
16925 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16926 function call.
16927
f1c8a949
JB
169282002-11-25 Jim Blandy <jimb@redhat.com>
16929
16930 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16931 function appearing in error message.
16932
9e297a97
DJ
169332002-11-21 Daniel Jacobowitz <drow@mvista.com>
16934
16935 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16936
1f312e79
JJ
169372002-11-08 Jeff Johnston <jjohnstn@redhat.com>
16938
d63a86f8
RM
16939 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16940 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
16941 should be in mi console format. This is part of fix for PR gdb/604.
16942
83c31e7d
FN
169432002-09-18 Fernando Nasser <fnasser@redhat.com>
16944
16945 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16946 which explicitly prints the zero offset as "+0".
16947
322b3f65
DJ
169482002-10-22 Daniel Jacobowitz <drow@mvista.com>
16949
16950 * gdb.threads/schedlock.c (args): Make unsigned.
16951
169522002-10-21 Daniel Jacobowitz <drow@mvista.com>
16953
16954 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
16955 numbers. Allow "foo2|selected stack frame".
16956 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16957 * gdb.asm/asmsrc2.s: Likewise.
16958 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
16959 comments.
16960 * gdb.asm/mips.inc: New file.
16961
5e2fe5b8
AF
169622002-10-18 Adam Fedor <fedor@gnu.org>
16963
16964 * gdb.base/default.exp: Update expected output to include 'ObjC'.
16965 * gdb.base/help.exp: Likewise.
16966
abe1a5d0
KB
169672002-10-17 Kevin Buettner <kevinb@redhat.com>
16968
16969 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16970 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16971
10abb1d4
JB
169722002-10-02 Jim Blandy <jimb@redhat.com>
16973
16974 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16975
1f609b42
AC
169762002-10-01 Andrew Cagney <ac131313@redhat.com>
16977
16978 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16979 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16980 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16981 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16982 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16983 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16984 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16985
0aee02e4
AC
169862002-09-29 Andrew Cagney <ac131313@redhat.com>
16987
16988 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16989 * mi0-disassemble.exp, mi0-eval.exp: Delete.
16990 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16991 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16992 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16993 * mi0-var-block.exp, mi0-var-child.exp: Delete.
16994 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 16995
6fde09ad
KB
169962002-09-27 Kevin Buettner <kevinb@redhat.com>
16997
16998 * gdb.base/annota1.exp (info break): Make directory components of
16999 path optional since not all compilers emit this debug information.
17000
889bf7c5
PA
17001 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17002 step ends up stepping out of the function instead of stopping on
17003 the epilogue.
6fde09ad 17004
9e8aab75
KS
170052002-09-26 Keith Seitz <keiths@redhat.com>
17006
17007 * lib/insight-support.exp (gdbtk_start): Figure out where
17008 the insight executable is based on where gdb is. Use this
17009 executable to start insight instead of gdb.
17010
e36180d7
AC
170112002-09-25 Andrew Cagney <cagney@redhat.com>
17012
17013 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17014
9dd34b2b
AC
170152002-09-24 Andrew Cagney <ac131313@redhat.com>
17016
17017 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17018 test_isolated_complaints.
17019 (test_empty_complaint): New function.
17020 (test_empty_complaints): New function. Check no output when no
17021 complaints.
d63a86f8 17022
dea97812
KB
170232002-09-19 Jim Blandy <jimb@redhat.com>
17024
a9c64011 17025 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17026
54951bd7
AC
170272002-09-19 Andrew Cagney <ac131313@redhat.com>
17028
17029 * gdb.gdb/complaints.exp: New file.
17030
dec43320
AC
170312002-09-18 Andrew Cagney <ac131313@redhat.com>
17032
17033 * gdb.base/maint.exp: Check `help maint internal-warning'.
17034
e70d6e3f
DC
170352002-09-18 David Carlton <carlton@math.stanford.edu>
17036
17037 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17038 numbers, and replace them by a single breakpoint after the
17039 constructors are all finished.
17040 Add test 4.
17041 * gdb.c++/m-static.cc: Add test 4.
17042 * gdb.c++/m-static.h: New file.
17043 * gdb.c++/m-static1.cc: New file.
17044
17045 * gdb.c++/printmethod.exp: New file.
17046 * gdb.c++/printmethod.cc: New file.
17047
17048 * gdb.c++/pr-574.exp: New file.
17049 * gdb.c++/pr-574.cc: New file.
17050
afb5c968
CV
170512002-09-18 Corinna Vinschen <vinschen@redhat.com>
17052
17053 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17054 embedded targets which never actually exit.
17055
31e45dee
FN
170562002-09-18 Fernando Nasser <fnasser@redhat.com>
17057
17058 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17059 "don't step after run" as unresolved or unsupported, instead of xfail.
17060
a283c5a1
CV
170612002-09-18 Corinna Vinschen <vinschen@redhat.com>
17062
17063 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17064 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17065 Add newline to expected string in "step out of main (status wrapper)"
17066 case.
17067
11350d2a
CV
170682002-09-18 Corinna Vinschen <vinschen@redhat.com>
17069
17070 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17071 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17072
0deec7d6
TT
170732002-09-17 Tom Tromey <tromey@redhat.com>
17074
17075 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17076 \000, not \0, in double-quoted string.
17077
b2b4a1b5
CV
170782002-09-14 Corinna Vinschen <vinschen@redhat.com>
17079
c9d37158 17080 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17081 string after running the commands execution on breakpoint tests.
17082
1c56143a
CV
170832002-09-13 Corinna Vinschen <vinschen@redhat.com>
17084
17085 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17086
37f8da45
JB
170872002-09-12 Joel Brobecker <brobecker@gnat.com>
17088
17089 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17090
08b468e0
KS
170912002-09-10 Keith Seitz <keiths@redhat.com>
17092
17093 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17094 runto proc.
17095 (mi_run_to_main): Use mi_runto.
17096 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17097
dc360f58
KS
170982002-09-10 Keith Seitz <keiths@redhat.com>
17099
17100 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17101 regexp for stopping at main. Could have multiple event notifications.
17102 Don't assume that main was declared with no parameters.
17103 (mi_next): Use mi_step_to.
17104 (mi_step): Use mi_next_to.
17105
ce3abcfb
CV
171062002-09-09 Corinna Vinschen <vinschen@redhat.com>
17107
17108 * gdb.base/default.exp: Fix expected string in `info float' test.
17109
d1f5b980
BE
171102002-09-09 Ben Elliston <bje@redhat.com>
17111
17112 * config/mips.exp: Update comments.
17113 * config/mips-idt.exp: Likewise.
17114 * config/nind.exp: Likewise.
17115 * config/slite.exp: Likewise.
17116 * config/sparclet.exp: Likewise.
17117 * config/udi.exp: Likewise.
17118 * config/vx.exp: Likewise.
17119 * config/vxworks29k.exp: Likewise.
17120
2f71430b
JB
171212002-09-05 Jim Blandy <jimb@redhat.com>
17122
17123 * gdb.threads/killed.exp: Fix test failure message.
17124
7ddebc7e
KS
171252002-09-04 Keith Seitz <keiths@redhat.com>
17126
17127 * lib/mi-support.exp: Update copyright.
17128 (mi_gdb_test): Increase the priority of the expected pattern
17129 so that it matches gdb_test.
17130
0ae67eb3
KS
171312002-09-03 Keith Seitz <keiths@redhat.com>
17132
17133 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17134 Use integer comparison instead of string comparison for testing
17135 whether binary was built.
17136
38fc42c8
JB
171372002-09-03 Jim Blandy <jimb@redhat.com>
17138
17139 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17140
b6ff0e81
JB
171412002-08-29 Jim Blandy <jimb@redhat.com>
17142
17143 * gdb.threads/pthreads.exp: Move the portable thread compilation
17144 code into a function in lib/gdb.exp, and call that from here.
17145 * lib/gdb.exp (gdb_compile_pthreads): New function.
17146
07c98896
KS
171472002-08-29 Keith Seitz <keiths@redhat.com>
17148
17149 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17150 expect_out so that callers can get at it.
17151
0312286c
DJ
171522002-08-23 Daniel Jacobowitz <drow@mvista.com>
17153
17154 * gdb.threads/print-threads.c: New file.
17155 * gdb.threads/print-threads.exp: New file.
17156 * gdb.threads/schedlock.c: New file.
17157 * gdb.threads/schedlock.exp: New file.
17158
dd039bc4
EZ
171592002-08-22 Elena Zannoni <ezannoni@redhat.com>
17160
a9c64011
AS
17161 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17162 not altivec.c.
dd039bc4 17163
1f36144c
MK
171642002-08-17 Mark Kettenis <kettenis@gnu.org>
17165
17166 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17167 targets. The problem should be fixed now.
17168
16057ec7 171692002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17170
17171 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17172 2002-07-24 change that removes final dots from error messages.
17173
3c1499ad
TT
171742002-08-13 Tom Tromey <tromey@redhat.com>
17175
17176 * gdb.base/readline.exp: New file.
17177
a20ce2c3
AC
171782002-08-01 Andrew Cagney <ac131313@redhat.com>
17179
17180 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17181 supress message.
17182
db034ac5
AC
171832002-08-01 Andrew Cagney <cagney@redhat.com>
17184
17185 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17186 CHILL_FOR_TARGET and CHILL_LIB.
17187 * configure.in (configdirs): Remove gdb.chill.
17188 * configure: Regenerate.
17189 * lib/gdb.exp: Obsolete references to chill.
17190 * gdb.fortran/types.exp: Ditto.
17191 * gdb.fortran/exprs.exp: Ditto.
17192
3e000b18
KB
171932002-07-30 Kevin Buettner <kevinb@redhat.com>
17194
17195 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17196 set Irix-specific compile and link flags.
17197
28f4966b
KB
171982002-07-29 Kevin Buettner <kevinb@redhat.com>
17199
17200 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17201 source files. The ``-o'' option doesn't work with the ``-E'' option
17202 when using the Irix compiler.
17203
46c0d5a6
DJ
172042002-07-19 Daniel Jacobowitz <drow@mvista.com>
17205
17206 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17207 Improve support for reusing an exec file. Copy exec file
17208 to target, and run gdbserver on the target instead of on the host.
17209
eecf4bed
JB
172102002-07-18 Jim Blandy <jimb@redhat.com>
17211
0f815cdf
JB
17212 * gdb.base/ending-run.exp: Don't expect to see the program end in
17213 some orderly fashion when we're running on a real stand-alone
17214 board.
17215
eecf4bed
JB
17216 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17217 targets that don't support interrupts.
17218
52d309e4
JB
172192002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17220
17221 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17222 systems.
17223 Move comments in expect statements to inside the actions, so that they
17224 don't get matched against.
17225
ff683d9e
MK
172262002-07-10 Mark Kettenis <kettenis@gnu.org>
17227
17228 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17229 function when asleep" test.
17230
b5356753
AC
172312002-07-10 Andrew Cagney <ac131313@redhat.com>
17232
17233 * gdb.base/page.exp: Rewrite to handle problems with very long
17234 `info set' output. Update copyright.
17235
6aa4d13a
AC
172362002-06-26 Andrew Cagney <ac131313@redhat.com>
17237
17238 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17239 gdb.threads-hp.
17240 * gdb.hp/configure: Regenerate.
17241 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17242 * gdb.hp/gdb.threads-hp/configure: Delete file.
17243 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17244
8cf8c2b8
AC
172452002-06-22 Andrew Cagney <ac131313@redhat.com>
17246
17247 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17248 setlocale, bindtextdomain and textdomain.
17249
6827a8f8
JB
172502002-06-11 Jim Blandy <jimb@redhat.com>
17251
919d772c
JB
17252 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17253 preprocessor macro information is present.
17254
6827a8f8
JB
17255 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17256 tests.
17257
c15b0d21
MS
172582002-06-06 Michael Snyder <msnyder@redhat.com>
17259
c5984d70
MS
17260 * gdb.base/overlays.exp: Record addresses of overlay
17261 functions in TCL variables rather than in GDB variables,
17262 to avoid having GDB convert them to pointers (with loss
17263 of information).
17264
d63a86f8 17265 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17266 default linker script changes.
c15b0d21
MS
17267 * gdb.base/long_long.exp: Add check for sizeof (long double).
17268
be26fe0d
ML
172692002-06-06 Michal Ludvig <mludvig@suse.cz>
17270
17271 * gdb.asm/asm-source.exp: Add x86-64 target.
17272 * gdb.asm/x86_64.inc: New.
d63a86f8 17273
258093ca 172742002-05-30 Michael Chastain <mec@shout.net>
258093ca 17275
4b3153f1 17276 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17277 * gdb.c++/m-static.cc: New file.
17278 * gdb.c++/m-static.exp: New file.
17279
241264c6
MS
172802002-05-28 Michael Snyder <msnyder@redhat.com>
17281
17282 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17283 precision.
17284
9bba8c8f 172852002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 17286
4b3153f1 17287 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
17288 * gdb.c++/m-data.cc: New file.
17289 * gdb.c++/m-data.exp: New file.
17290
172912002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 17292
4b3153f1 17293 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 17294 * gdb.c++/try_catch.cc: New file.
d63a86f8 17295 * gdb.c++/try_catch.exp: New file.
9bba8c8f 17296
def1b996
MC
172972002-05-27 Michael Chastain <mec@shout.net>
17298
17299 * gdb.c++/local.exp: Accept more nested types in output.
17300
522ba268
MC
173012002-05-26 Michael Chastain <mec@shout.net>
17302
17303 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17304
277254ba
MS
173052002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17306
17307 * lib/gdb.exp (gdb_wrapper_init): Just because
17308 gdb_wrapper_file exists, this does not mean that the file
17309 should not be rebuilt. That is what gdb_wrapper_initialized
17310 is for.
17311 (default_gdb_init): Reset gdb_wrapper_initialized.
17312
b61a8733
MS
173132002-05-23 Michael Snyder <msnyder@redhat.com>
17314
d63a86f8 17315 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
17316 the precision of the floating point test results.
17317 * gdb.base/call-rt-st.exp: Ditto.
17318
b61a8733
MS
17319 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17320 * gdb.base/call-rt-st.exp: Ditto.
17321
56f6e910
MC
173222002-05-19 Michael Chastain <mec@shout.net>
17323
17324 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17325
ad0b0016
EZ
173262002-05-19 Elena Zannoni <ezannoni@redhat.com>
17327
a9c64011
AS
17328 * configure.in (configdirs): Add gdb.arch.
17329 * configure: Regenerate.
ad0b0016 17330
f617d2b6
JB
173312002-05-17 Jim Blandy <jimb@redhat.com>
17332
17333 * gdb.base/completion.exp: Recognize the more detailed error
17334 messages produced by the macro expander's lexical analyzer.
17335
eac2a696
EZ
173362002-05-14 Elena Zannoni <ezannoni@redhat.com>
17337
a9c64011
AS
17338 * gdb.arch/altivec-abi.c: New file.
17339 * gdb.arch/altivec-abi.exp: New file.
17340 * gdb.arch/altivec-regs.c: New file.
17341 * gdb.arch/altivec-regs.exp: New file.
eac2a696 17342
2fdde8f8
DJ
173432002-05-14 Daniel Jacobowitz <drow@mvista.com>
17344
17345 * gdb.base/maint.exp (maint print type): Update for new type
17346 structure.
d63a86f8 17347
e31f1a7c
EZ
173482002-05-14 Elena Zannoni <ezannoni@redhat.com>
17349
17350 * gdb.arch: New directory.
17351 * gdb.arch/configure.in: New file.
17352 * gdb.arch/configure: New file.
17353 * gdb.arch/Makefile.in: New file.
17354
db589741
CV
173552002-05-13 Corinna Vinschen <vinschen@redhat.com>
17356
17357 * gdb.asm/asm-source.exp: Add v850 as supported target.
17358 * gdb.asm/v850.inc: New file.
17359
8ce2a7dc
DJ
173602002-05-13 Daniel Jacobowitz <drow@mvista.com>
17361
17362 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17363
df763c7f
DJ
173642002-05-12 Daniel Jacobowitz <drow@mvista.com>
17365
17366 * gdb.base/break.exp: Check 'break "marker2"'.
17367
377daeed
MS
173682002-05-10 Michael Snyder <msnyder@redhat.com>
17369
17370 * gdb.base/long_long.exp: Fix typo.
17371
c4b7bc2b
JB
173722002-05-10 Jim Blandy <jimb@redhat.com>
17373
ecac9a4e
JB
17374 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17375 a bug.
17376
c4b7bc2b
JB
17377 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17378 Recognize more detailed error message produced by the macro
17379 expander's lexical analyzer.
17380 * lib/gdb.exp (test_print_reject): Same.
17381
e71019a1
MK
173822002-05-09 Mark Kettenis <kettenis@gnu.org>
17383
17384 * gdb.c++/method.exp: Fix typo.
17385
fedfc8e6
MS
173862002-05-08 Michael Snyder <msnyder@redhat.com>
17387
166a1957
MS
17388 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17389 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 17390 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
17391 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17392 Add iftarget clause for strongarm.
d63a86f8 17393
f1c47eb2
MS
173942002-05-06 Michael Snyder <msnyder@redhat.com>
17395
cb9a9d3e
MS
17396 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17397 (gdb_continue_to_end): Accept output from status wrapper.
17398 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17399 Clean up fail messages to match pass messages.
17400
f1c47eb2
MS
17401 Enable the "needs_status_wrapper" testsuite feature.
17402 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17403 (gdb_compile): Conditionally call gdb_wrapper_init.
17404 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17405 * gdb.c++/method.exp: Recognize output from status wrapper.
17406
6079c749
BE
174072002-05-06 Ben Elliston <bje@redhat.com>
17408From Graydon Hoare <graydon@redhat.com>
17409
17410 * config/sid.exp: Include support for "rawsid" protocol.
17411
188baff3
JB
174122002-05-03 Jim Blandy <jimb@redhat.com>
17413
17414 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17415 * gdb.c++/hang3.C: New file.
17416
b9c07f0f
AC
174172002-05-04 Andrew Cagney <ac131313@redhat.com>
17418
17419 * gdb.base/default.exp: Remove obsolete code.
17420 * gdb.c++/misc.exp: Ditto. Update copyright.
17421 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17422 * gdb.base/whatis.exp: Ditto. Update copyright.
17423 * gdb.base/scope.exp: Ditto. Update copyright.
17424 * gdb.base/ptype.exp: Ditto. Update copyright.
17425 * gdb.base/printcmds.exp: Ditto. Update copyright.
17426 * gdb.base/opaque.exp: Ditto. Update copyright.
17427 * gdb.base/list.exp: Ditto.
17428 * gdb.base/funcargs.exp: Ditto. Update copyright.
17429 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17430 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17431 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17432 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17433 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17434 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17435
5c7a0397
MS
174362002-05-02 Michael Snyder <msnyder@redhat.com>
17437
d6dcc264 17438 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
17439 * gdb.base/long_long.exp: Add xscale target.
17440 * gdb.base/default.exp: Add xscale target.
17441
eb7f1c48
JB
174422002-05-01 Jim Blandy <jimb@redhat.com>
17443
17444 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17445 gdb.c++/hang.exp: New test.
17446
a6befae8
FF
174472002-05-01 Fred Fish <fnf@redhat.com>
17448
17449 * gdb.base/completion.exp: Handle completions of "./Make" for
17450 more than one completion possibility, as is the case when we
17451 build and test in the source tree.
17452
0a310277
AG
174532002-04-29 Anthony Green <green@redhat.com>
17454
17455 * gdb.java/jmisc1.exp: New file.
17456 * gdb.java/jmisc2.exp: New file.
17457
6ff9af88
DJ
174582002-04-24 Daniel Jacobowitz <drow@mvista.com>
17459
17460 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17461
96b3d632
EZ
174622002-04-23 Elena Zannoni <ezannoni@redhat.com>
17463
17464 * gdb.base/help.exp: Change 'help status' to allow for target
17465 dependent output differences.
17466
5019bb54
MC
174672002-04-22 Michael Chastain <mec@shout.net>
17468
17469 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17470
a805a116
MC
174712002-04-22 Michael Chastain <mec@shout.net>
17472
17473 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17474
a1706bfd
DM
174752002-04-17 David S. Miller <davem@redhat.com>
17476
17477 * gdb.asm/sparc64.inc: New file.
17478 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17479
a73a20a2
EZ
174802002-04-19 Elena Zannoni <ezannoni@redhat.com>
17481
17482 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17483 instruction file directly into the build tree. Clean up at end of
17484 test.
17485
ba678339
DM
174862002-04-18 David S. Miller <davem@redhat.com>
17487
17488 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17489 handle 64-bit platforms correctly.
17490 * gdb.base/maint.exp: Likewise.
17491
b03399da
KB
174922002-04-18 Kevin Buettner <kevinb@redhat.com>
17493
17494 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17495 ``-fpic'' when compiling files comprising a shared library, but
17496 it does need additional linker flags in order to find shared
17497 libraries at run time.
17498
e2004992
KB
174992002-04-18 Kevin Buettner <kevinb@redhat.com>
17500
17501 * gdb.base/cvexpr.c (use): New function.
17502 (main): Invoke use() on all global variables to prevent
17503 some linkers from deleting these otherwise unused symbols.
17504
d8937120
MC
175052002-04-17 Michael Chastain <mec@shout.net>
17506From David S. Miller <davem@redhat.com>
17507
17508 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17509 handle 64-bit platforms correctly.
17510
ffd61a58
MS
175112002-04-12 Michael Snyder <msnyder@redhat.com>
17512From Jim Blandy <jimb@redhat.com>
a9c64011 17513 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
17514 script can handle this instead.
17515 * gdb.base/bar.c (barx): Same.
17516 * gdb.base/baz.c (bazx): Same.
17517 * gdb.base/grbx.c (grbxx): Same.
17518
17519 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17520 manager doesn't automatically unmap overlays unnecessarily.
17521
6b8426a6
MH
175222002-04-10 Martin M. Hunt <hunt@redhat.com>
17523
17524 * gdb.base/ending-run.exp: Fix pattern for Mips targets
17525 stepping out of main.
17526
34af4875
MC
175272002-04-09 Michael Chastain <mec@shout.net>
17528
17529 * gdb.c++/local.cc (main): Move call to marker1() inside nested
17530 scope so that the nested scope tests will make sense.
17531 * gdb.c++/local.exp: Write patterns that actually work with gcc
17532 (the HP patterns "were never known to work with gcc").
17533 Keep the old aCC patterns too.
17534
2d1676a0
DJ
175352002-04-09 Daniel Jacobowitz <drow@mvista.com>
17536
17537 * gdb.base/attach.exp: Correct target board test.
17538
3a63e3f9
MC
175392002-04-08 Michael Chastain <mec@shout.net>
17540
17541 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17542 in a const method. Add some xfail and fail cases for configurations
17543 that do not emit the "const ...".
17544
f18dabd2
MC
175452002-04-07 Michael Chastain <mec@shout.net>
17546
17547 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17548 Accept "A * const" and "const A * const" as type of "this".
17549 Fix spelling of getFunky throughout. Make messages uniform.
17550
0fcddd82
EZ
175512002-04-07 Elena Zannoni <ezannoni@redhat.com>
17552
a9c64011 17553 Work around for PR gdb/285:
0fcddd82
EZ
17554 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17555
16a8534a
EZ
175562002-04-07 Elena Zannoni <ezannoni@redhat.com>
17557
17558 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17559 instructions file at run time instead of configure time.
17560 Sometimes we run the test in a directory that is not the one we
17561 configured in.
17562 * gdb.asm/configure.in: Delete creation of symlink.
17563 * gdb.asm/configure: Regenerate.
17564
24181d81
JB
175652002-04-05 J. Brobecker <brobecker@gnat.com>
17566
17567 * gdb.gdb/xfullpath.exp: New test, to exercise the new
17568 xfullpath () function.
17569
7cdb7107
DJ
175702002-04-04 Daniel Jacobowitz <drow@mvista.com>
17571
17572 * gdb.asm/Makefile.in: Correct dependencies.
17573
17574 * gdb.asm/powerpc.inc: New file.
17575 * gdb.asm/asm-source.exp: Add PowerPC.
17576 * gdb.asm/configure.in: Likewise.
17577 * gdb.asm/configure: Regenerated.
17578
a7d17088
DJ
175792002-04-04 Daniel Jacobowitz <drow@mvista.com>
17580
17581 * gdb.base/relocate.exp: New file.
17582 * gdb.base/relocate.c: New file.
17583
cd721503
FF
175842002-04-04 Fred Fish <fnf@redhat.com>
17585
17586 * gdb.base/step-test.exp: Update comment regarding stopping in
17587 memcpy/bcopy calls inserted as part of the compiler runtime.
17588
b22ad7a7
MS
175892002-04-04 Michael Snyder <msnyder@redhat.com>
17590
17591 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17592
5f279fa6
DJ
175932002-04-03 Daniel Jacobowitz <drow@mvista.com>
17594
17595 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17596 (gdb_expect): Remove $notransfer hack.
17597
dd0fd3ce
DJ
175982002-04-02 Daniel Jacobowitz <drow@mvista.com>
17599
17600 * gdb.c++/classes.exp ("calling method for small class"): Match
17601 updated register output.
17602
1e50cda1
DJ
176032002-03-30 Daniel Jacobowitz <drow@mvista.com>
17604
17605 Fix PR gdb/452
17606 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17607 when finished. Make gdb_file_cmd send "exec-file" when
17608 appropriate.
17609
24015922
DJ
176102002-03-30 Daniel Jacobowitz <drow@mvista.com>
17611
17612 * gdb.base/attach.exp: Remove extra setup_xfail.
17613
dd7dfd64
MS
176142002-03-26 Michael Snyder <msnyder@redhat.com>
17615
17616 * gdb.base/default.exp: Add tests for dump, append, and restore.
17617 * gdb.base/help.exp: Add tests for dump, append, and restore.
17618 * gdb.base/dump.exp: New file, test dump, append and restore.
17619 * gdb.base/dump.c: New file.
17620
48b2f8d7
MS
176212002-03-27 Michael Snyder <msnyder@redhat.com>
17622
d63a86f8 17623 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
17624 clean-ups in help messages.
17625
05b4d525
FF
176262002-03-26 Fred Fish <fnf@redhat.com>
17627
17628 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17629 have debugging info for those functions and the compiler uses them
17630 internally to copy structs around.
17631
d7679631
FF
176322002-03-26 Fred Fish <fnf@redhat.com>
17633
17634 * gdb.base/list.exp: Revert the change made yesterday and add note
17635 about why we don't list the default lines for remote targets.
17636
523ac3f9
MS
176372002-03-25 Michael Snyder <msnyder@redhat.com>
17638
17639 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17640
754b2b8d
FF
176412002-03-25 Fred Fish <fnf@redhat.com>
17642
17643 * gdb.base/list.exp: This test works on remote targets so remove
17644 the short circuit for remote targets. Update copyright.
17645
33c3e192
FF
176462002-03-25 Fred Fish <fnf@redhat.com>
17647
17648 * gdb.base/attach.exp: Fix logic error that was suppressing this
17649 test for all non hppa*-*-hpux* targets, instead of the hp target.
17650 Move comments closer to the suppression point. Also now need to
17651 check that we are running natively.
17652
d43e73ee
MS
176532002-03-22 Michael Snyder <msnyder@redhat.com>
17654
882c8f02
MS
17655 * gdb.base/default.exp: Add test for gcore. Update copyright.
17656 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 17657
04c12f60
FF
176582002-03-06 Fred Fish <fnf@redhat.com>
17659
17660 * gdb.base/funcargs.c: Remove extraneous ';' character.
17661 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17662
b43df995
MC
176632002-03-04 Michael Chastain <mec@shout.net>
17664
17665 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17666 accommodate gcc v3 function signature.
17667 * gdb.mi/mi0-var-cmd-exp: Ditto.
17668
92362027
AC
176692002-02-24 Andrew Cagney <ac131313@redhat.com>
17670
17671 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17672 ``GNU/Linux'' or ``Linux kernel''
17673 * testsuite/gdb.threads/pthreads.c: Ditto.
17674
258ad32d
MC
176752002-02-24 Michael Chastain <mec@shout.net>
17676
17677 * gdb.threads/pthreads.c (thread1): Add a return statement.
17678 (thread2): Likewise.
17679 (foo): Likewise.
17680
04c3b3d4
MC
176812002-02-23 Michael Chastain <mec@shout.net>
17682
17683 * gdb.threads/linux-dp.c (philosopher): Add a return statement
17684 to placate gcc.
17685
5a2a0a20
MC
176862002-02-23 Michael Chastain <mec@shout.net>
17687
17688 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17689 test "ptype bint". The test passes on all my stabs configurations.
17690
a640f7fc
JB
176912002-02-21 Jim Blandy <jimb@redhat.com>
17692
27924826
JB
17693 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17694 filename at a time, and watch for the ones we want to see.
17695
a640f7fc
JB
17696 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17697 types of pointers to prototyped functions.
17698
edcc8c75
AC
176992002-02-20 Andrew Cagney <ac131313@redhat.com>
17700
17701 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
17702 signed, unsigned and straight char.
17703 (padding_char, padding_short, padding_int, padding_long,
17704 padding_long_long, padding_float, padding_double,
17705 padding_long_double): New global variables.
17706 (fill, fill_structs): New functions.
17707
17708 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
17709 for correctly sized writes. Update copyright.
17710 (get_valueof): New procedure.
17711 (get_sizeof): Call get_valueof.
17712 (check_valueof): New procedure.
17713 (check_padding): New procedure.
17714
ac57ea44
MC
177152002-02-20 Michael Chastain <mec@shout.net>
17716
17717 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17718 to setup_xfail. Document some of the remaining calls.
17719
7a10c941
MC
177202002-02-18 Michael Chastain <mec@shout.net>
17721
17722 * gdb.c++/userdef.exp: Update copyright year.
17723
fb8acdcc
DJ
177242002-02-18 Daniel Jacobowitz <drow@mvista.com>
17725
17726 * gdb.c++/userdef.exp: Test overloaded operators properly.
17727 Remove xfails.
17728
fda6ae12
MS
177292002-02-14 Michael Snyder <msnyder@redhat.com>
17730
17731 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17732
676a0442
DJ
177332002-02-14 Daniel Jacobowitz <drow@mvista.com>
17734
17735 * gdb.base/a2-run.exp: Check for a remote target properly.
17736 * gdb.base/annota1.exp: Likewise.
17737 * gdb.base/list.exp: Likewise.
17738 * gdb.base/reread.exp: Likewise.
17739 * gdb.base/scope.exp: Likewise.
17740 * gdb.base/shlib-call.exp: Likewise.
17741 * gdb.base/term.exp: Likewise.
17742 * gdb.c++/annota2.exp: Likewise.
17743
78b4f468
RE
177442002-02-13 Richard Earnshaw <rearnsha@arm.com>
17745
17746 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17747
9a81ba51
MC
177482002-02-10 Michael Chastain <mec@shout.net>
17749
17750 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17751 (call_after_alloca): Ditto.
17752
004af6c7
DJ
177532002-02-10 Daniel Jacobowitz <drow@mvista.com>
17754
17755 * gdb.base/ending-run.exp: Guard "cont" test with
17756 gdb_skip_stdio_test.
17757
37225f62
JB
177582002-02-06 Jim Blandy <jimb@redhat.com>
17759
17760 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17761 from here...
17762 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17763 To here. Disable this test on non-HP platforms. Add big comment.
17764
fe6fdd96
MS
177652002-02-04 Michael Snyder <msnyder@redhat.com>
17766
17767 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
17768 other than d10v and m32r.
17769
036fad3f
RE
177702002-02-02 Richard Earnshaw <rearnsha@arm.com>
17771
17772 * gdb.base/default.exp: Rewrite test patterns to reduce time
17773 taken to match them.
17774
7148ab62
DJ
177752002-01-30 Daniel Jacobowitz <drow@mvista.com>
17776
17777 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17778 Allow a start function above main.
17779 * gdb.threads/linux-dp.exp: Fix copyright date.
17780
396cc255
DJ
177812002-01-30 Daniel Jacobowitz <drow@mvista.com>
17782
a9c64011
AS
17783 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17784 (check_philosopher_stack): Check for manager thread before checking
17785 for a just-starting thread.
396cc255 17786
f038d31b
DJ
177872002-01-30 Daniel Jacobowitz <drow@mvista.com>
17788
17789 From Neil Booth <neil@daikokuya.demon.co.uk>:
17790 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17791 warnings.
17792
b3ff9d9a
FF
177932002-01-21 Fred Fish <fnf@redhat.com>
17794
17795 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17796 not caller.
17797
39ad761d
JB
177982002-01-21 Jim Blandy <jimb@redhat.com>
17799
17800 * gdb.base/reread.exp: Check that GDB properly re-reads the
17801 executable file when it changes while no inferior is running.
17802
aaf320fa
FF
178032002-01-21 Fred Fish <fnf@redhat.com>
17804
a9c64011
AS
17805 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17806 optionally accept the "shlib events" variation.
aaf320fa 17807
808a31f5
JB
178082002-01-21 Jim Blandy <jimb@redhat.com>
17809
17810 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17811 call `fflush' after every `printf', so that the output is produced
17812 at predictable points, regardless of whatever buffering does (or
17813 doesn't) take place.
17814 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17815 at different points.
17816
4420d5e2
DJ
178172002-01-20 Daniel Jacobowitz <drow@mvista.com>
17818
17819 * gdb.c++/inherit.exp: Update copyright years.
17820 * gdb.c++/method.exp: Likewise.
17821
3e36a0f4
DJ
178222002-01-20 Daniel Jacobowitz <drow@mvista.com>
17823
17824 * gdb.c++/classes.exp: Update for improved v3 support and skipping
17825 artificial methods/arguments.
17826 * gdb.c++/derivation.exp: Likewise.
17827 * gdb.c++/inherit.exp: Likewise.
17828 * gdb.c++/method.exp: Likewise.
17829 * gdb.c++/virtfunc.exp: Likewise.
17830
b4ceaee6
AC
178312002-01-18 Andrew Cagney <ac131313@redhat.com>
17832
17833 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17834 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17835 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17836 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17837 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17838 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17839
ecace851
JB
178402002-01-17 Jim Blandy <jimb@redhat.com>
17841
17842 * gdb.asm/asm-source.exp (info symbol): Take another shot at
17843 anchoring the pattern matching the entry point symbol's name.
17844
375fc983
AC
178452002-01-17 Andrew Cagney <ac131313@redhat.com>
17846
17847 * gdb.base/maint.exp: Update ``maint internal-error'' to match
17848 continue/quit query. Update copyright.
17849
fe6fdd96
MS
178502002-01-14 Michael Snyder <msnyder@redhat.com>
17851
17852 * gdb.base/gcore.exp: Remove extra debugging output.
17853
e017c81f
DJ
178542002-01-13 Daniel Jacobowitz <drow@mvista.com>
17855
17856 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17857 for slightly dubious v2 mangled string.
17858
37ab3bf8
DJ
178592002-01-13 Daniel Jacobowitz <drow@mvista.com>
17860
17861 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17862
1bc05c3a 178632002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 17864
1bc05c3a 17865 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 17866
1bc05c3a
JM
17867 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17868 constructors.
17869 * gdb.c++/derivation.exp: Likewise.
17870 * gdb.c++/templates.exp: Likewise.
17871 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 17872
1bc05c3a
JM
178732002-01-10 Michael Snyder <msnyder@redhat.com>
17874
17875 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 17876
a911c360
MS
178772002-01-08 Michael Snyder <msnyder@redhat.com>
17878
17879 * gdb.base/gcore.exp: New test for generate-core-file command.
17880 * gdb.base/gcore.c: Testcase for above.
17881 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17882
ea2119ec
JM
178832002-01-08 Jason Merrill <jason@redhat.com>
17884
17885 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17886
68203136
FF
178872002-01-07 Fred Fish <fnf@redhat.com>
17888
17889 * gdb.c++/overload.exp: Remove unconditional xfails for:
17890 print foo_instance1.overloadargs(1)
17891 print foo_instance1.overloadargs(1, 2)
17892 print foo_instance1.overloadargs(1, 2, 3)
17893 print foo_instance1.overloadargs(1, 2, 3, 4)
17894 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17895 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17896 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17897 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17898 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17899 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17900 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17901 print foo_instance1.overload1arg()
17902 print foo_instance1.overload1arg((char)arg2)
17903 print foo_instance1.overload1arg((signed char)arg3)
17904 print foo_instance1.overload1arg((unsigned char)arg4)
17905 print foo_instance1.overload1arg((int)arg7)
17906 print foo_instance1.overload1arg((unsigned int)arg8)
17907 print foo_instance1.overload1arg((float)arg11)
17908 print foo_instance1.overload1arg((double)arg12)
d63a86f8 17909
21b9b5b1
MS
179102002-01-07 Michael Snyder <msnyder@redhat.com>
17911
17912 * gdb.base/huge.exp: New test. Print a very large target data object.
17913 (skip_huge_test): New test variable. Define if you want to skip this
17914 test. The test reads an 8 megabyte data object from the target, so it
17915 might be very time consuming on remote targets with a slow connection.
17916 * gdb.base/huge.c: New file. Test case for above.
17917
725f922e
FF
179182002-01-07 Fred Fish <fnf@redhat.com>
17919
17920 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17921 g_instance.bfoo, and g_instance.cfoo.
17922
889bf7c5 179232002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 17924
889bf7c5
PA
17925 * gdb.base/break.c (multi_line_if_conditional): New function.
17926 (multi_ilne_while_conditional): Likewise.
17927 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17928 IF or WHILE condition puts the breakpoint at the start of
17929 the condition.
f286b2c3 17930
634d57ec
JL
17931 * gdb.base/selftest.exp (backtrace through signal handler): Remove
17932 hppa*-*-hpux* expected failure.
17933 * gdb.base/structs.exp (do_function_calls): Similarly.
17934
17935 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17936 watchpoints.
17937
9fbfe2dc
AC
179382002-01-06 Andrew Cagney <ac131313@redhat.com>
17939
17940 Fix PR gdb/66.
17941 * gdb.base/structs.exp: Replace skip for a29k with skip for
17942 gdb,cannot_call_functions.
17943 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17944 * gdb.base/callfuncs.exp: Ditto.
17945 * gdb.base/call-rt-st.exp: Ditto.
17946 * gdb.base/call-strs.exp: Ditto.
17947 * gdb.base/callfwmall.exp: Ditto.
17948 * gdb.base/scope.exp: Obsolete xfail a29k.
17949 * gdb.c++/misc.exp: Ditto.
17950 * gdb.c++/cplusfuncs.exp: Ditto.
17951 * gdb.base/ptype.exp: Ditto.
17952 * gdb.base/printcmds.exp: Ditto.
17953 * gdb.base/opaque.exp: Ditto.
17954 * gdb.base/list.exp: Ditto.
17955 * gdb.base/funcargs.exp: Ditto.
17956 * gdb.base/default.exp: Ditto.
17957
8ddad156
MS
179582002-01-04 Michael Snyder <msnyder@redhat.com>
17959
ca4976a6 17960 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
17961 * gdb.base/maint.exp: Add tests for maint info sections options.
17962
1b074332
JL
17963Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
17964
17965 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17966
7d159115
CV
179672001-12-20 Corinna Vinschen <vinschen@redhat.com>
17968
17969 * gdb.asm/arm.inc: New file.
17970 * gdb.asm/asm-source.exp: Add arm targets.
17971 * gdb.asm/configure.in: Ditto.
17972 * gdb.asm/configure: Recreated from configure.in.
17973
8fb87725
JL
17974Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
17975
afabe08c
JL
17976 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17977 with HP's compiler.
17978 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17979 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17980 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17981 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17982
17983 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17984 either HP's compilers or GCC.
17985
db521deb
JL
17986 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17987 a SIGBUS or SIGSEGV.
17988
17989 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17990
17991 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17992 can be compiled with either HP's compiler or GCC.
17993
cfa88ab7
JL
17994 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17995 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17996 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17997
ca344dff
JL
17998 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17999 to match current gdb output. Update due to using auto-solib-limit
18000 for limiting instead of overloading auto-solib-add.
18001 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18002 test program.
18003
3f3c6e55 18004 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18005 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18006 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18007 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18008 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18009 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18010 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18011 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18012 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18013 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18014 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18015 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18016 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18017
8fb87725
JL
18018 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18019 a SIGTRAP to the inferior.
18020
cf599fa7
CV
180212001-12-19 Corinna Vinschen <vinschen@redhat.com>
18022
18023 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18024 Substitute call to target_link by call to gdb_compile.
18025
2cd045cd
JL
18026Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18027
a9c64011
AS
18028 * gdb.base/break.exp: Fix HP specific search string when testing
18029 backtracing in a called function.
2cd045cd 18030
a9c64011
AS
18031 * gdb.base/constvars.exp: Only set lang to C++ if we're
18032 compiling the test with HP's compilers.
18033 * gdb.base/volatile.exp: Similarly.
2cd045cd 18034
99ebe9ac
JB
180352001-12-19 Jim Blandy <jimb@redhat.com>
18036
18037 * gdb.base/printcmds.exp: Expect the null character to be printed
18038 as '\0', and the '\013' to be printed as '\v'.
18039 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18040 * gdb.base/setvar.exp: Same.
18041
b9891b29
JB
180422001-12-17 Jim Blandy <jimb@redhat.com>
18043
0eba65ab
JB
18044 * gdb.base/completion.exp: Rather than completing very long
18045 filenames, which can make the readline library produce output we
18046 don't recognize, cd to the directory first, and then complete
18047 using nice, short relative paths.
18048
6970b5b1
JB
18049 * gdb.base/completion.exp: On some systems, there is, in fact, a
18050 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18051 variables as being in scope. So use `no_var_named_this'
18052 instead of `b'.
6970b5b1 18053
b9891b29 18054 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18055 can't find the core file's registers as a failure.
b9891b29 18056
e6ccd35f
JSC
180572001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18058
a9c64011
AS
18059 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18060 test expect string more specific.
e6ccd35f 18061
105ba819
CV
180622001-12-13 Corinna Vinschen <vinschen@redhat.com>
18063
18064 * gdb.asm/asm-source.exp: Add support for xstormy16.
18065 * gdb.asm/configure.in: Ditto.
18066 * gdb.asm/configure: Rebuild.
18067 * gdb.asm/xstormy16.inc: New file.
18068
e9e79dd9
FF
180692001-12-10 Fred Fish <fnf@redhat.com>
18070
18071 * gdb.base/maint.exp: Update to match changes in type dumping code.
18072
347dc97d
JB
180732001-12-10 Jim Blandy <jimb@redhat.com>
18074
18075 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18076 matching the entry point symbol's name at the beginning of the
18077 line.
347dc97d 18078
5178b9d6
DJ
180792001-12-07 Daniel Jacobowitz <drow@mvista.com>
18080
18081 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18082 gdb.c++/inherit.exp, gdb.c++/method.exp,
18083 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18084 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18085 and class layout support.
18086
af890c52
DJ
180872001-12-07 Daniel Jacobowitz <drow@mvista.com>
18088
18089 * gdb.c++/classes.exp: Add test for static member function.
18090 * gdb.c++/misc.cc: Add class with static member function.
18091
7a345fb3
JB
180922001-12-07 Jim Blandy <jimb@redhat.com>
18093
f2e54a80 18094 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18095 those tests as `unsupported'.
18096 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18097 Rewrite subsequent tests to use it.
18098
18099 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18100 those tests as `unsupported'.
18101 * gdb.base/structs.exp (call_struct_func): New function.
18102 (do_function_calls): Use call_struct_func to call the functions
18103 returning structs.
18104
0bc69509
JB
18105 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18106 whether functions are prototyped or not, so we can't possibly pass
18107 arguments to t_float_values2 properly.
18108
7a345fb3
JB
18109 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18110 value of `timeout' for targets other than the mips*tx39-*.
18111
edb6ede1
MS
181122001-12-06 Michael Snyder <msnyder@redhat.com>
18113
d63a86f8 18114 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18115 and detect whether the start symbol has a leading underscore.
18116
2d842f13
JB
181172001-12-04 Jim Blandy <jimb@redhat.com>
18118
18119 * gdb.base/completion.exp: Clarify indentation.
18120
68550daf
JB
181212001-12-03 Jim Blandy <jimb@redhat.com>
18122
18123 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18124 variables on the S/390, not `.word'.
18125
cd5195a8
JB
181262001-11-30 Jim Blandy <jimb@redhat.com>
18127
18128 Add assembly-source tests for s390-ibm-linux.
18129 * gdb.asm/s390.inc: New file.
18130 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18131 the S/390 architecture.
a9c64011 18132 * gdb.asm/configure: Regenerated.
cd5195a8 18133
ca9efc90
MS
181342001-11-30 Michael Snyder <msnyder@redhat.com>
18135
18136 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18137 next, info source, info sources, info line, global and static
18138 variables, and static functions.
18139 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18140 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18141 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18142 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18143 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18144 (gdbasm_leave): Restore frame pointer.
18145 (gdbasm_startup): Copy stack set-up from crt0.S.
18146
d0e66976
FN
181472001-11-26 Fernando Nasser <fnasser@redhat.com>
18148
18149 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18150 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18151 to a local (non-static) variable. Copy tstruct.a to a static buffer
18152 and return a pointer to that buffer.
18153 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18154
e2334072
MK
181552001-11-24 Mark Kettenis <kettenis@gnu.org>
18156
18157 * gdb.asm/configure.in: Fix recognition of ix86 target.
18158 * gdb.asm/configure: Regenerate.
18159
756caa3d
MS
181602001-11-21 Michael Snyder <msnyder@redhat.com>
18161
18162 * gdb.asm/sparc.inc: New file.
18163 * gdb.asm/asm-source.exp: Recognize sparc target.
18164 * gdb.asm/configure.in: Recognize sparc target.
18165 * gdb.asm/configure: Regenerate.
d63a86f8 18166
9a4d72d5
MS
181672001-11-21 Michael Snyder <msnyder@redhat.com>
18168
18169 * gdb.asm/m32r.inc: New file.
18170 * gdb.asm/asm-source.exp: Recognize m32r target.
18171 * gdb.asm/configure.in: Recognize m32r target.
18172 * gdb.asm/configure: Regenerate.
18173
a773d1cd
MS
181742001-11-20 Michael Snyder <msnyder@redhat.com>
18175
017ac23d
MS
18176 * gdb.asm/i386.inc: New file.
18177 * gdb.asm/asm-source.exp: Recognize ix86 target.
18178 * gdb.asm/configure.in: Recognize ix86 target.
18179 * gdb.asm/configure: Regenerate.
18180
a773d1cd
MS
18181 * gdb.c++/namespace.exp: Fix quotes in output messages.
18182
bb632afb
MS
181832001-11-14 Michael Snyder <msnyder@redhat.com>
18184
25d559ca 18185 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18186 qualifier in a type cast expression, to designate an address
18187 in the instruction space (Harvard architecture).
18188
4749e309
MS
181892001-11-13 Michael Snyder <msnyder@redhat.com>
18190
18191 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18192 Tests for expressions using 'const' and 'volatile'.
18193
25050984
CV
181942001-11-13 Corinna Vinschen <vinschen@redhat.com>
18195
18196 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18197
1902c51f
DJ
181982001-11-12 Daniel Jacobowitz <drow@mvista.com>
18199
18200 * lib/mi-support.exp (mi_run_to_helper): Move comments
18201 outside of gdb_expect.
18202
dcf95b47
DJ
182032001-11-11 Daniel Jacobowitz <drow@mvista.com>
18204
18205 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18206 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18207 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18208 mi0_run_to): New functions.
18209 * gdb.mi/mi-simplerun.exp: Use them.
18210 * gdb.mi/mi0-simplerun.exp: Likewise.
18211 * gdb.mi/mi-var-cmd.exp: Likewise.
18212 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18213
45b074e1
AC
182142001-11-10 Andrew Cagney <ac131313@redhat.com>
18215
18216 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18217 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18218
bf50d346
AC
182192001-11-09 Andrew Cagney <ac131313@redhat.com>
18220
18221 * gdb.base/restore.exp: Include $expected value in restored test
18222 message.
18223
9383332c
AC
182242001-11-09 Andrew Cagney <ac131313@redhat.com>
18225
18226 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18227 implemented.
18228
db62520a
MS
182292001-11-08 Michael Snyder <msnyder@redhat.com>
18230
18231 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18232 Add pass/fail message for stop at breakpoint in call dummy function.
18233
b5703437
MS
182342001-11-07 Michael Snyder <msnyder@redhat.com>
18235
d63a86f8
RM
18236 * gdb.c++/templates.exp (test_template_breakpoints):
18237 If we get an overload menu, but it does not match what
760f6330 18238 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18239 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18240 making the whitespace optional. Argument for "new" may be
18241 "unsigned" as well as "unsigned int/long".
d63a86f8 18242 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18243 making the whitespace optional. Also replace "(void) with
18244 "((void|)), making the keyword "void" optional.
d63a86f8 18245 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18246 making the whitespace optional. Also replace "(void) with
18247 "((void|)), making the keyword "void" optional.
3bf40917
MS
18248 * gdb.base/callfuncs.c (t_float_values): This function must
18249 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18250 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18251 can be tested against both cases. Usually one case involves
18252 promotion of float to double, while the other does not.
18253 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18254 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18255 includes a stack frame for "start".
18256
c8ab4e6d
JB
182572001-11-05 Jim Blandy <jimb@redhat.com>
18258
18259 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18260 pointers are 32 bits long, and that offsets of relocs are always
18261 stored in the data (REL-style), and not in the reloc entry itself
18262 (RELA-style).
18263 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18264 stabs.
18265
3f08ced9
MS
182662001-11-01 Michael Snyder <msnyder@redhat.com>
18267
18268 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18269 and regular expression operators by using quoting.
18270
cbfa24cd
MS
182712001-10-31 Michael Snyder <msnyder@redhat.com>
18272
18273 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18274 depending on what the symbol table contains.
18275 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18276 the output of the ptype command. Similarly, accept both "const &"
18277 and "const&".
18278
aaa68313
CV
182792001-10-31 Corinna Vinschen <vinschen@redhat.com>
18280
18281 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18282 symbol `STORAGE' to allow to choose the storage class of
18283 the local datastructures.
18284 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18285 compiler directive.
18286
91740388
MS
182872001-10-30 Michael Snyder <msnyder@redhat.com>
18288
18289 * gdb.base/jump.exp: Allow it to run for all targets.
18290
1b7c05e7
CV
182912001-10-29 Corinna Vinschen <vinschen@redhat.com>
18292
18293 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18294 with new double_array size.
18295 (main): Change storage class of all local variables to static.
18296 Reduce size of double_array to 9.
18297 * gdb.base/call-ar-st.exp: Increase timeout value.
18298 Change expected output for double array to match new size in
18299 call-ar-st.c.
18300
36a22261
CV
183012001-10-29 Corinna Vinschen <vinschen@redhat.com>
18302
18303 * gdb.base/ending-run.exp: Create identical output when passing
18304 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 18305 Stormy16 target.
36a22261 18306
92b8ae91
MK
183072001-10-28 Mark Kettenis <kettenis@gnu.org>
18308
18309 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18310 that we catch the expected failure under Linux/x86.
18311
cb135b83
OF
183122001-10-29 Orjan Friberg <orjanf@axis.com>
18313
18314 * gdb.base/setvar.exp: Escape curly braces.
18315 * gdb.stabs/weird.exp: Ditto.
18316
6884aa54
DJ
183172001-10-27 Daniel Jacobowitz <drow@mvista.com>
18318
18319 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18320 * gdm.mi/mi0-hack-cli.exp: Likewise.
18321
0398c9aa
AC
183222001-10-25 Andrew Cagney <ac131313@redhat.com>
18323
18324 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18325 messages.
18326
d20bf2e8
AC
183272001-10-21 Andrew Cagney <ac131313@redhat.com>
18328
18329 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18330 checking MI enabled.
18331
03dd63aa
CV
183322001-10-09 Corinna Vinschen <vinschen@redhat.com>
18333
18334 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18335
1d9d99f3
FCE
183362001-10-04 Frank Ch. Eigler <fche@redhat.com>
18337
18338 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18339 if gdb child process crashes, just signal an error.
18340
838ae6c4
JB
183412001-10-02 Jim Blandy <jimb@redhat.com>
18342
18343 * lib/gdb.exp (test_xfail_format): Simplify.
18344
18345 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18346 front of the variable name `format'. Simplify `if'.
18347
8f0cbc1c
DJ
183482001-10-01 Daniel Jacobowitz <drow@mvista.com>
18349
18350 * gdb.threads/pthreads.exp: Wait for output and delay
18351 before sending ^C.
18352
1f08dafd
DJ
183532001-10-01 Daniel Jacobowitz <drow@mvista.com>
18354
18355 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18356 some incorrect output instead of timing out.
18357 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18358
674f90ff
CV
183592001-09-28 Corinna Vinschen <vinschen@redhat.com>
18360
18361 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18362 check to allow additional `int'.
18363
9b284272
DJ
183642001-09-27 Daniel Jacobowitz <drow@mvista.com>
18365
18366 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18367 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18368
b55a4771
MS
183692001-09-27 Michael Snyder <msnyder@redhat.com>
18370
18371 * lib/gdb.exp (test_debug_format): New proc.
18372 (setup_xfail_format): Use new proc test_debug_format.
18373 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18374 proc; use new service proc test_debug_format.
18375 Replace all other "gcc_compiled" tests with this test.
18376 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18377 proc; use new service proc test_debug_format.
18378 Replace all other "gcc_compiled" tests with this test.
18379
183802001-09-27 Michael Snyder <msnyder@redhat.com>
18381
18382 * gdb.base/cvexpr.exp: New file.
18383 * gdb.base/cvexpr.c: New file
18384 Test for expressions using const and volatile keywords.
18385
4e6667ac
CV
183862001-09-26 Corinna Vinschen <vinschen@redhat.com>
18387
18388 * gdb.base/constvars.exp: Check for different orders of keywords
18389 and additional "int" strings in output.
18390
4f337972
AC
183912001-09-22 Andrew Cagney <ac131313@redhat.com>
18392
18393 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18394 responses from "help maint".
18395
2015650d
FCE
183962001-09-19 Frank Ch. Eigler <fche@redhat.com>
18397
18398 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18399 to localhost:NNN instead of :NNN, in case Xvfb is listening
18400 only on TCP.
18401
f3bcedc1
CV
184022001-09-19 Corinna Vinschen <vinschen@redhat.com>
18403
18404 * gdb.base/recurse.exp: When checking leaving the watchpoint
18405 scope, recognize when gdb is in function's epilogue and pass.
18406
6b819c92
KS
184072001-09-18 Keith Seitz <keiths@redhat.com>
18408
18409 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18410 support for running tests against sid targets.
18411 (gdbtk_done): Ditto.
18412
a10c9419
CV
184132001-09-18 Corinna Vinschen <vinschen@redhat.com>
18414
18415 * gdb.base/ending-run.c (main): Set stdout buffersize
18416 to the same reasonable value for any target.
18417 * gdb.base/ending-run.exp: Add a regular expression
18418 to make testsuite happy on Sanyo Stormy16 target.
18419
739d0d99
CV
184202001-09-17 Corinna Vinschen <vinschen@redhat.com>
18421
18422 * gdb.base/display.c (do_loops): Add float variable `f'.
18423 Increment f in loop.
18424 * gdb.base/display.exp: Increment timeout by 60 seconds.
18425 Change float display test to use variable `f'.
18426
1b8947f0
JB
184272001-09-17 Jim Blandy <jimb@redhat.com>
18428
18429 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18430 overflowing the limited breakpoint tables on some ROM monitors
18431 (like the ROM68K).
18432
9890ac81
FCE
184332001-09-15 Frank Ch. Eigler <fche@redhat.com>
18434
18435 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18436 the "-ac" (disable access control) flag.
18437
6db765ea
JH
184382001-08-30 Jeff Holcomb <jeffh@redhat.com>
18439
18440 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18441 ints.
18442
4c32cc04
KS
184432001-08-30 Keith Seitz <keiths@redhat.com>
18444
18445 * lib/gdb.exp: Move all insight-related functionality into
18446 separate file.
18447 * lib/insight-support.exp: New file.
18448
8d6e6f81
FCE
184492001-08-29 Frank Ch. Eigler <fche@redhat.com>
18450
18451 * config/sid.exp (sid_start): Never set sid verbosity; disable
18452 expect_background {} that consumed its stdout; tolerate </dev/null.
18453 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18454
6a90e1d0
AC
184552001-08-18 Andrew Cagney <ac131313@redhat.com>
18456
18457 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18458 CLI jump command to start it.
18459 (mi_run_to_main): Fail immediatly when unexpected output.
18460
1759b3c3
AC
184612001-08-18 Andrew Cagney <ac131313@redhat.com>
18462
18463 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18464 beginning of function. Fix PR gdb/191.
18465
61d11d80
FCE
184662001-08-16 Frank Ch. Eigler <fche@redhat.com>
18467
18468 * config/sid.exp (sid_start): Don't warn if we cannot figure out
18469 what to force sid endianness to.
18470
942a4df2
KS
184712001-08-15 Keith Seitz <keiths@redhat.com>
18472
18473 * lib/gdb.exp (gdbtk_start): Don't set environment
18474 variables for TCL_LIBRARY and friends. Insight will
18475 now figure these out for itself.
18476
0521c418
MS
184772001-08-02 Michael Snyder <msnyder@redhat.com>
18478
18479 * gdb.base/completion.exp: Remove the symbol "a64l" from
18480 the expect string; this is target-specific, and not related
18481 to what is being tested.
18482
74a9a58a
DB
184832001-08-02 Dave Brolley <brolley@redhat.com>
18484
18485 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18486
c70819fa
MS
184872001-07-25 Michael Snyder <msnyder@redhat.com>
18488
c2b8fa57
MS
18489 * gdb.base/consecutive.exp: New file. Test stepping over
18490 breakpoints on consecutive instructions.
18491 * gdb.base/consecutive.c: New file.
18492
c70819fa
MS
18493 * gdb.base/call-rt-st.exp: Use double-backslash to quote
18494 curly braces in regular expressions.
18495
2b1a1355
MS
184962001-07-25 Michael Snyder <msnyder@redhat.com>
18497
18498 * gdb.base/ending-run.exp: Accept "Program exited normally" as
18499 legitimate output from stepping out of main.
18500
413eca6f
KS
185012001-07-22 Keith Seitz <keiths@redhat.com>
18502
18503 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18504 the empty string, do not run the tests.
18505
7e5a9322
SC
185062001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18507
18508 * gdb.base/long_long.exp: Detect size of pointer. Take into
18509 account 2-byte pointers when testing for p/a results.
18510
de58f10f
SC
185112001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18512
d63a86f8 18513 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
18514 and defined to 1K for m68hc11.
18515 (random_data): Reduce table to 1K for embedded platforms (68hc11).
18516 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18517 (sizeof_random_data): New variable to tell the size of the data table;
18518 don't test past this size; always run to main.
18519
d6f5fea1
SC
185202001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18521
18522 * gdb.base/return2.exp: return of long long and double fails for
18523 68HC11; don't execute these tests on that platform.
18524 * gdb.base/return.exp: Return of a double fails for 68hc11.
18525
c477543d
SC
185262001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18527
18528 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18529 tests that print a float.
18530 * call-rt-st.exp: Likewise.
18531
63cf1c79
MK
185322001-07-12 Mark Kettenis <kettenis@gnu.org>
18533
18534 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18535 running this test on Linux.
18536
112f9ab5
MC
185372001-06-24 Michael Chastain <chastain@redhat.com>
18538
18539 * gdb.base/arithmet.exp: Remove some tests to make all test names
18540 unique.
18541
4970cb0f
MS
185422001-07-03 Michael Snyder <msnyder@redhat.com>
18543
18544 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18545 the output of the ptype command.
18546
d85da69f
MS
185472001-07-02 Michael Snyder <msnyder@redhat.com>
18548
4c8a82de
MS
18549 * gdb.base/completion.exp: Don't assume that break.c is the only
18550 source file that may contain functions named "marker".
d85da69f
MS
18551 * gdb.base/corefile.exp: Quote the curly braces in regexp.
18552
8afc772b
AC
185532001-06-28 Andrew Cagney <ac131313@redhat.com>
18554
18555 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18556 of files to delete.
18557
18558 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18559 * gdb.disasm/h8300s.exp: New file.
18560 gdb.disasm/h8300s.s: Likewise.
18561
cff22675
AC
185622001-06-27 Andrew Cagney <ac131313@redhat.com>
18563
18564 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18565 empty breakpoint tables.
18566
68c81b54
AC
185672001-06-25 Andrew Cagney <ac131313@redhat.com>
18568
18569 * lib/mi-support.exp: Update args=... part of stop-reason
18570 patterns. Accept either a list or a tuple.
18571
2dd62704
AC
185722001-06-23 Andrew Cagney <ac131313@redhat.com>
18573
18574 * lib/mi-support.exp: Remove local emacs variable defining
18575 change-log-default-name.
18576
b4127474
MC
185772001-06-22 Michael Chastain <chastain@redhat.com>
18578
18579 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18580 This is operationally compatible with the previous version.
18581
8dbfb380
JB
185822001-06-13 Jim Blandy <jimb@redhat.com>
18583
18584 * lib/gdb.exp (gdb_test): Doc fix.
18585
f2d8c86d
MC
185862001-06-10 Michael Chastain <chastain@redhat.com>
18587
18588 * gdb.base/exprs.exp: Remove a duplicate test.
18589
81564d34
JB
185902001-06-06 Jim Blandy <jimb@redhat.com>
18591
18592 * gdb.base/return2.exp (main): Use values to test float and double
18593 returns that are not NaN's, to avoid being confused by IEEE
18594 comparison rules.
18595
da55addb
MS
185962001-06-04 Michael Snyder <msnyder@redhat.com>
18597
18598 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 18599 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
18600 rather than wait for 12 more tests to time out.
18601
42c65987
JB
186022001-06-06 Jim Blandy <jimb@redhat.com>
18603
b18bced9 18604 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 18605 Don't forget to match the GDB prompt.
b18bced9 18606
42c65987
JB
18607 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18608
5b41e5f0
JB
186092001-06-04 Jim Blandy <jimb@redhat.com>
18610
18611 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18612 command.
18613
015e046f
KB
186142001-05-31 Kevin Buettner <kevinb@redhat.com>
18615
18616 * gdb.base/annota1.exp (info break): Match four or more spaces
18617 after "Address".
18618
fb1ffbbe
MC
186192001-05-31 Michael Chastain <chastain@redhat.com>
18620
18621 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18622 (dm_type_int_star): Likewise.
18623 (dm_type_long_star): Likewise.
18624 (dm_type_void_star): Likewise.
18625
5ea2a32c
KB
186262001-05-29 Kevin Buettner <kevinb@redhat.com>
18627
18628 * gdb.base/completion.exp (INPUTRC): Set this environment variable
18629 to a known value in order to get consistent results regardless
18630 of the setting of INPUTRC or the presence or contents of .inputrc.
18631
ae23c492
MS
186322001-05-24 Michael Snyder <msnyder@redhat.com>
18633
ac55707e
MS
18634 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18635 Don't require that the main thread and the manager thread are the
18636 first in the list.
18637
ae23c492
MS
18638 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18639 debugging. If test fails, issue an "unsupported" not a "fail".
18640
400071f1
JB
186412001-05-24 Jim Blandy <jimb@redhat.com>
18642
18643 Don't assume that short is shorter than int.
18644 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18645 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 18646 this isn't true.
400071f1
JB
18647 ("print unsigned char == (~0)"): Add test that verifies that ~0,
18648 an int, is not equal to ~0 stored in an unsigned char. This tests
18649 the same thing that the previous test meant to, but works on
18650 16-bit machines, too.
18651 ("print unsigned char != (~0)"): Same test, complemented.
18652
0816a3e5
MS
186532001-05-24 Michael Snyder <msnyder@redhat.com>
18654
18655 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 18656 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
18657 and prevents dejagnu getting out of step.
18658
f6dc23a9
KB
186592001-05-23 Kevin Buettner <kevinb@redhat.com>
18660
18661 * gdb.base/finish.exp (finish_void): Revise pattern for
18662 stopping on the call statement to not permit stopping at
18663 the start of the instructions comprising the call sequence.
18664
7dbd117d
MC
186652001-05-19 Michael Chastain <chastain@redhat.com>
18666
18667 * gdb.base/callfuncs.exp: Make all test names unique.
18668 * gdb.base/commands.exp: Make all test names unique.
18669 * gdb.base/condbreak.exp: Make all test names unique.
18670 * gdb.base/dbx.exp: Make all test names unique.
18671 * gdb.base/default.exp: Make all test names unique.
18672 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
18673 and TIMEOUT messages to their corresponding PASS message.
18674 * gdb.base/ending-run.exp: Make all test names unique.
18675 * gdb.base/long_long.exp: Remove duplicate test.
18676
6b0b0a9e
KB
186772001-05-21 Kevin Buettner <kevinb@redhat.com>
18678
18679 * gdb.base/finish.exp (finish_void): Allow "finish" command to
18680 stop on the call statement as well as the statement after the
18681 call.
18682
2caa35cb
MS
186832001-05-21 Michael Snyder <msnyder@redhat.com>
18684
18685 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18686
40713331
EZ
186872001-05-10 Elena Zannoni <ezannoni@redhat.com>
18688
a9c64011
AS
18689 * gdb.base/completion.exp: Revamp test. Make it execute on all
18690 platforms.
40713331 18691
c2c1be8d
EZ
186922001-05-10 Elena Zannoni <ezannoni@redhat.com>
18693
a9c64011
AS
18694 * config/gdbserver.exp (gdb_load): Handle the case
18695 in which the arguments to gdbserver are given in the
18696 baseboard configuration file.
18697 Also handle the case in which the server needs to do a
18698 load.
2c9cd303 18699
9671de48
KS
187002001-05-07 Keith Seitz <keiths@cygnus.com>
18701
a9c64011
AS
18702 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18703 set up the display for testing.
18704 (gdbtk_start): Convert all paths to paths that tcl will like.
18705 Export target information to environment.
18706 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18707 necessary.
18708 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18709 (to_tcl_path): New proc to convert a given pathname into
18710 a path acceptible as an argument to a tcl command.
18711 (_gdbtk_export_target_info): New proc to export target info
18712 into the environment for gdbtk testing.
18713 (gdbtk_done): New proc to signal end-of-test.
9671de48 18714
5a360f47
JB
187152001-05-06 Jim Blandy <jimb@redhat.com>
18716
18717 * restore.c: Make the code of caller0 correspond to its comment.
18718
66c756c6
MS
187192001-05-03 Michael Snyder <msnyder@redhat.com>
18720
18721 * config/sid.exp (gdb_target_sid): Check for error messages.
18722 On error or timeout, don't make expect exit (which will terminate
18723 all subsequent tests); instead just make gdb exit.
d63a86f8 18724 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
18725 return a negative value.
18726
a966fde5
JB
187272001-04-24 Jim Blandy <jimb@redhat.com>
18728
851c18e0
JB
18729 * gdb.c++/templates.exp: If we see the prompt for the overload
18730 list, but we haven't recognized any of the longer patterns,
18731 arrange for this test to fail, not hang.
18732
a966fde5
JB
18733 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18734 variations.
18735
db144853
MC
187362001-04-22 Michael Chastain <chastain@redhat.com>
18737
18738 * gdb.c++/local.exp: Use the 'runto' library function.
18739 * gdb.c++/namespace.exp: Likewise.
18740 * gdb.c++/overload.exp: Likewise.
18741
3207ec21
KB
187422001-03-26 Kevin Buettner <kevinb@redhat.com>
18743
18744 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18745 * gdb.base/step-line.exp: New file. Test step/next in presence of
18746 #line directives.
18747 * gdb.base/step-line.c: New file. Test program for the above.
18748 * gdb.base/step-line.inp: New file. We pretend that this file has
18749 been transformed by some other tool into step-line.c.
18750
13b57657
JB
187512001-03-21 Jim Blandy <jimb@redhat.com>
18752
18753 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18754 unmangled operator names.
18755
754cbe1c
JB
187562001-03-20 Jim Blandy <jimb@redhat.com>
18757
18758 * gdb.threads/linux-dp.exp: Recognize an additional message
18759 generated by GDB when it doesn't understand how to debug threads
18760 on the target system.
18761
177495c9
AC
187622001-03-19 Andrew Cagney <ac131313@redhat.com>
18763
18764 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18765
f266096b
MC
187662001-03-12 Michael Chastain <chastain@redhat.com>
18767
18768 * gdb.c++/derivation.exp: Use the 'runto' library function.
18769
cac3c2ff
MC
187702001-03-12 Michael Chastain <chastain@redhat.com>
18771
18772 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18773
b6c11a24
MC
187742001-02-24 Michael Chastain <chastain@redhat.com>
18775
18776 * gdb.c++/ref-types.exp: Change handwritten code to library
18777 function 'runto'.
18778
6bae5bce
OF
187792001-03-16 Orjan Friberg <orjanf@axis.com>
18780
18781 * gdb.base/signals.exp: Set count to 0 explicitly.
18782
0015fd9a
MS
187832001-03-15 Mark Salter <msalter@redhat.com>
18784
18785 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18786 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
18787 (gdb_load): Add support for additional target_info: gdb_download_size
18788 and gdb_load_timeout.
0015fd9a 18789
fc33412a
DT
18790Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
18791
18792 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
18793 file -- to prevent failing when the compile fails but we have no
18794 intention of running the tests anyway.
fc33412a
DT
18795
18796 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18797 tests if set.
18798
18799 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 18800 integers.
fc33412a
DT
18801
18802 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18803 * gdb.c++/namespace.exp: Ditto.
18804
115f06de
OF
188052001-03-07 Orjan Friberg <orjanf@axis.com>
18806
18807 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18808 * gdb.base/pointers.exp: Relax pattern match of decimals.
18809
b6ba6518
KB
188102001-03-06 Kevin Buettner <kevinb@redhat.com>
18811
18812 * Makefile.in, config/abug.exp, config/cfdbug.exp,
18813 config/cpu32bug.exp, config/dve.exp, config/est.exp,
18814 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18815 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18816 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18817 config/sh.exp, config/sid.exp, config/slite.exp,
18818 config/sparclet.exp, config/udi.exp, config/unknown.exp,
18819 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18820 config/vxworks.exp, config/vxworks29k.exp,
18821 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18822 gdb.base/all-bin.exp, gdb.base/annota1.exp,
18823 gdb.base/arithmet.exp, gdb.base/assign.exp,
18824 gdb.base/async.exp, gdb.base/attach.exp,
18825 gdb.base/bitfields.exp, gdb.base/bitops.exp,
18826 gdb.base/break.exp, gdb.base/call-ar-st.exp,
18827 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18828 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18829 gdb.base/commands.exp, gdb.base/completion.exp,
18830 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18831 gdb.base/constvars.exp, gdb.base/corefile.exp,
18832 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18833 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18834 gdb.base/ending-run.exp, gdb.base/environ.exp,
18835 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18836 gdb.base/finish.exp, gdb.base/foll-exec.exp,
18837 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18838 gdb.base/funcargs.exp, gdb.base/help.exp,
18839 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18840 gdb.base/logical.exp, gdb.base/long_long.exp,
18841 gdb.base/maint.exp, gdb.base/mips_pro.exp,
18842 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18843 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18844 gdb.base/pointers.exp, gdb.base/printcmds.exp,
18845 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18846 gdb.base/regs.exp, gdb.base/relational.exp,
18847 gdb.base/remote.exp, gdb.base/reread.exp,
18848 gdb.base/restore.exp, gdb.base/return2.exp,
18849 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18850 gdb.base/selftest.exp, gdb.base/setshow.exp,
18851 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18852 gdb.base/sigall.exp, gdb.base/signals.exp,
18853 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18854 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18855 gdb.base/step-test.exp, gdb.base/structs.c,
18856 gdb.base/structs.exp, gdb.base/structs2.exp,
18857 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18858 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18859 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18860 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18861 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18862 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18863 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18864 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18865 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18866 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18867 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18868 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18869 gdb.fortran/types.exp, gdb.java/jmisc.exp,
18870 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18871 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18872 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18873 gdb.trace/circ.exp, gdb.trace/collection.exp,
18874 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18875 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18876 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18877 gdb.trace/report.exp, gdb.trace/save-trace.exp,
18878 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18879 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18880 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18881 notices.
18882
dc96c6c7 188832001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
18884
18885 * gdb.base/varargs.c (find_max_double): Fix printf format string:
18886 first arg is int not float.
18887
dc96c6c7 188882001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
18889
18890 * gdb.base/reread.exp: Unsupported for non-native targets;
18891 doesn't work for remote debugging.
18892
9b0c4aeb
FN
188932001-02-19 Fernando Nasser <fnasser@redhat.com>
18894
18895 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
18896 * gdb.base/ending-run.exp: Properly handle the BSP state when
18897 stepping past the end of main.
9b0c4aeb 18898
02aa71d5
MC
188992001-02-19 John Moore <jmoore@redhat.com>
18900
18901 * gdb.base/commands.exp (infrun_breakpoint_command_test):
18902 Converted HPUX fix for non-expected items following multiple
18903 step commands into general solution for all platforms.
18904
1fa449a4
MC
189052001-02-18 Michael Chastain <chastain@redhat.com>
18906
18907 * gdb.c++/classes.exp (do_tests): Change runto statements
18908 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18909 statements demangler agnostic.
18910 * gdb.c++/virtfunc.exp (do_tests): Likewise.
18911 (gdb_virtfunc_restart): Likewise.
18912
b2f9ec70
MC
189132001-02-14 Michael Chastain <chastain@redhat.com>
18914
18915 * gdb.c++/inherit.exp (do_tests): Change runto statements
18916 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18917 statements demangler agnostic.
18918
cf74b8ca
AC
18919Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
18920
18921 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
18922 ``continue to bkpt at common_routine in thread 2'' and ``stopped
18923 before calling common_routine 15 times'' tests.
cf74b8ca 18924
99f78f56
MC
189252001-02-11 Michael Chastain <chastain@redhat.com>
18926
18927 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18928 Helps the test script figure out which demangler is in use.
18929 (dm_type_foo_ref): Ditto.
18930 (dm_type_int_star): Ditto.
18931 (dm_type_long_star): Ditto.
18932 (dm_type_unsigned_int): Ditto.
18933 (dm_type_void): Ditto.
18934 (dm_type_void_star): Ditto.
99707966 18935 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
18936 Probe the gdb demangler and set variables to accommodate
18937 formatting differences.
18938 (info_func_regexp): New function. Same as info_func, but
18939 matches against a regexp.
18940 (info_func): Match against a literal string.
18941 (print_addr_2): New function. Match against a literal string,
18942 which can be different from the input to gdb.
18943 (print_addr): Simply call print_addr_2 with the same argument twice.
18944 (test_lookup_operator_functions): Use demangler formatting variables.
18945 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
18946 the tests in the same order as the C++ class declaration.
18947 (test_paddr_operator_functions): Ditto.
18948 (test_paddr_overloaded_functions): Ditto.
18949 (test_paddr_hairy_functions): Use demangler formatting variables.
18950 Add reference to gdb/19 for related tests.
18951 (do_tests): Call probe_demangler.
18952
1de8f023
KB
189532001-01-30 Kevin Buettner <kevinb@redhat.com>
18954
18955 * gdb.c++/templates.cc (printf): Remove unused function definition.
18956
ca3f91ed
MS
189572001-01-26 Felix Lee <flee@redhat.com>
18958
18959 * sid.exp (sid_exit): Pass host, not target, to remote_close.
18960
189612001-01-25 matthew green <mrg@redhat.com>
18962
18963 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18964 up sid.
18965 (sid_exit): Call `remote_pop_conn' after GDB is gone.
18966
189672001-01-25 matthew green <mrg@redhat.com>
18968
18969 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 18970 Deprecate $sid_spawn_id.
ca3f91ed
MS
18971 (sid_exit): Remove code necessary only for `spawn.'
18972
189732001-01-25 matthew green <mrg@redhat.com>
18974
18975 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18976
fb18ec4a
MC
189772001-01-28 Michael Chastain <chastain@redhat.com>
18978
18979 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18980 to call when tests fail. It takes gdb out of the overloaded
18981 function choice menu back to the main prompt, so that the test
18982 program stays synchronized.
18983 (set_bp_overloaded): New proc to collect all the common
18984 code for setting a breakpoint on an overloaded name. Calls
18985 take_gdb_out_of_choice_menu when needed.
18986 (menu_overload1arg): New variable to collect the repeated
18987 instances of the expected menu for an overloaded name. Change
18988 the regular expression to handle changes in g++ type encoding:
18989 "void" can be either "void" or "", and "unsigned int" can be
18990 either "unsigned int" or "unsigned".
18991 (continue_to_bp_overloaded): Change regular expressions to handle
18992 changes in g++ type encoding.
18993 (no proc): Call take_gdb_out_of_choice_menu when needed.
18994 Remove redundant calls to "info break". Accept either "canceled"
18995 or "cancelled". Change regular expressions in "info break"
18996 calls to handle changes in g++ type encoding. Give all tests
18997 unique strings.
18998
9c646a6e
BE
189992001-01-17 Ben Elliston <bje@redhat.com>
19000
19001 * config/sid.exp: New file.
19002
9549d9c1
AC
19003Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19004
19005 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19006
dc96c6c7 190072000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19008
19009 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19010 Add a RE to accept a non-ascii char if one is ever presented.
19011
b4df4f68
FN
190122000-12-20 Fernando Nasser <fnasser@redhat.com>
19013
297dd0fd 19014 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19015
dc96c6c7 190162000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19017
d63a86f8 19018 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19019 in regexp. One '\' does not suffice on Linux.
19020
4a7bddb6
MC
190212000-12-09 Michael Chastain <chastain@redhat.com>
19022
19023 * gdb.base/break.exp (test_clear_command): Use a marker function
19024 rather than 'main' for the test function. Also move this
19025 test to an execution point where the marker function names are
19026 guaranteed to be bound to functions. (Executing tests after a
19027 'finish' from main runs into name conflicts with local names
19028 in __libc_start_main).
19029
dc96c6c7 190302000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19031
19032 * gdb.base/finish.exp: New test for gdb's "finish" command.
19033 * gdb.base/return2.exp: New test for gdb's "return" command.
19034 * gdb.base/return2.c: New source file for above.
19035
dc96c6c7 190362000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19037
19038 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19039 * gdb.base/miscexprs.exp: Ditto.
19040 * gdb.base/pointers.exp: Ditto.
19041 * gdb.c++/derivation.exp: Ditto.
19042 * gdb.c++/local.exp: Ditto.
19043 * gdb.c++/namespace.exp: Ditto.
19044 * gdb.c++/overload.exp: Ditto.
19045 * gdb.c++/ref-types.exp: Ditto.
19046
dc96c6c7 190472000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19048
19049 * gdb.base/constvars.exp: Test result of "up" command.
19050 * gdb.base/miscexprs.exp: Ditto.
19051 * gdb.base/pointers.exp: Ditto.
19052 * gdb.base/scope.exp: Ditto.
19053 * gdb.c++/derivation.exp: Ditto.
19054 * gdb.c++/local.exp: Ditto.
19055 * gdb.c++/namespace.exp: Ditto.
19056 * gdb.c++/overload.exp: Ditto.
19057 * gdb.c++/ref-types.exp: Ditto.
19058
44097287
FN
190592000-11-22 Michael Chastain <chastain@redhat.com>
19060
19061 * mips_pro.exp: Accept either "middle -> top -> main" or
19062 "middle -> main" in the backtrace, because gcc can optimize
19063 tail calls to jumps. Remove setup_xfail for the hppa case.
19064 Add a comment with the original warning messages from PR 3016,
19065 which was filed in 1993, to preserve them for posterity.
19066
9d2e1bab
ND
190672000-11-17 Nick Duffek <nsd@redhat.com>
19068
19069 * lib/gdb.exp (gdb_test): Override timeout with board info.
19070
1aca8eb7
ND
190712000-11-17 Nick Duffek <nsd@redhat.com>
19072
19073 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19074 the second kill and detach messages.
19075
93076499
ND
190762000-11-17 Nick Duffek <nsd@redhat.com>
19077
19078 * configure.in: Add AC_EXEEXT.
19079 * configure: Regenerate.
19080 * Makefile.in (just-check): Export EXEEXT.
19081 * lib/gdb.exp ($EXEEXT): Import from environment.
19082 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19083 expect "maint dump-me" on Cygwin.
19084 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19085 $EXEEXT.
19086
30e87cd3
ND
190872000-11-17 Nick Duffek <nsd@redhat.com>
19088
19089 * gdb.base/break.exp: Test backtrace and finish from called
19090 function on all platforms, not just HP-UX.
19091
dc96c6c7 190922000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19093
19094 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19095 code from gdb_target_monitor, so it can be used independantly
19096 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19097
dc96c6c7 190982000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19099
19100 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19101 * gdb.base/corefile.exp: Expect the message "Program is being
19102 debugged already" when we send the "corefile" command, since
19103 the preceeding gdb_load may have connected gdb to a remote target.
19104 * gdb.base/display.exp: Disable hardware watchpoints if new
19105 board info variable "no_hardware_watchpoints" is true.
19106 Replace single-letter commands with more readable ones.
19107 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19108 if new board info variable "no_hardware_watchpoints" is true.
19109 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19110 to see if stdio (printf) testing is possible.
19111 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19112 board info variable "no_hardware_watchpoints" is true. Use new
19113 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19114
39124dea
FN
191152000-11-13 Fernando Nasser <fnasser@redhat.com>
19116
19117 From Orjan Friberg <orjanf@axis.com>:
19118 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19119 in array print pattern match.
19120
a9e2e984
FN
191212000-11-09 Fernando Nasser <fnasser@redhat.com>
19122
19123 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19124 spelling "cancelled" to U.S. spelling "canceled" to match changes
19125 made to gdb.
19126 * gdb.c++/ovldbreak.exp: Ditto.
19127
c7db355b
PS
191282000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19129
19130 * gdb.base/callfuncs.c (main): Moved to end of file, call
19131 t_double_values to initialize the FPU before inferior calls are made.
19132 * gdb.base/callfuncs.exp: Test for register preservation after calling
19133 inferior functions. Add tests for continuining, finishing and
19134 returning from a stop in a call dummy.
19135
dc96c6c7 191362000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19137
19138 * gdb.base/commands.exp: Break up long lines, and re-indent.
19139
dc96c6c7 191402000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19141
19142 * config/gdbserver.exp: Rewritten from the ground up, to make it
19143 compatible with the current dejagnu tree, and to make it work with
19144 the new "gdbserver" in libremote.
19145
dc96c6c7 191462000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19147
19148 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19149 * gdb.base/varargs.exp: Skip entire test if no printf support.
19150 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19151 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19152
dc96c6c7 191532000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19154
19155 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19156 no floating point support.
19157 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19158 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19159 * gdb.base/call-rt-st.exp: Ditto.
19160 * gdb.base/call-strs.exp: Ditto.
19161
bac5fc66
JG
191622000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19163
19164 * gdb.base/sizeof.c: include <stdio.h>.
19165
19166 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19167 'finish', otherwise uncaptured gdb_prompt would potentially
19168 throw remaining test points out of sync.
bac5fc66 19169
b22a6027
SB
191702000-07-26 Scott Bambrough <scottb@netwinder.org>
19171
19172 * gdb.base/recurse.exp: Run tests for all targets.
19173 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19174 gnu-oldld case on ARM.
19175 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19176 for ARM targets.
d63a86f8 19177
d8231941
AG
19178Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19179
19180 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19181 * gdb.java/configure: Rebuild.
19182
8caabe69
AG
19183Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19184
19185 * gdb.java/jv-exp.exp: New file.
19186
9d273ca3
AG
19187Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19188
19189 * configure: Rebuilt.
19190 * configure.in (configdirs): Add gdb.java.
19191 * gdb.java/jmisc.java: New file.
19192 * gdb.java/jmisc.exp: New file.
19193 * gdb.java/Makefile.in: New file.
19194 * gdb.java/configure: Rebuilt.
19195 * gdb.java/configure.in: New file.
19196 * lib/java.exp: New file.
19197
4f823a66
AC
19198Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19199
19200 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19201 underflow.
4f823a66 19202
2391e11d
AC
19203Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19204
19205 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19206 and the compilers sizes.
2391e11d 19207
54602222
ND
192082000-07-09 Nick Duffek <nsd@redhat.com>
19209
19210 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19211 (use_methods): New function.
19212 (main): Call use_methods().
19213 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19214 (do_tests): Call test_method_param_class.
19215
2bec0572
ND
192162000-07-09 Nick Duffek <nsd@redhat.com>
19217
19218 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19219 spelling.
19220 (test_enums): New procedure. Move enum tests from end of script
19221 to here. Set breakpoint on function name instead of line number.
19222 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19223 (enums2): New marker function.
19224 (enums1): New function.
19225 (main): Call enums1(). Move enum tests to enums1().
19226
78492fde
AC
19227Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19228
19229 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19230 compile/link program. Update line numbers.
78492fde
AC
19231 * gdb.asm/d10v.inc: Define ``startup''.
19232 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19233
49a2cef8
AC
19234Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19235
19236 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19237
3e6c8688
EZ
192382000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19239
19240 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19241 of 'help maint print' command.
3e6c8688 19242
9ff5cbe9
AC
19243Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19244
19245 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19246 they use gdb_expect_list.
9ff5cbe9 19247
17c579bd
AC
19248Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19249
19250 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19251 memory-read-packet-size'' instead of ``set endian big'' to test
19252 long commands.
17c579bd 19253
e6d71bf3
DB
192542000-06-03 Daniel Berlin <dan@cgsoftware.com>
19255
19256 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19257 g++, and stop skipping them.
e6d71bf3
DB
19258
19259 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19260 work under g++.
19261
d63a86f8 19262 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19263 initialization.
19264
dc96c6c7 192652000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19266
19267 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19268 the regular expression: accept an (almost) arbitrary sequence of
19269 "frames-invalid" and "breakpoints-invalid" messages both before
19270 and after the "starting" message.
19271
dc96c6c7 192722000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19273
19274 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19275
dc96c6c7 192762000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19277
19278 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19279 Relax the regular expression a little, make it pass on Solaris 8.
19280
8216cda9
KB
192812000-05-12 Kevin Buettner <kevinb@redhat.com>
19282
19283 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19284 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19285 Instead, it is permissible for gdb to stop on the line of the
19286 call itself.
19287
1a570b2f
MS
192882000-05-12 Michael Snyder <msnyder@.cygnus.com>
19289
19290 * gdb.base/break.exp (bp on small function, optimized file):
19291 Add a second pass pattern. The behavior differs here between stabs
19292 and dwarf for one-line functions. Stabs preserves two line symbols
19293 (one before the prologue and one after) with the same line number,
19294 but dwarf regards these as duplicates and discards one of them.
19295 Therefore the address after the prologue (where the breakpoint is)
19296 has no exactly matching line symbol, and GDB reports the breakpoint
19297 as if it were in the middle of a line rather than at the beginning.
19298
dc96c6c7 192992000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 19300
d63a86f8 19301 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
19302 rather than "send_gdb" (for consistancy).
19303
7d418785
AC
19304Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19305
19306 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19307 * gdb.c++/templates.cc: Properly check for GCC version number.
19308 * lib/compiler.cc: Likewise
19309
dc96c6c7 193102000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 19311
d63a86f8 19312 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
19313 gdb may not stop at the first line of main, due to code motion.
19314
dc96c6c7 193152000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
19316
19317 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19318 This test depends on parsing the printf output from the target.
19319 Since the sparclet stub doesn't do stdio, this will never work.
19320 * gdb.base/call-rt-st.exp: ditto.
19321 * gdb.base/call-strs: ditto.
19322
dc96c6c7 193232000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
19324
19325 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19326
19327 * gdb.base/ending-run.exp: After connecting to a remote target,
19328 but before running, the target will appear to be in a random
19329 location. Specify both a file and a line for breakpoints.
19330 Also, the function that calls main may be called 'init'
19331 rather than 'start'.
19332
a5a51225
EZ
193332000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19334
19335 * gdb.base/help.exp: Update output for add-symbol-file command.
19336
7930cc7c
FN
193372000-04-10 Fernando Nasser <fnasser@cygnus.com>
19338
19339 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19340 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19341
23e37ab1
C
193422000-04-07 J.T. Conklin <jtc@redback.com>
19343
e93c542c
C
19344 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19345
23e37ab1
C
19346 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19347
591b8fa3
PDM
19348Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19349
19350 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 19351 values that can be represented exactly.
591b8fa3
PDM
19352 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19353 above change, and to not check against the directory part of the source
19354 file name.
19355 (step into print_long_arg_list): Likewise.
19356 (print print_small_structs from print_long_arg_list): Likewise.
19357 (print print_long_arg_list): Likewise.
19358
7a495180
EZ
193592000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19360
30b53638 19361 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 19362
beb998c6
AC
19363Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19364
19365 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19366
1c689132
DB
193672000-03-25 Daniel Berlin <dan@cgsoftware.com>
19368
19369 * gdb.base/commands.exp (deprecated_command_test): Add test for
19370 deprecate with no arguments.
19371
c1790a9d
JL
193722000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19373
19374 * gdb.base/break.exp: Add new test for setting breakpoints on
19375 optimized code so we can test breakpoints work even when function
19376 prologues may be optimized away
19377
003ba290
FN
193782000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19379
19380 From David Whedon <dwhedon@gordian.com>
a9c64011 19381 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 19382
6837a0a2
DB
193832000-03-22 Daniel Berlin <dan@cgsoftware.com>
19384
19385 * gdb.base/help.exp: Added test for new apropos command.
19386
b9593231
KB
193872000-03-21 Kevin Buettner <kevinb@redhat.com>
19388
19389 * gdb.base/pointers.c (usevar): New function.
19390 (main): Make sure that global variables v_int_pointer2, rptr,
19391 and y are all referenced someplace in the program by calling
19392 usevar() on them. [Some linkers delete symbols which are
19393 never referenced. The space remains, but there's no way to
19394 get a (symbolic) handle on the variable from the debugger.]
19395
751a959b
EZ
193962000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19397
19398 * gdb.base/printcmds.c: Add typedeffed arrays.
19399
19400 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 19401 procedure to test arrays that are typedef'd.
751a959b 19402
73a93a32
JI
194032000-03-13 James Ingham <jingham@leda.cygnus.com>
19404
19405 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 19406 the library directories.
73a93a32 19407
fb40c209
AC
19408Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19409
19410 * configure.in (configdirs): Add sub directory gdb.mi.
19411 * configure: Re-generate.
19412
19413 * gdb.mi: New directory.
d63a86f8 19414
ee4dd2c9
AC
194152000-02-25 Scott Bambrough <scottb@netwinder.org>
19416
19417 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 19418 a long long value as a double on ARM platforms.
ee4dd2c9 19419
70f0cc22
JB
194202000-02-16 Jim Blandy <jimb@redhat.com>
19421
19422 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19423 default source file is set properly before running this test.
19424
853819b8
EZ
194252000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19426
19427 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 19428 gdbtk/library directory, not in gdbtcl2.
853819b8 19429
dfcd3bfb
JM
194302000-02-04 Jim Blandy <jimb@redhat.com>
19431
19432 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19433 backslash from regexp pattern.
19434
19435 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19436 procedure. Use it to run all the "continue to bp overloaded"
19437 tests. Note that this changes the names of the tests slightly.
19438 If the breakpoint hit message includes a hex PC value, because
19439 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19440 from the real source code, still consider that a pass.
19441
19442 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19443 XFAIL here if the breakpoint message contains a hex address. Note
19444 similar change on 1999-11-02.
19445
19446 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19447
19448 * gdb.base/ptype.exp: Establish a default source file before
19449 calling get_debug_format.
19450
194512000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19452
19453 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19454
8b93c638
JM
194552000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19456
19457 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19458 of successive stepi commands -- while in the prologue we should see
19459 the function entry bracket.
19460
194612000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19462
19463 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19464 reach __change_mode() when stepping through the end of main().
19465
c5394b80
JM
194662000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
19467
19468 * gdb.base/default.exp: Fix expected pattern.
19469 * gdb.base/help.exp: Same.
19470
0d06e24b
JM
194712000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19472
19473 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 19474 Don't use xfail's because that affects only the following test.
d63a86f8 19475
0d06e24b 19476 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 19477 solaris or linux.
0d06e24b
JM
19478
19479 * gdb.base/selftest.exp: Update to reflect changes to main.c.
19480
dc96c6c7 194812000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 19482
d63a86f8 19483 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
19484 "A syntax error" rather than "A parse error". Accept both.
19485
194862000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
19487
19488 * gdb.base/default.exp: Remove OS dependent string from "target
19489 remote" test.
19490 * gdb.base/help.exp: Same for "help target remote" test.
19491
c3f6f71d
JM
194922000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19493
19494 From Jim Kingdon <kingdon@redhat.com>:
19495
19496 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
19497 prompt (cleanup rather than necessity, but still might keep output
19498 from spilling to next test).
c3f6f71d
JM
19499
195002000-01-02 Fred Fish <fnf@cygnus.com>
19501
19502 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19503 AIX, which defines them in <sys/types.h>.
19504
ed9a39eb 195051999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 19506
ed9a39eb 19507 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 19508 float" test.
ed9a39eb
JM
19509
195101999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 19511
ed9a39eb 19512 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
19513
19514 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19515 outermost frame disallowed".
19516
195171999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
19518
19519 * gdb.base/setvar.exp: New tests for setting the value of a struct
19520 with a constant list.
19521
195221999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19523
19524 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19525 require the user to type a cast before setting the value of a struct.
19526
de57eccd
JM
195271999-12-06 Jim Blandy <jimb@cygnus.com>
19528
19529 * gdb.base/default.exp: Expect the new 'info float' command on
19530 all i386 platforms.
19531
19532 * gdb.threads/linux-dp.exp: Expand our ability to recognize
19533 LinuxThreads libraries that don't support debugging.
19534
c2d11a7d
JM
19535Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19536
19537 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
19538 Change the buffer type to ``unsigned char'' to simplify size
19539 arithmetic.
c2d11a7d
JM
19540
19541 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
19542 stub only handles 400-1 byte packets. Verify that the download
19543 worked.
c2d11a7d
JM
19544
195451999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
19546
19547 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19548 tests, using UNRESOLVED for the untested cases. Also, does not wait
19549 for a timeout if the prompt was received before a recognizable pattern.
19550
195511999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
19552
19553 * lib/gdb.exp (gdb_expect_list): Fix spelling.
19554
195551999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19556
19557 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 19558 watchpoints.
c2d11a7d
JM
19559
195601999-11-24 Jason Merrill <jason@casey.cygnus.com>
19561
19562 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19563
19564 * gdb.c++/local.exp: Be more flexible in recognizing local class
19565 name mangling. Don't allow horribly truncated method names.
19566 * gdb.c++/derivation.exp: Expect protected inheritance.
19567 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19568 * gdb.c++/virtfunc.exp: Likewise.
19569 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
19570 when printing a nested enum.
19571
195721999-11-22 Jim Blandy <jimb@cygnus.com>
19573
19574 * gdb.base/step-test.exp: Properly await GDB's response to setting
19575 a breakpoint on the call to large_struct_by_value.
19576
19577 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19578 just because we have debug info for the `start' function.
19579
195801999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
19581
19582 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19583 "Unknown signal" messages, which indicate (on LinuxThreads) that
19584 GDB doesn't know how to debug threads on this system. This is
19585 better than hanging while philosopher 0 dumps chatter into gdb.log.
19586
195871999-11-18 Tom Tromey <tromey@cygnus.com>
19588
19589 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19590
195911999-11-18 Fred Fish <fnf@cygnus.com>
19592
19593 * gdb.base/coremaker2.c: Add sample program for generating
19594 cores that is more self contained than coremaker.c. Eventually
19595 I'll add more code to this and tie it into the testsuite.
19596
4ce44c66
JM
195971999-11-12 Stan Shebs <shebs@andros.cygnus.com>
19598
19599 * gdb.base/dollar.exp: Remove, now in gdb.hp.
19600
196011999-11-10 Jimmy Guo <guo@cup.hp.com>
19602
19603 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 19604 from $srcdir/lib/.
4ce44c66 19605 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 19606 and gdb.c++/.
4ce44c66
JM
19607
19608 * gdb.c++/derivation.exp: remove redundant get compiler info code.
19609
d63a86f8 19610 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
19611 'continue with watch' test point.
19612
196131999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
19614
19615 Merged from p2linux-990323-branch:
d63a86f8 19616
4ce44c66
JM
19617 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19618
11cf8741
JM
19619Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
19620
19621 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 19622 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
19623
19624Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
19625
19626 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 19627 gdb_expect_list.
11cf8741
JM
19628
19629Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
19630
19631 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19632
196331999-11-03 Mark Salter <msalter@cygnus.com>
19634
19635 * gdb.base/break.exp: Fix "stub continue" pattern.
19636
196371999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
19638
19639 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19640
196411999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
19642
19643 * gdb.base/display.exp ("finish"): Add timeout clause.
19644
19645 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19646 plain prompt clause, so this doesn't have to time out in order to
19647 fail.
19648
19649 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 19650 breakpoint hit messages include an address.
11cf8741
JM
19651
19652 * gdb.base/display.exp: Don't forget to escape parens in regular
19653 expressions. Unix regexp notatation sucks.
19654
196551999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19656
19657 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 19658 order for 'signalled' message.
11cf8741 19659
5c44784c
JM
196601999-11-01 Stan Shebs <shebs@andros.cygnus.com>
19661
19662 From Jimmy Guo <guo@cup.hp.com>:
19663 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19664 * gdb.base/annota1.c: Add code for tests to work with.
19665
196661999-10-26 Frank Ch. Eigler <fche@cygnus.com>
19667
19668 * gdb.base/remote.exp: New test for remote downloading settings.
19669 * gdb.base/remote.c: New file with large .data.
19670
917317f4
JM
196711999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
19672
19673 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19674 for LinuxThreads support, merged from the Code Fusion branch.
19675
19676Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
19677
19678 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
19679 containing exp_continue into a while within an expect. Don't
19680 attempt a start more than three times. Check return value from
19681 gdb_load.
d63a86f8 19682
2df3850c
JM
19683Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
19684
19685 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 19686 a pass case.
2df3850c 19687
2acceee2
JM
196881999-10-01 Kevin Buettner <kevinb@cygnus.com>
19689
19690 * gdb.base/break.c (main): Added a statement that we can step
19691 off of.
19692 * gdb.base/break.exp: Added tests for setting a breakpoint
19693 at an offset and stepping onto a breakpoint.
19694
196951999-10-01 Fred Fish <fnf@cygnus.com>
19696
d63a86f8 19697 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
19698 gdb output.
19699
c2c6d25f
JM
197001999-09-18 Jim Blandy <jimb@cris.red-bean.com>
19701
19702 * gdb.base/break.exp: Code locations are in hex, don't forget!
19703 (For HP-UX.)
19704
197051999-09-17 Stan Shebs <shebs@andros.cygnus.com>
19706
19707 * condbreak.exp: Use break.c as test program.
19708 * condbreak.c: Remove, redundant with break.c.
19709
197101999-09-15 Stan Shebs <shebs@andros.cygnus.com>
19711
19712 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 19713 Z-packets if the target needs it.
c2c6d25f
JM
19714
197151999-09-13 James Ingham <jingham@leda.cygnus.com>
19716
19717 * gdb.c++/overload.exp: Added tests for listing overloaded
19718 functions with function pointers in the arg, explicitly calling
19719 out the version you want.
19720
cff3e48b
JM
197211999-09-09 Stan Shebs <shebs@andros.cygnus.com>
19722
19723 * long_long.exp: Add variations of test cases that work for
19724 targets with 16-bit ints and 32-bit doubles.
19725
d4f3574e
SS
197261999-09-08 Stan Shebs <shebs@andros.cygnus.com>
19727
19728 * break.c (main): Compare a possibly-uninitialized argc with an
19729 unlikely value that fits in 16 bits.
19730
197311999-09-07 Stan Shebs <shebs@andros.cygnus.com>
19732
19733 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19734 0xfeeb, don't want negative numbers if ints are 16 bits.
19735
19736 * lib/gdb.exp (skip_cplus_tests): New proc.
19737 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
19738 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19739 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19740 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19741 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19742 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19743 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19744 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
19745
19746 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19747
19748Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
19749
19750 * gdb.base/corefile.exp (up): Allow a parameter to appear
19751 in the frame that we're going up to.
19752
19753 From Jim Blandy <jimb@cygnus.com>:
19754
19755 * gdb.base/default.exp (info float): Expect some output now.
19756
19757 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19758 returning floating-point values to fail on the x86.
19759 * gdb.base/callfwmall.exp (do_function_calls): Same.
19760
19761 * gdb.base/list.exp (test_listsize): Correct expectations for
19762 listing line 1 with listsize 2. Also, listing a single line
19763 works now, as does listing three lines. [Kevin's note: There
19764 were a number of other cases fixed too where the expectations
19765 differed...]
19766
197671999-09-02 Stan Shebs <shebs@andros.cygnus.com>
19768
19769 * gdb.base/selftest.exp: Add case for when version prints as
19770 constant string instead of char pointer.
19771
104c1213
JM
197721999-08-25 Stan Shebs <shebs@andros.cygnus.com>
19773
19774 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 19775 stepping out of main.
104c1213
JM
19776
19777 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19778 G++ used.
19779
19780 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 19781 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
19782
19783 * gdb.c++/ovldbreak.exp: Update match string in test that
19784 includes a warning of multiple breakpoints.
19785
197861999-08-24 Stan Shebs <shebs@andros.cygnus.com>
19787
19788 * gdb.base/display.exp: Improve precision of step-after-finish
19789 added yesterday.
19790
19791 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 19792 test.
104c1213
JM
19793
19794 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19795 configs when using G++, not just hppa*.
19796
197971999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19798
19799 * gdb.base/async.c: New file.
19800 * gdb.base/async.exp: New file.
19801
19802Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
19803
19804 * gdb.base/break.exp: Tweak PA specific tests to properly handle
19805 PA64.
19806
53a5351d
JM
19807Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
19808
104c1213
JM
19809 * gdb.base/display.exp: "finish" can leave us mid-line on many
19810 targets, deal with it. Add a small constant to main, instead of
19811 1000 since main+1000 may not be a valid address in the target.
19812
53a5351d
JM
19813 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19814 on hpux11.
19815
19816 * gdb.base/attach.exp: Handle another hpux11 error message variant
19817 when attaching to a process that does not exist.
19818
198191999-08-19 J.T. Conklin <jtc@redback.com>
19820
19821 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 19822 characters in 'continue to 1241' test.
53a5351d
JM
19823
198241999-08-17 Stan Shebs <shebs@andros.cygnus.com>
19825
19826 * gdb.base/call-ar-st.exp: Add a shorter match case for the
19827 stop in print_long_arg_list, define and use a whitespace
19828 variable in print_small_structs test, add an XFAIL for Solaris.
19829 * gdb.base/dbx.exp: XFAIL func commands until somebody is
19830 interested enough to fix.
19831
7be570e7
JM
198321999-08-13 Keith Seitz <keiths@cygnus.com>
19833
19834 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19835 (dbx_gdb_load): Remove. Use gdb_load instead, since that
19836 proc knows about targets other than the natives.
19837 (test_assign): Use "gdb_run_cmd" to "run" the target.
19838 Check that we've actually hit the breakpoint at main.
19839 When we attempt to assign a value to a local variable, check
19840 that the variable is in the current scope, i.e., don't use
19841 a test with an empty result.
19842
19843Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
19844
19845 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 19846 command.
7be570e7
JM
19847
198481999-08-09 Stan Shebs <shebs@andros.cygnus.com>
19849
19850 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19851 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19852 gdb.compat, gdb.threads-hp.
19853 gdb.hp/configure, gdb.hp/configure.in: New files.
19854 gdb.hp/Makefile.in: Recurse into new subdirs.
19855 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19856 gdb.hp/gdb.objdbg: New directory, tests for debugging info
19857 in object files.
19858 gdb.hp/tools: New directory, aux tools for HP-specific tests.
19859
96baa820
JM
198601999-08-05 Stan Shebs <shebs@andros.cygnus.com>
19861
19862 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 19863 funky printf, remove a bogus p/a test.
96baa820
JM
19864
198651999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19866
19867 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
19868 connected to the target. This is necessary when running not
19869 natively.
96baa820
JM
19870
198711999-08-03 Stan Shebs <shebs@andros.cygnus.com>
19872
19873 * gdb.base/step-test.exp: Removed some extraneous messages.
19874
19875 * gdb.base/long_long.exp: Don't run memory examination tests
19876 on little-endian targets (they will need a different set of
19877 results to match).
19878
198791999-08-02 Stan Shebs <shebs@andros.cygnus.com>
19880
19881 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19882 until somebody decides to fix GDB.
19883
19884 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 19885 constant as "ULL".
96baa820
JM
19886 * gdb.base/long_long.exp: Loosen x/c test, add partial result
19887 matches for a couple x/2 commands.
19888
a0b3c4fd
JM
198891999-07-30 Stan Shebs <shebs@andros.cygnus.com>
19890
19891 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19892 by merging in ref-types2 tests.
19893 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19894
19895 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19896 * gdb.c++/Makefile.in: Add standard actions.
19897 (EXECUTABLES): Rename from PROGS, update list.
19898 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19899 from gdb.hp.
19900 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19901 foo and bar locals.
19902 * gdb.c++/anon-union.exp: Fix tests to match.
19903 * gdb.c++/classes.exp: Run if HP compiler used, add extra
19904 expect matches to handle output variations.
19905 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19906 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 19907 output, add HP alternatives for new and delete prints.
a0b3c4fd 19908 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 19909 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
19910 * gdb.c++/demangle.exp: Use $style when reporting failure.
19911 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19912 * gdb.c++/inherit.exp: Run if HP compiler used, add some
19913 match alternatives.
19914 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 19915 compilers.
a0b3c4fd
JM
19916 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19917 * gdb.c++/method.exp: Add match alternatives.
19918 * gdb.c++/misc.cc: Add bool types.
19919 * gdb.c++/misc.exp: Add tests for bool types.
19920 * gdb.c++/overload.exp: Add xfails.
19921 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19922 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19923 add some more template parameter tests (only for HP currently).
19924 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19925 * gdb.c++/virtfunc.cc: Add return type and value for main.
19926 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19927 match alternatives.
d63a86f8 19928
a0b3c4fd
JM
199291999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19930
19931 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19932
199331999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
19934
19935 * gdb.base/signals.exp: Don't expect getting a backtrace from
19936 within a signal handler to fail on Linux.
19937
199381999-07-29 Stan Shebs <shebs@andros.cygnus.com>
19939
19940 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19941 * lib/gdb.exp: Remove some gratuitious semicolons.
19942 (delete_breakpoints): Increase timeout.
19943 (gdb_expect): Add -notransfer option.
19944 (gdb_test): Use -notransfer option.
19945 (get_compiler_info): Add f77 case.
19946 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 19947 case.
a0b3c4fd
JM
19948 (gdb_preprocess): Call get_compiler.
19949
19950 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19951 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
19952 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19953 gdb.base/long_long.exp, gdb.base/printcmds.exp,
19954 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19955 third arg to gdb_test.
a0b3c4fd
JM
19956 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19957 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 19958 HP-UX xfails, add others.
a0b3c4fd
JM
19959 * gdb.base/completion.exp: Reflect name change of self-test.
19960 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
19961 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19962 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19963 HP failure number.
a0b3c4fd
JM
19964 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19965 useless HP-UX 10.30 references.
19966 * gdb.base/maint.exp: Loosen matches.
19967 * gdb.base/pointers.c (main): Declare more_code.
19968 * gdb.base/pointers.exp: Match on output of a `next'.
19969 * gdb.base/structs.c: Add prototypes.
19970 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19971 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19972
199731999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19974
19975 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 19976 command.
a0b3c4fd
JM
19977
199781999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19979
19980 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19981 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
19982
19983 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
19984 debug info. Deal with lack of signal hanlder info in stack.
19985
a9c64011 19986 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
19987 * gdb.base/annota1.exp: If printf has debug info, deal with it.
19988
5a2468f5
JM
199891999-07-19 Stan Shebs <shebs@andros.cygnus.com>
19990
19991 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 19992 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 19993
adf40b2e
JM
19994Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19995
19996 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 19997 a1-selftest.exp.
adf40b2e
JM
19998 * gdb.base/configure: Re-generate.
19999
200001999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20001
20002 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20003 in trying to run first and name is too long.
20004
20005 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20006 pointers2.c and pointers2.exp, respectively.
20007 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20008 doschk happier.
20009
43e526b9
JM
200101999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20011
20012 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20013 callfuncs2.c and callfuncs2.exp.
20014
20015 * gdb.base/list.exp: Remove mistaken xfails.
20016 * gdb.base/list0.h: Add optional prototypes.
20017
9846de1b
JM
20018Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20019
a9c64011 20020 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20021 calling malloc.
a9c64011
AS
20022 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20023 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20024 use.
9846de1b
JM
20025
200261999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20027
20028 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20029 * gdb.base/annota2.cc, annota2.exp: Move from here.
20030 * gdb.c++/annota2.cc, annota2.exp: To here.
20031 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20032
43ff13b4
JM
20033Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20034
20035 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20036 a consistent format.
43ff13b4 20037
085dd6e6
JM
200381999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20039
20040 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20041 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20042 HP compilers, also set the globals $true and $false.
20043
20044 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20045 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20046 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20047 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20048 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20049 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20050 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20051 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20052 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20053 whatis.c} Add C++ compatible function definitions and return
20054 types, add includes for library functions.
085dd6e6
JM
20055 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20056 * gdb.base/step-test.c (myglob): Rename from glob.
20057 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20058 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20059 files, move here from gdb.hp.
085dd6e6 20060 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20061 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20062 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20063 Adjust line numbers in regexps.
085dd6e6
JM
20064
20065 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20066 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20067 instead of 0/1.
20068
20069 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20070 foll-vfork.exp: New files, move here from gdb.hp.
20071 * gdb.base/page.exp: New file, test of pagination command.
20072
20073 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20074 recursion test.
20075 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20076
20077 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20078 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20079
20080 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20081 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20082 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20083 watchpoint test.
085dd6e6
JM
20084 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20085 them work.
20086 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20087 expressions properly.
20088 * gdb.base/corefile.exp: Loosen the match slightly.
20089 * gdb.base/default.exp: Allow "Error accessing memory" message
20090 also.
20091 * gdb.base/display.exp: Skip over x/0 j if PA64.
20092 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20093 * gdb.base/interrupt.exp: Ditto.
20094 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20095 in use.
20096 * gdb.base/list.exp: Add xfails for HP-UX.
20097 * gdb.base/long_long.exp: Refine some of the numeric matches.
20098 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20099 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20100 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20101 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20102 * gdb.base/ptype.exp: Succeed on more varieties of output.
20103 * gdb.base/scope.exp: Add xfails for HP-UX.
20104 * gdb.base/sect-cmd.exp: Add more cases.
20105 * gdb.base/setvar.exp: Add xfails for HP-UX.
20106 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20107 * gdb.base/signals.exp: Match on void symbolically.
20108 * gdb.base/step-test.exp: Add case for PA64.
20109 * gdb.base/term.exp: Add exit and restart.
20110 * gdb.base/twice.exp: Clean up after self.
20111 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20112 * gdb.base/whatis.exp: Allow more ways to pass tests.
20113
20114 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20115 no longer useful.
085dd6e6
JM
20116
20117Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20118
20119 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20120 list of patterns.
085dd6e6 20121 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20122 print_double_array(double_array)", "continuing to breakpoint
20123 1018", "print print_double_array(array_d)" and "continuing to
20124 1034" tests.
d63a86f8 20125
085dd6e6
JM
201261999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20127
a9c64011 20128 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20129
201301999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20131
20132 * config/mt-*: Remove, these haven't been used since 1996.
20133
201341999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20135
20136 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20137 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20138 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20139
9e0b60a8
JM
201401999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20141
20142 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20143 simpler match case for the ptype of the big class.
20144
201451999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20146
20147 * gdb.exp: Fix test for gdb_prompt existence.
20148
201491999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20150
20151 * gdb.exp (gdb_test): Add fail after calls to perror.
20152
201531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20154
20155 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20156
201571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20158
20159 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20160
0f71a2f6
JM
20161Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20162
20163 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20164 malloc() is linked in.
0f71a2f6
JM
20165
201661999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20167
20168 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20169 step at end.
20170
20171 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20172
201731999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20174
20175 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20176
cce74817
JM
20177Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20178
20179 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20180 * gdb.base/mips_pro.exp: Likewise.
20181
201821999-06-02 Keith Seitz <keiths@cygnus.com>
20183
20184 * gdb.c++/templates.cc: Change all "new" operators to throw
20185 an exception.
20186 * gdb.c++/cplusfuncs.cc: Likewise.
20187
20188 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20189
20190Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20191
20192 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20193 * gdb.base/ending-run.exp: When stepping out of main, accept a
20194 step into an arbitrary assembler file.
cce74817 20195
392a587b
JM
201961999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20197
d63a86f8 20198 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20199 "breakpoint-invalid" to be printed.
d63a86f8 20200 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20201 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20202 * gdb.base/annota2.cc: Initialize a.x to 0.
20203
9e086581
JM
202041999-05-17 Keith Seitz <keiths@cygnus.com>
20205
20206 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20207 when "skip_float_tests" set.
20208 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20209 "print print_ten_doubles", and "step into print_long_arg_list".
20210 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20211 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20212 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20213 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20214 "skip_float_tests" is set.
20215 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20216 when "skip_float_tests" set.
d63a86f8 20217
cd0fc7c3
SS
202181999-05-06 Keith Seitz <keiths@cygnus.com>
20219
20220 * gdb.base/annota2.cc: Include stdio.h.
20221
20222Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20223
20224 * gdb.base/crossload.exp: Remove, this has been disabled ever
20225 since BFD stopped including all targets, and cross-GDB gets
20226 plenty of testing anyway.
20227 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20228 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20229 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20230 * gdb.base/README: Remove, was doc for this.
20231 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20232 needed.
cd0fc7c3 20233
b83266a0
SS
202341999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20235
20236 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20237 output.
20238
20239 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20240 * gdb.base/annota2.exp: New file. More annotation tests.
20241 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20242 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20243
202441999-04-23 Angela Marie Thomas <angela@cygnus.com>
20245
20246 * config/cfdbug.exp: New file.
20247
7a292a7a
SS
202481999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20249
20250 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20251 Marcus Daniel's and Dale Hawkins's demangler crashes.
20252
20253 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20254 test_lucid_style_demangling, test_arm_style_demangling,
20255 test_hp_style_demangling): Try Tom Tromey's core-dumping
20256 identifier under each demangling style.
7a292a7a
SS
20257
202581999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20259
20260 * gdb.c++/demangle.exp: Include the current demangling style
20261 in all test names.
20262 (current_demangling_style): New global variable.
20263 (set_demangling_style, test_demangling_core, test_demangling,
20264 test_demangling_exact): New functions.
20265 (test_gnu_style_demangling, test_lucid_style_demangling,
20266 test_arm_style_demangling, test_hp_style_demangling): Use those,
20267 instead of calling gdb_test and gdb_test_exact directly.
20268 (catch_demangling_errors): New function, which reports errors
20269 signalled by the demangling test functions in an orderly way.
20270 (do_tests): Use catch_demangling_errors.
20271
202721999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20273
20274 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20275 grouping in expressions, not {}.
7a292a7a
SS
20276
20277 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20278 initialized yet.
7a292a7a
SS
20279
202801999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20281
20282 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20283 are listed.
20284
202851999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20286
20287 * gdb.stabs/weird.exp: Test for CC being defined before
20288 looking at its value.
20289
202901999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20291
20292 * gdb.base/call-ar-st.exp: Remove stray '#'.
20293 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20294 "short int" and "long int".
20295 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 20296 change, to mollify finicky HP compiler.
7a292a7a
SS
20297 * gdb.hp/reg-test.exp (testfile): Fix file name.
20298 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 20299
7a292a7a
SS
20300 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20301 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20302 alternate form of enum ptype.
20303
c906108c
SS
203041999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20305
7a292a7a
SS
20306 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20307 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
20308 passing skip_hp_tests, so as not to waste time on guaranteed
20309 failure.
7a292a7a 20310
c906108c
SS
20311 * gdb.c++/overload.cc: Pass string instead of char addr, always
20312 init ccpfoo.
20313 * gdb.c++/templates.cc: Fix syntax error.
20314
7a292a7a
SS
20315Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20316
20317 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 20318 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
20319 command.
20320
203211999-03-18 James Ingham <jingham@cygnus.com>
20322
20323 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20324
20325 * gdb.c++/method.exp: It was testing an uninitialized int on the
20326 stack and assuming it was positive.
20327
20328 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20329
20330 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 20331 keep it from killing the rest of the tests.
7a292a7a
SS
20332 Use gdb_continue_to_end.
20333
20334 * gdb.base/sigall.exp: use gdb_continue_to_end.
20335
20336 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20337
20338 * gdb.base/display.exp: use runto_main, not run.
20339
d63a86f8
RM
20340 * gdb.base/default.exp: Check for the current error message in the
20341 r abbreviation test.
7a292a7a
SS
20342 Add strongarm to the targets that know info float.
20343
d63a86f8 20344 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
20345 run which doesn't work with monitors.
20346
20347 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20348
20349 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20350
20351 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
20352 program. Traps the case (in Cygmon) when the program never really
20353 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
20354 more places, so I used my name. Sorry Mark...
20355
20356 * config/monitor.exp (gdb_target_monitor): added another
20357 target_info parameter: remotebinarydownload. This will set the
20358 remotebinarydownload flag if this is causing some boards trouble.
20359
203601999-03-18 Mark Salter <msalter@cygnus.com>
20361
20362 * lib/gdb.exp (continue_to_exit): New function.
20363
20364 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20365 * gdb.base/ending-run.exp: Ditto.
20366 * gdb.base/step-test.exp: Ditto.
20367
203681999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20369
20370 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20371 (suggested by Art Haas <ahaas@neosoft.com>).
20372
203731999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20374
889bf7c5 20375 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
20376
20377Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20378
20379 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 20380 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
20381
203821999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20383
20384 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20385 a call to strlen; sometimes we do have sources.
20386
203871999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
20388
20389 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 20390 character, so GDB won't print garbage after its end.
d63a86f8 20391
c906108c
SS
20392 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20393 breakpoint there instead. Sometimes GCC emits memcpy to handle
20394 the large structures being passed by value, so we step into that
20395 instead of sum_array_print, which obscures what we're really testing.
20396 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
20397 the bizarre steps into memcpy, so do that here. Add check for
20398 stepping into function calls that pass large structures by value.
20399 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
20400 Remove all references to specific line numbers.
20401 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20402 New type and function.
20403 (main): Call large_struct_by_value, passing it a large struct by value.
20404 * lib/gdb.exp (gdb_get_line_number): New function.
20405
20406 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20407 more portable.
20408
7a292a7a
SS
204091999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20410
c906108c
SS
20411 * lib/gdb.exp: Doc fixes.
20412
7a292a7a
SS
204131999-03-05 Nick Clifton <nickc@cygnus.com>
20414
d63a86f8 20415 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
20416
204171999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20418
c906108c 20419 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
20420 commands. They're not germane to this test, and they don't work
20421 that way on remote targets.
c906108c 20422
3fc11d3e
JM
204231999-03-01 James Ingham <jingham@cygnus.com>
20424
20425 * Changelog entries merged over from gdb development branch.
20426
3fc11d3e
JM
20427 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20428
20429 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20430 for outputting results of test run.
20431
2d4a1622 20432 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
20433
20434 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 20435
7a292a7a
SS
204361999-02-25 Felix Lee <flee@cygnus.com>
20437
20438 * lib/gdb.exp (debug_format): initialize
20439
c906108c
SS
204401999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20441
20442 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20443 * gdb.base/call-rt-st.c: Ditto.
20444
c906108c
SS
204451999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20446
20447 * gdb.threads/pthreads.exp (horiz): New variable.
20448 (test_startup): Fix regexps that capture thread numbers.
20449
204501999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20451
20452 * gdb.base/smoke.exp: Disambiguate two test case names (both
20453 called ``print'').
20454
20455Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20456
20457 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 20458 compilation.
c906108c
SS
20459
204601999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20461
20462 * gdb.base/miscexprs.exp: Change patterns to match GDB's
20463 actual output formatting.
20464 * gdb.base/smoke.exp: GDB removes leading 0's.
20465 * gdb.base/volatile.exp: Don't check type of remuneration;
20466 that variable is no longer defined in constvars.c.
20467 * gdb.base/step-test.c (main): Exit with explicit exit code.
20468 * gdb.base/step-test.exp: Remove two nexti checks--they are
20469 not portable.
20470
204711999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20472
20473 * gdb.base/help.exp ("help delete display"): Fix test to match
20474 gdb's output.
20475
20476 * gdb.base/long_long.c (known_types): Initialize values to zero.
20477 * gdb.base/long_long.exp: Step one more line
20478 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
20479 leading zeros. Explicitly ask for hex formatting. Use
20480 unique test case names.
c906108c
SS
20481
20482Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20483
d63a86f8 20484 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
20485
20486 * gdb.c++/method.exp: Add missing close brace.
20487
204881999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20489
20490 * gdb.base/maint.exp: Use 'set height 0' to disable page
20491 prompting, not 'set height 400'.
20492
20493 Fix a bunch of timeouts.
20494 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20495 four separate tests, so expect doesn't take forever to match a ton
20496 of text against a regexp with lots of .* forms.
20497 ("maint print psymbols", "maint print symbols"): Make some of
20498 these greps more selective, so that expect doesn't try to wade
20499 through huge piles of output and time out.
20500
20501 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20502
20503 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
20504 tests: one which doesn't expect shlib events to be reported, and
20505 another which does, but is XFAIL for all platforms other than
20506 HP/UX.
c906108c
SS
20507
20508 * gdb.base/break.exp: Teach the test suite that the `catch
20509 fork', `catch vfork', and `catch exec' commands produce error
20510 messages on platforms that don't provide these features.
20511
20512Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20513
20514 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
20515 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20516 (shortening names from solib_threshold.exp etc), won't run on
20517 anything but HP-UX for the foreseeable future.
c906108c 20518 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 20519 reflect move.
c906108c
SS
20520
20521Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
20522
20523 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 20524 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
20525
20526Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
20527
20528 * gdb.base/shlib-call.exp: add test cases to verify that gdb
20529 successfully re-sets breakpoints in shared libraries.
20530 * gdb.base/shmain.c (main): return 0, don't fall off the end.
20531
20532Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20533
d63a86f8
RM
20534 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20535 and compiled w/o GCC.
c906108c
SS
20536
20537 * gdb.hp/watch-cmd.exp: ditto.
20538
20539 * gdb.hp/watch-hp.exp: ditto.
20540
20541 * gdb.hp/xdb1.exp: ditto.
20542
20543 * gdb.hp/xdb2.exp: ditto.
20544
20545 * gdb.hp/dbx.exp: ditto.
20546
20547Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
20548
20549 * constvars.c: Remove C++-isms.
20550 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 20551 with GCC.
c906108c
SS
20552
20553Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
20554
20555 The following changes are part of the HP merge.
20556
20557 * gdb.base/break.exp: new tests to verify that catchpoints for
20558 fork, vfork, and exec don't trigger inappropriately.
20559
20560 * gdb.base/opaque.exp: compile one file at a time, then link.
20561
20562 * gdb.base/signals.exp: be more restrictive about which hppa
20563 systems receive a setup_xfail. new tests.
20564
20565 * gdb.base/solib_threshold.build: new file.
20566 * gdb.base/solib_threshold.exp: new file.
20567 * gdb.base/solib_threshold.link_opts: new file.
20568 * gdb.base/solib_threshold.mk: new file.
20569 * gdb.base/gen_solib_threshold.c: new file.
20570
20571 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20572 tests. New tests for enums inside classes.
20573
20574 * gdb.c++/compiler.cc: indicate support of template debugging.
20575
20576 * gdb.c++/demangle.exp: run hp style demangling tests.
20577
20578 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20579 tests.
20580
20581 * gdb.c++/misc.cc: changes to support new tests.
20582
20583 * gdb.c++/templates.cc: changes to support HP's compiler; changes
20584 to support new tests.
20585
20586 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20587 gcc, then skip these tests.
20588
20589Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
20590
20591 The following files are part of the HP merge; some had longer
20592 names at HP, but have been renamed to be no more than 14
20593 characters in length.
20594
20595 * gdb.hp/ambiguous.cc: new file.
20596 * gdb.hp/ambiguous.exp: new file.
20597 * gdb.hp/attach.exp: new file.
20598 * gdb.hp/attach2.exp: new file.
20599 * gdb.hp/classes-hp.exp: new file.
20600 * gdb.hp/ctti.exp: new file.
20601 * gdb.hp/ctti-add.cc: new file.
20602 * gdb.hp/ctti-add1.cc: new file.
20603 * gdb.hp/ctti-add2.cc: new file.
20604 * gdb.hp/ctti-add3.cc: new file.
20605 * gdb.hp/dbx.exp: new file.
20606 * gdb.hp/exception.cc: new file.
20607 * gdb.hp/exception.exp: new file.
20608 * gdb.hp/foll-exec.c: new file.
20609 * gdb.hp/foll-exec.exp: new file.
20610 * gdb.hp/foll-fork.c: new file.
20611 * gdb.hp/foll-fork.exp: new file.
20612 * gdb.hp/foll-vfork.c: new file.
20613 * gdb.hp/foll-vfork.exp: new file.
20614 * gdb.hp/inherit-hp.exp: new file.
20615 * gdb.hp/more-steps.exp: new file.
20616 * gdb.hp/namespace.cc: new file.
20617 * gdb.hp/namespace.exp: new file.
20618 * gdb.hp/optimize.exp: new file.
20619 * gdb.hp/pxdb.c: new file.
20620 * gdb.hp/pxdb.exp: new file.
20621 * gdb.hp/quicksort.exp: new file.
20622 * gdb.hp/reg-test.exp: new file.
20623 * gdb.hp/reg-test.s: new file.
20624 * gdb.hp/sized-enum.c: new file.
20625 * gdb.hp/sized-enum.exp: new file.
20626 * gdb.hp/start-stop.exp: new file.
20627 * gdb.hp/templ-hp.cc: new file.
20628 * gdb.hp/templ-hp.exp: new file.
20629 * gdb.hp/thr-lib.c: new file.
20630 * gdb.hp/thr-lib.exp: new file.
20631 * gdb.hp/thr-lib.h: new file.
20632 * gdb.hp/thr-liblib.c: new file.
20633 * gdb.hp/virtfun-hp.c: new file.
20634 * gdb.hp/virtfun-hp.exp: new file.
20635 * gdb.hp/watch-cmd.exp: new file.
20636 * gdb.hp/watch-hp.exp: new file.
20637 * gdb.hp/xdb1.exp: new file.
20638 * gdb.hp/xdb2.exp: new file.
20639 * gdb.hp/xdb3.exp: new file.
20640
20641Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
20642
20643 The following files are part of the HP merge; some had longer
20644 names at HP, but have been renamed to be no more than 14
20645 characters in length.
20646
20647 * gdb.base/ss.h: new file.
20648 * gdb.base/call-ar-st.c: new file.
20649 * gdb.base/call-ar-st.exp: new file.
20650 * gdb.base/call-rt-st.c: new file.
20651 * gdb.base/call-rt-st-exp: new file.
20652 * gdb.base/call-strs.exp: new file.
20653 * gdb.base/ena-dis-br.exp: new file.
20654 * gdb.base/environ.exp: new file.
20655 * gdb.base/long_long.exp: new file.
20656 * gdb.base/sect-cmd.exp: new file.
20657 * gdb.base/shlib-cl2.exp: new file.
20658 * gdb.base/smoke.exp: new file.
20659 * gdb.base/so-impl-ld.c: new file.
20660 * gdb.base/so-impl-ld.exp: new file.
20661 * gdb.base/so-indr-cl.c: new file.
20662 * gdb.base/so-indr-cl.exp: new file.
20663 * gdb.base/varargs.exp: new file.
20664 * gdb.base/volatile.exp: new file.
20665 * gdb.base/whatis-exp.exp: new file.
7a292a7a 20666 * gdb.base/display.exp: new file.
c906108c
SS
20667 * gdb.c++/derivation.exp: new file.
20668 * gdb.c++/local.exp: new file.
20669 * gdb.c++/member-ptr.exp: new file.
20670 * gdb.c++/overload.exp: new file.
20671 * gdb.c++/ovldbreak.exp: new file.
20672 * gdb.c++/ref-types.exp: new file.
20673 * gdb.c++/ref-types2.exp: new file.
20674 * gdb.c++/userdef.exp: new file.
d63a86f8 20675
c906108c
SS
20676Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
20677
20678 * gdb.base/default.exp: Reflect wording change in remote.c.
20679
dc96c6c7 20680Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20681
20682 * gdb.base/help.exp: Update to reflect current text.
20683
20684Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
20685
20686 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20687 they're stack variables and contain garbage.
20688 * gdb.c++/anon-union.exp: new file.
20689
20690 The following changes were made by David Taylor
889bf7c5
PA
20691 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20692 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20693 in changes by HP.
c906108c
SS
20694
20695 * gdb.base/bitops.exp: new file.
20696 * gdb.base/default.exp: change expected messages for catch and
20697 info catch tests to reflect HP merge changes.
20698 * gdb.base/enable-disable-break.exp
20699 * gdb.base/ending-run.c: new file.
20700 * gdb.base/long_long.c: new file.
20701 * gdb.base/maint.exp: new file.
20702 * gdb.base/pointers2.exp: new file.
20703 * gdb.base/shlib-call2.exp: new file.
20704 * gdb.base/solib.exp: new file.
20705 * gdb.base/step-test.c: new file.
20706 * gdb.c++/anon-union.cc: new file.
20707 * gdb.c++/local.cc: new file.
20708 * gdb.c++/member-pointer.cc: new file.
20709 * gdb.c++/method.cc: new file.
20710 * gdb.c++/ref-types.cc: new file.
20711 * gdb.c++/ref-types2.cc: new file.
20712 * gdb.c++/userdef.cc: new file.
d63a86f8 20713
c906108c
SS
20714 * gdb.base/scope.exp: compile one file at a time, then link.
20715 * gdb.base/langs.exp: ditto.
20716 * gdb.base/list.exp: ditto.
d63a86f8 20717
c906108c
SS
20718Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
20719
20720 The following changes were made by David Taylor
889bf7c5
PA
20721 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20722 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20723 in changes by HP.
d63a86f8 20724
c906108c
SS
20725 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20726 skip tests. When compiling pass c++ flag to gdb_compile.
20727 * gdb.c++/
d63a86f8 20728
c906108c
SS
20729 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20730 test for on hppa*-*-hpux*; use args to see if c++ was specified.
20731 (skip_hp_tests): new function.
20732 (gdb_preprocess): new function.
20733
20734 * configure.in (hpdir): decide whether to configure gdb.hp.
20735 * configure: regenerated.
20736
20737 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20738 to delete on clean.
20739 (EXECUTABLES): update to reflect new additions.
20740 * gdb.base/commands.exp: update message expected.
20741 * gdb.base/default.exp: add copyright notice.
20742 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20743 * gdb.base/help.exp: update messages to reflect current text.
20744 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20745 targets for recurse tests.
20746 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20747 skip this file.
20748
20749 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20750 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20751 compilation.
20752 * gdb.c++/misc.exp: ditto.
20753 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20754 run the tests. tell gdb_compile that it's a c++ compilation.
20755
20756 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 20757
c906108c
SS
20758 * gdb.base/all-bin.exp: new file.
20759 * gdb.base/arithmet.exp: new file.
20760 * gdb.base/assign.exp: new file.
20761 * gdb.base/completion.exp: new file.
20762 * gdb.base/cond-expr.exp: new file.
20763 * gdb.base/condbreak.exp: new file.
20764 * gdb.base/define.exp: new file.
20765 * gdb.base/dollar.exp: new file.
20766 * gdb.base/environment.exp: new file.
20767 * gdb.base/eval-skip.exp: new file.
20768 * gdb.base/jump.exp: new file.
20769 * gdb.base/logical.exp: new file.
20770 * gdb.base/pointers.exp: new file.
20771 * gdb.base/relational.exp: new file.
20772 * gdb.base/section_command.exp: new file.
20773 * gdb.base/whatis-expr.exp: new file.
20774
20775 * gdb.base/all-types.c: new file.
20776 * gdb.base/call-array-struct.c: new file.
20777 * gdb.base/call-return-struct.c: new file.
20778 * gdb.base/call-strings.c: new file.
20779 * gdb.base/callfuncs2.c: new file.
20780 * gdb.base/condbreak.c: new file.
20781 * gdb.base/constvars.c: new file.
20782 * gdb.base/display.c: new file.
20783 * gdb.base/int-type.c: new file.
20784 * gdb.base/jump.c: new file.
20785 * gdb.base/miscexprs.c: new file.
20786 * gdb.base/pointers.c: new file.
20787 * gdb.base/pointers2.c: new file.
20788 * gdb.base/shmain.c: new file.
20789 * gdb.base/shr1.c: new file.
20790 * gdb.base/shr2.c: new file.
20791 * gdb.base/solib.c: new file.
20792 * gdb.base/solib1.c: new file.
20793 * gdb.base/solib2.c: new file.
20794 * gdb.base/varargs.c: new file.
20795 * gdb.c++/derivation.cc: new file.
20796 * gdb.c++/overload.cc: new file.
20797 * gdb.c++/ovldbreak.cc: new file.
20798 * gdb.hp/attach.c: new file.
20799 * gdb.hp/attach2.c: new file.
20800 * gdb.hp/average.c: new file.
20801 * gdb.hp/compiler.c: new file.
20802 * gdb.hp/compiler.cc: new file.
20803 * gdb.hp/execd-program.c: new file.
20804 * gdb.hp/follow-exec.c: new file.
20805 * gdb.hp/follow-fork.c: new file.
20806 * gdb.hp/follow-vfork-and-exec.c: new file.
20807 * gdb.hp/misc-hp.cc: new file.
20808 * gdb.hp/more-steps.c: new file.
20809 * gdb.hp/optimize.c: new file.
20810 * gdb.hp/quicksort.c: new file.
20811 * gdb.hp/run-hp.c: new file.
20812 * gdb.hp/start-stop.c: new file.
20813 * gdb.hp/sum.c: new file.
20814 * gdb.hp/templates-hp.cc: new file.
20815 * gdb.hp/thread-local-in-lib.c: new file.
20816 * gdb.hp/thread-local-in-lib.h: new file.
20817 * gdb.hp/thread-local-in-lib.lib.c: new file.
20818 * gdb.hp/vforked-program.c: new file.
20819 * gdb.hp/virtfunc-hp.cc: new file.
20820 * gdb.hp/watchpoint-hp.c: new file.
20821 * gdb.hp/xdb.c: new file.
20822 * gdb.hp/xdb0.c: new file.
20823 * gdb.hp/xdb0.h: new file.
20824 * gdb.hp/xdb1.c: new file.
20825
20826Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
20827
20828 The following change was made by Edith Epstein
889bf7c5
PA
20829 <eepstein@cygnus.com> as part of a project to merge in changes
20830 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
20831
20832 * gdb.c++/demangle.exp: changed the expected output for some
20833 ARM-style mangling -- removed second reference to datatype.
889bf7c5 20834 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 20835 T1<char>::~T1<char>(void)
c906108c 20836 becomes,
a9c64011
AS
20837 maint demangle __dt__11T1__pt__2_cFv
20838 T1<char>::~T1(void)
c906108c 20839
889bf7c5 20840 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 20841
c906108c
SS
20842Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
20843
20844 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20845 * gdb.trace/backtrace.exp: Likewise.
20846 * gdb.trace/circ.exp: Likewise.
20847 * gdb.trace/collection.exp: Likewise.
20848 * gdb.trace/deltrace.exp: Likewise.
20849 * gdb.trace/infotrace.exp: Likewise.
20850 * gdb.trace/limits.exp: Likewise.
20851 * gdb.trace/packetlen.exp: Likewise.
20852 * gdb.trace/passc-dyn.exp: Likewise.
20853 * gdb.trace/passcount.exp: Likewise.
20854 * gdb.trace/report.exp: Likewise.
20855 * gdb.trace/save-trace.exp: Likewise.
20856 * gdb.trace/tfind.exp: Likewise.
20857 * gdb.trace/tracecmd.exp: Likewise.
20858 * gdb.trace/while-dyn.exp: Likewise.
20859 * gdb.trace/while-stepping.exp: Likewise.
20860
208611998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
20862
20863 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20864
20865Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
20866
20867 From Brendan Kehoe:
20868 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20869 int return types.
20870
20871Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
20872
20873 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 20874 remote dos host testing right.
c906108c
SS
20875
20876Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
20877
20878 * gdb.base/corefile.exp: remove some xfails.
20879
20880Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
20881
20882 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 20883 have different timestamps.
c906108c
SS
20884
20885Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
20886
20887 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 20888 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
20889
20890Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
20891
20892 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 20893 delta.
c906108c
SS
20894
20895Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
20896
20897 * gdb.base/default.exp: Add brace missing from previous delta.
20898
20899Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
20900
20901 * gdb.base/default.exp: Support test for info float for all
20902 varieties of arm toolchain.
20903
dc96c6c7 20904Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20905
20906 * gdb.trace/*.exp: remove "remote_download" command.
20907
dc96c6c7 20908Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20909
20910 * gdb.trace/*.exp: remove -gdwarf from compile.
20911
20912Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
20913
20914 * gdb.trace/configure.in(AC_INIT): typo
20915 * gdb.trace/configure: regenerated
20916
dc96c6c7 20917Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20918
20919 * config/m68k-emc.exp: New file.
20920 * lib/<emc-support.exp trace-support.exp}: New files.
20921 * configure.in: add new test directory gdb.trace.
20922 * gdb.trace/{configure configure.in Makefile.in}: New files.
20923 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20924 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20925 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20926 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20927 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20928 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20929 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 20930
dc96c6c7 20931Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20932
20933 * gdb.c++/classes.exp: Change all regular expressions to match
20934 arbitrary combinations of newline/carriage-return, so that they
20935 will work equally well on Unix and Windows.
20936 * gdb.c++/inherit.exp: ditto.
20937 * gdb.c++/virtfunc.exp: ditto.
20938
209391998-08-11 Dawn Perchik <dawn@cygnus.com>
20940
20941 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20942
c2d11a7d
JM
20943Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
20944
20945 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20946 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
20947 to use a0-a3/d0-d3 as needed.
20948
20949Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
20950
20951 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20952 * gdb.disasm/am33.exp: Corresponding changes.
20953
c906108c
SS
209541998-07-11 Felix Lee <flee@cygnus.com>
20955
20956 * gdb.base/callfuncs.exp: add cmp10 test.
20957 * gdb.base/callfuncs.c (cmp10): new function.
20958
20959Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
20960
d63a86f8 20961 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
20962 into two parts to get around a synchronization problem in expect.
20963
3fc11d3e
JM
20964Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
20965
20966 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20967
20968 * configure.in: Add options for gdbtk testsuite.
20969
20970 * configure: Regenerate.
20971
20972 * gdb.gdbtk: New directory to hold gdbtk tests.
20973
c906108c
SS
20974Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20975
20976 * gdb.fortran/types.exp: Escape brackets in expect patterns
20977 for test_float_literal_types_accepted tests.
20978 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
20979 before run test.
20980
c2d11a7d
JM
20981Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
20982
20983 * am33.exp: Just compile, do not link the testcase.
20984 * am33.s: Add ".am33" pseudoop to force am33 mode.
20985
c906108c
SS
209861998-06-25 Felix Lee <flee@cygnus.com>
20987
20988 * gdb.base/setshow.exp: make sure $pc is sane.
20989
20990 * gdb.stabs/weird.exp: split expect patterns properly.
20991
c2d11a7d
JM
20992Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
20993
20994 * gdb.disasm/am33.s: New disassembler testfile for the am33.
20995 * gdb.disasm/am33.exp: Run it.
20996
dc96c6c7 20997Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20998
20999 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21000 match processing (and eliminate spurious timeouts when running).
21001
dc96c6c7 21002Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21003
21004 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21005 exception test, but conditionalize it on target [mach | gnu].
21006
dc96c6c7 21007Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21008
21009 * gdb.base/overlays.exp: fixup compile line for linker script.
21010
21011Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21012
21013 * gdb.fortran/types.exp: don't guess at float size.
21014
21015Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21016
21017 * gdb.base/exprs.exp: delete test that depends on int size.
21018
21019Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21020
21021 * config/sim.exp: Removed checks for target triplets.
21022 (gdb_target_sim): Use gdb,target_sim_options.
21023
21024Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21025
21026 * gdb.base/reread.exp: New file.
21027 * gdb.base/reread1.c: New file.
21028 * gdb.base/reread2.c: New file.
21029
21030Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21031
21032 * config/sim.exp: Use 'target sim -sparclite' when running
21033 SPARClite programs.
21034
21035Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21036
21037 * gdb.base/structs2.exp: New file.
21038 * gdb.base/structs2.c: New file.
21039
21040Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21041
21042 * gdb.asm/common.inc: New file.
21043 * gdb.asm/d10v.inc: New file.
21044 * asm-source.exp: Pass -I's to gas to find .inc files.
21045 Update line numbers in expected output.
21046 * asmsrc1.s: Rewrite.
21047 * asmsrc2.s: Rewrite.
21048 * configure.in: Create arch.inc symlink.
21049 * configure: Regenerate.
21050 * Makefile.in (distclean): Delete arch.inc.
21051
21052Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21053
21054 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21055 (t_enum_value2): ditto
21056 (t_enum_value3): ditto
21057 (main): ditto
c906108c
SS
21058Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21059
21060 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21061 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21062 change.
21063 Use gdb_test instead of send_gdb/gdb_expect sequences.
21064
21065Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21066
21067 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21068 not void.
21069
21070Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21071
21072 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21073 subroutines. Used to test gdbs ability to single step through PC
21074 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21075
21076Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21077
21078 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21079 more rigorous EGCS C++ error checking.
21080
21081Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21082
a9c64011
AS
21083 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21084 tests.
21085 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21086 function when asleep.
21087 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21088 for i*86 Linux and SVR4 signal handling problems.
21089 Remove linux xfail for `next to handler in signals_tests_1', fixed
21090 by recent infrun.c change.
21091 Limit backtrace to 10 frames to avoid timeout problems with infinite
21092 stack backtraces.
21093 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21094 target.[ch] change.
c906108c
SS
21095
21096Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21097
21098 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21099 for a newline from gdb before continuing.
21100 (default_gdb_exit): Just look for y or n.
21101 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21102 it does, fail the rests of the tests in the file.
21103
21104Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21105
21106 * config/cygmon.exp: New file.
21107
21108Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21109
21110 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21111 main" test on remote targets.
c906108c
SS
21112
21113 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21114 run test on remote targets.
21115
21116Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21117
21118 * gdb.asm: New directory.
21119 * configure.in: Configure it.
21120 * configure: Regenerate.
21121 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21122 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21123
21124Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21125
21126 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21127
dc96c6c7 21128Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21129
a9c64011
AS
21130 * gdb.base/overlays (several files): Merge the two overlay
21131 managers into one. Change variables (foox, barx, bazx, grbxx)
21132 back into ints but force them to load in their proper sections.
c906108c
SS
21133
21134Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21135
21136 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21137 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21138 (D10VCopy): Handle memory regions crossing 16k boundaries.
21139 (D10VCopy): Transfer data in 32 bit chunks.
21140
21141Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21142
21143 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21144 correct.
c906108c
SS
21145
21146 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21147 map. Include space for printf in .text segment.
c906108c
SS
21148
21149 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21150 updated d10v memory VMA/LMA map.
c906108c 21151 (D10VCopy): Call D10VTranslate.
d63a86f8 21152
c906108c
SS
21153Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21154
21155 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21156
21157 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21158 that it won't be put into the .sdata - small data -
21159 section. Update reference.
c906108c
SS
21160 * gdb.base/baz.c (bazx, baz): Ditto.
21161 * gdb.base/foo.c (foox, foo): Ditto.
21162 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21163
21164 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21165 to be arrays.
d63a86f8 21166
dc96c6c7 21167Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21168
a9c64011
AS
21169 * gdb.base/overlays.exp: fix up and get working again.
21170 Add tests for backtraces from an overlay function.
d63a86f8 21171
c906108c
SS
21172Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21173
21174 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21175 "calling function with watchpoint enabled".
21176
21177Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21178
21179 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21180 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21181 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21182 pending review of whether it is useful or not.
21183
21184Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21185
21186 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21187
21188Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21189
21190 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21191 * config/dve.exp: New file to support Densan boards.
21192
21193Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21194
21195 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21196 reads and BSD.
c906108c
SS
21197
21198Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21199
21200 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21201 response.
21202
21203 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21204
21205Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21206
21207 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21208 test.
c906108c
SS
21209
21210 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21211 target_sizeof_long and target_bigendian_p.
c906108c 21212 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21213 to targets word size and endianess.
d63a86f8 21214
c906108c
SS
21215Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21216
21217 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21218 output.
c906108c
SS
21219
21220Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21221
21222 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21223 Update test of set args help to match source change.
c906108c
SS
21224
21225Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21226
21227 * gdb.base/default.exp: Expect help system output to be in
21228 alphabetical order.
21229 * gdb.base/help.exp: Ditto.
21230
21231Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21232
21233 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21234 "i*86-pc-linux-gnu*".
21235 * gdb.base/interrupt.exp: Ditto.
21236 * gdb.base/corefile.exp: Ditto.
21237
21238 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21239 define vxworks when building the testcase.
c906108c
SS
21240
21241 * gdb.base/ptype.exp: Fix testnames to be unique.
21242 * gdb.base/radix.exp: Ditto.
21243 * gdb.base/term.exp: Ditto.
21244 * gdb.base/whatis.exp: Ditto.
21245 * gdb.c++/classes.exp: Ditto.
21246
21247Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21248
21249 * gdb.base/callfuncs.exp: Fix indentation.
21250
21251 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21252 suppress_flag has been set.
21253 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21254 target feature.
21255
21256Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21257
21258 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21259 the testcase.
21260
21261 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21262 set_debug_traps() and breakpoint().
c906108c
SS
21263 * gdb.c++/misc.cc (main): Ditto.
21264 * gdb.c++/templates.cc (main): Ditto.
21265 * gdb.c++/virtfunc.cc (main): Ditto.
21266
21267Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21268
21269 * lib/gdb.exp(gdb_step_for_stub): New function.
21270 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21271 exists, reload the executable and do a "continue" instead of
21272 doing a jump.
21273 (runto_main): Use gdb_step_for_stub.
d63a86f8 21274
c906108c 21275 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21276 tests to have unique names.
c906108c
SS
21277 * gdb.base/callfuncs.exp: Ditto.
21278 * gdb.base/commands.exp: Ditto.
21279 * gdb.base/default.exp: Ditto.
21280 * gdb.base/help.exp: Ditto.
21281 * gdb.base/list.exp: Ditto.
21282 * gdb.base/opaque.exp: Ditto.
21283 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21284 similar tests.
d63a86f8 21285
c906108c
SS
21286 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21287 * gdb.c++/cplusfuncs.cc: Ditto.
21288 * gdb.c++/virtfunc.cc: Ditto.
21289
21290 * config/monitor.exp: Keep track of the last file we saw, rather
21291 than trying to get the info from gdb.
21292
21293 * gdb.fortran/types.exp: Move comment to previous line.
21294
21295Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21296
21297 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 21298 target mode.
c906108c
SS
21299
21300Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21301
21302 From Bob Manson:
21303 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 21304 string from GDB when it connects.
c906108c
SS
21305
21306 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21307
21308Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21309
21310 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
21311 if we can't get a debug format from GDB (we may be testing an
21312 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
21313
21314 * gdb.stabs/weird.exp: Fix quoting.
21315
21316 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21317
21318Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21319
21320 * config/arm-ice.exp: New file.
21321
21322Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21323
21324 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 21325 until it has been modified to work with the new testsuite.
c906108c 21326
99707966 21327 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
21328 testcase won't compile, cause all of the testcases in the file to
21329 fail instead.
c906108c
SS
21330
21331 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21332 (gdb_clear_suppressed): New procedure.
21333 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21334 it contains a positive value.
21335
21336Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21337
21338 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21339
21340 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21341
21342Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21343
21344 * lib/gdb.exp (setup_xfail_format): New function.
21345 (get_debug_format): New function to get debug format.
21346 (debug_format): New global variable to hold last value set
21347 by get_debug_format.
21348 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 21349 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
21350 * gdb.c++/ptype.exp: Ditto.
21351 * gdb.c++/classes.exp: Ditto.
21352 * gdb.c++/cplusfuncs.exp: Ditto.
21353 * gdb.c++/inherit.exp: Ditto.
21354 * gdb.c++/templates.exp: Ditto.
21355 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 21356
c906108c
SS
21357Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21358
21359 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21360 host doesn't have a currently-open connection.
21361
21362 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
21363 any gdb stub target. Handle cases where gdb doesn't respond when
21364 interrupted in a sane fashion.
c906108c
SS
21365
21366 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 21367 same thing in a totally different way.
c906108c
SS
21368
21369 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 21370 setting "timeout".
c906108c 21371 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 21372 default_gdb_init now.
c906108c
SS
21373
21374Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21375
21376 * gdb.base/printcmds.exp: Fix "check for floating addition"
21377 regexp to accept results within approx +/- .01 of exact value.
21378 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21379
21380Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21381
21382 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 21383 properly.
c906108c
SS
21384 (gdb_expect): Add optional timeout parameter, and add timeout
21385 value to various calls.
21386 (gdb_suppress_tests): Only give one warning message per group.
21387
21388Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21389
21390 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
21391 global variables. Handle getting a value for $timeout more
21392 gracefully.
c906108c
SS
21393
21394Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21395
21396 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 21397 initialize.
c906108c 21398 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 21399 by a target configuration file.
c906108c
SS
21400 (gdb_expect): Pass the timeout to remote_expect.
21401
21402 * config/monitor.exp(gdb_load): Fix typo in regexp.
21403
21404Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21405
21406 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21407
21408Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21409
21410 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
21411 here. Call gdb_target_exec before rebooting the target, to make
21412 sure the connection to the target is closed.
c906108c
SS
21413 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21414 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21415 Also detect "Timeout reading from remote" error.
21416
21417 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
21418 gdb_target_monitor. Don't call gdb_file_cmd here; let
21419 gdb_target_monitor do it.
c906108c
SS
21420
21421 * gdb.disasm/hppa.exp: Don't use exec_output.
21422
21423Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21424
21425 * gdb.base/list.exp: If we're debugging a non-native target,
21426 try to set the pc register to point to the start of the
21427 program before doing the first list command.
21428
21429 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 21430 test_calls after restarting.
c906108c
SS
21431
21432 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 21433 reloading.
c906108c
SS
21434
21435 * gdb.base/watchpoint.exp: Fix typo.
21436
21437 * gdb.base/setshow.exp: Check for use_gdb_stub.
21438
21439 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 21440 stub case.
c906108c
SS
21441 * gdb.base/langs.exp: Ditto.
21442
21443 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
21444 gdb_load_offset. If we weren't given a file to load, figure out
21445 what the current file is and use it.
c906108c
SS
21446
21447 * config/i386-bozo.exp: New file.
21448
21449Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21450
21451 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21452 feature.
21453
21454 * config/proelf.exp: New entry.
21455
21456Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21457
21458 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21459 of regexps.
21460
21461 * gdb.base/watchpoint.exp: Don't run the test_stepping
21462 tests if gdb can't call functions on the target.
21463
21464 * gdb.base/setshow.exp: Don't run the set prompt tests if
21465 the board has gdb_prompt set.
21466
21467Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
21468
21469 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21470 * gdb.base/commands.exp: Likewise.
21471 * gdb.base/setshow.exp: Likewise.
21472
21473Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
21474
21475 * config/monitor.exp(gdb_start): Look for gdb_prompt target
21476 feature.
21477
21478 * config/i960.exp: New file.
21479
21480Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
21481
21482 * gdb.base/funcargs.exp: Check for gdb,short_int target
21483 feature instead of looking for explicit target triplets.
21484
dc96c6c7 21485Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 21486
d63a86f8 21487 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
21488 "p 123DEADBEEF", to check parse_number.
21489 * top.c: change "to enable to enable" to "to enable" in a couple
21490 of help strings.
21491
21492Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
21493
21494 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21495 on the mn10300.
d63a86f8 21496
c906108c
SS
21497Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
21498
21499 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21500 where the test executable is run with explicit args.
21501 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21502
21503Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
21504
21505 * gdb.base/run.c: Use FAKEARGV to build test executable that
21506 does not require a command line arg, since most simulators
21507 don't currently support passing such an arg into the simulated
21508 program.
21509 * gdb.base/commands.exp: Change tests to insert the proper
21510 value as the arg to the first recursive factorial call. Change
21511 compilation line to define FAKEARGV at compile time.
21512
21513Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
21514
21515 * gdb.base/recurse.exp: Enable these tests for the mn10300.
21516 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21517 function with watchpoint enabled" test.
21518
21519Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
21520
21521 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 21522 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
21523
21524 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 21525 "Tests restarted" messages.
c906108c
SS
21526
21527Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
21528
21529 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21530
dc96c6c7 21531Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21532
21533 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21534 for INFO SYMBOL; add help tests for OVERLAY commands.
21535 * gdb.base/default.exp: add tests for INFO SYMBOL command;
21536 add tests for OVERLAY commands
21537 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21538 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21539 * gdb.base/sigall.c: add usestubs code frag
21540 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 21541
c906108c
SS
21542Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
21543
21544 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21545 failures.
21546 (gdb_stop_suppressing_tests): Note that tests have restarted.
21547
21548Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
21549
21550 * config/h8300.exp: New file.
21551
21552Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
21553
21554 * gdb.base/setshow.exp: Check for the existence of a
21555 feature, not its value.
21556
21557Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
21558
21559 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21560
21561 * gdb.base/scope.exp: It's now init0(), not init().
21562
21563 * gdb.base/scope0.c: For now, change init() to be init0().
21564
21565 * config/monitor.exp: Use gdb_serial in preference to serial
21566 or netport.
21567
21568 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 21569 and it's not already set.
c906108c
SS
21570
21571Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
21572
21573 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 21574 isn't using a stub and if it supports argument passing.
c906108c
SS
21575
21576Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
21577
21578 * config/udi.exp(gdb_start): Make sure UDICONF is set
21579 properly before starting gdb.
21580
21581Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
21582
21583 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21584 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21585 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21586
21587Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
21588
21589 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 21590 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
21591
21592 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21593
21594 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21595
21596 * config/monitor.exp: Make sure we disconnect from the target.
21597 Also, try a reboot/reload cycle instead of failing if the
21598 load fails.
21599
21600Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
21601
21602 * gdb.base/default.exp: Don't set match_max.
21603 * gdb.base/help.exp: Ditto.
21604 * gdb.base/list.exp: Ditto.
21605 * gdb.base/signals.exp: Ditto.
21606
21607 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21608 set, use remote_ld to download the testcase instead of
21609 the GDB loader.
21610
21611Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
21612
21613 * config/vr5000.exp: New file.
21614
21615 * config/monitor.exp(gdb_target_monitor): Add pattern for
21616 "Ending remote" to detect errors in connecting.
21617
21618 * gdb.base/setshow.exp: Add .* within auto language test.
21619
21620 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21621 target feature.
21622
21623 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 21624 and reboot the board if necessary.
c906108c
SS
21625
21626 * gdb.base/setvar.exp(test_set): Handle multiple prints within
21627 a set of tests. Remove print.* from the patterns being checked.
21628
21629Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
21630
21631 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21632 refer to gdb_spawn_id.
21633
21634 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21635 longer used.
21636 * config/sparclet.exp: Ditto.
21637 * config/sparclet-old.exp: Ditto.
21638 * config/slite.exp: Ditto.
21639 * config/sim.exp: Ditto.
21640 * gdb.base/funcargs.exp: Ditto.
21641
21642 * lib/gdb.exp:Remove references to gdb_spawn_id.
21643 (gdb_expect): Move to remote.exp.
21644
21645Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
21646
21647 * config/monitor.exp: Detect the "Couldn't establish connection"
21648 message from GDB.
21649
21650Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
21651
21652 * gdb.base/bitfields.exp: Use runto instead of explicit
21653 gdb_run_cmd/gdb_expect sequences.
21654
21655 * gdb.base/break.exp(text_next_with_recursion): Add match for
21656 gdb_expect call.
21657
21658 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21659 We also need to handle the "A program is being debugged already"
21660 prompt from gdb. Use gdb_test to set the baud rate.
21661
21662 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21663 to 20000. Really. I mean it.
21664
21665Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21666
21667 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
21668 fails. If suppress_flag is set, skip perror message about not
21669 being able to send to GDB.
c906108c 21670 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 21671 GDB.
c906108c
SS
21672 (gdb_expect): If suppress_flag is set, always fail immediately.
21673 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21674 (gdb_init): Call gdb_stop_suppressing_tests.
21675 (default_gdb_exit): Ditto.
21676 (default_gdb_start): Ditto.
21677
21678 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 21679 gdb_stop_suppressing_tests as appropriate.
c906108c 21680 * gdb.base/break.exp: Ditto.
889bf7c5 21681 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
21682 * gdb.base/commands.exp: Ditto.
21683 * gdb.base/exprs.exp: Ditto.
889bf7c5 21684 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
21685 * gdb.base/list.exp: Ditto.
21686 * gdb.base/recurse.exp: Ditto.
889bf7c5 21687 * gdb.base/scope.exp: Ditto.
c906108c
SS
21688 * gdb.base/structs.exp: Ditto.
21689 * gdb.c++/inherit.exp: Ditto.
21690
21691Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
21692
21693 * config/vr4300.exp: New file.
21694
99707966 21695 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 21696
99707966 21697 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
21698
21699Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
21700
21701 * lib/gdb.exp(gdb_init): New function.
21702
21703 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 21704 for each individual variable set.
c906108c
SS
21705
21706 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21707 name.
21708
21709 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21710
21711 * gdb.base/scope.exp: Use gdb_test.
21712
21713 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21714 aborting; the testsuite driver will do that for us (see
21715 gdb_finish). Also, use gdb_test in a few more places.
21716
21717Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
21718
21719 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21720
21721Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
21722
21723 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21724 and "add_tests" are not at the same address.
21725
21726Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
21727
21728 * gdb.base/ptype.exp: Use gdb_test.
21729
21730Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
21731
21732 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21733 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21734 left in. No longer expect them to fail.
21735
21736 * gdb.stabs/*.mt; Deleted, no longer used.
21737 * gdb.stabs/configure.in: Remove references to target makefile
21738 frags.
21739 * gdb.stabs/configure: Rebuilt.
21740
21741 * gdb.disasm/*.mt: Deleted, no longer used.
21742 * gdb.disasm/configure.in: Remove references to target makefile
21743 frags. Use "sh3.s" as the unique filename for this directory.
21744 * gdb.disasm/configure: Rebuilt.
21745
21746 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21747 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21748 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21749
21750Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
21751
21752 * config/udi.exp: Use mondfe,name instead of remote_host.
21753
21754Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
21755
21756 * gdb.base/watchpoint.exp: Don't expect a failure when calling
21757 a function with a watchpoint enabled on the mn10200.
21758
21759 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21760 before trying to create it!
21761
21762Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
21763
21764 * config/vx.exp: Use hostname instead of netport.
21765
21766 * config/vxworks.exp: New file.
21767
21768 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21769
21770 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 21771 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
21772 occurs.
21773
21774 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21775 $gdb_spawn_id directly.
21776 (gdb_run_cmd): Try _start as well as start. Use the target feature
21777 gdb,start_symbol as the symbol to start from when jumping.
21778
21779Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
21780
21781 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21782 redundant) test.
21783
21784 * gdb.base/recurse.exp: Relax final value test for 'b' so that
21785 it doesn't lose for 16bit integer systems.
21786
21787Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
21788
21789 * gdb.fortran/types.exp: If the target doesn't support "double"
21790 data types, then expect "real" types to only be 4 bytes.
21791
21792 * gdb.c++/virtfunc.exp: Expect failure for virtual function
21793 call tests if the target doesn't support inferior function calls.
21794
21795 * gdb.base/printcmds.exp: Allow minor deviation in FP values
21796 in printf tests.
21797
21798Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
21799
21800 * gdb.base/help.exp: Disable "help set", "help show", and
21801 "help support". Simplify regexp for "help stack".
21802
21803 * gdb.base/default.exp: Set match_max to 5000 and the timeout
21804 to 60 seconds. Temporarily set match_max to 15000 around the
21805 "info copying" test.
21806
21807 * gdb.base/nodebug.exp: Don't try to do an inferior function
21808 call if the target doesn't support them.
21809 * gdb.base/printcmds.exp: Likewise.
21810 * gdb.base/setvar.exp: Likewise.
21811 * gdb.base/structs.exp: Likewise.
21812 * gdb.c++/templates.exp: Likewise.
21813 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
21814
21815 * gdb.base/recurse.exp: Enable for the mn10200.
21816
21817 * configure.in: Do configure gdb.stabs directory for *-*-elf
21818 targets.
21819 * configure: Rebuilt.
21820
21821 * gdb.base/break.exp: Check for gdb,noresults before testing
21822 exit status and/or results from the target.
21823 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21824 * lib/gdb.exp: Remove old (now bogus) initialization of
21825 noinferior, noargs, noresults and nosignals.
21826
21827Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
21828
21829 * config/sh.exp: New file.
21830
21831 * config/slite.exp: Try to connect multiple times to the board
21832 before rebooting. Only send a "monitor run" if need_monitor_run
21833 is set.
21834
21835 * gdb.base/break.exp: Don't do the "stub continue" test if
21836 the target has gdb_stub set.
21837
21838 * gdb.base/callfuncs.exp: Increase the timeout.
21839
21840 * gdb.base/interrupt.exp: Don't even try to compile the testcase
21841 if the target has gdb,noinferiorio set.
21842
21843 * gdb.base/list.exp: Increase match_max to 10000 characters.
21844
21845 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21846
21847 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21848 target.
21849
21850 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21851
21852Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
21853
21854 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
21855 trying to delete the copy of gdb. Catch the file delete so we
21856 don't die if the delete fails; also, the file should be copied to
21857 the host, not to the build.
c906108c
SS
21858
21859Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
21860
21861 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 21862 parenthesis in case it contains multiple regexps separated
c906108c
SS
21863 with |.
21864
21865 * gdb.base/watchpoint.exp: Use gdb_test.
21866 * gdb.base/default.exp: Ditto.
21867
21868Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
21869
99707966 21870 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 21871
c906108c
SS
21872 * gdb.base/scope.exp: Use gdb_test.
21873 * gdb.c++/classes.exp: Ditto.
21874 * gdb.c++/inherit.exp: Ditto.
21875
21876Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
21877
21878 * gdb.base/crossload.exp: Don't use execute_anywhere, use
21879 remote_exec instead.
21880 * gdb.base/corefile.exp: Don't be ridiculous.
21881 * gdb.base/*.c: Add missing stub invocations.
21882
21883Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
21884
21885 * config/slite.exp: Miscellaneous fixes.
21886
21887 * lib/gdb.exp: Fix runto.
21888
21889 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21890 the target.
21891
21892 * gdb.base/watchpoint.exp: Fix regexp.
21893
21894 * lib/gdb.exp(default_gdb_exit): Add a catch to the
21895 close and wait commands, as the descriptor may now be
21896 invalid. Always call "remote_close host".
21897
21898Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
21899
21900 Major rewrite for testsuite revision.
d63a86f8 21901
c906108c
SS
21902 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21903 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21904 instead of relying on spawn_id to always contain a valid
21905 spawn id.
21906 (get_compiler_info): New procedure to build the ${binfile}.ci
21907 file, instead of replicating this in N different places.
21908 (gdb_compile): New procedure.
d63a86f8 21909
c906108c 21910 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
21911 appropriate arguments) instead of compile. Use gdb_test in a lot
21912 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
21913 at the start of a testcase, as this is no longer done magically.
21914
21915 config/*-gdb.exp: Rename without the -gdb suffix.
21916
21917 config/mips.exp: Use remote_close instead of exit_remote_shell.
21918 config/monitor.exp: Use target_info instead of looking at
21919 baud, timeout, etc.
21920 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21921
21922Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21923
21924 * gdb.c++/templates.exp (test_ptype_of_templates),
21925 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21926 Update expect patterns for destructors and assignment operators
21927 to match corresponding c-typeprint.c changes.
21928 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
21929 to destructor breakpoint test, GDB should be able to set the
21930 destructor breakpoint without specifying arguments.
21931
21932Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
21933
21934 * gdb.threads/pthreads.exp: Change result for failure to compile due
21935 to lack of pthreads runtime support from an error to simply an
21936 unsupported test, per dejagnu standards.
21937
21938Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21939
21940 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
21941 where GDB exits to reduce pattern match time.
21942 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
21943
21944 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
21945
dc96c6c7 21946Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21947
21948 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21949 * gdb.base/default.exp: ditto.
21950 * gdb.base/nodebug.exp: ditto.
21951 * gdb.base/printcmds.exp: ditto.
21952 * gdb.base/ptype.exp: ditto.
21953 * gdb.base/setvar.exp: ditto.
21954 * gdb.base/structs.exp: ditto.
21955 * gdb.base/setshow.c: Guard against uninitialized values of argc.
21956
21957Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
21958
21959 * configure, */configure: Rebuild with autoconf 2.12.
21960
21961Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
21962
21963 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21964 use new i*86-pc-linux*-gnu quads.
21965 * gdb.base/corefile.exp: Ditto.
21966 * gdb.base/signals.exp: Ditto.
21967 * gdb.base/sigall.exp: Ditto.
21968 * gdb.base/interrupt.exp: Ditto.
21969
21970 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21971 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
21972 RedHat 4.0.
d63a86f8 21973
c906108c 21974 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
21975 linux. This allows the test case to at least compile on latest
21976 linux, but still not run due to missing the threads runtime library.
c906108c
SS
21977
21978Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21979
21980 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
21981 directory to search gdb directory. Accept and step over conditional
21982 stack alignment code. Consume $prompt in failure cases.
21983 Reset timeout to $oldtimeout instead of some arbitrary value.
21984 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
21985 timeout problems with infinite stack backtraces.
21986 * gdb.base/ptype.exp (ptype struct link, union tu_link):
21987 Accept function parameters for linkfunc member.
21988
21989Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
21990
21991 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21992 (CXXFLAGS): Remove, unreferenced.
21993 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
21994 previous -B options and also add -B option to pick up cross compiled
21995 runtime.
c906108c
SS
21996 (TARGET_INCLUDES): Add for -I options and add code to initialize when
21997 doing cross compiles.
21998 (target_alias): Declare global.
21999 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22000 to verify that gcc exists in build tree, and if so set CC to that
22001 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22002
c906108c
SS
22003Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22004
22005 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22006 ptype test for anonymous union. Fixup testcase to match
22007 current gcc debug output.
22008
22009Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22010
22011 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22012 force argument to an unsigned long type.
22013
22014Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22015
22016 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22017 tests and anonymous union print/ptype tests.
c906108c
SS
22018 * gdb.base/list.exp (test_forward-search): Increase timeout by
22019 5 minutes for the "search extremely long line" case.
22020 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22021 completely optional and that the pass/fail messages use the command as
22022 the message if that third arg is a null string.
22023 (gdb_test_exact): Arrange that a null string pattern means match a
22024 null string output rather than any output, which might include random
889bf7c5 22025 errors.
c906108c
SS
22026 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22027 backtrace test.
22028 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22029 always failing and failure is now exposed by gdb.exp changes.
22030
22031Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22032
22033 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22034 weren't being noted.
22035
22036Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22037
22038 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22039 * gdb.stabs/weird.exp: Remove v_comb xfails.
22040
dc96c6c7 22041Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22042
22043 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22044 list.exp scope.exp watchpoint.exp]
c906108c 22045 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22046
dc96c6c7 22047Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22048
22049 * config/monitor.exp: Increase download timeout to 1000 seconds.
22050
dc96c6c7 22051Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22052
22053 * config/m32r.exp: Increase timeout to 120 seconds.
22054
22055Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22056
22057 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22058 and accept older ordering as obsolescent gcc or gdb.
22059 * gdb.c++/templates.exp: Ditto.
22060 * gdb.c++/virtfunc.exp: Ditto.
22061
22062Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22063
22064 * gdb.base/coremaker.c: Add code to mmap some data so we
22065 can check that it ends up in the core file.
22066 * gdb.base/corefile.exp: Add test to read mmapped data
22067 from core file.
22068
dc96c6c7 22069Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22070
22071 * config/m32r.exp: New file.
22072
22073Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22074
22075 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22076 that cflags can contains -gstabs, and work correctly for other tests.
22077
dc96c6c7 22078Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22079
22080 * gdb.base/setshow.exp: New file, tests show and set.
22081 * gdb.base/setshow.c: New file, tests show and set.
22082 * gdb.base/help.exp: Add test for help set|show annotate.
22083 * gdb.base/default.exp: Add test for set|show annotate.
22084
22085Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22086
22087 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22088 errors unique.
22089 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22090 explicitly.
22091
22092Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22093
22094 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22095 and width commands. This is done elsewhere.
22096 * (gdb_start): Don't call gdb_start_sim here. That's already
22097 done in gdb_load. This fixes lots of failures in default.exp.
22098
22099Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22100
22101 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22102 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22103 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22104 in the same we we treat other failures (since it may be an expected
889bf7c5 22105 condition), rather than as an error.
c906108c
SS
22106 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22107 old test format.
22108
22109Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22110
22111 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22112 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22113 twice. Nuke the duplicates.
c906108c 22114 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22115 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22116 Remove config.h along with other config files.
22117
22118Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22119
22120 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22121 "p func1 ()" and note that rests of tests are skipped.
22122 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22123 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22124 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22125 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22126 affected by the previous run test.
22127 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22128 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22129 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22130 "pass int powerset tuple" and "pass modeless int powerset tuple".
22131 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22132 "real write 4" and "real write 8".
22133 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22134 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22135 "print \$i after tuple assign 2", and
22136 "print vs2 after tuple assign 2".
22137 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22138 meaningful error message and return -1 so the caller can
22139 suppress further tests and avoid a cascade of errors.
d63a86f8 22140
c906108c
SS
22141Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22142
22143 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22144 format for printing version.
22145 * gdb.base/default.exp: Ditto.
22146 * gdb.base/interrupt.exp: Fix problem with cascade of
22147 errors if child process dies while calling a function.
d63a86f8 22148
c906108c
SS
22149Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22150
22151 * Makefile.in (VPATH): Add
22152 * Makefile.in (Makefile, config.status): Fix rules so things get
22153 remade when necessary.
22154
22155Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22156
22157 * Makefile.in (just-check): Add path to sibling expect dir
22158 to environment variable specified by RPATH_ENVVAR.
22159
22160Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22161
22162 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22163 (just-check): Add shared library paths for libstdc++, tk,
22164 tcl, bfd, and opcodes to the environment variable specified
22165 in RPATH_ENVVAR.
22166 * configure.in: Add support to recognize --enable-shared flag
22167 and generate correct value for RPATH_ENVVAR.
22168 * configure: Regenerated with autoconf.
22169
22170Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22171
22172 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22173 include all osf versions.
c906108c
SS
22174 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22175 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22176 when target is linux. When failing to build pthreads test
22177 executable, give more meaningful message.
22178 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22179 arg for pthread_create.
d63a86f8 22180
c906108c
SS
22181Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22182
22183 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22184 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22185 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22186 and -lpthreads (everybody else).
c906108c
SS
22187 (test_startup): Fail gracefully if threads are not supported.
22188 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22189 "p/c array_index("abcdef",2)" when not gcc compiled.
22190 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22191 "print func2::coremaker_local" when not gcc compiled.
22192 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22193 "ptype on opaque struct tagname (statically)",
22194 "ptype on opaque struct tagname (dynamically) 1", and
22195 "ptype on opaque struct tagname (dynamically) 2"
22196 for not compiled with gcc.
22197 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22198 backtrace when compiled with gcc.
d63a86f8 22199 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22200 than always return success.
22201
22202Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22203
22204 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22205
22206Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22207
22208 * gdb.base/structs.exp: Undo last change.
22209
22210Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22211
22212 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22213 encapsulate all the steps/nexts done during self test, starting
22214 at main, and makes them less sensitive to optimization issues.
22215 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22216 signal handler" test.
22217 * gdb.threads/pthreads.exp: Only run this for native configs.
22218 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22219 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22220 tests.
22221 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22222 for "runto test_calls(void)" test.
d63a86f8 22223
c906108c
SS
22224Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22225
22226 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22227 and don't expect address info in breakpoint confirmations.
22228
22229Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22230
22231 * gdb.base/list.exp (test_forward_search): Increase timeout
22232 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22233 and then reset to old value when done. Increase expect input
c906108c
SS
22234 buffer to 10000.
22235
22236Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22237
22238 * gdb.base/list.exp (test_forward_search): Fix to handle very
22239 long source line without overflowing expect's input buffer.
22240
22241Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22242
22243 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22244 "buffer_full".
22245
22246 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22247 "buffer_full".
22248
22249 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22250 "buffer_full".
22251
22252 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22253 "buffer_full".
22254
22255Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22256
22257 * configure.in (configdirs): Add gdb.threads.
22258 * configure: Regenerated with autoconf.
22259 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22260 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22261 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22262
c906108c
SS
22263Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22264
22265 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22266
22267Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22268
22269 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22270 each signal's status in the output of "handle all print".
22271 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22272 the \r\n sequence that immediately precedes the gdb prompt.
22273 * gdb.base/a1-selftest.exp: Save original timeout and restore
22274 after test.
22275
22276Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22277
22278 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22279 symbol.
22280
22281Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22282
22283 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22284
22285Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22286
22287 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22288 timeout by 60 seconds.
22289
22290Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22291
22292 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22293 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22294 error return.
22295
22296Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22297
22298 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22299 gdb initialization, also report how long dejagnu waited. Restore
22300 old timeout before doing error return. Temporarily increase timeout
889bf7c5 22301 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
22302
22303Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22304
22305 * lib/gdb.exp: Report timeout value for verbosity level 2.
22306 * config/gdbserver.exp: Ditto.
22307 * config/hppro.exp: Ditto.
22308 * config/mips-gdb.exp: Ditto.
22309 * config/monitor.exp: Ditto.
22310 * config/netware.exp: Ditto.
22311 * config/sim-gdb.exp: Ditto.
22312 * config/slite-gdb.exp: Ditto.
22313 * config/udi-gdb.exp: Ditto.
22314 * config/unix-gdb.exp: Ditto.
22315 * config/vx-gdb.exp: Ditto.
22316 * gdb.base/a1-selftest.exp: Ditto.
22317 * gdb.base/a2-run.exp: Ditto.
22318 * gdb.base/break.exp: Ditto.
22319 * gdb.base/corefile.exp: Ditto.
22320 * gdb.base/list.exp: Ditto.
22321 * gdb.base/recurse.exp: Ditto.
22322 * gdb.base/scope.exp: Ditto.
22323 * gdb.base/signals.exp: Ditto.
22324
22325Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22326
22327 * gdb.threads/Makefile.in (docdir): Removed.
22328
22329Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22330
22331 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 22332 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 22333 @srcdir@.
d63a86f8 22334 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
22335 autoconf 2.5 or higher.
22336 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22337
22338Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22339
22340 * configure: Regenerated.
22341 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22342 avoid name clashes with SunOS headers.
22343
22344Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22345
22346 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22347
22348Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22349
22350 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22351 prototype information ends up in the compiler info file.
22352
22353Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22354
22355 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22356 attempting to regenerate it. Eliminate use of a temporary file
22357 and just generate the info file directly. Source it immediately,
22358 for consistency of use.
22359 * gdb.base/corefile.exp: Ditto
22360 * gdb.base/exprs.exp: Ditto.
22361 * gdb.base/funcargs.exp: Ditto.
22362 * gdb.base/langs.exp: Ditto.
22363 * gdb.base/list.exp: Ditto.
22364 * gdb.base/mips_pro.exp: Ditto.
22365 * gdb.base/nodebug.exp: Ditto.
22366 * gdb.base/opaque.exp: Ditto.
22367 * gdb.base/ptype.exp: Ditto.
22368 * gdb.base/scope.exp: Ditto.
22369 * gdb.base/setvar.exp: Ditto.
22370 * gdb.base/signals.exp: Ditto.
22371 * gdb.base/whatis.exp: Ditto.
22372 * gdb.c++/templates.exp: Ditto.
22373 * gdb.c++/virtfunc.exp: Ditto.
22374 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 22375 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
22376
22377Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22378
22379 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22380 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22381 Increase timeout, a lot of single stepping might be needed if the
22382 target has no hardware watchpoints.
22383
22384Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22385
22386 * gdb.base/break.exp: Ignore compiler warnings when compiling
22387 break.c.
22388 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22389 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22390 from remote-sim.
22391 * gdb.base/exprs.exp: Add h8300 xfails.
22392 * gdb.base/funcargs.exp: Likewise.
22393 * gdb.base/nodebug.exp: Likewise.
22394 * gdb.base/printcmds.exp: Likewise.
22395 * gdb.base/ptype.exp: Likewise.
22396 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22397 h8300 xfails.
d63a86f8 22398 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
22399 on the h8300.
22400 * gdb.base/funcargs.c: Explicitly make last constant argument to
22401 call_after_alloca_subr an unsigned long type.
22402 * gdb.base/return.c: Include stdio.h.
22403
22404Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22405
22406 * config/abug.exp: New file for the older Motorola Bug monitor
22407 that runs on the mvme13x series VME boards.
22408 * config/monitor.exp: Use the new config array for target settings
22409 if they exist.
22410
22411Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22412
22413 * sim-gdb.exp: Make the SH simulator allocate less space when
22414 it is targeted.
22415
22416Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22417
22418 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22419 test.
22420
22421Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22422
22423 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22424 "rs6000-*-*" for "list function in include file" when gcc compiled.
22425 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22426 for "p ctable1[120]".
22427 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22428 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22429 Remove setup_xfail for "rs6000-*-*" for
22430 "print 'scope0.c'::filelocal before run".
22431 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22432 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22433 since some compilers don't allow both options to be given
22434 on the same command line. Create object file and move it.
d63a86f8 22435
c906108c
SS
22436Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22437
22438 * gdb.base/corefile.exp: Always regenerate the core file, since
22439 we always regenerate the coremaker program. Detect special case
22440 where registers cannot be read from core file.
d63a86f8 22441
c906108c
SS
22442Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22443
22444 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22445 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22446 * gdb.c++/templates.exp: Only match on basename of file since
22447 some formats like xcoff don't encode directory information.
22448 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22449 and rs6000 AIX xcoff targets.
22450 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22451 * configure: Regenerate.
22452 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22453 here, rather than in distclean.
d63a86f8 22454
c906108c
SS
22455Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22456
22457 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22458 defined, and use it to compile the test case with -O2. The
22459 native compilation still uses no optimization.
22460 * gdb.base/mips_pro.c: Remove inline assembly code since
22461 it is compiled PIC by default, which results in assembler
22462 warnings that make the testsuite think the compilation
22463 was unsuccessful.
22464
22465Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
22466
22467 * gdb.c++/misc.exp: Add note to message for
22468 "print s.a for foo struct" that this is a known gcc 2.7.2
22469 and earlier bug.
22470
22471Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
22472
22473 * gdb.base/break.exp: Fix pattern for matching "Delete all
22474 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
22475 setup_xfail for deleting all breakpoints test. Fix various
22476 timeout messages to include "(timeout)".
22477 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22478 for "p t_float_values2(3.14159,float_val2)".
22479 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22480 for "continue to call2g" when gcc compiled.
22481 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22482 "up to foo in langs.exp", "show language at foo in langs.exp",
22483 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22484 and "show language at fsub in langs.exp".
22485 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22486 "list line 1 in include file", "list message for lines past EOF",
22487 "list function in include file", "list list0.h:foo", and
22488 "list filename:function; nonexistant function".
22489 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22490 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22491 and "ptype t_char_array" to be for native cc only.
d63a86f8 22492
c906108c
SS
22493Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
22494
d63a86f8 22495 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 22496 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 22497 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
22498
22499Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
22500
22501 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22502 "bt in signals.exp". This problem only appears when running
22503 the testsuite, and then only intermittently.
22504
22505Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
22506
22507 * gdb.base/return.exp (return_tests): Differentiate between
22508 two tests of continuing.
22509
22510Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
22511
22512 * */Makefile.in (maintainer-clean): Remove config.log.
22513 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22514 * gdb.c++/Makefile.in (PROGS): Add inherit.
22515 (clean): Remove *.ci.
22516
22517Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
22518
22519 * gdb.c++/misc.cc: Add test code from Mike Stump.
22520 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22521
22522Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
22523
22524 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22525 to "alpha-*-osf2*" and add comment.
22526 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
22527 setup_xfail for "step over execarg initialization" and
22528 "step over corearg initialization".
c906108c
SS
22529 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22530 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22531 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 22532 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
22533 "print func2::coremaker_local", and "backtrace in corefile.exp".
22534 * gdb.base/signals.exp: Build and source signals.ci.
22535 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22536 to be for gcc only.
22537 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 22538
c906108c
SS
22539Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22540
22541 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
22542 Feb 3 procfs.c change.
22543
22544Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
22545
22546 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22547
22548Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
22549
22550 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22551 from dejagnu's apparent default of 10 seconds, which gives random
22552 results when running the tests over NFS on moderately loaded systems.
22553 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22554
22555Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
22556
22557 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
22558 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 22559 result reports.
c906108c
SS
22560
22561Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
22562
22563 * configure.in (CY_AC_PATH_TCLH): Remove.
22564 * configure: Regenerate.
22565
22566Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
22567
22568 * gdb.c++/Makefile.in (clean): Add missing '{'.
22569
22570Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
22571
22572 * lib/gdb.exp: Provide a default value for noinferior.
22573
22574 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22575 Load libgloss.exp.
22576
22577Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
22578
22579 * gdb.disasm/hppa.exp: Compile directly into an executable, use
22580 the executable, not the .o to run the tests from.
22581
22582Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
22583
22584 * gdb.base/break.exp: Don't test for program exit or exit status
22585 if $noresults if nonzero.
22586 * gdb.base/langs.exp: Likewise.
22587 * gdb.base/watchpoint.exp: Likewise.
22588
22589 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22590 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22591 trying to compile the testcase.
22592
22593Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
22594
22595 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22596 * gdb.base/signals.exp (continue to handler): Likewise.
22597
22598Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
22599
22600 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
22601
22602 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
22603
22604Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
22605
22606 * gdb.base/corefile.exp: Recognize "not found" as failure
22607 when trying to determine if a core file was generated.
22608 If no core file was generate the first time, try again without
22609 the ulimit -c to work around braindamaged shells.
22610
22611Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
22612
22613 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22614 [] tests with "test" and enclose string in quotes.
22615 * gdb.stabs/configure: Rebuild
d63a86f8 22616
c906108c
SS
22617Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
22618
22619 Changes in sync with expect:
22620 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22621 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22622 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22623 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
22624 argument to AC_REQUIRE.
22625 * configure: Regenerated.
22626
22627Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
22628
22629 * gdb.base/corefile.exp: When generating a core, discard any
22630 error messages about ulimit not found and the "core dumped"
22631 message from the shell that runs the coredumper.
22632
22633Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
22634
22635 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22636
22637 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22638 which sed script to run. Expect failure for v_comb test
22639 on PA targets too.
d63a86f8 22640
c906108c
SS
22641Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
22642
22643 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 22644 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
22645
22646Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
22647
22648 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22649 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 22650 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
22651 * lib/gdb.exp (default_gdb_start): Fix typo.
22652 * gdb.base/corefile.exp: Allow "Core was generated by ..."
22653 messages to not include the full program name that caused
22654 the core dump since some systems (such as solaris) apparently
22655 truncate this path to about 80 characters.
22656 When generating a core file first try increasing the core file
22657 size limit to unlimited since some systems may default it to
22658 zero, and it is harmless to try it. Move the test for failing
22659 to generate a core file to where it will actually get executed.
22660 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22661 new gdb result from g++ debug info improvements and make old
22662 pattern obsolescent. Also account for size_t differences
22663 (may be int or long).
22664 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22665 initialization before function call is placed in the delay slot
22666 and thus appears to be skipped over by commands such as "next".
22667
22668Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
22669
22670 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22671
22672Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
22673
22674 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22675 input source file; fix code to compile test to deal with this
22676 convention.
22677 * gdb.c++/*.exp: Likewise.
22678
22679Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
22680
22681 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22682 "bt in signals.exp".
22683
22684Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
22685
22686 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22687 "step over execarg initialization" and
889bf7c5 22688 "step over corearg initialization".
c906108c
SS
22689
22690Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
22691
22692 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22693 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
22694
22695Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
22696
22697 From Rob Savoye (rob@poseidon.cygnus.com)
22698 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22699 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
22700 configure.in}, gdb.disasm/{Makefile.in, configure.in},
22701 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22702 configure.in}: Major reworking for autoconfig.
c906108c
SS
22703 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22704 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 22705 New files.
c906108c
SS
22706 * config/unix-gdb.exp: Make GDB global.
22707 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
22708 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22709 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22710 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22711 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22712 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 22713 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
22714 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22715 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22716 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22717 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 22718 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
22719 to returns as necessary, arrange for test to compile own testcase
22720 executable.
c906108c 22721 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 22722
c906108c
SS
22723Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
22724
22725 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 22726 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
22727 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22728 "backtrace through signal handler".
22729
22730Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22731
22732 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
22733 continuing from a job control stop signal.
22734 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
22735
22736Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
22737
22738 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22739 * gdb.base/corefile.exp: Likewise.
22740 * gdb.base/funcargs.exp: Likewise.
22741
22742Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
22743
22744 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
22745 * config/monitor.exp: Add support for setting baud rate.
22746
22747Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
22748
22749 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22750 i*86-*-linux* xfails for "backtrace through signal handler".
22751 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22752 "print func2::coremaker_local".
22753 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 22754 alpha-dec-osf2* xfail for
c906108c
SS
22755 "delete all breakpoints when none".
22756
22757Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
22758
22759 * gdb.base/break.exp: Change test that deletes all breakpoints
22760 when no user breakpoints are installed. A post 4.15 change
22761 causes gdb to no longer prompt in this case.
22762
22763Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
22764
22765 * gdb.base/return.exp (return_tests): Change xfail for test
22766 "correct value returned double test" to stop xfailing at
22767 Solaris 2.5. Apparently the bug has been fixed.
22768
22769Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
22770
22771 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22772 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22773
22774Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
22775
22776 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22777 * gdb.disasm/hppa.s: Corresponding changes.
22778
22779Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
22780
22781 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22782 makefile fragment.
22783 * config/mt-hpux: Deleted.
22784
22785Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
22786
d63a86f8 22787 * Many files: When warning about suppressed tests due to a
c906108c
SS
22788 nonexistant test binary, avoid incrementing the warning count.
22789
22790Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
22791
22792 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 22793
c906108c
SS
22794Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22795
22796 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
22797 "sparc-*-solaris2*".
22798
22799Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22800
22801 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
22802 Add global and local variables and initialize them.
22803 * gdb.base/corefile.exp: Test correct mapping of corefile sections
22804 by printing variables. Remove rs6000 and powerpc xfails, BFD now
22805 extracts the file name and terminating signal from the core file.
22806 * TODO: Remove note about tests for correct mapping of corefile.
22807 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
22808 from optimizing it away.
22809 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
22810 handles common blocks.
22811
22812Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
22813
22814 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22815 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22816
22817Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
22818
22819 * Makefile.in (maintainer-clean): New target, synonym for
22820 realclean.
22821 * gdb.base/Makefile.in (maintainer-clean): Likewise.
22822 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22823 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22824 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22825 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22826 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22827
22828Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
22829
22830 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
22831 xfails when not gcc compiled for "print foo::funclocal".
22832 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22833 "print foo::funclocal at foo",
22834 "print 'scope1.c'::foo::funclocal at foo",
22835 "print foo::funclocal_bss at foo",
22836 "print 'scope1.c'::foo::funclocal_bss at foo",
22837 "print foo::funclocal_ro at foo",
22838 "print 'scope1.c'::foo::funclocal_ro at foo",
22839 "print bar::funclocal at foo" and
22840 "print 'scope1.c'::bar::funclocal at foo".
22841 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
22842 gcc compiled for "print foo::funclocal at bar".
22843 Expand all messages to ensure that they identify that
22844 the test is at bar().
22845 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22846 gcc compiled for:
22847 "ptype on opaque struct pointer (statically)",
22848 "ptype on opaque struct tagname (statically)",
22849 "ptype on opaque struct pointer (dynamically) 1",
22850 "ptype on opaque struct tagname (dynamically) 1",
22851 "ptype on opaque struct pointer (dynamically) 2" and
22852 "ptype on opaque struct tagname (dynamically) 2
22853 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22854 gcc compiled for:
22855 "p datalocal"
22856 "whatis datalocal",
22857 "ptype datalocal",
22858 "p bsslocal",
22859 "whatis bsslocal", and
22860 "ptype bsslocal".
22861 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22862 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22863 when not gcc compiled.
22864 * gdb.base/funcargs.exp (float_and_integral_args): Add
22865 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22866 compiled.
22867 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
22868 "backtrace from call6a" when not gcc compiled.
22869 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22870 "backtrace from call7a" when not gcc compiled.
22871 * gdb.base/callfuncs.exp (do_function_calls):
22872 Add "hppa*-*-hpux*" xfail when not gcc compiled for
22873 "p t_char_array_values(char_array_val2,char_array_val1)",
22874 "p t_char_array_values(char_array_val1,char_array_val2)",
22875 "p t_char_array_values("carray 1","carray 2")",
22876 "p t_char_array_values("carray 1",char_array_val2)",
22877 "p t_char_array_values(char_array_val1,"carray 2")",
22878 "p sum_args(1,{2})",
22879 "p sum_args(2,{2,3})",
22880 "p sum_args(3,{2,3,4})",
22881 "p sum_args(4,{2,3,4,5})"
22882 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22883 "backtrace in corefile.exp" when not gcc compiled.
22884
22885Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22886
22887 * gdb.base/signals.exp: Rewrite `handle all print' test as
22888 a procedure. Accept blanks or TABs as whitespace, increase
22889 timeout and expect input buffer size for the large output
22890 from the command. Remove "i*86-*-bsdi2.0" xfail.
22891
22892Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22893
22894 * gdb.base/setvar.exp: Add new testcases for truncation when
22895 assigning invalid values to bitfields.
22896
22897Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
22898
d63a86f8 22899 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
22900 mips-sgi-irix* xfail for
22901 "call inferior func with struct - returns char *"
22902 and fix test so that an optional (unsigned char *) cast is
889bf7c5 22903 accepted in the result.
c906108c
SS
22904
22905Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
22906
22907 * gdb.base/funcargs.exp (float_and_integral_args): Remove
22908 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22909 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22910 * gdb.base/signals.exp: Remove duplicate "handle all print" test
22911 that accidentally got checked in.
22912
22913Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
22914
d63a86f8 22915 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
22916 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22917 compiled test.
22918 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22919 Add mips-sgi-irix5* xfail for not gcc compiled.
22920 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
22921 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22922 "p top", "whatis top", "p middle", and "whatis middle".
22923 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22924 "whatis signed char" for not gcc compiled.
22925 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22926 "set variable signed char=-1 (-1)" and
22927 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22928 * gdb.base/funcargs.exp (float_and_integral_args):
22929 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22930 Add mips-sgi-irix* xfail when not gcc compiled for
22931 "continue to call2b".
22932 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22933 "continue to call2g".
22934 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22935 "backtrace from call6a"
22936 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22937 "backtrace from call7k".
22938 Add mips-sgi-irix5* xfail when not gcc compiled for
22939 "backtrace from call7a".
22940 (localvars_after_alloca): Fix gdb_test cmds for
22941 "print * after runto ...".
22942 Remove rs6000-*-* xfails for
22943 "print i after runto localvars_after_alloca" and
22944 "print l after runto localvars_after_alloca"
22945 for all compilers.
22946 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 22947 when not compiled with gcc, for:
c906108c
SS
22948 "print signed char == (minus)",
22949 "print signed char != (minus)",
22950 "print signed char < (minus)",
22951 "print signed char > (minus)".
22952 * gdb.base/callfuncs.exp (do_function_calls):
22953 Add mips-sgi-irix* xfail, when compiled with native compiler, for
22954 "call inferior func with struct - returns char *".
d63a86f8 22955 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
22956 "correct value returned double test" to include Solaris 2.4.
22957 * gdb.base/funcargs.exp (float_and_integral_args):
22958 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 22959
c906108c
SS
22960Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22961
22962 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
22963 enumeration bitfields if compiling with GNU C.
22964 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
22965 to empty' prompt.
22966
22967Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
22968
22969 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22970 test for PRO targets.
22971
22972 * gdb.base/funcargs.exp: Avoid ever setting more than 8
22973 breakpoints in the inferior at any given time by making
22974 two groups of breakpoints for call2*, call6* and call7*
22975 tests.
22976
22977Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22978
22979 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
22980 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
22981 from optimizing it away.
22982 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
22983 "call inferior func with struct".
22984
22985Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
22986
22987 * configure.in: Only configure gdb.chill for particular targets.
22988
22989Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
22990
22991 * gdb.base/Makefile.in: Add action to .c.o transformation
22992 rule that generates a .ci file for each .o file and remove
22993 explicit .c.o rules except for callfuncs.o.
22994 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
22995 generates a .ci file for each .o file and remove explicit
22996 .cc.o rules.
22997 (clean): Remove *.tmp *.ci files.
22998 (EXECUTABLES): Remove templ-info.exp.
22999 * gdb.base/compiler.c: New file.
23000 * gdb.c++/compiler.cc: New file
23001 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23002 Change rs6000-*-* xfail for
23003 "print 'scope0.c'::filelocal_ro" and
23004 "print 'scope1.c'::filelocal" and
23005 "print 'scope1.c'::filelocal_bss" and
23006 "print 'scope1.c'::filelocal_ro" and
23007 "print 'scope1.c'::foo::funclocal" and
23008 "print 'scope1.c'::foo::funclocal_ro" and
23009 "print 'scope1.c'::bar::funclocal" and
23010 "print 'scope0.c'::filelocal_ro" and
23011 "print 'scope1.c'::filelocal at foo" and
23012 "print 'scope1.c'::filelocal_bss at foo" and
23013 "print 'scope1.c'::filelocal_ro at foo" and
23014 "print 'scope1.c'::foo::funclocal at foo" and
23015 "print 'scope1.c'::foo::funclocal_bss at foo" and
23016 "print 'scope1.c'::foo::funclocal_ro at foo" and
23017 "print 'scope1.c'::bar::funclocal at foo" and
23018 "print 'scope0.c'::filelocal_ro" and
23019 "print 'scope1.c'::filelocal" and
23020 "print 'scope1.c'::filelocal_bss" and
23021 "print 'scope1.c'::filelocal_ro" and
23022 "print 'scope1.c'::foo::funclocal" and
23023 "print 'scope1.c'::foo::funclocal_bss" and
23024 "print 'scope1.c'::foo::funclocal_ro" and
23025 "print 'scope1.c'::bar::funclocal" and
23026 "print 'scope1.c'::bar::funclocal_bss"
23027 to only be xfail'd when not compiled with gcc.
d63a86f8 23028 Add rs6000-*-* xfail for
c906108c
SS
23029 "print 'scope0.c'::filelocal_bss before run"
23030 when compiled with gcc.
23031 (test_at_main): Add rs6000-*-* xfail for
23032 "print filelocal_ro in test_at_main"
23033 when compiled with gcc.
23034 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23035 Add rs6000-*-aix* xfail for
c906108c
SS
23036 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23037 "ptype t_char_array", not compiled with gcc.
23038 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23039 xfail for "list foo (in include file)" when gcc compiled.
23040 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23041 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23042 "run to call0a" if not compiled with gcc.
23043 (unsigned_integral_args): Add rs6000-*-* xfail for
23044 "run to call1a" if not compiled with gcc.
23045 (float_and_integral_args): Add rs6000-*-* xfail for
23046 "run to call2a" if not compiled with gcc and for
23047 "continue to call2b" for any compiler.
23048 Add rs6000-*-* xfail to
23049 "print f1 after run to call2a" for gcc compiled.
23050 (discard_and_shuffle): Add rs6000-*-* xfail for
23051 "run to call6a".
23052 (shuffle_round_robin): Add rs6000-*-* xfail for
23053 "backtrace from call7a" if not compiled with gcc.
23054 Add rs6000-*-* xfail for
23055 "backtrace from call7b" if compiled with gcc.
23056 (call_after_alloca): Add rs6000-*-* xfail for
23057 "print c in call_after_alloca" and
23058 "print s in call_after_alloca" and
23059 "backtrace from call_after_alloca_subr"
23060 if not compiled with gcc.
23061 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23062 "print c in localvars_in_indirect_call" and
23063 "print c in localvars_in_indirect_call" and
23064 "backtrace in indirectly called function" and
23065 "stepping into indirectly called function"
23066 if not compiled with gcc.
23067 (localvars_after_alloca): Add rs6000-*-* xfail for
23068 "print c after runto localvars_after_alloca" and
23069 "print s after runto localvars_after_alloca" and
23070 "print i after runto localvars_after_alloca" and
23071 "print l after runto localvars_after_alloca"
23072 for all compilers.
23073 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23074 than whatis-info.exp.
23075 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23076 than opaque-info.exp.
23077 Setup rs6000-*-* xfail for
d63a86f8 23078 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23079 "ptype on opaque struct pointer (dynamically)" when
23080 not compiled with gcc.
23081 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23082 rather than callf-info.exp.
23083 (do_function_calls): Add clear_xfail for rs6000-*-* for
23084 "p t_float_values2(3.14159,float_val2)". Seems to work
23085 fine there, both with xlc and gcc. Need to find out what
23086 it is doing right and fix other platforms.
23087 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23088 "call inferior func with struct - returns int",
23089 "call inferior func with struct - returns long",
23090 "call inferior func with struct - returns float",
23091 "call inferior func with struct - returns double",
23092 "call inferior func with struct - returns char *",
23093 but only if not gcc compiled (presumes xlc compiled).
23094 Change rs6000-*-* xfails for
23095 "call inferior func with struct - returns char" and
23096 " call inferior func with struct - returns short" to only
23097 xfail if not using gcc.
23098 (clean mostlyclean): Remove *.ci and *.tmp files.
23099 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23100 than templ-info.exp.
23101 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23102 Add rs6000-*-* xfail for "up to foo in langs.exp"
23103 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23104 when not gcc compiled.
d63a86f8 23105
c906108c
SS
23106Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23107
23108 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23109 * gdb.base/corefile.exp: Likewise.
23110 * gdb.base/list.exp: Likewise.
23111 * gdb.base/scope.exp: Likewise.
23112 * gdb.base/siganls.exp: Likewise.
23113
23114 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23115 compiler output.
23116 * gdb.base/whatis.exp: Likewise.
23117
23118Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23119
23120 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23121 failure (opcode table has been fixed to match reality).
23122
23123Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23124
23125 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23126 "call inferior func with struct - returns char",
23127 "call inferior func with struct - returns short"
23128
23129 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23130 "print 'scope0.c'::filelocal at main",
23131 "print 'scope0.c'::filelocal_bss in test_at_main",
23132 "print 'scope0.c'::filelocal at foo",
23133 "print 'scope0.c'::filelocal_bss in test_at_foo",
23134 "print 'scope0.c'::filelocal at bar",
23135 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23136
c906108c
SS
23137 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23138 in source file 1". This bug seems to have been fixed with both
23139 gcc and native cc (was native assembler bug?).
23140
23141Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23142
23143 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23144 "backtrace through signal handler" to "i*86-*-sysv4*".
23145 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23146 continue" case. Add "known SVR4 bug" to fail message.
23147 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23148 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23149 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23150 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23151 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23152 "up to foo in langs.exp", "show language at foo in
23153 langs.exp", "up to cppsub_ in langs.exp", "show
23154 language at cppsub_ in langs.exp", "up to fsub in
23155 langs.exp", and "show language at fsub in langs.exp".
23156 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23157 "bactrace in corefile.exp".
23158 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23159 "call inferior function with struct - returns float" and
23160 "call inferior function with struct - returns double".
d63a86f8 23161
c906108c
SS
23162Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23163
23164 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23165 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23166 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23167 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23168
23169Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23170
23171 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23172 (or overriden) "CHILL" macro rather then bare "gcc".
23173 Also look for ../../gcc/xgcc since that is what we will
23174 actually need, not "Makefile". Remove following assignment
23175 of CHILL to CHILL_FOR_TARGET because that results in
23176 recursive definition.
23177
23178Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23179
23180 * gdb.base/corefile.exp: Change xfail for backtrace in
23181 corefile.exp from linuxaout to all linux.
23182 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23183 cases where we miss the breakpoint at the signal handler
23184 for some reason. Setup xfail for linuxoldld/linuxaout and
23185 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23186 hitting SIGURG breakpoint.
23187 * gdb.base/signals.exp: Setup xfail for "next" acting like
23188 continue to add linuxoldld. Setup xfail for all linux for
23189 "next to handler in signals_tests_1", "backtrace in
23190 signals_tests_1", "continue to func1", "pass SIGUSR1",
23191 and continue to handler".
23192
23193Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23194
23195 * Update all FSF addresses except those in COPYING* files.
23196
23197Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23198
23199 * gdb.base/a2-run.exp: Change messages to be more explicit about
23200 the status of args, and quote binfile in results.
23201
23202Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23203
23204 * gdb.base/callfuncs.exp: Add tests for passing structs to
23205 inferior functions and return various types.
23206 * gdb.base/callfuncs.c: Add functions to receive a struct
23207 and return a member of the struct, in various types.
23208
23209Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23210
23211 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23212
23213Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23214
23215 * config/vxworks29k.exp: New file, sources vxworks.exp.
23216
23217Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23218
23219 * config/gdbremote.exp: New file. Testing framework using
23220 gdbserver.
23221
23222Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23223
23224 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23225 "call function when asleep" and "send end of file".
23226 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23227 for "backtrace in corefile.exp".
23228 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23229 for "backtrace through signal handler".
23230 * gdb.base/corefile.exp: Make sure we actually generate a core file
23231 before trying the core tests. Some systems allow the user to suppress
23232 generation of core files and default to that (linux for example).
23233 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23234 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23235
23236Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23237
23238 * gdb.threads: New directory with some crude multi-threaded
23239 gdb tests (step.exp and step2.exp).
23240 * config/mt-lynx (STEP_EXECUTABLE): Define.
23241 (THREADFLAGS): Define.
23242
23243Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23244
23245 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23246
23247 * gdb.base/signals.exp: Disable whole file for lynx until
23248 further notice.
23249
23250 * gdb.base/signals.exp: xfail test where "next" acts like
23251 "continue" for lynx.
23252
23253 * gdb.base/interrupt.exp: xfail test for calling function while
23254 inferior is asleep for lynx.
23255
23256 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23257 than one cr-lf after each command.
23258
23259Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23260
23261 * configure.in: Reinstate setting of stabsdirs variable, fix
23262 typo in setting up configdirs for native builds.
23263
23264 * gdb.base/return.exp: Fix typo in return double test.
23265 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23266 compiler from optimizing them away.
23267
23268Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23269
23270 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23271 sequences to be echo'd by gdb when using gdb_test.
23272 * gdb.chill/chexp.exp: Likewise.
23273 * gdb.fortran/exprs.exp: Likewise
23274
23275Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23276
23277 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23278 after the inferior gdb has started.
23279
23280 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23281 after each command.
23282 * gdb.base/funcargs.exp: Likewise.
23283 * gdb.base/gdbvars.exp: Likewise.
23284 * gdb.base/interrupt.exp: Likewise.
23285 * gdb.base/list.exp: Likewise.
23286 * gdb.base/watchpoint.exp: Likewise.
23287 * gdb.c++/demangle.exp: Likewise.
23288 * gdb.c++/inherit.exp: Likewise.
23289 * gdb.chill/chexp.exp: Likewise.
23290 * gdb.fortran/exprs.exp: Likewise.
23291
23292 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23293 test if we can't handle IO to/from the inferior.
23294
23295 * gdb.c++/misc.exp: Always check for a program already being
23296 started after sending a "run" command to gdb.
23297
23298 * gdb.base/twice.exp: Start with a fresh gdb.
23299
23300 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23301 only depend on gdb's expression code, not the chill runtime.
23302
23303 * gdb.base/return.c: Put return values into variables so we
23304 can have gdb print them rather than depending on the program
23305 to print them.
23306 * gdb.base/return.exp: Corresponding changes.
23307
23308 * lib/gdb.exp: Provide default value for noinferiorio.
23309 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23310 the inferior.
23311
23312 * gdb.base/break.exp: Always check for a program already being
23313 started after sending a "run" command to gdb.
23314 (text_next_with_recursion): Don't check the output from the
23315 program's printf statement. Instead just make sure the program
23316 exited.
23317
23318 * gdb.base/commands.exp: Protect tests which need arguments with
23319 $noargs conditionals.
23320
23321Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23322
23323 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23324 of structure member arrays to match gdb/valops.c:value_addr change.
23325
23326Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23327
23328 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23329 cases.
23330
23331Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23332
23333 * configure.in (configdirs): Remove gdb.chill from default list
23334 of subdirs and then add it back in only if doing a native build.
23335 The current chill compiler does not yet work in any cross build.
23336 * Revert all signal changes from Jul 6.
23337 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23338 for sh-hms targets, allowing these tests to link, with no other
23339 changes. Testing is suppressed by setting "nosignals" in site.exp.
23340
23341Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23342
23343 * configure.in (signaldirs): Define and add to configdirs for all
23344 targets except some specific ones that are known to not support signals.
23345 Also clean up formatting.
23346 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23347 (signals, sigall): Remove rules to build.
23348 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23349 Moved to new gdb.signals directory.
23350 * gdb.signals: New test directory.
23351 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23352 signals.c signals.exp}: New or moved files.
23353
23354Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23355
23356 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23357
23358Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23359
23360 * gdb.base/return.exp: Xfail `return double' test failure
23361 on at least Solaris 2.3 and handle future/past versions on
23362 a case by case basis as appropriate. Also update message
23363 to include i*86 failures.
23364
23365Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23366
23367 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23368
23369 * lib/gdb.exp: Fix comment which erroneously identified
23370 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23371 gdb_file_cmd not gdb_load).
23372 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23373
23374 * gdb.base/setvar.exp: Make test names consistent between pass and
23375 fail cases. Use gdb_test more.
23376
23377Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23378
23379 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23380
23381Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23382
23383 * gdb.base/help.exp: Fix expected help string for `show commands'.
23384
23385Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23386
23387 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23388
23389 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23390 of a text section.
23391
23392Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23393
23394 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23395 that loop eventually terminates. Fix Connection refused logic so
23396 that testsuite will expire nicely.
23397
23398Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23399
23400 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23401 config/rom68k.exp: New tcl glue for the appropriate monitors.
23402 These all just end up calling monitor.exp.
23403 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23404 refused' by retrying. Cleanup some timeout issues.
23405 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23406 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23407 callers don't have to set/restore global timeout variable.
23408
23409 * The following set of changes centralizes management of the global
23410 timeout variable. This way, it can be set in one target dependent
23411 place instead of dozens of places scattered throughout the test suite.
23412 If you need to lengthen a timeout, then you should either set timeout
23413 in one of the config/{target}.exp files, or multiply it by a factor.
23414 Setting it to an absolute value is always going to lose for some
23415 targets.
23416 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23417 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23418 * gdb.base/funcargs.exp: Don't set timeout.
23419 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23420 * gdb.base/printcmds.exp (test_print_string_constants
23421 test_print_array_constants): Don't set timeout.
23422 * gdb.base/ptype.exp: Don't set timeout.
23423 * gdb.base/recurse.exp: Don't set timeout.
23424 * gdb.base/return.exp: Don't set timeout.
23425 * gdb.base/watchpoint.exp: Don't set timeout.
23426 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23427 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23428
23429Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23430
23431 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23432
23433Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23434
23435 * lib/gdb.exp: Disable chill tests for irix5.
23436
23437Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23438
23439 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23440 each test pass or fail.
23441
23442Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23443
23444 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23445 xlc not gcc.
23446
23447Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23448
23449 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23450
23451Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23452
23453 * config/est.exp: Fix copyright and comments. Remove dead code.
23454 Use targetname, serialport and baud variables instead of fixed
23455 constants.
23456 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23457 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23458
23459Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23460
23461 * gdb.base/watchpoint.exp: Don't run
23462 test_watchpoint_triggered_in_syscall for sunos.
23463
23464Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23465
23466 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23467 they don't seem to exist. Do include stdio.h.
23468
23469Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23470
23471 * gdb.base/a1-selftest.exp: Add alpha xfail.
23472
23473Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23474
23475 * gdb.base/watchpoint.c (main): Prompt before calling read().
23476 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23477 Revise accordingly. Remove cruft about sending "123" several
23478 times, until it gets noticed. Clean up the "print buf[0]" stuff
23479 so that it passes or fails, and waits for prompts in the usual way.
23480
23481Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23482
23483 * gdb.base/recurse.exp: Fix comment.
23484
23485 * TODO: Remove item about printing variables in nodebug.exp. Add
23486 item about enabling tests which are only run on some targets.
23487
23488 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23489 fail, make test names unique, use new gdb_test convention
23490 regarding pattern, use gdb_test more, etc.).
23491
23492 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23493 fail, make test names unique, etc.).
23494
23495Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23496
23497 * gdb.base/nodebug.c: Change return type of top and middle to
23498 short.
23499 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
23500 are fixed by the recent mdebugread.c changes. Allow `short ()'
23501 as type for top and middle.
23502
23503Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23504
23505 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
23506 nearly as I can tell, the whole thing was an accident in Stu's
23507 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23508 to replace a send/expect pair with gdb_test, but ended up only
23509 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
23510 of 30 Mar 1995 took care of it, but left this vestigial comment
23511 which I am now nuking.
23512
23513Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23514
23515 * gdb.base/break.exp: Look for different line number for
23516 breakpoint at main depending on usestubs.
23517
23518Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23519
23520 * gdb.base/list.exp: Adjust some alternate expect patterns to
23521 match recent list0.c change. Add alternate expect pattern for
23522 output from `list default lines around main' for optimizing
23523 compilers.
23524
23525Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23526
23527 * lib/gdb.exp: If nosignals is not set, set it to 0.
23528
23529Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
23530
23531 * config/slite-gdb.exp: Responds to load symbol table prompt.
23532 * gdb.base/break.exp: Adjust line number, fix rerun.
23533 * gdb.base/langs0.c: Add #ifdef usestubs.
23534
23535Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
23536
23537 * gdb.base/list.exp: Adjust line contents after adding new lines in
23538 list0.c. Also fix a syntax error.
23539
23540 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23541 * gdb.base/break.exp: ditto.
23542 * gdb.base/list.exp: ditto.
23543 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23544 * gdb.base/run.c: ditto.
23545 * gdb.base/list0.c: ditto.
23546 * gdb.base/funcargs.c: ditto.
23547
23548Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
23549
23550 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
23551 $targetname, $serialport and $baud instead of hardwired variables.
23552 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
23553 target doesn't support signals.
23554
23555Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
23556
23557 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23558
23559Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23560
23561 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
23562 Don't rely on the value of an auto variable before it has been
23563 initialized. Use gdb_test more.
23564
23565Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23566
23567 * lib/gdb.exp (default_gdb_version): A version number must start
23568 with a digit, but other than that contains all characters up to
23569 the first whitespace character.
23570
23571Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23572
23573 * gdb.base/commands.exp (breakpoint_command_test): New tests.
23574
23575Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23576
23577 * gdb.c++/*.exp: Warn if executable does not exist. The original
23578 reason for skipping the warning was that configure.in sometimes
23579 intentionally skipped building the executables but the tcl code
23580 had no way of knowing. That (a) was always bogus with respect to
23581 error handling, (b) is no longer true (right now there is no way
23582 to skip C++ tests).
23583
23584 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23585
23586Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23587
23588 * gdb.base/list.exp: Add expect patterns for output from
23589 SunPRO compiled executables.
23590 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
23591 types.
23592
23593Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23594
23595 * gdb.base/break.exp (test_next_with_recursion): Accept any line
23596 number (we are already testing that the correct source line text
23597 gets printed).
23598
23599 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
23600 that is what is intended, but something needed to be done to get
23601 sunos4 native working again.
23602
23603 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23604
23605 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23606 apparently went with a (very) old xfail.
23607
23608Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
23609
23610 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23611 runto_main is a proc in gdb.exp that will do 'step' for target use
23612 stubs.
23613 * gdb.base/exprs.exp: ditto.
23614 * gdb.base/interrupt.exp: ditto.
23615 * gdb.base/opaque.exp: ditto.
23616 * gdb.base/printcmds.exp: ditto.
23617 * gdb.base/ptype.exp: ditto.
23618 * gdb.base/scope.exp: ditto.
23619 * gdb.base/setvar.exp: ditto.
23620 * gdb.base/signals.exp: ditto.
23621 * gdb.base/twice.exp: ditto.
23622 * gdb.c++/classes.exp: ditto.
23623 * gdb.c++/inherit.exp: ditto.
23624 * gdb.c++/templates.exp: ditto.
23625 * gdb.base/break.exp: no run and hit main for stubs. Change line
23626 numbers for breakpoints and info breakpoint.
23627 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23628 breakpoint().
23629 * gdb.base/callfuncs.c: ditto.
23630 * gdb.base/exprs: ditto.
23631 * gdb.base/interrupt.c: ditto.
23632 * gdb.base/opaque0.c: ditto.
23633 * gdb.base/printcmds.c: ditto.
23634 * gdb.base/ptype.c: ditto.
23635 * gdb.base/scope0.c: ditto.
23636 * gdb.base/setvar.c: ditto.
23637 * gdb.base/signals.c: ditto.
23638 * gdb.base/twice.c: ditto.
23639 * gdb.c++/misc.cc: ditto.
23640 * gdb.c++/templates.cc: ditto.
23641
23642Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23643
23644 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23645
23646 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23647 somewhere between `read' and `main.c'. I'm pretty sure the
23648 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23649 and it isn't particularly useful.
23650
23651 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
23652
23653Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23654
23655 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23656
23657Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
23658
23659 * config/mt-slite: add LIBS and -nostdlib.
23660 * config/slite-gdb.exp: add this new file to support sparclite target.
23661
23662Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
23663
23664 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23665
23666 * gdb.base/a2-run.exp: Change argument to istarget from
23667 "*-*-vxworks" to "*-*-vxworks*".
23668 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23669
23670Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
23671
23672 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23673 will not runto main but do a 'step' to step out of breakpoint().
23674 * config/mt-slite: add -Dusestubs.
23675
23676Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23677
23678 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23679 instead of just @.
23680
23681 * gdb.base/signals.exp: Add test for "handle all print".
23682 * TODO: Remove "handle all print". Also remove item about
23683 checking copyright date (I don't like the idea of a spurious FAIL
23684 based on when we run the tests).
23685
23686 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
23687 for SunOS4 (reason for failure not investigated). Remove
23688 redundant test for $binfile.
23689
23690 * gdb.base/nodebug.c (array_index): Call malloc.
23691
23692 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23693
23694Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
23695
23696 * gdb.base/recurse.exp: Update gdb_test invocation to use new
23697 conventions and slightly simplify the matching regexp.
23698
23699Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23700
23701 * gdb.base/break.exp: Update gdb_test invocation to use new
23702 convention.
23703
23704 * lib/gdb.exp: If noargs is not set, set it to 0.
23705
23706 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
23707 tests unique.
23708
23709 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23710
23711Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23712
23713 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23714 one argument of type "<non-float parameter>".
23715
23716Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
23717
23718 * config/rom68k.exp: New file to support Motorola IDP board.
23719 * gdb.base/a2-run.exp: Skip this file if noargs is set.
23720 * gdb.base/break.c: Change things around so that this program
23721 doesn't depend upon args. This is necessary to make remote
23722 targets work (in general, they can't take args).
23723 * gdb.base/break.exp: Don't try to send args to program. Don't
23724 expect output. Also, replace lots of code with gdb_test.
23725
23726Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23727
23728 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23729 printing of '\'' (which is what the comment says we are testing,
23730 even though we were not), not '''.
23731 (test_integer_literals_rejected): Test that printing ''' is an error.
23732
23733 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23734 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23735 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23736 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23737 Use gdb_test not test_print_accept.
23738 * lib/gdb.exp: Remove test_print_accept.
23739
23740 * gdb.base/signals.exp (signal_tests_1): Make pass message
23741 consistent with fail message.
23742
23743 * gdb.base/whatis.exp: Remove xfails for printing char vs.
23744 unsigned char; the bug (PR 1821) is fixed.
23745
23746 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23747
23748 * gdb.base/scope.exp (test_at_localscopes): Call pass for
23749 successful tests--makes xfailing them work right.
23750
23751Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23752
23753 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23754 only \r\n, not .*. The test can pass .* as the last thing in
23755 $pattern if that is what it wants. In addition to providing this
23756 flexibility, this change should speed up pattern matching in cases
23757 where the pattern already ended with .* (there were a number of
23758 them). This change also helps catch bad patterns--in the old
23759 scheme the typo "char \*" instead of "char \\*" would pass. Now
23760 it is caught.
23761 * Many .exp files: Update callers.
23762
23763 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
23764 clearer and does not spuriously match multiple ('s. Likewise for
23765 ) and *.
23766
23767 * gdb.base/nodebug.exp: Test ability to call a function and pass
23768 it a string (even with no debugging info).
23769
23770 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23771 "p '\'", which is the same as "p ''" once tcl gets done with
23772 quoting, to "p '\\'", which I suspect is what is intended (one
23773 backslash gets sent to GDB).
23774
23775 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23776
23777Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23778
23779 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
23780 1817) was fixed literally years ago.
23781
23782Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23783
23784 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
23785 test, it causes stepping out of call_after_alloca_subr with
23786 optimizing compilers.
23787 (localvars_in_indirect_call): Consume GDB prompt if `finish'
23788 fails.
23789
23790 * gdb.c++/templates.exp: Source templ-info.exp only if
23791 the templates executable exists.
23792
23793 * gdb.c++/misc.cc (class Contains_static_instance,
23794 class Contains_nested_static_instance),
23795 gdb.c++/classes.exp (test_static_members): Test printing of
23796 a class that contains a static instance of the class.
23797
23798Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23799
23800 * gdb.base/langs2.c (cppsub_): Don't prototype.
23801 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23802 only, I believe).
23803
23804Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23805
23806 * lib/gdb.exp (skip_chill_tests): New procedure.
23807
23808 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23809
23810Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
23811
23812 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23813 each expect pattern. Cuts runtime from 12 to about 4 seconds.
23814
23815Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23816
23817 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23818
23819 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23820 disassemble 8, not 16, instructions for part 4.
23821
23822 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
23823 support the latter anymore.
23824
23825 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23826 -DNO_PROTOTYPES.
23827 * gdb.base/callfuncs.c: Control use of prototypes based on
23828 NO_PROTOTYPES, not __STDC__.
23829 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23830 t_float_values2 tests if prototypes in use.
23831
23832 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23833 t_double_values): When checking differences against DELTA, check
23834 that difference is within the range (-DELTA,DELTA), not just
23835 (-infinity,DELTA).
23836
23837Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
23838
23839 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23840 'file' command firts, then 'target', then 'load', this is due to gdb
23841 target set up.
23842 * config/mips-gdb.exp: Fix a couple regular exp bugs.
23843
23844Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
23845
23846 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23847 FP load/store variants.
23848 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23849
23850Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23851
23852 * gdb.base/term.exp: Do not give a warning if not native, it is
23853 not an abnormal condition.
23854
23855Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
23856
23857 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23858 t_char_array".
23859
23860Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23861
23862 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23863 are getting the version number.
23864
23865 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23866 if not native, it is not an abnormal condition.
23867
23868Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23869
23870 * lib/gdb.exp: Just use "file exists", rather than undocumented
23871 dejagnu procedure "findfile".
23872
23873Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23874
23875 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23876 (LDFLAGS): Set to -Xlinker -Ur.
23877
23878 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23879 Removed, these values are set by lib/gdb.exp.
23880
23881 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23882
23883Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23884
23885 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23886 of replicating gdb startup code.
23887
23888 * config/mt-vxworks (LDFLAGS): Set to -r.
23889 (CFLAGS_FOR_TARGET): Removed.
23890
23891 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23892 (gdb) and gdb for vxworks uses (vxgdb).
23893
23894 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23895 executable is not in the tree and host != target, use sed and
23896 program_transform_name to determine the gdb name used by the
23897 target.
23898
23899 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23900 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23901
23902Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23903
23904 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23905 floats, chars, and shorts where there are ANSI-style function
23906 definitions.
23907
23908 * gdb.base/langs.exp, gdb.base/langs*: New test.
23909 * gdb.base/Makefile.in: Build it.
23910 * TODO: Remove item about checking that C names don't get C++
23911 demangling applied; this test tests it.
23912
23913Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23914
23915 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23916 went with the const70 xfail. The xfail went away a year ago.
23917
23918 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23919
23920 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
23921 for hp300.
23922
23923 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23924
23925 * gdb.base/a1-selftest.exp: Don't run on hp300.
23926
23927Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23928
23929 * Makefile.in (site.exp): Set host_alias and target_alias as well
23930 as host_triplet and target_triplet.
23931
23932Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23933
23934 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23935
23936 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23937 places as other ecoff systems).
23938
23939 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23940 ultrix.
23941
23942Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23943
23944 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23945 remove them.
23946 * gdb.base/nodebug.exp: Accept "function" in addition to "text
23947 variable and "variable" in addition to "data variable".
23948 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23949
23950 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23951 2.
23952 * gdb.base/list1.c (long_line): Add additional statement at start
23953 of function.
23954 * gdb.base/list.exp (test_forward_search): Update line number to
23955 reflect new statement.
23956
23957Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23958
23959 * gdb.base/signals.exp: Reinitialize searched source directories
23960 after gdb_start call.
23961
23962Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
23963
23964 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23965 * gdb.stabs/Makefile.in: Likewise.
23966
23967 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23968 change. Instead split the tests into smaller pieces.
23969 * gdb.disasm/hppa.s: Corresponding changes.
23970
23971Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23972
23973 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23974 Quote ^C when passing it to stty. For some shells ^ is a pipe.
23975
23976 * gdb.base/funcargs.exp: Modify many tests so that every test
23977 either passes or fails. Make some test names unique.
23978
23979Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23980
23981 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23982 Call stty to set interrupt character.
23983
23984 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23985 for HP assembler versus GNU assembler based on actual behavior of
23986 $(CC), rather than assuming that $(AS) is always the GNU assembler.
23987
23988 * TODO: Suggest a few more stepping tests.
23989
23990Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
23991
23992 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23993 restart GDB for h8300 after a continue.
23994 (return): Add pattern to match a29k-udi behavior.
23995 * gdb.base/nodebug.exp: Remove obsolete comment.
23996 * gdb.base/regs.exp: New file, testing of register displays.
23997 * gdb.base/return.exp: Fix typo in reference to $objdir.
23998 * gdb.base/whatis.exp: Always start with a fresh GDB.
23999
24000Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24001
24002 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24003 higher, these tests generate a lot of output.
24004
24005Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24006
24007 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24008 code following the catch silently ignored some errors; without the
24009 catch they should be thrown like any other tcl error. Also, the
24010 catch used "" instead of {} which meant all the callers who wanted
24011 to include one of the characters "[]$ had to quote it an extra time.
24012 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24013 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24014 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24015 Remove extra quoting.
24016
24017Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24018
24019 * gdb.base/commands.exp: Make test names unique; every test either
24020 passes or fails. Update some comments.
24021
24022 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24023
24024Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24025
24026 The following fixes a FAIL caused by the fact that the alpha stabs
24027 configuration didn't use the ".if alpha" code in weird.def.
24028 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24029 bit pointer, so the 32 bit version works even on the alpha.
24030 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24031 Remove the stuff which allowed us to have separate versions for
24032 alpha and everything else.
24033
24034 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24035 regexp which "info func operator\[\](" is supposed to match. Fix
24036 string to send to GDB. Note that GDB still doesn't work right. Add a
24037 new test for "info func .perator\[\](" which GDB does handle correctly.
24038
24039 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24040
24041Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24042
24043 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24044 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24045 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24046 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24047 it makes the tests harder to understand and confuses test-o-matic.
24048 The preferred style is that each test provides a PASS or a FAIL,
24049 and has a unique message (e.g. "continue #54" not just "continue")
24050 which is the same for the pass and the fail.
24051 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24052 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24053 to lib/gdb.exp.
24054 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24055 prt_accept which was basically the same thing. Likewise for
24056 test_print_reject and prt_reject.
24057 * lib/gdb.exp (test_print_reject): Add some more error message
24058 patterns to match from the former printcmds.exp (prt_reject).
24059 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24060 One defect of the passcount stuff is that some of it failed to
24061 report XPASS where appropriate.
24062 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24063 stuff before and after arg in expected pattern.
24064 (test_paddr_operator_functions): Re-do test without print_addr_of;
24065 this is the only test which seems to want extra stuff there.
24066
24067Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24068
24069 * gdb.base/nodebug.exp: Update new tests to reflect improved
24070 wording of gdb output.
24071
24072 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24073 and "ptype" work on variables in files compiled without -g.
24074 Replaces commented out "maint print msymbol" tests.
24075
24076Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24077
24078 * gdb.base/setvar.c (dummy): Call malloc.
24079
24080 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24081 losing with the irix4 sed.
24082
24083 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24084 ALRM" on irix4.
24085
24086Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24087
24088 * TODO: Remove items about corefile.exp testing new exec-file and
24089 backtrace; both are now done. Add items about printing enums.
24090
24091Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24092
24093 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24094 "get signal $thissig" test fails.
24095
24096 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24097
24098Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24099
24100 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24101 compiler warning with dec alpha compiler.
24102
24103 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24104 extra \n from gdb_test call (this explains why the prompt test
24105 that I removed yesterday was there).
24106 (user_defined_command_test): Remove extra \n and prompt test.
24107
24108 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24109 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24110 doesn't exist.
24111 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24112 Also remove alpha workaround, which turns out to be because
24113 SIGABRT == SIGLOST.
24114
24115 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24116
24117 * gdb.base/help.exp: Don't test "help show".
24118
24119Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24120
24121 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24122 "set print address" is on.
24123 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24124 pass prompt to gdb_test; gdb_test already looks for the prompt.
24125
24126 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24127
24128 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24129 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24130 was to make sure that gdb can read a core file. But (a) the "read
24131 the corefile" part didn't make it to a1-selftest.exp, we just
24132 delete the corefile after creating it, and (b) we test reading
24133 corefiles in corefile.exp anyway. Also, this test left around a
24134 xgdb process on Solaris.
24135
24136 * gdb.base/corefile.exp: Also test backtrace.
24137
24138Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24139
24140 * gdb.base/commands.exp: Test a simple user defined command with
24141 arguments and if/while statements; verify the full user command is
24142 printed by "show user".
24143
24144 * gdb.base/commands.exp: Test if/while commands as part of a
24145 breakpoint command list; verify they appear in breakpoint
24146 information.
24147
24148Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24149
24150 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24151 than by dividing by zero.
24152
24153Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24154
24155 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24156 performing an inferior call with watchpoints enabled.
24157 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24158 call.
24159
24160Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24161
24162 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24163 of "file" command.
24164
24165 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24166 Add additional pattern for when "int operator int(void);" appears
24167 in a different order.
24168
24169Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24170
24171 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24172
24173 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24174 and "signal" with ".*".
24175
24176Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24177
24178 * TODO: Add note about "handle all nostop".
24179
24180 * gdb.base/{sigall.c, sigall.exp}: New test.
24181 * gdb.base/Makefile.in: Add it.
24182
24183Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24184
24185 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24186 when invoking GDB, suppresses any windowing interface.
24187
24188Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24189
24190 * config/sim-gdb: New file, simulator testing support.
24191
24192Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24193
24194 * gdb.base/interrupt.exp: Test calling func1 twice.
24195
24196Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24197
24198 * gdb.base/list.exp (test_forward_search): Set timeout higher
24199 when we'll be getting lots of output from gdb.
24200
24201 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24202 "init_malloc" to after the expect statement. Run it if that
24203 regexp is taken, but also for two others which happen if source
24204 cannot be found.
24205
24206Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24207
24208 * gdb.base/printcmds.exp: New test, for printing register before
24209 program is running.
24210
24211Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24212
24213 * gdb.base/list.exp: Correct some alternate expect patterns
24214 to reflect changes in list1.c.
24215
24216Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24217
24218 * TODO: Add item regarding large frames.
24219
24220 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24221
24222 * TODO: Remove item about enabling return.exp; it
24223 is enabled. Suggest a few more "return" tests.
24224
24225Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24226
24227 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24228 anonymous unions.
24229
24230Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24231
24232 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24233 and pr-5646.o, so "make" is the same as "make all", not "make
24234 pr-4975.o".
24235
24236Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24237
24238 * gdb.base/list.exp: Adjust expectations to reflect changes in
24239 list1.c.
24240 (test_forward_search): New test proc.
24241 * gdb.base/list1.c (long_line): New function, has long source line.
24242
24243Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24244
24245 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24246 additional line of code that was added.
24247
24248Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24249
24250 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24251 tests so as not to overflow expect's input buffers.
24252 * gdb.disasm/hppa.exp: Corresponding changes.
24253
24254Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24255
24256 Beginnings of template debugging tests.
24257 * gdb.c++/templ-info.cc: New file to test for template
24258 debugging capability of the compiler.
24259 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24260 templ-info.cc.
24261 * gdb.c++/templates.cc: Add explicit template instantiations
24262 to enable compiling with -fno-implicit-templates. Add destructor
24263 and 'value' method to T5 class for template tests.
24264 * gdb.c++/templates.exp: Add testcases for printing of template
24265 types, setting breakpoints on template methods and calling a
d63a86f8 24266 template method.
c906108c
SS
24267
24268Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24269
24270 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24271 branch target since some assemblers (gas-2.5) may emit a
24272 relocation for the branch instead of resolving it in the
24273 assembler.
24274
24275Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24276
24277 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24278 through signal handler.
24279
24280Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24281
24282 * configure.in (*-*-netware): Use config/mt-netware.
24283
24284 * config/mt-netware: New file.
24285 * config/mt-i386-netware: Removed, separate configs for different
24286 netware architectures are no longer needed now that we have
24287 --with-headers.
24288
24289Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24290
24291 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24292 by the recent changes to use ANSI C arithmetic conversions.
24293
24294Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24295
24296 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24297 bug involving using inferior_pid to figure out whether to select a
24298 frame.
24299
24300Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24301
24302 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24303 match the current disassembler output.
24304
24305Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24306
24307 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24308 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24309 types, expect "int" as type of integer values (for now).
24310
24311Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24312
24313 * gdb.base/commands.exp: New tests for if/while commands.
24314
24315Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24316
24317 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24318 by .*, since hex values have different syntax in Chill mode.
24319
24320Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24321
24322 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24323 linefeed from expect pattern for repeated types with indices > 9.
24324
24325Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24326
24327 First part of Fortran test suite.
24328 * gdb.fortran: New directory.
24329 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24330
24331Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24332
24333 * gdb.base/default.exp: Update expect pattern for load command
24334 without arguments.
24335
24336Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24337
24338 * configure.in: Change i386 to i[345]86.
24339 * gdb.base/configure.in: Likewise.
24340 * gdb.c++/configure.in: Likewise.
24341 * gdb.chill/configure.in: Likewise.
24342
24343Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24344
24345 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24346 patterns, since that is not a valid context for comments.
24347
24348Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24349
24350 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24351 repeated types and repeated types with indices > 9.
24352
24353Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24354
24355 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24356 2417; old bug has been fixed.
24357
24358Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24359
24360 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24361 send the newline ourselves instead of assuming gdb_test will do
24362 so when passed an empty input string.
24363
24364 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24365 stabs testcode.
24366
24367Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24368
24369 * lib/gdb.exp (gdb_test): Don't send anything if the first
24370 argument is an empty string. This makes cases where we want to
24371 match output that is already in expect's buffers (for example,
24372 matching a breakpoint after gdb_run_cmd has been called) work
24373 reliably.
24374
24375Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24376
24377 * config/netware.exp: New file.
24378
24379Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24380
24381 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24382 the -B and -L prefixes so we can find the debugging stub.
24383
24384 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24385 there and we are using the gcc from the tree.
24386
24387 * gdb.base/types.c: Removed.
24388
24389 * gdb.base/configure.in: Look for makefile fragments in ../config.
24390 Recognize i386-*-netware.
24391 * gdb.c++/configure.in: Likewise.
24392
24393Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24394
24395 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24396 the correct TCL syntax.
24397
24398Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24399
24400 * gdb.base/opaque.exp: use runto instead of messing around with
24401 breakpoints. Simplify by using gdb_test.
24402
24403 * gdb.base/bitfields.exp: restart between tests on netware targets
24404 because breakpoints aren't relocated after target death. Run
24405 processes to completion.
24406
24407 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24408
24409Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24410
24411 * Makefile.in: Remove extra tabs that confuse some versions
24412 of "make". Use the newly built gdb to test with by default,
24413 rather than the first one in the tester's search path.
24414
24415Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24416
24417 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24418
24419 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24420 condition help.
24421
24422Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24423
24424 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24425
24426 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24427 running.
24428 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24429 * gdb.base/funcargs.exp: Likewise.
24430
24431 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24432 * gdb.base/funcargs.exp: Likewise.
24433
24434 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24435 message is "".
24436
24437Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24438
24439 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24440 return,signals,twice}.exp: Handle non-existant binaries
24441 consistantly.
24442
24443 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24444 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24445 might testing a cross development system.
24446
24447Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24448
24449 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24450 runtest script is relative to ${srcdir}, not ${rootdir}.
24451
24452Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24453
24454 * gdb.base/signals.exp: Allow for optionality of breakpoint
24455 address.
24456
24457Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24458
24459 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24460
24461Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24462
24463 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24464 for size_t definition.
24465 * gdb.c++/templates.cc: Likewise
24466
24467 * config/mt-i386-netware: New file.
24468
24469 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24470 defined.
24471
24472 * gdb.base/Makefile.in: Added support for systems that name core
24473 files by appending "core" to the program name.
24474 * gdb.base/a1-selftest.exp: Likewise.
24475
24476Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24477
24478 * gdb.base/return.exp: Add comment and message for `return double'
24479 test failure on Sparc Solaris.
24480
24481Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
24482
24483 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24484
24485Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24486
24487 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
24488 from optimizing them away.
24489 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
24490 patterns to include default constructors and assignment operators,
24491 to match gcc versions beyond 2.5.8. Accept any cplus demangling
24492 character in the output of the virtual base pointer.
24493
24494Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24495
24496 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
24497 expression match in print_addr_of to avoid unintented matches.
24498 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
24499 versions up to 2.5.8.
24500
24501Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24502
24503 * gdb.base/list.exp: Tweak alternate pattern for listing of an
24504 included file to run under newer versions of expect.
24505 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
24506 consecutive >'s in templates to accomodate recent cplus-dem.c change.
24507 Remove xfail for the virtual table of BDDHookV.
24508
24509Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
24510
24511 * lib/gdb.exp (string_to_regexp): Set a default result.
24512 (default_gdb_start): Fix misleading message.
24513
24514Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
24515
24516 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24517 Remove all CC, etc definitions.
24518 * config/mt-hpux: New file.
24519 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24520 (CFLAGS, LDFLAGS): Define.
24521 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24522
24523 * Makefile.in (site.exp): Don't insert host_os, etc.
24524 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24525 (distclean): Check existence of subdir.
24526 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24527 * gdb.base/Makefile.in: General cleanup and simplification.
24528 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24529 to build executables. Use default rule to build .o files.
24530 (EXPECT, RUNTEST, CC): Fix relative pathname.
24531 (site.exp): Don't insert host_os, etc.
24532 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24533 and/or SIGUSR1 defined.
24534 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24535 * gdb.c++/Makefile.in: General cleanup and simplification.
24536 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24537 (CFLAGS): Remove.
24538 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24539
24540Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
24541
24542 * gdb.base/recurse.exp: Misc changes to get tests running again
24543 after Kung's changes to the watchpoint code.
24544 * gdb.base/watchpoint.exp: Likewise.
24545
24546Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
24547
24548 * lib/gdb.exp (string_to_regexp): Convert {\} also.
24549
24550Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
24551
24552 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24553 * lib/gdb.exp (default_gdb_start): Define.
24554 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24555 gdb.base/funcargs.exp, gdb.base/opaque.exp,
24556 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24557 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24558 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24559 Don't call gdb_target_udi in between tests.
24560
24561Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24562
24563 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24564 (which was basically just a local version of the same thing). In
24565 addition to avoiding duplication, gdb_test_exact is faster.
24566 * lib/gdb.exp (gdb_test_exact): Fix typo.
24567
24568 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24569 don't give an error.
24570
24571 * gdb.base/term.exp: Call delete_breakpoints before starting.
24572
24573 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24574 (t10): Add comment.
24575
24576Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24577
24578 Reorganization of the GDB Test Suite.
24579
24580 * gdb.base: New directory, contains all the basic tests.
24581 * gdb.c++: New directory, tests specific to C++.
24582 * gdb.chill: New directory, tests specific to Chill.
24583 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24584 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24585 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24586 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24587 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24588 t30-31 to chill).
24589 * */gdbme.*: Rename to match appropriate expect scripts.
24590 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24591 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24592 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24593 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24594 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24595 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24596 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24597 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24598 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24599 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24600 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24601 gdb.c++/virtfunc.cc: New names of C++ files.
24602 * gdb.chill/chillvars.ch: New name of Chill file.
24603 * gdb.base/configure.in, gdb.c++/configure.in,
24604 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24605 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24606 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24607 * configure.in (configdirs): Update to reflect directory changes.
24608 (target_abbrev): No longer define for any configuration.
24609 * Makefile.in: Cosmetic improvements to header comments.
24610
24611Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
24612
24613 Various changes to gdb.t31:
24614
24615 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
24616 * gdbme.ch: Make all key-words and predefineds be upper-case.
24617 * chillvars.exp: Expect key-words and predefinds in upper-case.
24618
24619 * chillvars.exp: Use gdb_test_exact many places.
24620 Change expected output for arrays (which now includes index labels).
24621
24622 * pr-5020.exp, gdme.ch (module PR_5020):
24623 New test, for PR-5020.
24624
24625Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
24626
24627 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
24628 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
24629
24630Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
24631
24632 * Makefile.in: Fix bit-rot in definitions of CHILL,
24633 CHILL_FOR_TARGET and Chill_LIB.
24634 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
24635 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
24636 CHILL, and CHILL_LIB.
24637
24638Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
24639
24640 * Revert the previous changes. Please see Rob's directory
24641 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24642
24643Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
24644
24645 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
24646 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24647 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24648 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
24649 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24650 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24651 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24652 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24653 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24654 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24655 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24656 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24657 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24658 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24659 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24660 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
24661 changes from 94Q1.
24662
24663Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
24664
24665 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24666 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24667 Rob's new testing fragments.
24668
24669Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
24670
24671 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 24672 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
24673
24674Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24675
24676 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24677 version also, match on casted version strings, and match on
24678 gdb startup case where the line numbers might be messed up.
24679
24680Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
24681
24682 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 24683 (CFLAGS): Delete it from here.
c906108c
SS
24684
24685Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
24686
24687 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24688
24689Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
24690
24691 * Makefile.in (RUNTEST): Default to just "runtest".
24692
24693Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24694
24695 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24696 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24697 the code has been restructured.
24698
24699Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24700
24701 * gdb.t00/default.exp (set write): Allow any number of \r and/or
24702 \n, not just one of each.
24703
24704 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24705 /bin/cc gives a warning if you do.
24706
24707Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
24708
d63a86f8 24709 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
24710 __t10ListS_link1ZUiRCUiPT0
24711
24712Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24713
24714 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24715 on local variables in recursive functions.
24716
24717 * gdb.t07/Makefile.in: Build the new test.
24718
24719Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24720
24721 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24722 directly. Instead compare the return values from actual calls.
24723
24724Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
24725
24726 * Makefile.in (check): Set TCL_LIBRARY for runtest.
24727
24728Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24729
24730 * From Peter Schauer with minor modifications.
a9c64011
AS
24731 * gdb.t15/return.exp (return_tests): Handle targets where "return"
24732 stops in mid-line in the caller. Add xfail for returning a float
24733 value on X86 targets.
c906108c
SS
24734
24735Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24736
24737 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24738 to avoid expect lossage.
24739 (fmem_LRbug_tests): Likewise.
24740 * gdb.disasm/hppa.s: Corresponding changes.
24741
24742 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24743 conditions to work with latest dejagnu/expect.
24744
24745 * gdb.t15/funcargs.exp (finish from indirect call): No longer
24746 expected to fail on the PA.
24747 (backtrace in call with trampolines): Explicitly require main
24748 to be frame #1 (no trampolines should show up in backtrace).
24749
24750 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24751 "continue -expect".
24752 * gdb.t06/break.exp: Likewise.
24753 * gdb.t07/watchpoint.exp: Likewise.
24754 * gdb.t13/bitfields.exp: Likewise.
24755 * gdb.t15/{funcargs,return}.exp: Likewise.
24756 * gdb.stabs/weird.exp: Likewise.
24757 * config/{mips,udi}-gdb.exp: Likewise.
24758
24759 * hppa.sed: Enclose comments within a sed command to avoid
24760 losing with the old OSF1 sed.
24761
24762Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24763
24764 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
24765 sequent dynix.
24766 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
24767 * gdb.t15/funcargs.exp: Conditionally step again to really
24768 finish from marker_call_with_trampolines. Handle the case where
24769 the first step from within call_with_trampolines already steps
24770 us back to main.
24771 * gdb.t15/gdbme.c: Add comment to closing brace of
24772 call_with_trampolines for funcargs.exp.
24773
24774Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24775
d63a86f8 24776 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
24777 Fix typo(s).
24778
24779Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24780
24781 * gdb.t07/gdbme.c: More code for watchpoint testing.
24782
24783 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24784 "Hardware watchpoint" throughout file.
24785 (test_watchpoint_triggered_in_syscall): New test.
24786 (test_complex_watchpoint): New test.
24787
24788Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24789
24790 * gdbme.c (call_with_trampolines): New function to try and step
24791 into. Tests trampoline problems on the PA.
24792
24793 * funcargs.exp (localvars_in_indirect_call): No longer expect
24794 stepping into indirect call to fail on PAs.
24795 (test_stepping_over_trampolines): New test.
24796
24797Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24798
24799 * TODO: Add suggestions for static member function tests, and
24800 completion tests.
24801
24802Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24803
24804 * TODO: Add suggestions for "p/a" tests.
24805
24806 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24807 (default_gdb_exit): Replace all the hair with sending "quit" to
24808 the process with a simple close.
24809
24810Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24811
24812 * TODO: Add suggestions for shared library tests.
24813
24814Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24815
24816 * TODO: Add suggestions for x/s tests.
24817
24818Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24819
24820 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24821 "enable once", and "enable breakpoints once" with ".*".
24822
24823Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24824
24825 * TODO: Add suggestions about structure passing tests.
24826
24827Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24828
24829 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
24830 the primary1 test, use work around if __GNUC__ < 2.
24831 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
24832 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
24833 Test for bad output rather than waiting for timeout. Issue
24834 second continue only if first continue failed.
24835
24836Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24837
24838 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24839 operator[] test with gdb_test because the old code didn't seem to
24840 be getting the quoting right with the new dejagnu.
24841
24842Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
24843
24844 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24845 one from the path.
24846 * Makefile.in: Use a fresh expect if there is one, use runtest
24847 from the src tree if there is one.
d63a86f8 24848
c906108c
SS
24849Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24850
24851 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24852 next over recursive call. Revise the tests from that point on
24853 (which had been skipped) to match GDB's actual (correct) output.
24854
24855 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24856 with next over a breakpoint whose condition is false.
24857
24858 * gdb.t00/help.exp: Comment out "help set print" tests just like
24859 (and for same reason as) "help set" test.
24860
24861Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24862
24863 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24864 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24865
24866Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24867
24868 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24869 necessary gdb_target_udi.
24870
24871 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24872
24873 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24874 1838 and 2417; they are fixed.
24875
24876 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24877 gdb.t03/ptype.exp (ptype structure, ptype union):
24878 Remove xfails; the test is looser than when the xfails were added.
24879
24880 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24881 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24882
24883 * gdb.t01/run.exp: Only run shell test if isnative.
24884
24885 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24886 since "run" automatically loads if necessary. Call gdb_target_udi
24887 after the "file" since "file" kills any execution target.
24888
24889 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24890 GDB. GDB doesn't work that way (not anymore at least) on UDI.
24891 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24892 argument for UDI.
24893
24894Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24895
24896 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24897
24898 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24899
24900Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24901
24902 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24903 properly quoting regexps. This makes the second argument to
24904 demangle a fixed string, which matches the callers, instead of a
24905 shell-style pattern which is what the previous implementation
24906 used. Update some of the callers.
24907
24908Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24909
24910 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24911 (comib_nullified_tests): Fix typo.
24912 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24913 strings. No longer expected to fail.
24914
24915 * gdb.disasm/hppa.s (addib_tests): Fix typo.
24916 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24917 strings. No longer expected to fail.
24918
24919 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24920 string. No longer expected to fail.
24921
24922Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24923
24924 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24925 No longer expected to fail.
24926
24927 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24928 string. No longer expected to fail.
24929
24930Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24931
24932 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24933 only in the names (I probably got most of them). I was even
24934 generous with some which differed in underscores in names, and
24935 probably missed a few, and I *still* was able to remove almost a
24936 third of the file with almost no impact on testsuite coverage.
24937
24938Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24939
24940 * gdb.t00/default.exp: Match udi_attach error message as well as
24941 the one from child_attach.
24942
24943 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24944
24945 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24946
24947 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24948 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24949
24950 * Move test with enums and partial symbols back to
24951 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24952 Reverts the change of 26 May 93. Per today's change to
24953 stabs.texinfo, the behavior that weird.exp was expecting was
24954 unreasonable; what is important is that the compiler+gdb get
24955 things right, which happens with a recent gcc. Also fix the test
24956 to deal with native compilers which put out the stab gdb can't
24957 deal with.
24958
24959Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24960
24961 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24962 in the names. The main thing these accomplish is to slow things down.
24963 Many more such duplicates surely remain.
24964
24965 * gdb.t00/help.exp: Comment out "help support" test just like
24966 (and for same reason as) "help set" test.
24967
24968Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
24969
24970 * gdb.t06/break.exp: Remove setup_xfails for
24971 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24972 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
24973 about known bug in gcc to include up through 2.5.8.
24974 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
24975 well as "_vb$".
24976 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24977 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24978 with latest gcc and gdb.
24979 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
24980 well as "_vb$".
24981
24982Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24983
24984 * configure.in (hppa*-*-*): Also configure and build stabs-only
24985 tests.
24986
24987Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24988
24989 * gdb.t10/hppa.mt: A makefile fragment for the PA.
24990 * gdb.t10/configure.in (hppa*-*-*): Use it.
24991
24992Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24993
24994 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
24995
24996Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24997
24998 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
24999 versions prior to 1.13.5.
25000
25001Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25002
25003 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25004 the prompt is at the start of a line.
25005
25006Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25007
25008 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25009 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25010 in the copr tests now.
25011 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25012 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25013 expected to fail.
25014
25015Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25016
25017 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25018 gdb.t31/chillvars.exp, lib/gdb.exp:
25019 Tweak to run under either version of expect.
25020 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25021 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25022 * gdb.t11/list.exp: Remove extraneous whitespace.
25023
25024Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25025
25026 * gdb.t16/printcmds.exp (test_print_strings): Accept
25027 "(unsigned char *) " before the string.
25028
25029 * TODO: Add notes about printing of fancy types and GDB expressions.
25030
25031Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25032
25033 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25034 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25035 if doing mips-idt-ecoff.
c906108c
SS
25036
25037Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25038
25039 * Most .exp files: Tweak to run under either version of expect.
25040
25041Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25042
25043 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25044 xfails; I'm not sure why they are failing, but not because of PR 1806.
25045
25046Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25047
25048 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25049 defined in lib/gdb.exp.
25050
25051Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25052
25053 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25054 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25055 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25056 have to be typeless.
25057
25058Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25059
25060 * TODO: Add suggestion for copyright year test.
25061
25062Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25063
25064 * configure.in (*-*-lynxos*): Add stabs tests.
25065
25066Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25067
25068 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25069 so insert a tab before any assembler directive in column zero.
25070
25071 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25072 stores.
25073 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25074 stores.
25075 (fpu_short_memory_tests): Likewise.
25076
25077Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25078
25079 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25080 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25081 .stabs directives in comments.
25082
25083Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25084
25085 * TODO: New file, describing tests we could write.
25086 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25087
25088Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25089
25090 * gdb.t06/signals.exp: Add kludge to force re-sync.
25091
25092 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25093 to xgdb instead of gdb, get out of gdb.
25094
25095Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25096
25097 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25098 for info.
25099
25100Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25101
25102 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25103 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25104 * gdb.stabs/hppa.sed: New sed script for the PA.
25105
25106Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25107
25108 * gdb.stabs: Re-write weird.def and configuration to use sed
25109 instead of cpp. sed is portable and POSIX; cpp is neither.
25110
25111Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25112
25113 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25114
25115Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25116
25117 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25118
25119Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25120
25121 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25122 "_vb$".
25123 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25124 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25125
25126Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25127
25128 * lib/gdb.exp: Comment out code which depends on non-existent
25129 `transform' procedure.
25130
25131Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25132
25133 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25134 * lib/gdb.exp: Transform tool name.
25135 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25136 1.1's new error handling system.
25137
25138Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25139
25140 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25141
25142Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25143
25144 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25145 They made pattern matching so slow that timeouts happened on
25146 heavily loaded systems. Now any output from "show print" which
25147 gets us back to the GDB prompt is a PASS.
25148
25149Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25150
25151 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25152
25153Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25154
25155 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25156
25157 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25158 It is not from PR 3220.
25159
25160Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25161
25162 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25163 just started failing because they depended on the order the
25164 subcommands are presented, or exact docstring text. This kind of
25165 test is a pain and has minimal benefit.
25166
25167Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25168
25169 * gdb.t09/corefile.exp: At end of test, use "core" command with
25170 no arguments.
25171
25172Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25173
25174 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25175 17}/Makefile.in: Make it possible to run the testsuite with Sun
25176 make and CC = cross gcc by adding explicit build rules for .o
25177 files.
25178
25179Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25180
25181 * gdb.t15/funcargs.exp: Don't put comments on same line as
25182 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25183
c906108c
SS
25184Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25185
25186 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25187
25188Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25189
25190 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25191 * gdb.t20/inherit.exp: remove three dumplicate entries.
25192
25193Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25194
25195 * gdb.t06/break.exp: For "next over recursive call", fail on any
25196 incorrect output, not just on "factorial (value=2)".
25197
25198Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25199
25200 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25201 working now. Add an xfail if accesing a bss variable causes
25202 a memory error if the target is not yet run.
25203
25204Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25205
25206 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25207 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25208 name of __st* demangling (2 strings). Did Kung really get the
25209 more than 95 others right without testing them?
25210
25211Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25212
25213 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25214
25215Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25216
25217 * configure.in (configdirs): Add gdb.disasm
25218 * gdb.disasm: New directory for GDB disassembler tests.
25219 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25220
25221Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25222
25223 * gdb.t00/help.exp: Don't test "help set".
25224
25225 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25226 from within expect statements. None of these happen anymore and
25227 they cause regressions to be silently unnoticed.
25228
25229 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25230 messages) about known failures with gcc cygnus-2.4.5-930417.
25231
25232 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25233 comp-info.exp so it gets built if it doesn't exist.
25234
25235 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25236 it is no longer used.
25237 * gdb.t13/comp-info.c: Removed.
25238
25239Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25240
25241 * gdb.t06/signals.exp: Add xfail for sun3.
25242
25243Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25244
25245 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25246 relevant because ^C doesn't get sent but failure can be reproduced
25247 interactively).
25248
25249Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25250
25251 * gdb.stabs/alpha.mt: New configuration file for alpha.
25252 * gdb.stabs/configure.in: Use it.
25253 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25254 sharing with alpha.mt, redefine long to word via preprocessor.
25255 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25256 for alpha.
25257 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25258 native cc.
25259 * gdb.t00/teststrategy.exp: Change expect string so that we
25260 consume the `(xgdb)' from the command echo and from the gdb prompt.
25261 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25262 gdb currently compares all values as long, so this failure probably
25263 applies to any configuration where LONGEST is bigger than a target int.
25264 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25265 with gcc.
25266 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25267 to handle opaque pointers, gcc is.
25268 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25269 as first argument. Include <sys/types.h> and change all operator
25270 new definitions to use size_t.
25271 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25272 now that we use size_t.
25273
25274Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25275
a9c64011 25276 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25277 a long or float array cast all array members to the same type.
a9c64011 25278 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25279 with 64 bit longs.
a9c64011 25280 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25281 on alpha.
a9c64011 25282 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25283
25284Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25285
25286 * gdb.t24 (demangle.exp): Constructors of templates have names like
25287 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25288 section 14.6 of the ARM.
25289
25290 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25291 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25292 accomplish little and slow down the testsuite.
25293
25294 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25295 Accept spaces various places.
25296
25297Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25298
25299 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25300 with watchpoint enabled.
25301
25302 * Makefile.in: Remove definition of CC and remove the second
25303 definition of CXX (the "CXX = gcc" one remains). These definitions
25304 were causing backquotes to be expanded within backquotes, which
25305 doesn't work.
25306
25307Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25308
25309 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25310
25311Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25312
a9c64011
AS
25313 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25314 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
25315 by mips cc and contains no stabs entries.
25316
25317Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25318
25319 * config/vx-gdb.exp: Use fake device to load files rather than
25320 NFS.
25321 * lib/gdb.exp: New proc to do "file" command.
25322 * config/unix-gdb.exp: Use new "file" proc.
25323
25324Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25325
25326 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25327 Rework board rebooting slightly.
25328 (gdb_exit): Don't exit from the remote shell; there isn't one.
25329 * gdb.stabs/weird.exp: If a program is being debugged already,
25330 kill it.
25331 * gdb.t04/setvar.exp: Stop and restart gdb.
25332 * gdb.t05/expr.exp: Likewise.
25333 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25334 restart gdb and reload the program.
25335 * gdb.t08/opaque.exp: Likewise.
25336 * gdb.t12/scope.exp: Likewise.
25337 * gdb.t13/bitfields.exp: Likewise.
25338 * gdb.t15/funcargs.exp: Likewise.
25339 * gdb.t20/classes.exp: Likewise.
25340 * gdb.t03/ptype.exp: Increase timeout.
25341 * gdb.t16/printcmds.exp (test_print_string_constants,
25342 test_print_array_constants): Likewise.
25343 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25344 * gdb.t20/classes.exp (do_tests): Likewise.
25345 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25346
25347Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25348
25349 * gdb.stabs: Renamed *wierd* to *weird*.
25350
25351Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25352
25353 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25354 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25355
25356Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25357
25358 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25359 (do_tests): Remove xfail for whatis on one_var and two_var.
25360
25361Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25362
25363 * Makefile.in: Made cross building work better by adding
25364 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25365
25366Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25367
25368 * gdb.t15/{return.c,return.exp,Makefile.in}:
25369 New test, currently commented out.
25370
25371Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25372
25373 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25374 still running and removes the leftover named socket so GDb can do
25375 clean restarts.
25376
25377Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25378
25379 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25380 console, not GDB.
25381 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25382 cross testing works better with "make check"
25383 * config/unix-gdb: Use default procedures for exit and version.
25384 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25385 with the newest VxWorks.
25386
25387Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25388
25389 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25390 old form.
25391
25392 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25393 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25394
25395 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25396
25397 * config/unix-gdb.exp: Remove this version of gdb_exit
25398 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25399 Rob says he'll look at it when he gets back to testing boards.
25400
25401Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25402
25403 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25404 an expected fail for certain ptype commands.
25405
25406 * gdb.t20/classes.exp: Update expected results of "ptype class
25407 Base1" to account for the constructor that now appears in the type.
25408
25409Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25410
25411 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25412 disappeared from list.
25413 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25414 "alldone" proc with call to cleanup and exit.
25415 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25416 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25417 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25418 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25419 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25420 "alldone" proc with simple returns that suppress remaining
25421 tests. The alldone proc went away many months ago.
25422
25423Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25424
25425 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25426
25427 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25428
25429Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25430
25431 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25432 as vax gdb will display them.
25433
25434Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25435
25436 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25437 optimizers.
25438
25439 * scope.exp: Change "bad value for localval" messages so each one
25440 is unique.
25441
25442 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25443 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25444
25445 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25446
25447Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25448
25449 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25450 doesn't exist (due to optimization).
25451
25452Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25453
25454 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25455 contains \r because the filename is long.
25456
25457 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25458 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25459
25460Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25461
25462 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25463 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
25464 Ultrix.
25465 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
25466 int tests.
25467 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
25468
25469Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
25470
25471 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
25472
25473 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 25474 to match does not match the passing case but still matches the
c906108c
SS
25475 failing case.
25476
25477Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25478
25479 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25480
25481Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
25482
25483 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25484 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25485 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25486 Remove various versions of gdb_exit.
25487 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
25488 gdb_exit.
25489 * config/unix-gdb.exp: gdb_exit remains here, and should override
25490 the generic version, since it's doing a lot of wierd stuff that
25491 the other versions aren't. FIXME, fold it in, or abandon this
25492 version.
25493
25494Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25495
25496 * gdb.t24/demangle.exp: Add tests for PR 3220.
25497
25498Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25499
25500 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25501
25502Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
25503
25504 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
25505 "i386-*-*". Works for i486 as well.
25506
25507 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
25508 bug, and expand domain of xfail to all SVR4 systems, since the
25509 actual problem is likely to be in generic SVR4 /proc support.
25510
25511Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25512
25513 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25514
25515Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
25516
25517 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
25518 xfails for other systems. Match a missing 'Continuing.' as an
25519 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25520
25521 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25522 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25523 Only issue warning for missing executables if -all option is used.
25524
25525 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
25526 file if -all option is used. It's like an unpredictable XFAIL.
25527
25528Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25529
25530 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25531 for dynamically linked binaries.
25532
25533 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25534
25535Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25536
25537 * gdb.t20/inherit.exp: Change message for "print tagless struct"
25538 to state that this is a known bug in old versions of g++.
25539
25540Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25541
25542 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
25543 while waiting for `Continuing'.
25544
25545Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
25546
25547 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
25548 in text, data, and bss.
25549 * gdb.t10/nodebug.c: Add local and global test variables for
25550 initialized and uninitialized data.
25551
25552Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25553
25554 * config/unix-gdb.exp (gdb_exit): Add "wait".
25555
25556Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25557
25558 * gdb.t06/signals.exp: xfail the continue from the handler for all
25559 targets.
25560
25561 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
25562 function with watchpoints enabled, the i386 call dummy starts with
25563 a call.
25564
25565 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
25566 386 bsd names its corefiles.
25567
25568Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
25569
25570 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
25571 compilers don't grok it.
25572 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
25573 with small octal ints rather than character constants, which
25574 are signed and might not fit if first promoted to int.
25575
25576Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
25577
25578 * gdb.t09/Makefile.in (clean): Remove corefile.
25579
25580Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25581
25582 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25583
25584Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25585 and Jim Kingdon (kingdon@cygnus.com)
25586
25587 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25588 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
25589 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25590
25591Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25592
25593 * gdb.t17/interrupt.exp: Add xfail for hppa.
25594
25595Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25596
25597 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25598 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
25599 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
25600 to determine signed-ness of bitfields and use the result to setup
25601 the xfail.
25602 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
25603 * gdb.t15/funcargs.exp: Use them to step until the second indirect
25604 call line is reached if necessary.
25605
25606Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25607
25608 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25609
25610Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25611
25612 * gdb.t06/break.exp: Also test `clear' command.
25613
25614Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25615
25616 * gdb.t00/teststrategy.exp: Remove extra quote.
25617
25618 * gdb.t07/watchpoint.exp: Change xfail for calling function with
25619 watchpoint enabled to be for all non-68k machines.
25620
25621 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25622
25623Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25624
25625 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25626 targets use aout.mt instead of ecoff.mt as gas understands
25627 standard aout format.
25628
25629Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25630
25631 * lib/gdb.exp (runto): Don't insist that function we are running to
25632 was compiled with -g.
25633
25634 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25635
25636 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25637 to get back into the read system call.
25638 Accept leading newline in case where we woke it up.
25639
25640Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25641
25642 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
25643 to make the stabs test work on ecoff systems using gcc and -with-stabs.
25644 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
25645 enable ecoff configuration.
25646
25647Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25648
25649 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25650
25651Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25652
25653 * gdb.t16/printcmds.exp: Add another printf test.
25654
25655Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
25656
25657 * configure.in: If configured -with-stabs on any target, add
25658 stabsdirs to configdirs.
25659
25660Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25661
25662 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25663 fun" so pattern does not match the command itself.
25664
25665Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25666
25667 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25668
25669Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25670
25671 * gdb.t17/interrupt.exp: Test for more things.
25672
25673Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25674
25675 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25676 compiler arranges the code and line numbers.
25677
25678 * gdb.t17/interrupt.exp: Don't send \n after ^C.
25679
25680Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25681
25682 * gdb.t00/help.exp: Increase expect input buffer size.
25683
25684Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25685
25686 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25687
25688 * gdb.t07/watchpoint.exp: Add xfail for hppa.
25689
25690 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25691
25692 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25693 [0-9]*, not just [0-9].
25694
25695Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25696
25697 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25698
25699 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25700
25701Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25702
25703 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25704
25705Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25706
25707 * gdb.t06/signals.c: Add xfails for sun3.
25708
25709 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25710
25711 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
25712 test_stepping tests.
25713
25714Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25715
25716 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25717
25718 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25719
25720 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25721 rather than actually putting it through cpp twice.
25722
25723 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25724
25725Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
25726
25727 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25728 no longer needed.
25729
25730Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25731
25732 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25733
25734 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25735 C++ features prints as "struct", make it a pass, not an xfail.
25736
25737Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25738
25739 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25740 Don't require VA to print as "class" rather than "struct".
25741
25742Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
25743
25744 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25745
25746Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25747
25748 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25749
25750Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25751
25752 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
25753 order.
25754
25755Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25756
25757 * gdb.t16/printcmds.exp: Add printf tests.
25758
25759 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25760
25761 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25762
25763Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
25764
25765 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
25766 pass counts, to counteract any existing or future setup_xfails.
25767
25768Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25769
25770 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25771 {BEGIN,END}_COMMON for common block instead of STAB.
25772 * gdb.stabs/wierd.exp: Add xfail for rs6000.
25773
25774 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25775 intp_var should be N_GSYM not N_LSYM.
25776 wierd-aout.S: Use a label for the value of the N_SO.
25777 wierd.def: Remove all backslashes.
25778 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25779
25780Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25781
25782 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25783 get the expected next to inheritance3.
25784
25785Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25786
25787 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25788 now that gcc-2.4 gets it right.
25789
25790Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25791
25792 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25793
25794 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25795 generating comp-info.exp which works for cross-compilation.
25796
25797Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
25798
25799 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
25800 "*-*-sysv4.*".
25801
25802Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
25803
25804 * gdb.t01/run.exp: Start with a fresh gdb.
25805 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
25806 SVR4.x.
25807
25808Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
25809
25810 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25811 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25812 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25813 Makefile.in (distclean, realclean): Remove gdbme.c from list of
25814 things to remove.
25815
25816Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
25817
25818 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
25819 test cases from bug reports.
25820
25821Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
25822
25823 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
25824 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
25825 avoid spurious xfails.
25826 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
25827 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
25828 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
25829
25830Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
25831
25832 * gdb.t00/teststrategy.exp: Rework to provide more useful
25833 description of each test, fix problem with systems that define
25834 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25835 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
25836 results for "next over recursive call" so timeouts aren't taken
25837 by error.
25838
25839Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
25840
25841 * gdb.t12/scope.exp: Test printing of variables before run.
25842
25843 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25844 printed in wrong order due to sorting.
25845
25846Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
25847
25848 * gdb.t00/teststrategy.exp: Fix expected results for printing
25849 user entered string constant. Is array of char, prints with no
25850 address.
25851
25852 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
25853 commands.
25854 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
25855 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
25856 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
25857 of struct of char arrays.
25858 * gdb.t00/radix.exp: New tests for radix commands.
25859
25860Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
25861
25862 * gdb.t16/printcmd.exp: Print a variable before running program
25863 (with xfail for AIX).
25864
25865Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
25866
25867 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25868
25869 * gdb.t16/printcmd.exp: Don't print variables before running program.
25870
25871 * gdb.t06/break.exp: Don't require envp argument to main.
25872
25873 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25874
25875 * gdb.t02/whatis.exp, gdb.t11/list.exp:
25876 Add xfails for rs6000.
25877
25878 * gdb.t02/whatis.exp: Change other tests not to re-test something
25879 we already tested.
25880
25881 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25882 each type used has a variable of that type.
25883
25884Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
25885
25886 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25887
25888Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
25889
25890 * configure.in: change srctrigger to be a file, not a directory
25891
25892Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
25893
25894 * configure.in (mips-idt-ecoff*): Added trailing '*'.
25895
25896 * gdb.t11/list.exp: Fixed a couple of typos.
25897
25898Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
25899
25900 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
25901 is fixed and PR is closed.
25902 * gdb.t16 (gdbme.c): Add simple test string variable.
25903 * gdb.t16 (printcmds.exp): Add tests with simple test string
25904 variable, primarily for boundaries on "set print elements".
25905
25906Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
25907
25908 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25909 Make leading 0's optional and don't expect a tab in the middle
25910 of the number.
25911
25912 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25913
25914 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25915 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
25916 don't end command passed to gdb_test with newline.
25917
25918 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25919 signed keyword away, don't expect signed bitfields to be signed.
25920
25921 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25922 printing with only as many 1's as are in the field as well as printing
25923 with 32 1's (see comment).
25924
25925Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
25926
25927 * gdb.t00/default.exp: Start with a fresh gdb.
25928 * configure.in (configdirs): Remove gdb.t31 until the chill
25929 compiler works again. It no longer is able to find chillrt0
25930 since it isn't in libchill.a anymore.
25931 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
25932 wierd.o, make more modular.
25933 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
25934 spurious newlines that caused problems.
25935
25936Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25937
25938 * Move test with enums and partial symbols from gdb.t03/ptype.exp
25939 to gdb.stabs/wierd.exp since GCC has worked around the bug.
25940 gdb.stabs/wierd.{exp,def}: Many new tests.
25941
25942 * gdb.t00/default.exp: update info line for new message.
25943
25944 * gdb.t02/{whatis.exp,gdbme.c}:
25945 Test that "char *" doesn't print as "caddr_t".
25946
25947Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25948
25949 * gdb.t00/help.exp: Use .* in place of some help messages which
25950 just changed.
25951 gdb.t00/default.exp: Update "info frame" test for new message.
25952 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25953 Remove some xfails
25954
25955Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25956
25957 * gdb.t03/{gdbme.c,ptype.exp}:
25958 Add tests for typedef'd struct and union without tags.
25959 Also check "whatis" on a variable of a typedef'd enum without a tag.
25960
25961 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25962 PRMS 1823; the bug still exists but isn't reproduced by this test
25963 anymore), and remove rs6000 XFAIL (the bug is fixed).
25964
25965 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25966 duplicated from whatis.exp. For those that are left, accept
25967 "long", "long int", or "int" for long variables (whatis.exp already
25968 has an XFAIL for "int", so no need to fail it here).
25969
25970 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25971 Deal with GCC's names for types now that GDB uses the compiler's names.
25972
25973 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
25974 setup_xfail's for sunos4. If we #defined the signed keyword away,
25975 don't expect GDB to know that char it is signed.
25976
25977 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25978
25979Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
25980
25981 * configure.in (configdirs): Add gdb.t24 for C++ tests that
25982 should work on any system, regardless of debugging format.
25983 * gdb.t21/demangle.exp: Move to gdb.t24.
25984 * gdb.t24/demangle.exp: Move from gdb.t21.
25985 * gdb.t24/{Makefile.in, configure.in}: New files.
25986
25987Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25988
25989 * configure.in: Do gdb.stabs and C++ tests only for stabs.
25990 * gdb.stabs: New directory.
25991
25992Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25993
25994 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25995 not just "Quit anyway?".
25996
25997Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
25998
25999 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26000 that all setup_xfails are immediately followed by clear_xfails.
26001
26002Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26003
26004 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26005 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26006 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26007 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26008 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26009 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26010 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26011 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26012 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26013 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26014 gdb.t31/chillvars.exp, lib/gdb.exp:
26015 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26016 bug-gdb@prep.ai.mit.edu.
26017
26018Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26019
26020 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26021 with 0.0, not integer 0.
26022
26023Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26024
26025 * gdb.t06/break.exp: Update for "Kill the program" message change.
26026
26027Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26028
26029 * Makefile.in (GDBFLAGS): Set to -nx.
26030 * Makefile.in (site.exp): Use GDBFLAGS.
26031
26032Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26033
26034 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26035 Makefiles.
26036 (check): depend on just-check.
26037 (just-check): added so that tests can be run without a noop
26038 build pass.
26039
26040Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26041
26042 Switch to using configure's configdirs.
26043 * Makefile.in (Makefile): add configure.in dependency.
26044 (SUBDIRS): removed redundant assignment.
26045 * configure.in: switch subdirs assignment to configdirs.
26046 * gdb.t*/configure.in: new files.
26047
26048Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26049
26050 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26051 works.
26052
26053Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26054
26055 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26056 in explicit rules. Apparently this is not supported by some makes.
26057
26058Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26059
26060 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26061
26062Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26063
26064 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26065 disappeared.
26066
26067Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26068
26069 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26070
26071Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26072
26073 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26074 watchpoint problem that is now fixed.
26075 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26076 uninitialized convenience variables.
26077 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26078 structures.
26079
26080Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26081
26082 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26083 which causes expect to get out of sync with gdb on long output
26084 from help set.
26085 * gdb.t09/corefile.exp: Make expected pattern for core file
26086 failing signal and frame output format less sun specific.
26087
26088Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26089
26090 * gdb.t31/chillvars.exp: Add and remove initial dummy
26091 breakpoint, so that symbol table is forced in.
26092 (Needed at least on Sunos4, though it seems not SVR4.)
26093 * gdb.t31/chillvars.exp: Update for changed output format.
26094
26095Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26096
a9c64011 26097 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26098
26099Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26100
26101 * Makefile.in: Added --srcdir when invoking runtest, removed the
26102 need for a local config file. (optional now)
26103
26104Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26105
26106 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26107 failure count used to force early termination. Add some more
26108 expected failures for gnu style demangling.
26109
26110Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26111
26112 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26113 pmi variable from gdb.t20/gdbme to get optimized away.
26114 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26115 Check for written corefile upon timeout _and_ eof.
26116
26117Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26118
26119 * config/unix-gdb.exp: Add missing return 0.
26120
26121Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26122
26123 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26124 test termination.
26125
26126Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26127
26128 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26129 disappeared.
26130
26131Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26132
26133 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26134 time as i860 support works.
26135
d63a86f8 26136 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26137 "backtrace 100\r" rather than just "backtrace\r", to match last
26138 change.
26139
26140Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26141
26142 * config/udi-gdb.exp (gdb_exit): Remove close command.
26143 (gdb_target_udi): New procedure to set the UDI target.
26144 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26145 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26146 Added waits for prompts after several question responses. Added
26147 some more responses used by a29k-amd-udi-gdb.
26148 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26149 pass different arguments, restart UDI connection after program
26150 completion.
26151 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26152 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26153 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26154 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26155 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26156 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26157 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26158 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26159 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26160 after program completion.
26161 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26162 compiled with a SELECT_VECS setting.
26163 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26164 infinite recursion.
26165
26166 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26167 Added checks for COFF results, and made them expected failures for
26168 all targets. It would be better to make them expected failures
26169 for COFF targets only.
26170
26171Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26172
26173 * Makefile.in: add null dvi target, don't bother to recurse
26174 through test directories for info and install-info; rename
26175 $(datadir) to be dejagnu instead of deja-gnu
26176
26177Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26178
26179 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26180 compiler to coredump.
26181 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26182 code.
26183
26184Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26185
26186 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26187 coredump.
26188 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26189 code.
26190
26191Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26192
26193 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26194 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26195 which in a shell. Deletes xgdb when done.
26196 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26197 Tests the return from the "set height" or "set width" commands.
26198 Added a few return codes where needed.
26199
26200Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26201
26202 * Makefile.in (SUBDIRS): Add gdb.t17.
26203 * configure.in (subdirs): Add gdb.t17.
26204 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26205 files to test gdb's calling of functions in the inferior with
26206 the correct arguments and gdb's ability to retrieve any
26207 result returned.
26208
26209Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26210
26211 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26212 may be called after gdb goes away. Previous versions of expect
26213 needed these to avoid file descriptor leaks, but they cause
26214 errors with the current revision of expect.
26215 * gdb.t00/gdbvars.exp: Use -re on expected output after
26216 setting sevenbit-strings.
26217 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26218 to set sevenbit-strings consistent across tests.
26219 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26220 set sevenbit-strings consistent across tests.
26221
26222Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26223
26224 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26225 expected output to match current "expect" expectations.
26226
26227Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26228
26229 * gdb.t00/default.exp: Change expected output for default "source"
26230 command, to match new gdb behavior which requires a filename to
26231 source.
26232
26233Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26234
26235 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26236 expected fail for i486-*-* that misses the marker2 function.
26237 * gdb.t10/crossload.exp (bfddefault): Allow successful
26238 recognition of a format to pass even if no symbols are found.
26239 Explicitly catch failures where the format is not recognized
26240 or is ambiguous, and add the reason to the fail message.
26241 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26242 the cause is and invalid target and add reason to failure message.
26243 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26244 elf32-i386, elf32-sparc, and elf32-i860.
26245 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26246 Set up expected failure for 'filename'::variable scope resolution,
26247 which is now apparently broken on all targets.
26248 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26249 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26250 gdb.t23/templates.exp: Change failure for missing binfile into
26251 just a warning.
26252 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26253 references.
26254
26255Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26256
26257 * gdb.t00/default.exp: Add expected output for default "source"
26258 command, to match new gdb behavior.
26259 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26260
26261Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26262
26263 * config/*-gdb.exp: returns an error, rather than exiting on
26264 internal errors.
26265
26266Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26267
26268 * gdb.t03/gdbme.c: Add pointer to struct variable.
26269 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26270 referencing struct members.
26271
26272Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26273
26274 * configure.in (mips-idt-ecoff): New target.
26275 * config/mips-gdb.exp: New file for remote board using MIPS remote
26276 debugging protocol.
26277
26278 * Redid configuration scheme. Removed gdb.t*/configure.in.
26279 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26280 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26281 distclean targets. Built executables via .o files. Adjusted
26282 tests to account for source files in $(srcdir) rather than
26283 $(objdir).
26284 * lib/gdb.exp (runto): Don't expect () after the function name,
26285 because it may have arguments.
26286
26287Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26288
26289 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26290 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26291 expected failures for mips-idt-* and mips-sgi-*.
26292 * gdb.t00/default.exp (attach): Kill process if requested.
26293 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26294 that does not read core files.
26295 * gdb.t01/run.exp: Removed checks for exit status code.
26296 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26297 it is linked in.
26298 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26299 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26300 appropriate, rather than doing it by hand.
26301 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26302 execution.
26303 * gdb.t10/crossload.exp: Kill existing program if needed.
26304 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26305 appropriate, rather than doing it by hand. Always increase
26306 timeout for this test, not just for VxWorks.
26307
26308Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26309
26310 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26311 of Chill STRUCT types and STRUCT values.
26312 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26313 than "char".
26314 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 26315 struct2): New struct definitions and initializations to test
c906108c
SS
26316 simple Chill STRUCT types.
26317
26318Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26319
26320 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26321 the null byte at the end of strings.
26322 * gdb.t00/default.exp: Make show version insensitive to copyright
26323 date.
26324 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26325 to avoid dependencies on target char signedness.
26326 * gdb.t16/printcmds.exp: Update expected results for explicitly
26327 unsigned char.
26328 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26329 now work.
26330 * gdb.t21/demangle.exp: Add many more patterns for template
26331 demangling, most of them being expected failures.
26332 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26333 string we are matching for, to match on the whole string.
26334 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26335 and fix a whole bunch that had incorrect expected output but were
26336 passing anyway because of the bug in "proc demangle".
26337 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26338 type.
26339 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26340
26341Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26342
a9c64011
AS
26343 * gdb/testsuite: made modifications to testcases, etc., to allow
26344 them to work properly given the reorganization of deja-gnu and the
26345 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
26346
26347Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26348
26349 * gdb/testsuite: Initial creation of gdb/testsuite.
26350 Migrated dejagnu testcases and support files for testing nm to
26351 gdb/testsuite from deja-gnu. These files were moved "as is"
26352 with no modifications. This migration is part of a major overhaul
26353 of dejagnu. The modifications to these testcases, etc., which
26354 will allow them to work with the new version of dejagnu will be
26355 made in a future update.
48efe704 26356
8d8cb839 26357 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 26358\f
8d8cb839
EZ
26359;; Local Variables:
26360;; mode: change-log
26361;; left-margin: 8
26362;; fill-column: 74
26363;; version-control: never
26364;; End:
902f2ccb 26365
0b302171 26366 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
26367 Copying and distribution of this file, with or without modification,
26368 are permitted provided the copyright notice and this notice are preserved.
This page took 2.783004 seconds and 4 git commands to generate.