]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Have block_innermost_frame start from selected frame and document.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
2ca0b532
PA
12012-01-05 Pedro Alves <alves.ped@gmail.com>
2
3 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4 * gdb.python/py-events.c (first): Add bits for new "step N" test.
5 * gdb.python/py-events.exp: Test that "step N" tripping on a
6 breakpoint emits a breakpoint event.
7
6e681866
JB
82012-01-03 Joel Brobecker <brobecker@adacore.com>
9
10 * gdb.base/auxv.exp: Reformat the copyright notice.
11
3c2d6aff
YQ
122012-01-03 Yao Qi <yao@codesourcery.com>
13
14 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
15 (strace_trace_on_diff_addr): New.
16 * gdb.trace/strace.c: (main): Add two local variables.
17
0852fee3
UW
182011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
19
20 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
21 * gdb.cell/gcore.exp: Likewise.
22 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
23 to verify the correct instance of main is selected.
24
12c3e59c
JB
252012-01-02 Joel Brobecker <brobecker@adacore.com>
26
27 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
28 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
29 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
30 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
31 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
32 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
33 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
34 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
35 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
36 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
37 gdb.threads/thread_check.c: Reformat copyright header.
38
c0f378ec
EBM
392011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
40
e4a7ca93 41 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
42 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
43 is not enabled.
44
3bc96cfb
JK
452011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
46
47 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
48 parameter to self_exec, adjust the function.
49 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
50 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
51 (set var do_exit = 0): Remove test.
52 (newline at end of file): Add one.
53
095bcf5e
JB
542011-12-27 Joel Brobecker <brobecker@adacore.com>
55
56 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
57 New files.
58
18d19bd1
JK
592011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
60
61 Fix racy FAILs.
62 * gdb.threads/fork-thread-pending.c (barrier): New variable.
63 (thread_function, thread_forker): Call pthread_barrier_wait for it.
64 (main): Call pthread_barrier_init for it.
65
e809353a
JK
662011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
67
68 Fix double send_gdb leading to racy FAILs.
69 * gdb.base/break.exp (set silent break bp_location1): Replace
70 3x send_gdb and gdb_expect by gdb_test.
71 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
72 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
73 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
74 instead of send_gdb. Twice.
75 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
76 3x send_gdb and gdb_expect by gdb_test.
77 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
78
da8cb7ec
JK
792011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
80
81 * gdb.linespec/linespec.exp: Compile using {c++}.
82
ae1a303e
JK
832011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
84
85 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
86 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
87 (verify GCC PR debug/51668): New test.
88
cc72b2a2
KP
892011-12-23 Kevin Pouget <kevin.pouget@st.com>
90
91 Introduce gdb.FinishBreakpoint in Python.
92 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
93 py-finish-breakpoint2
94 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
95 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
96 instead of line number.
97 * gdb.python/py-finish-breakpoint.c: New file.
98 * gdb.python/py-finish-breakpoint.exp: New file.
99 * gdb.python/py-finish-breakpoint.py: New file.
100 * gdb.python/py-finish-breakpoint2.cc: New file.
101 * gdb.python/py-finish-breakpoint2.exp: New file.
102 * gdb.python/py-finish-breakpoint2.py: New file.
103
3b7962f9
JK
1042011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
105
106 Partial fix of compatibility with gcc-4.7.
107 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
108 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
109 Add comment to add a PASS case in the future.
110
6538471c
JK
111 Fix compatibility with gcc-4.7.
112 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
113
7052e42c
UW
1142011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
115
116 PR tdep/12797
117 * gdb.base/callfuncs.exp: Remove KFAIL.
118
9ac7f98e
JB
1192011-12-21 Joel Brobecker <brobecker@adacore.com>
120
121 * gdb.ada/task_bp: New testcase.
122
f6eeced0
JK
1232011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
124
125 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
126 -DNO_SECTIONS.
127 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
128
72225e17
JK
1292011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
130
131 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
132 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
133 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
134 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
135 conditional for gcc <= 4.5.
136
13ac8d2c
JK
1372011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
138
139 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
140 by XFAIL.
141 * gdb.cp/static-method.exp (info addr A::func())
142 (list static-method.cc:xxx::(anonymous namespace)::A::func)
143 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
144 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
145 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
146 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
147 (test value of F in k3_m): Likewise.
148 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
149 Likewise.
150
049682ba
JK
1512011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
152
153 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
154 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
155 Remove.
156 * gdb.threads/attachstop-mt.c: Remove.
157 * gdb.threads/attachstop-mt.exp: Remove.
158
2c9d8796
MK
1592011-12-17 Mark Kettenis <kettenis@gnu.org>
160
161 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
162
e0f9f062
DE
1632011-12-16 Doug Evans <dje@google.com>
164
f4aa2101 165 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
166 * boards/native-gdbserver.exp: New file.
167
e0f9f062
DE
168 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
169 gdbserver output.
170 (gdbserver_default_get_remote_address): New function.
171 (gdbserver_start): Call gdb,get_remote_address to compute argument
172 to "target remote" command.
173
80b6e756
PM
1742011-12-16 Phil Muldoon <pmuldoon@redhat.com>
175
1c3ad6ab 176 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
177 python print-stack. Add set/show python print-stack
178 off|full|message tests.
179
1576bd00
YQ
1802011-12-15 Yao Qi <yao@codesourcery.com>
181
182 * gdb.trace/strace.c: New
183 * gdb.trace/strace.exp: New.
184
d6a0f6e0
TT
1852011-12-14 Tom Tromey <tromey@redhat.com>
186
187 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
188
31015e1d
DE
1892011-12-14 Doug Evans <dje@google.com>
190
191 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
192
7b50312a
PA
1932011-12-14 Pedro Alves <pedro@codesourcery.com>
194
195 PR threads/10729
196
197 * gdb.mi/watch-nonstop.c: New file.
198 * gdb.mi/mi-watch-nonstop.exp: New file.
199
924437bc
PA
2002011-12-13 Pedro Alves <pedro@codesourcery.com>
201 Doug Evans <dje@google.com>
202
203 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
204 (clean_restart): Remove references to the gdb_stub target board
205 variable.
206 (gdb_step_for_stub): Delete.
207
208 * gdb.base/annota1.exp: Remove all references to [target_info
209 exists gdb_stub], gdb_step_for_stub and usestubs.
210 * gdb.base/annota3.exp: Ditto.
211 * gdb.base/async.exp: Ditto.
212 * gdb.base/break.exp: Ditto.
213 * gdb.base/code-expr.exp: Ditto.
214 * gdb.base/commands.exp: Ditto.
215 * gdb.base/completion.exp: Ditto.
216 * gdb.base/condbreak.exp: Ditto.
217 * gdb.base/consecutive.exp: Ditto.
218 * gdb.base/cvexpr.exp: Ditto.
219 * gdb.base/define.exp: Ditto.
220 * gdb.base/display.exp: Ditto.
221 * gdb.base/ena-dis-br.exp: Ditto.
222 * gdb.base/environ.exp: Ditto.
223 * gdb.base/gnu-ifunc.exp: Ditto.
224 * gdb.base/maint.exp: Ditto.
225 * gdb.base/pending.exp: Ditto.
226 * gdb.base/sect-cmd.exp: Ditto.
227 * gdb.base/sepdebug.exp: Ditto.
228 * gdb.base/unload.exp: Ditto.
229 * gdb.base/watchpoint-solib.exp: Ditto.
230 * gdb.cp/annota2.exp: Ditto.
231 * gdb.cp/annota3.exp: Ditto.
232 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
233 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
234 * gdb.mi/mi-pending.exp: Ditto.
235 * gdb.trace/circ.exp: Ditto.
236 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
237 * gdb.base/list.exp: Ditto.
238
239 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
240 breakpoint function and all references to the usestubs macro.
241 * gdb.base/exprs.c: Ditto.
242 * gdb.base/freebpcmd.c: Ditto.
243 * gdb.base/bitfields.c: Ditto.
244 * gdb.base/bitfields2.c: Ditto.
245 * gdb.base/break.c: Ditto.
246 * gdb.base/call-sc.c: Ditto.
247 * gdb.base/call-signals.c: Ditto.
248 * gdb.base/callfuncs.c: Ditto.
249 * gdb.base/charset.c: Ditto.
250 * gdb.base/consecutive.c: Ditto.
251 * gdb.base/constvars.c: Ditto.
252 * gdb.base/funcargs.c: Ditto.
253 * gdb.base/int-type.c: Ditto.
254 * gdb.base/interrupt.c: Ditto.
255 * gdb.base/langs0.c: Ditto.
256 * gdb.base/list0.c: Ditto.
257 * gdb.base/mips_pro.c: Ditto.
258 * gdb.base/miscexprs.c: Ditto.
259 * gdb.base/nodebug.c: Ditto.
260 * gdb.base/opaque0.c: Ditto.
261 * gdb.base/pointers.c: Ditto.
262 * gdb.base/printcmds.c: Ditto.
263 * gdb.base/ptype.c: Ditto.
264 * gdb.base/recurse.c: Ditto.
265 * gdb.base/reread1.c: Ditto.
266 * gdb.base/reread2.c: Ditto.
267 * gdb.base/restore.c: Ditto.
268 * gdb.base/return.c: Ditto.
269 * gdb.base/run.c: Ditto.
270 * gdb.base/scope0.c: Ditto.
271 * gdb.base/sepdebug.c: Ditto.
272 * gdb.base/setshow.c: Ditto.
273 * gdb.base/setvar.c: Ditto.
274 * gdb.base/sigall.c: Ditto.
275 * gdb.base/signals.c: Ditto.
276 * gdb.base/structs.c: Ditto.
277 * gdb.base/structs2.c: Ditto.
278 * gdb.base/testenv.c: Ditto.
279 * gdb.base/twice.c: Ditto.
280 * gdb.base/unwindonsignal.c: Ditto.
281 * gdb.base/watchpoint.c: Ditto.
282 * gdb.base/watchpoints.c: Ditto.
283 * gdb.base/whatis.c: Ditto.
284 * gdb.cp/classes.cc: Ditto.
285 * gdb.cp/cplusfuncs.cc: Ditto.
286 * gdb.cp/derivation.cc: Ditto.
287 * gdb.cp/formatted-ref.cc: Ditto.
288 * gdb.cp/misc.cc: Ditto.
289 * gdb.cp/overload.cc: Ditto.
290 * gdb.cp/ovldbreak.cc: Ditto.
291 * gdb.cp/ref-params.cc: Ditto.
292 * gdb.cp/ref-types.cc: Ditto.
293 * gdb.cp/templates.cc: Ditto.
294 * gdb.cp/virtfunc.cc: Ditto.
295 * gdb.hp/gdb.aCC/run.c: Ditto.
296 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
297 * gdb.hp/gdb.compat/xdb0.c: Ditto.
298 * gdb.reverse/consecutive-reverse.c: Ditto.
299 * gdb.reverse/sigall-reverse.c: Ditto.
300 * gdb.reverse/until-reverse.c: Ditto.
301 * gdb.reverse/watch-reverse.c: Ditto.
302 * gdb.trace/actions.c: Ditto.
303 * gdb.trace/circ.c: Ditto.
304 * gdb.trace/collection.c: Ditto.
305
fabde485
PA
3062011-12-13 Pedro Alves <pedro@codesourcery.com>
307
308 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
309 (func6, func7): New.
310 (main): Call func6 and func7.
311 * gdb.base/watchpoint.exp (test_wide_location_1)
312 (test_wide_location_2): New.
313 (top level): Re-enable hardware watchpoints if necessary. Call
314 test_wide_location_1 and test_wide_location_2.
315
ff7d1690
YQ
3162011-12-11 Yao Qi <yao@codesourcery.com>
317
318 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
319
a6af7abe
JB
3202011-12-11 Joel Brobecker <brobecker@adacore.com>
321
322 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
323 expected output for unsupported case.
324
61638e15
JK
3252011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
326
327 PR testsuite/12649
328 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
329 Protect gdb_test_multiple by final $gdb_prompt match.
330
0a00efc3
JK
3312011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
332
333 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
334 New variable, new test.
335 (list static-method.cc:xxx::(anonymous namespace)::A::func)
336 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
337 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
338 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
339 them if HAVE_GCC_45682_FIXED is not set.
340
4511b1ba
YQ
3412011-12-10 Yao Qi <yao@codesourcery.com>
342
343 * gdb.trace/status-stop.exp: New.
344 * gdb.trace/status-stop.c: New.
345
27949e73
JK
3462011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
347
348 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
349 timeout.
350
d8ea7931
TT
3512011-12-08 Tom Tromey <tromey@redhat.com>
352
353 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
354 condition.
355
1cc310d2
SS
3562011-12-07 Stan Shebs <stan@codesourcery.com>
357
358 * gdb.trace/tfind.exp: Update for output changes.
359
d482a875
PA
3602011-12-07 Pedro Alves <pedro@codesourcery.com>
361
362 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
363 throws "Cannot insert catchpoints in this configuration".
364 * gdb.ada/mi_catch_ex.exp: Likewise.
365
f0ba3972
PA
3662011-12-06 Pedro Alves <pedro@codesourcery.com>
367
368 * gdb.base/break-always.exp: Test changing memory at addresses
369 with breakpoints inserted.
370
f8eba3c6
TT
3712011-12-06 Joel Brobecker <brobecker@acacore.com>
372
373 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
374 involving a fully qualified function name.
375
3762011-12-06 Tom Tromey <tromey@redhat.com>
377
378 * gdb.ada/homonym.exp: Add three breakpoint tests.
379
3802011-12-06 Tom Tromey <tromey@redhat.com>
381
382 * gdb.base/solib-weak.exp (do_test): Remove kfail.
383 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
384 * gdb.objc/objcdecode.exp: Update for output changes.
385 * gdb.linespec/linespec.exp: New file.
386 * gdb.linespec/lspec.cc: New file.
387 * gdb.linespec/lspec.h: New file.
388 * gdb.linespec/body.h: New file.
389 * gdb.linespec/base/two/thefile.cc: New file.
390 * gdb.linespec/base/one/thefile.cc: New file.
391 * gdb.linespec/Makefile.in: New file.
392 * gdb.cp/templates.exp (test_template_breakpoints): Update for
393 output changes.
394 * gdb.cp/re-set-overloaded.exp: Remove kfail.
395 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
396 makes one breakpoint.
397 * gdb.cp/method2.exp (test_break): Update for output changes.
398 * gdb.cp/mb-templates.exp: Update for output changes.
399 * gdb.cp/mb-inline.exp: Update for output changes.
400 * gdb.cp/mb-ctor.exp: Update for output changes.
401 * gdb.cp/ovsrch.exp: Use fully-qualified names.
402 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
403 has multiple matches.
404 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
405 error message change.
406 * gdb.base/list.exp (test_list_filename_and_number): Update for
407 error message change.
408 * gdb.base/break.exp: Disable pending breakpoints. Update for
409 output changes.
410 * configure.ac: Add gdb.linespec.
411 * configure: Rebuild.
412 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
413
c642a434
UW
4142011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
415
416 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
417 last_break register on s390*-*-* targets.
418
b18003d1
JB
4192011-12-06 Joel Brobecker <brobecker@adacore.com>
420
421 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
422 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
423 of parameter X in procedure Foo.
424
fe96589c
SS
4252011-12-05 Stan Shebs <stan@codesourcery.com>
426
427 * gdb.trace/tfind.exp: Update help string matches.
428
1820ab47
JK
4292011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
430
431 * gdb.server/ext-run.exp (get process list): Accept also systemd
432 as PID 1.
433
e11ac3a3
JK
4342011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
435 Pedro Alves <pedro@codesourcery.com>
436
437 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
438 starting GDB.
439 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
440 $use_gdb_stub.
441 * gdb.base/display.exp: Likewise.
442 * gdb.base/ending-run.exp: Likewise.
443 * gdb.base/list.exp (test_listsize): Likewise.
444 * gdb.base/setshow.exp: Likewise.
445 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
446 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
447 check by global $use_gdb_stub.
448 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
449 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
450 (default_gdb_init): Unset global $use_gdb_stub.
451 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
452 by global $use_gdb_stub.
453 * lib/gdbserver-support.exp: Extend comments for set_board_info
454 gdb_protocol and gdb,socketport.
455 (gdbserver_start_extended): Set global gdbserver_protocol and
456 gdbserver_gdbport. Clear global use_gdb_stub.
457 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
458 from target use_gdb_stub.
459 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
460
1d41d75c
DE
4612011-12-03 Doug Evans <dje@google.com>
462
463 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
464 (gdb_step_for_stub): Add comments.
465
d6d7a51a
MR
4662011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
467
468 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
469 to the caller.
470 (gdb_test_multiple): Likewise.
471
05acf274
JK
4722011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
473
474 Fix gdb.mi/mi-solib.exp without system debug info installed.
475 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
476 expect attribute, return 0 for it. Update comments.
477
2268b414
JK
4782011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
479
480 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
481 (corrupted list): Adjust the expectation.
482
585861ea
JK
4832011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
484
485 PR threads/13448
486 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
487 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
488 * gdb.threads/tls-var-main.c: New file.
489 * gdb.threads/tls-var.c: New file.
490 * gdb.threads/tls-var.exp: New file.
491
968643aa
JK
4922011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
493
494 PR testsuite/12649
495 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
496 Protect gdb_test_multiple by final $gdb_prompt match.
497 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
498 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
499 (test_tracepoints): Likewise.
500
9750bca9
JK
5012011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
502
503 PR breakpoints/13346
504 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
505 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
506 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
507
ac1349b7
JB
5082011-12-01 Joel Brobecker <brobecker@adacore.com>
509
510 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
511 * gdb.ada/homonym/homonym.adb: For use of all types defined
512 locally inside both Get_Value subprograms.
513
26d44faf
JK
5142011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
515
516 Fix racy FAILs.
517 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
518 of send_gdb.
519
514f6425
UW
5202011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
521
522 * gdb.base/testenv.exp: Skip on remote targets. Unset global
523 environment variable after test completed.
524
4255c8d2
UW
5252011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
526
527 * gdb.base/solib-nodir.exp: Skip if remote target.
528 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
529 application. Call gdb_load_shlibs.
530 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
531
a35ad96a
JB
5322011-11-29 Joel Brobecker <brobecker@adacore.com>
533
534 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
535
1a1d5513
JB
5362011-11-28 Joel Brobecker <brobecker@adacore.com>
537
538 * gdb.ada/fullname_bp: New testcase.
539
50b4ddf8
JK
5402011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
541
542 PR testsuite/12649
543 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
544 Wrap send_gdb into a new gdb_test.
545
fb0aec57
JK
546 Code cleanup.
547 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
548 Convert send_gdb and gdb_expect to gdb_test_multiple.
549
2376d946
JK
5502011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
551
552 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
553
1eec78bd
KS
5542011-11-23 Keith Seitz <keiths@redhat.com>
555
556 * lib/mi-support.exp (varobj_tree): New namespace and procs.
557 (mi_varobj_tree_test_children_callback): New proc.
558 (mi_walk_varobj_tree): New proc.
559
36dfb11c
TT
5602011-11-22 Tom Tromey <tromey@redhat.com>
561
562 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
563 Add "use_mi_command" argument.
564 (mi_run_cmd, mi_run_with_cli): New procs.
565 * gdb.mi/solib-lib.c: New file.
566 * gdb.mi/solib-main.c: New file.
567 * gdb.mi/mi-solib.exp: New file.
568
0e965dd0
DE
5692011-11-21 Doug Evans <dje@google.com>
570
571 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
572 _Unwind_DebugHook is missing.
573
f196051f
SS
5742011-11-20 Stan Shebs <stan@codesourcery.com>
575
576 * gdb.trace/tstatus.exp: New.
577 * gdb.trace/actions.c: Include string.h.
578
bfccc43c
YQ
5792011-11-18 Yao Qi <yao@codesourcery.com>
580
581 * gdb.trace/pending.exp: New.
582 * gdb.trace/pending.c: New.
583 * gdb.trace/pendshr1.c: New.
584 * gdb.trace/pendshr2.c: New.
585 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
586 tracepoint location becomes pending.
587 (tracepoint_change_loc_2): New.
588
73cd8ab1
DM
5892011-11-16 David S. Miller <davem@davemloft.net>
590
591 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
592 target is sparc*-*-linux*
593
77426730
PK
5942011-11-15 Paul Koning <paul_koning@dell.com>
595
596 * gdb.python/py-type.exp: New testcases for exceptions on scalar
597 types.
598
ed59ded5
DE
5992011-11-14 Doug Evans <dje@google.com>
600
601 * gdb.base/shell.exp: New file.
602
405f8e94
SS
6032011-11-14 Stan Shebs <stan@codesourcery.com>
604
605 * gdb.trace/ftrace.c: New.
606 * gdb.trace/ftrace.exp: New.
607
1e4d1764
YQ
6082011-11-14 Yao Qi <yao@codesourcery.com>
609
610 * gdb.trace/change-loc-1.c: New.
611 * gdb.trace/change-loc-2.c: New.
612 * gdb.trace/change-loc.c: New.
613 * gdb.trace/change-loc.exp: New.
614 * gdb.trace/change-loc.h: New.
615 * gdb.trace/trace-break.c (marker): Define new symbol.
616 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
617 New.
618 (break_trace_same_addr_6): New.
619
71eba9c2 6202011-11-12 Matt Rice <ratmice@gmail.com>
621
622 * gdb.base/info-macros.exp: Make tests for info definitions
623 test info macro. Add tests for info macro argument processing.
624 Rename a few tests.
625
1d93e29a
KS
6262011-11-11 Keith Seitz <keiths@redhat.com>
627
628 PR gdb/12843
629 * gdb.base/linespecs.exp: New file.
630
a4b5b48a
DE
6312011-11-11 Doug Evans <dje@google.com>
632
633 * gdb.threads/print-threads.exp: Extend timeout for slower
634 tests.
635
f6b47be4
DE
6362011-11-10 Doug Evans <dje@google.com>
637
792a0230
DE
638 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
639 "record to end of main" test.
640
f6b47be4
DE
641 * gdb.python/py-type.c (TS): New typedef.
642 (ts): New global.
643 * gdb.python/py-type.exp: Test field list of typedef.
644
22355c90
JB
6452011-11-10 Joel Brobecker <brobecker@adacore.com>
646
647 * gdb.ada/small_reg_param: New testcase.
648
a7860e76
TT
6492011-11-09 Tom Tromey <tromey@redhat.com>
650
651 * gdb.cp/destrprint.exp: New file.
652 * gdb.cp/destrprint.cc: New file.
653
72a2e3dc
MI
6542011-11-08 Meador Inge <meadori@codesourcery.com>
655
656 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
657 (switch_stack_to_other): New test function.
658 * gdb.arch/thumb-prologue.exp: New test cases.
659
c7195df2 6602011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
661
662 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
663
d3895d7d
YQ
6642011-11-08 Yao Qi <yao@codesourcery.com>
665
666 * gdb.exp (supports_process_record): New.
667 (supports_reverse): New.
668 * gdb.reverse/break-precsave.exp: Call support_process_record
669 to run test conditionally.
670 * gdb.reverse/consecutive-precsave.exp: Likewise.
671 * gdb.reverse/i386-precsave.exp: Likewise.
672 * gdb.reverse/machinestate-precsave.exp: Likewise.
673 * gdb.reverse/solib-precsave.exp: Likewise.
674 * gdb.reverse/step-precsave.exp: Likewise.
675 * gdb.reverse/until-precsave.exp: Likewise.
676 * gdb.reverse/watch-precsave.exp: Likewise.
677 * gdb.reverse/break-reverse.exp: Call support_reverse to run
678 test conditionally.
679 * gdb.reverse/consecutive-reverse.exp: Likewise.
680 * gdb.reverse/finish-precsave.exp: Likewise.
681 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
682 * gdb.reverse/finish-reverse.exp: Likewise.
683 * gdb.reverse/i386-reverse.exp: Likewise.
684 * gdb.reverse/i386-sse-reverse.exp: Likewise.
685 * gdb.reverse/machinestate.exp: Likewise.
686 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
687 * gdb.reverse/sigall-precsave.exp: Likewise.
688 * gdb.reverse/sigall-reverse.exp: Likewise.
689 * gdb.reverse/solib-reverse.exp: Likewise.
690 * gdb.reverse/step-reverse.exp: Likewise.
691 * gdb.reverse/until-reverse.exp: Likewise.
692 * gdb.reverse/watch-reverse.exp: Likewise.
693
a59306a3
YQ
6942011-11-05 Yao Qi <yao@codesourcery.com>
695
696 * gdb.trace/trace-break.exp: Add test on setting two
697 fast tracepoints at the same address.
698
87769f59
JK
6992011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
700
701 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
702
3065dfb6
SS
7032011-11-02 Stan Shebs <stan@codesourcery.com>
704
705 * gdb.trace/collection.c: Add code using strings.
706 * gdb.trace/collection.exp: Add tests of string collection.
707
89e208db
JK
7082011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
709
710 * gdb.base/skip-solib.exp (executable_main): New variable.
711 (binfile_main): Base it on that.
712 Use $executable_main in clean_restart calls. Drop gdb_exit and
713 gdb_start calls.
714
405e54e9
JK
7152011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
716
717 Fix racy FAILs.
718 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
719 breakpoint_re globals import by async. Set string_regex to .* for
720 async. Remove the optional thread_selected_re and breakpoint_re
721 globals expectations.
722
58e8570a
JM
7232011-11-01 Joseph Myers <joseph@codesourcery.com>
724
725 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
726 well as Cygwin.
727
7b35ec7f 7282011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
729
730 Add tests for skip command.
89e208db
JK
731 * gdb.base/skip-solib-lib.c: New
732 * gdb.base/skip-solib-main.c: New
733 * gdb.base/skip-solib.exp: New
734 * gdb.base/skip.c: New
735 * gdb.base/skip.exp: New
736 * gdb.base/skip1.c: New
737 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 738
b9fd1791
PA
7392011-10-31 Yao Qi <yao@codesourcery.com>
740 Pedro Alves <pedro@codesourcery.com>
741
742 * gdb.trace/trace-break.c: New.
743 * gdb.trace/trace-break.exp: New.
744
4323fecc
JK
7452011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
746
747 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
748 break-here-2.
749
0e5bf2a8
PA
7502011-10-28 Pedro Alves <pedro@codesourcery.com>
751
752 * gdb.threads/no-unwaited-for-left.c: New.
753 * gdb.threads/no-unwaited-for-left.exp: New.
754 * gdb.threads/non-ldr-exc-1.c: New.
755 * gdb.threads/non-ldr-exc-1.exp: New.
756 * gdb.threads/non-ldr-exc-2.c: New.
757 * gdb.threads/non-ldr-exc-2.exp: New.
758 * gdb.threads/non-ldr-exc-3.c: New.
759 * gdb.threads/non-ldr-exc-3.exp: New.
760 * gdb.threads/non-ldr-exc-4.c: New.
761 * gdb.threads/non-ldr-exc-4.exp: New.
762
3a3dad98
JK
7632011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
764
765 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
766 * gdb.base/attach-pie-misread.exp: Likewise.
767 * gdb.base/break-interp.exp: Likewise.
768 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
769 testcases for use_gdb_stub.
770 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
771 (continue): New testcase.
772 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
773 * gdb.threads/attach-into-signal.exp: Likewise.
774 * gdb.threads/attach-stopped.exp: Likewise.
775 * gdb.threads/attachstop-mt.exp: Likewise.
776
d6a5d40c
PK
7772011-10-28 Paul Koning <paul_koning@dell.com>
778
779 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
780
ca539be8
JK
7812011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
782
783 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
784 (mi_gdb_test): Import globals thread_selected_re
785 and breakpoint_re. Expect them optionally at the regex start.
786
d234ef5c
DE
7872011-10-27 Doug Evans <dje@google.com>
788
789 * gdb.python/python.exp: Test source -s.
790
ab964825
PK
7912011-10-26 Paul Koning <paul_koning@dell.com>
792
793 * gdb.python/lib-types.cc (struct A): New structure.
794 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 795
54d8a644
PK
7962011-10-25 Paul Koning <paul_koning@dell.com>
797
798 PR python/13327
d234ef5c 799
54d8a644
PK
800 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
801 fetch_lazy method.
802
b0221781
YQ
8032011-10-24 Yao Qi <yao@codesourcery.com>
804
805 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
806 target is tic6x-*-*.
807
6cda5a20
JB
8082011-10-21 Joel Brobecker <brobecker@adacore.com>
809
810 * gdb.ada/mi_task_info/task_switch.adb: New file.
811 * gdb.ada/mi_task_info.exp: New file.
812
5ed9db04
JK
8132011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
814
815 * gdb.cp/expand-psymtabs-cxx.exp: New file.
816 * gdb.cp/expand-psymtabs-cxx.cc: New file.
817
9df2fbc4
PM
8182011-10-20 Phil Muldoon <pmuldoon@redhat.com>
819
820 PR python/12656
821
822 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
823 global_block tests.
824
736086ba
TT
8252011-10-18 Tom Tromey <tromey@redhat.com>
826
827 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
828
4af31552
TT
8292011-10-18 Tom Tromey <tromey@redhat.com>
830
831 * gdb.base/source.exp: Don't include full file name in test name.
832 * gdb.python/python.exp: Don't include full file name in test
833 name.
834
43136979
AR
8352011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
836
837 * gdb.base/attach-pie-noexec.c: New files.
838 * gdb.base/attach-pie-noexec.exp: New files.
839
543a9323
JM
8402011-10-17 Joseph Myers <joseph@codesourcery.com>
841
842 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
843 prompt for each extra line in command.
844
21ae7a4d
JK
8452011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
846
847 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
848 Revert the part of:
849 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
850 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
851 Change the expected string.
852
20ec36d9
JK
8532011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
854
855 Fix results with system glibc debug info installed.
856 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
857 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
858 Accept also __libc_ symbol prefix and no prefix.
859
6501c2fc
KS
8602011-10-14 Keith Seitz <keiths@redhat.com>
861
862 PR c++/13225
863 * gdb.cp/converts.cc (foo3_1): New function.
864 (foo3_2): New functions.
865 * gdb.cp/converts.exp: Add tests for int to pointer conversion
866 and null pointer conversions of integer constant zero.
867 Add test to check if all arguments are checked for incompatible
868 conversion BADNESS.
869
55b1fd0c
TT
8702011-10-14 Tom Tromey <tromey@redhat.com>
871
872 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
873 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
874 linespec.
875
22c05d8a
JK
8762011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
877
878 Fix internal error regression.
879 * gdb.dwarf2/implptr-optimized-out.S: New file.
880 * gdb.dwarf2/implptr-optimized-out.exp: New file.
881
1d6edc3c
JK
8822011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
883
884 Fix empty DWARF expressions DATA vs. SIZE conditionals.
885 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
886 (loclist): New.
887 (4): New abbrev.
888 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
889 Use prepare_for_testing, remove clean_restart.
890 (p arraynoloc, p arraycallnoloc): New tests.
891
9ec72168
JK
8922011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
893
894 * gdb.cp/namespace-enum.exp (executable): New variable.
895 (binfile): Use ${objdir}/${subdir}/ prefix.
896 Use ${executable} for clean_restart.
897
9c6c53f7
SA
8982011-10-11 Sterling Augustine <saugustine@google.com>
899
900 * gdb.cp/Makefile.in: Add namespace-enum test.
901 * gdb.cp/namespace-enum.exp: New file.
902 * gdb.cp/namespace-enum.c: New file.
903 * gdb.cp/namespace-enum-main.c: New file.
904
fac7ceb3
UW
9052011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
906
907 * gdb.python/py-shared.exp: Relax filename check to handle remote:
908 sysroot.
909
941b2081
JK
9102011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
911
912 Reimplement @entry in input expressions.
913 * gdb.base/exprs.c (v_int_array_init): New variable.
914 * gdb.base/exprs.exp (print v_int_array_init)
915 (print *v_int_array_init@1, print *v_int_array_init@2)
916 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
917 (print v_int_array_init[1]@1): New tests.
918
0344e878
JM
9192011-10-10 Joseph Myers <joseph@codesourcery.com>
920
921 * gdb.cp/gdb2495.exp: Do not include directories in filename in
922 expected message.
923
5a56e9c5
DE
9242011-10-09 Doug Evans <dje@google.com>
925
926 * gdb.base/alias.exp: Add tests for alias command.
927
2bda9cc5
JK
9282011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
929
930 * gdb.arch/amd64-entry-value.s: New file.
931 * gdb.mi/mi2-amd64-entry-value.s: New file.
932
a471c594
JK
9332011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
934
935 Display @entry parameter values even for references.
936 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
937 functions.
938 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
939 reference and datap_input.
940 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
941 breakpoints.
942 (continue to breakpoint: entry_reference: reference)
943 (entry_reference: bt at entry)
944 (continue to breakpoint: entry_reference: breakhere_reference)
945 (entry_reference: bt, entry_reference: ptype regparam)
946 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
947 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
948 (entry_reference: p regcopy, entry_reference: p nodataparam)
949 (entry_reference: p nodataparam@entry): New tests.
950
36b11add
JK
9512011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
952
953 Support @entry in input expressions.
954 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
955 (entry_stack: p s1@entry, entry_stack: p s2@entry)
956 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
957 (tailcall: p j@entry): New tests.
958 * gdb.cp/koenig.cc (A::entry): New function.
959 (main): Call it.
960 * gdb.cp/koenig.exp (p entry (c)): New test.
961
e18b2753
JK
9622011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
963
964 Display @entry parameter values (without references).
965 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
966 (different, validity, invalid): New functions.
967 (main): Call them.
968 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
969 stacktest, breakhere_stacktest, different, breakhere_different,
970 breakhere_validity and breakhere_invalid.
971 (entry: bt): Update for @entry.
972 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
973 (entry_validity: *, entry_invalid: *): Many new tests.
974 * gdb.base/break.exp
975 (run until breakpoint set at small function, optimized file): Accept
976 also the @entry suffix.
977 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
978 * gdb.mi/mi2-amd64-entry-value.c: New files.
979 * gdb.mi/mi2-amd64-entry-value.exp: New files.
980
2d6c5dc2
JK
9812011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
982
983 Protect entry values against self tail calls.
984 * gdb.arch/amd64-entry-value.cc (self2, self): New.
985 (main): Call self.
986 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
987 (set debug entry-values 1, self: bt debug entry-values): New tests.
988
111c6489
JK
9892011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
990
991 Recognize virtual tail call frames.
992 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
993 (amb_b, amb_a): New.
994 (main): Call a and b.
995 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
996 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
997 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
998 New tests.
999
8e3b41a9
JK
10002011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 Implement basic support for DW_TAG_GNU_call_site.
1003 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1004 * gdb.arch/amd64-entry-value.cc: New file.
1005 * gdb.arch/amd64-entry-value.exp: New file.
1006
181cebd4
JK
10072011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1008
1009 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1010 * gdb.dwarf2/implptr-64bit.S: New file.
1011 * gdb.dwarf2/implptr-64bit.exp: New file.
1012
741f5e3c
JK
10132011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1014
1015 Fix initial language detection with -readnow.
1016 * gdb.cp/readnow-language.cc: New file.
1017 * gdb.cp/readnow-language.exp: New file.
1018
a73d2258
JK
10192011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1020
1021 Fix printed anonymous struct name.
1022 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1023
af369495
JM
10242011-10-09 Joseph Myers <joseph@codesourcery.com>
1025
1026 * gdb.base/solib-symbol.exp: Do not include directories in
1027 filenames in expected messages.
1028
1fa57852
DE
10292011-10-07 Doug Evans <dje@google.com>
1030
1031 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1032
bd054e06
KP
10332011-10-07 Kevin Pouget <kevin.pouget@st.com>
1034
1035 Allow Python notification of new object-file loadings.
1036 * gdb.python/py-events.exp: Test newobjfile event.
1037 * gdb.python/py-events.py: Register newobjfile callback.
1038 * gdb.python/py-events.c: Add call to shared library
1039 * gdb.python/py-events-shlib.c: New file.
1040
8031b6f8
JM
10412011-10-06 Joseph Myers <joseph@codesourcery.com>
1042
1043 * gdb.base/fixsection.exp: Do not include directories in filename
1044 in expected message.
1045
7fea6923
PM
10462011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1047
1048 Add tests for passing of environment variables to inferior.
1049 * gdb.base/testenv.c: New test source.
1050 * gdb.base/testenv.exp: New expect test.
1051
687f2a88
PK
10522011-10-04 Paul Koning <paul_koning@dell.com>
1053
1054 * gdb.python/py-value.c (main): Break before return.
1055
cb6be26b
KP
10562011-10-04 Kevin Pouget <kevin.pouget@st.com>
1057
1058 PR python/12691: Add the inferior to Python exited event
1059 * gdb.python/py-events.exp: Test the inferior attribute of exited
1060 event with a fork.
1061 * gdb.python/py-events.py: Print inferior number on exit.
1062 * gdb.python/py-events.c: Fork the inferior.
1063
fb213700
EBM
10642011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1065
1066 * gdb.base/jit.exp: Add testcase name to log message
1067
aa2071bd
PK
10682011-10-03 Paul Koning <paul_koning@dell.com>
1069 Jan Kratochvil <jan.kratochvil@redhat.com>
1070
1071 * gdb.python/py-value.exp
1072 (python inval = gdb.parse_and_eval('*(int*)0'))
1073 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1074 (set argc=2, python print argc_lazy): New tests.
1075
dd11a36c
JB
10762011-10-02 Joel Brobecker <brobecker@adacore.com>
1077
1078 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1079
46f886f1
JK
10802011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1081 Pedro Alves <pedro@codesourcery.com>
1082
1083 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1084 can_read_0, test for it.
1085 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1086 (parse_and_eval with memory error): ... here, make it untested if
1087 can_read_0.
1088
c5cb204f
MP
10892011-09-30 Marek Polacek <mpolacek@redhat.com>
1090
1091 * gdb.python/python.exp (verify pagination beforehand)
1092 (verify pagination afterwards): Fix race by splitting the line.
1093
68fb0ec0
JM
10942011-09-29 Joseph Myers <joseph@codesourcery.com>
1095
1096 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1097 for 64-bit multilibs from i?86-* targets.
1098
6aee0d90
MP
10992011-09-29 Marek Polacek <mpolacek@redhat.com>
1100
1101 * lib/gdb.exp: Fix a typo in one of the comments.
1102
e9101ff5
MP
11032011-09-29 Marek Polacek <mpolacek@redhat.com>
1104
1105 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1106 matching pattern.
1107
7a81bdbf
PK
11082011-09-28 Paul Koning <paul_koning@dell.com>
1109
1110 * gdb.python/py-type.c (enum E): New.
1111 * gdb.python/py-type.exp (test_fields): Add tests for Python
1112 mapping access to fields.
1113 (test_enums): New test for field access on enums.
1114
6710bf39
SS
11152011-09-27 Stan Shebs <stan@codesourcery.com>
1116
1117 * gdb.trace/collection.exp: Test collection of $_ret.
1118
b2a6bdeb
AT
11192011-09-22 Andreas Tobler <andreast@fgznet.ch>
1120
1121 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1122 list of compilation switches for <*-*-freebsd*>.
1123
3c9057f3
SS
11242011-09-19 Stan Shebs <stan@codesourcery.com>
1125
1126 * gdb.trace/tspeed.exp: New file.
1127 * gdb.trace/tspeed.c: New file.
1128
34518530
YQ
11292011-09-18 Yao Qi <yao@codesourcery.com>
1130
1131 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1132 instructions.
1133 (test_adr_32bit, test_pop_pc): Likewise.
1134 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1135 Thumb instructions.
1136 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1137 in gdb_test_multiple.
1138 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1139
ab254057
YQ
11402011-09-17 Yao Qi <yao@codesourcery.com>
1141
1142 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1143 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1144 support single step to signal handler.
1145
9c317b71
YQ
11462011-09-17 Yao Qi <yao@codesourcery.com>
1147
1148 * gdb.base/disp-step-fork.c: New.
1149 * gdb.base/disp-step-syscall.exp: New.
1150 * gdb.base/disp-step-vfork.c: New.
1151
a8123151
JB
11522011-09-16 Joel Brobecker <brobecker@adacore.com>
1153
1154 * gdb.ada/tasks.exp: Make the expected output for
1155 the `info tasks' tests more resilient to spacing
1156 changes.
1157
63a9aad8
JK
11582011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1159
1160 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1161 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1162
2aa48337
KP
11632011-09-15 Kevin Pouget <kevin.pouget@st.com>
1164
1165 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1166 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1167
6839b47f
KP
11682011-04-30 Kevin Pouget <kevin.pouget@st.com>
1169
1170 Handle multiple breakpoint hits in Python interface:
1171 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1172 presence.
1173 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1174 breakpoint hits.
1175
0935723e
JK
11762011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1177 Jan Kratochvil <jan.kratochvil@redhat.com>
1178
1179 * gdb.python/py-events.exp: Remove pretty printing comment.
1180 * gdb.python/py-evsignal.exp: New file.
1181 * gdb.python/py-evthreads.c: Include signal.h.
1182 (thread3): Remove variable count3. Remove variable bad and use raise
1183 instead.
1184 (thread2): Remove variable count2. Move thread3 pthread_create here,
1185 merge pthread_join to a single line.
1186 (main): Remove variable count1. Merge pthread_join with pthread_create
1187 to a single line.
1188 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1189 KFAIL python/12966 for gdbserver. Test return value of
1190 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1191 gdb_expect by gdb_test and gdb_test_multiple.
1192 (thread 2, thread 3): New tests.
1193
4801a9a3
PA
11942011-09-12 Matt Rice <ratmice@gmail.com>
1195 Pedro Alves <pedro@codesourcery.com>
1196
1197 PR gdb/13175
1198
1199 * gdb.base/interp.exp: New tests.
1200 * gdb.base/interp.c: New file.
1201
24ece742
DE
12022011-09-12 Doug Evans <dje@google.com>
1203
1204 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1205 * gdb.dwarf2/typeddwarf.exp: Ditto.
1206
7f062217
JK
12072011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1208
1209 Fix compatibility with x32 arch.
1210 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1211 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1212 is_x86_like_target.
1213 * testsuite/gdb.trace/collection.exp: Likewise.
1214 * testsuite/gdb.trace/report.exp: Likewise.
1215 * testsuite/gdb.trace/unavailable.exp: Likewise.
1216 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1217 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1218 (is_x86_like_target): Check also is_amd64_regs_target.
1219
08711b9a
JK
12202011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1221
1222 PR breakpoints/12435
1223 * gdb.arch/amd64-prologue-xmm.c: New file.
1224 * gdb.arch/amd64-prologue-xmm.exp: New file.
1225 * gdb.arch/amd64-prologue-xmm.s: New file.
1226
b99b5f66
JK
12272011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1228
1229 * gdb.dwarf2/dw2-param-error-main.c: New file.
1230 * gdb.dwarf2/dw2-param-error.S: New file.
1231 * gdb.dwarf2/dw2-param-error.exp: New file.
1232
a391a2f6
PA
12332011-09-08 Pedro Alves <pedro@codesourcery.com>
1234
1235 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1236 inferior's pid and look for a core dump named core.$pid. Use
1237 `remote_file' commands on the host instead of hand coding shell
1238 commands on the build.
1239 * gdb.base/valgrind-db-attach.exp: Kill the program before
1240 finishing the test.
1241
7d8e6458 12422011-09-02 Matt Rice <ratmice@gmail.com>
1243
1244 * lib/prompt.exp: New file for testing the first prompt.
1245 * gdb.python/py-prompt.exp: Ditto.
1246 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1247
68e77c9e
PA
12482011-09-02 Pedro Alves <pedro@codesourcery.com>
1249
1250 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1251 0, before testing gcore.
1252
9655e943
JK
12532011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1254
df6dc84d
JK
1255 * dw2-ifort-parameter-debug.S: Update copyright year.
1256 * dw2-ifort-parameter.c: Update copyright year.
1257 * dw2-ifort-parameter.exp: Update copyright year.
1258
9655e943
JK
1259 * dw2-ifort-parameter-debug.S: New file.
1260 * dw2-ifort-parameter.c: New file.
1261 * dw2-ifort-parameter.exp: New file.
1262
353d1d73
JK
12632011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1264
1265 * gdb.base/commands.exp (error_clears_commands_left): New function.
1266 (): Call it.
1267
5c07461a
JK
12682011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1269
1270 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1271 (C): Initialize `a'.
1272 * gdb.mi/mi-inheritance-syntax-error.exp
1273 (-data-evaluate-expression $path): Expect `a' as 5.
1274
0d932b2f
MK
12752011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1276
1277 PR mi/11912
1278 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1279 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1280 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1281 keyword in output of -var-info-path-expression.
1282
bdb54049
JK
12832011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1284
1285 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1286 * gdb.trace/collection.exp: Likewise.
1287 * gdb.trace/report.exp: Likewise.
1288 * gdb.trace/unavailable.exp: Likewise.
1289 * gdb.trace/while-dyn.exp: Likewise.
1290
59cde39c
KS
12912011-08-18 Keith Seitz <keiths@redhat.com>
1292
1293 PR c++/12266
1294 * gdb.cp/meth-typedefs.cc: New file.
1295 * gdb.cp/meth-typedefs.exp: New file.
1296
fa3a4f15
PM
12972011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1298
1299 * gdb.python/python.exp: Add extended-prompt tests.
1300
c1049fca
JK
13012011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1302
1303 * gdb.arch/i386-dr3-watch.exp
1304 (watchpoint on gap1 does not fit debug registers)
1305 (delete all watchpoints): Fix racy expect strings.
1306
d93f7b5c
YQ
13072011-08-14 Yao Qi <yao@codesourcery.com>
1308
1309 * gdb.base/maint.exp: set data_section to ".neardata".
1310 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1311 * gdb.base/savedregs.exp: Handle SIGILL.
1312 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1313 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1314
457e09f0
DE
13152011-08-12 Doug Evans <dje@google.com>
1316
1317 * gdb.python/py-symbol.exp: Add test for symbol.type.
1318
5d0bb2fb
UW
13192011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1320
1321 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1322 * gdb.mi/mi-pthreads.exp: Likewise.
1323 * gdb.mi/mi2-pthreads.exp: Likewise.
1324 * gdb.mi/gdb669.exp.exp: Likewise.
1325
fcdfa280
PA
13262011-08-09 Pedro Alves <pedro@codesourcery.com>
1327
1328 * lib/mi-support.exp (detect_async): Rename to...
1329 (mi_detect_async): ... this.
1330 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1331 * gdb.mi/mi-nonstop.exp: Adjust.
1332 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1333 * gdb.mi/mi-nsintrall.exp: Adjust.
1334 * gdb.mi/mi-nsmoribund.exp: Adjust.
1335 * gdb.mi/mi-nsthrexec.exp: Adjust.
1336
9d8fa392
PA
13372011-08-09 Pedro Alves <pedro@codesourcery.com>
1338
1339 * gdb.base/display.c (do_loops): New `p_i' local.
1340 * gdb.base/display.exp: Test displaying a variable that is
1341 temporarily at a bad address.
1342
b6cede78
JK
13432011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1344
1345 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1346 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1347
67bedb8c
JK
13482011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
1351 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1352 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 1353
af6e93b2
PA
13542011-08-05 Pedro Alves <pedro@codesourcery.com>
1355
1356 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1357 procedure.
1358 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1359
1cf0e11f
YQ
13602011-08-05 Yao Qi <yao@codesourcery.com>
1361
1362 * gdb.base/callfuncs.exp: Set language after main.
1363 * gdb.cp/cplusfuncs.exp: Likewise.
1364 * gdb.cp/inherit.exp: Likewise.
1365
a1e28cb2
UW
13662011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1367
1368 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1369 * gdb.base/watch-vfork.exp: Skip on remote targets.
1370
d4f5bbb9
UW
13712011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1372
1373 * gdb.threads/thread-find.exp: Support remote targets.
1374
724f4f80
UW
13752011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1376
1377 * gdb.base/jit.exp: Download solib_binfile to target.
1378 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1379 and call dlopen without full path name.
1380 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1381 dlopen without full path name.
1382
934709f0
PW
13832011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1384
1385 * gdb.base/break-always.exp: Complete the test
1386 with duplicated breakpoints and enabling/disabling them.
1387
c26106c4
TT
13882011-08-02 Tom Tromey <tromey@redhat.com>
1389
1390 PR gdb/11289:
1391 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1392
9300444e 13932011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
1394
1395 PR gdb/13045
1396 * gdb.base/float.exp: Add new test case for PR gdb/13045
1397 * gdb.base/float.c: New file.
1398
00bd41d6
PM
13992011-07-28 Phil Muldoon <pmuldoon@redhat.com>
1400
1401 * gdb.python/py-mi.exp: Test printers returning string hint, and
1402 also not returning a value.
1403 * gdb.python/py-prettyprint.c: Add testcase for above.
1404 * gdb.python/py-prettyprint.py: Add test printer for above.
1405
d24f74ce
JK
14062011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1407
1408 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1409 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1410 (.Ldie30) Add as field "data4".
1411 (.Ldie32) Rename field "b" to "shl".
1412 (abbrev4) Change for the "data4" field.
1413 (abbrev5, abbrev6) Remove.
1414 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1415 (p &s.shl): ... here. Add comment.
1416 (p &s.data4): New.
1417
bb7da2bf
JK
14182011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1419
1420 Fix crash on lval_computed values.
1421 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1422
11081198
JK
14232011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1424
1425 * gdb.base/help.exp (help whatis): Update the expected string.
1426
3c6e0cb3
JK
14272011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1428
1429 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1430 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1431 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1432 Change the expected string.
1433
efa80663
PA
14342011-07-26 Pedro Alves <pedro@codesourcery.com>
1435
1436 * gdb.base/watchpoint.exp
1437 (test_disable_enable_software_watchpoint): New procedure.
1438 (top level): Run it.
1439
db8e4570
UW
14402011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
1441
1442 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
1443 executable file "${binfile}", C++ version "${binfile}-cxx".
1444 * gdb.python/py-prettyprint.exp: Likewise.
1445 * gdb.python/py-symbol.exp: Likewise.
1446 * gdb.python/py-type.exp: Likewise.
1447 * gdb.python/py-value.exp: Likewise.
1448 * gdb.python/py-template.exp (test_template_arg): Pass full executable
1449 file name instead of just suffix.
1450
543305c9
JK
14512011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1452
1453 Fix implicit pointer offsets.
1454 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1455 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1456 (continue to breakpoint: continue to baz breakpoint for implptr)
1457 (sanity check element 0, sanity check element 1)
1458 (enter the inlined function, check element 0 for the offset)
1459 (check element 1 for the offset)
1460 (continue to breakpoint: ignore the second baz breakpoint): New tests.
1461 (set foo breakpoint for implptr): Update the breakpoint number.
1462
b3215adc
UW
14632011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1464
1465 * gdb.python/py-mi.exp: Use different file names for different
1466 versions of the executable under test.
1467 * gdb.python/py-prettyprint.exp: Likewise.
1468 * gdb.python/py-symbol.exp: Likewise.
1469 * gdb.python/py-template.exp: Likewise.
1470 * gdb.python/py-type.exp: Likewise.
1471 * gdb.python/py-value.exp: Likewise.
1472
182b9acc
UW
14732011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1474
1475 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1476 flag after restarting GDB if necessary.
1477
e6052b5d
UW
14782011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1479
1480 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1481
1ced966e
PA
14822011-07-22 Pedro Alves <pedro@codesourcery.com>
1483
1484 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1485 backend doesn't leave used debug registers behind.
1486
3543a589
TT
14872011-07-22 Tom Tromey <tromey@redhat.com>
1488
1489 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1490 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1491 argument.
1492 * gdb.dwarf2/typeddwarf-amd64.S: New file.
1493
14d15303 14942011-07-21 Matt Rice <ratmice@gmail.com>
1495
1496 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1497 in mostlyclean rule. Add files ending in .core.
1498
9b158ba0 14992011-07-21 Matt Rice <ratmice@gmail.com>
1500
1501 PR macros/12999
1502 * gdb.base/info-macros.c: New test sources.
1503 * gdb.base/info-macros.exp: New tests.
1504
d17b6f81
PM
15052011-07-21 Phil Muldoon <pmuldoon@redhat.com>
1506
1507 * gdb.python/python.exp: Add prompt substitution tests.
1508
918dd910
JK
15092011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1510
1511 Fix crash if referenced CU is aged out.
1512 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1513 New.
1514 * gdb.dwarf2/implptr.exp: Likewise.
1515
0e37a63c
JK
15162011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1517
1518 * gdb.dwarf2/implptr.S: Rebuilt.
1519 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1520 (bar): Use them for j, k, l.
1521 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
1522 COMPILE.
1523 (print j in implptr:bar): Update for the intp typedef.
1524 (print p[0].x in implptr:foo): Use more exact regex.
1525
f65cf84c
TT
15262011-07-18 Tom Tromey <tromey@redhat.com>
1527
1528 * gdb.cp/static-method.exp: Add missing single quote.
1529
d5b4a7be
YQ
15302011-07-18 Yao Qi <yao@codesourcery.com>
1531
1532 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1533 supported.
1534 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1535 * gdb.mi/mi-nonstop.exp: Likewise.
1536 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1537 * gdb.mi/mi-nsintrall.exp: Likewise.
1538 * gdb.mi/mi-nsmoribund.exp: Likewise.
1539 * gdb.mi/mi-nsthrexec.exp: Likewise.
1540 * gdb.python/py-evthreads.exp: Likewise.
1541
e9ea2662
JK
15422011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1543
1544 Code cleanup.
1545 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
1546 it. Substitute it instead of test_compiler_info everywhere.
1547
ce451573
UW
15482011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1549
1550 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
1551 remote targets as well.
1552
756d88a7
UW
15532011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1554
1555 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1556 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
1557
31f83dc5
UW
15582011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1559
1560 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1561 a remote machine, not the host.
1562 (gdb_compile_shlib): Set soname if target is remote.
1563
059241a0
PP
15642011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1565
1566 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1567
28a0b48c 15682011-07-13 Matt Rice <ratmice@gmail.com>
1569
1570 * gdb.python/py-objfile-script-gdb.py: Renamed to
1571 py-objfile-script-gdb.py.in.
1572 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1573 py-objfile-script-gdb.py.
1574 * gdb.python/py-objfile-script.exp: Update reference to
1575 py-objfile-script-gdb.py.
1576
9a771b67
JK
15772011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1578
1579 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1580 reference undefined label.
1581
04ad99e6
JK
15822011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1583
1584 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1585 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1586 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1587 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1588
713389e0
PM
15892011-07-11 Phil Muldoon <pmuldoon@redhat.com>
1590
1591 PR python/12438
1592 * gdb.python/python.exp: Add maint set/show python print-stack
1593 deprecated tests. Add set/show python print-backtrace tests.
1594
97d146f8
JK
15952011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1596
1597 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1598 debug info.
1599
facde0e5 16002011-07-06 Matt Rice <ratmice@gmail.com>
1601
1602 * gdb.python/python.exp: Update filename paths.
1603 * gdb.python/py-symtab.exp: Ditto.
1604
438640d1
MP
16052011-07-06 Marek Polacek <mpolacek@redhat.com>
1606
1607 * gdb.python/py-evthreads.exp: Add missing `$'.
1608
33a365df
MF
16092011-07-06 Jie Zhang <jie.zhang@analog.com>
1610
1611 * config/bfin.exp: New file.
1612 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1613 * gdb.asm/bfin.inc: New file.
1614
8f7ae686
MP
16152011-07-06 Marek Polacek <mpolacek@redhat.com>
1616
df46027d 1617 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
1618 the whole output.
1619
eb2a6f42
TT
16202011-07-05 Tom Tromey <tromey@redhat.com>
1621
1622 * gdb.java/jprint.java (jprint.hi): New field.
1623 * gdb.java/jprint.exp: Print string.
1624
177b42fe
TJB
16252011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
1626
1627 * gdb.base/call-sc.c: Fix typos.
1628 * gdb.base/ifelse.exp: Likewise.
1629 * gdb.base/structs.c: Likewise.
1630
3b2a0cf2
JB
16312011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1632
1633 * gdb.base/jit-so.exp: New test.
1634 * gdb.base/jit-dlmain.c: New file.
1635 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1636
46fc714c
JK
16372011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1638
1639 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
1640 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1641 * gdb.cp/pr9167.exp (p b): Likewise.
1642 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1643 (test value of P in inner_m, test type of Z in inner_m): Call
1644 setup_xfail for gcc <= 4.5.
46fc714c 1645
418c7cf7
JK
16462011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1647
1648 * gdb.cp/paren-type.cc: New files.
1649 * gdb.cp/paren-type.exp: New files.
1650
3d50dd94
JK
16512011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1652
1653 Stop on first linespec terminator instead of eating what we can.
1654 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1655 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1656 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1657 (break C::f()): ... this one.
1658 (break C::operator()()): New test.
1659 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1660 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1661 test.
1662
dcf9f4ab
JK
16632011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1664
1665 Fall back linespec to minimal symbols.
1666 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1667 error message.
1668 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1669 * gdb.cp/minsym-fallback-main.cc: New file.
1670 * gdb.cp/minsym-fallback.cc: New file.
1671 * gdb.cp/minsym-fallback.exp: New file.
1672 * gdb.cp/minsym-fallback.h: New file.
1673
3f542ed1
JK
16742011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1675
1676 * gdb.cp/no-dmgl-verbose.cc: New file.
1677 * gdb.cp/no-dmgl-verbose.exp: New file.
1678
16792011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
1680
1681 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1682 __GI_.
1683 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1684 (f): New function.
1685 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1686 (complete p 'func<short>(): ... here.
1687 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1688 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1689 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1690 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1691 Make them KFAIL gcc/49546.
1692
00eb2c4a
JB
16932011-07-01 Joel Brobecker <brobecker@adacore.com>
1694
1695 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1696
85a20c42
JK
16972011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1698
1699 Test GCC PR debug/49546.
1700 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1701 (test type of F in k3_m, test value of F in k3_m): New.
1702 * gdb.cp/temargs.cc (struct S3, struct K3): New.
1703 (main): New variable k3. Call k3.k3_m.
1704
d2d43431
JB
17052011-07-01 Jean-Charles Delay <delay@adacore.com>
1706
1707 * gdb.ada/packed_array.exp: Fix expected outout.
1708
54ae186f
JB
17092011-07-01 Jean-Charles Delay <delay@adacore.com>
1710
1711 * gdb.ada/packed_array.exp: fixed expected output.
1712
8f17729f
JB
17132011-07-01 Joel Brobecker <brobecker@adacore.com>
1714
1715 * gdb.ada/same_enum: New testcase.
1716
f5aa6869
JB
17172011-07-01 Joel Brobecker <brobecker@adacore.com>
1718
1719 * gdb.ada/ptr_typedef: New testcase.
1720
828292f2
JB
17212011-07-01 Joel Brobecker <brobecker@adacore.com>
1722
1723 * gdb.ada/arrayptr.exp: Add ptype test.
1724
18920c42
JB
17252011-07-01 Joel Brobecker <brobecker@adacore.com>
1726
1727 * gdb.ada/char_enum: New testcase.
1728
3536d9e3 17292011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
1730
1731 * gdb.base/dump.exp (capture_pointer_with_type): New.
1732 Get value from address instead of name.
1733 Start GDB once, and do `dump' and `restore'
1734 tests together.
1735
db863c42
MF
17362011-06-30 Jie Zhang <jie.zhang@analog.com>
1737 Mike Frysinger <vapier@gentoo.org>
1738
1739 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1740 helper functions for getting/setting remotetimeout variable.
1741 * lib/gdb.exp (gdb_load): If the target is remote, set
1742 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1743 with $loadtimeout. Set $load_ok to 0 before doing the load.
1744 Instead of returning, immediately, set $load_ok to 0. Call
1745 set_remotetimeout with $oldremotetimeout, and then return if
1746 $load_ok is 1.
1747
e9e642a8
AB
17482011-06-30 Andrew Burgess <aburgess@broadcom.com>
1749
1750 * gdb.python/py-template.exp: Don't run this test if the target
1751 does not support c++ tests.
1752
32019081
JK
17532011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1754
1755 Fix non-only rename list for Fortran modules import.
1756 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1757 tests.
1758 * gdb.fortran/module.f90 (module moduse): New.
1759 (program module): use moduse, test var_x, var_y and var_z.
1760
0ecee54c
TT
17612011-06-29 Tom Tromey <tromey@redhat.com>
1762
1763 PR testsuite/12040:
1764 * gdb.fortran/array-element.exp: Use f90, not f77.
1765 * gdb.fortran/complex.exp: Use f90, not f77.
1766 * gdb.fortran/derived-type.exp: Use f90, not f77.
1767 * gdb.fortran/library-module.exp: Use f90, not f77.
1768 * gdb.fortran/logical.exp: Use f90, not f77.
1769 * gdb.fortran/module.exp: Use f90, not f77.
1770 * gdb.fortran/multi-dim.exp: Use f90, not f77.
1771 * gdb.fortran/subarray.exp: Use f90, not f77.
1772
3b2b8fea
TT
17732011-06-29 Tom Tromey <tromey@redhat.com>
1774
1775 * gdb.fortran/charset.exp: New file.
1776 * gdb.fortran/charset.f90: New file.
1777
42159ca5
TT
17782011-06-29 Tom Tromey <tromey@redhat.com>
1779
1780 PR testsuite/12040:
1781 * lib/future.exp: New file, mostly extracted from ada.exp.
1782 Rewrote compatibility code to use rename.
1783 (gdb_find_gfortran): New proc.
1784 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1785 gfortran patch.
1786 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1787 Move to future.exp.
1788 * lib/gdb.exp: Always load future.exp.
1789
af69a5ce
YQ
17902011-06-28 Yao Qi <yao@codesourcery.com>
1791
1792 * gdb.cp/exception.cc: Don't include iostream.
1793 (bar): Remove print statement.
1794 (catcher): New.
1795 (main): Remove print statements. Call function catcher.
1796 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1797 Set breakpoint on catcher, and check the value of parameter.
1798
ab5c6a72
YQ
17992011-06-23 Yao Qi <yao@codesourcery.com>
1800
1801 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1802 1.2 is disabled. KFAIL for uclinux.
1803
9497469f
MP
18042011-06-23 Marek Polacek <mpolacek@redhat.com>
1805
1806 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1807 mi_gdb_test.
1808
b9132588
MP
18092011-06-23 Marek Polacek <mpolacek@redhat.com>
1810
5d197ed0 1811 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 1812
e55595ca
MP
18132011-06-23 Marek Polacek <mpolacek@redhat.com>
1814
5d197ed0
MP
1815 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1816
18172011-06-23 Marek Polacek <mpolacek@redhat.com>
1818
1819 * gdb.mi/mi2-basics.exp: Fix races. Honour the
1820 `test_exec_and_symbol_mi_operatons' return value.
1821 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1822 gdb_test_multiple.
1823 (test_exec_and_symbol_mi_operatons): Likewise.
1824 (test_path_specification): Likewise.
e55595ca 1825
be777e08
YQ
18262011-06-23 Yao Qi <yao@codesourcery.com>
1827
1828 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1829 supported.
1830 * lib/gdb.exp (support_displaced_stepping): New.
1831
615556d6
YQ
18322011-06-23 Yao Qi <yao@codesourcery.com>
1833
1834 * gdb.threads/execl.exp: Skip on remote target.
1835
833b0ca7
MP
18362011-06-21 Marek Polacek <mpolacek@redhat.com>
1837
5d197ed0 1838 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
1839 mi_gdb_test.
1840
1ee4023a
MP
18412011-06-20 Marek Polacek <mpolacek@redhat.com>
1842
5d197ed0 1843 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 1844
d0b1d624
MP
18452011-06-20 Marek Polacek <mpolacek@redhat.com>
1846
5d197ed0 1847 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
1848 mi_gdb_test.
1849
79aa92c1
MP
18502011-06-20 Marek Polacek <mpolacek@redhat.com>
1851
5d197ed0 1852 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 1853
5ce5db06
YQ
18542011-06-14 Yao Qi <yao@codesourcery.com>
1855
1856 gdb/testsuite/
1857 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1858
533a737e
JK
18592011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1860
1861 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1862
d0e53741
TT
18632011-06-10 Tom Tromey <tromey@redhat.com>
1864
1865 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1866 Add tests for pointer-to-member-function.
1867 * gdb.cp/temargs.cc (S::somefunc): New function.
1868 (K2): New class.
1869 (main): Instantiate K2; call method.
1870
b5916bbd
JB
18712011-06-08 Joel Brobecker <brobecker@adacore.com>
1872
1873 * gdb.python/py-inferior.c (f2): Make str an array rather
1874 than a pointer.
1875 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1876
5be4dfca
JK
18772011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1878
1879 * gdb.base/async-shell.c: New file.
1880 * gdb.base/async-shell.exp: New file.
1881
9f47e254
PA
18822011-06-06 Pedro Alves <pedro@codesourcery.com>
1883
1884 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1885
64b9b334
JB
18862011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
1887
1888 From Stephen Kitt <steve@sk2.org>
1889 * gdb.base/help.exp: Adjust following some spelling corrections
1890 in GDB.
1891
dbc0f131
YQ
18922011-06-01 Yao Qi <yao@codesourcery.com>
1893
1894 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1895
fd336a18
KS
18962010-05-31 Keith Seitz <keiths@redhat.com>
1897
1898 PR c++/12750
1899 * gdb.cp/static-method.cc: New file.
1900 * gdb.cp/static-method.exp: New file.
1901
fa8b9902
KS
19022010-05-31 Keith Seitz <keiths@redhat.com>
1903
1904 PR symtab/12704
1905 * gdb.cp/anon-ns.cc: New file.
1906 * gdb.cp/anon-ns.exp: New file.
1907
0a5b1e09
PA
19082011-05-31 Pedro Alves <pedro@codesourcery.com>
1909
1910 * gdb.arch/i386-dr3-watch.c: New file.
1911 * gdb.arch/i386-dr3-watch.exp: New file.
1912
0578b8d1
YQ
19132011-05-30 Yao Qi <yao@codesourcery.com>
1914
1915 * gdb.base/callfuncs.c (t_structs_fc): New.
1916 (t_structs_dc, t_structs_ldc): New.
1917 (t_double_many_args):
1918 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1919 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1920 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1921 * gdb.base/callfuncs.exp: Call new functions.
1922
6680506e
YQ
19232011-05-30 Yao Qi <yao@codesourcery.com>
1924
ff4d2c60
YQ
1925 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1926 Call rerun_and_prepare for each test to isolate effects.
1927
19282011-05-30 Yao Qi <yao@codesourcery.com>
1929
1930 * gdb.base/varargs.c (find_max_float_real): New.
1931 (find_max_double_real, find_max_long_double_real): New.
1932 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
1933 * lib/gdb.exp (setup_kfail_for_target): New.
1934
e43ec454
YQ
19352011-05-30 Yao Qi <yao@codesourcery.com>
1936
1937 * gdb.base/funcargs.c (callca, callcb, callcc): New.
1938 (callcd, callce, callcf, callc1a, callc1b): New.
1939 (callc2a, callc2b): New.
1940 * gdb.base/funcargs.exp (complex_args): New.
1941 (complex_integral_args, complex_float_integral_args): New.
1942 * lib/gdb.exp (support_complex_tests): New. Determine
1943 whether to run test cases on _Complex types.
1944
432b4d03
JK
19452011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1946
1947 * gdb.threads/leader-exit.c: New file.
1948 * gdb.threads/leader-exit.exp: New file.
1949
6caf069d
MP
19502011-05-27 Marek Polacek <mpolacek@redhat.com>
1951
9497469f 1952 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 1953
97fce28b
MP
19542011-05-27 Marek Polacek <mpolacek@redhat.com>
1955
1956 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
1957 remove the `supported' variable.
1958 * gdb.mi/mi-nonstop.exp: Likewise.
1959 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1960 * gdb.mi/mi-nsintrall.exp: Likewise.
1961 * gdb.mi/mi-nsmoribund.exp: Likewise.
1962 * gdb.mi/mi-nsthrexec.exp: Likewise.
1963
9da8c2a0
PA
19642011-05-26 Pedro Alves <pedro@codesourcery.com>
1965
1966 * gdb.reverse/finish-reverse-bkpt.exp: New test.
1967
2c03e5be
PA
19682011-05-26 Pedro Alves <pedro@codesourcery.com>
1969
1970 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
1971
2e21250d
KS
19722011-05-24 Keith Seitz <keiths@redhat.com>
1973
1974 PR breakpoint/12803
1975 * gdb.cp/cmpd-minsyms.cc (a): New method.
1976 (b): New method.
1977 (c): New method.
1978 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
1979
cdac0397
PA
19802011-05-24 Pedro Alves <pedro@codesourcery.com>
1981
1982 * gdb.base/commands.exp (watchpoint_command_test): Check that the
1983 watchpoint's command list didn't execute when the watchpoint went
1984 out of scope.
1985
ee5683ab
PM
19862011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
1987
1988 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
1989 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
1990 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
1991 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1992 * gdb.arch/i386-permbkpt.exp: Likewise.
1993 * gdb.arch/i386-prologue.exp: Likewise.
1994 * gdb.arch/i386-size-overlap.exp: Likewise.
1995 * gdb.arch/i386-size.exp: Likewise.
1996 * gdb.arch/i386-unwind.exp: Likewise.
1997 * gdb.reverse/i386-precsave.exp: Likewise.
1998 * gdb.reverse/i386-reverse.exp: Likewise.
1999 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2000 * gdb.reverse/i387-env-reverse.exp: Likewise.
2001 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2002
c91c8c16
PA
20032011-05-24 Pedro Alves <pedro@codesourcery.com>
2004
2005 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2006 file doesn't error, using MI.
2007
c50491a7
TT
20082011-05-23 Tom Tromey <tromey@redhat.com>
2009
2010 * gdb.base/charset.exp (string_display): Add tests to assign to
2011 arrays.
2012 * gdb.base/charset.c (short_array, int_array, long_array): New.
2013
4a07b7da
PA
20142011-05-20 Pedro Alves <pedro@codesourcery.com>
2015
2016 Cope with async mode.
2017
4a07b7da
PA
2018 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2019 into gdb_test + mi_expect_stop.
2020
b275f2d2
PA
20212011-05-20 Pedro Alves <pedro@codesourcery.com>
2022
2023 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2024 (callme): Remove printf call.
2025
eec52c44
PM
20262011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2027
2028 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2029 quote pattern to avoid problems with Cygwin/mingw expect versions.
2030 * gdb.base/default.exp (show convenience): Use double
2031 quote pattern for regular expressions.
2032
b3c8eb43
JK
20332011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2034
2035 Fix -readnow for -gdwarf-4 unused type units.
2036 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2037 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2038
ed731959
JK
20392011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2040
2041 * gdb.base/kill-after-signal.c: New file.
2042 * gdb.base/kill-after-signal.exp: New file.
2043
3b48433d
PA
20442011-05-16 Pedro Alves <pedro@codesourcery.com>
2045
2046 * gdb.ada/start.exp: Call untested with the correct test filename.
2047 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2048 test filename. Make the test's binary unique.
2049 * gdb.arch/i386-signal.exp: Call untested with the correct test
2050 filename.
2051 * gdb.arch/i386-size-overlap.exp: Ditto.
2052 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2053 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2054 * gdb.cp/call-c.exp: Ditto.
2055 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2056 filename. Make the test's binary unique.
2057 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2058 * gdb.python/py-mi.exp: Ditto.
2059 * gdb.python/Makefile.in (EXECUTABLES): Update.
2060 * gdb.reverse/i386-precsave.exp: Ditto.
2061 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2062 test filename.
2063 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2064 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2065 unique.
2066 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2067 test filename.
2068 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2069 * gdb.trace/tfile.exp: Ditto.
2070
ba4a8bdd
YQ
20712011-05-14 Yao Qi <yao@codesourcery.com>
2072
2073 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2074 type.
2075
dbaefcf7
DE
20762011-05-13 Doug Evans <dje@google.com>
2077
2078 * gdb.python/py-objfile-script.exp: New file.
2079 * gdb.python/py-objfile-script.c: New file.
2080 * gdb.python/py-objfile-script-gdb.py: New file.
2081 * testsuite/gdb.python/py-section-script.exp: Test
2082 "info auto-load-scripts".
2083
9930639c
TT
20842011-05-13 Tom Tromey <tromey@redhat.com>
2085
2086 * gdb.dwarf2/clztest.exp: New file.
2087 * gdb.dwarf2/clztest.c: New file.
2088 * gdb.dwarf2/clztest.S: New file.
2089
05272e11
DE
20902011-05-13 Doug Evans <dje@google.com>
2091
cc63ef9b
DE
2092 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2093 String16 tests.
05272e11 2094
6edba76f
TT
20952011-05-13 Tom Tromey <tromey@redhat.com>
2096
2097 * lib/gdb.exp (is_x86_like_target): New proc.
2098 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2099 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2100 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2101 -nostdlib to compiler.
2102 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2103 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2104 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2105 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2106 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2107
028d0ed5
TJB
21082011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2109
2110 * gdb.python/py-function.exp: Test setting a value from a function
2111 which executes a command.
2112
8a9b8146
TT
21132011-05-12 Tom Tromey <tromey@redhat.com>
2114
2115 * gdb.dwarf2/typeddwarf.S: New file.
2116 * gdb.dwarf2/typeddwarf.c: New file.
2117 * gdb.dwarf2/typeddwarf.exp: New file.
2118
10483e8e
MP
21192011-05-12 Marek Polacek <mpolacek@redhat.com>
2120
2121 * gdb.mi/mi-basics.exp: Fix races. Honour the
2122 `test_exec_and_symbol_mi_operatons' return value.
2123 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2124 gdb_test_multiple.
2125 (test_exec_and_symbol_mi_operatons): Likewise.
2126 (test_path_specification): Likewise.
2127
faf067f1
JK
21282011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2129
2130 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2131 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2132 Replace `file copy' and `file rename' by `file mtime'. Twice.
2133
7ff911a3
JK
21342011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2135
2136 * gdb.base/readline-ask.c: New file.
2137 * gdb.base/readline-ask.exp: New file.
2138 * gdb.base/readline-ask.inputrc: New file.
2139
a536c6d7
UW
21402011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2141
2142 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2143 to avoid race condition.
2144 * gdb.cell/coremaker.c: Use small stack size.
2145 * gdb.cell/ea-standalone.exp: Use file name without path as
2146 argument to c_to.
2147 * gdb.cell/fork.exp: Allow other output when continuing to end.
2148
d472a426
JK
21492011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2150
2151 * gdb.threads/corethreads.c: New file.
2152 * gdb.threads/corethreads.exp: New file.
2153
21542011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2155
2156 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2157 Try to compile the test using -Wl,-z,norelro first.
2158 (load_core): New variable libthread_db_seen, initialize it.
2159 (zeroed-threads cannot be listed): Protect it by XFAIL on
2160 !$libthread_db_seen.
2161
8be455d7
JK
21622011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2163
2164 PR 12573
2165 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2166 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2167 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2168
1976171a
JK
21692011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2170
2171 * gdb.cp/psymtab-parameter.cc: New file.
2172 * gdb.cp/psymtab-parameter.exp: New file.
2173
7db6f30f
JK
21742011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2175
2176 Fix a race.
2177 * gdb.cp/static-print-quit.exp (print c): Split to ...
2178 (print c - <return>, print c - q <return>, print c - to quit):
2179 ... these. Make the testfile untested on gdb-7.1.
2180
85161e9e 21812011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2182
2183 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2184 gdb_rename_execfile, gdb_touch_execfile): New.
2185 * gdb.base/reread.exp: Use new procs to handle multiple
2186 exec files.
2187
0c51be18
YQ
21882011-05-05 Yao Qi <yao@codesourcery.com>
2189
2190 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2191 (test_adr_32bit, test_pop_pc): New.
2192 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2193 (test_adr_32bit, test_pop_pc): New.
2194
4d393d60
JM
21952011-05-04 Joseph Myers <joseph@codesourcery.com>
2196
2197 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2198 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2199 targets.
2200 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2201 handle targets.
2202
8ffd0459
JK
22032011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2204
2205 * gdb.base/completion.exp (complete help info wat): Rename to ...
2206 (complete 'help info wat'): ... here.
2207 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2208 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2209
8e28d804
PA
22102011-05-04 Pedro Alves <pedro@codesourcery.com>
2211
2212 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2213 gdb_test and explicit $gdb_prompt/timeout matches.
2214
3eb2ef34
YQ
22152011-05-04 Yao Qi <yao@codesourcery.com>
2216
2217 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2218 and __thumb2__.
2219
aaaf81a3
MP
22202011-05-03 Marek Polacek <mpolacek@redhat.com>
2221
2222 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2223 in place of `gdb_test "delete breakpoints"'. This eliminates two
2224 testcases.
2225
c4cbc0df
PA
22262011-05-02 Pedro Alves <pedro@codesourcery.com>
2227
2228 PR testsuite/12649
2229 Fix races.
2230
2231 * gdb.base/completion.exp: Remove all sleep calls. Remove
2232 unnecessary regexs. Don't explicitly expect anything after the
2233 prompt. Eat the prompt if necessary.
2234
b4cbb4a3
EBM
22352011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2236
2237 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2238 accept to show the caller line again as well as the line after.
2239
d65aec65
PM
22402011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2241
2242 PR mi/12531
2243
2244 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2245 compile target.
2246 * gdb.python/py-prettyprint.exp: Add C++ object for
2247 CPLUS_FAKE_CHILD test.
2248
30852783
UW
22492011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2250
2251 * gdb.base/signest.exp: New file.
2252 * gdb.base/signest.c: Likewise.
2253
c7b1f0d9
JK
22542011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2255
2256 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2257 thread and breakpoint notifications.
2258
559a7a62
JK
22592011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2260
2261 * gdb.base/fortran-sym-case.c: New file.
2262 * gdb.base/fortran-sym-case.exp: New file.
2263 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2264 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2265 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2266
8344e389
JK
22672011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2268
2269 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2270 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2271 false #1', `if true else false #2' and `if true else false #3'.
2272
2484c66b
UW
22732011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2274
2275 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2276 while delivering signal.
2277
8d3788bd
VP
22782011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2279
2280 MI breakpoint notifications.
2281
2282 * testsuite/gdb.mi/mi-cli.exp: Adust.
2283 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2284 * testsuite/gdb.mi/mi-watch.exp: Adust.
2285 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2286 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2287 notifications.
2288
3e03848b
JK
22892011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2290
2291 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2292 * gdb.base/gdbindex-stabs.c: New file.
2293 * gdb.base/gdbindex-stabs.exp: New file.
2294
918c9108
YQ
22952011-04-25 Yao Qi <yao@codesourcery.com>
2296
2297 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2298 with /*...*/.
2299 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2300
90556b8c
JK
23012011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2302
2303 * gdb.python/py-value.exp (test_objfiles): Name the first test
2304 `py-value in file.filename'.
2305
03f2bd59
JK
23062011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2307
2308 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2309 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2310 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2311 !gdbserver_reconnect_p..
2312 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2313
7b08b9eb
JK
23142011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2315
2316 * gdb.cp/cpcompletion.exp (complete class methods)
2317 (complete class methods beginning with F): Move them above runto. New
2318 comment about the runto delimiter.
2319
b78974c3
PA
23202011-04-20 Pedro Alves <pedro@codesourcery.com>
2321
2322 * gdb.base/maint.exp: Test that "maint print registers" works
2323 without a running program.
2324
20429c40 23252011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 2326
20429c40
MP
2327 * gdb.base/setshow.exp: Fix racy tests.
2328 ($old_gdb_prompt): New variable.
2329
7a9dd1b2
TT
23302011-04-19 Tom Tromey <tromey@redhat.com>
2331
2332 * gdb.mi/mi-nsmoribund.exp:
2333 * gdb.hp/gdb.objdbg/objdbg01.exp:
2334 * gdb.base/structs.exp (test_struct_returns):
2335 * gdb.base/call-sc.exp (test_scalar_returns):
2336 * gdb.base/bigcore.exp: Remove duplicate words.
2337
02835898
JK
23382011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2339
2340 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2341 * gdb.base/break-interp.exp (test_attach): New comment.
2342
254f582e
JK
23432011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2344
2345 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2346 (clear __stack_user.next, clear stack_used.next)
2347 (save a zeroed-threads corefile): New test.
2348 Call core_load for $core0file.
2349 (zeroed-threads cannot be listed): New test.
2350
4fe85f5c
JK
23512011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2352
2353 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2354 filename.
2355 ($srcfile): Preserve the original value.
2356 ($testfile): Match it the .exp filename.
2357 ($corefile): New variable. Substitute it around.
2358 Use clean_restart.
2359 ($prev_timeout): Remove.
2360 (load_core): Move core loading into this proc.
2361 Fix restore of $timeout if load_core fails.
2362
63524580
JK
23632011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2364
2365 * gdb.base/eu-strip-infcall.c: New file.
2366 * gdb.base/eu-strip-infcall.exp: New file.
2367
90359a16
JK
23682011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2369
2370 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2371 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2372
626e7282
JK
23732011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2374
2375 Fix Python access to inlined frames.
2376 * gdb.python/py-frame-inline.c: New file.
2377 * gdb.python/py-frame-inline.exp: New file.
2378
3363d018
EBM
23792011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2380
2381 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2382 content of 's24' correctly (avoiding "optimized out").
2383 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2384
28781456
JK
23852011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2386
2387 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2388
4a4106ca
TJB
23892011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2390
2391 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2392 expect a colon in watch -location output.
2393
d26ccb4f
JK
23942011-04-13 Marek Polacek <mpolacek@redhat.com>
2395
df46027d 2396 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
2397 New testcase `expect response to define backtrace'. Also remove
2398 redundant `default' block.
2399
e1ab1f9c
JK
24002011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2401
2402 * gdb.python/py-prettyprint.c (struct hint_error): New.
2403 (main): New variable hint_error.
2404 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2405 "print hint_error".
2406 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2407 (register_pretty_printers): Register it.
2408
0c2e6019
TT
24092011-04-04 Tom Tromey <tromey@redhat.com>
2410
2411 * gdb.cp/maint.exp (test_help): Update.
2412 (test_namespace): Likewise.
2413
af57139d
JB
24142011-04-01 Joel Brobecker <brobecker@adacore.com>
2415
2416 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2417 * gdb.ada/arrayptr.exp: Add new tests.
2418
956a9fb9
JB
24192011-04-01 Joel Brobecker <brobecker@adacore.com>
2420
2421 * gdb.ada/mi_catch_ex: New testcase.
2422
d0c4d642
PA
24232011-04-01 Pedro Alves <pedro@codesourcery.com>
2424
2425 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2426 base::overload(void) method without specifying "const".
2427
18819fa6
UW
24282011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2429
2430 * gdb.arch/thumb-singlestep.S: New file.
2431 * gdb.arch/thumb-singlestep.exp: Likewise.
2432
a4c8e806
TT
24332011-03-31 Tom Tromey <tromey@redhat.com>
2434
2435 * gdb.python/py-prettyprint.py (exception_flag): New global.
2436 (NoStringContainerPrinter._iterator.next): Check it.
2437 * gdb.python/py-prettyprint.c (main): New variable nstype2.
2438 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2439
53832f31
TT
24402011-03-29 Tom Tromey <tromey@redhat.com>
2441
2442 * gdb.cp/anon-struct.cc: New file.
2443 * gdb.cp/anon-struct.exp: New file.
2444
e4620230
JK
24452011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2446
2447 Test STT_GNU_IFUNC support.
2448 * gdb.base/gnu-ifunc-lib.c: New file.
2449 * gdb.base/gnu-ifunc.c: New file.
2450 * gdb.base/gnu-ifunc.exp: New file.
2451
d0fb5eae
JK
24522011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2453
2454 Support a ring of related breakpoints.
2455 * gdb.base/watchpoint-delete.c: New file.
2456 * gdb.base/watchpoint-delete.exp: New file.
2457
20106cfb
JK
24582011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2459
2460 * gdb.ada/arrayparam.exp (print first after function call): Use
2461 explicit package name. Add a comment
2462 (print lasta after function call): Rename ...
2463 (print last after function call): ... it and use explicit package
2464 name.
2465 (print length after function call): Use explicit package name.
2466 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2467 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2468 (multiple matches for symbol i): Rename ...
2469 (multiple matches for symbol integervar): ... it.
2470 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2471 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2472
e7ab5e63
AB
24732011-03-25 Andrew Burgess <aburgess@broadcom.com>
2474
2475 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2476 environment variable to make grep output more predictable. Move
2477 all the environment setup into gdb_init so it's done once per test
2478 case rather than each time we start gdb.
2479
9ef07c8c
TT
24802011-03-24 Tom Tromey <tromey@redhat.com>
2481
2482 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
2483 test.
2484
dd90784c
JK
24852011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2486
2487 * gdb.dwarf2/dw2-entry-value-main.c: New file.
2488 * gdb.dwarf2/dw2-entry-value.S: New file.
2489 * gdb.dwarf2/dw2-entry-value.exp: New file.
2490
05775840
PM
24912011-03-22 Phil Muldoon <pmuldoon@redhat.com>
2492
2493 PR python/12183
2494
2495 * gdb.python/py-function.exp: Add GdbError tests.
2496
8661b11b
PA
24972011-03-18 Pedro Alves <pedro@codesourcery.com>
2498
2499 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2500 (reglocal_test_func, statlocal_test_func): New functions.
2501 (globals_test_func): Call new functions.
2502 * gdb.trace/unavailable.exp (gdb_collect_args_test)
2503 (gdb_collect_locals_test): New procedure.
2504 (gdb_trace_collection_test): Call new procedures.
2505
0fdb4f18
PA
25062011-03-18 Pedro Alves <pedro@codesourcery.com>
2507
2508 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2509 (test_register, test_register_unavailable): New procedures.
2510 (gdb_unavailable_registers_test): New procedure.
2511 (gdb_trace_collection_test): Call it.
2512
99c3dc11
PM
25132011-03-18 Phil Muldoon <pmuldoon@redhat.com>
2514
2515 PR python/12149
2516
2517 * gdb.python/python.exp: Add gdb.write tests.
2518
29703da4
PM
25192010-03-17 Phil Muldoon <pmuldoon@redhat.com>
2520
2521 * gdb.python/Makefile.in: Add py-objfile.
2522 * gdb.python/py-objfile.exp: New file.
2523 * gdb.python/py-objfile.c: New file.
2524 * gdb.python/py-block.exp: Add is_valid tests.
2525 * gdb.python/py-inferior.exp: Ditto.
2526 * gdb.python/py-infthread.exp: Ditto.
2527 * gdb.python/py-symbol.exp: Ditto.
2528 * gdb.python/py-symtab.exp: Ditto.
2529
598997c8
KS
25302011-03-16 Keith Seitz <keiths@redhat.com>
2531
2532 PR c++/12273
2533 * gdb.cp/cmpd-minsyms.exp: New test.
2534 * gdb.cp/cmpd-minsyms.cc: New file.
2535
2536 PR c++/11734
2537 * gdb.cp/ovsrch.exp: New test.
2538 * gdb.cp/ovsrch.h: New file.
2539 * gdb.cp/ovsrch1.cc: New file.
2540 * gdb.cp/ovsrch2.cc: New file.
2541 * gdb.cp/ovsrch3.cc: New file.
2542 * gdb.cp/ovsrch4.cc: New file.
2543
c91513d8
PP
25442011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2545
2546 PR gdb/12528
2547 * gdb.base/Makefile.in: Adjust EXECUTABLES.
2548 * gdb.base/break-on-linker-gcd-function.exp: New test.
2549 * gdb.base/break-on-linker-gcd-function.cc: New file.
2550
7470fc63
AT
25512011-03-15 Andreas Tobler <andreast@fgznet.ch>
2552
2553 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2554
959e7469
PM
25552011-03-15 Phil Muldoon <pmuldoon@redhat.com>
2556
2557 * lib/gdb.exp (gdb_unload): Add another termination case.
2558
9373cf26
JK
25592011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2560
2561 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2562 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2563 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2564 Provide a stub byte there.
2565 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2566 DW_AT_entry_pc.
2567 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2568
24e9cda0
UW
25692011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
2570
2571 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2572 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
2573 "generic ABI, auto".
2574 (altivec_abi_tests): Accept vectors returned by reference.
2575
7371cf6d
PM
25762010-03-14 Phil Muldoon <pmuldoon@redhat.com>
2577
2578 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2579
ce77046a
UW
25802011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2581
2582 * gdb.python/py-section-script.exp: Skip test if no Python support.
2583
176400c3
UW
25842011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2585
2586 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2587
ecec24e6
PM
25882011-03-10 Phil Muldoon <pmuldoon@redhat.com>
2589
2590 * gdb.python/py-parameter.exp: Update tests to the new Python
2591 parameter API. Add "no documentation" test. Add deprecated API
2592 backward compatibility test.
2593
5dbdd470
TT
25942011-03-09 Tom Tromey <tromey@redhat.com>
2595
2596 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2597 gdb_continue_to_end.
2598
b66e66ee
MK
25992011-03-09 Mark Kettenis <kettenis@gnu.org>
2600
2601 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2602 tabs.
2603
eceb0c5f
TT
26042011-03-09 Tom Tromey <tromey@redhat.com>
2605
2606 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
2607 parentheses.
2608 (gdb_continue_to_end): Add "allow_extra" parameter. Use
2609 $command.
2610 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2611 argument to gdb_continue_to_end.
2612 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2613 argument to gdb_continue_to_end.
2614 * gdb.cp/annota3.exp: Fix regex.
2615 * gdb.cp/annota2.exp: Fix regex.
2616 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2617 gdb_continue_to_end.
2618 * gdb.base/call-signal-resume.exp: Revert earlier patch.
2619 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2620 gdb_continue_to_end.
2621
63154eca
PA
26222011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2623
2624 * gdb.server/ext-run.exp
2625 (load new file without any gdbserver inferior): New test.
2626
967d1f9b
TT
26272011-03-07 Tom Tromey <tromey@redhat.com>
2628
2629 * Makefile.in (TAGS): Rewrite.
2630
d68dcbb9
JK
26312011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2632
2633 * gdb.trace/report.exp (12.1: trace report #1): New match for the
2634 initial commands echo. New match for `Found trace'. Anchor all the
2635 other matches. Anchor and match for `No trace frame found' the final
2636 match.
2637
6bf58e63
TT
26382011-03-07 Tom Tromey <tromey@redhat.com>
2639
2640 * Makefile.in (TAGS): New target.
2641
fda326dd
TT
26422011-03-07 Tom Tromey <tromey@redhat.com>
2643
2644 * lib/opencl.exp (skip_opencl_tests): Update for exit message
2645 change.
2646 * lib/mi-support.exp (mi_gdb_test): Update for exit message
2647 change.
2648 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
2649 exit message change.
2650 (skip_altivec_tests): Update for exit message change.
2651 (skip_vsx_tests): Likewise.
2652 (gdb_continue_to_end): Likewise. Add 'command' argument.
2653 * lib/cell.exp (skip_cell_tests): Update for exit message change.
2654 * gdb.threads/tls.exp: Update for exit message change.
2655 * gdb.threads/thread-unwindonsignal.exp: Use
2656 gdb_continue_to_end.
2657 * gdb.threads/step.exp (step_it): Update for exit message change.
2658 (continue_all): Likewise.
2659 * gdb.threads/print-threads.exp (test_all_threads): Update for
2660 exit message change.
2661 * gdb.threads/interrupted-hand-call.exp: Use
2662 gdb_continue_to_end.
2663 * gdb.threads/execl.exp: Use gdb_continue_to_end.
2664 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2665 gdb_continue_to_end.
2666 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2667 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2668 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2669 * gdb.cp/method.exp: Update for exit message change.
2670 * gdb.cp/mb-templates.exp: Update for exit message change.
2671 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2672 * gdb.cp/annota3.exp: Update for exit message change.
2673 * gdb.cp/annota2.exp: Update for exit message change.
2674 * gdb.cell/fork.exp: Use gdb_continue_to_end.
2675 * gdb.base/term.exp: Update for exit message change.
2676 * gdb.base/step-test.exp (test_i): Update for exit message change.
2677 * gdb.base/sigstep.exp (advance): Update for exit message change.
2678 (advancei): Likewise.
2679 * gdb.base/siginfo.exp: Update for exit message change.
2680 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2681 * gdb.base/reread.exp: Use gdb_continue_to_end.
2682 * gdb.base/langs.exp: Use gdb_continue_to_end.
2683 * gdb.base/interrupt.exp: Update for exit message change.
2684 * gdb.base/gdb1555.exp: Update for exit message change.
2685 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2686 * gdb.base/ending-run.exp: Update for exit message change.
2687 * gdb.base/chng-syms.exp: Update for exit message change.
2688 * gdb.base/checkpoint.exp: Update for exit message change.
2689 * gdb.base/catch-syscall.exp (check_for_program_end): Use
2690 gdb_continue_to_end.
2691 (test_catch_syscall_with_wrong_args): Likewise.
2692 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2693 * gdb.base/break-interp.exp (test_ld): Update for exit message
2694 change.
2695 * gdb.base/bang.exp: Update for exit message change.
2696 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2697 (do_call_attach_tests): Likewise.
2698 * gdb.base/a2-run.exp: Update for exit message change.
2699 * gdb.arch/ppc-dfp.exp: Update for exit message change.
2700 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2701 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2702
dd19bd70
JK
27032011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2704
2705 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2706
30e62689
TT
27072011-03-03 Tom Tromey <tromey@redhat.com>
2708
2709 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2710 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2711 * gdb.hp/gdb.aCC/configure.ac: Remove.
2712 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2713 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2714 * gdb.hp/gdb.base-hp/configure.ac: Remove.
2715 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2716 * gdb.hp/gdb.compat/configure (Makefile): Remove.
2717 * gdb.hp/gdb.compat/configure.ac: Remove.
2718 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2719 * gdb.hp/gdb.defects/configure (Makefile): Remove.
2720 * gdb.hp/gdb.defects/configure.ac: Remove.
2721 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2722 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2723 * gdb.hp/gdb.objdbg/configure.ac: Remove.
2724 * gdb.hp/configure.ac: Remove.
2725 * gdb.hp/configure: Remove.
2726 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2727 substitution.
2728 (Makefile): Remove rule.
2729 * gdb.cell/configure.ac: Remove.
2730 * gdb.cell/configure: Remove.
2731 * gdb.stabs/Makefile.in (Makefile): Remove.
2732 (distclean): Don't remove config.status or config.log.
2733 * gdb.stabs/configure (Makefile): Remove.
2734 * gdb.stabs/configure.ac: Remove.
2735 * configure: Rebuild.
2736 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2737 Remove stabs- and cell-specific logic. Test for existence of
2738 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
2739 subdirectories, gdb.cell, and and gdb.stabs.
2740 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2741
c171f854
JB
27422011-03-03 Joel Brobecker <brobecker@adacore.com>
2743
2744 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2745 end of buffer.
2746
9a5193cb
JB
27472011-03-02 Joel Brobecker <brobecker@adacore.com>
2748
2749 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2750 gdb_test when running a test where we expected no output back.
2751
9bb4c1bb
MS
27522011-02-28 Michael Snyder <msnyder@vmware.com>
2753
2754 * gdb.cp/overload.cc: Change initializer value to integer.
2755
3bd0f5ef
MS
27562011-02-27 Michael Snyder <msnyder@vmware.com>
2757
2758 * gdb.multi/base.exp: Add test for remove-inferiors.
2759
2279eaad
JB
27602011-02-26 Joel Brobecker <brobecker@adacore.com>
2761
2762 * gdb.python/py-frame.exp: Simplify the initialization phase
2763 using prepare_for_testing.
2764
c82c0b55
MS
27652011-02-25 Michael Snyder <msnyder@vmware.com>
2766
2767 * gdb.multi/base.exp: Add tests for info inferiors with args.
2768
1d94651b
JK
27692011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2770
2771 * gdb.dwarf2/dw2-ranges.S: Rename to ...
2772 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2773 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2774 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2775 asmfile3. Comment the STABS (#3) file compilation. Compile
2776 everything through assembler. Provide KFAIL for symtab/12497.
2777 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2778 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2779 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2780 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2781
3bd0f5ef
MS
27822011-02-24 Michael Snyder <msnyder@vmware.com>
2783
2784 * gdb.base/break.exp: Add tests for delete breakpoints using
2785 convenience variables and value history references.
2786
12c1418e
MS
27872011-02-24 Michael Snyder <msnyder@vmware.com>
2788
2789 * gdb.base/break.exp: Remove debugging 'printf' accidentally
2790 left behind in previous check-in.
2791
e5a67952
MS
27922011-02-23 Michael Snyder <msnyder@vmware.com>
2793
2794 * gdb.base/break.exp: Add tests for "info break" with arguments.
2795 * gdb.trace/infotrace.exp: Update patterns for error and help.
2796 * gdb.base/completion.exp: Update pattern.
2797 * gdb.base/ena-dis-br.exp: Update pattern.
2798 * gdb.base/help.exp: Update patterns.
2799
28002011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
2801
2802 * gdb.base/memattr.exp: New test.
2803 * gdb.base/memattr.c: Test load for memattr.exp.
2804
6e6fbe60
DE
28052011-02-22 Doug Evans <dje@google.com>
2806
2807 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2808
1d41d745
MS
28092011-02-22 Michael Snyder <msnyder@vmware.com>
2810
2811 * Makefile.in: Make more clean.
2812 * gdb.ada/Makefile.in: Ditto.
2813 * gdb.arch/Makefile.in: Ditto.
2814 * gdb.asm/Makefile.in: Ditto.
2815 * gdb.base/Makefile.in: Ditto.
2816 * gdb.cp/Makefile.in: Ditto.
2817 * gdb.dwarf2/Makefile.in: Ditto.
2818 * gdb.java/Makefile.in: Ditto.
2819 * gdb.mi/Makefile.in: Ditto.
2820 * gdb.modula2/Makefile.in: Ditto.
2821 * gdb.python/Makefile.in: Ditto.
2822 * gdb.server/Makefile.in: Ditto.
2823 * gdb.stabs/Makefile.in: Ditto.
2824 * gdb.threads/Makefile.in: Ditto.
2825 * gdb.trace/Makefile.in: Ditto.
2826
79ba84ca
MS
28272011-02-22 Michael Snyder <msnyder@vmware.com>
2828
df46027d 2829 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
2830 info threads.
2831
b9b35694
JB
28322011-02-22 Joel Brobecker <brobecker@adacore.com>
2833
2834 * gdb.python/py-breakpoint.exp: Fix the expected output of
2835 one of the "maint info breakpoints" tests to accept the output
2836 generated on platforms that do not have hardware watchpoints.
2837
8bfb830f
JB
28382011-02-22 Joel Brobecker <brobecker@adacore.com>
2839
2840 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2841 clean_restart. Be a little stricter in the expected output
2842 for one of the tests. Fix a typo in one of the comments.
2843
c45f3c54
JB
28442011-02-22 Joel Brobecker <brobecker@adacore.com>
2845
2846 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2847 Delete variable binfile, no longer use. Add or modify test
2848 comments to make them unique.
2849
b97c863c
MS
28502011-02-21 Michael Snyder <msnyder@vmware.com>
2851
2852 * Makefile.in: Update for make clean.
2853 * gdb.ada/Makefile.in: Ditto.
2854 * gdb.arch/Makefile.in: Ditto.
2855 * gdb.asm/Makefile.in: Ditto.
2856 * gdb.base/Makefile.in: Ditto.
2857 * gdb.cp/Makefile.in: Ditto.
2858 * gdb.dwarf2/Makefile.in: Ditto.
2859 * gdb.java/Makefile.in: Ditto.
2860 * gdb.mi/Makefile.in: Ditto.
2861 * gdb.modula2/Makefile.in: Ditto.
2862 * gdb.python/Makefile.in: Ditto.
2863 * gdb.server/Makefile.in: Ditto.
2864 * gdb.stabs/Makefile.in: Ditto.
2865 * gdb.threads/Makefile.in: Ditto.
2866 * gdb.trace/Makefile.in: Ditto.
2867
aea5b279
MS
28682011-02-21 Michael Snyder <msnyder@vmware.com>
2869
2870 * gdb.threads/thread-find.exp: Update patterns for changes in
2871 output of "info threads" command.
2872
e3039479
UW
28732011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2874 Ulrich Weigand <uweigand@de.ibm.com>
2875
2876 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2877 (skip_hw_watchpoint_tests): Likewise.
2878 (skip_hw_watchpoint_multi_tests): Likewise.
2879
b800ec70
UW
28802011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2881
2882 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2883 (skip_hw_watchpoint_tests): Likewise.
2884 (skip_hw_watchpoint_multi_tests): Likewise.
2885 (skip_hw_watchpoint_access_tests): Likewise.
2886
2887 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2888 * gdb.base/pr11022.exp: Likewise.
2889 * gdb.base/watch-read.exp: Likewise.
2890 * gdb.base/watch_thread_num.exp: Likewise.
2891 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2892 * gdb.base/watchpoint-hw.exp: Likewise.
2893 * gdb.base/watchpoint.exp: Likewise.
2894 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2895 * gdb.threads/watchthreads-reorder.exp: Likewise.
2896 * gdb.threads/watchthreads.exp: Likewise.
2897 * gdb.threads/watchthreads2.exp: Likewise.
2898
91033e37
JB
28992011-02-21 Joel Brobecker <brobecker@adacore.com>
2900
2901 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2902 the debugger is unable to find the array bounds.
2903
eeaafae2
JK
29042011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2905
2906 * gdb.cp/typedef-operator.exp: New file.
2907 * gdb.cp/typedef-operator.cc: New file.
2908
e338d953
MS
29092011-02-17 Michael Snyder <msnyder@vmware.com>
2910
2911 * gdb.threads/thread-find.exp: Fix regular expressions.
2912
e67ad678
JB
29132011-02-17 Joel Brobecker <brobecker@adacore.com>
2914
2915 * gdb.ada/packed_array: Expand testcase to test printing of
2916 unconstrained packed array.
2917
93084bca
JB
29182011-02-17 Joel Brobecker <brobecker@adacore.com>
2919
2920 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2921
a0c78a73
PA
29222011-02-16 Pedro Alves <pedro@codesourcery.com>
2923
f65d5553 2924 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
2925 (main): Initialize it before collecting, and and clear it
2926 afterwards.
f65d5553
PA
2927 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2928 collecting with '{type} addr', where the addr expression is not an
2929 rvalue.
a0c78a73 2930
3dfcbbd2
KW
29312011-02-16 Ken Werner <ken.werner@de.ibm.com>
2932
2933 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2934 a bool variable. Expect correct OpenCL names for vector types. Use the
2935 uc3 variable name instead of referring to the uchar3 built-in type.
2936 Escape the asterisk at the half pointer test.
2937
08807d5a
PA
29382011-02-16 Pedro Alves <pedro@codesourcery.com>
2939
f65d5553 2940 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
2941 (main): Initialize it before collecting, and and clear it
2942 afterwards.
f65d5553
PA
2943 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2944 collecting overlapping memory ranges.
08807d5a 2945
60f98dde
MS
29462011-02-15 Michael Snyder <msnyder@vmware.com>
2947
2948 * gdb.base/default.exp: Add tests for thread commands.
2949 * gdb.base/help.exp: Add tests for thread commands.
2950 * gdb.threads/thread-find.exp: New test for thread find command.
2951
648cd113
KW
29522011-02-15 Ken Werner <ken.werner@de.ibm.com>
2953
2954 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2955
494e194e
YQ
29562011-02-15 Yao Qi <yao@codesourcery.com>
2957
2958 PR tdep/12352
2959 * gdb.arch/arm-disp-step.S : New test for str instruction.
2960 * gdb.arch/arm-disp-step.exp : Likewise.
2961
d9492458
TJB
29622011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
2963
2964 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
2965 "vector_register2_vr" test strings. Test the extended floating
2966 point registers (F32~F63).
2967 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
2968 IBM XL C compiler. Make the test program use a register provided
2969 by the compiler for the lxvd2x instruction.
2970
8af8e3bc
PA
29712011-02-14 Pedro Alves <pedro@codesourcery.com>
2972
2973 * gdb.trace/unavailable.cc (class Base, class Middle, class
2974 Derived): New types.
2975 (derived_unavail, derived_partial, derived_whole): New globals.
2976 (virtual_partial): New global.
2977 (virtualp): Point at virtual_partial.
2978 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
2979 related to unavailable vptr.
2980
1b28d0b3
PA
29812011-02-14 Pedro Alves <pedro@codesourcery.com>
2982
2983 * gdb.trace/unavailable.cc (a, b, c): New globals.
2984 (main): Set and clear them.
2985 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
2986 `a' and `c', and check that `b' isn't collected, although `a' and
2987 `c' are.
2988
ec0a52e1
PA
29892011-02-14 Pedro Alves <pedro@codesourcery.com>
2990
2991 * gdb.trace/unavailable.cc (struct Virtual): New.
2992 (virtualp): New global pointer.
2993 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
2994 printing a pointer to an object whose type has a vtable, with
2995 print object on.
2996
24e6bcee
PA
29972011-02-14 Pedro Alves <pedro@codesourcery.com>
2998
2999 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3000 value repeat handles unavailableness.
3001
39d37385
PA
30022011-02-14 Pedro Alves <pedro@codesourcery.com>
3003
3004 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3005 tests for building arrays from unavailable values, subscripting
3006 non-memory rvalue unvailable arrays, and accessing fields or
3007 baseclasses of non-lazy unavailable values,
3008 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3009 struct types.
3010 (g_smallstruct, g_smallstruct_b): New globals.
3011
06d72e16
PA
30122011-02-14 Pedro Alves <pedro@codesourcery.com>
3013
3014 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3015
bc9a5551
JK
30162011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3017
3018 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3019 * gdb.cp/overload-const.exp: New file.
3020 * gdb.cp/overload-const.cc: New file.
3021
54fcddd0
UW
30222011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3023
3024 * gdb.opencl/callfuncs.cl: New file.
3025 * gdb.opencl/callfuncs.exp: New test.
3026 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3027
d6dafb7c
UW
30282011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3029
3030 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3031 when computing result.
3032 * gdb.arch/altivec-abi.exp: Update expected results.
3033
a449c2d8
TJB
30342011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3035
3036 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3037 * gdb.base/jit.exp: Likewise.
3038 * gdb.base/pie-execl.exp: Likewise.
3039 * gdb.base/solib-nodir.exp: Likewise.
3040 * gdb.base/solib-overlap.exp: Likewise.
3041
764880b7
PA
30422011-02-07 Pedro Alves <pedro@codesourcery.com>
3043
3044 * gdb.trace/collection.c (global_pieces): New.
3045 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3046 New procedure.
3047 (gdb_trace_collection_test): Call it.
3048
505500db
SW
30492011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3050
3051 * gdb.python/py-evthreads.c: New file.
3052 * gdb.python/py-evthreads.exp: New file.
3053 * gdb.python/py-events.py: New file.
3054 * gdb.python/py-events.exp: New file.
3055 * gdb.python/py-events.c: New file.
3056
385203ed
DD
30572011-02-04 David Daney <ddaney@caviumnetworks.com>
3058
3059 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3060
9011945e
AB
30612011-02-03 Andrew Burgess <aburgess@broadcom.com>
3062
3063 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3064 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3065 boundary between two compilation units.
3066
580688f3
PA
30672011-02-02 Pedro Alves <pedro@codesourcery.com>
3068
3069 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3070 (Virtual): New structs.
3071 (virtual_o, virtual_middle_b): New globals.
3072 * gdb.cp/virtbase.exp: New tests.
3073
d3f0f853
PP
30742011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3075
3076 * gdb.base/jit.exp: New file.
3077 * gdb.base/jit-main.c: New file.
3078 * gdb.base/jit-solib.c: New file.
3079
b2030fb5
UW
30802011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3081
3082 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3083 proceed to initial kernel entry point.
3084 * gdb.opencl/datatypes.exp: Likewise.
3085 * gdb.opencl/operators.exp: Likewise.
3086 * gdb.opencl/vec_comps.exp: Likewise.
3087
2db19d1e
SW
30882011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3089
3090 * gdb.cp/nsnested.cc: New.
3091 * gdb.cp/nsnested.exp: New.
3092 * gdb.cp/nsnoimports.exp: New.
3093 * gdb.cp/nsnoimports.cc: New.
3094
6b0c4c1f
JB
30952011-01-31 Joel Brobecker <brobecker@adacore.com>
3096
3097 * gdb.base/interact.exp: Add extra tests that verify that
3098 the value of the interactive-mode setting does not change
3099 after the script is sourced.
3100
80b23b6a
JK
31012011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3102
3103 * gdb.cp/noparam.exp: New file.
3104 * gdb.cp/noparam.cc: New file.
3105
ffd5ec24
PA
31062011-01-28 Pedro Alves <pedro@codesourcery.com>
3107
3108 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3109 there's no stack or registers.
3110
a81766d8
TT
31112011-01-26 Tom Tromey <tromey@redhat.com>
3112
3113 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3114 space before string output. Add test for "set print pretty off"
3115 case.
3116
585fdaa1
PA
31172011-01-25 Pedro Alves <pedro@codesourcery.com>
3118
3119 * gdb.base/frame-args.exp: Adjust.
3120 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3121 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3122 * gdb.dwarf2/pieces.exp: Adjust.
3123 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3124 * gdb.opt/inline-locals.exp: Adjust.
3125 * gdb.threads/fork-child-threads.exp: Adjust.
3126
d468832a
KW
31272011-01-25 Ken Werner <ken.werner@de.ibm.com>
3128
3129 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3130 OpenCL kernel function. Add a comment as marker. Add address space
3131 qualifiers for the remaining program scope variables.
3132 * gdb.opencl/datatypes.cl: Likewise.
3133 * gdb.opencl/operators.cl: Likewise.
3134 * gdb.opencl/vec_comps.cl: Likewise.
3135 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3136 Add breakpoint at the marker comment.
3137 * gdb.opencl/datatypes.exp: Likewise.
3138 * gdb.opencl/operators.exp: Likewise.
3139 * gdb.opencl/vec_comps.exp: Likewise.
3140
490f124f
PA
31412011-01-24 Pedro Alves <pedro@codesourcery.com>
3142
3143 * gdb.base/printcmds.c (some_struct): New struct and instance.
3144 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3145 procedure.
3146 <global scope>: Call it.
3147
6da78614
KW
31482011-01-21 Ken Werner <ken.werner@de.ibm.com>
3149
3150 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3151 argument to the gdb_compile_opencl_hostapp call.
3152
ec64c9aa
YQ
31532011-01-19 Yao Qi <yao@codesourcery.com>
3154
3155 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3156 positve list.
3157
810cfdbb
YQ
31582011-01-19 Yao Qi <yao@codesourcery.com>
3159
3160 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3161 canonical form.
3162 Remove "xscale-*-*"
3163 * gdb.xml/tdesc-regs.exp: Likewise.
3164 * gdb.python/py-section-script.exp: Replace ARM target triplet
3165 with canonical form.
3166 Match arm*-*-symbianelf*.
3167 * gdb.base/dup-sect.exp: Likewise.
3168 * lib/dwarf.exp: New.
3169 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3170 dwarf2_support.
3171 * gdb.dwarf2/dup-psym.exp: Likewise.
3172 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3173 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3174 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3175 * gdb.dwarf2/dw2-basic.exp: Likewise.
3176 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3177 * gdb.dwarf2/dw2-const.exp: Likewise.
3178 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3179 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3180 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3181 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3182 * gdb.dwarf2/dw2-filename.exp: Likewise.
3183 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3184 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3185 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3186 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3187 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3188 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3189 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3190 * gdb.dwarf2/dw2-producer.exp: Likewise.
3191 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3192 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3193 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3194 * gdb.dwarf2/dw2-strp.exp: Likewise.
3195 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3196 * gdb.dwarf2/implptr.exp: Likewise.
3197 * gdb.dwarf2/mac-fileno.exp: Likewise.
3198 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3199 * gdb.dwarf2/pieces.exp: Likewise.
3200 * gdb.dwarf2/pr11465.exp: Likewise.
3201 * gdb.dwarf2/valop.exp: Likewise.
3202 * gdb.dwarf2/watch-notconst.exp: Likewise.
3203 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3204
4694da01
TT
32052011-01-19 Tom Tromey <tromey@redhat.com>
3206
3207 * gdb.python/py-infthread.exp: Add thread tests.
3208
b075872c
JB
32092011-01-14 Joel Brobecker <brobecker@adacore.com>
3210
3211 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3212
2c3e6e24
JB
32132011-01-14 Joel Brobecker <brobecker@adacore.com>
3214
3215 * gdb.ada/widewide: New testcase.
3216
de8fa76c
JB
32172011-01-13 Joel Brobecker <brobecker@adacore.com>
3218
3219 * gdb.base/interact.exp: New testcase.
3220
1b05df00
TT
32212011-01-12 Tom Tromey <tromey@redhat.com>
3222
3223 * gdb.mi/gdb2549.exp: Update for error message changes.
3224 * gdb.mi/mi-cli.exp: Likewise.
3225 * gdb.mi/mi-disassemble.exp: Likewise.
3226 * gdb.mi/mi-pthreads.exp: Likewise.
3227 * gdb.mi/mi-regs.exp: Likewise.
3228 * gdb.mi/mi-stack.exp: Likewise.
3229 * gdb.mi/mi-var-block.exp: Likewise.
3230 * gdb.mi/mi-var-cmd.exp: Likewise.
3231 * gdb.mi/mi2-cli.exp: Likewise.
3232 * gdb.mi/mi2-disassemble.exp: Likewise.
3233 * gdb.mi/mi2-pthreads.exp: Likewise.
3234 * gdb.mi/mi2-regs.exp: Likewise.
3235 * gdb.mi/mi2-stack.exp: Likewise.
3236 * gdb.mi/mi2-var-block.exp: Likewise.
3237 * gdb.mi/mi2-var-cmd.exp: Likewise.
3238
c2ff108b
JK
32392011-01-12 Andrew Burgess <aburgess@broadcom.com>
3240 Jan Kratochvil <jan.kratochvil@redhat.com>
3241
3242 PR fortran/11104 and DWARF unbound arrays detection.
3243 * gdb.fortran/multi-dim.exp: New file.
3244 * gdb.fortran/multi-dim.f90: New file.
3245
b716877b
AB
32462011-01-12 Andrew Burgess <aburgess@broadcom.com>
3247
3248 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3249 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3250 add new tests for opcode dumping.
3251
6c162d5e
TT
32522011-01-11 Tom Tromey <tromey@redhat.com>
3253
3254 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3255
77b06cd7
TJB
32562010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3257
3258 Convert hardware watchpoints to use breakpoint_ops.
3259 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3260 type is not supported.
3261 * gdb.base/foll-fork.exp: Likewise.
3262 * gdb.base/foll-vfork.exp: Likewise.
3263
f39a75d0
PM
32642011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3265
3266 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3267 Use load_lib gdb-python.exp.
3268 * gdb.python/python.exp: Ditto.
3269 * gdb.python/py-function.exp: Ditto.
3270
fc529d80
AS
32712011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3272
3273 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3274
fb03cb59
JK
32752011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3276
3277 * configure: Regenerate.
3278
d8e22779
TT
32792011-01-06 Tom Tromey <tromey@redhat.com>
3280
3281 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3282
09050809
JB
32832011-01-06 Joel Brobecker <brobecker@adacore.com>
3284
fc529d80
AS
3285 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3286 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3287 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3288 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3289 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3290 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3291 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3292 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3293 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3294 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3295 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3296 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3297 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3298 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3299 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3300 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3301 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3302 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3303 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3304 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3305 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3306 gdb.ada/uninitialized_vars.exp,
3307 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3308 Simplify by using clean_restart.
09050809 3309
8ed5dd9e
JB
33102011-01-06 Joel Brobecker <brobecker@adacore.com>
3311
3312 Add marker to be used as anchor for inserting breakpoints.
3313 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3314 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3315 Likewise.
3316
3317 Remove uses of gdb_start_cmd.
3318 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3319 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3320
3321 Do not run testcase if testing with GDBserver.
3322 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3323 if testing with GDBserver.
3324
368a124f
JB
33252011-01-06 Joel Brobecker <brobecker@adacore.com>
3326
3327 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3328 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3329 copyright header.
3330
44944448
JB
33312011-01-05 Joel Brobecker <brobecker@adacore.com>
3332
3333 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3334 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3335 testsuite/gdb.fortran/complex.f,
3336 testsuite/gdb.fortran/derived-type.f90,
3337 testsuite/gdb.fortran/library-module-lib.f90,
3338 testsuite/gdb.fortran/library-module-main.f90,
3339 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3340 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3341 Copyright year update.
3342
31886ea6
JB
33432011-01-05 Joel Brobecker <brobecker@adacore.com>
3344
3345 * gdb.base/langs1.f: Add copyright header.
3346
ebedcab5
JK
33472011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3348
3349 * gdb.base/morestack.exp: New file.
3350 * gdb.base/morestack.c: New file.
3351
de1eb2f9
JK
33522011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3353
3354 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3355
9e87a409
JB
33562010-12-29 Joel Brobecker <brobecker@adacore.com>
3357
3358 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3359 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3360
720d1a40
JB
33612010-12-29 Joel Brobecker <brobecker@adacore.com>
3362
3363 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3364
a283af87
AS
33652010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3366
5d3d9cba
AS
3367 * gdb.threads/tls.exp: Fix typo.
3368
a283af87
AS
3369 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3370 * gdb.threads/execl.exp: Update.
3371
2a20745c
YQ
33722010-12-23 Yao Qi <yao@codesourcery.com>
3373
3374 * gdb.arch/arm-disp-step.exp: New.
3375 * gdb.arch/arm-disp-step.S: New.
3376
a7658b96
TT
33772010-12-21 Tom Tromey <tromey@redhat.com>
3378
3379 * gdb.threads/execl.exp: Update.
3380 * gdb.threads/linux-dp.exp: Update.
3381 * gdb.threads/manythreads.exp: Update.
3382 * gdb.threads/tls.exp: Update.
3383
5b79abe7
TT
33842010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3385
3386 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3387 (NextOverThrowDerivates) <resumebpt>: New.
3388 (resumebpt_test): New.
3389 (main): Call resumebpt_test.
3390 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3391
0914bcdb
SS
33922010-12-12 Stan Shebs <stan@codesourcery.com>
3393
3394 * gdb.trace/tsv.exp: Test print command on trace state variables.
3395
305aeedc
TT
33962010-12-09 Tom Tromey <tromey@redhat.com>
3397
3398 * gdb.base/interp.exp: Add regression test.
3399
186c406b
TT
34002010-12-09 Tom Tromey <tromey@redhat.com>
3401
3402 * gdb.java/jnpe.java: New file.
3403 * gdb.java/jnpe.exp: New file.
3404 * gdb.cp/nextoverthrow.exp: New file.
3405 * gdb.cp/nextoverthrow.cc: New file.
3406
aae1c79a
DE
34072010-12-07 Doug Evans <dje@google.com>
3408
3409 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3410 of data-directory.
3411 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3412 updated.
3413 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3414
60f98dde 34152010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
3416
3417 * gdb.base/callfuncs.exp: Test for skip_float_tests.
3418 * gdb.base/call-sc.exp: Ditto.
3419 * gdb.base/finish.exp: Ditto.
3420 * gdb.base/return.exp: Ditto.
3421 * gdb.base/return2.exp: Ditto.
3422
5fa290c1
DE
34232010-11-30 Doug Evans <dje@google.com>
3424
3425 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3426 (gdb_expect_list): Fix spelling errors in comments.
3427 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3428 send_gdb/gdb_expect_list where applicable.
3429 * gdb.base/call-ar-st.exp: Ditto.
3430 * gdb.base/funcargs.exp: Ditto.
3431 * gdb.base/gcore.exp: Ditto.
3432 * gdb.base/page.exp: Ditto.
3433 * gdb.base/sigaltstack.exp: Ditto.
3434 * gdb.base/siginfo.exp: Ditto.
3435 * gdb.base/sigstep.exp: Ditto.
3436 * gdb.base/trace-commands.exp: Ditto.
3437
4e04c971
DE
34382010-11-29 Doug Evans <dje@google.com>
3439
3440 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3441 printer-name;subprinter-name.
3442
8cf6f0b1
TT
34432010-11-29 Tom Tromey <tromey@redhat.com>
3444
3445 * gdb.dwarf2/implptr.exp: New file.
3446 * gdb.dwarf2/implptr.c: New file.
3447 * gdb.dwarf2/implptr.S: New file.
3448
94b6973e
PM
34492010-11-29 Phil Muldoon <pmuldoon@redhat.com>
3450
fc529d80 3451 PR python/12199
94b6973e
PM
3452
3453 * gdb.python/py-breakpoint.exp: Test the delete method.
3454
8358c15c
JK
34552010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3456
3457 Fix step_resume_breakpoint unsaved during an infcall.
3458 * gdb.base/step-resume-infcall.exp: New file.
3459 * gdb.base/step-resume-infcall.c: New file.
3460
f6df29bc
TJB
34612010-11-24 Edjunior Machado <emachado@br.ibm.com>
3462
3463 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3464
f2b5a5cf
TJB
34652010-11-24 Edjunior Machado <emachado@br.ibm.com>
3466
3467 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3468 on ppc64's symbols; "finish" and "return" commands must accept to
3469 show the caller line again as well as the line after.
3470 * gdb.asm/powerpc64.inc: New file.
3471
6b0ecdc2
DE
34722010-11-23 Doug Evans <dje@google.com>
3473
3474 * lib/gdb.exp (gdb_test_sequence): New function.
3475 (gdb_expect_list): Add verbose -log call for each pattern.
3476 * gdb.base/signals.exp (test_handle_all_print): Call it.
3477 Reduce timeout increment from 6 minutes to 1 minute.
3478 * gdb.server/ext-run.exp: Call it.
3479
ea976c60
PM
34802010-11-23 Phil Muldoon <pmuldoon@redhat.com>
3481
f2b5a5cf 3482 PR python/12212
ea976c60
PM
3483
3484 * gdb.python/python.exp: Check that selected_thread raises an
3485 error when no inferior is loaded.
3486
c0efa795
JK
34872010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3488
3489 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3490 * gdb.dwarf2/dw2-stack-boundary.S: New file.
3491
ec3aa567
JK
34922010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3493
3494 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3495 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3496
d8249011
DE
34972010-11-18 Doug Evans <dje@google.com>
3498
3499 * gdb.server/ext-run.exp: Fix intermittent failures.
3500
d4eba7d1
NF
35012010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3502
3503 * gdb.stabs/gdb11479.exp: Use runto_main.
3504
b04c2f88
NF
35052010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3506
3507 * gdb.base/break-entry.exp: Skip if using a stub.
3508
ae9d7ce4
NF
35092010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3510
3511 * gdb.python/py-inferior.exp: Pack values in target endianness.
3512
621c8364
TT
35132010-11-12 Tom Tromey <tromey@redhat.com>
3514
3515 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3516 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3517 MemoryError.
3518 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3519 type.
3520 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3521 MemoryError.
3522 (test_subscript_regression): Update exception type.
3523
84f4c1fe
PM
35242010-11-11 Phil Muldoon <pmuldoon@redhat.com>
3525
3526 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3527 breakpoint tests.
3528
a1442452
PA
35292010-11-09 Pedro Alves <pedro@codesourcery.com>
3530
3531 * gdb.base/watchpoint.exp: Test "watch -location" with an
3532 innacessible location.
3533
efd11a33
JK
35342010-11-09 Edjunior Machado <emachado@br.ibm.com>
3535 Luis Machado <luisgpm@br.ibm.com>
3536
3537 * gdb.base/maint.exp: Expect "." prefix.
3538 * gdb.base/nodebug.exp: Expect "." Likewise.
3539 * gdb.base/sepsymtab.exp: Expect "." Likewise.
3540 * gdb.base/watchpoint-cond-gone.exp: Likewise.
3541 * gdb.base/watchpoint.exp: Expect a software watch to be created for
3542 POWER server processors.
3543
aa00efb5
JK
35442010-11-08 Edjunior Machado <emachado@br.ibm.com>
3545 Luis Machado <luisgpm@br.ibm.com>
3546
3547 * gdb.base/break-entry.exp: convert entry point for
3548 ppc64 and expect leading `.' on ppc64's symbols
3549
99e7ae30
DE
35502010-11-05 Doug Evans <dje@google.com>
3551
3552 * gdb.base/help.exp: Update expected output.
b521dba8
DE
3553 * gdb.python/py-param.exp: Delete, contents moved to ...
3554 * gdb.python/py-parameter.exp: ... here. New file.
3555 Add test for gdb.parameter ("directories").
99e7ae30 3556
f4b8a18d
KW
35572010-11-05 Ken Werner <ken.werner@de.ibm.com>
3558
3559 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3560 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3561 * configure: Regenerate.
3562 * gdb.opencl/Makefile.in: New File.
3563 * gdb.opencl/datatypes.exp: Likewise.
3564 * gdb.opencl/datatypes.cl: Likewise.
3565 * gdb.opencl/operators.exp: Likewise.
3566 * gdb.opencl/operators.cl: Likewise.
3567 * gdb.opencl/vec_comps.exp: Likewise.
3568 * gdb.opencl/vec_comps.cl: Likewise.
3569 * gdb.opencl/convs_casts.exp: Likewise.
3570 * gdb.opencl/convs_casts.cl: Likewise.
3571 * lib/opencl.exp: Likewise.
3572 * lib/opencl_hostapp.c: Likewise.
3573 * lib/opencl_kernel.cl: Likewise.
3574 * lib/cl_util.c: Likewise.
3575 * lib/cl_util.c: Likewise.
3576 * gdb.base/default.exp (set language): Add "opencl" to the list of
3577 languages.
3578
a9d5ef47
SW
35792010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
3580
3581 * gdb.cp/overload.exp: Added test for inheritance overload.
3582 * gdb.cp/overload.cc: Ditto.
3583 * gdb.cp/oranking.exp: Removed releveant kfails.
3584
03eb1c79
JK
35852010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3586 Joel Brobecker <brobecker@adacore.com>
3587
3588 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3589 check test_compiler_info.
3590
dbc98a8b
KW
35912010-11-03 Ken Werner <ken.werner@de.ibm.com>
3592
3593 * gdb.base/gnu_vector.exp: Adjust expect messages.
3594
120bd360
KW
35952010-11-03 Ken Werner <ken.werner@de.ibm.com>
3596
3597 * gdb.base/gnu_vector.exp: Add unary operator tests.
3598
c37f7098
KW
35992010-11-03 Ken Werner <ken.werner@de.ibm.com>
3600
3601 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3602
7b51bc51
DE
36032010-11-02 Doug Evans <dje@google.com>
3604
3605 * gdb.python/py-pp-maint.c: New file.
3606 * gdb.python/py-pp-maint.exp: New file.
3607 * gdb.python/py-pp-maint.py: New file.
3608
50c97f38
TT
36092010-11-02 Tom Tromey <tromey@redhat.com>
3610
3611 * gdb.base/default.exp: Remove "scheme" from language list.
3612
a289b8f6
JK
36132010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3614
3615 Revert:
3616 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3617 * gdb.threads/sigstep-threads.exp: New file.
3618 * gdb.threads/sigstep-threads.c: New file.
3619
cd017491
MS
36202010-10-20 Michael Snyder <msnyder@vmware.com>
3621
3622 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3623
8e6a5956
UW
36242010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3625
3626 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3627 Skip test completely if gdb,no_hardware_watchpoints.
3628
2c04da0d
UW
36292010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3630
3631 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3632 strict, but do not check for any particular function name within libc.
3633
79afc5ef
SW
36342010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3635
3636 * gdb.cp/smartp.exp: New test.
3637 * gdb.cp/smartp.cc : New test.
3638
026ffab7
SW
36392010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3640
3641 * gdb.cp/converts.exp: Test pointer to bool conversion.
3642 Test pointer to long conversion.
3643 * gdb.cp/oranking.exp: Removed relevant kfail.
3644
3a772aa4
TT
36452010-10-18 Tom Tromey <tromey@redhat.com>
3646
3647 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3648 argument to lazy_string.
3649 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3650 (pp_ls.to_string): Use it.
3651 * gdb.python/py-prettyprint.c (main): Move declarations to top.
3652 Add "estring2" local.
3653
5fc3827b
JK
36542010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3655
3656 Fix s390x compatibility.
3657 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
3658 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3659
8aeb23f3
JK
36602010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3661
3662 * gdb.threads/sigstep-threads.exp: New file.
3663 * gdb.threads/sigstep-threads.c: New file.
3664
c1e56572
JK
36652010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3666
3667 * gdb.base/pie-execl.exp: New file.
3668 * gdb.base/pie-execl.c: New file.
3669
92163a10
JK
36702010-10-13 Doug Evans <dje@google.com>
3671 Jan Kratochvil <jan.kratochvil@redhat.com>
3672
3673 PR exp/12117
3674 * gdb.cp/ptype-cv-cp.cc: New file.
3675 * gdb.cp/ptype-cv-cp.exp: New file.
3676
7062b0a0
SW
36772010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
3678
3679 * gdb.cp/converts.cc: New test program.
3680 * gdb.cp/converts.exp: New test.
3681 * gdb.cp/overload.exp: Added test for void* vs int*.
3682 * gdb.cp/overload.exp: Ditto.
3683 * gdb.cp/oranking.exp: Removed related kfail.
3684
0e3509db
DE
36852010-10-13 Doug Evans <dje@google.com>
3686
3687 * lib/gdb-python.exp (gdb_check_python_config): New function.
3688 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3689 * gdb.python/lib-types.cc: New file.
3690 * gdb.python/lib-types.exp: New file.
3691
8dc78533
JK
36922010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3693
3694 * gdb.python/py-error.exp: New file.
3695 * gdb.python/py-error.py: New file.
3696
93c17e06
JK
36972010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3698
3699 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3700 gdb_test_multiple.
3701
d8b34041
JK
37022010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3703
3704 * gdb.base/break-interp.exp: Use ldlags for linking flags.
3705 * gdb.base/prelink.exp: Likewise.
3706 * gdb.base/solib-nodir.exp: Likewise.
3707 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3708 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3709 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3710
e0cc584e
UW
37112010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
3712
3713 * break-interp.exp (test_ld): Use two separate gdb_expect statements
3714 for the "info files" test to avoid timeouts on slow machines.
3715
cfc353b1
JK
37162010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3717
3718 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3719 (main): Make openlib dummy call.
3720
d3d7896d
JK
37212010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3722
3723 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3724 * break-interp.exp (reach): Move the core body ...
3725 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
3726 (test_ld): Provide always real argument, even to the linker. Replace
3727 dl_main by _dl_debug_state.
3728
5e533c94
JK
37292010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3730
3731 Fix results of prelinked PIEs on ppc*.
3732 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3733 Accept also DISPLACEMENT "PRESENT".
3734 (main): Replace "ZERO" displacements by "PRESENT".
3735
33540610
SW
37362010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
3737
3738 * gdb.cp/oranking.exp: New test.
3739 * gdb.cp/oranking.cc: New test program.
3740
3bdf2bbd
KW
37412010-10-08 Ken Werner <ken.werner@de.ibm.com>
3742
3743 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3744 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3745
2f608a3a
KW
37462010-10-06 Ken Werner <ken.werner@de.ibm.com>
3747
3748 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3749 lush, lynx) New constant.
3750 * gdb.base/constvars.exp: Test const array types.
3751 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3752
aa2e2d8d
DE
37532010-10-06 Doug Evans <dje@google.com>
3754
3755 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3756 of syscall staging area.
3757
2844d6b5
KW
37582010-10-06 Ken Werner <ken.werner@de.ibm.com>
3759
3760 * gdb.base/gnu_vector.c: Add variable c4.
3761 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3762 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3763
7d8ac8bb
MR
37642010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
3765
3766 * gdb.arch/altivec-abi.exp: Fix a typo.
3767
84a02e58
MR
37682010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
3769
3770 * lib/mi-support.exp (thread_selected_re): Correct pattern used
3771 to match a thread ID.
3772
b18e6318
JK
37732010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3774
3775 Fix s390x testcase compatibility.
3776 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3777
a2c09bd0
DE
37782010-10-01 Doug Evans <dje@google.com>
3779
3780 * lib/gdb-python.exp: New file.
3781 * gdb.python/py-block.exp: Use it.
3782 * gdb.python/py-breakpoint.exp: Ditto.
3783 * gdb.python/py-frame.exp: Ditto.
3784 * gdb.python/py-inferior.exp: Ditto.
3785 * gdb.python/py-param.exp: Ditto.
3786 * gdb.python/py-prettyprint.exp: Ditto.
3787 * gdb.python/py-shared.exp: Ditto.
3788 * gdb.python/py-symbol.exp: Ditto.
3789 * gdb.python/py-symtab.exp: Ditto.
3790 * gdb.python/py-type.exp: Ditto.
3791 * gdb.python/py-value.exp: Ditto.
3792 * gdb.python/python.exp: Ditto.
3793
38f12cfc
TT
37942010-09-30 Tom Tromey <tromey@redhat.com>
3795
3796 * gdb.base/anon.exp: New file.
3797 * gdb.base/anon.c: New file.
3798
9ae8282d
TT
37992010-09-30 Tom Tromey <tromey@redhat.com>
3800
3801 * gdb.base/completion.exp: Test completion through anonymous
3802 union.
3803 * gdb.base/break1.c (struct some_struct): Add anonymous union.
3804
e9e07ba6
JK
38052010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3806
3807 Fix printing parameters of inlined functions.
3808 * gdb.dwarf2/dw2-inline-param.exp: New file.
3809 * gdb.dwarf2/dw2-inline-param-main.c: New file.
3810 * gdb.dwarf2/dw2-inline-param.S: New file.
3811
cd2effb2
JK
38122010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3813
3814 PR corefiles/12071.
3815 * gdb.base/corefile.exp (quit with a process, no question: load core)
3816 (quit with a core file): New tests.
3817
bceffbf3
JK
38182010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 Fix GDB crash on inferior calls with self-referencing classes.
3821 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3822 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3823 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3824
1736ad11
JK
38252010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3826
3827 Fix lost siginfo_t for inferior calls.
3828 * gdb.base/siginfo-infcall.exp: New file.
3829 * gdb.base/siginfo-infcall.c: New file.
3830
a176ad92
JB
38312010-09-22 Joel Brobecker <brobecker@adacore.com>
3832
3833 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3834
c2b0a229
JK
38352010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3836
3837 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3838 New test.
3839 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3840
e8ae22d1
JB
38412010-09-22 Joel Brobecker <brobecker@adacore.com>
3842
3843 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3844 type of our const type.
3845
ec322823
SW
38462010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
3847
3848 * gdb.cp/pr12028.cc: New.
3849 * gdb.cp/pr12028.exp: New.
3850
72929c62
JB
38512010-09-22 Joel Brobecker <brobecker@adacore.com>
3852
3853 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3854
875b4ff5 38552010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 3856 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
3857
3858 PR mi/11407
3859 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3860 * gdb.mi/dw2-ref-missing-frame-main.c New File.
3861 * gdb.mi/dw2-ref-missing-frame.S New File.
3862 * gdb.mi/dw2-ref-missing-frame.exp New File.
3863
7155d578
TT
38642010-09-14 Tom Tromey <tromey@redhat.com>
3865
3866 PR symtab/8399:
3867 * gdb.threads/tls.exp: Remove kfail. Update expected output.
3868
515ed532
TT
38692010-09-14 Tom Tromey <tromey@redhat.com>
3870
3871 PR exp/11803:
3872 * gdb.threads/tls.exp: Use C++.
3873 (check_thread_local): Use K::another_thread_local.
3874 * gdb.threads/tls.c (class K): New.
3875 (another_thread_local): Now a member of K.
3876 (spin): Update. No longer K&R C.
3877
450ca57c
SW
38782010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
3879
3880 * gdb.cp/koenig.cc: created class for testing member lookup.
3881 * gdb.cp/koenig.exp: Added test for member lookup.
3882
dbd492a3
JK
38832010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3884
3885 Fix false FAILs on sourcetree topdir directory containing "kill".
3886 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3887 source line matching regexp.
3888
8d4d924b
JK
38892010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3890
3891 * gdb.python/python.exp (set height 0, collect help from uiout)
3892 (verify help to uiout): New tests.
3893
8e64f2a0
JK
38942010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3895
3896 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3897 is_lp64_target to check 64bit target.
3898
4569eed2
JK
38992010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3900
3901 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3902 (test_ld) <powerpc64-*>: New.
3903
5e1617b1
DJ
39042010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3905
3906 * gdb.cp/templates.exp (test_template_args): Allow "struct".
3907
c767944b
DJ
39082010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3909
3910 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3911 (FunctionArg::method): New function.
3912 (empty, arg): New variables.
3913 (main): Call arg.method.
3914 * gdb.cp/templates.exp (test_template_args): New function.
3915 (do_tests): Call it.
3916
27d3a3fc
UW
39172010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3918
3919 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3920 of "next" to proceed over pthread_exit call.
3921
55b7ce7f
UW
39222010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3923
3924 * gdb.base/maint.exp: Avoid wildcards against potentially very long
3925 "maint print statistics" output to prevent expect timeouts.
3926
809df446
JK
39272010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3928
3929 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3930 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3931 (test_float_rejected): ... here.
3932 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3933 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3934 (test_float_rejected): ... here.
3935 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
3936 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3937 (test_float_rejected): ... here.
3938 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
3939 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3940 (test_float_rejected): ... here.
3941
8464be76
DJ
39422010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
3943
3944 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
3945 before disabling hardware watchpoints.
3946 (test_inaccessible_watchpoint): Check that hardware watchpoints
3947 are used. Test for watchpoints on a constant address.
3948
14dba4b4
JK
39492010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3950
3951 * gdb.base/ui-redirect.exp: New file.
3952
3f3540e1 39532010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 3954 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
3955
3956 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
3957
0f254bb7
DE
39582010-08-31 Doug Evans <dje@google.com>
3959
3960 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
3961
03f17ccf
TT
39622010-08-30 Tom Tromey <tromey@redhat.com>
3963
3964 PR python/11792:
3965 * gdb.python/py-value.exp (test_subscript_regression): Add
3966 dynamic_type test.
3967
640617ad
DJ
39682010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
3969
3970 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
3971 instead of running to main. Do not test the main function.
3972 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
3973 Add new main.
3974
2ed91d1b
PA
39752010-08-26 Pedro Alves <pedro@codesourcery.com>
3976
3977 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
3978 one test.
3979
673bfd45
DE
39802010-08-24 Doug Evans <dje@google.com>
3981
3982 PR symtab/11942
3983 * gdb.dwarf2/dw4-sig-types.cc: New file.
3984 * gdb.dwarf2/dw4-sig-types.h: New file.
3985 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
3986 * gdb.dwarf2/dw4-sig-types.exp: New file.
3987
f9ffd4bb
TT
39882010-08-23 Tom Tromey <tromey@redhat.com>
3989
3990 PR python/11145:
3991 * gdb.python/py-value.c (Base, Derived): New types.
3992 (base): New global.
3993 * gdb.python/py-value.exp (test_subscript_regression): Add
3994 dynamic_cast test.
3995
d839c8a4
TT
39962010-08-23 Tom Tromey <tromey@redhat.com>
3997
3998 PR python/10676:
3999 * gdb.python/py-type.exp (test_fields): Add tests for type
4000 equality.
4001
702c2711
TT
40022010-08-23 Tom Tromey <tromey@redhat.com>
4003
4004 PR python/11915:
4005 * gdb.python/py-type.exp (test_fields): Add tests for array.
4006
832bafd3
KS
40072010-08-23 Keith Seitz <keiths@redhat.com>
4008
4009 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4010 have any children. Create a new abbrev for it.
4011 Add missing terminal sequence to .debug_abbrev.
4012
c37bf528
KS
40132010-08-20 Keith Seitz <keiths@redhat.com>
4014
4015 PR symtab/11465:
4016 * gdb.dwarf2/pr11465.exp: New test.
4017 * gdb.dwarf2/pr11465.S: New file.
4018 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4019 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4020
4572cbac
TJB
40212010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4022
4023 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4024 registers. Update data sets with the new v2_double element in the
4025 VSX register union. Add vector_register3_vr data set for the AltiVec
4026 registers. Use gdb_test_no_output instead of send_gdb.
4027
e7fbb131
PA
40282010-08-19 Pedro Alves <pedro@codesourcery.com>
4029
4030 * gdb.python/py-shared.exp: New file, factored out from
4031 python.exp.
4032 * gdb.python/py-shared.c: New file.
4033 * gdb.python/py-shared-sl.c: New file.
4034 * gdb.python/python-1.c: New file.
4035 * gdb.python/python-sl.c: Delete.
4036 * gdb.python/python.c: Mention python-1.c.
4037 * gdb.python/python.exp: Move shared library tests to
4038 py-shared.exp.
4039 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4040 (MISCELLANEOUS): New.
4041 (clean mostlyclean): Also remove $MISCELLANEOUS.
4042
d30f5e1f
DE
40432010-08-19 Doug Evans <dje@google.com>
4044
4045 PR exp/11926
4046 * gdb.base/printcmds.exp (test_float_accepted): New function.
4047 Move existing float tests there. Add tests for floats with suffixes.
4048 (test_float_rejected): New function.
4049 * gdb.java/jv-print.exp (test_float_accepted): New function.
4050 (test_float_rejected): New function.
4051 * gdb.objc/print.exp: New file.
4052 * gdb.pascal/print.exp: New file.
4053 * lib/objc.exp: New file.
4054
7b3fd859
PM
40552010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4056
4057 * gdb.base/default.exp (info set): Avoid full buffer error and force
4058 reading up to final gdb prompt.
4059 (show): Likewise.
4060
c92817ce
TT
40612010-08-18 Tom Tromey <tromey@redhat.com>
4062
4063 PR symtab/11919:
4064 * gdb.base/completion.exp: Add test.
4065
f1208f9e
DE
40662010-08-18 Doug Evans <dje@google.com>
4067
4068 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4069 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4070 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4071 Simplify, early exit if runto_main fails.
4072 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4073 (set_lang_fortran): Moved to lib/fortran.exp.
4074 * gdb.fortran/types.exp: load_lib fortran.exp.
4075 (set_lang_fortran): Moved to lib/fortran.exp.
4076 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4077 * gdb.java/jprint.exp (set_lang_java): Ditto.
4078 * gdb.java/jv-exp.exp: load_lib java.exp.
4079 If set_lang_java fails, issue a warning instead of failure to be
4080 consistent with other set_lang_foo uses.
4081 (set_lang_java): Moved to lib/java.exp.
4082 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4083 If set_lang_java fails, issue a warning instead of failure to be
4084 consistent with other set_lang_foo uses.
4085 * gdb.pascal/types.exp: load_lib pascal.exp.
4086 (set_lang_pascal): Moved to lib/pascal.exp.
4087 * lib/fortran.exp: New file.
4088 * lib/java.exp (set_lang_java): New function.
4089 * lib/pascal.exp (set_lang_pascal): New function.
4090
2f06b485
YQ
40912010-08-18 Yao Qi <yao@codesourcery.com
4092
4093 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4094 func_nofb_start and func_loopfb_start, so that address of functions
4095 is equal to these labels on Thumb.
4096
96e25403
YQ
40972010-08-18 Yao Qi <yao@codesourcery.com>
4098
4099 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4100 to reflect latest c source file.
4101
36e6adc4
JK
41022010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4103
4104 * gdb.cp/infcall-dlopen.exp: New file.
4105 * gdb.cp/infcall-dlopen.cc: New file.
4106 * gdb.cp/infcall-dlopen-lib.cc: New file.
4107
f431efe5
PA
41082010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4109 Pedro Alves <pedro@codesourcery.com>
4110
4111 PR breakpoints/11371
4112
4113 * gdb.base/watch-cond-infcall.exp: New file.
4114 * gdb.base/watch-cond-infcall.c: New file.
4115
06a64a0b
TT
41162010-08-16 Tom Tromey <tromey@redhat.com>
4117
4118 * gdb.base/help.exp: Update.
4119 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4120 watchpoint.
4121 (test_watch_location): New proc.
4122 (test_watchpoint_in_big_blob): Delete watchpoint.
4123 * gdb.base/watchpoint.c (func5): New function.
4124 (main): Call it.
4125
70ebf4ed
DE
41262010-08-16 Doug Evans <dje@google.com>
4127
4128 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4129
ca5c20b6
PM
41302010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4131
4132 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4133 tests.
4134
7346b668
KW
41352010-08-11 Ken Werner <ken.werner@de.ibm.com>
4136
4137 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4138 * gdb.base/gnu_vector.c: New File.
4139 * gdb.base/gnu_vector.exp: Likewise.
4140
cb2e07a6
PM
41412010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4142
4143 * gdb.python/python.c: New File.
4144 * gdb.python/python-sl.c: New File.
4145 * gdb.python/python.exp: Test solib_address and decode_line
4146 * functions.
4147
5da1313b
JK
41482010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4149
4150 * gdb.python/python.exp (show height, set height 10)
4151 (verify pagination beforehand, verify pagination beforehand: q)
4152 (gdb.execute does not page, verify pagination afterwards)
4153 (verify pagination afterwards: q): New.
4154
49c3ccf7
DE
41552010-08-02 Doug Evans <dje@google.com>
4156
4157 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4158 because of an older gcc, change test2
4159 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4160 to unsupported.
4161
42c0c4f1
KH
41622010-07-30 Kazu Hirata <kazu@codesourcery.com>
4163
4164 * gdb.base/break-always.exp: Do not expect full paths to file
4165 names.
4166 * gdb.base/commands.exp: Likewise.
4167
d3765805
DE
41682010-07-30 Doug Evans <dje@google.com>
4169
c98ee71b
DE
4170 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4171 xfail them when run with older gccs.
4172
fd961404
DE
4173 * lib/gdb.exp (build_executable): Forward "c++" option to
4174 get_compiler_info.
4175
999adef4
DE
4176 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4177 "python print ttype.template_argument(1)" and
4178 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4179 if using gcc 4.4 or earlier.
4180
d3765805
DE
4181 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4182 attach-to-debugger handling.
4183
1276c759
JK
41842010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4185
4186 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4187 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4188 (main): Use copyreloc.
4189 * gdb.base/prelink.exp (split debug of executable)
4190 (.dynbss vs. .bss address shift): New tests.
4191
88caa9b9
PA
41922010-07-29 Pedro Alves <pedro@codesourcery.com>
4193
4194 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4195 in gdb_test_multiple.
4196
c6f2ac43
PA
41972010-07-29 Pedro Alves <pedro@codesourcery.com>
4198
4199 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4200 environment.
4201
326fd672
TT
42022010-07-28 Tom Tromey <tromey@redhat.com>
4203
4204 PR python/11060:
4205 * gdb.python/py-type.c (Temargs): New template.
4206 (temvar): New variable.
4207 * gdb.python/py-type.exp (test_template): New proc.
4208
3ce3b1ba
PA
42092010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4210
4211 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4212 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4213
34eaf542
TT
42142010-07-28 Tom Tromey <tromey@redhat.com>
4215
4216 PR c++/9946:
4217 * gdb.cp/temargs.exp: New file.
4218 * gdb.cp/temargs.cc: New file.
4219
d41b819e
JK
42202010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4221
4222 * gdb.base/help.exp (help disassemble): Update the content.
4223
26ab7092
JK
42242010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4225
4226 * gdb.threads/ia64-sigill.exp: New file.
4227 * gdb.threads/ia64-sigill.c: New file.
4228
5283e9e1
TT
42292010-07-27 Tom Tromey <tromey@redhat.com>
4230
4231 * gdb.opt/inline-cmds.c (ATTR): New define.
4232 (func1): Use it.
4233 (func2): Likewise.
4234 (func3): Likewise.
4235 (outer_inline1): Likewise.
4236 (outer_inline2): Likewise.
4237 * gdb.opt/inline-bt.c (ATTR): New define.
4238 (func1): Use it.
4239 (func2): Likewise.
4240 * gdb.opt/inline-locals.c (ATTR): New define.
4241 (func1): Use it.
4242 (func2): Likewise.
4243
e992ef73
TT
42442010-07-27 Tom Tromey <tromey@redhat.com>
4245
4246 * gdb.stabs/gdb11479.c (hack): New function.
4247 (test): Use it.
4248 (test2): Use it.
4249 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4250 (int32_search_buf, int64_search_buf): No longer static.
4251 (x): Remove.
4252 * gdb.base/relocate.c (hack): New function.
4253
5374244e
PM
42542010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4255
4256 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4257 * gdb.python/py-value.c (func1): New function.
4258 (func2): Likewise.
4259
a99aee83
CV
42602010-07-26 Corinna Vinschen <vinschen@redhat.com>
4261
4262 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4263 as not to clash with .data section.
4264
a04ba985
JG
42652010-07-26 Jerome Guitton <guitton@adacore.com>
4266
4267 * gdb.base/code_elim.exp: New file.
4268 * gdb.base/code_elim1.c: New file.
4269 * gdb.base/code_elim2.c: New file.
4270
23bd0f7c
PA
42712010-07-21 Pedro Alves <pedro@codesourcery.com>
4272
4273 PR symtab/11827
4274
4275 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4276 (some_volatile_enum): New variable.
4277 * gdb.base/printcmds.exp (test_print_enums): New.
4278 <top level>: Call it.
4279
883df6dd
SW
42802010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4281
4282 * gdb.cp/fpointer.cc: New test.
4283 * gdb.cp/fpointer.exp: New test.
4284
569b05a5
JK
42852010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4286
4287 * gdb.base/solib-nodir.exp: New file.
4288 * lib/gdb.exp (runto): New case for a GDB internal error.
4289
51d7d803
JK
42902010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4291 Ulrich Weigand <uweigand@de.ibm.com>
4292 Tom Tromey <tromey@redhat.com>
4293
4294 * gdb.base/charset-malloc.c: New file.
4295 * gdb.base/charset.c (malloc_stub): New prototype.
4296 (main): Call it instead of malloc itself.
4297 * gdb.base/charset.exp: Use only prepare_for_testing.
4298 (binfile): Remove the variable.
4299
c0edd9ed
JK
43002010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4301
4302 Make core files the process_stratum.
4303 * gdb.base/corefile.exp (run: load core again)
4304 (run: sanity check we see the core file, run: with core)
4305 (run: core file is cleared, attach: load core again)
4306 (attach: sanity check we see the core file, attach: with core)
4307 (attach: core file is cleared): New tests.
4308 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4309
3cbaedff
KW
43102010-07-14 Ken Werner <ken.werner@de.ibm.com>
4311
4312 * gdb.arch/altivec-abi.exp: New tests.
4313
91158a56
TT
43142010-07-13 Tom Tromey <tromey@redhat.com>
4315
4316 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4317 (main): Use it.
4318 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4319
0f5238ed
TT
43202010-07-13 Tom Tromey <tromey@redhat.com>
4321
4322 * gdb.base/label.exp: New file.
4323 * gdb.base/label.c: New file.
4324
add265ae
L
43252010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4326 H.J. Lu <hongjiu.lu@intel.com>
4327
4328 * lib/gdb.exp (is_ilp32_target): New.
4329 (is_lp64_target): Likewise.
4330
4331 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4332 target.
4333 * gdb.arch/amd64-disp-step.exp: Likewise.
4334 * gdb.arch/amd64-dword.exp: Likewise.
4335 * gdb.arch/amd64-i386-address.exp: Likewise.
4336 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 4337
add265ae
L
4338 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4339 target.
4340 * gdb.arch/i386-bp_permanent.exp: Likewise.
4341 * gdb.arch/i386-byte.exp: Likewise.
4342 * gdb.arch/i386-disp-step.exp: Likewise.
4343 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4344 * gdb.arch/i386-prologue.exp: Likewise.
4345 * gdb.arch/i386-size-overlap.exp: Likewise.
4346 * gdb.arch/i386-size.exp: Likewise.
4347 * gdb.arch/i386-sse.exp: Likewise.
4348 * gdb.arch/i386-unwind.exp: Likewise.
4349 * gdb.arch/i386-word.exp: Likewise.
4350
4351 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4352 test only when building 64-bit executables. Do not hard-code
4353 -m64 option.
4354
2dfb8c17
DE
43552010-07-07 Doug Evans <dje@google.com>
4356
4357 * lib/gdb.exp (gdb_test_list_exact): New function.
4358 * gdb.base/default.exp (show convenience): Call it, add tests for
4359 $_sdata = void, $_thread = 0.
4360
4e5799b6
JK
43612010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4362 Joel Brobecker <brobecker@adacore.com>
4363
4364 Fix re-run of PIE executable, PR shlibs/11776.
4365 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4366 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4367 and re-"run" of the inferior.
4368
1a219cc7
JK
43692010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4370 Joel Brobecker <brobecker@adacore.com>
4371
4372 Cope with missing /usr/sbin/prelink.
4373 * lib/prelink-support.exp (prelink_no):
4374 <result == 1 && $output is "no such file or directory">: New.
4375 (prelink_yes): Likewise. Return on failed prelink_no.
4376
5e3b36f8
JK
43772010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4378 Joel Brobecker <brobecker@adacore.com>
4379
4380 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4381 build_executable by build_executable_own_libs. Replace "prelink -R"
4382 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4383 change.
4384 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4385 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4386 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4387 Replace build_executable by build_executable_own_libs's function
4388 build_executable_own_libs.
4389 (prelinkNO): Create new stub to call prelink_no.
4390 (prelinkYES): Create new stub to call prelink_yes.
4391 (test_attach): Rename calls of copy to file_copy.
4392 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4393 (copy): Move to ...
4394 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4395 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4396 * gdb.base/prelink.exp: Disable testcase also for is_remote and
4397 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
4398 special flags by gdb_compile_shlib. Replace second gdb_compile by
4399 build_executable_own_libs. Replace "prelink -R" execution by a call of
4400 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
4401 a second call of prelink_yes. Replace restart commands by
4402 clean_restart.
4403 (prelink): Rename to ...
4404 (seen displacement message): ... this test. Extend its expectation
4405 strictness.
4406
86e4bafc
JK
44072010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4408
4409 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4410 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4411 displacement message exactly once.
4412
3cd07d20
JK
44132010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4414 Joel Brobecker <brobecker@adacore.com>
4415
4416 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
4417 its restore after the <$relink_args != ""> loop. new comment.
4418
0a1e94c7
JK
44192010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4420 Joel Brobecker <brobecker@adacore.com>
4421
4422 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4423 code for it. New variable relink_args.
4424 (prelinkYES): Call prelinkNO.
4425 (test_attach): Accept new parameter relink_args. Re-prelink the binary
4426 in such case. Move the core code to ...
4427 (test_attach_gdb): ... a new function. Send GDB command "file".
4428 Extend expected "Attaching to " string.
4429
2f70bcfb
TT
44302010-07-02 Tom Tromey <tromey@redhat.com>
4431
4432 * gdb.base/bitops.exp: Remove extraneous "pass".
4433
a17ac5b0
TT
44342010-07-02 Ken Werner <ken.werner@de.ibm.com>
4435
4436 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4437
dc10affe
PA
44382010-07-01 Pedro Alves <pedro@codesourcery.com>
4439
d41c0fc8
PA
4440 * gdb.base/help.exp: Adjust expected output.
4441
44422010-07-01 Pedro Alves <pedro@codesourcery.com>
4443
4444 * gdb.base/help.exp: Adjust expected output.
dc10affe 4445
0a600c36
JK
44462010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4447
4448 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4449 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4450 c++/11702.
4451
37cc8bfe
JK
44522010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4453 Doug Evans <dje@google.com>
4454
4455 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4456 add .dynamic entry'.
4457
254e6b9e
DE
44582010-06-29 Doug Evans <dje@google.com>
4459
4460 Test PR c++/11702.
4461 * gdb.cp/m-static.exp: Add testcase.
4462 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4463
595939de 44642010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
4465 Tom Tromey <tromey@redhat.com>
4466 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
4467
4468 * gdb.python/py-inferior.c: New File.
4469 * gdb.python/py-infthread.c: New File.
4470 * gdb.python/py-inferior.exp: New File.
4471 * gdb.python/py-infthread.exp: New File.
4472
98751a41
JK
44732010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4474
4475 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4476 (ptype ::C::OtherFileClass typedefs): New.
4477 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4478 (C::OtherFileClass::cOtherFileClassVar2): New.
4479 (C::OtherFileClass::cOtherFileClassVar_use): Use also
4480 cOtherFileClassVar2.
4481 (C::cOtherFileType2, C::cOtherFileVar2): New.
4482 (C::cOtherFileVar_use): use also cOtherFileVar2.
4483 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4484
41f62f39
JK
44852010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4486
4487 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4488 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4489 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4490 (print ::C::cOtherFileVar)
4491 (whatis C::OtherFileClass::cOtherFileClassType)
4492 (whatis ::C::OtherFileClass::cOtherFileClassType)
4493 (print C::OtherFileClass::cOtherFileClassVar)
4494 (print ::cOtherFileClassVar)
4495 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4496 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4497 trailing content.
4498 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4499 (C::OtherFileClass::cOtherFileClassVar)
4500 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4501 (C::cOtherFileVar, C::cOtherFileVar_use): New.
4502
af53d231
JK
45032010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4504
4505 Test PR c++/11703 and PR gdb/1448.
4506 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4507 gdb/1448.
4508
9655fd1a
JK
45092010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4510
4511 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4512 (main) <rtti_data>: New.
4513 * gdb.cp/virtbase.exp (print rtti_data): New.
4514
824cc8dd
JK
45152010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4516 Joel Brobecker <brobecker@adacore.com>
4517
4518 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4519
6036c742
JK
45202010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4521
4522 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4523
de6a0421
DE
45242010-06-28 Doug Evans <dje@google.com>
4525
4526 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4527
b2dae948
DE
45282010-06-27 Doug Evans <dje@google.com>
4529
4530 * gdb.cp/m-static.exp: Update expected test output.
4531
0f3bb72e
PH
45322010-06-25 Paul Hilfinger <hilfinger@adacore.com>
4533
889bf7c5
PA
4534 * gdb.gdb/selftest.exp: Adjust expected message for
4535 capturing start-up runtime.
0f3bb72e 4536
bc9f0842
TT
45372010-06-25 Tom Tromey <tromey@redhat.com>
4538
4539 PR python/10808:
4540 * gdb.python/python.exp: Add new tests.
4541
099ef718
SW
45422010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
4543
4544 * gdb.cp/operator.cc: Created an import loop.
4545 * gdb.cp/operator.exp: Added testcase for import loop.
4546
5868a632
JK
45472010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4548
4549 Test PR python/11407.
4550 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4551 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4552 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4553 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4554 executable_nofb and executable_fb. New variables srcsfile, objsfile,
4555 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4556 binfile. Call gdb_compile with clean_restart twice.
4557 (func_nofb print, func_nofb backtrace, func_loopfb print)
4558 (func_loopfb backtrace): New.
4559
af76db58
JK
45602010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4561
4562 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4563 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4564 by a hand made one.
4565 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
4566 i?86 requirement. Remove variables srcfile and binfile. New variable
4567 sources, executable_nofb and executable_fb. Call prepare_for_testing.
4568
f2c7657e
UW
45692010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4570
4571 * gdb.cell/dwarfaddr.exp: New file.
4572 * gdb.cell/dwarfaddr.S: New file.
4573
628fe4e4
JK
45742010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4575
4576 Test PR 9436.
4577 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4578
f1421989
HZ
45792010-06-24 Hui Zhu <teawater@gmail.com>
4580
4581 * gdb.base/eval.exp: New file.
4582
d03285ec
UW
45832010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4584
4585 * gdb.cell/fork.exp: New file.
4586 * gdb.cell/fork.c: Likewise.
4587 * gdb.cell/fork-spu.c: Likewise.
4588
41b2c92d
PM
45892010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
4590
4591 * lib/gdb.exp (banned_variables_traced): New global variable.
4592 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4593 (gdb_init): Use `trace add variable' instead of obsolete
4594 `trace variable'.
4595
d5bc977f
DE
45962010-06-21 Doug Evans <dje@google.com>
4597
4598 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4599
d2ed6730
UW
46002010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4601
4602 * gdb.arch/spu-ls.exp: New file.
4603 * gdb.arch/spu-ls.c: Likewise.
4604
6aed2dbc
SS
46052010-06-18 Stan Shebs <stan@codesourcery.com>
4606
4607 * gdb.threads/thread-specific.exp: Add tests of $_thread.
4608
e0756905
UW
46092010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4610
4611 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4612 * gdb.base/watch-cond.exp: Likewise.
4613 * gdb.python/py-breakpoint.exp: Likewise.
4614
d8053d4d
PA
46152010-06-18 Pedro Alves <pedro@codesourcery.com>
4616
4617 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4618 clean_restart, make sure every test has a distinct message, and
4619 that messages don't include the executable' full path.
4620
81ce510c
DE
46212010-06-17 Doug Evans <dje@google.com>
4622
4623 * gdb.arch/i386-size.exp: Updated expected output for
4624 DISASSEMBLY_OMIT_FNAME.
4625
65d79d4b
SDJ
46262010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4627 Sergio Durigan Junior <sergiodj@redhat.com>
4628
4629 * gdb.base/watch-notconst.c: New file.
4630 * gdb.base/watch-notconst.S: New file.
4631 * gdb.base/watch-notconst2.c: New file.
4632 * gdb.base/watch-notconst2.S: New file.
4633 * gdb.base/watch-notconst.exp: New file.
4634 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4635 (func4): Add operations on `global_ptr_ptr'.
4636 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4637 routine to test watchpoints created with a constant expression.
4638 (test_inaccessible_watchpoint): Include tests for watchpoints
4639 created with a constant expression.
4640
df0f4836
KB
46412010-06-14 Kevin Buettner <kevinb@redhat.com>
4642
4643 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4644 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4645 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4646 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4647 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4648 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4649 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4650 of `_start'.
4651
b769def5
UW
46522010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4653
4654 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4655 not supported on the target.
4656 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4657 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4658 * gdb.mi/mi-nsintrall.exp: Likewise.
4659 * gdb.mi/mi-nsmoribund.exp: Likewise.
4660 * gdb.mi/mi-nsthrexec.exp: Likewise.
4661
d914c394
SS
46622010-06-11 Stan Shebs <stan@codesourcery.com>
4663
4664 * gdb.base/permissions.exp: New file.
4665
46662010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
4667
4668 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4669 does not support ELF executable class.
4670
f3ce5b9c
UW
46712010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4672
4673 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4674
8e46892c
JK
46752010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4678 (runto): Catch "The target does not support running in non-stop mode.".
4679
6cc55c64
MS
46802010-06-11 Michael Snyder <msnyder@vmware.com>
4681
4682 * gdb.base/setshow.exp (set language asm): Don't use
4683 gdb_test_no_output, fails on some targets.
4684
caddefa4
UW
46852010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4686
4687 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4688 * gdb.cp/pr9167.exp: Likewise.
4689
468b1aa7
UW
46902010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4691
4692 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4693
5c3552dc
UW
46942010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4695
4696 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4697
02e6fe6a
UW
46982010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4699
4700 * gdb.base/charset.c (main): Make sure malloc gets linked in.
4701
0e03807e
TT
47022010-06-11 Tom Tromey <tromey@redhat.com>
4703
4704 PR gdb/9977, PR exp/11636::
4705 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4706 (pieces_test_f6): Update expected output.
4707
2bdf28a0
JK
47082010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4709
4710 * gdb.base/moribund-step.exp: New.
4711
f6978de9
MS
47122010-06-08 Michael Snyder <msnyder@vmware.com>
4713
4714 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 4715 * gdb.ada/boolean_expr.exp:
f6978de9
MS
4716 * gdb.ada/frame_args.exp: Ditto.
4717 * gdb.ada/lang_switch.exp: Ditto.
4718 * gdb.ada/ptype_arith_binop.exp: Ditto.
4719 * gdb.ada/ref_param.exp: Ditto.
4720 * gdb.ada/type_coercion.exp:Ditto.
4721
4722 * gdb.asm/asm-source.exp: Ditto.
4723
4724 * gdb.base/attach.exp: Ditto.
4725 * gdb.base/bitfields2.exp: Ditto.
4726 * gdb.base/call-signal-resume.exp: Ditto.
4727 * gdb.base/callfuncs.exp: Ditto.
4728 * gdb.base/commands.exp: Ditto.
4729 * gdb.base/dbx.exp: Ditto.
4730 * gdb.base/default.exp: Ditto.
4731 * gdb.base/dump.exp: Ditto.
4732 * gdb.base/exprs.exp: Ditto.
4733 * gdb.base/freebpcmd.exp: Ditto.
4734 * gdb.base/interrupt.exp: Ditto.
4735 * gdb.base/list.exp: Ditto.
4736 * gdb.base/long_long.exp: Ditto.
4737 * gdb.base/maint.exp: Ditto.
4738 * gdb.base/ptype.exp: Ditto.
4739 * gdb.base/return.exp: Ditto.
4740 * gdb.base/setshow.exp: Ditto.
4741 * gdb.base/sigbpt.exp: Ditto.
4742 * gdb.base/sigrepeat.exp: Ditto.
4743
4744 * gdb.cp/classes.exp: Ditto.
4745
4746 * gdb.dwarf2/dw2-restore.exp: Ditto.
4747
4748 * gdb.gdb/selftest.exp: Ditto.
4749
4750 * gdb.multi/base.exp: Ditto.
4751 * gdb.multi/bkpt-multi-exec.exp: Ditto.
4752
4753 * gdb.python/py-block.exp: Ditto.
4754 * gdb.python/py-prettyprint.exp: Ditto.
4755 * gdb.python/py-template.exp: Ditto.
4756
4757 * gdb.server/ext-attach.exp: Ditto.
4758 * gdb.server/ext-run.exp: Ditto.
4759 * gdb.server/server-mon.exp: Ditto.
4760
4761 * gdb.threads/fork-thread-pending.exp: Ditto.
4762 * gdb.threads/hand-call-in-threads.exp: Ditto.
4763 * gdb.threads/interrupted-hand-call.exp: Ditto.
4764 * gdb.threads/linux-dp.exp: Ditto.
4765 * gdb.threads/manythreads.exp: Ditto.
4766 * gdb.threads/print-threads.exp: Ditto.
4767 * gdb.threads/pthreads.exp: Ditto.
4768 * gdb.threads/schedlock.exp: Ditto.
4769 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4770 * gdb.threads/threadapply.exp: Ditto.
4771
de7ff789
MS
47722010-06-08 Michael Snyder <msnyder@vmware.com>
4773
889bf7c5 4774 * gdb.ada/exec_changed.exp:
de7ff789
MS
4775 Use ".*" instead of "" as wildcard regexp.
4776
4777 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4778 * gdb.base/call-ar-st.exp: Ditto.
4779 * gdb.base/checkpoint.exp: Ditto.
4780 * gdb.base/default.exp: Ditto.
4781 * gdb.base/dump.exp: Ditto.
4782 * gdb.base/ending-run.exp: Ditto.
4783 * gdb.base/fileio.exp: Ditto.
4784 * gdb.base/miscexprs.exp: Ditto.
4785 * gdb.base/pointers.exp: Ditto.
4786 * gdb.base/readline.exp: Ditto.
4787 * gdb.base/reread.exp: Ditto.
4788 * gdb.base/restore.exp: Ditto.
4789 * gdb.base/shlib-call.exp: Ditto.
4790 * gdb.base/valgrind-db-attach.exp: Ditto.
4791 * gdb.base/volatile.exp: Ditto.
4792 * gdb.base/watchpoints.exp: Ditto.
4793
4794 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4795
4796 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4797 * gdb.python/py-value.exp: Ditto.
4798
4799 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4800 * gdb.trace/circ.exp: Ditto.
4801 * gdb.trace/collection.exp: Ditto.
4802 * gdb.trace/packetlen.exp: Ditto.
4803 * gdb.trace/passc-dyn.exp: Ditto.
4804 * gdb.trace/report.exp: Ditto.
4805 * gdb.trace/tfile.exp: Ditto.
4806 * gdb.trace/tfind.exp: Ditto.
4807 * gdb.trace/while-dyn.exp: Ditto.
4808
3bebe2f2
JK
48092010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4810
4811 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4812
5c631832
JK
48132010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4814
4815 Test PR 10640.
4816 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4817
4c3376c8
SW
48182010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
4819
4820 * gdb.cp/koenig.exp: Test for ADL operators.
4821 * gdb.cp/koenig.cc: Added ADL operators.
4822 * gdb.cp/operator.exp: New test.
4823 * gdb.cp/operator.cc: New test.
4824
dc226d5a
MS
48252010-06-04 Michael Snyder <msnyder@vmware.com>
4826
dfb88a23
MS
4827 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4828 * gdb.base/pending.exp: Ditto.
f7ae76b3 4829
dc226d5a
MS
4830 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4831
967cf477
DE
48322010-06-04 Doug Evans <dje@google.com>
4833
4834 * gdb.python/py-prettyprint.exp: Add new test for enabled and
4835 disabled printers.
4836 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4837 (enable_lookup_function): New function.
4838
eb801841
TT
48392010-06-04 Tom Tromey <tromey@redhat.com>
4840
4841 * gdb.python/py-value.exp (test_value_hash): Don't test equality
4842 of hash and id.
4843
38979823
JK
48442010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4845
4846 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4847 newline.
4848 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4849 (empty verbose non-noisy clear, empty verbose noisy clear)
4850 (empty non-verbose noisy clear): Likewise.
4851
35ec993f
MS
48522010-06-03 Michael Snyder <msnyder@vmware.com>
4853
4854 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4855 * gdb.base/display.exp: Ditto.
4856 * gdb.base/find.exp: Ditto.
4857 * gdb.base/ifelse.exp: Ditto.
4858 * gdb.base/multi-forks.exp: Ditto.
4859 * gdb.base/recurse.exp: Ditto.
4860 * gdb.base/setshow.exp: Ditto.
4861 * gdb.base/value-double-free.exp: Ditto.
4862 * gdb.base/watch-vfork.exp: Ditto.
4863 * gdb.base/watch_thread_num.exp: Ditto.
4864 * gdb.base/watchpoint-solib.exp: Ditto.
4865 * gdb.base/watchpoint.exp: Ditto.
4866 * gdb.base/watchpoints.exp: Ditto.
4867
4868 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4869 * gdb.cp/overload.exp: Ditto.
4870 * gdb.cp/virtfunc.exp: Ditto.
4871
4872 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4873
889bf7c5 4874 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
4875 Replace gdb_test with gdb_test_no_output.
4876
889bf7c5 4877 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
4878 Replace gdb_test with gdb_test_no_output.
4879 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4880 * gdb.threads/watchthreads.exp: Ditto.
4881 * gdb.threads/watchthreads2.exp: Ditto.
4882
4883 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4884 * gdb.trace/tfind.exp: Ditto.
4885
c22decce
JB
48862010-06-03 Joel Brobecker <brobecker@adacore.com>
4887
4888 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4889 successful test if message is the empty string.
4890
fd5700c7
JK
48912010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4892
4893 * gdb.fortran/module.exp (stopped language detection): New test.
4894
f55ee35c
JK
48952010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4896
4897 Support DW_TAG_module as separate namespaces.
4898 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4899 gdb.fortran/library-module-lib.f90: New.
4900 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4901 (print i): Remove.
4902 (continue to breakpoint: i-is-1, print var_i value 1)
4903 (continue to breakpoint: i-is-2, print var_i value 2)
4904 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4905 (print var_d, print var_i value 14, ptype modmany, complete `modm)
4906 (complete `modmany, complete `modmany`, complete `modmany`var)
4907 (show language, setting breakpoint at module): New tests.
4908 * gdb.fortran/module.f90 (module mod): Remove.
4909 (module mod1, module mod2, module modmany, subroutine sub1)
4910 (subroutine sub2, program module): New.
4911
b8e8282f
JK
49122010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4915 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
4916 * gdb.cp/anon-union.exp (pass): Rename to ...
4917 (print z 2): ... here.
b8e8282f 4918
019ebafc
MS
49192010-06-02 Michael Snyder <msnyder@vmware.com>
4920
e68d8fd4
MS
4921 * gdb.trace/actions.exp: Use gdb_test_no_output.
4922 * gdb.trace/circ.exp: Ditto.
4923 * gdb.trace/packetlen.exp: Ditto.
4924 * gdb.trace/save-trace.exp: Ditto.
4925 * gdb.trace/tracecmd.exp: Ditto.
4926 * gdb.trace/tsv.exp: Ditto.
4927
12b5d08a
MS
4928 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4929 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4930 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4931 * gdb.threads/manythreads.exp: Ditto.
4932 * gdb.threads/print-threads.exp: Ditto.
4933 * gdb.threads/pthreads.exp: Ditto.
4934 * gdb.threads/schedlock.exp: Ditto.
4935 * gdb.threads/staticthreads.exp: Ditto.
4936 * gdb.threads/thread-specific.exp: Ditto.
4937 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4938 * gdb.threads/threadapply.exp: Ditto.
4939 * gdb.threads/watchthreads.exp: Ditto.
4940 * gdb.threads/watchthreads2.exp: Ditto.
4941
89493308
MS
4942 * gdb.python/py-block.exp: Use gdb_test_no_output.
4943 * gdb.python/py-prettyprint.exp: Ditto.
4944 * gdb.python/py-template.exp: Ditto.
4945 * gdb.python/py-value.exp: Ditto.
4946
4947 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
4948 * gdb.reverse/watch-reverse.exp: Ditto.
4949
4950 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
4951 * gdb.server/ext-run.exp: Ditto.
4952
019ebafc
MS
4953 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
4954 * gdb.dwarf2/dw2-compressed.exp: Ditto.
4955 * gdb.dwarf2/dw2-intercu.exp: Ditto.
4956 * gdb.dwarf2/dw2-intermix.exp: Ditto.
4957 * gdb.dwarf2/dw2-producer.exp: Ditto.
4958 * gdb.dwarf2/mac-fileno.exp: Ditto.
4959
4960 * gdb.gdb/observer.exp: Use gdb_test_no_output.
4961 * gdb.gdb/selftest.exp: Ditto.
4962
4963 * gdb.multi/base.exp: Use gdb_test_no_output.
4964
4965 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
4966
3e0ca3a5
JK
49672010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4968
4969 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
4970
9db70545
MS
49712010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
4972
a8d52276
MS
4973 * gdb.cp/class2.exp: Use gdb_test_no_output.
4974 * gdb.cp/classes.exp: Ditto.
4975 * gdb.cp/extern-c.exp: Ditto.
4976 * gdb.cp/inherit.exp: Ditto.
4977 * gdb.cp/maint.exp: Ditto.
4978 * gdb.cp/mb-inline.exp: Ditto.
4979 * gdb.cp/mb-templates.exp: Ditto.
4980 * gdb.cp/method2.exp: Ditto.
4981 * gdb.cp/misc.exp: Ditto.
4982 * gdb.cp/ovldbreak.exp: Ditto.
4983 * gdb.cp/punctuator.exp: Ditto.
4984 * gdb.cp/templates.exp: Ditto.
4985 * gdb.cp/virtbase.exp: Ditto.
4986
889bf7c5 4987 * gdb.threads/attach-stopped.exp:
9db70545 4988 Replace uses of send_gdb / gdb_expect.
889bf7c5 4989 * gdb.threads/attachstop-mt.exp:
9db70545 4990 Replace uses of send_gdb / gdb_expect.
889bf7c5 4991 * gdb.threads/gcore-thread.exp:
9db70545 4992 Replace uses of send_gdb / gdb_expect.
889bf7c5 4993 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
4994 Replace uses of send_gdb / gdb_expect.
4995 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 4996 * gdb.threads/print-threads.exp:
9db70545
MS
4997 Replace uses of send_gdb / gdb_expect.
4998 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
4999 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5000 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5001
5002 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5003 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5004 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5005 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5006 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5007 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5008 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5009 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5010 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5011 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5012 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5013
359cc68c
JK
50142010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5015
5016 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5017
7d3fe98e
SW
50182010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5019
5020 * gdb.cp/koenig.exp: Added new test case.
5021 * gdb.cp/koenig.cc: Ditto.
5022
27d3a1a2
MS
50232010-06-01 Michael Snyder <msnyder@vmware.com>
5024
5025 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5026 * gdb.base/arrayidx.exp: Ditto.
5027 * gdb.base/attach.exp: Ditto.
5028 * gdb.base/auxv.exp: Ditto.
5029 * gdb.base/bigcre.exp: Ditto.
5030 * gdb.base/break-always.exp: Ditto.
5031 * gdb.base/break-interp.exp: Ditto.
5032 * gdb.base/break.exp: Ditto.
5033 * gdb.base/breakpoint-shadow.exp: Ditto.
5034 * gdb.base/call-ar-st.exp: Ditto.
5035 * gdb.base/call-sc.exp: Ditto.
5036 * gdb.base/call-signal-resume.exp: Ditto.
5037 * gdb.base/callfuncs.exp: Ditto.
5038 * gdb.base/catch-syscall.exp: Ditto.
5039 * gdb.base/charset.exp: Ditto.
5040 * gdb.base/code-expr.exp: Ditto.
5041 * gdb.base/commands.exp: Ditto.
5042 * gdb.base/cond-expr.exp: Ditto.
5043 * gdb.base/condbreak.exp: Ditto.
5044 * gdb.base/cursal.exp: Ditto.
5045 * gdb.base/cvexpr.exp: Ditto.
5046 * gdb.base/default.exp: Ditto.
5047 * gdb.base/del.exp: Ditto.
5048 * gdb.base/detach.exp: Ditto.
5049 * gdb.base/display.exp: Ditto.
5050 * gdb.base/ena-dis-br.exp: Ditto.
5051 * gdb.base/eval-skip.exp: Ditto.
5052 * gdb.base/foll-fork.exp: Ditto.
5053 * gdb.base/foll-vfork.exp: Ditto.
5054 * gdb.base/frame-args.exp: Ditto.
5055 * gdb.base/funcargs.exp: Ditto.
5056 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5057 * gdb.base/gdbvars.exp: Ditto.
5058 * gdb.base/help.exp: Ditto.
5059 * gdb.base/ifelse.exp: Ditto.
5060 * gdb.base/included.exp: Ditto.
5061 * gdb.base/list.exp: Ditto.
5062 * gdb.base/macscp.exp: Ditto.
5063 * gdb.base/maint.exp: Ditto.
5064 * gdb.base/multi-fork.exp: Ditto.
5065 * gdb.base/overlays.exp: Ditto.
5066 * gdb.base/page.exp: Ditto.
5067 * gdb.base/pending.exp: Ditto.
5068 * gdb.base/pointers.exp: Ditto.
5069 * gdb.base/pr11022.exp: Ditto.
5070 * gdb.base/prelink.exp: Ditto.
5071 * gdb.base/printcmds.exp: Ditto.
5072 * gdb.base/psymtab.exp: Ditto.
5073 * gdb.base/randomize.exp: Ditto.
5074 * gdb.base/relational.exp: Ditto.
5075 * gdb.base/relocate.exp: Ditto.
5076 * gdb.base/remote.exp: Ditto.
5077 * gdb.base/sepdebug.exp: Ditto.
5078 * gdb.base/set-lang-auto.exp: Ditto.
5079 * gdb.base/setshow.exp: Ditto.
5080 * gdb.base/setvar.exp: Ditto.
5081 * gdb.base/signals.exp: Ditto.
5082 * gdb.base/signull.exp: Ditto.
5083 * gdb.base/sigstep.exp: Ditto.
5084 * gdb.base/sizeof.exp: Ditto.
5085 * gdb.base/solib-disc.exp: Ditto.
5086 * gdb.base/store.exp: Ditto.
5087 * gdb.base/structs.exp: Ditto.
5088 * gdb.base/structs2.exp: Ditto.
5089 * gdb.base/subst.exp: Ditto.
5090 * gdb.base/term.exp: Ditto.
5091 * gdb.base/trace-commands.exp: Ditto.
5092 * gdb.base/unwindonsignal.exp: Ditto.
5093 * gdb.base/valgrind-db-attach.exp: Ditto.
5094 * gdb.base/varargs.exp: Ditto.
5095 * gdb.base/watch-cond.exp: Ditto.
5096 * gdb.base/watch_thread_num.exp: Ditto.
5097 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5098 * gdb.base/watchpoint.exp: Ditto.
5099 * gdb.base/whatis-exp.exp: Ditto.
5100
f8d3bf8f
MS
51012010-06-01 Michael Snyder <msnyder@vmware.com>
5102
5103 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5104 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5105 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5106 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5107 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5108 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5109 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5110 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5111 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5112 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5113 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5114 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5115 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5116 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5117 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5118
3f9e0d32
JK
51192010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5120
5121 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5122 trailing newline.
5123 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5124 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5125 (p *args): ... here and remove excessive trailing newline.
5126
f629457d
JB
51272010-05-31 Joel Brobecker <brobecker@adacore.com>
5128
5129 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5130
09eef106
JK
51312010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5132
5133 Accept the new Linux kernel "t (tracing stop)" string.
5134 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5135 Update comment.
5136 (state_wait) <T (tracing stop)>: New.
5137 (main): Update the state_wait expect string.
5138
94f31136
PA
51392010-05-28 Pedro Alves <pedro@codesourcery.com>
5140
5141 * limits.c, limits.exp: Delete files.
5142 * Makefile.in (clean mostlyclean): Adjust.
5143 * tracecmd.exp: Adjust.
5144
096554ab
JK
51452010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.base/tui-layout.exp: New.
5148
27d3a1a2 51492010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5150
889bf7c5 5151 * gdb.reverse/break-precsave.exp:
bcd2dc50 5152 Replace uses of send_gdb / gdb_expect.
889bf7c5 5153 * gdb.reverse/break-reverse.exp:
bcd2dc50 5154 Replace uses of send_gdb / gdb_expect.
889bf7c5 5155 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5156 Replace uses of send_gdb / gdb_expect.
889bf7c5 5157 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5158 Replace uses of send_gdb / gdb_expect.
889bf7c5 5159 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5160 Replace uses of send_gdb / gdb_expect.
889bf7c5 5161 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5162 Replace uses of send_gdb / gdb_expect.
889bf7c5 5163 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5164 Replace uses of send_gdb / gdb_expect.
889bf7c5 5165 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5166 Replace uses of send_gdb / gdb_expect.
889bf7c5 5167 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5168 Replace uses of send_gdb / gdb_expect.
889bf7c5 5169 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5170 Replace uses of send_gdb / gdb_expect.
889bf7c5 5171 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5172 Replace uses of send_gdb / gdb_expect.
889bf7c5 5173 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5174 Replace uses of send_gdb / gdb_expect.
889bf7c5 5175 * gdb.reverse/machinestate.exp:
bcd2dc50 5176 Replace uses of send_gdb / gdb_expect.
889bf7c5 5177 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5178 Replace uses of send_gdb / gdb_expect.
889bf7c5 5179 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5180 Replace uses of send_gdb / gdb_expect.
889bf7c5 5181 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5182 Replace uses of send_gdb / gdb_expect.
889bf7c5 5183 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5184 Replace uses of send_gdb / gdb_expect.
889bf7c5 5185 * gdb.reverse/step-precsave.exp:
bcd2dc50 5186 Replace uses of send_gdb / gdb_expect.
889bf7c5 5187 * gdb.reverse/step-reverse.exp:
bcd2dc50 5188 Replace uses of send_gdb / gdb_expect.
889bf7c5 5189 * gdb.reverse/until-precsave.exp:
bcd2dc50 5190 Replace uses of send_gdb / gdb_expect.
889bf7c5 5191 * gdb.reverse/until-reverse.exp:
bcd2dc50 5192 Replace uses of send_gdb / gdb_expect.
889bf7c5 5193 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5194 Replace uses of send_gdb / gdb_expect.
889bf7c5 5195 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5196 Replace uses of send_gdb / gdb_expect.
5197
3def43e0
JK
51982010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5199
5200 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5201 excessive newline.
5202
27d3a1a2 52032010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5204
5205 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5206 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5207 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5208 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5209 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5210 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5211 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5212 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5213 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5214 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5215 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5216 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5217 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5218 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5219 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5220 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5221 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5222 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5223 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 5224
27d3a1a2 52252010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 5226
22454424
MS
5227 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5228 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5229
5230 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5231 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5232 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5233
889bf7c5 5234 * gdb.reverse/consecutive-reverse.exp:
22454424 5235 Replace uses of send_gdb / gdb_expect.
889bf7c5 5236 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
5237 Replace uses of send_gdb / gdb_expect.
5238
5239 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5240 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5241 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5242 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
5243 Replace uses of send_gdb / gdb_expect.
5244 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5245 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5246 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5247 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5248 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5249 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5250 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5251 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5252 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
5253
52542010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 5255
22454424 5256 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5257
22454424 5258 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5259
22454424
MS
5260 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5261 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5262 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5263 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5264 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5265 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5266 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5267 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5268 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5269
6e5f2c59
TT
52702010-05-25 Tom Tromey <tromey@redhat.com>
5271
5272 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5273
bbc8b958
TT
52742010-05-25 Tom Tromey <tromey@redhat.com>
5275
5276 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5277 argument order.
5278 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5279 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5280 order.
5281 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5282 order.
5283 * gdb.base/call-sc.exp (setup_kfails): Remove.
5284 (setup_compiler_kfails): Remove.
5285 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5286 argument order.
5287 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5288 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5289 (advancei): Fix setup_kfail argument order.
5290 * gdb.base/radix.exp: Fix setup_kfail argument order.
5291 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5292 order.
5293 * gdb.base/structs.exp (setup_kfails): Remove.
5294 (setup_compiler_kfails): Fix setup_kfail argument order.
5295 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5296 order.
5297 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5298 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5299 setup_kfail argument order.
5300 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5301
83d1babf
TT
53022010-05-25 Tom Tromey <tromey@redhat.com>
5303
5304 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5305
6acb16a2
MS
53062010-05-25 Michael Snyder <msnyder@vmware.com>
5307
5308 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5309 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5310 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5311 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5312 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5313 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5314 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5315 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5316 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
5317 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5318 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5319 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5320 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5321 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5322 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5323 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5324 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5325 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5326 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5327 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5328 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5329 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5330 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
5331 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5332 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5333 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5334 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5335 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5336 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5337 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5338 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5339 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5340 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5341 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5342 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5343 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5344 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5345 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5346 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5347 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5348 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5349 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5350 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5351 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5352 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5353 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5354 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 5355 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5356
53572010-05-25 Doug Evans <dje@google.com>
5358
5359 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5360 gdb.string_to_argv.
ad3986f0 5361
d3b1e874
TT
53622010-05-21 Tom Tromey <tromey@redhat.com>
5363
5364 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5365 Call it.
5366 * gdb.dwarf2/pieces.S: Update.
5367 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5368
cb826367
TT
53692010-05-21 Tom Tromey <tromey@redhat.com>
5370
5371 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5372 Call it.
5373 * gdb.dwarf2/pieces.c (struct C): New.
5374 (f6): New function.
5375 * gdb.dwarf2/pieces.S: Replace.
5376
74de6778
TT
53772010-05-21 Tom Tromey <tromey@redhat.com>
5378
5379 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5380 Call it.
5381
afd74c5f
TT
53822010-05-21 Tom Tromey <tromey@redhat.com>
5383
5384 * gdb.dwarf2.pieces.exp: New file.
5385 * gdb.dwarf2.pieces.S: New file.
5386 * gdb.dwarf2.pieces.c: New file.
5387
a7b75dfd 53882010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5389 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
5390
5391 * lib/gdb.exp (gdb_test_no_output): New function.
5392 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5393 when testing commands that should produce no output.
5394
c81c812a
JB
53952010-05-17 Joel Brobecker <brobecker@adacore.com>
5396
5397 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5398 parameter that we want to watch being a constant.
5399
0cce5bd9
JB
54002010-05-17 Joel Brobecker <brobecker@adacore.com>
5401
5402 * gdb.ada/cond_lang: New testcase.
5403
47050449
JB
54042010-05-17 Joel Brobecker <brobecker@adacore.com>
5405
5406 * lib/gdb.exp (banned_variables): New variable/constant.
5407 (gdb_init): Add write trace on variables listed in banned_variables.
5408 (gdb_finish): Remove write traces on variables listed in
5409 banned_variables.
5410
77c01586
JB
54112010-05-17 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5414 * gdb.cp/koenig.exp: Likewise.
5415
88d4aea7
PM
54162010-05-14 Phil Muldoon <pmuldoon@redhat.com>
5417
889bf7c5 5418 PR python/11482
88d4aea7
PM
5419
5420 * gdb.python/py-value.exp (test_value_hash): New function.
5421
f5a010c0
PM
54222010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
5423
5424 PR exp/11530.
5425 * gdb.base/gdb11530.c: New file.
5426 * gdb.base/gdb11530.exp: New file.
5427
8ef4892f
JK
54282010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5429
5430 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5431 * gdb.dwarf2/dw2-modula2-self-type.S: New.
5432
7322dca9
SW
54332010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
5434
5435 * gdb.cp/koenig.exp: New test.
5436 * gdb.cp/koenig.cc: New test program.
5437
02e7ea18
JB
54382010-05-05 Joel Brobecker <brobecker@adacore.com>
5439
5440 Remove the use of prms_id and bug_id throughout the testsuite.
5441
e1c34c5d
PM
54422010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
5443
5444 PR exp/11349.
5445 * testsuite/gdb.cp/ref-types.exp: Add test to examine
5446 use a reference local variable.
5447
8e1d0c49
JK
54482010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5449
5450 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5451 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
5452 variable different_dir. Move debugfile into a full directory pathname
5453 under DIFFERENT_DIR.
5454 * lib/gdb.exp (separate_debug_filename): Remove.
5455 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
5456 variable debug_dir and mkdir of it. Update function comments.
5457
e66408ed
PA
54582010-04-29 Pedro Alves <pedro@codesourcery.com>
5459
5460 PR gdb/11557
5461
5462 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5463 files.
5464
d7b32ed3
PM
54652010-04-29 Phil Muldoon <pmuldoon@redhat.com>
5466
889bf7c5 5467 * gdb.python/py-param.exp: New File.
d7b32ed3 5468
6aecb9c2
JB
54692010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
5470
5471 * gdb.base/default.exp: Fix "set language" test.
5472
bdf92a1c
PM
54732010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
5474
5475 PR breakpoints/11531.
5476 * gdb.base/gdb11531.c: New file.
5477 * gdb.base/gdb11531.exp: New file.
5478
3f172e24
TT
54792010-04-26 Tom Tromey <tromey@redhat.com>
5480
5481 * gdb.base/completion.exp: Add tests for completion and deprecated
5482 commands.
5483
64af4c92
JK
54842010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5485
5486 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5487 (print /x char_array): Escape curly brackets.
5488
492928e4
JK
54892010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5490
5491 Fix deadlock on looped list of loaded shared objects.
5492 * gdb.base/solib-corrupted.exp: New.
5493
66d09542
DE
54942010-04-23 Doug Evans <dje@google.com>
5495
5496 * gdb.python/py-section-script.c: New file.
5497 * gdb.python/py-section-script.exp: New file.
5498 * gdb.python/py-section-script.py: New file.
5499
8bd10a10
CM
55002010-04-20 Chris Moller <cmoller@redhat.com>
5501
5502 PR 10179
5503
5504 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5505 * gdb.base/pr10179-a.c:
5506 * gdb.base/pr10179-b.c:
5507 * gdb.base/pr10179.exp: New files.
5508
c0201579
JK
55092010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5510
5511 Fix crashes on dangling display expressions.
5512 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5513 is SEP.
5514 (lib_flags): Remove the "debug" keyword.
5515 (libsepdebug): New variable for iterating new loop.
5516 (save_pf_prefix): New variable wrapping the loop.
5517 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
5518 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5519
793b0ff8
PM
55202010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5521
5522 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5523
097f51f7
PM
55242010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5525
5526 PR stabs/11479.
5527 * gdb.stabs/gdb11479.exp: New file.
5528 * gdb.stabs/gdb11479.c: New file.
5529
9a22f0d0
PM
55302010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5531
5532 * gdb.base/charset.c (Strin16, String32): New variables.
5533 * gdb.base/charset.exp (gdb_test): Test correct display
5534 of 16 or 32 bit strings.
5535
55362010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
5537
5538 PR 9167
5539 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5540 * gdb.cp/pr9167.cc: New file.
5541 * gdb.cp/pr9167.exp: New file.
5542
5543
6e354e5e
PM
55442010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
5545
5546 PR pascal/11492.
5547 * gdb.pascal/gdb11492.pas: New file.
5548 * gdb.pascal/gdb11492.exp: New file.
5549
be942545
JB
55502010-04-20 Joel Brobecker <brobecker@adacore.com>
5551
1667e6e3 5552 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 5553
0c3acc09
JB
55542010-04-20 Joel Brobecker <brobecker@adacore.com>
5555
5556 * gdb.ada/dyn_loc: New testcase.
5557
ec31cde5
CM
55582010-04-20 Chris Moller <cmoller@redhat.com>
5559
5560 PR 10867
889bf7c5 5561
ec31cde5
CM
5562 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
5563 * gdb.cp/pr10687.cc: New file.
5564 * gdb.cp/pr10687.exp: New file.
5565
5566
ce4b0682
SDJ
55672010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5568 Sergio Durigan Junior <sergiodj@redhat.com>
5569
5570 * gdb.fortran/logical.exp: New testcase.
5571 * gdb.fortran/logical.f90: New file.
5572
3436961f
DE
55732010-04-19 Doug Evans <dje@google.com>
5574
5575 * gdb.base/help.exp (help source): Update expected output.
5576
4d836c09
JK
55772010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5578
5579 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5580 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
5581 gdb_exit and return.
5582 (executable): New variable.
5583 (binfile): Use it.
5584
6149aea9
PA
55852010-04-19 Pedro Alves <pedro@codesourcery.com>
5586
5587 PR breakpoints/8554.
5588
5589 * gdb.trace/save-trace.exp: Adjust.
5590
ed41462c
L
55912010-04-17 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 PR corefiles/11511
5594 * gdb.arch/system-gcore.exp: New.
5595 * gdb.arch/gcore.c: Likewise.
5596
3f7b2faa
DE
55972010-04-15 Doug Evans <dje@google.com>
5598
fa33c3cd
DE
5599 * gdb.python/py-progspace.c: New file.
5600 * gdb.python/py-progspace.exp: New file.
5601
3f7b2faa
DE
5602 * gdb.base/source.exp: Add tests for "source -s".
5603
79f283fe
PM
56042010-04-14 Phil Muldoon <pmuldoon@redhat.com>
5605
5606 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5607 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5608 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5609 * gdb.python/py-mi.exp: New test for to_string returning None.
5610
fc8eb08a
PM
56112010-04-12 Phil Muldoon <pmuldoon@redhat.com>
5612
5613 * gdb.python/py-breakpoint.c: Make result global.
5614
26e197f6
JK
56152010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5616
5617 Fix non-GNU make compatibility.
5618 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5619
adc36818
PM
56202010-04-09 Phil Muldoon <pmuldoon@redhat.com>
5621
5622 * gdb.python/py-breakpoint.exp: New File.
5623 * gdb.python/py-breakpoint.C: Ditto.
5624
64e17368
SS
56252010-04-08 Stan Shebs <stan@codesourcery.com>
5626
5627 * gdb.trace/actions.exp: Clear default-collect.
5628 * gdb.trace/save-trace.exp: Clear default-collect.
5629
fff5cc64
PM
56302010-04-08 Phil Muldoon <pmuldoon@redhat.com>
5631
5632 * gdb.python/py-value: Add null string variable.
5633 (test_lazy_string): Test zero length, NULL address lazy
5634 strings.
5635
a055a187
L
56362010-04-07 H.J. Lu <hongjiu.lu@intel.com>
5637
5638 * gdb.arch/i386-avx.c: New.
5639 * gdb.arch/i386-avx.exp: Likewise.
5640
5641 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5642
96e39866
DE
56432010-04-06 Doug Evans <dje@google.com>
5644
5645 * gdb.base/source-test.gdb: New file.
5646 * gdb.base/source.exp: Test source -v.
5647
5984a431
UW
56482010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5649
5650 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5651
ec8a089a
PM
56522010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
5653
5654 * gdb.stabs/aout.sed: Convert all backslash to double backslash
5655 within one line, unless it is followed by a double quote.
5656 * gdb.stabs/hppa.sed: Idem.
5657 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
5658 * gdb.stabs/weird.exp: Check for correct parsing of
5659 char and string constants.
ec8a089a
PM
5660 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5661 in .stabs to .stabx substitution.
5662
fce3c1f0
SS
56632010-04-05 Stan Shebs <stan@codesourcery.com>
5664
5665 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5666 constant global.
5667 * gdb.trace/tfile.exp: Try to print them.
5668
d77f58be
SS
56692010-04-04 Stan Shebs <stan@codesourcery.com>
5670
5671 * gdb.base/completion.exp: Update for new "info watchpoints".
5672 * gdb.base/default.exp: Ditto.
5673 * gdb.base/help.exp: Ditto.
5674 * gdb.base/watchpoint.exp: Ditto.
5675 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 5676
af54718e
SS
56772010-04-04 Stan Shebs <stan@codesourcery.com>
5678
5679 * gdb.trace/tfile.exp: Sharpen tfind test.
5680
74d1f91e
JK
56812010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5682
5683 * gdb.base/break-entry.exp: New.
5684
eb8e76db 56852010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 5686 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
5687
5688 * gdb.reverse/i386-sse-reverse.exp: New file.
5689 * gdb.reverse/i386-sse-reverse.c: New file.
5690
bf65cad8
PA
56912010-04-02 Pedro Alves <pedro@codesourcery.com>
5692
5693 * gdb.trace/tfind.exp: Adjust expected disassembly output.
5694
fff87407
SS
56952010-04-01 Stan Shebs <stan@codesourcery.com>
5696
5697 * gdb.trace/actions.exp: Tweak expected output.
5698 * gdb.trace/while-stepping.exp: Tweak expected output.
5699
fe01d668
L
57002010-04-01 H.J. Lu <hongjiu.lu@intel.com>
5701
5702 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5703
86b17b60
PA
57042010-04-01 Pedro Alves <pedro@codesourcery.com>
5705
5706 * gdb.base/commands.exp: Adjust.
5707 * gdb.cp/extern-c.exp: Adjust.
5708
2c58c0a9
PA
57092010-04-01 Pedro Alves <pedro@codesourcery.com>
5710
5711 * gdb.trace/collection.c (local_test_func): Define a local struct,
5712 and instanciate it.
5713
0db9b91c
PA
57142010-04-01 Pedro Alves <pedro@codesourcery.com>
5715
5716 * gdb.trace/collection.exp (gdb_collect_args_test)
5717 (gdb_collect_argarray_test): XFAIL the tests that assume the
5718 argarray argument's elements are collected.
5719
8072405b
JK
57202010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5721
5722 * gdb.dwarf2/dw2-bad-parameter-type.exp,
5723 gdb.dwarf2/dw2-bad-parameter-type.S: New.
5724
8bf6485c
SS
57252010-03-31 Stan Shebs <stan@codesourcery.com>
5726
5727 * gdb.trace/save-trace.exp: Test save/restore of default-collect
5728 and tracepoint conditionals.
5729 (gdb_verify_tracepoints): Delete unused return.
5730
fd7f724a
KS
57312010-03-26 Keith Seitz <keiths@redhat.com>
5732
5733 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5734 appear in the output before main.
5735 Remove KFAIL for gdb/2215 aka bz 9320.
5736
8d9e7719
DE
57372010-03-30 Doug Evans <dje@google.com>
5738
0906dd0b
DE
5739 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5740 by dejagnu.
5741 * gdb.arch/amd64-dword.exp: Ditto.
5742
8d9e7719
DE
5743 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5744 match.
5745 (break printf): Ditto.
5746
1da644f0
SW
57472010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
5748
5749 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5750 gcc < 4.4.
5751 * gdb.cp/shadow.exp: Ditto.
5752
a8121990
PA
57532010-03-29 Pedro Alves <pedro@codesourcery.com>
5754
5755 * gdb.trace/collection.exp (run_trace_experiment): Make sure
5756 "tstart" is silent.
5757
6e79d367
PA
57582010-03-29 Pedro Alves <pedro@codesourcery.com>
5759
5760 * gdb.trace/collection.exp (executable): New.
5761 (binfile): Use it.
5762 (fpreg, spreg, pcreg): New.
5763 (test_register): Use gdb_test_multiple. Pass /x to print.
5764 (prepare_for_trace_test): New.
5765 (run_trace_experiment): Use "continue", not gdb_run_cmd.
5766 (gdb_collect_args_test, gdb_collect_argstruct_test)
5767 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5768 prepare_for_trace_test.
5769 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
5770 fpreg, spreg and pcreg.
5771 (gdb_collect_expression_test, gdb_collect_globals_test): Use
5772 prepare_for_trace_test.
5773 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
5774 try to detect tracing support here. Don't set breakpoints at
5775 `begin' or `end' here.
5776 <global scope>: Use clean_restart. Run to main before checking
5777 for tracing support. Check for for tracing support here.
5778
09248348
JK
57792010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5780
5781 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5782 " as $displacement" to "seen displacement message".
5783
d350db38
PA
57842010-03-28 Pedro Alves <pedro@codesourcery.com>
5785
5786 * gdb.trace/while-dyn.exp (executable): New variable.
5787 (binfile): Use it.
5788 (test_while_stepping): New function. Move most tests here. Call
5789 it once for each of the while-stepping, stepping and ws aliases.
5790
907af001
UW
57912010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5792
5793 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5794 that do not provide the tagless_struct type name at all.
5795 (test_print_anon_union): Do not check value of uninitialized
5796 union member. Do not use cp_test_ptype_class, so we can accept
5797 "long" as well as "long int".
5798
610197fd
PA
57992010-03-26 Pedro Alves <pedro@codesourcery.com>
5800
5801 * gdb.trace/tfile.c (tohex, bin2hex): New.
5802 (write_error_trace_file): Hexify error description.
5803
6c28cbf2
SS
58042010-03-25 Stan Shebs <stan@codesourcery.com>
5805
5806 * gdb.trace/tfile.c: Generate an additional trace file, improve
5807 portability.
5808 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5809 files in a better way.
5810
e62b8c7e
KS
58112010-03-25 Keith Seitz <keiths@redhat.com>
5812
5813 * gdb.java/jprint.exp: XFAIL printing of static class members
5814 because of GCC debuginfo problem.
5815
82ccf5a5
JK
58162010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5817
5818 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5819
293e2f9e
DJ
58202010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5821
5822 * gdb.base/completion.exp: Allow long instead of long int.
5823 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5824 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
5825 variable p.
5826 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5827 * gdb.base/pointers.exp: Allow long instead of long int.
5828 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5829 * gdb.base/step-line.exp: Allow a directory before the source file name.
5830
95a42b64
TT
58312010-03-24 Tom Tromey <tromey@redhat.com>
5832
5833 PR breakpoints/9352:
5834 * gdb.base/default.exp: Update.
5835 * gdb.base/commands.exp: Update.
5836 * gdb.cp/extern-c.exp: Test setting commands on multiple
5837 breakpoints at once.
5838
2390201f
DJ
58392010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5840
5841 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5842 if gdb,nosignals.
5843 * gdb.base/watchpoints.c: Do not include unnecessary headers.
5844 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5845 exited".
5846
8c9a6790
SS
58472010-03-24 Stan Shebs <stan@codesourcery.com>
5848
5849 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5850
a6c727b2
DJ
58512010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5852
5853 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5854 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5855 argument. Handle "short" and "long".
5856 (Top level): Pass overprototyped output for old_fptr and xptr.
5857
4dfd5423
PA
58582010-03-23 Pedro Alves <pedro@codesourcery.com>
5859
5860 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5861 format strings and add casts to avoid compiler warnings.
5862
58632010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
5864
5865 * lib/trace-support.exp (gdb_trace_setactions):
5866 Don't expect whitespace after ">" prompt.
5867 * gdb.trace/actions.exp: Adjust for output changes.
5868 * gdb.trace/while-stepping.exp: Likewise.
5869
c847d045
JK
58702010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5871
5872 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5873 and r157645).
5874
5f717f1d
JK
58752010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5876
5877 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5878 New.
5879
7d6d51d5
DJ
58802010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
5881
5882 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5883 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5884
3b11a015
SS
58852010-03-19 Stan Shebs <stan@codesourcery.com>
5886
5887 * gdb.trace/ax.exp: New file.
5888
d7d158ed
DE
58892010-03-19 Doug Evans <dje@google.com>
5890
6bb85cd1
DE
5891 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5892 output from gcc.
5893
d7d158ed
DE
5894 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5895 named /usr/sbin/prelink<foo>.
5896
4daf5ac0
SS
58972010-03-18 Stan Shebs <stan@codesourcery.com>
5898
5899 * gdb.trace/circ.exp: Test circular-trace-buffer.
5900 * gdb.trace/tfile.exp: Update tstatus test.
5901
e8d05480
JB
59022010-03-18 Joel Brobecker <brobecker@adacore.com>
5903
5904 * gdb.dwarf2/dw2-anonymous-func.S: New file.
5905 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5906
441b986a
UW
59072010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5908
5909 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5910
4247603b
PA
59112010-03-18 Pedro Alves <pedro@codesourcery.com>
5912
5913 * gdb.base/default.exp: Adjust the expected output of the finish
5914 and until commands when the inferior is not being run.
5915
13387711
SW
59162010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
5917
5918 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5919 * gdb.cp/nsusing.exp: Ditto.
5920
6e31430b
TT
59212010-03-15 Tom Tromey <tromey@redhat.com>
5922
5923 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5924 * gdb.cp/userdef.cc (operator==): New function.
5925 (main): New locals mem1, mem2.
5926
e2d69cb5
JZ
59272010-03-15 Jie Zhang <jie@codesourcery.com>
5928
5929 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5930 Declare and use new loadtimeout variable.
5931
f572f0a9
DJ
59322010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
5933
5934 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5935 Use gdb_load later.
5936
51f4c0b0
PA
59372010-03-14 Pedro Alves <pedro@codesourcery.com>
5938
5939 * gdb.base/solib-disc.c (main): Make format of fprintf a string
5940 literal. Add missing endlines to prints to stderr.
5941
1c809c68
TT
59422010-03-12 Tom Tromey <tromey@redhat.com>
5943
5944 PR c++/9708:
5945 * gdb.cp/m-static.exp: Add regression test.
5946 * gdb.cp/m-static.cc (method): New method.
5947 (main): Call it.
5948
00ae8fef
SW
59492010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
5950
5951 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
5952 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
5953
759f0f0b
PA
59542010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5955
21e24d21
PA
5956 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
5957
59582010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5959
759f0f0b
PA
5960 * lib/gdb.exp (skip_stl_tests): New.
5961 (gdb_compile): Symbian needs -ldl.
5962 (shlib_target_file): New.
5963 (shlib_symbol_file): New.
5964 (gdb_load_shlibs): Use shlib_target_file.
5965 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
5966 * gdb.cp/exception.exp: Use skip_stl_tests.
5967 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
5968 * gdb.cp/try_catch.exp: Use skip_stl_tests.
5969 * gdb.cp/mb-templates.exp: Ditto.
5970 * gdb.base/commands.exp: Relax regexes.
5971 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
5972 shlib_target_file and shlib_symbol_file.
5973 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
5974 sections.
5975 * gdb.base/ending-run.exp: Accept E32Main for symbian.
5976 * gdb.base/solib-disc.exp: Use
5977 shlib_target_file and shlib_symbol_file.
5978 * gdb.base/unload.exp: Don't skip on symbian. Use
5979 shlib_target_file and shlib_symbol_file.
5980 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
5981
6a8f2671 59822010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 5983
6a8f2671
PA
5984 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
5985 * gdb.trace/report.exp: Adjust for x86 and x86_64.
5986 Issue a tfind end before looking for a tracepoint frame.
5987 * gdb.trace/tfind.exp: Adjust tstatus output.
5988 Adjust disassembly output.
5989 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
5990
ccf26247
JK
59912010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5992
5993 * gdb.base/break-interp.exp: Create new displacement parameter value
5994 for the test_ld calls.
5995 (reach): New parameter displacement, verify its content. New push of
5996 pf_prefix "reach-$func:". Import global expect_out.
5997 (test_core): New parameter displacement, verify its content. New push
5998 of pf_prefix "core:". New command "set verbose on". Import global
5999 expect_out.
6000 (test_attach): New parameter displacement, verify its content. New
6001 push of pf_prefix "attach:". New command "set verbose on". Import
6002 global expect_out.
6003 (test_ld): New parameter displacement, pass it to the reach, test_core
6004 and test_attach calls and verify its content in the "ld.so exit" test.
6005 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6006 (prelink): Update expected text, use gdb_test.
6007
e469c7fb
DE
60082010-03-10 Doug Evans <dje@google.com>
6009
6010 * gdb.base/checkpoint.exp: Fix comment.
6011 Lengthen timeout while doing >600 checkpoints test.
6012 Rename duplicate "kill all one" test to keep test names unique.
6013
60e1c644
PA
60142010-03-10 Pedro Alves <pedro@codesourcery.com>
6015
6016 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6017
cec808ec
KS
60182010-03-08 Keith Seitz <keiths@redhat.com>
6019
889bf7c5
PA
6020 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6021 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6022 (dm_type_long): New function.
6023 (dm_type_unsigned_short): New function.
6024 (dm_type_unsigned_long): New function.
6025 (myint): New typedef.
6026 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6027 long, unsigned shor and long, operator char*, and typedef.
6028 (test_lookup_operator_functions): Add operator char* test.
6029 (test_paddr_operator_functions): Likewise.
6030 (test_paddr_overloaded_functions): Use probe values for
6031 short, long, and unsigned short and long.
6032 (test_paddr_hairy_functions): If the demangler probe detected
6033 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6034 demangler.
6035 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6036 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6037 and "print null_pmf".
6038 Add test "ptype a.*pmf".
6039 * gdb.cp/overload.exp: Allow optional "int" to appear with
6040 "short" and "long".
6041 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6042 long expect value for men_overload1arg.
6043 Allow "int" to appear with "short" and "long".
6044 When testing "info break", add argument for main (void).
6045 Also allow "int" to appear with "short" and "long".
6046 Ditto with "unsigned" and "long long".
cec808ec
KS
6047 * gdb.java/jmain.exp: Do not enclose methods names in single
6048 quotes.
6049 * gdb.java/jmisc.exp: Likewise.
6050 * gdb.java/jprint.exp: Likewise.
6051 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6052
6053 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6054 * gdb.cp/exception.exp (backtrace after first throw)
6055 (backtrace after second throw): Allow a namespace before __cxa_throw.
6056 (backtrace after first catch, backtrace after second catch): Allow
6057 a namespace before __cxa_begin_catch.
6058
6059 * gdb.cp/cpexprs.exp: New file.
6060 * gdb.cp/cpexprs.cc: New file.
6061
6062 From Daniel Jacobowitz <dan@codesourcery.com>
6063 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6064 to use string_to_regexp.
6065 (ctor, dtor): New functions. Use them to match constructor
6066 and destructor function types.
6067 (Top level): Use runto_main.
6068
f870a310
TT
60692010-03-05 Tom Tromey <tromey@redhat.com>
6070
6071 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6072 gdb.target_charset.
6073 (pp_ns.to_string): Likewise.
6074
0c199f28
KS
60752010-03-04 Keith Seitz <keiths@redhat.com>
6076
6077 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6078 can be quoted. Test that both the filename and function/line
6079 portions can be quoted at the same time.
6080
c7437ca6
PA
60812010-03-04 Pedro Alves <pedro@codesourcery.com>
6082
6083 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6084
b111b805
DE
60852010-03-03 Doug Evans <dje@google.com>
6086
24486cb7
DE
6087 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6088 libc contains libpthread.
6089
b111b805
DE
6090 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6091 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6092 of gdb_compile. Add another pattern to match android backtrace.
6093
a0e0ef55
TT
60942010-03-03 Tom Tromey <tromey@redhat.com>
6095
6096 PR gdb/11345:
6097 * gdb.base/printcmds.exp (test_printf): Add test.
6098
1ba53b71
L
60992010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6100
6101 * gdb.arch/amd64-byte.exp: New.
6102 * gdb.arch/amd64-dword.exp: Likewise.
6103 * gdb.arch/amd64-pseudo.c: Likewise.
6104 * gdb.arch/amd64-word.exp: Likewise.
6105 * gdb.arch/i386-byte.exp: Likewise.
6106 * gdb.arch/i386-pseudo.c: Likewise.
6107 * gdb.arch/i386-word.exp: Likewise.
6108
f5dff777
DJ
61092010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6110
6111 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6112 types. Add structreg, bitfields, and flags registers.
6113 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6114 registers.
6115
90884b2b
L
61162010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6117
6118 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6119 (load_description): Set architecture if defined.
6120
dc00d89f
PM
61212010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6122
6123 * gdb.python/py-frame.exp: Add read_var block tests.
6124 * gdb.python/py-frame.c (block): New function.
6125
0e095b7e
JK
61262010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6127 Daniel Jacobowitz <dan@codesourcery.com>
6128
6129 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6130
624f1a65
DM
61312010-02-25 David S. Miller <davem@davemloft.net>
6132
6133 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6134 fix logic for setting all_syscalls_numbers.
6135
f3e9a817
PM
61362010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6137
6138 * Makefile.in: Add py-block and py-symbol.
6139 * gdb.python/py-symbol.exp: New File.
6140 * gdb.python/py-symtab.exp: New File.
6141 * gdb.python/py-block.exp: New File.
6142 * gdb.python/py-symbol.c: New File.
6143 * gdb.python/py-block.c: New File.
6144
f6bbabf0
PM
61452010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6146
6147 PR python/11314
6148 * lib/gdb.exp (skip_python_tests): New function.
6149 * gdb.python/py-cmd.exp: Use skip_python_tests.
6150 * gdb.python/py-frame.exp: Likewise.
6151 * gdb.python/py-function.exp: Likewise.
6152 * gdb.python/py-prettyprint.exp: Likewise.
6153 * gdb.python/py-template.exp: Likewise.
6154 * gdb.python/py-type.exp: Likewise.
6155 * gdb.python/py-value.exp: Likewise.
6156
85d721b8
PA
61572010-02-22 Pedro Alves <pedro@codesourcery.com>
6158
6159 PR9605
6160
6161 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6162
48e32051
TT
61632010-02-19 Tom Tromey <tromey@redhat.com>
6164
6165 PR c++/8693, PR c++/9496:
6166 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6167 regression tests.
6168
ac9c0048
JK
61692010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6170
6171 Fix compatibility with m68k as.
6172 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6173 Use only /* comments */.
6174
57bb97a4
UW
61752010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6176
6177 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6178 * configure: Regenerate.
6179
7d1bf85c
DJ
61802010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6181
6182 * gdb.python/py-type.exp: Check for Python support.
6183
061b5285
PA
61842010-02-17 Pedro Alves <pedro@codesourcery.com>
6185
6186 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6187 `regsub' syntax available.
6188
f8a8bc2c
PA
61892010-02-17 Pedro Alves <pedro@codesourcery.com>
6190
6191 * gdb.base/shmain.c (main): Remove printf call.
6192 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6193 * gdb.base/unload.c (main): Make format of fprintf a string
6194 literal. Add missing endlines to prints to stderr.
6195 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6196
6f451e5e
TT
61972010-02-17 Tom Tromey <tromey@redhat.com>
6198
6199 * gdb.java/jprint.java (jprint.props): New field.
6200 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6201
12d79008
PA
62022010-02-17 Pedro Alves <pedro@codesourcery.com>
6203
ef801a0e 6204 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6205 available.
6206
d252f7e5
DJ
62072010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6208
6209 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6210 creation to support remote host testing.
6211
67bdab6c
DJ
62122010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6213
6214 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6215 Recognize "command not found".
6216
bb391223
DJ
62172010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6218
6219 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6220 single-stepping.
6221
70362913
DJ
62222010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6223
6224 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6225 if arguments are not supported.
6226
493f3c00
DJ
62272010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6228
6229 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6230 be const or non-const.
6231
8034c749
DJ
62322010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6233
6234 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6235 mi_send_resuming_command to send -exec-continue.
6236
791dfb64
DJ
62372010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6238
6239 * gdb.base/list.exp (test_list_filename_and_function): Add test
6240 with single quotes.
6241 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6242 matching.
6243 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6244 Add KFAIL'd tests for PR gdb/11289.
6245
7c5fe868
DJ
62462010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6247
6248 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6249
fdc498b8
DJ
62502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6251
6252 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6253 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6254 a temporary directory.
6255
b519e2a6
DJ
62562010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6257
6258 * gdb.base/charset.exp: Use a single regular expression to match
6259 show host-charset and show target-charset output.
6260
74164c56
JK
62612010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6262
6263 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6264 "Illegal process-id" expect string more exact.
6265 (attach to digits-starting nonsense is prohibited): New.
6266
701ed6dc
JK
62672010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6268
6269 * gdb.base/prelink.exp (set verbose on): New.
6270
889bf7c5 62712010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
6272
6273 * mi-reverse.exp: New file. Test for reverse option to the
6274 following MI commands: exec-continue, exec-finish, exec-next,
6275 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 6276
dadf0e9c
JB
62772010-02-09 Joel Brobecker <brobecker@adacore.com>
6278
6279 * gdb.ada/ptype_tagged_param: New testcase.
6280
714f19d5
TT
62812010-02-08 Tom Tromey <tromey@redhat.com>
6282
6283 PR c++/8017:
6284 * gdb.cp/overload.exp: Add tests.
6285 * gdb.cp/overload.cc (struct K): New.
6286 (namespace N): New.
6287 (main): Call new functions.
6288 (K::staticoverload): Define.
6289
889bf7c5 62902010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
6291
6292 PR gdb/10728
6293 * gdb.cp/pr10728-x.h: New file.
6294 * gdb.cp/pr10728-x.cc: New file.
6295 * gdb.cp/pr10728-y.cc: New file.
6296 * gdb.cp/pr10728.exp: New file.
6297 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6298
889bf7c5 62992010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
6300
6301 PR gdb/9067
6302 * gdb.cp/pr9067.exp: New
6303 * gdb.cp/pr9067.cc: New
6304 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6305
7b356089
JB
63062010-02-08 Joel Brobecker <brobecker@adacore.com>
6307
6308 * lib/gdb.exp (gdb_test_timeout): New global variable.
6309 Set it to timeout if not already set.
6310 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6311
1be00882
DE
63122010-02-05 Doug Evans <dje@google.com>
6313
6314 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6315 user.
6316
82856980
SW
63172010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6318
6319 PR c++/7935:
6320 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6321
1a334831
TT
63222010-02-04 Tom Tromey <tromey@redhat.com>
6323
6324 * gdb.cp/virtbase.exp: Make test case names unique.
6325
9c3c02fd
TT
63262010-02-02 Tom Tromey <tromey@redhat.com>
6327
6328 * gdb.cp/virtbase.exp: Add regression tests.
6329 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6330 (main): Instantiate RHC.
6331
0cc2414c
TT
63322010-02-02 Tom Tromey <tromey@redhat.com>
6333
6334 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6335 type-printing change.
6336
edf3d5f3
TT
63372010-02-02 Tom Tromey <tromey@redhat.com>
6338
6339 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6340 * gdb.cp/virtbase.cc: New file.
6341 * gdb.cp/virtbase.exp: New file.
6342 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6343
e4b7f41c
JK
63442010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6345
6346 PR libc/11214:
6347 * gdb.threads/current-lwp-dead.c: Include features.h.
6348 (HAS_NOMMU): New.
6349 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6350
b381ea14
JK
63512010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6352
6353 * gdb.base/symbol-without-target_section.exp,
6354 gdb.base/symbol-without-target_section.c: New.
6355
c593ac0e
DJ
63562010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6357
6358 * gdb.base/bigcore.exp: Reset increased timeout.
6359 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6360
db25f29d
DJ
63612010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6362
6363 * gdb.base/gcore.exp (capture_command_output): Use
6364 gdb_test_multiple.
6365
f9d67f43
DJ
63662010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6367
6368 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6369 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6370 (Top level): Call it.
6371
177321bd
DJ
63722010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6373
6374 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6375
97f2ed50
DJ
63762010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6377
6378 * gdb.base/call-strs.exp, gdb.base/default.exp,
6379 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6380 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6381 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6382 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6383 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6384 * gdb.base/ending-run.exp: Correct restore of timeout.
6385 * gdb.base/page.exp: Remove unnecessary timeout setting.
6386
e4e2711a
JB
63872010-01-29 Joel Brobecker <brobecker@adacore.com>
6388
6389 * gdb.ada/rec_return: New testcase.
6390
ba581dc1
JB
63912010-01-29 Joel Brobecker <brobecker@adacore.com>
6392
6393 * gdb.ada/call_pn: New testcase.
6394
4ea95be9
DJ
63952010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6396
6397 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6398 (Top level): Use it to resume.
6399 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6400 the Thumb mode displaced stepping error as unsupported.
6401
df83a9bf
SW
64022010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
6403
889bf7c5
PA
6404 * gdb.cp/nsusing.exp: Added more tests.
6405 * gdb.cp/nsrecurs.exp: Ditto.
6406 * gdb.cp/nsusing.cc: Added test functions.
6407 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 6408
40b27cdc
JK
64092010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6410
6411 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6412 absolute directory pathnames in gdb.sum file.
6413
de958931
SW
64142010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
6415
6416 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6417 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6418
708ead4e
TT
64192010-01-26 Tom Tromey <tromey@redhat.com>
6420
6421 PR exp/7643:
6422 * gdb.base/printcmds.exp (test_print_string_constants): Remove
6423 setup_kfail.
6424
b14e635e
SW
64252010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
6426
6427 * gdb.cp/nsrecurs.exp: New test.
6428 * gdb.cp/nsrecurs.cc: New test program.
6429 * gdb.cp/nsstress.exp: New test.
6430 * gdb.cp/nsstress.cc: New test program.
6431 * gdb.cp/nsdecl.exp: New test.
6432 * gdb.cp/nsdecl.cc: New test program.
6433
8540c487
SW
64342010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
6435
6436 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6437 imported into file scope.
6438 Marked test as xfail.
6439 * gdb.cp/namespace-using.cc (marker5): New function.
6440 * gdb.cp/shadow.exp: New test.
6441 * gdb.cp/shadow.cc: New test program.
6442 * gdb.cp/nsimport.exp: New test.
6443 * gdb.cp/nsimport.cc: New test program.
6444
421d5d99
TT
64452010-01-25 Tom Tromey <tromey@redhat.com>
6446
6447 PR gdb/11049:
6448 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6449 with "set print null-stop on".
6450
691f8dc1
JK
64512010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6452
6453 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6454 Adjust it for DISASSEMBLY_OMIT_FNAME.
6455
0b92b5bb
TT
64562010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6457
6458 PR symtab/11199:
6459 * gdb.dwarf2/member-ptr-forwardref.exp,
6460 gdb.dwarf2/member-ptr-forwardref.S: New.
6461
23787403
JK
64622010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6463
6464 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6465 (thread1_func): Protect thread1_tid with thread1_tid_cond by
6466 thread1_tid_mutex. Remove gdbstop_mutex handling.
6467 (thread2_func): Protect thread2_tid with thread2_tid_cond by
6468 thread2_tid_mutex. Remove gdbstop_mutex handling.
6469 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6470 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
6471 pthread_cond_wait conditionalizations by while loops.
6472
b966cb8a
TT
64732010-01-20 Tom Tromey <tromey@redhat.com>
6474
6475 PR backtrace/10770:
6476 * gdb.dwarf2/pr10770.exp: New file.
6477 * gdb.dwarf2/pr10770.c: New file.
6478 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6479
fcae584b
VP
64802010-01-20 Vladimir Prus <vladimir@codesourcery.com>
6481
6482 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6483 that target was removed, and the test always runs native anyway.
6484
a0f49112
JK
64852010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6486
6487 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6488 gdb.base/watchpoint-cond-gone-stripped.c: New.
6489
ceeb3d5a
TT
64902010-01-19 Tom Tromey <tromey@redhat.com>
6491
6492 PR c++/8000:
6493 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
6494 existing tests.
6495 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6496 (main): Use AAA::SomeEnum.
6497
dd322c54
JK
64982010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6499
6500 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6501 (test_ignore_count): Declare line_callme_body global.
6502 (run to breakpoint with ignore count): Use line_callme_body.
6503 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6504 (set line_main_hello, set line_main_return): Reindent.
6505 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6506 New.
6507 (continue to callee4): Use line_callee4_body.
6508 (check *stopped from CLI command): Use line_callee4_next.
6509 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6510 (set line_main_hello, set line_main_return): Reindent.
6511 (set line_callee4_head, set line_callee4_body): New.
6512 (continue to callee4): Use line_callee4_body.
6513
4e8f195d
TT
65142010-01-18 Tom Tromey <tromey@redhat.com>
6515
6516 PR c++/9680:
6517 * gdb.cp/casts.cc: Add new classes and variables.
6518 * gdb.cp/casts.exp: Test new operators.
6519
9e14a9ba
JB
65202010-01-18 Tom Tromey <tromey@redhat.com>
6521 Thiago Jung Bauermann <bauerman@br.ibm.com>
6522
6523 * gdb.python/source2.py: New file.
6524 * gdb.python/source1: New file.
6525 * gdb.python/python.exp: Test "source" command.
6526
00bf0b85
SS
65272010-01-15 Stan Shebs <stan@codesourcery.com>
6528
6529 * gdb.trace/tfile.c: New file.
6530 * gdb.trace/tfile.exp: New file.
889bf7c5 6531
55235ad7
JK
65322010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6533
6534 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6535
9f2982ff
JK
65362010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6537
6538 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6539
bbfba9ed
JK
65402010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6541
6542 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6543 (libfunc): New parameter action. Implement also selectable "sleep".
6544 * gdb.base/break-interp-main.c: Include assert.h.
6545 (libfunc): New parameter action.
6546 (main): New parameters argc and argv. Assert argc. Pass argv.
6547 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6548 (test_attach): New proc.
6549 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
6550 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
6551
61f0d762
JK
65522010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6553
6554 * gdb.base/break-interp.exp (test_core): New proc.
6555 (test_ld): Call it.
6556
06a6f270
JK
65572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6558
6559 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6560 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
6561 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
6562 and gdb_compile_shlib. Use new -Wl compiler options.
6563 (dl bt, main bt): New tests.
6564
51bee8e9
JK
65652010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6566
6567 Support PIEs with no symfile_objfile.
6568 * gdb.base/break-interp.exp: New argument at the test_ld calls.
6569 (test_ld): New parameter trynosym.
6570 (test_ld <$trynosym>): New block.
6571
b8040f19
JK
65722010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6573
6574 * gdb.base/break-interp.exp: New file.
6575
be759fcf
PM
65762010-01-13 Phil Muldoon <pmuldoon@redhat.com>
6577
6578 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6579 * gdb.python/py-prettyprint.py (pp_ls): New printer.
6580 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6581 test.
6582 * gdb.python/py-prettyprint.c: Define lazystring test structure.
6583 * gdb.python/py-mi.exp: Add lazy string test.
6584
dc146f7c
VP
65852010-01-13 Vladimir Prus <vladimir@codesourcery.com>
6586
6587 * lib/mi-support.exp (mi_check_thread_states): Handle
6588 core number in thread listing.
6589
b4ba55a1
JB
65902010-01-12 Joel Brobecker <brobecker@adacore.com>
6591
6592 * gdb.base/maint.exp: Adjust the expected output for the
6593 "maint print type" test. Use gdb_test_multiple instead of
6594 gdb_sent/gdb_expect.
6595
08e24bd4
DE
65962010-01-11 Doug Evans <dje@google.com>
6597
6496a609
DE
6598 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6599 from gdbserver_download. All callers updated.
6600
08e24bd4
DE
6601 * gdb.server/ext-run.exp: "info os processes" requires xml support.
6602
b5cfddf5
JK
66032010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6604
6605 Implement binary numbers parsing.
6606 * gdb.base/printcmds.exp (test_integer_literals_accepted)
6607 (test_integer_literals_rejected): New binary tests.
6608
3725885a
RW
66092010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6610
6611 * gdb.cell/configure: Regenerate.
6612
37aeb5df
JK
66132010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6614
6615 * gdb.base/corefile.exp: Move the core finding block out and call it as
6616 core_find, new variable $corefile, replace corefile by $corefile and
6617 [file tail $corefile] for usage vs. test names resp.
6618 * lib/gdb.exp (core_find): Move it as a new function here. New
6619 parameter binfile and deletefiles. New variable $destcore. Pre-delete
6620 $destcore. Return "" on error.
6621
d521f563
JK
66222010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6623
6624 Workaround PR binutils/10802.
6625 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6626 (twice).
6627
28f24826
DJ
66282010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6629
6630 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6631
2de75e71
JB
66322010-01-08 Joel Brobecker <brobecker@adacore.com>
6633
6634 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6635 call, to avoid interruption.
6636
fe00719b 66372010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
6638
6639 * gdb.stabs/weird.def (args93): New.
6640
d0ef5df8
DE
66412010-01-07 Doug Evans <dje@google.com>
6642
6643 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6644
3a08d52f
TT
66452010-01-07 Tom Tromey <tromey@redhat.com>
6646
6647 * gdb.base/source.exp: Use correct line number.
6648
7a697b8d
SS
66492010-01-05 Stan Shebs <stan@codesourcery.com>
6650
6651 * gdb.trace/tracecmd.exp: Test ftrace.
6652
7803799a
UW
66532010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6654
6655 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6656
c54eabfa
JK
66572010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6658
6659 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6660 "uint_for_mi_testing".
6661
02e7ef19
JB
66622010-01-01 Joel Brobecker <brobecker@adacore.com>
6663
6664 Test indented comment in file being sourced.
6665 * gdb.base/commands.exp: Test indented comment in file being sourced.
6666
abd775ce
JB
66672010-01-01 Joel Brobecker <brobecker@adacore.com>
6668
6669 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6670 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6671 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6672 notice.
6673
79b55b82
JB
66742010-01-01 Joel Brobecker <brobecker@adacore.com>
6675
6676 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6677 notice.
6678
8997583e
JK
66792010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6680
6681 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6682 missing $after_stopped and comma (,) expectation.
6683
6da95a67
SS
66842009-12-31 Stan Shebs <stan@codesourcery.com>
6685
6686 * gdb.trace/actions.exp: Test teval action.
889bf7c5 6687
218d2fc6
TJB
66882009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6689
6690 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6691 (top level): Call test_watchpoint_in_big_blob.
6692 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6693 watchpoints.
6694 (func3): Write to buf.
6695
236f1d4d
SS
66962009-12-29 Stan Shebs <stan@codesourcery.com>
6697
6698 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 6699
f61e138d
SS
67002009-12-28 Stan Shebs <stan@codesourcery.com>
6701
6702 * gdb.trace/tsv.exp: New file.
6703 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 6704
0219b378
DJ
67052009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
6706
6707 * gdb.base/find.c (main): Reference search buffers.
6708 * gdb.base/included.c (main): Reference integer.
6709 * gdb.base/ptype.c (charfoo): Declare.
6710 (intfoo): Call charfoo.
6711 * gdb.base/scope0.c (useitp): New function.
6712 (usestatics): Use useitp.
6713 (useit): Add a type for val.
6714 * gdb.base/scope1.c (useit1): Take a pointer argument.
6715 (usestatics1): Update calls to useit1.
6716 * gdb.cp/call-c.cc: Declare foo.
6717 (main): Call foo.
6718 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6719 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6720 (main): Call C::ensureRefs and ensureOtherRefs.
6721 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6722 variables.
6723 (ensureOtherRefs): New function.
6724 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6725 * gdb.cp/templates.cc (main): Call t5i.value.
6726
3f78692f
JK
67272009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6728
6729 Fix compatibility with G++-4.5.
6730 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6731 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6732 (uncaught return): Remove.
6733
429374b8
JK
67342009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6735 Phil Muldoon <pmuldoon@redhat.com>
6736
6737 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6738 (bp_location13, bp_location14, bp_location17, bp_location18)
6739 (marker3_proto, marker4_proto): New variables.
6740 (breakpoint info): Update output.
6741 (run until breakpoint at marker3, run until breakpoint at marker4): New
6742 tests.
6743
859825b8
JK
67442009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6745
6746 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6747 Replace the printf call of Y by provided "y-set-1" label. New block
6748 for the second shared library.
6749 * gdb.base/unload.exp: Compile also the second library, call
6750 gdb_load_shlibs also for it. Use now gdb_breakpoint.
6751 (single pending breakpoint info): Rename to ...
6752 (pending breakpoint info before run): ... this extended test.
6753 (libfile2, libname2, libsrcfile2, libsrc2)
6754 (lib_sl2): New variables.
6755 (exec_opts): Set also SHLIB_NAME2.
6756 (pending breakpoint info on first run at shrfunc1)
6757 (pending breakpoint info on second run at shrfunc1)
6758 (pending breakpoint info on second run at shrfunc2)
6759 (print y from libfile, print y from libfile2): New tests.
6760 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6761 * gdb.base/unloadshr2.c: New.
6762
e6a386cd
HZ
67632009-12-22 Hui Zhu <teawater@gmail.com>
6764
6765 * gdb.reverse/sigall-reverse.exp: Adjust.
6766
9e19b45e
VP
67672009-12-21 Vladimir Prus <vladimir@codesourcery.com>
6768
6769 PR gdb/10884
6770
6771 * gdb.mi/var-cmd.c (do_bitfield_tests): New
6772 (main): Call do_bitfield_tests.
aacf5b1e 6773 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 6774
d53a7b30
JB
67752009-12-20 Joel Brobecker <brobecker@adacore.com>
6776
6777 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6778 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6779 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6780 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6781 gdb.modula2/unbounded1.c: Update copyright header.
6782
191ca0a1
CM
67832009-12-10 Chris Moller <moller@mollerware.com>
6784
6785 PR gdb/9399
6786 * gdb.cp/virtfunc2.exp: New tests
6787 * gdb.cp/virtfunc2.cc: New tests
6788 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6789
0fa6cf1b
MS
67902009-12-10 Oza Pawandeep (paawan1982@yahoo.com
6791
6792 * gdb.reverse/i387-env-reverse.c: New file.
6793 * gdb.reverse/i387-env-reverse.exp: New file.
6794 * gdb.reverse/i387-stack-reverse.c: New file.
6795 * gdb.reverse/i387-stack-reverse.exp: New file.
6796
361ae042
PM
67972009-12-08 Phil Muldoon <pmuldoon@redhat.com>
6798
6799 * gdb.python/py-type.exp (test_range): New test.
6800
bfd31e71
PM
68012009-12-03 Phil Muldoon <pmuldoon@redhat.com>
6802
6803 PR python/10805
6804
6805 * gdb.python/py-type.exp: New file.
6806 * gdb.python/py-type.c: New file.
6807 * Makefile.in: Add py-type.
6808
57a1d736
TT
68092009-12-03 Tom Tromey <tromey@redhat.com>
6810
6811 * gdb.python/py-value.exp (test_parse_and_eval): New
6812 function.
6813
1f3b5d1b
PP
68142009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6815
6816 PR gdb/11022
6817
6818 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
6819 * gdb.base/pr11022.c: New test.
6820
8b7dbdc9
JK
68212009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 Fix spurious false FAILs.
6824 * gdb.base/structs.c (chartest): New.
6825 (main): Fill-in chartest.
6826 * gdb.base/structs.exp (anychar_re, first): New.
6827 (start_structs_test): Import global anychar_re and first.
6828 New gdb_test call "set print elements 300; ${testfile}"
6829 (start_structs_test <$first>): New block.
6830 (any): Import global anychar_re. New variable ac. Use ${ac}.
6831
6a53b2ec
JK
68322009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6833
6834 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6835
d7167b4c
JK
68362009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6837
6838 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6839 Force $srcfile file.
6840 * gdb.base/foll-fork.c (callee): Comment out the printf call.
6841
b1798462
UW
68422009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6843
6844 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6845 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6846 * gdb.threads/watchthreads-reorder.exp: Likewise.
6847
b6199126
DJ
68482009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
6849
6850 PR gdb/8704
6851
6852 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6853 "if", and "thread". Correct matching in the previous test.
6854
b22a0510
DJ
68552009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
6856
6857 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6858
930636d2
MS
68592009-11-23 Michael Snyder <msnyder@vmware.com>
6860
6861 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6862 * gdb.reverse-watch-precsave.exp: Ditto.
6863
21a0512e
PP
68642009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
6865
6866 * gdb.asm/asm-source.exp: Adjust.
6867 * gdb.base/help.exp: Adjust.
889bf7c5 6868
fc30d5e0
PA
68692009-11-22 Pedro Alves <pedro@codesourcery.com>
6870
6871 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6872 (do_syscall_tests_without_xml): Set data-directory to
6873 /the/path/to/nowhere.
6874
f6bc2008
PA
68752009-11-21 Pedro Alves <pedro@codesourcery.com>
6876
6877 * gdb.threads/local-watch-wrong-thread.c,
6878 gdb.threads/local-watch-wrong-thread.exp: New files.
6879
8c2fb5de
PA
68802009-11-21 Pedro Alves <pedro@codesourcery.com>
6881
6882 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6883 assume new `regsub' syntax available.
6884
ebec9a0f
PA
68852009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6886
a79d3c27
JK
6887 * gdb.base/watchpoint-hw-hit-once.exp,
6888 gdb.base/watchpoint-hw-hit-once.c: New.
6889
68902009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 * gdb.threads/watchthreads-reorder.exp,
6893 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 6894
276a961b
MK
68952009-11-17 Nathan Sidwell <nathan@codesourcery.com>
6896
6897 * gdb.xml/tdesc-regs.exp: Use for m68k.
6898
4867c1fb
PA
68992009-11-15 Pedro Alves <pedro@codesourcery.com>
6900
6901 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6902
f6838f81
DJ
69032009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6904
6905 * lib/gdb.exp (current_target_name): New procedure.
6906 (gdb_wrapper_target): New variable.
6907 (gdb_wrapper_init): Set gdb_wrapper_target.
6908 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6909 wrapper.
6910
4ac4dd3f
DJ
69112009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6912
6913 * gdb.base/remote.exp: Delete the slowest load test.
6914 Do not load with fixed packet sizes.
6915
a7881759
DJ
69162009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6917
6918 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6919
97a5b505
DJ
69202009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6921
6922 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
6923 srcfile when setting a breakpoint.
6924
d3e1fc54
DJ
69252009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
6926
6927 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6928 macros.
6929
7cbcbded
DJ
69302009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6931
6932 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6933 to be in memory.
6934 * gdb.base/display.c (force_mem): New.
6935 (do_loops): Use it. Add breakpoint comments.
6936 (do_vars): Add a breakpoint comment.
6937 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
6938 line numbers.
6939
bdea3a92
NF
69402009-11-13 Nathan Froyd <froydnj@codesourcery.com>
6941
6942 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
6943 instead of a bare "run".
6944
269f82e5
PP
69452009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6946
6947 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 6948
a69b7d9d
DJ
69492009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6950
6951 * lib/cell.exp (skip_cell_tests): Clean up test files before
6952 returning.
6953
b598bfda
DJ
69542009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6955
6956 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
6957 and the breakpoint menu. Do not call perror if a prompt is seen.
6958 Consume the following GDB prompt.
6959 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
6960 * gdb.cp/namespace.exp: Use gdb_test.
6961 * gdb.cp/templates.exp: Use gdb_test.
6962 (test_template_breakpoints): Use gdb_test_multiple.
6963
87728fa0
DJ
69642009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6965
6966 * gdb.base/break1.c (struct some_struct, values): Move earlier.
6967 (marker4): Reference values.
6968
b67c692f
DJ
69692009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6970
6971 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
6972 is missing.
6973
f0df251a
DJ
69742009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6975
6976 * gdb.base/break.c (need_malloc): New.
6977 * gdb.base/constvars.c (main): Reference crass and crisp.
6978 * gdb.base/gdb1821.c (main): Reference bar.
6979 * gdb.cp/gdb1355.cc (main): Reference s1.
6980 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
6981 (main): Call them.
6982 * gdb.cp/hang2.cc (dummy2): Define.
6983 * gdb.cp/hang3.cc (dummy3): Define.
6984 * gdb.cp/m-data.cc (main): Reference shadow.
6985
bdf7534a
NF
69862009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6987 Nathan Froyd <froydnj@codesourcery.com>
6988
6989 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
6990 remote host.
6991
f24fce77
NF
69922009-11-12 Nathan Froyd <froydnj@codesourcery.com>
6993
6994 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
6995 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
6996 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6997 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6998 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6999 * gdb.dwarf2/dw2-producer.exp: Likewise.
7000 * gdb.dwarf2/mac-fileno.exp: Likewise.
7001 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7002 py-prettyprint.py to the remote host.
7003 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7004
40f0318e
KS
70052009-11-11 Keith Seitz <keiths@redhat.com>
7006
7007 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7008 use it instead of "Foo".
7009 * gdb.cp/classes.exp (do_tests): Add a test to access
7010 a method through a typedef'd class name.
7011
f3d9f7fb
NF
70122009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7013
7014 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7015 exponents.
7016 * gdb.base/pointers.exp: Likewise.
7017 * gdb.cp/ref-types.exp: Likewise.
7018
a4216f37
KS
70192009-11-11 Keith Seitz <keiths@redhat.com>
7020
7021 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7022 new[] and delete[].
7023 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7024 "void".
7025 (probe_demangler): Remove all single-quoting of
7026 method and variable names.
7027 (info_func_regexp): Remove the word "void" from any
7028 occurrence of "(void)".
7029 (print_addr_2): Remove all single-quoting of
7030 method names.
7031 (print_addr_2_kfail): Likewise.
7032 (print_addr): Single-quote C function names before
7033 passing to print_addr_2.
7034 (test_paddr_operator_functions): Remove single-quoting
7035 for method names.
7036 Add tests for operator new[] and operator delete[].
7037
9b14d7aa
JK
70382009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7039
7040 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7041
85feb311
KS
70422009-11-09 Keith Seitz <keiths@redhat.com>
7043
7044 * gdb.cp/overload.exp: Add tests for resolving overloaded
7045 methods in expression parsing/evaluation.
7046
fa335448
DJ
70472009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7048
7049 * lib/gdb.exp (default_gdb_version): Use --version instead of
7050 --command.
7051
ec3c07fc
NS
70522009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7053
7054 * lib/gdb.exp (gdb_compile_test): New.
7055 (skip_ada_tests, skip_java_tests): New.
7056 (gdb_compile): Use gdb_compile_test for f77.
7057 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7058 * lib/java.exp (compile_java_from_source): Remove runtests check,
7059 use gdb_compile_test to record result.
7060 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7061 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7062 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7063 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7064 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7065 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7066 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7067 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7068 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7069 adjust gdb_compile invocations.
7070
b8b4e42b
JK
70712009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7072
7073 * Makefile.in (abs_builddir): New.
7074 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7075 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7076 `$(abs_builddir)/site.exp'.
7077
f8b7eaf3
DJ
70782009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7079
7080 * config/m68k-emc.exp, lib/emc-support.exp,
7081 gdb.trace/gdb_c_test.c: Delete.
7082 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7083 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7084 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7085 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7086 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7087 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7088 casing for m68k-*-elf.
7089
c4187697
NS
70902009-11-03 Pedro Alves <pedro@codesourcery.com>
7091
7092 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7093 * gdb.arch/i386-prologue.exp: Likewise.
7094 * gdb.arch/i386-unwind.exp: Likewise.
7095
db16b772
DJ
70962009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7097
7098 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7099
bcf71277
DJ
71002009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7101
7102 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7103
0105cee2
DJ
71042009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7105
7106 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7107
24ddea62
JK
71082009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7109
7110 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7111
287ccc17
JK
71122009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7113
7114 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7115 * gdb.base/sepdebug2.c: New file.
7116
08bca259 71172009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7118
7119 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7120 the modified warnings for catch syscall. Verify if GDB was compiled
7121 with support for lib expat, and choose which tests to run depending
7122 on this.
7123
5d4e2b76
VP
71242009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7125
7126 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7127 that composite commands are parsed OK. And also test
7128 that breakpoint commands do work.
7129
240e538a
MS
71302009-10-23 Michael Snyder <msnyder@vmware.com>
7131
7132 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7133 to allow for new disassembly style.
7134
9c419145
PP
71352009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7136
7137 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7138
02506ff1
MS
71392009-10-22 Michael Snyder <msnyder@vmware.com>
7140
7141 * gdb.reverse/break-precsave.exp: New test.
7142 * gdb.reverse/consecutive-precsave.exp: Ditto.
7143 * gdb.reverse/finish-precsave.exp: Ditto.
7144 * gdb.reverse/i386-precsave.exp: Ditto.
7145 * gdb.reverse/machinestate-precsave.exp: Ditto.
7146 * gdb.reverse/sigall-precsave.exp: Ditto.
7147 * gdb.reverse/solilb-precsave.exp: Ditto.
7148 * gdb.reverse/step-precsave.exp: Ditto.
7149 * gdb.reverse/until-precsave.exp: Ditto.
7150 * gdb.reverse/watch-precsave.exp: Ditto.
7151
4cf866a3
MS
71522009-10-22 Michael Snyder <msnyder@vmware.com>
7153
7154 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7155 for gdb_expect. Adjust one test's expect strings for the new
7156 format of disassemble.
7157 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7158 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7159 gdb_test_multiple.
7160 * gdb.reverse/step-reverse.exp: Delete 'return'.
7161 * gdb.reverse/until-reverse.exp: Delete blank lines.
7162 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7163
2b28d209
PP
71642009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7165
7166 * gdb.base/consecutive.exp: Adjust.
7167 * gdb.base/display.exp: Likewise.
7168 * gdb.base/pc-fp.exp: Likewise.
7169 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7170
33b9c32b
MS
71712009-10-19 Michael Snyder <msnyder@vmware.com>
7172
7173 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7174 * gdb.reverse/finish-reverse.c: Ditto.
7175 * gdb.reverse/sigall-reverse.c: Ditto.
7176 * gdb.reverse/solib-reverse.c: Ditto.
7177 * gdb.reverse/step-reverse.c: Ditto.
7178 * gdb.reverse/watch-reverse.c: Ditto.
7179
6c95b8df
PA
71802009-10-19 Pedro Alves <pedro@codesourcery.com>
7181 Stan Shebs <stan@codesourcery.com>
7182
7183 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7184 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7185 "Executing new program".
7186 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7187 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7188 left listed after having been killed.
7189 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7190 * gdb.base/maint.exp: Adjust test.
7191
7192 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7193 * gdb.multi/Makefile.in: New.
7194 * gdb.multi/base.exp: New.
7195 * gdb.multi/goodbye.c: New.
7196 * gdb.multi/hangout.c: New.
7197 * gdb.multi/hello.c: New.
7198 * gdb.multi/bkpt-multi-exec.c: New.
7199 * gdb.multi/bkpt-multi-exec.exp: New.
7200 * gdb.multi/crashme.c: New.
7201
279017b7
TG
72022009-10-13 Tristan Gingold <gingold@adacore.com>
7203
7204 * gdb.base/sepdebug.exp: Check debug info are found.
7205
0413d738
PA
72062009-10-08 Pedro Alves <pedro@codesourcery.com>
7207
7208 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7209 bits.
7210
c628eecc
JK
72112009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7212
7213 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7214
38af1bfe
JB
72152009-10-07 Joel Brobecker <brobecker@adacore.com>
7216
7217 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7218 of the comments.
7219
2b0adecd
PM
72202009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7221
7222 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7223 * gdb.base/annota3.exp: Idem.
7224 * gdb.base/maint.exp: Idem.
7225
8d417781
PM
72262009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7227
889bf7c5 7228 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
7229 to default.
7230
bb61102d
PM
72312009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7232
889bf7c5 7233 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
7234 mingw and cygwin targets.
7235
ace5c364
PM
72362009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7237 Pedro Alves <pedro@codesourcery.com>
7238
889bf7c5 7239 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
7240 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7241
c2d494a0
PM
72422009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7243
e1b52ce2
PM
7244 * gdb.base/shr1.c: Use %p in format string.
7245 * gdb.base/unload.c: Avoid warning in fprintf.
7246 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 7247
209f53f5
PM
72482009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7249
7250 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7251 long type.
7252 (test_unlink): Correct printf string.
7253 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7254 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7255
8172766a
JK
72562009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7257
7258 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7259 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7260 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7261
0f73703c
UW
72622009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7263
7264 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7265 * gdb.objc/nondebug.exp: Likewise.
7266
b32306ca
UW
72672009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7268
7269 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7270 target_info setting.
7271
7272 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7273 that detect new threads during "info threads".
7274
0057022f
UW
72752009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7276
7277 * gdb.threads/manythreads.c (main): Increase thread stack size
7278 to 2*PTHREAD_STACK_MIN.
7279 * gdb.threads/multi-create.c (main): Likewise.
7280 (create_function): Likewise.
7281
f29c0325
UW
72822009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7283
7284 * gdb.base/dump.exp: Pass difference of pointer types instead
7285 of integer types as offset to restore in intarr3.srec case.
7286
fcb34849
UW
72872009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7288
7289 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7290
d5142e3b
UW
72912009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7292
7293 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7294
087b74b2 72952009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 7296
087b74b2
PM
7297 New test for two watchpoints, with disabling of
7298 the first inserted.
7299 * testsuite/gdb.base/watchpoints.c: New file.
7300 * testsuite/gdb.base/watchpoints.exp: New file.
7301
96c07c5b
TT
73022009-09-25 Tom Tromey <tromey@redhat.com>
7303
7304 * gdb.base/charset.exp: Test utf-16 strings with Python.
7305
b8899f2b
TT
73062009-09-25 Tom Tromey <tromey@redhat.com>
7307
7308 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7309 UCS-4.
7310 * gdb.base/charset.c (utf_32_string): Rename.
7311 (init_utf32): Rename.
7312 (main): Update.
7313
329719ec
TT
73142009-09-22 Tom Tromey <tromey@redhat.com>
7315
7316 * gdb.python/py-function.exp: Add regression tests.
7317
11ef0d76
KS
73182009-09-21 Keith Seitz <keiths@redhat.com>
7319
7320 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7321 with invalid operator.
7322
3fe8f3b3
KS
73232009-09-21 Keith Seitz <keiths@redhat.com>
7324
7325 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7326 and destructor using typedef name of class.
7327 * gdb.cp/classes.cc (class Base1): Add a destructor.
7328 (base1): New typedef.
7329 (use_methods): Instanitate an object of type base1.
7330 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7331 (do_tests): Call test_template_typedef.
7332 * gdb.cp/templates.cc (Baz::~Baz): New method.
7333 (intBazOne): New typedef.
7334 (main): Instantiate intBazOne.
7335
7a9fe101
PM
73362009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7337
7338 PR python/10633
7339
7340 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7341 Function.
7342 (run_lang_tests): Add print elements test.
7343
2e4d963f
PM
73442009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7345
7346 * gdb.python/py-value.exp (test_subscript_regression): New
7347 function. Test for invalid subscripts.
7348 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7349 (ptr_ref): New function.
7350
ec7e75e7
PP
73512009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7352
7353 * gdb.base/default.exp: Fix "show convenience".
7354
0cc7d26f
TT
73552009-09-15 Tom Tromey <tromey@redhat.com>
7356
7357 * lib/mi-support.exp (mi_create_varobj): Update.
7358 (mi_create_floating_varobj): Likewise.
7359 (mi_create_dynamic_varobj): New proc.
7360 (mi_varobj_update): Update.
7361 (mi_varobj_update_with_type_change): Likewise.
7362 (mi_varobj_update_kv_helper): New proc.
7363 (mi_varobj_update_dynamic_helper): Rewrite.
7364 (mi_varobj_update_dynamic): New proc.
7365 (mi_list_varobj_children): Update.
7366 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7367 * gdb.python/python-prettyprint.py (pp_outer): New class.
7368 (pp_nullstr): Likewise.
7369 (lookup_function): Register new printers.
7370 * gdb.python/python-prettyprint.c (struct substruct): New type.
7371 (struct outerstruct): Likewise.
7372 (substruct_test): New function.
7373 (struct nullstr): New type.
7374 (string_1, string_2): New globals.
7375 (main): Add new tests.
7376 * gdb.python/python-mi.exp: Added regression tests.
7377 * gdb.mi/mi2-var-display.exp: Update.
7378 * gdb.mi/mi2-var-cmd.exp: Update.
7379 * gdb.mi/mi2-var-child.exp: Update.
7380 * gdb.mi/mi2-var-block.exp: Update.
7381 * gdb.mi/mi-var-invalidate.exp: Update.
7382 * gdb.mi/mi-var-display.exp: Update.
7383 * gdb.mi/mi-var-cmd.exp: Update.
7384 * gdb.mi/mi-var-child.exp: Update.
7385 * gdb.mi/mi-var-block.exp: Update.
7386 * gdb.mi/mi-break.exp: Update.
7387 * gdb.mi/gdb701.exp: Update.
7388
a96d9b2e
SDJ
73892009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7390
7391 * Makefile.in: Inclusion of catch-syscall object.
7392 * gdb.base/catch-syscall.c: New file.
7393 * gdb.base/catch-syscall.exp: New file.
7394
b43b923a
MS
73952009-09-12 Michael Snyder <msnyder@vmware.com>
7396
7397 * gdb.reverse/step-reverse.exp: Explicitly check for targets
7398 that can support reverse debuggnig.
7399
cec03d70
TT
74002009-09-11 Tom Tromey <tromey@redhat.com>
7401
7402 * gdb.dwarf2/valop.S: New file.
7403 * gdb.dwarf2/valop.exp: New file.
7404
e23bb3fc
MK
74052009-09-11 Mark Kettenis <kettenis@gnu.org>
7406
7407 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7408
37c3696d
DE
74092009-09-10 Doug Evans <dje@google.com>
7410
7411 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7412 Add $gdb_prompt to second breakpoint regexp.
7413
5172aecb
JB
74142009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
7415
7416 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7417 names, add missing ones.
7418 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7419 * gdb.python/py-frame.c: Rename from python-frame.c.
7420 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
7421 testfile name.
7422 * gdb.python/py-function.exp: Rename from python-function.exp.
7423 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
7424 testfile name.
7425 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7426 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7427 Adjust testfile name.
7428 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7429 * gdb.python/py-template.cc: Rename from python-template.cc.
7430 * gdb.python/py-template.exp: Rename from python-template.exp.
7431 Adjust testfile name.
7432 * gdb.python/py-value.c: Rename from python-value.c.
7433 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
7434 testfile name.
7435
b554e4bd
JK
74362009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7437
7438 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7439 $bpt2address.
7440 (Second breakpoint address is valid on ia64)
7441 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7442
9a68ae16
JM
74432009-09-03 Joseph Myers <joseph@codesourcery.com>
7444
7445 * gdb.base/ending-run.exp: Restrict regular expression matching
7446 line number to require closing brace following.
7447
146b9145
DE
74482009-09-03 Doug Evans <dje@google.com>
7449
7450 * gdb.base/store.exp (check_set): Fix typo in expected value message.
7451
787d21e1
TT
74522009-09-02 Tom Tromey <tromey@redhat.com>
7453
7454 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7455
e7802207
TT
74562009-09-02 Tom Tromey <tromey@redhat.com>
7457
7458 * gdb.dwarf2/callframecfa.exp: New file.
7459 * gdb.dwarf2/callframecfa.S: New file.
7460
817aadd2
JK
74612009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7462
7463 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7464 gdb.base/solib-overlap-main.c: New.
7465
4a76eae5
DJ
74662009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
7467
7468 PR gdb/10565
7469
7470 * gdb.base/bitfields.c (struct container, container): New.
7471 (main): Initialize it and call break5.
7472 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7473
d4b96c9a
JK
74742009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7475
7476 Support constant DW_AT_data_member_location by GCC PR debug/40659.
7477 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7478
4e22772d
JK
74792009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7480
7481 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7482
2efab443
MS
74832009-08-26 Michael Snyder <msnyder@vmware.com>
7484
7485 * gdb.base/i386-reverse.c: New file.
7486 * gdb.base/i386-reverse.exp: New file.
7487 * gdb.base/Makefile.in: Add new files to be removed.
7488
07ab73a0
JM
74892009-08-26 Joseph Myers <joseph@codesourcery.com>
7490
7491 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7492 environment-pwd for remote host.
7493 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7494
676accff
KS
74952009-08-24 Keith Seitz <keiths@redhat.com>
7496
7497 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7498 Add two new C++ completer tests which limit the output to a
889bf7c5 7499 given class.
676accff 7500
f9f7ad22
MS
75012009-08-24 Michael Snyder <msnyder@vmware.com>
7502
7503 * gdb.base/del.exp: Fix typo in comment.
7504 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7505
81ecdfbb
RW
75062009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7507
7508 * configure: Regenerate.
7509 * gdb.hp/configure: Likewise.
7510 * gdb.hp/gdb.aCC/configure: Likewise.
7511 * gdb.hp/gdb.base-hp/configure: Likewise.
7512 * gdb.hp/gdb.compat/configure: Likewise.
7513 * gdb.hp/gdb.defects/configure: Likewise.
7514 * gdb.hp/gdb.objdbg/configure: Likewise.
7515 * gdb.stabs/configure: Likewise.
7516
cab0c772
UW
75172009-08-19 Doug Evans <dje@google.com>
7518
7519 * gdb.base/gdbvars.c: New file.
7520 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7521
b8fa0bfa
PA
75222009-08-14 Pedro Alves <pedro@codesourcery.com>
7523
7524 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7525 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7526
b84aa90a
PA
75272009-08-13 Pedro Alves <pedro@codesourcery.com>
7528
7529 * gdb.base/default.exp: Adjust "set language test": it's now an
7530 enum command. Larger help string moved to "help set language".
7531 * gdb.base/help.exp: Adjust "help set language" expected output,
7532 now lists all known languages.
7533
0d8f9b2c
NF
75342009-08-11 Nathan Froyd <froydnj@codesourcery.com>
7535
7536 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7537 all frame arguments.
7538 * gdb.arch/altivec-regs.exp: Likewise.
7539
bda180e0
TT
75402009-08-07 Tom Tromey <tromey@redhat.com>
7541
7542 * gdb.base/setshow.exp: Add tests for changes to set language, set
7543 check range, and set check type.
7544
48cb2d85
VP
75452009-08-03 Vladimir Prus <vladimir@codesourcery.com>
7546
7547 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7548 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 7549 Call it.
48cb2d85 7550
1ea34204
UW
75512009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7552
7553 * configure.ac: Run gdb.cell tests when appropriate.
7554 * configure: Regenerate.
7555 * lib/cell.exp: New file.
7556 * gdb.cell: New directory.
7557 * gdb.cell/configure.ac: New file.
7558 * gdb.cell/configure: New file.
7559 * gdb.cell/Makefile.in: New file.
7560 * gdb.cell/arch.exp: New file.
7561 * gdb.cell/break.c: New file.
7562 * gdb.cell/break.exp: New file.
7563 * gdb.cell/break-spu.c: New file.
7564 * gdb.cell/bt.c: New file.
7565 * gdb.cell/bt2-spu.c: New file.
7566 * gdb.cell/bt-spu.c: New file.
7567 * gdb.cell/bt.exp: New file.
7568 * gdb.cell/coremaker.c: New file.
7569 * gdb.cell/coremaker-spu.c: New file.
7570 * gdb.cell/core.exp: New file.
7571 * gdb.cell/gcore.exp: New file.
7572 * gdb.cell/data.c: New file.
7573 * gdb.cell/data.exp: New file.
7574 * gdb.cell/data-spu.c: New file.
7575 * gdb.cell/ea-cache.exp: New file.
7576 * gdb.cell/ea-cache.c: New file.
7577 * gdb.cell/ea-cache-spu.c: New file.
7578 * gdb.cell/ea-standalone.c: New file.
7579 * gdb.cell/ea-standalone.exp: New file.
7580 * gdb.cell/ea-test.c: New file.
7581 * gdb.cell/ea-test.exp: New file.
7582 * gdb.cell/f-regs.exp: New file.
7583 * gdb.cell/mem-access.c: New file.
7584 * gdb.cell/mem-access.exp: New file.
7585 * gdb.cell/mem-access-spu.c: New file.
7586 * gdb.cell/ptype.exp: New file.
7587 * gdb.cell/registers.exp: New file.
7588 * gdb.cell/size.c: New file.
7589 * gdb.cell/sizeof.exp: New file.
7590 * gdb.cell/size-spu.c: New file.
7591 * gdb.cell/solib.exp: New file.
7592 * gdb.cell/solib-symbol.exp: New file.
7593
85e747d2
UW
75942009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7595
7596 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7597
58d6951d
DJ
75982009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7599
7600 * gdb.base/float.exp: Handle VFP registers.
7601
6e0a4f15
MS
76022009-07-14 Michael Snyder <msnyder@vmware.com>
7603
dcd5da87
MS
7604 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7605 to bring gdb to the beginning of the calling line.
7606
6e0a4f15
MS
7607 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7608 confusing the i386 epilogue unwinder.
7609
782b2b07
SS
76102009-07-14 Stan Shebs <stan@codesourcery.com>
7611
7612 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7613
f662c3bc
MS
76142009-07-14 Michael Snyder <msnyder@vmware.com>
7615
7616 * gdb.reverse/step-reverse.exp (stepi into function call):
7617 Call instruction may not be first instruction in the line.
7618 (reverse stepi from a function call): Used wrong line number.
7619
8f313923
JK
76202009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7621
7622 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7623
4662c76e
JK
76242009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7625
7626 Fix gdb.base/macscp.exp when using custom inputrc.
7627 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7628 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
7629 env(TERM) set.
7630 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7631 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7632
aa81e255
JK
76332009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7634
7635 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7636 * gdb.base/annota1.exp (thread_test): Import global $testfile.
7637 Change the compilation target to match the testcase name.
7638 * gdb.base/sect-cmd.exp: Change the compilation target to match the
7639 testcase name.
7640 * a2-run.exp: Use for setup prepare_for_testing. Change the
7641 compilation target to match the testcase name.
7642 * gdb.base/commands.exp: Likewise.
7643 * gdb.base/finish.exp: Likewise.
7644 * gdb.base/float.exp: Likewise.
7645 * gdb.base/info-target.exp: Likewise.
7646 * gdb.base/relational.exp: Likewise.
7647 * gdb.base/term.exp: Likewise.
7648 * gdb.base/until.exp: Likewise.
7649 * gdb.base/volatile.exp: Likewise.
7650 * gdb.base/whatis-exp.exp: Likewise.
7651
4c93b1d7
HZ
76522009-07-11 Hui Zhu <teawater@gmail.com>
7653
7654 * gdb.base/help.exp (disassemble): Update expected help text.
7655
812f7342
TT
76562009-07-09 Tom Tromey <tromey@redhat.com>
7657
7658 * lib/gdb.exp: Handle TRANSCRIPT.
7659 (remote_spawn, remote_close, send_gdb): New procs.
7660
fbb8f299
PM
76612009-07-10 Phil Muldoon <pmuldoon@redhat.com>
7662
7663 * gdb.python/python-prettyprint.c: Add counted null string
7664 structure.
7665 * gdb.python/python-prettyprint.exp: Print null string. Test for
7666 embedded nulls.
7667 * gdb.python/python-prettyprint.py (pp_ns): New Function.
7668 * gdb.python/python-value.exp (test_value_in_inferior): Add
7669 variable length string fetch tests.
7670 * gdb.python/python-value.c (main): Add strings for string fetch tests.
7671
c0ac0ec7
JK
76722009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7673
7674 * gdb.base/dump.exp (inaccessible memory is reported): New test.
7675
30b66ecc
TT
76762009-07-07 Tom Tromey <tromey@redhat.com>
7677
7678 * gdb.base/call-rt-st.exp: Update for change to escape output.
7679 * gdb.base/callfuncs.exp: Likewise.
7680 * gdb.base/charset.exp: Likewise.
7681 * gdb.base/constvars.exp: Likewise.
7682 * gdb.base/long_long.exp: Likewise.
7683 * gdb.base/pointers.exp: Likewise.
7684 * gdb.base/printcmds.exp: Likewise.
7685 * gdb.base/setvar.exp: Likewise.
7686 * gdb.base/store.exp: Likewise.
7687 * gdb.cp/ref-types.exp: Likewise.
7688 * gdb.mi/mi-var-child.exp: Likewise.
7689 * gdb.mi/mi-var-display.exp: Likewise.
7690 * gdb.mi/mi2-var-display.exp: Likewise.
7691 * gdb.base/charset.exp: Test octal escape sequence length.
7692 Update for change to escape output.
7693
187c4a2b
JK
76942009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7695
7696 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7697
d80a43f9
DJ
76982009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
7699
7700 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7701
047427a8
JK
77022009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7703
7704 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7705 gdbserver increasing $portnum if "Can't bind address" has been seen.
7706
8b5a0f4f
PA
77072009-07-05 Pedro Alves <pedro@codesourcery.com>
7708
7709 * gdb.base/ending-run.exp: Add "step out of main" pattern for
7710 mingw32ce.
7711
7d93ba58
PA
77122009-07-05 Pedro Alves <pedro@codesourcery.com>
7713
7714 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7715 VFP format.
7716
2277426b
PA
77172009-07-02 Pedro Alves <pedro@codesourcery.com>
7718
7719 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7720 linux. Adjust to use "inferior", "info inferiors", "detach
7721 inferior" and "kill inferior" instead of "restart", "info fork",
7722 "detach fork" and "delete fork".
7723 * gdb.base/ending-run.exp: Spell out "info".
7724 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7725 the "kill" command.
7726
5af949e3
UW
77272009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7728
7729 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7730 change to prefix TLS offset in hex with 0x.
7731
5d3729b5
UW
77322009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7733
7734 * gdb.base/default.exp: Update test case for "x" changes.
7735
af589bd0
TG
77362009-07-01 Tristan Gingold <gingold@adacore.com>
7737
7738 * gdb.base/bigcore.exp: Make darwin untested.
7739
40974f91
JK
77402009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7741
7742 * gdb.base/completion.exp (directory completion): Create the directory.
7743 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7744 escapeuniquesub.
7745 (directory completion 2): Expect now ${escapeuniquesub}.
7746 (Glob remaining of directory test): Remove one excessive newline.
7747 Expect the real output.
7748
59dd3af6
JK
77492009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7750
7751 Fix `make check//%' target after `make check' has been ran.
7752 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
7753 a mkdir call.
7754 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7755 (%/.dir): Remove.
7756
f4e164aa
JK
77572009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7758
7759 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7760 the expected result record.
7761
69af2122
JK
77622009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7763
7764 Remove racy FAILs relying just on the timeouts.
7765 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7766 (annotation_level 2): Remove racy FAILs.
7767
2fd481e1
PP
77682009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7769
7770 gdb/10275
889bf7c5
PA
7771 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7772
c38f313d
DJ
77732009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
7774
7775 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7776
8b777f02
VP
77772009-06-30 Vladimir Prus <vladimir@codesourcery.com>
7778
7779 * gdb.mi/mi-stack.exp: Testing symbolic options
7780 to -stack-list-locals and -stack-list-arguments.
7781
00c7eacf
JK
77822009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7783
7784 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7785
6bc80edc
TT
77862009-06-29 Tom Tromey <tromey@redhat.com>
7787
7788 * dg-extract-results.sh: New file.
7789 * Makefile.in (FORCE_PARALLEL): New variable.
7790 (CHECK_TARGET): New conditional variable.
7791 (check): Use CHECK_TARGET.
7792 (DO_RUNTEST): New variable.
7793 (check-single): New target.
7794 (TEST_DIRS): New variable.
7795 (TEST_TARGETS): Likewise.
7796 (check-parallel): New target.
7797 (check-gdb.%): New pattern.
7798 (BASE1_FILES): New variable.
7799 (BASE2_FILES): Likewise.
7800 (check-gdb.base%): New pattern.
7801 (%/.dir): New pattern.
7802 * configure: Rebuild.
7803 * aclocal.m4 (AM_CONDITIONAL): New defun.
7804 * configure.ac: Check whether user is using GNU make.
7805 (GMAKE): New conditional.
7806
794684b6
SW
78072009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
7808
7809 * gdb.cp/namespace-nested-import.cc: New test.
7810 * gdb.cp/namespace-nested-import.exp: New test.
7811
edb3359d
DJ
78122009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
7813
7814 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7815 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7816 * gdb.opt/Makefile.in (EXECUTABLES): Update.
7817 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7818 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7819 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7820 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7821 gdb.opt/inline-markers.c: New files.
7822 * lib/gdb.exp (skip_inline_frame_tests): New function.
7823 (skip_inline_var_tests): New function.
7824
cf657a0c
AS
78252009-06-27 Andreas Schwab <schwab@linux-m68k.org>
7826
7827 * gdb.cp/exception.exp: Don't require $hex before inner frame in
7828 backtrace.
7829
28d41a99
MS
78302009-06-27 Michael Snyder <msnyder@vmware.com>
7831
7832 * gdb.reverse: New directory.
7833 * gdb.reverse/break-reverse.c: New test.
7834 * gdb.reverse/break-reverse.exp: New test.
7835 * gdb.reverse/consecutive-reverse.c: New test.
7836 * gdb.reverse/consecutive-reverse.exp: New test.
7837 * gdb.reverse/finish-reverse.c: New test.
7838 * gdb.reverse/finish-reverse.exp: New test.
7839 * gdb.reverse/machinestate.c: New test.
7840 * gdb.reverse/ms1.c: New test.
7841 * gdb.reverse/machinestate.exp: New test.
7842 * gdb.reverse/Makefile.in: New file.
7843 * gdb.reverse/shr2.c: New test.
7844 * gdb.reverse/solib-reverse.c: New test.
7845 * gdb.reverse/solib-reverse.exp: New test.
7846 * gdb.reverse/step-reverse.c: New test.
7847 * gdb.reverse/step-reverse.exp: New test.
7848 * gdb.reverse/until-reverse.c: New test.
7849 * gdb.reverse/ur1.c: New test.
7850 * gdb.reverse/until-reverse.exp: New test.
7851 * gdb.reverse/watch-reverse.c: New test.
7852 * gdb.reverse/watch-reverse.exp: New test.
7853 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7854 * configure: Regenerate.
7855
fe3c8b0d
DE
78562009-06-26 Doug Evans <dje@google.com>
7857
7858 * gdb.base/psymtab.exp: Turn off pending breakpoints.
7859
3a72a602
PM
78602009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
7861
7862 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7863 windows problem for 'file delete $binfile'.
7864
27aa8d6a
SW
78652009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
7866
7867 * gdb.cp/namespace-using.exp: New test.
7868 * gdb.cp/namespace-using.cc: New test.
7869
8ac055f8
JB
78702009-05-20 Joel Brobecker <brobecker@adacore.com>
7871
7872 * gdb.ada/variant_record_packed_array: New testcase.
7873
85e306ed
TT
78742009-06-23 Tom Tromey <tromey@redhat.com>
7875
7876 * gdb.base/charset.exp (test_combination): Regression test.
7877 * gdb.base/charset.c (my_wchar_t): New typedef.
7878 (myvar): New global.
7879 (main): Set myvar.
7880
56643c5e
PM
78812009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
7882
7883 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7884 target.
7885
1fac167a
UW
78862009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7887
7888 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7889
7ccb0be9
UW
78902009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7891
7892 * gdb.mi/gdb680.exp: Update test for error message.
7893
568d6575
UW
78942009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7895
7896 * gdb.base/annota1.exp: Allow multiple occurrences of the
7897 frames-invalid annotation.
7898 * gdb.cp/annota2.exp: Likewise.
7899
7cd1089b
PM
79002009-06-15 Phil Muldoon <pmuldoon@redhat.com>
7901
7902 * gdb.cp/gdb2495.cc: New file.
7903 * gdb.cp/gdb2495.exp: New file.
7904
72c63395
JK
79052009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7906
7907 Report error on GDB crash during runto.
7908 * lib/gdb.exp (runto <eof>): New.
7909
3788363d
DJ
79102009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
7911
7912 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7913 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7914 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7915 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7916 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7917 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7918 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7919 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7920 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7921 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7922 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7923 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7924 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7925 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7926 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7927 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7928 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7929 gdb.server/server-mon.exp, gdb.server/server-run.exp,
7930 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7931 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7932 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7933 gdb.trace/passcount.exp, gdb.trace/report.exp,
7934 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7935 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
7936 gdb.trace/while-stepping.exp: Use a unique name for the compiled
7937 executable.
7938
17592de3
PA
79392009-06-07 Pedro Alves <pedro@codesourcery.com>
7940
7941 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
7942 defined before referencing it.
7943
701e355d
DE
79442009-06-03 Doug Evans <dje@google.com>
7945
7946 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
7947 * gdb.arch/i386-see.c: Ditto.
7948
f2292c65
PM
79492009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
7950
7951 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
7952 (check_macro): Return 1 if undefined.
7953 If first test fails, check if macro debug information is available,
7954 and report unsupported test if no macro information is found.
7955
5a437975
DE
79562009-05-29 Doug Evans <dje@google.com>
7957
7958 * gdb.threads/hand-call-in-threads.exp: New.
7959 * gdb.threads/hand-call-in-threads.c: New.
7960
c141c696
MS
79612009-05-29 Michael Snyder <msnyder@vmware.com>
7962
7963 * gdb.base/break-always.exp: Change "1" to "on".
7964 Add confirmation check.
7965
b3444185
PA
79662009-05-28 Pedro Alves <pedro@codesourcery.com>
7967
7968 * gdb.threads/threxit-hop-specific.c: New.
7969 * gdb.threads/threxit-hop-specific.exp: New.
7970 * gdb.threads/thread-execl.c: New.
7971 * gdb.threads/thread-execl.exp: New.
7972
b6313243
TT
79732009-05-27 Tom Tromey <tromey@redhat.com>
7974 Thiago Jung Bauermann <bauerman@br.ibm.com>
7975
7976 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
7977 (mi_child_regexp): Likewise.
7978 (mi_list_varobj_children_range): Likewise.
7979 (mi_get_features): Likewise.
7980 (mi_list_varobj_children): Rewrite.
7981 * gdb.python/python-mi.exp: New file.
7982
a6bac58e
TT
79832009-05-27 Tom Tromey <tromey@redhat.com>
7984 Thiago Jung Bauermann <bauerman@br.ibm.com>
7985 Phil Muldoon <pmuldoon@redhat.com>
7986 Paul Pluzhnikov <ppluzhnikov@google.com>
7987
7988 * gdb.python/python-prettyprint.exp: New file.
7989 * gdb.python/python-prettyprint.c: New file.
7990 * gdb.python/python-prettyprint.py: New file.
7991 * gdb.base/display.exp: print/r is now valid.
7992
2c74e833
TT
79932009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
7994 Tom Tromey <tromey@redhat.com>
7995 Pedro Alves <pedro@codesourcery.com>
7996 Paul Pluzhnikov <ppluzhnikov@google.com>
7997
7998 * gdb.python/python-template.exp: New file.
7999 * gdb.python/python-template.cc: New file.
8000 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8001 tests.
8002 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8003 Call it.
8004 (test_value_after_death): New proc.
8005 * gdb.python/python-value.c (PTR): New typedef.
8006 (main): New variable 'x'.
8007
89c73ade
TT
80082009-05-27 Tom Tromey <tromey@redhat.com>
8009
8010 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8011 tests.
8012 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8013 Call it.
8014
a75724bc
PA
80152009-05-27 Pedro Alves <pedro@codesourcery.com>
8016
8017 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8018
e58b0e63
PA
80192009-05-24 Pedro Alves <pedro@codesourcery.com>
8020
8021 * gdb.threads/fork-thread-pending.c: New.
8022 * gdb.threads/fork-thread-pending.exp: New.
8023
4ac36638
JK
80242009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8025
8026 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8027 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8028
889bf7c5 80292009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8030
889bf7c5 8031 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8032
b242c3c2
PA
80332009-05-17 Pedro Alves <pedro@codesourcery.com>
8034
8035 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8036 `gdb_get_line_number'. Call `callee' in both parent and child.
8037 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8038 `gdb_get_line_number' instead of hardcoding line numbers.
8039 (catch_fork_unpatch_child): New procedure to test detaching
8040 breakpoints from child fork.
8041 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8042 hardcoding line numbers.
8043 (do_fork_tests): Run `catch_fork_unpatch_child'.
8044
ee342b23
VP
80452009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8046
8047 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8048 of structure type enters or leaves the scope, it
8049 is reported by -var-update.
8050
e2009e98
DE
80512009-05-11 Doug Evans <dje@sebabeach.org>
8052
8053 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8054 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8055 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8056
00903456
JK
80572009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8058
8059 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8060
dc621c35
DE
80612009-04-30 Doug Evans <dje@google.com>
8062
8063 * gdb.threads/watchthreads2.exp: New testcase.
8064 * gdb.threads/watchthreads2.c: New testcase.
8065
9ab4e744
DE
80662009-04-29 Doug Evans <dje@google.com>
8067
8068 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8069 * gdb.cp/mb-ctor.cc: Ditto.
8070 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8071 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8072 * gdb.cp/mb-inline1.cc: Call it.
8073 * gdb.cp/mb-inline2.cc: Ditto.
8074 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8075 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8076
484086b7
JK
80772009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8078
8079 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8080 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8081 Replace all uses of `decimal' by `nonzero'.
8082 (info macro FROM_COMMANDLINE): New test.
8083
379a77b5
TT
80842009-04-27 Tom Tromey <tromey@redhat.com>
8085
8086 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8087
b92b73c2
DE
80882009-04-27 Doug Evans <dje@google.com>
8089
8090 * gdb.threads/watchthreads.c (main): Initialize args before starting
8091 the threads. Plus formatting cleanup.
8092 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8093 biased scheduling of one thread.
8094
945a118d
JG
80952009-04-27 Jerome Guitton <guitton@adacore.com>
8096
8097 * gdb.cp/templates.cc (GetMax): New template.
8098 (main): Declare two instances of GetMax.
8099 * gdb.cp/templates.exp: Add new test.
8100
d389af10
JK
81012009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8102
8103 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8104
e7f86de9
JM
81052009-04-22 Joseph Myers <joseph@codesourcery.com>
8106
8107 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8108
334cc82d
TT
81092009-04-15 Tom Tromey <tromey@redhat.com>
8110
8111 * gdb.base/charset.exp: Add regression test.
8112
d12672cc
JB
81132009-04-14 Joel Brobecker <brobecker@adacore.com>
8114
8115 * gdb.base/exe-lock.exp: New testcase.
8116
18e8c3bc
TT
81172009-04-13 Tom Tromey <tromey@redhat.com>
8118
8119 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8120 operator on Frame.
8121
5ecd5cbe
UW
81222009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8123
8124 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8125 * gdb.server/ext-attach.exp: Likewise.
8126
7309f756
VP
81272009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8128
8129 Eliminate some sleep usage.
8130
889bf7c5
PA
8131 * gdb.mi/basics.c (do_nothing): New.
8132 (main): Use do_nothing instead of printf, so that
8133 not to introduce race condition between output of
8134 inferiour and output of gdb. Do not use sleep as it
8135 is not generally available on embedded targets.
7309f756 8136
f4b95f6f
PA
81372009-04-02 Pedro Alves <pedro@codesourcery.com>
8138
8139 * gdb.server/ext-attach.exp: Expect an optional process id after
8140 "Detached from remote process".
8141
de40b933
JK
81422009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8143
8144 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8145 gdb.dwarf2/dw2-unresolved.exp: New.
8146
2ae101a4
PA
81472009-04-02 Pedro Alves <pedro@codesourcery.com>
8148
8149 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8150 mi_run_to_main.
8151
56a8e183
PA
81522009-04-02 Pedro Alves <pedro@codesourcery.com>
8153
8154 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8155 mi_run_to_main. Skip thread exit test on remote targets.
8156 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8157 mi_run_to_main.
8158 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8159 mi_run_to_main.
8160 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8161 when expecting ^connected. Detect when the target doesn't support
8162 non-stop mode.
8163 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8164 supported. Return -1 on error, 0 on success.
8165 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8166 (mi_runto): Return mi_runto_helper's result explicitly.
8167
c35fafde
PA
81682009-04-01 Pedro Alves <pedro@codesourcery.com>
8169
8170 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8171
f8a8dce6
JB
81722009-04-01 Tom Tromey <tromey@redhat.com>
8173
8174 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8175 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8176 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8177 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8178
71c25dea
TT
81792009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8180 Jan Kratochvil <jan.kratochvil@redhat.com>
8181
8182 PR gdb/931
8183 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8184 output.
8185 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8186 for gdb/931.
8187 * dw2-strp.S (DW_AT_language): Change to C++.
8188 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8189
02d9a9ce
JB
81902009-03-31 Joel Brobecker <brobecker@adacore.com>
8191
8192 * gdb.ada/tasks: New testcase.
8193
1042e4c0
SS
81942009-03-30 Stan Shebs <stan@codesourcery.com>
8195
8196 * gdb.trace/actions.exp: Update to match new info trace format.
8197 * gdb.trace/deltrace.exp: Ditto.
8198 * gdb.trace/infotrace.exp: Ditto.
8199 * gdb.trace/passcount.exp: Ditto.
8200 * gdb.trace/save-trace.exp: Ditto.
8201 * gdb.trace/while-stepping.exp: Ditto.
8202 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8203
f8f6f20b
TJB
82042009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8205
8206 * gdb.python/python-frame.c: New file.
8207 * gdb.python/python-frame.exp: New file.
8208
c0c6f777
TJB
82092009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8210
8211 * gdb.python/python-value.exp: Add tests for the address
8212 attribute.
8213
3cb51905
AS
82142009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8215
8216 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8217
88fc996f
DE
82182009-03-26 Doug Evans <dje@google.com>
8219
8220 * gdb.mi/mi-nonstop-exit.exp: New file.
8221 * gdb.mi/non-stop-exit.c: New file.
8222
56ef84b1
TT
82232009-03-26 Tom Tromey <tromey@redhat.com>
8224
8225 Update for change to prologue skipping:
8226 * gdb.mi/mi2-simplerun.exp: Update.
8227 * gdb.mi/mi2-break.exp: Update.
8228 * gdb.mi/mi-simplerun.exp: Update.
8229 * gdb.mi/mi-break.exp: Update.
8230 * gdb.base/ending-run.exp: Update.
8231
def2b000
TJB
82322009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8233
8234 * gdb.python/python-value.exp (test_value_in_inferior): Test
8235 gdb.Value.is_optimized_out attribute.
8236
442ddf59
JK
82372009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8238
8239 * gdb.dwarf2/dw2-noloc-main.c: New file.
8240 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8241 (.text): Remove.
8242 (.data): New.
8243 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8244 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8245 (DW_TAG_subprogram func_cu1, noloc): Remove.
8246 (main): New.
8247 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8248 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8249 (file_symbols): New procedure.
8250
a8df5de4
TT
82512009-03-25 Tom Tromey <tromey@redhat.com>
8252
8253 * gdb.base/charset.exp (valid_target_charset): New proc.
8254 Use it to skip tests on invalid charsets.
8255
cc1d7add
PM
82562009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8257
8258 * gdb.base/completion.exp: Add a test for directory completion.
8259
bcd5727b
JK
82602009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8261
8262 Fix a racy FAIL.
8263 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8264 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8265
cc924cad
TJB
82662009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8267
8268 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8269 * gdb.python/python-function.exp: Add test for function returning
8270 a GDB value.
8271
bc3b79fd
TJB
82722009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8273
8274 * gdb.python/python-function.exp: New file.
8275
6c7a06a3
TT
82762009-03-20 Tom Tromey <tromey@redhat.com>
8277
8278 * gdb.base/store.exp: Update for change to escape output.
8279 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8280 to escape output.
8281 * gdb.base/pointers.exp: Update for change to escape output.
8282 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8283 to escape output.
8284 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8285 escape output.
8286 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8287 to escape output.
8288 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8289 escape output.
8290 * gdb.base/setvar.exp: Update for change to escape output.
8291 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8292 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8293 to escape output.
8294 (test_print_string_constants): Likewise.
8295 * gdb.base/charset.exp (valid_host_charset): Check size of
8296 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8297 cases. Handle "auto"-related output.
8298 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8299 (uvar, Uvar): New globals.
8300
c31af87b
JG
83012009-03-19 Jerome Guitton <guitton@adacore.com>
8302
8303 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8304 deltas.
8305 * gdb.ada/fixed_points.exp: Ditto.
8306
51272cf2
PA
83072009-03-18 Pedro Alves <pedro@codesourcery.com>
8308
8309 * return-nodebug.c: Don't include stdio.h.
8310 (init): Delete.
8311 (func): Delete definition and provide extern declaration.
8312 (t): New.
8313 (main): Don't call printf. Call func and store its result in t.
8314 * return-nodebug1.c: New.
8315 * return-nodebug.exp: Don't expect stdio output. Instead, print
8316 the global variable t. Drop printf formatters and cast types from
8317 foreach loop. Don't use prepare_for_testing. Compile
8318 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8319 define FORMAT or CAST.
8320
d24948ac
PP
83212009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8322
8323 * gdb.base/solib-display.exp: Disable test for remote targers.
8324
61ff14c6
JK
83252009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8326
8327 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8328
cb4dce93
JK
83292009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8330
8331 Fix a racy FAIL.
8332 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8333 code from `follow parent, print pids'.
8334 (`follow child, print pids', `follow parent, print pids'): Call it.
8335 Replace `gdb_test "break..."' by gdb_breakpoint.
8336
f7c60c5e
VP
83372009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8338
8339 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 8340 sync and async modes.
f7c60c5e 8341
383ace49
JB
83422009-03-12 Joel Brobecker <brobecker@adacore.com>
8343
8344 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8345 that was checked in by mistake. Remove loading of ada.exp, since
8346 this is not necessary in this case.
8347
4ce102af
JB
83482009-03-12 Joel Brobecker <brobecker@adacore.com>
8349
8350 * gdb.ada/ptype_arith_binop.exp: New testcase.
8351
529a2aef
JB
83522009-03-12 Joel Brobecker <brobecker@adacore.com>
8353
8354 * gdb.ada/mod_from_name: New testcase.
8355
8a38181c
JB
83562009-03-12 Joel Brobecker <brobecker@adacore.com>
8357
8358 * gdb.ada/tick_last_segv: New testcase.
8359
11436dee
VP
83602009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8361
61ff14c6 8362 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 8363
1f31650a
VP
83642009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8365
61ff14c6
JK
8366 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8367 include the token in ^running and frame info in *stopped.
1f31650a 8368
a3247a22
PP
83692009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8370
8371 * solib-display.exp: New file.
8372 * solib-display-main.c: New file.
8373 * solib-display-lib.c: New file.
61ff14c6 8374
aae64587
PA
83752009-03-05 Pedro Alves <pedro@codesourcery.com>
8376
8377 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8378
44aabfbc
JK
83792009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8380
8381 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8382 (list_and_check_macro): Use more specific test name.
8383 (next to definition): Make the test names unique.
8384
c087fcd3
PM
83852009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8386
8387 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 8388
c86cf029
VP
83892009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8390
8391 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8392 notifications.
8393 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8394 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8395 * lib/mi-support.exp (library_loaded_re): New.
8396 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8397
3ea85240
VP
83982009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8399
8400 * gdb.gdb/observer.exp: Use test_notification observer, not
8401 normal_stop, everywhere.
8402 (test_normal_stop_notifications): Rename to...
8403 (test_notifications): ...this.
8404 (test_observer_normal_stop): Rename to...
8405 (test_observer): ...this.
8406
1903f0e6
DE
84072009-02-16 Doug Evans <dje@google.com>
8408
8409 * gdb.arch/amd64-disp-step.S (test_int3): New test.
8410 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8411 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8412 (test_prefixed_syscall,test_int3): New tests.
8413 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8414 (test_prefixed_syscall,test_int3): New tests.
8415
1d33d6ba
VP
84162009-02-14 Vladimir Prus <vladimir@codesourcery.com>
8417
3cb51905
AS
8418 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8419 (mi_expect_interrupt): Likewise.
8420 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8421 response.
1d33d6ba 8422
faafb047
PM
84232009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8424
8425 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8426 * gdb.base/pc-fp.exp (get_valueofx): Remove.
8427 Replace calls to get_valueofx by get_hexadecimal_valueof.
8428
417e16e2
PM
84292009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8430
8431 * lib/gdb.exp (get_valueof): Accept anything as a return value.
8432 (get_integer_valueof): New procedure.
8433 (get_sizeof): Use new get_integer_value_of.
8434 * gdb.base/sizeof.exp: Replace all uses of get_valueof
8435 by get_integer_valueof.
8436
7065b901
TT
84372009-02-13 Tom Tromey <tromey@redhat.com>
8438
8439 * gdb.base/remote.exp (get_sizeof): Remove.
8440 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8441 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8442 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8443 * lib/gdb.exp (get_valueof): Move from long_long.exp.
8444 (get_sizeof): Likewise.
8445
5d7cb8df
JK
84462009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8447
8448 PR fortran/9806
8449 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8450
b2febfff
PP
84512009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8452
8453 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8454
4aa995e1
PA
84552009-02-06 Pedro Alves <pedro@codesourcery.com>
8456
8457 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8458
d8906c6f
TJB
84592009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8460
8461 * gdb.python/python-cmd.exp: New file.
8462
ff4ab08d
TG
84632009-02-06 Tristan Gingold <gingold@adacore.com>
8464
8465 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8466
aacd552b
TG
84672009-02-05 Tristan Gingold <gingold@adacore.com>
8468
8469 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8470 pointer is dereferenced and use this signal name in regexp.
8471 * gdb.base/signull.exp: Ditto.
8472 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8473 * gdb.base/signull.c (main): Ditto.
8474
08c637de
TJB
84752009-02-04 Tom Tromey <tromey@redhat.com>
8476 Thiago Jung Bauermann <bauerman@br.ibm.com>
8477
8478 * gdb.python/python-value.exp: Use `gdb.history' instead of
8479 `gdb.value_from_history'.
8480 (test_value_numeric_ops): Add test for conversion of enum constant.
8481 * gdb.python/python-value.c (enum e): New type.
8482 (evalue): New global.
8483 (main): Use argv.
8484
20261af8
JG
84852009-02-04 Jerome Guitton <guitton@adacore.com>
8486
8487 * gdb.ada/uninitialized_vars: New test program.
8488 * gdb.ada/uninitialized_vars.exp: New testcase.
8489
52e44b43
TT
84902009-02-02 Tom Tromey <tromey@redhat.com>
8491
8492 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8493 * gdb.cp/pr2489.cc: Rename...
8494 * gdb.cp/pr9594.cc: ... to this.
8495
1c71341a
TT
84962009-02-02 Tom Tromey <tromey@redhat.com>
8497
8498 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8499 * gdb.cp/pr2489.cc: New file.
8500 * gdb.cp/cpcompletion.exp: New file.
8501
a4295225
TT
85022009-02-02 Tom Tromey <tromey@redhat.com>
8503
8504 PR exp/9059:
8505 * gdb.cp/call-c.exp: Add regression test.
8506 * gdb.cp/call-c.cc (FooHandle): New typedef.
8507 (main): New variable 'handle'.
8508
592375cd
VP
85092009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8510
8511 * lib/mi-support.exp (et_mi_thread_list)
8512 (check_mi_and_console_threads): Adjust for current thread in
8513 -thread-list-ids output.
8514
41447f92
VP
85152009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8516
889bf7c5
PA
8517 * gdb.mi/mi-break.exp (test_disabled_creation): New.
8518 Call it.
41447f92 8519
35669430
DE
85202009-01-28 Doug Evans <dje@google.com>
8521
8522 * gdb.arch/amd64-disp-step.S: New file.
8523 * gdb.arch/amd64-disp-step.exp: New file.
8524 * gdb.arch/i386-disp-step.S: New file.
8525 * gdb.arch/i386-disp-step.exp: New file.
8526
09f00d9a
PM
85272009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
8528
8529 * gdb.base/find.exp: Set newline variable
8530 using quotes instead of braces to fix cygwin failures.
8531
1e8fb976
PA
85322009-01-23 Pedro Alves <pedro@codesourcery.com>
8533
8534 * gdb.base/radix.exp: Add tests to ensure that that set
8535 input-radix 0 and set output-radix 0 are really rejected.
8536
da061712
PA
85372009-01-23 Pedro Alves <pedro@codesourcery.com>
8538
8539 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8540 copyright years.
8541
dd7e2d2b
PA
85422009-01-23 Pedro Alves <pedro@codesourcery.com>
8543
8544 PR gdb/9664:
8545 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8546
392452f6
PA
85472009-01-22 Pedro Alves <pedro@codesourcery.com>
8548
8549 PR c++/9631:
8550 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8551
8653e71c
PM
85522009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
8553
8554 * gdb.server/file-transfer.exp: Use EXEEXT variable for
8555 binfile definition to fix Windows OS failure.
8556
a12cc160
DJ
85572009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8558
8559 PR gdb/9346
8560 * gdb.base/interrupt.c (sigint_handler): New.
8561 (main): Install a SIGINT handler if SIGNALS is defined. Exit
8562 on error.
8563 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8564 Test "signal SIGINT".
8565
b89667eb
DE
85662009-01-19 Doug Evans <dje@google.com>
8567
8568 * gdb.base/break.exp: Update expected gdb output.
8569 * gdb.base/sepdebug.exp: Ditto.
8570 * gdb.mi/mi-syn-frame.exp: Ditto.
8571 * gdb.mi/mi2-syn-frame.exp: Ditto.
8572 * gdb.base/call-signal-resume.exp: New file.
8573 * gdb.base/call-signals.c: New file.
8574 * gdb.base/unwindonsignal.exp: New file.
8575 * gdb.base/unwindonsignal.c: New file.
8576 * gdb.threads/interrupted-hand-call.exp: New file.
8577 * gdb.threads/interrupted-hand-call.c: New file.
8578 * gdb.threads/thread-unwindonsignal.exp: New file.
8579
adb483fe
DJ
85802009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
8581
8582 * gdb.base/define.exp: Test defining and hooking prefix commands.
8583 * gdb.python/python.exp: Update test for "show user" output.
8584
60023297
JK
85852009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8586
8587 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
8588 now the output exactly, using less wildcards. Expect also the output
8589 of gfortran-4.3. Update for the f-valprint.c modification from
8590 2008-04-22.
8591 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8592 Remove gdb_test test names where matching the command.
8593
ccc57cf9
PA
85942009-01-01 Pedro Alves <pedro@codesourcery.com>
8595
8596 PR breakpoints/9681:
8597 * gdb.base/watchpoint.exp: Add regression test.
8598
c7a6ca08
PA
85992008-12-31 Pedro Alves <pedro@codesourcery.com>
8600
8601 * gdb.threads/attach-into-signal.exp: Don't use
8602 gdb_suppress_entire_file.
8603 * gdb.threads/attach-stopped.exp: Ditto.
8604 * gdb.threads/attachstop-mt.exp: Ditto.
8605
3a031f65
PA
86062008-12-31 Pedro Alves <pedro@codesourcery.com>
8607
8608 PR gdb/8812:
8609 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8610
09e6485f
PA
86112008-12-29 Pedro Alves <pedro@codesourcery.com>
8612
8613 PR gdb/7536:
8614 * gdb.base/radix.exp: Add tests to ensure invalid input radices
8615 and unsupported output radices are really rejected.
8616
0cd53049
JK
86172008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8618
8619 * gdb.cp/punctuator.exp: Backslash the '$' signs.
8620
ba163c7e
TT
86212008-12-22 Tom Tromey <tromey@redhat.com>
8622
8623 * gdb.cp/punctuator.exp: New file.
8624
6f4de6c9
JK
86252008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8626
8627 * gdb.base/completion.exp (Completing non-existing component): New test.
8628
0f34d0b4
JK
86292008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8630
8631 Fix for PR gdb/8648.
8632 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8633 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8634 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8635 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8636
db2ad4c3
JK
86372008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8638
8639 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8640
bb5ef15e
DP
86412008-12-16 Christophe Lyon <christophe.lyon@st.com>
8642
8643 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8644 compiler actually generate code at the expected line number.
8645
90142adc
JZ
86462008-12-15 Jie Zhang <jie.zhang@analog.com>
8647
8648 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8649
fad6eecd
TT
86502008-12-12 Tom Tromey <tromey@redhat.com>
8651
8652 * gdb.base/commands.exp (redefine_hook_test): New proc.
8653 Call it.
8654
17c8aaf5
TT
86552008-12-11 Tom Tromey <tromey@redhat.com>
8656
8657 * gdb.base/macscp.exp: New regression test.
8658
7c8adf68
TT
86592008-12-11 Tom Tromey <tromey@redhat.com>
8660
8661 * gdb.base/macscp.exp: Print "address.addr".
8662 * gdb.base/macscp1.c (struct outer): New struct.
8663 (address): New global.
8664
b05dcbb7
TT
86652008-12-09 Tom Tromey <tromey@redhat.com>
8666
8667 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8668 Call it.
8669
2d476de1
DE
86702008-12-04 Doug Evans <dje@google.com>
8671
8672 * gdb.server/ext-run.exp: Relax regexp for init program.
8673
87bdc959
TG
86742008-12-03 Tristan Gingold <gingold@adacore.com>
8675
8676 * gdb.base/macscp.exp: Generate an object file during compilation
8677 to work around Darwin dsymutil limitations.
8678
e0740f77
JK
86792008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8680
8681 Test resolving external references to TLS variables.
8682 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8683 FILE2_THREAD_LOCAL.
8684 (testfile2, srcfile2): New variables.
8685 * gdb.threads/tls.c (file2_thread_local)
8686 (function_referencing_file2_thread_local): New.
8687 * gdb.threads/tls2.c: New file.
8688
67f0aac5
JB
86892008-11-28 Joel Brobecker <brobecker@adacore.com>
8690
8691 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
8692 rather than integer, as integer might not be big enough when
8693 on 64bit targets.
67f0aac5 8694
c332165e
JG
86952008-11-27 Jerome Guitton <guitton@adacore.com>
8696
8697 * gdb.cp/formatted-ref.exp: Add equality test.
8698 * gdb.ada/formatted_ref.exp: Ditto.
8699
fc9b693c
JK
87002008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8701
8702 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8703 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8704
a9c64011
AS
87052008-11-20 Andreas Schwab <schwab@suse.de>
8706
8707 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8708 matching syscall entry point.
8709 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8710 (tcatch_vfork_then_child_follow): Likewise. Finish through
8711 vfork even if we stopped at the syscall trampoline.
8712
e2fd701e
DE
87132008-11-20 Doug Evans <dje@google.com>
8714
8715 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8716
69abc51c
TJB
87172008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
8718
8719 * gdb.arch/ppc-dfp.exp: New file.
8720 * gdb.arch/ppc-dfp.c: New file.
8721
c14c28ba
PP
87222008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8723
8724 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 8725
2e74121d
DE
87262008-11-17 Doug Evans <dje@google.com>
8727
8728 * gdb.mi/mi-syn-frame.exp: Update expected output.
8729 * gdb.mi/mi2-syn-frame.exp: Update expected output.
8730
66bb093b
VP
87312008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8732
8733 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
8734 "thread N" results in =thread-selected.
8735 * lib/mi-support (mi_run_cmd, mi_expect_stop)
8736 (mi_send_resuming_command_raw): Be prepared for
8737 =thread-selected.
8738
3d043ef6
VP
87392008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8740
a9c64011
AS
8741 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8742 * lib/mi-support.exp: Likewise.
3d043ef6 8743
808104c8
JB
87442008-11-16 Joel Brobecker <brobecker@adacore.com>
8745
8746 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8747 commands from the expected output for "help catch".
8748
00b22944
JB
87492008-11-15 Joel Brobecker <brobecker@adacore.com>
8750
8751 * gdb.ada/int_deref.exp: New testcase.
8752
59669435
TT
87532008-11-14 Nick Roberts <nickrob@snap.net.nz>
8754
8755 * gdb.mi/gdb2549.exp: New file.
8756
de04a248
DE
87572008-11-11 Doug Evans <dje@google.com>
8758
8759 * gdb.base/callexit.exp: New file.
8760 * gdb.base/callexit.c: New file.
8761
6b8ce727
DE
87622008-11-10 Doug Evans <dje@google.com>
8763
8764 * lib/gdb.exp (GDBFLAGS): Move -nx ...
8765 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
8766 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8767 (default_gdb_start,default_gdb_exit): Ditto.
8768 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8769 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8770 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8771 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8772 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8773 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8774
1b14b8aa
AS
87752008-11-03 Andreas Schwab <schwab@suse.de>
8776
8777 * gdb.base/hashline2.exp: Fix typo.
8778 * gdb.base/hashline3.exp: Likewise.
8779
f3134b88
TT
87802008-10-30 Tom Tromey <tromey@redhat.com>
8781
8782 * gdb.base/pointers.exp: Add test.
8783 * gdb.base/pointers.c (k, S): New typedefs.
8784 (instance): New global.
8785
c2226152
AS
87862008-10-30 Andreas Schwab <schwab@suse.de>
8787
8788 * gdb.base/args.exp: Add tests for newlines.
8789
462f405c
JB
87902008-10-30 Joel Brobecker <brobecker@adacore.com>
8791
8792 gdb.base/foll-exec.exp: Update the expected output of a couple
8793 of "info breakpoints" tests.
8794
79a45b7d
TT
87952008-10-28 Tom Tromey <tromey@redhat.com>
8796
8797 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8798
adc13a14
PA
87992008-10-24 Pedro Alves <pedro@codesourcery.com>
8800
8801 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8802 gdb_start_cmd.
8803 Use runto_main before any test that requires execution.
8804
252fbfc8
PA
88052008-10-23 Pedro Alves <pedro@codesourcery.com>
8806
8807 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8808 instead of SIGINT.
8809
28148e3d
JB
88102008-10-22 Joel Brobecker <brobecker@adacore.com>
8811
8812 * gdb.base/completion.exp: Update expected output following
8813 the addition of the "info tasks" command.
8814
c209f847
TT
88152008-10-22 Tom Tromey <tromey@redhat.com>
8816
8817 * gdb.base/exprs.exp (test_expr): Add test for string
8818 concatenation.
8819
f177e350
PA
88202008-10-19 Pedro Alves <pedro@codesourcery.com>
8821
8822 * configure.ac: Output gdb.python/Makefile.
8823 * configure: Regenerate.
8824 * gdb.python/Makefile.in: New.
8825
cce89356
JB
88262008-10-16 Joel Brobecker <brobecker@adacore.com>
8827
8828 * gdb.base/foll-fork.exp: Adjust the expected output to match
8829 the new description for fork/vfork catchpoints in the "info
8830 breakpoints" output.
8831
176d289d
TJB
88322008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8833
8834 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8835
a08702d6
TJB
88362008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8837
8838 * gdb.python/python-value.c: New file.
8839 * gdb.python/python-value.exp: New file.
8840
1c5cfe86
PA
88412008-10-15 Pedro Alves <pedro@codesourcery.com>
8842
8843 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8844
5a98ad69
DP
88452008-10-15 Denis Pilat <denis.pilat@st.com>
8846
41702f1b 8847 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 8848
dcb1a1e2
TT
88492008-10-09 Tom Tromey <tromey@redhat.com>
8850
8851 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8852 'fprintf' and 'stderr'.
8853
9124fe48
JB
88542008-10-07 Joel Brobecker <brobecker@adacore.com>
8855
8856 * gdb.ada/ref_tick_size.exp: New testcase.
8857
45452591
DE
88582008-10-06 Doug Evans <dje@google.com>
8859
8860 * gdb.dwarf2/dw2-cu-size.exp: New file.
8861 * gdb.dwarf2/dw2-cu-size.S: New file.
8862
8863 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8864 .Ltype_int for clarity.
8865
4fc5b208
PP
88662008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8867
8868 PR gdb/2384:
8869 * gdb.cp/gdb2384.exp: Extended to test more cases.
8870 * gdb.cp/gdb2384.cc: Likewise.
8871 * gdb.cp/gdb2384-base.h: Likewise.
8872 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 8873
d78df370
JK
88742008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 * gdb.base/maint.exp (maint print type): Remove printing
8877 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8878
9a044a89
TT
88792008-09-30 Tom Tromey <tromey@redhat.com>
8880
8881 * gdb.base/macscp.exp: Add completion tests.
8882 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8883 (TWENTY_THREE): Likewise.
8884 (FORTY_EIGHT): Likewise.
8885
506800a9
TT
88862008-09-30 Tom Tromey <tromey@redhat.com>
8887
8888 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8889 everywhere.
8890 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8891
1a6f01b5
JK
88922008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8893
8894 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8895 testcase is derived from. Fix racy dependency on an expected PID
8896 number. No longer support the testcase on Linux kernel 2.4.x.
8897
2fae03e8
TT
88982008-09-27 Tom Tromey <tromey@redhat.com>
8899
8900 * gdb.base/macscp.exp: Add tests for stringification, splicing,
8901 and varargs.
8902
1ad15515
PA
89032008-09-22 Pedro Alves <pedro@codesourcery.com>
8904
8905 * lib/mi-support.exp (mi_expect_interrupt): New.
8906 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8907 from gdb.mi/mi-nonstop.exp.
8908 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8909 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8910 lib/mi-support.exp.
8911 Use mi_check_thread_states throughout. Avoid ".*" and do not
8912 require an anchor after -exec-run.
8913
d0b76dc6
DJ
89142008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
8915
8916 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8917 stop is pending. Avoid ".*" when two stops are pending.
8918 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8919 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8920 newlines in fullnames.
8921 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8922 (mi_expect_stop): Update comments. Only anchor in sync mode.
8923 Do not match newlines.
8924 (mi_send_resuming_command_raw): Always return status.
8925 (mi_get_stop_line): Do not match more than one line by accident.
8926 Only anchor in sync mode.
8927 (mi_run_inline_test): If -exec-next fails, give up.
8928
9990c830
UW
89292008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8930
8931 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8932 on SPU.
8933
ebcf6f00
JB
89342008-09-10 Joel Brobecker <brobecker@adacore.com>
8935
8936 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
8937
b6db24e5
JB
89382008-09-10 Joel Brobecker <brobecker@adacore.com>
8939
8940 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
8941 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8942 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
8943 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8944 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
8945 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
8946 gdb.ada/interface.exp, gdb.ada/null_array.exp,
8947 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8948 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8949 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8950 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
8951 Include the "= " sequence in the expected output of print tests.
8952
2bf448e0
JB
89532008-09-10 Joel Brobecker <brobecker@adacore.com>
8954
8955 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
8956 description for boolean types.
8957
d51fd4c8
PA
89582008-09-09 Pedro Alves <pedro@codesourcery.com>
8959
8960 * gdb.base/hook-stop-continue.c: New.
8961 * gdb.base/hook-stop-continue.exp: New.
8962
694182d2
DJ
89632008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8964
8965 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
8966
3b8a7fc0
JG
89672008-09-08 Jerome Guitton <guitton@adacore.com>
8968
8969 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
8970 (stack_check_probe_2, stack_check_probe_loop_1)
8971 (stack_check_probe_loop_2): New functions.
8972 (main): Add call to these new functions.
8973 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
8974 functions, check that the breakpoint is inserted at the appropriate
8975 location.
8976 (insert_breakpoint): Slightly refine this procedure so that it can
8977 be called several times in the test.
8978
96cc0ae8
JG
89792008-09-08 Jerome Guitton <guitton@adacore.com>
8980
8981 * gdb.base/stack-checking.c: New file.
8982 * gdb.base/stack-checking.exp: New file.
8983
1f08b409
TJB
89842008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8985
8986 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
8987 * gdb.arch/altivec-regs.exp: Likewise.
8988 * gdb.arch/vsx-regs.exp: Likewise.
8989
3099e1c4
TJB
89902008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8991
8992 * gdb.arch/ppc-fp.exp: New file.
8993 * gdb.arch/ppc-fp.c: New file.
8994
cc69bfc1
PP
89952008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8996
8997 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
8998 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 8999
b02a33db
MS
90002008-09-04 Michael Snyder <msnyder@vmware.com>
9001
9002 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9003 as "at" (for non-debug functions such as _start).
9004
2992cbe0
UW
90052008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9006
9007 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9008 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9009 software watchpoints.
9010 * gdb.base/watch_thread_num.exp: Likewise.
9011
514f746b
AR
90122008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9013
9014 * gdb.arch/i386-bp_permanent.exp: New test.
9015
876cecd0
TT
90162008-08-24 Tom Tromey <tromey@redhat.com>
9017
9018 * gdb.base/maint.exp: Update "maint print type".
9019
80f73d71
VP
90202008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9021
9022 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9023 support. Adjust the order of "*running" notifications.
9024 * gdb.mi/non-stop.c: Don't cast from int to void* and
9025 back.
9026
d9c78d7d
MK
90272008-08-20 Mark Kettenis <kettenis@gnu.org>
9028
9029 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9030 expect to find it in the "info frame" output.
9031
97a2d1d3
DJ
90322008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9033
9034 * gdb.base/interp.exp: Always consume both prompts.
9035
b96e2927
PA
90362008-08-20 Pedro Alves <pedro@codesourcery.com>
9037
9038 * gdb.base/pending.exp: Test pending breakpoints without symbols
9039 loaded.
9040
8cf6e61a
VP
90412008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9042
9043 * lib/mi-support.exp (mi_expect_stop): Produce
9044 more details on failures.
9045 * gdb.mi/mi-nonstop.exp: New.
9046 * gdb.mi/non-stop.c: New.
9047
c6ebd6cf
VP
90482008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9049
a9c64011
AS
9050 * gdb.mi/mi-async.exp: Use 'set target-async'.
9051 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9052
46a9b8ed
DJ
90532008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9054
9055 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9056
44feb3ce
TT
90572008-08-17 Tom Tromey <tromey@redhat.com>
9058
9059 * gdb.base/help.exp (help catch): Rewrite.
9060
311a4e6b
TJB
90612008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9062
9063 * gdb.base/define.exp: Test indented command documentation.
9064 * gdb.python/python.exp: Test indented multi-line command.
9065
604c2f83
LM
90662008-08-15 Luis Machado <luisgpm@br.ibm.com>
9067
9068 * testsuite/gdb.arch/vsx-regs.c: New source file.
9069 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9070 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9071
886a217c
TT
90722008-08-14 Tom Tromey <tromey@redhat.com>
9073
9074 * gdb.base/macscp.exp: Add regression test for "macro define" or
9075 "macro undef" with no arguments.
9076
c814a4f3
PP
90772008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9078
9079 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9080
12ab8a60
UW
90812008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9082
9083 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9084
d57a3c85
TJB
90852008-08-06 Tom Tromey <tromey@redhat.com>
9086
9087 * gdb.python/python.exp: New file.
9088
c7b778ff
JK
90892008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9090
9091 Fix for PR gdb/1543.
9092 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9093 $LOCATION.
9094 (location): New variable.
9095 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9096 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9097 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9098 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9099 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9100 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9101 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9102 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9103 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9104 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9105 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9106 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9107 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9108 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9109 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9110 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9111 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9112 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9113 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9114 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9115 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9116 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9117 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9118 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9119 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9120 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9121 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9122 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9123 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9124 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9125 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9126 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9127 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9128 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9129 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9130 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9131 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9132 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9133 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9134 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9135 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9136 gdb.base/type-opaque.exp, gdb.base/until.exp,
9137 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9138 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9139 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9140 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9141 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9142 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9143 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9144 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9145 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9146 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9147 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9148 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9149 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9150 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9151 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9152 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9153 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9154 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9155 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9156 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9157 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9158 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9159 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9160 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9161 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9162 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9163 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9164 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9165 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9166 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9167 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9168 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9169 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9170 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9171 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9172 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9173 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9174 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9175 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9176 to bug-gdb@prep.ai.mit.edu .
9177
5e06a3d1
VP
91782008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9179
9180 * lib/mi-support.exp (mi_load_shlibs): New.
9181 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9182
9d81d21b
VP
91832008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9184
9185 * lib/mi-support.exp (get_mi_thread_list)
9186 (check_mi_and_console_threads): New, moved from ...
9187 * gdb.mi/mi-pthread.exp: ...here.
9188 * gdb.mi/gdb669.exp (get_mi_thread_list)
9189 (check_mi_and_console_threads): Delete.
9190 * gdb.mi/mi2-pthread.exp: Likewise.
9191
bae98fe0
TT
91922008-07-28 Tom Tromey <tromey@redhat.com>
9193
9194 * Makefile.in (just-check): Remove. Move body to...
9195 (check): ... here.
9196
57380f4e
DJ
91972008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9198
9199 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9200 Add a test for duplicated SIGINTs.
9201
e09490f1
DJ
92022008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9203
9204 * gdb.threads/schedlock.exp (get_args): Update to work for any
9205 value of NUM.
9206 (Top level): Report the number of threads that did not resume.
9207
6387b45f
DJ
92082008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9209
9210 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9211
62f64ff2
DJ
92122008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9213
9214 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9215 non-MI prompt.
9216
fa8de41e
TT
92172008-07-26 Tom Tromey <tromey@redhat.com>
9218
9219 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9220 (function_struct, function_struct_ptr): New globals.
9221 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9222 function pointer in a struct.
9223
ccb3ac8a
TT
92242008-07-26 Tom Tromey <tromey@redhat.com>
9225
9226 * gdb.base/macscp.exp: Add test for macro lexing bug.
9227
d7d9f01e
TT
92282008-07-18 Tom Tromey <tromey@redhat.com>
9229
9230 * gdb.base/macscp.exp: Add macro tests.
9231
9bf07184
PP
92322008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9233
9234 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9235
becf6477
PP
92362008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9237
9238 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9239
0709f7d3
PP
92402008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9241
9242 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 9243
7093c834
PP
92442008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9245
9246 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 9247
b432ffe3
JK
92482008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9249
9250 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9251
b1a268e5
VP
92522008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9253
9254 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9255
e2995f8e
KB
92562008-07-11 Kevin Buettner <kevinb@redhat.com>
9257
9258 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9259 of regexp to account for changes made to GDB in the printing of
9260 byte vectors.
9261
14032a66
TT
92622008-07-11 Tom Tromey <tromey@redhat.com>
9263
9264 * gdb.base/completion.exp: Add 'help' completion test.
9265
981505ef
JK
92662008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9267
9268 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9269
10568435
JK
92702008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9271
9272 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9273
4487aabf
PA
92742008-07-09 Pedro Alves <pedro@codesourcery.com>
9275
9276 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9277
a4a9b1c4
PA
92782008-07-09 Pedro Alves <pedro@codesourcery.com>
9279
9280 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9281
3c3185ac
JK
92822008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9283
9284 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9285
7ebd49dc
VP
92862008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9287
9288 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9289 previous commit. Add a comment.
9290
84e46146
PA
92912008-06-28 Pedro Alves <pedro@codesourcery.com>
9292
9293 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9294
0f8d4a2f
VP
92952008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9296
9297 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9298
f747e0ce
PA
92992008-06-27 Pedro Alves <pedro@codesourcery.com>
9300
9301 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9302 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9303 compiling an executable, link in an object that forces unbuffered
9304 output.
9305 * lib/set_unbuffered_mode.c: New file.
9306
734a5c36
JK
93072008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9308
9309 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9310
a2840c35
VP
93112008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9312
a9c64011
AS
9313 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9314 mi_expect_stop.
9315 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9316 Demand that *running is output.
9317 (detect_async): Perform checking every time.
9318 (mi_send_resuming_command): Extract everything into...
9319 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
9320 (mi_expect_stop): Don't accept any output before *stopped.
9321
6ae37fef
VP
93222008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9323
9324 Robustify mi-simplerun.
a9c64011
AS
9325 * gdb.mi/basics.c (main): Add a call to sleep.
9326 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9327 * gdb.mi/mi2-cli.exp: Likewise.
9328 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 9329
b4aa76f0 93302008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
9331
9332 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9333
e1ac3328
VP
93342008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9335
a9c64011
AS
9336 * gdb.mi/mi-console.exp: Adjust.
9337 * gdb.mi/mi-syn-frame.exp: Adjust.
9338 * gdb.mi/mi2-console.exp: Adjust.
9339 * gdb.mi/mi2-syn-frame.exp: Adjust.
9340 * lib/mi-support.exp (mi_run_cmd): Adjust.
9341 (mi_send_resuming_command): Adjust.
e1ac3328 9342
f7f9a841
VP
93432008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9344
9345 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
9346 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9347 testing of stopped.
9348 * gdb.mi/mi2-syn-frame.exp: Likewise.
9349 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9350 (async, detect_async): New.
9351 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9352 depending on if we're running in sync or async mode.
f7f9a841 9353
37cd5d19
TT
93542008-06-09 Tom Tromey <tromey@redhat.com>
9355
9356 * gdb.base/completion.exp: New tests for field name completion
9357 with spaces, and field name completion with '->'.
9358
65d12d83
TT
93592008-06-06 Tom Tromey <tromey@redhat.com>
9360
9361 * gdb.base/break1.c (struct some_struct): New struct.
9362 (values): New global.
9363 * gdb.base/completion.exp: Add field name completion test.
9364
ebfe2e3f
PP
93652008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9366
9367 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9368 to pointer.
9369 * gdb.cp/call-c.cc: Likewise.
9370
bcf6fc3a
NR
93712008-06-06 Nick Roberts <nickrob@snap.net.nz>
9372
9373 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9374 annotation.
9375
49fd4a42 93762008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 9377 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
9378
9379 * gdb.threads/execl.c, gdb.threads/execl1.c,
9380 gdb.threads/execl.exp: New tests.
a9c64011 9381
8a34ac3f
AR
93822008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9383 Daniel Jacobowitz <dan@codesourcery.com>
9384
9385 * gdb.cp/exception.exp: Activate test, make it work with pending
9386 catchpoints.
9387
86ae69ef
JK
93882008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9389
9390 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9391
f7f9ae2c
VP
93922008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9393
a9c64011
AS
9394 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9395 now printed.
9396 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 9397
2a2d4dc3
AS
93982008-05-27 Andreas Schwab <schwab@suse.de>
9399
9400 * gdb.base/frame-args.exp: Handle arguments that are optimized
9401 out.
9402
5099e4d9
LM
94032008-05-26 Luis Machado <luisgpm@br.ibm.com>
9404
9405 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9406 quiet for ppc32 and group options into a single variable.
9407
d9c36a91
JB
94082008-05-23 Joel Brobecker <brobecker@adacore.com>
9409
9410 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9411 of zero-size elements.
9412 * gdb.ada/null_array.exp: Test printing this new array.
9413
103a8671
JK
94142008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9415
9416 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9417
07a4cc1a 94182008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
9419
9420 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9421 of the "finish" command.
9422
55f996a7
NR
94232008-05-21 Nick Roberts <nickrob@snap.net.nz>
9424
9425 * gdb.base/annota1.exp: Test for new annotation.
9426
907fc202
UW
94272008-05-16 Pedro Alves <pedro@codesourcery.com>
9428
9429 * gdb.base/fixsection.exp: New file.
9430 * gdb.base/fixsection0.c: New file.
9431 * gdb.base/fixsection1.c: New file.
9432
e8f97270
UW
94332008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9434
9435 * gdb.base/annota1.exp: Accept printf@... in place of printf.
9436 * gdb.base/annota3.exp: Likewise.
9437
ac0bb574
NF
94382008-05-13 Nathan Froyd <froydnj@codesourcery.com>
9439
9440 * gdb.base/watch_thread_num.exp: Don't run tests that require
9441 watchpoints if the target doesn't support them.
9442
6fadd07a
DE
94432008-05-12 Doug Evans <dje@google.com>
9444
9445 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9446
6e9a4a30
JB
94472008-05-09 Joel Brobecker <brobecker@adacore.com>
9448
9449 * gdb.ada/assign_1.exp: New testcase.
9450
08388c79
DE
94512008-05-09 Doug Evans <dje@google.com>
9452
a3c83fae
DE
9453 * gdb.base/find.exp: New file.
9454 * gdb.base/find.c: New file.
08388c79 9455
bd5ddfe8
DJ
94562008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
9457
9458 * gdb.base/commands.exp (watchpoint_command_test): Handle
9459 gdb,no_hardware_watchpoints.
9460 * gdb.base/float.exp: Allow ARM targets without floating point.
9461 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9462
b5dd68e2 94632008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 9464 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
9465
9466 * gdb.ada/lang_switch: New test program.
9467 * gdb.ada/lang_switch.exp: New testcase.
9468
382d13d1
DE
94692008-05-05 Doug Evans <dje@google.com>
9470
9471 * gdb.base/help.exp (disassemble): Update expected help text.
9472
9dd789d0
PA
94732008-05-04 Pedro Alves <pedro@codesourcery.com>
9474
9475 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9476
611c83ae
PA
94772008-05-04 Pedro Alves <pedro@codesourcery.com>
9478
9479 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9480 different times.
9481
ff013f42
JK
94822008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9483
9484 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9485 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9486 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9487 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9488
96dff6a2
VP
94892008-05-04 Vladimir Prus <vladimir@codesourcery.com>
9490
9491 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9492 notification to appear.
9493
55cd6f92
DJ
94942008-05-04 Daniel Jacobowitz <dan@debian.org>
9495
9496 * gdb.base/fullname.c: New file.
9497 * gdb.base/fullname.exp: New file.
9498 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9499
d705c43c
PA
95002008-05-03 Pedro Alves <pedro@codesourcery.com>
9501
9502 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9503 expressions with macros.
9504
333222e1
JK
95052008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9506
9507 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9508
5ac01682
DJ
95092008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
9510
9511 * gdb.base/completion.exp: Handle lack of other symbols beginning
9512 with "a".
9513
9514 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9515
237fc4c9
PA
95162008-05-02 Jim Blandy <jimb@codesourcery.com>
9517
9518 * gdb.asm/asmsrc1.s: Add scratch space.
9519
ed5e9466
DJ
95202008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9521 Daniel Jacobowitz <dan@codesourcery.com>
9522
9523 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9524 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9525 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9526
b39cc962
DJ
95272007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
9528
9529 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9530
36d520f5
JB
95312008-05-01 Joel Brobecker <brobecker@adacore.com>
9532
9533 * gdb.base/info-target.exp: New testcase.
9534
8d4e3071
DJ
95352008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9536
9537 * gdb.cp/hang.exp: Use .cc instead of .C.
9538 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9539 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9540
6f3f3097
DJ
95412008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9542
9543 * gdb.base/gdb1250.exp: Remove perror.
9544 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9545
5550a914
PA
95462008-04-30 Pedro Alves <pedro@codesourcery.com>
9547
9548 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9549 .2byte.
9550
d848e687
DJ
95512008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
9552
9553 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
9554 (maybe_kfail): New.
9555
93b5768b
PA
95562008-04-25 Pedro Alves <pedro@codesourcery.com>
9557
9558 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9559
721c02de
VP
95602008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9561
a9c64011
AS
9562 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9563 * gdb.mi/mi2-syn-frame.exp: Likewise.
9564 * lib/mi-support.exp: Likewise.
721c02de 9565
74960c60
VP
95662008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9567
9568 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9569 to specify regexp for the location to stop at.
9570 * gdb.base/break-always.c: New.
9571 * gdb.base/break-always.exp: New.
9572
d24317b4
VP
95732008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9574
9575 * lib/mi-support.exp (mi_runto_helper): Adjust
9576 for the original-location field.
9577 (mi_create_breakpoint, mi_list_breakpoints): New.
9578 * gdb.mi/mi-break.exp: Adjust.
9579 * gdb.mi/mi2-break.exp: Adjust.
9580 * gdb.mi/mi-pending.exp: Adjust.
9581 * gdb.mi/mi-simplerun.exp: Adjust.
9582 * gdb.mi/mi2-simplerun.exp: Adjust.
9583 * gdb.mi/mi-syn-frame.exp: Adjust.
9584 * gdb.mi/mi2-syn-frame.exp: Adjust.
9585 * gdb.mi/mi-until.exp: Adjust.
9586 * gdb.mi/mi2-until.exp: Adjust.
9587 * gdb.mi/mi-var-display.exp: Adjust.
9588 * gdb.mi/mi2-var-display.exp: Adjust.
9589 * gdb.mi/mi-watch.exp: Adjust.
9590 * gdb.mi/mi2-watch.exp: Adjust.
9591
fdc59709 95922008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 9593
a9c64011
AS
9594 * aclocal.m4: Add override.m4.
9595 * configure: Regenerate.
fdc59709 9596
8e91f023
VP
95972008-04-19 Vladimir Prus <vladimir@codesourcery.com>
9598
9599 * gdb.mi/var-cmd.c (do_at_tests): Verify that
9600 '-var-update --all-values' reports new value even the type
9601 of a variable object has changed.
9602
233a11ab
CS
96032008-04-18 Craig Silverstein <csilvers@google.com>
9604
9605 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9606 files.
d24317b4 9607
9c1137ad
JB
96082008-04-18 Joel Brobecker <brobecker@adacore.com>
9609
9610 * gdb.ada/atomic_enum: New test program.
9611 * gdb.ada/atomic_enum.exp: New testcase.
9612
66d0bbc7
DE
96132008-04-17 Doug Evans <dje@google.com>
9614
9615 * gdb.opt/Makefile.in: Fix whitespace.
9616
100906b0
UW
96172008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
9618
9619 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9620
4584e32e
DE
96212008-04-17 Doug Evans <dje@google.com>
9622
9623 * gdb.base/hashline1.exp: New testcase.
9624 * gdb.base/hashline2.exp: New testcase.
9625 * gdb.base/hashline2.exp: New testcase.
9626
0a320680
PA
96272008-04-17 Pedro Alves <pedro@codesourcery.com>
9628
9629 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9630
18ac113b
AR
96312008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
9632
9633 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9634 temporary breakpoint to match "Temporary breakpoint".
9635 * gdb.base/break.exp (delete_breakpoints): Likewise.
9636 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9637 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9638 * gdb.base/display.exp: Likewise.
9639 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9640 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9641 * gdb.base/restore.exp (restore_tests): Likewise.
9642 * gdb.base/sepdebug.exp: Likewise.
9643 * gdb.base/watchpoint.exp: Likewise.
9644 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9645 * gdb.mi/mi-pending.exp: Likewise.
9646 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9647 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9648 * gdb.mi/mi-var-cmd.exp: Likewise.
9649 * gdb.mi/mi-var-display.exp: Likewise.
9650 * gdb.mi/mi2-cli.exp: Likewise.
9651 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9652 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9653 * gdb.mi/mi2-var-display.exp: Likewise.
9654 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9655 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9656 new "disp" field.
a9c64011 9657 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
9658 reason. This is to support fix for PR2424.
9659
add38693
JK
96602008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9661
9662 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9663
fcacd99f
VP
96642008-04-13 Vladimir Prus <vladimir@codesourcery.com>
9665
9666 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 9667 field. Add more floating varobj tests.
fcacd99f 9668 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
9669 field.
9670 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9671 (main): Call do_at_tests.
9672 * lib/mi-support.exp (mi_create_floating_varobj)
9673 (mi_varobj_update_with_type_change): New.
fcacd99f 9674
de051565
MK
96752008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
9676
9677 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9678 option of -var-evaluate-expression.
9679 * gdb.mi/mi2-var-display.exp: Likewise.
9680
dbc52822
VP
96812008-04-07 Vladimir Prus <vladimir@codesourcery.com>
9682
9683 Introduce test setup helpers.
a9c64011
AS
9684 * lib/gdb.exp (build_executable, clean_restart)
9685 (prepare_for_testing): New.
9686 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9687 * gdb.base/return.exp: Likewise.
9688 * gdb.base/ending-run.exp: Likewise.
dbc52822 9689
473591da
NR
96902008-04-07 Nick Roberts <nickrob@snap.net.nz>
9691
9692 * gdb.mi/mi-async.exp: New test for asynchronous Machine
9693 Interface (MI) responses.
9694
2b2d9e11
VP
96952008-04-06 Vladimir Prus <vladimir@codesourcery.com>
9696
a9c64011
AS
9697 * gdb.cp/breakpoint.cc: New code to test conditions involving
9698 member variables.
9699 * gdb.cp/breakpoint.exp: Test condition involving member
9700 variables.
2b2d9e11 9701
bb378428
VP
97022008-04-05 Vladimir Prus <vladimir@codesourcery.com>
9703
9704 * lib/mi-support.exp (mi_expect_stop): New.
9705 (mi_run_cmd): Change the
9706 token. Use mi_send_resuming_command, use
9707 mi_expect_stop.
9708 (mi_execute_to_helper): Rename to mi_execute_to.
9709 (mi_send_resuming_command): Add more error patterns.
9710 (mi_wait_for_stop): Renamed to...
9711 (mi_get_stop_line): ...this.
9712 (mi_run_inline_test): Adjust.
9713
9714 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9715 * gdb.mi/mi-console.exp: Likewise.
9716 * gdb.mi/mi-pending.exp: Likewise.
9717 * gdb.mi/mi-simplerun.exp: Likewise.
9718 * gdb.mi/mi-stack.exp: Likewise.
9719 * gdb.mi/mi-stepi.exp: Likewise.
9720 * gdb.mi/mi-syn-frame.exp: Add comment.
9721 * gdb.mi/mi-until.exp: Likewise.
9722 * gdb.mi/mi-var-display.exp: Likewise.
9723 * gdb.mi/mi-watch.exp: Likewise.
9724 * gdb.mi/mi2-cli.exp: Likewise.
9725 * gdb.mi/mi2-console.exp: Likewise.
9726 * gdb.mi/mi2-simplerun.exp: Likewise.
9727 * gdb.mi/mi2-stack.exp: Likewise.
9728 * gdb.mi/mi2-stepi.exp: Likewise.
9729 * gdb.mi/mi2-until.exp: Likewise.
9730 * gdb.mi/mi2-var-display.exp: Likewise.
9731 * gdb.mi/mi2-watch.exp: Likewise.
9732
62172bb9
UW
97332008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9734
9735 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9736
9737 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9738
a13e061a
PA
97392008-04-04 Pedro Alves <pedro@codesourcery.com>
9740
9741 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9742 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9743 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9744 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9745 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9746 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9747 expect an mi error duplicated in stderr.
9748
eae06beb
JB
97492008-04-03 Joel Brobecker <brobecker@adacore.com>
9750
9751 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9752 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9753 Add a couple of tests that verify the behavior when the new setting
9754 is set to "cancel" and "all".
9755 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9756 "ask" before we start the testing.
9757
79c6ced6
AR
97582008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
9759
9760 * gdb.cp/casts.cc: Add class reference variables.
9761 * gdb.cp/casts.exp: New test cases for up/down casting references.
9762
6c2d1a6b
MK
97632008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
9764
9765 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9766 instead of beginning to make an extra test pass.
9767 * gdb.mi/mi2-var-display.exp: Likewise.
9768
55b411d9
MR
97692008-03-31 Maciej W. Rozycki <macro@mips.com>
9770
9771 * gdb.base/break.exp: Mark failures as such. Fix formatting.
9772
c6140da2
MD
97732008-03-31 Markus Deuling <deuling@de.ibm.com>
9774 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9775
9776 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9777 value. Add xfail for older kernels.
9778
79732189
AR
97792008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
9780
9781 Bring mi-support in line with gdb.exp.
9782 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9783 (mi_gdb_start): New function.
9784
33c3676e
MR
97852008-03-28 Maciej W. Rozycki <macro@mips.com>
9786
9787 * gdb.mi/mi-var-cmd.exp: Fix a typo.
9788
92e28119
VP
97892008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9790
9791 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9792 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 9793
9e8e3afe
VP
97942008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9795
9796 * lib/mi-support.exp (mi_create_varobj_checked): New.
9797 (mi_list_varobj_children): Allow to check for a
9798 value.
9799 (mi_list_array_varobj_children): New.
9800
9801 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9802 and mi_list_varobj_children, as opposed to hardcoding
9803 expected strings.
9804 * gdb.mi/gdb701.exp: Likewise.
9805 * gdb.mi/gdb792.exp: Likewise.
9806 * gdb.mi/mi-var-block.exp: Likewise.
9807 * gdb.mi/mi-var-cmd.exp: Likewise.
9808 * gdb.mi/mi-var-invalidate.exp: Likewise.
9809 * gdb.mi/mi2-var-block.exp: Likewise.
9810 * gdb.mi/mi2-var-child.exp: Likewise.
9811 * gdb.mi/mi2-var-cmd.exp: Likewise.
9812 * gdb.mi/mi2-var-display.exp: Likewise.
9813
9df50351
JK
98142008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9815
9816 Fix random false FAILs on i386.
9817 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9818
31e5d73a
DJ
98192008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9820
9821 PR gdb/544
9822 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9823
12f4afab
DJ
98242008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9825
9826 PR gdb/544
9827 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9828
b562a0cb
DJ
98292008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9830
9831 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9832 fixed PR gdb/544.
9833
17faa917
DJ
98342008-03-21 Pedro Alves <pedro@codesourcery.com>
9835
9836 * gdb.threads/fork-child-threads.exp: Test next over fork.
9837
6214f497
DJ
98382008-03-21 Chris Demetriou <cgd@google.com>
9839
9840 * gdb.base/break.exp (rbreak junk): New test for rbreak
9841 "Junk at end of arguments" issue.
9842
63092375
DJ
98432008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9844
9845 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9846 *& to work on created array elements.
9847 (Top level): Test print $pc with a file. Test string operations
9848 without a target.
9849 * gdb.base/ptype.exp: Do not expect *& to work on created array
9850 elements.
9851
b21991b0
DJ
98522008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9853
9854 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9855 gdb.threads/staticthreads.exp: Update exit query.
9856
c4b347c7
SL
98572008-03-07 Sandra Loosemore <sandra@codesourcery.com>
9858
9859 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9860
fa4727a6
DJ
98612008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
9862
9863 * gdb.base/watchpoint.c (global_ptr, func4): New.
9864 (main): Call func4.
9865 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9866 (test_inaccessible_watchpoint): New.
9867
2f34202f
MR
98682008-02-29 Maciej W. Rozycki <macro@mips.com>
9869
9870 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9871 select the largest.
9872
0d6ba1b1
DJ
98732008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9874
9875 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9876 frames-invalid annotations.
9877
e691325a
PM
98782008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
9879
a9c64011 9880 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 9881
f85b5ecc
DE
98822008-02-27 Doug Evans <dje@google.com>
9883
9884 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9885 for bug 1738.
9886 (breakpoint_to_handler_entry): Ditto.
9887
b40e7bf3
JB
98882008-02-27 Joel Brobecker <brobecker@adacore.com>
9889
9890 * gdb.base/ending-run.exp: Use the first line of code inside
9891 function body to test breakpoints.
9892 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9893 location where the breakpoint is inserted when using the line
9894 where a function is declared. Fix typo in the description of
9895 one of the tests.
9896 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9897
2faca73a
PM
98982008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9899
9900 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 9901 tests.
2faca73a 9902
6f439c36
PM
99032008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9904
9905 * gdb.base/args.exp: avoid same output for tests
9906 with single quotes.
9907
54e52265
VP
99082008-02-26 Vladimir Prus <vladimir@codesourcery.com>
9909
a9c64011
AS
9910 * gdb.base/annota1.exp: Adjust for 'info break'
9911 format changes.
9912 * gdb.base/annota3.exp: Likewise.
9913 * gdb.base/break.exp: Likewise.
9914 * gdb.base/condbreak.exp: Likewise.
9915 * gdb.base/pending.exp: Likewise.
9916 * gdb.base/sepdebug.exp: Likewise.
9917 * gdb.base/unload.exp: Likewise.
9918 * gdb.cp/ovldbreak.exp: Likewise.
9919 * gdb.mi/mi-pending.exp: Likewise.
54e52265 9920
897b09ca
DE
99212008-02-07 Doug Evans <dje@google.com>
9922
9923 * gdb.cp/mb-inline.exp: New.
9924 * gdb.cp/mb-inline.h: New.
9925 * gdb.cp/mb-inline1.cc: New.
9926 * gdb.cp/mb-inline2.cc: New.
9927
b1c32d35
PM
99282008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
9929
9930 * gdb.pascal/floats.pas: New test program.
9931 * gdb.pascal/floats.exp: New testcase.
9932
1a4ca44a
TJB
99332008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9934
9935 * gdb.base/callfuncs.c (t_float_many_args): New function.
9936 (t_double_many_args): New function.
9937 * gdb.base/callfuncs.exp: Add tests for exceeding float
9938 and double parameters passed through the stack.
9939
439048e8
JB
99402008-02-05 Joel Brobecker <brobecker@adacore.com>
9941
9942 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
9943 gdb.ada/complete/foo.adb: New files.
9944 * gdb.ada/complete.exp: New testcase.
9945
81fe8080
DE
99462008-02-03 Doug Evans <dje@google.com>
9947
301f0ecf
DE
9948 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
9949
81fe8080
DE
9950 * gdb.cp/gdb2384.exp: New file.
9951 * gdb.cp/gdb2384.cc: New file.
9952 * gdb.cp/gdb2384-base.h: New file.
9953 * gdb.cp/gdb2384-base.cc: New file.
9954
4b071aec
DE
99552008-02-02 Doug Evans <dje@google.com>
9956
9957 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
9958
61137ba6
JB
99592007-02-01 Joel Brobecker <brobecker@adacore.com>
9960
9961 * gdb.ada/sym_print_name: New test program.
9962 * gdb.ada/sym_print_name.exp: New testcase.
9963
99642007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
9965
9966 * gdb.ada/nested/hello.adb: New file.
9967 * gdb.ada/nested.exp: New testcase.
9968 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9969
98deb0da
VP
99702008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9971
9972 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
9973 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
9974 don't cause future evaluations of function to report
9975 creation of internal breakpoints.
98deb0da 9976
723a2275
VP
99772008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9978
9979 * gdb.mi/mi-break.exp (test_error): New.
9980 Call it.
9981
fb546a2f
LM
99822008-01-31 Luis Machado <luisgpm@br.ibm.com>
9983
9984 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
9985 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
9986
2d8fd90a
PM
99872008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9988
9989 * gdb.pascal/integers.pas: New test program.
9990 * gdb.pascal/integers.exp: New testcase.
9991
a7fa0ded
PM
99922008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9993
9994 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
9995
5e1a1926
TJB
99962008-01-30 Luis Machado <luisgpm@br.ibm.com>
9997
9998 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
9999 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10000
8d04f9f0
JB
100012008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10002
10003 * gdb.ada/formatted_ref: New test program.
10004 * gdb.ada/formatted_ref.exp: New testcase.
10005
10006 * gdb.cp/formatted-ref.cc: New file.
10007 * gdb.cp/formatted-ref.exp: New testcase.
10008
ce75a98f
JB
100092008-01-30 Joel Brobecker <brobecker@adacore.com>
10010
10011 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10012
e835f6bf
NR
100132008-01-30 Nick Roberts <nickrob@snap.net.nz>
10014
10015 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10016 (test_file_list_exec_source_file): Update to new macro-info field.
10017
d118ef87
PH
100182008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10019
10020 * gdb.ada/exprs: New test program.
10021 * gdb.ada/exprs.exp: New testcase.
10022
7d35ab09
TJB
100232008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10024
10025 * dfp-test.c (DELTA, DELTA_B): New definitions.
10026 (double_val1, double_val2, double_val3, double_val4, double_val5,
10027 double_val6, double_val7, double_val8, double_val9, double_val10,
10028 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10029 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10030 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10031 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10032 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10033 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10034 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10035 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10036 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10037 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10038 dec128_val16): New global variables.
10039 (decimal_dec128_align): New function.
10040 (decimal_mixed): Likewise.
10041 (decimal_many_args_dec32): Likewise.
10042 (decimal_many_args_dec64): Likewise.
10043 (decimal_many_args_dec128): Likewise.
10044 (decimal_many_args_mixed): Likewise.
10045 * dfp-test.exp: Add tests calling new inferior functions.
10046
2d717e4f
DJ
100472008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10048
10049 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10050 gdb.server/ext-run.exp: New files.
10051 * lib/gdbserver-support.exp (gdbserver_download): New.
10052 (gdbserver_start): New. Update gdbserver expected
10053 output.
10054 (gdbserver_spawn): Use them.
10055 (gdbserver_start_extended): New.
10056
e85a822c
DJ
100572008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10058
10059 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10060 Run on GNU/Linux.
10061 (do_exec_tests): Check for systems which do not support catchpoints.
10062 Do not match START.
10063 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10064 Run on GNU/Linux. Enable verbose output.
10065 (check_fork_catchpoints): New.
10066 (explicit_fork_child_follow, catch_fork_child_follow)
10067 (tcatch_fork_parent_follow): Update expected messages.
10068 (do_fork_tests): Use check_fork_catchpoints.
10069 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10070 Run on GNU/Linux. Enable verbose output.
10071 (check_vfork_catchpoints): New.
10072 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10073 expected messages.
10074 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10075
401ea829
JB
100762008-01-29 Jim Blandy <jimb@red-bean.com>
10077
10078 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10079 host' errors.
10080 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10081
aceaf3ad
JB
100822008-01-29 Jim Blandy <jimb@red-bean.com>
10083
10084 * gdb.threads/sigthread.c: Use barriers to ensure that
10085 child_thread and child_thread_two are always initialized before we
10086 start to use them.
10087
a5606eee
VP
100882008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10089
10090 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10091 * gdb.base/watchpoint-solib.c: New.
10092 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10093
c55a82bb
PM
100942008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10095
10096 * gdb.base/gdb1056.exp: Add unsigned integer test.
10097
0993fe05
DE
100982008-01-28 Doug Evans <dje@google.com>
10099
10100 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10101
4fe42e7f
JB
101022008-01-27 Jim Blandy <jimb@codesourcery.com>
10103
c7a69933
JB
10104 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10105
4fe42e7f
JB
10106 * gdb.base/expand-psymtabs.exp: Doc fix.
10107
5def8285
MK
101082008-01-26 Mark Kettenis <kettenis@gnu.org>
10109
10110 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10111
5313c911
NR
101122008-01-24 Nick Roberts <nickrob@snap.net.nz>
10113
a9c64011 10114 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10115 -var-set-format.
10116
93815fbf
VP
101172008-01-23 Chris Demetriou <cgd@google.com>
10118
10119 * gdb.threads/thread_events.c: New testcase source file.
10120 * gdb.threads/thread_events.exp: New testcase expect file.
10121
467a88ee
NR
101222008-01-23 Nick Roberts <nickrob@snap.net.nz>
10123
10124 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10125
10126 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10127 -var-set-format.
10128
d8f82aba
DJ
101292008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10130 Vladimir Prus <vladimir@codesourcery.com>
10131
10132 * gdb.base/float.exp: Allow missing floating point for m68k and
10133 PowerPC.
10134
60c46647
VP
101352008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10136
10137 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10138 ignore count.
10139 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10140 * gdb.mi/mi-cli.exp: Adjust.
10141 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10142
c7dd36a1
PA
101432008-01-17 Pedro Alves <pedro@codesourcery.com>
10144
10145 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10146 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10147 with dummy_ptr's address.
10148 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10149 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10150 all targets.
10151 * gdb.mi/mi2-var-child.exp: Likewise.
10152
39d5313e
JB
101532008-01-09 Joel Brobecker <brobecker@adacore.com>
10154
10155 * gdb.ada/null_array: New test program.
10156 * gdb.ada/null_array.exp: New testcase.
10157
0aea4bf3
LM
101582008-01-09 Luis Machado <luisgpm@br.ibm.com>
10159
10160 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10161 with required float modifiers.
10162
0b354900
JB
101632008-01-08 Joel Brobecker <brobecker@adacore.com>
10164
10165 * gdb.ada/funcall_param: New test program.
10166 * gdb.ada/funcall_param.exp: New testcase.
10167
cdb7f5d4
JB
101682008-01-08 Joel Brobecker <brobecker@adacore.com>
10169
10170 * gdb.ada/arrayparam: New test program.
10171 * gdb.ada/arrayparam.exp: New testcase.
10172
88e2547f
JB
101732008-01-08 Joel Brobecker <brobecker@adacore.com>
10174
10175 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10176 landed. Should also fix random failures in the test following it.
10177
f6867ce0
TJB
101782008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10179
10180 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10181 for expressions with decimal float values.
10182 (test_dfp_conversions): New function to test casts to and from
10183 decimal float types.
10184 Call test_dfp_conversions.
10185 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10186 elements.
10187 (main): Initialize ds.float4 and ds.double8 elements.
10188 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10189 string to new error message.
10190 (d64_set_tests): Likewise.
10191 (d128_set_tests): Likewise.
10192 Add tests for expressions with decimal float variables. Add tests for
10193 conversions to and from decimal float types.
10194
f9c11282
JB
101952008-01-05 Joel Brobecker <brobecker@adacore.com>
10196
10197 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10198 * gdb.ada/packed_tagged.exp: New testcase.
10199
0ecbca72
JB
102002008-01-04 Joel Brobecker <brobecker@adacore.com>
10201
10202 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10203 gdb.ada/homonym/homonym_main.adb: New files.
10204 * gdb.ada/homonym.exp: New testcase.
10205
c18d3d89
JB
102062008-01-04 Joel Brobecker <brobecker@adacore.com>
10207
10208 * gdb.ada/packed_array.exp: Add testing of references to
10209 a packed array.
10210
ecc7085b
JB
102112008-01-04 Joel Brobecker <brobecker@adacore.com>
10212
10213 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10214 New files.
10215 * gdb.ada/type_coercion.exp: New testcase.
10216
c474c922
JB
102172008-01-04 Joel Brobecker <brobecker@adacore.com>
10218
10219 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10220 gdb.ada/tagged/foo.adb: New file.
10221 * gdb.ada/tagged.exp: New testcase.
10222
9005b927
JB
102232008-01-04 Joel Brobecker <brobecker@adacore.com>
10224
10225 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10226 gdb.ada/ptype_field/foo.adb: New files.
10227 * gdb.ada/ptype_field.exp: New testcase.
10228
1a6aaad8
JB
102292008-01-03 Joel Brobecker <brobecker@adacore.com>
10230
10231 * gdb.ada/print_pc.exp: New testcase.
10232
0ef22f53
JB
102332008-01-03 Joel Brobecker <brobecker@adacore.com>
10234
10235 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10236 gdb.ada/taft_type/p.adb: New files.
10237 * gdb.ada/taft_type.exp: New testcase.
10238
1689ecf8
JB
102392008-01-03 Joel Brobecker <brobecker@adacore.com>
10240
10241 * gdb.ada/array_bounds/bar.adb: New file.
10242 * gdb.ada/array_bounds.exp: New testcase.
10243
a4d0b9c3
JB
102442008-01-03 Joel Brobecker <brobecker@adacore.com>
10245
10246 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10247 gdb.ada/arrayptr/foo.adb: New files.
10248 * gdb.ada/arrayptr.exp: New testcase.
10249
a31ace00
JB
102502008-01-03 Joel Brobecker <brobecker@adacore.com>
10251
10252 * gdb.base/set-lang-auto.exp: New testcase.
10253
a97fced3
JB
102542008-01-03 Joel Brobecker <brobecker@adacore.com>
10255
10256 * gdb.ada/fun_addr/foo.adb: New file.
10257 * gdb.ada/fun_addr.exp: New testcase.
10258
ef29ce1a
JK
102592008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10260
10261 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10262 New files
10263
0fafefe3
JB
102642008-01-02 Joel Brobecker <brobecker@adacore.com>
10265
10266 * array_subscript_addr/p.adb: New file.
a9c64011 10267 * array_subscript_addr.exp: New testcase.
0fafefe3 10268
c4359f8d
JB
102692008-01-02 Joel Brobecker <brobecker@adacore.com>
10270
a9c64011 10271 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
10272 New files.
10273 * gdb.ada/str_cmp_ref.exp: New testcase.
10274
1aa1b15b
JB
102752008-01-01 Joel Brobecker <brobecker@adacore.com>
10276
10277 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10278 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 10279 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 10280
81c9b2cf
JB
102812008-01-01 Joel Brobecker <brobecker@adacore.com>
10282
10283 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10284 gdb.ada/ref_param/pck.ads: New files.
10285 * gdb.ada/ref_param.exp: New testcase.
10286
319e4674
JB
102872008-01-01 Joel Brobecker <brobecker@adacore.com>
10288
10289 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10290 gdb.ada/interface/foo.adb: New files.
10291 * gdb.ada/interface.exp: New testcase.
10292
ef682c56
JB
102932007-12-31 Jim Blandy <jimb@codesourcery.com>
10294
10295 * gdb.base/multi-forks.exp: Consume all output from child
10296 processes before proceeding to next test.
10297
f6f3eb6c
JB
102982007-12-29 Jim Blandy <jimb@codesourcery.com>
10299
10300 * configure: Regenerated.
10301
f652e42f
JB
103022007-12-27 Joel Brobecker <brobecker@adacore.com>
10303
10304 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10305 gdb.ada/fixed_cmp/fixed.adb: New files.
10306 * gdb.ada/fixed_cmp.exp: New testcase.
10307
6943e596
JB
103082007-12-27 Joel Brobecker <brobecker@adacore.com>
10309
10310 * gdb.ada/boolean_expr.exp: New testcase.
10311
aad9a193
JB
103122007-12-26 Jim Blandy <jimb@codesourcery.com>
10313
10314 * gdb.base/multi-forks.exp: Doc fix.
10315
fb5f3683
JB
103162007-12-26 Joel Brobecker <brobecker@adacore.com>
10317
10318 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10319 * gdb.ada/char_param.exp: Do not compile our test program with
10320 -gnata, this is unnecessary.
10321 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10322
384e4a9c
JB
103232007-12-24 Joel Brobecker <brobecker@adacore.com>
10324
10325 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10326 gdb.ada/print_chars/foo.adb: New files.
10327 * gdb.ada/print_chars.exp: New testcase.
10328
01e044f7
JB
103292007-12-24 Joel Brobecker <brobecker@adacore.com>
10330
10331 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10332 gdb.ada/char_param/foo.adb: New files.
10333 * gdb.ada/char_param.exp: New testcase.
10334
0ce17860
JB
103352007-12-22 Jim Blandy <jimb@codesourcery.com>
10336
10337 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10338 hard-coding source line numbers into the test.
10339 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10340 gdb_get_line_number to find.
10341
919809b9
JB
103422007-12-22 Joel Brobecker <brobecker@adacore.com>
10343
10344 * gdb.base/ptype.c (highest): New struct type.
10345 (the_highest): New variable of that type.
10346 (main): Add dummy assignment to a field of variable the_highest.
10347 * gdb.base/ptype.exp: Test type printing of our new variable.
10348
abc8a88d
PM
103492007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10350
10351 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 10352 and record first explicitly generated thread number.
abc8a88d
PM
10353 Use that thread number for thread specific watchpoint test.
10354 Add iteration number to repetitive tests.
10355
5158f3e3
CES
103562007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10357 Jim Blandy <jimb@codesourcery.com>
10358
10359 * gdb.base/expand-psymtabs.c: New testcase
10360 source file.
10361 * gdb.base/expand-psymtabs.exp: New testcase
10362 expect file.
10363
37e4754d
LM
103642007-12-17 Luis Machado <luisgpm@br.ibm.com>
10365
10366 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10367 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10368
551e5d04
JB
103692007-12-17 Joel Brobecker <brobecker@adacore.com>
10370
10371 * gdb.ada/frame_args/foo.adb: New file.
10372 * gdb.ada/frame_args/pck.ads: New file.
10373 * gdb.ada/frame_args/pck.adb: New file.
10374 * gdb.ada/frame_args.exp: New testcase.
10375
a05ee097
JB
103762007-12-17 Joel Brobecker <brobecker@adacore.com>
10377
10378 * gdb.base/frame-args.c: New file.
10379 * gdb.base/frame-args.exp: New testcase.
10380
c162e8c9 103812007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 10382 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
10383
10384 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10385
afe8ab22 103862007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10387
afe8ab22
VP
10388 * gdb.mi/mi-pending.exp: New.
10389 * gdb.mi/mi-pending.c: New.
10390 * gdb.mi/mi-pendshr.c: New.
10391
dfdfb3ca
JB
103922007-12-06 Jim Blandy <jimb@codesourcery.com>
10393
10394 * gdb.base/default.exp: Update expected output for 'info catch'.
10395
b7fca990
JK
103962007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10397
10398 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10399 must be set to binary.
10400
6a1afc1e
PA
104012007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
10402
10403 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10404
a6b151f1
DJ
104052007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
10406
10407 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10408 gdb.mi/mi-file-transfer.exp: New.
10409
43039443
JK
104102007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10411
10412 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10413
0ef2251b
MR
104142007-11-22 Maciej W. Rozycki <macro@mips.com>
10415
10416 * gdb.trace/backtrace.exp: Fix a typo.
10417 * gdb.trace/circ.exp: Likewise.
10418 * gdb.trace/collection.exp: Likewise.
10419 * gdb.trace/limits.exp: Likewise.
10420 * gdb.trace/report.exp: Likewise.
10421 * gdb.trace/tfind.exp: Likewise.
10422 * gdb.trace/while-dyn.exp: Likewise.
10423
5443631e
NR
104242007-11-21 Nick Roberts <nickrob@snap.net.nz>
10425
10426 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10427 objects of pointers that can't be dereferenced are now
10428 "noneditable".
10429
a4ce5b0d
UW
104302007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10431
10432 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10433 (target_cpu): Remove.
10434
d6e956e5
VP
104352007-10-15 Vladimir Prus <vladimir@codesourcery.com>
10436
10437 * gdb.base/ending-run.exp: Expect the list of cleared
10438 breakpoint to come in natural order, not the reversed one.
a9c64011 10439
214270ab
VP
104402007-11-07 Vladimir Prus <vladimir@codesourcery.com>
10441
10442 * gdb.mi/mi-var-child.c (do_child_deletion): New.
10443 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 10444
1a619819
LM
104452007-11-05 Luis Machado <luisgpm@br.ibm.com>
10446
10447 * gdb.base/printcmds.exp: New function
10448 test_printf_with_dfp.
10449
5b01a6fa
DE
104502007-11-02 Doug Evans <dje@google.com>
10451
10452 * gdb.disasm/t01_mov.s: Remove carriage returns.
10453 * gdb.disasm/t02_mova.s: Ditto.
10454 * gdb.disasm/t03_add.s: Ditto.
10455 * gdb.disasm/t04_sub.s: Ditto.
10456 * gdb.disasm/t05_cmp.s: Ditto.
10457 * gdb.disasm/t06_ari2.s: Ditto.
10458 * gdb.disasm/t07_ari3.s: Ditto.
10459 * gdb.disasm/t08_or.s: Ditto.
10460 * gdb.disasm/t09_xor.s: Ditto.
10461 * gdb.disasm/t10_and.s: Ditto.
10462 * gdb.disasm/t11_logs.s: Ditto.
10463 * gdb.disasm/t12_bit.s: Ditto.
10464 * gdb.disasm/t13_otr.s: Ditto.
10465
ec33ab7f
JK
104662007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10467
10468 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10469
ae0d01ff
UW
104702007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10471
10472 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10473 provide DFP support.
10474
55eddb0f
DJ
104752007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
10476
10477 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10478 Test "set powerpc vector-abi". Skip auto-detection tests for old
10479 toolchains.
10480
7020f05c
PA
104812007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10482
10483 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10484 with [string compare].
10485
84bc3db9
PA
104862007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10487
10488 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10489 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10490
5876dc88
LM
104912007-10-25 Luis Machado <luisgpm@br.ibm.com>
10492
10493 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10494 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10495 * gdb.opt/Makefile.in: New makefile.
10496 * Makefile.in: Create new directory "gdb.opt".
10497 * configure.ac: Add "gdb.opt" directory.
10498 * configure: Regenerated.
a9c64011 10499
c3ea9a14
DE
105002007-10-25 Doug Evans <dje@google.com>
10501
10502 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10503 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10504
a9c64011 105052007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
10506 Thiago Jung Bauermann <bauerman@br.ibm.com>
10507
10508 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10509 Floating Point expressions.
10510 * gdb.base/dfp-test.exp: new file adding tests for Decimal
10511 Floating Point variables.
10512 * gdb.base/dfp-test.c: new file containing program with Decimal
10513 Floating variables, used by gdb.base/dfp-test.exp.
10514
62a24a2b
DJ
105152007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
10516
10517 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10518
e7b1eae6
UW
105192007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10520
10521 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10522 compiling test case with GCC.
10523 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10524
c641edcc
UW
105252007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10526
10527 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10528 format changes.
10529
5e5ebfe6
MS
105302007-10-18 Michael Snyder <msnyder@specifix.com>
10531
10532 * gdb.base/dbx.exp: Add missing "-re " operator.
10533
e831e7b6
GM
105342007-10-16 Gaius Mulley <gaius@glam.ac.uk>
10535
10536 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10537 * configure.ac: Removed trailing spaces after backslash.
10538 * gdb.modula2: New directory.
10539 * gdb.modula2/Makefile.in: New file.
10540 * gdb.modula2/unbounded-array.exp: New file.
10541 * gdb.modula2/unbounded1.c: New file.
10542
7cc46491
DJ
105432007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
10544
10545 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10546
105472007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
10548
10549 * gdb.base/sigstep.c (main): Add checks for
10550 return values for setitimer call.
10551 Call setitimer again with itimer = ITIMER_REAL
10552 if first call to setitimer fails.
10553
e91528f0
KH
105542007-10-11 Kazu Hirata <kazu@codesourcery.com>
10555
10556 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10557 of $timeout.
10558
2ec9a4f8
DJ
105592007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10560
10561 * gdb.server/server-run.exp: Test for dynamic linker symbols.
10562
105632007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
10564
10565 * lib/gdb.exp (gdb_run_cmd): Move comment outside
10566 of gdb_expect call, to avoid interruption.
10567
64b2fa04
PA
105682007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
10569
10570 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10571 (v_unsigned_long_long, v_long_long_array)
10572 (v_signed_long_long_array, v_unsigned_long_long_array)
10573 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10574 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10575 [!NO_LONG_LONG]: New.
10576 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10577 v_long_long_member.
10578
10579 (v_long_long_func, v_signed_long_long_func)
10580 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10581 (main) [!NO_LONG_LONG]: Initialize long long variants.
10582
10583 * gdb.base/whatis.exp: If board file requests no_long_long, build
10584 test with NO_LONG_LONG defined. Test long long, signed long long,
10585 and unsigned long long variants but only if board file doesn't
10586 disable it.
10587
a912286e 105882007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 10589 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
10590
10591 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10592 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10593 * configure: Regenerated.
10594 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10595 gdb.pascal/types.exp, lib/pascal.exp: New files.
10596
471ba8c9
DJ
105972007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
10598
10599 * gdb.cp/classes.exp (do_tests): Always step to the line after the
10600 call.
10601 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10602 to return to the call.
10603 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10604 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10605 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10606 * gdb.mi/mi-until.exp (test_until): Likewise.
10607 * gdb.mi/mi2-until.exp (test_until): Likewise.
10608
fef8a650
DJ
106092007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
10610
10611 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10612 two-char array.
10613 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10614
d983da9c
DJ
106152007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
10616
10617 * gdb.threads/watchthreads.c (thread_function): Sleep between
10618 iterations.
10619 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10620 at once for S/390. Generate matching fails and passes.
10621
17f62551
VP
106222007-09-27 Vladimir Prus <vladimir@codesourcery.com>
10623
10624 * gdb.mi/var-cmd.c (do_children_tests): Initialize
10625 the 'struct_declarations' variable to zeros.
a9c64011 10626
ed0616c6
VP
106272007-09-24 Vladimir Prus <vladimir@codesourcery.com>
10628
10629 * gdb.cp/mb-ctor.cc: New.
10630 * gdb.cp/mb-ctor.exp: New.
10631 * gdb.cp/mb-templates.cc: New.
10632 * gdb.cp/mb-templates.exp: New.
10633
41f1b697
DJ
106342007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
10635
10636 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10637
3f213f78
PA
106382007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
10639
10640 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10641 targets.
10642 * configure: Regenerate.
10643
0d381245 106442007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 10645
0d381245
VP
10646 * gdb.base/annota1.exp: Adjust for 'info break'
10647 format changes.
10648 * gdb.base/annota3.exp: Likewise.
10649 * gdb.base/break.exp: Likewise.
10650 * gdb.base/condbreak.exp: Likewise.
10651 * gdb.base/pending.exp: Likewise.
10652 * gdb.base/sepdebug.exp: Likewise.
10653 * gdb.base/unload.exp: Likewise.
10654 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 10655
fe3f5fa8
VP
106562007-09-22 Vladimir Prus <vladimir@codesourcery.com>
10657
10658 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10659 messages.
10660 * gdb.base/chng-syms.exp: Likewise.
10661 * gdb.base/unload.exp: Likewise.
a9c64011 10662
a75cf6c0
DJ
106632007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
10664
10665 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10666
18ecae38
DJ
106672007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
10668
10669 * schedlock.c (NUM): Change to 1.
10670 (main): Use args[0] for the main thread.
10671 * schedlock.exp: Only expect two threads. Only issue one pass or fail
10672 regardless of the number of threads.
10673
5509918f
MR
106742007-09-14 Maciej W. Rozycki <macro@mips.com>
10675
4a543daf
MR
10676 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10677 type down.
10678 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10679 test.
10680 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10681 watchpoint type down.
10682 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10683 test.
10684
106852007-09-14 Maciej W. Rozycki <macro@mips.com>
10686
5509918f
MR
10687 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10688 Move all the tests here and run them twice, once using software
10689 watchpoints and once using hardware watchpoints.
10690 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10691
40b53987
DJ
106922007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
10693
10694 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10695 test.
10696
695e2681
MK
106972007-09-10 Mark Kettenis <kettenis@gnu.org>
10698
8b3fc8d8
MK
10699 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10700 build-id.
10701
695e2681
MK
10702 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10703 know about $ORIGIN. Calculate output dir from $dest instead of
10704 using ${objdir}/{$subdir}.
10705
58d69f29
MK
107062007-09-09 Mark Kettenis <kettenis@gnu.org>
10707
10708 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10709 gcore, before continuing with the test.
10710
3e347599
DJ
107112007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
10712
10713 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10714 * gdb.mi/mi-watch.exp: Likewise.
10715
ea37ba09
DJ
107162007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10717 Jim Blandy <jimb@codesourcery.com>
10718
10719 * gdb.arch/i386-sse.exp: Do not expect character constants.
10720 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10721 * gdb.base/display.exp: Allow print/s.
10722 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10723 and unsigned char array changes.
10724
2025a643
DJ
107252007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10726
10727 * gdb.base/display.exp: Add tests for printf %p.
10728
26669a27
PA
107292007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
10730
10731 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10732 the dll name to unicode.
10733
c8f021f8
JK
107342007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10735
10736 * gdb.base/default.exp (show version): Update the version text.
10737 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10738
4cf31eea
JK
107392007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10740
10741 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10742 New files.
10743
4935890f
JK
107442007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10745
10746 * lib/gdb.exp (build_id_debug_filename_get): New function.
10747 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10748 Remove the generate DEBUG file for the future testcase runs.
10749 New testcase for the NT_GNU_BUILD_ID retrieval.
10750 Move the final testing step to ...
10751 (test_different_dir): ... a new function.
10752 New parameter XFAIL to XFAIL all the tests performed.
10753 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10754 New parameter TYPE to PF_PREFIX all the tests performed.
10755
02142340
VP
107562007-08-31 Vladimir Prus <vladimir@codesourcery.com>
10757
10758 * gdb.mi/mi-var-cp.cc (path_expression): New
10759 function.
10760 * gdb.mi/mi-var-cp.exp: Run path exression tests.
10761
36acd84e
UW
107622007-08-27 Markus Deuling <deuling@de.ibm.com>
10763
10764 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10765 to fit into SPU Local Store memory.
10766
a896d121
JB
107672007-08-23 Joel Brobecker <brobecker@adacore.com>
10768
10769 * gdb.base/default.exp: Adjust the expected output of "info
10770 warranty" after the switch to GPLv3.
10771
7b433602
JB
107722007-08-23 Joel Brobecker <brobecker@adacore.com>
10773
10774 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10775 to 30000 (from 20000).
10776
e22f8b7c
JB
107772007-08-23 Joel Brobecker <brobecker@adacore.com>
10778
10779 Switch the license of all .exp files to GPLv3.
10780 Switch the license of all .f and .f90 files to GPLv3.
10781 Switch the license of all .s and .S files to GPLv3.
10782
5a0e3bd0
JB
107832007-08-23 Joel Brobecker <brobecker@adacore.com>
10784
10785 * configure.ac: Switch license to GPLv3.
10786
cc00619d
JB
107872007-08-23 Joel Brobecker <brobecker@adacore.com>
10788
10789 Switch the licensing to GPLv3 for all .ads and .adb files.
10790
8d26208a
DJ
107912007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
10792
10793 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10794 and t_int_double.
10795 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10796
4fcb9948
JB
107972007-08-17 Joel Brobecker <brobecker@adacore.com>
10798
10799 * gdb.base/step-line.c: Switch license to GPL version 3, and
10800 update copyright year.
10801 * gdb.base/step-line.inp: Likewise.
10802
b9c34f67
JB
108032007-08-17 Joel Brobecker <brobecker@adacore.com>
10804
10805 * gdb.base/gdb1555.exp: Make expected output immune to formatting
10806 changes inside gdb1555.c.
10807 * gdb.base/pending.exp: Likewise.
10808
2cc17678
DJ
108092007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
10810
10811 * config/default.exp: New file.
10812
e48883f7
DJ
108132007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10814
10815 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10816 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10817
1ab80e5b
MR
108182007-07-30 Maciej W. Rozycki <macro@mips.com>
10819
10820 * gdb.base/dump.exp: Force the correct endianness for binary
10821 formats not carrying this information.
10822
aba471f5
DJ
108232007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10824
10825 * gdb.threads/staticthreads.exp: Match .*sem_post.
10826
d4e07204
DJ
108272007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10828
10829 * gdb.base/readline.exp (operate_and_get_next): Match the final
10830 prompt.
10831
2b97317d
KB
108322007-07-23 Kevin Buettner <kevinb@redhat.com>
10833
10834 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10835 to restarting SID.
10836
44efa07a
KB
108372007-07-18 Kevin Buettner <kevinb@redhat.com>
10838
10839 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10840 prior to `gdb_start'.
10841
7b5ebade
KB
108422007-07-18 Kevin Buettner <kevinb@redhat.com>
10843
10844 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
10845 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10846 Remove call to gdb_unload.
10847
255e7678
DJ
108482007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
10849 Daniel Jacobowitz <dan@codesourcery.com>
10850
10851 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10852 for __WIN32__.
10853 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
10854 * gdb.base/unload.exp: Use shared library test routines.
10855
3a40aaa0
UW
108562007-07-03 Markus Deuling <deuling@de.ibm.com>
10857
10858 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10859 * gdb.base/solib-symbol-lib.c: Likewise.
10860 * gdb.base/solib-symbol-main.c: Likewise.
10861
b0f4b84b
DJ
108622007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
10863
10864 * config/gdbserver.exp (gdb_reconnect): New.
10865 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10866 gdb.base/solib-disc.exp: New files.
10867 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10868 remote debugging".
10869 (gdb_compile): Add shlib_load flag.
10870 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10871 port.
10872 (gdbserver_reconnect): New.
10873
1b05479a
DJ
108742007-07-01 Nick Roberts <nickrob@snap.net.nz>
10875 Daniel Jacobowitz <dan@codesourcery.com>
10876
10877 * gdb.base/annota3.exp: Test for if construct.
10878
86f78eb2
DJ
108792007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
10880
10881 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10882
6a2eb474 108832007-06-21 Chris Dearman <chris@mips.com>
a9c64011 10884 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
10885
10886 * gdb.base/display.exp: Allow a newline after display/i.
10887 * gdb.base/pc-fp.exp: Likewise.
10888 * gdb.base/sigbpt.exp: Likewise.
10889
f8b73d13
DJ
108902007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10891
10892 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
10893 required features to be included.
10894
4339e69e
DJ
108952007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10896
10897 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10898 in info threads output.
10899
23d964e7
UW
109002007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10901 Markus Deuling <deuling@de.ibm.com>
10902
10903 * gdb.arch/spu-info.exp: New testcase.
10904 * gdb.arch/spu-info.c: New file.
10905
fd20f75b
DJ
109062007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
10907
10908 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10909 tpcs_offset. Restore lr after the call.
10910 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10911
2226f861
DJ
109122007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
10913
10914 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10915 (gdbserver_run): Kill any running gdbserver.
10916 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10917
d12371a9
MR
109182007-05-17 Maciej W. Rozycki <macro@mips.com>
10919
10920 * gdb.base/sigbpt.exp: Preset segv_addr.
10921
93f02886
DJ
109222007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
10923
10924 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10925 (gdb_compile_shlib): Likewise.
10926 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10927 (default_gdb_init): Clear cleanfiles.
10928 (gdb_finish): Delete recorded cleanfiles.
10929 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10930
10931 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10932 Do not use isnative.
10933 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10934 gdb.base/so-impl-ld.exp: Likewise.
10935 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
10936 * gdb.base/unload.exp: Likewise. Do not pass empty option to
10937 gdb_compile.
10938
b04e06d7
VP
109392007-05-15 Vladimir Prus <vladimir@codesourcery.com>
10940
10941 * config/unknown.exp: Remove.
10942
069ed931
UW
109432007-05-15 Markus Deuling <deuling@de.ibm.com>
10944
10945 * gdb.base/info-proc.exp: Check is_remote.
10946
09db0d03
UW
109472007-05-14 Markus Deuling <deuling@de.ibm.com>
10948
10949 * gdb.base/gcore.exp: Initialize variable core_supported.
10950
af2cbe8c
DJ
109512007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10952
10953 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
10954
027c0295
DJ
109552007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10956
10957 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
10958 * gdb.threads/print-threads.exp (test_all_threads): Allow
10959 negative and hexadecimal thread IDs.
10960
dc5000e7
DJ
109612007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10962
10963 * gdb.java/jprint.java (public): Avoid invalid call to static
10964 method.
10965
2e74ed18
DP
109662007-05-14 Denis Pilat <denis.pilat@st.com>
10967
10968 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
10969 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
10970 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10971 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
10972 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
10973
83547f02
UW
109742007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10975
10976 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 10977 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
10978 this mode.
10979 * gdb.base/ovlymgr.c: Provide stubs for spu target.
10980 * gdb.base/spu.ld: New file.
10981
b18be20d
DJ
109822007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
10983
10984 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
10985
be444858
DJ
109862007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
10987
10988 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
10989
b1d53152
DJ
109902007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10991
10992 * gdb.java/jmain.exp: Handle demangled names with and without method
10993 signatures.
10994
d084b331
DJ
109952007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10996
10997 * gdb.mi/mi-syn-frame.c (main, foo, bar)
10998 (have_a_very_merry_interrupt): Remove calls to puts.
10999 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11000 inferior output.
11001 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11002 test names.
11003
db9d7fc5
DJ
110042007-04-29 Markus Deuling <deuling@de.ibm.com>
11005 Daniel Jacobowitz <dan@codesourcery.com>
11006
11007 * gdb.base/auxv.exp (core_works): Also check is_remote.
11008 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11009
ef783a7d 110102007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11011
ef783a7d
VP
11012 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11013 message, not the undefined 'module' variable.
11014 * gdb.base/siginfo.exp: Likewise.
11015 * gdb.base/sigstep.exp: Likewise.
11016 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11017 serialport.
11018 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11019
b7b73cae
CV
110202007-04-25 Corinna Vinschen <vinschen@redhat.com>
11021
11022 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11023 target sim fails. Return 0 otherwise.
11024 (gdb_load): Return prematurely if gdb_target_sim fails.
11025
7d90fdfa
DP
110262007-04-16 Denis Pilat <denis.pilat@st.com>
11027
11028 * gdb.base/setshow.exp: Reset height after having set it to 100.
11029
5d3e9c85
DP
110302007-04-16 Denis Pilat <denis.pilat@st.com>
11031
11032 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11033
18e75969
DP
110342007-04-16 Denis Pilat <denis.pilat@st.com>
11035
11036 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11037
25d5ea92
VP
110382007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11039
11040 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11041 tests. Run the frozen varobjs test.
11042 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11043 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11044
0b49cb80
JK
110452007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11046
11047 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11048 gdb.base/type-opaque.exp: New files.
11049
a73bafbc 110502007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11051
11052 * gdb.mi/mi-var-child.c
a73bafbc
VP
11053 (do_children_tests): User char[2] instead of
11054 char so that automatic printing of pointers to char
11055 don't give unpredicable result.
11056 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11057 local variables.
11058 * gdb.mi/mi-var-child.exp: Step to right line
11059 of do_children_tests.
11060 * gdb.mi/mi2-var-child.exp: Likewise.
11061 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11062 do_locals_tests.
a73bafbc
VP
11063 (do_children_tests): User char[2] instead of
11064 char so that automatic printing of pointers to char
a9c64011 11065 don't give unpredicable result.
a73bafbc 11066 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11067 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11068 Pass test name to mi_wait_for_stop.
11069
7ce59000
DJ
110702007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11071
11072 * gdb.asm/asm-source.exp: Remove d10v case.
11073 * lib/gdb.exp (skip_cplus_tests): Likewise.
11074 * gdb.asm/d10v.inc: Deleted.
11075
20389057
DJ
110762007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11077
11078 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11079
8807d78b
DJ
110802007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11081
11082 * config/netware.exp: Delete file.
11083
aa3edb8e
JB
110842007-03-29 Joel Brobecker <brobecker@adacore.com>
11085
11086 * gdb.dwarf2/dw2-noloc.S: New file.
11087 * gdb.dwarf2/dw2-noloc.exp: New file.
11088
297561ac
PA
110892007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11090
11091 * gdb.cp/method2.cc: New test.
11092 * gdb.cp/method2.exp: New test.
11093 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11094
1f81bd39
DJ
110952007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11096
11097 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11098
9453113a
DJ
110992007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11100
11101 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11102
b741e217
DJ
111032007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11104
11105 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11106 (gdb_load): Delete, replace with...
11107 (gdb_reload): ...this.
11108 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11109 * gdb.server/server-mon.exp: Likewise.
11110 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11111 (gdb_start_cmd): New.
11112 (gdb_file_cmd): Save the last loaded file.
11113 (gdb_reload): New.
11114 (gdb_gnu_strip_debug): Use transform.
11115 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11116 support here. Use new $last_loaded_file. Check mtime.
11117 (gdb_target_cmd): Handle ObjC failure case.
11118 (infer_host_exec): Delete.
11119 (gdbserver_load): Rename to...
11120 (gdbserver_run): ...this. Simplify.
11121 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11122 (mi_gdb_load): Move most contents to a new function...
11123 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11124 (mi_run_cmd): Use mi_gdb_target_load.
11125 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11126 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11127 Use gdb_run_cmd.
11128 * gdb.base/charsign.exp: Remove incorrect comment.
11129 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11130 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11131 gdb.base/start.exp: Use gdb_start_cmd.
11132
446ab585 111332007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11134 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11135
11136 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11137 * gdb.base/signull.exp: Similarly.
11138
bbb88ebf
UW
111392007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11140
11141 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11142 messages available to test cases (like chng-sym.exp).
11143
cb8c4a99
AS
111442007-03-14 Andreas Schwab <schwab@suse.de>
11145
11146 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11147 format changes.
11148
4e463ff5
DJ
111492007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11150
11151 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11152 (optimized_1): New.
11153 (main): Call optimized_1.
11154 (gdb2029): Correct typos. Call gdb2029_marker.
11155 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11156 for gdb2029.
11157
b6db2c47
MK
111582007-03-12 Mark Kettenis <kettenis@gnu.org>
11159
11160 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11161 as tabs. Remove redundant test pattern.
11162
70ed3737
UW
111632007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11164
11165 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11166 for /a format output.
11167
47b67b60
DJ
111682007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11169
11170 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11171 collect output incrementally.
11172
b8953b0e
UW
111732007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11174
11175 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11176 for -var-create lpcharacter test.
11177 * gdb.mi/mi2-var-cmd.exp: Likewise.
11178
7acd5c40
UW
111792007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11180
11181 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11182 pass on targets where address zero is readable.
11183
9c6759c1
UW
111842007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11185
11186 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11187 just a single architecture.
11188
a2f1aeb4
UW
111892007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11190
11191 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11192 (fetch_all_registers): New function, uses gdb_test_multiple and
11193 exp_continue to fetch inferior output line-by-line.
11194 Replace all uses of do_get_all_registers by fetch_all_registers.
11195
46579ac2
UW
111962007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11197
11198 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11199 in target_info.
11200
fc133f24
MS
112012007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11202
a9c64011 11203 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11204 consistancy; add a default (timeout) case.
11205
7646a51d
MS
112062007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11207
11208 * gdb.base/watchpoint.exp: Fix truncated comment.
11209
dcfff61f
MS
112102007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11211
11212 * Makefile.in: Remove spurious single-quotes from sed command.
11213
664e3ee9
DJ
112142007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11215
11216 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11217 func.
11218 * gdb.mi/mi2-var-cmd.exp: Likewise.
11219
d7cc6f2f
JB
112202007-02-27 Joel Brobecker <brobecker@adacore.com>
11221
a9c64011
AS
11222 * gdb.dwarf2/dw2-producer.S: New file.
11223 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
11224
112252007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
11226
11227 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11228 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11229 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11230 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11231 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11232 Revert tests to use mi_gdb_test and include value field in output
11233 of -var-create.
11234
93d42b30
DJ
112352007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11236
11237 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11238
c499ed39
DJ
112392007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11240
11241 * gdb.base/maint.exp: Remove full paths from test names.
11242 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11243 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11244
9836f81b
JB
112452007-02-27 Joel Brobecker <brobecker@adacore.com>
11246
11247 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11248
c74d0ad8
DJ
112492007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11250
11251 * gdb.server/server-mon.exp: New test.
11252
2711e456
DJ
112532007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11254
11255 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11256
ff6f572f
DJ
112572007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11258
11259 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11260 register capitalization.
11261
fada3feb
DP
112622007-02-13 Denis Pilat <denis.pilat@st.com>
11263
11264 * gdb.mi/mi-var-invalidate.exp: New file.
11265
fb1e4ffc
DJ
112662007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11267
11268 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11269
3da939d7
DJ
112702007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11271
11272 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11273
123dc839
DJ
112742007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11275
11276 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11277 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11278
877e3645 112792007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
11280
11281 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11282 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11283 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11284 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11285 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 11286 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 11287 Update tests to include value field in output of -var-create.
a9c64011 11288
3c0a2960
AS
112892007-02-08 Andreas Schwab <schwab@suse.de>
11290
11291 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11292
108546a0
DJ
112932007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11294
11295 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11296 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11297
d701dcab
DP
112982007-02-02 Denis Pilat <denis.pilat@st.com>
11299
11300 * gdb.threads/threadapply.exp: check that frame is not changed by
11301 the thread apply all command.
11302
783e3e2f
AS
113032007-01-31 Andreas Schwab <schwab@suse.de>
11304
6d9c3a87
AS
11305 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11306
3c50d7b9
AS
11307 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11308 in the dwarf sections.
11309 * gdb.dwarf2/mac-fileno.S: Likewise.
11310
783e3e2f
AS
11311 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11312 bspstore register on ia64.
11313
78ff580e
AS
113142007-01-29 Andreas Schwab <schwab@suse.de>
11315
cc8e9b12
AS
11316 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11317 "frame-begin" annotation.
11318
78ff580e
AS
11319 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11320 number of "frames-invalid" annotations.
11321
704a4f78
DJ
113222007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11323
11324 * gdb.base/commands.exp: Call if_commands_test.
11325 (gdb_test_no_prompt, if_commands_test): New.
11326
e741bf94
MK
113272007-01-28 Mark Kettenis <kettenis@gnu.org>
11328
11329 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11330
474d0ad3
AS
113312007-01-27 Andreas Schwab <schwab@suse.de>
11332
11333 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11334 .short/.int/.quad in the dwarf sections.
11335 * gdb.dwarf2/dw2-intercu.S: Likewise.
11336 * gdb.dwarf2/dw2-intermix.S: Likewise.
11337
e784b426
JK
113382007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11339
11340 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
11341 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11342 array.
e784b426
JK
11343 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11344 * gdb.base/setvar.exp: Likewise.
11345
37f08e04
AS
113462007-01-26 Andreas Schwab <schwab@suse.de>
11347
9a01813a
AS
11348 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11349 test.
11350
37f08e04
AS
11351 * gdb.base/multi-forks.exp ("restart $i"): Also match
11352 __kernel_syscall_via_break.
11353
6e2a9270
VP
113542007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11355
11356 * lib/mi-support.exp (mi_delete_varobj): New.
11357 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11358 testcase.
11359 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11360 (main): Call the above.
11361 (reference_update_test, base_in_reference_test)
11362 (reference_to_pointer): Delete the created varobjs.
a9c64011 11363
e515b470
DJ
113642007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11365
11366 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11367 * configure: Regenerated.
11368 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11369 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11370 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11371 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11372 * lib/gdb.exp (gdb_skip_xml_test): New function.
11373
08d8bcd7
DJ
113742007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11375
11376 * gdb.base/sigrepeat.exp: Correct error message.
11377
113782007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
11379 Daniel Jacobowitz <dan@codesourcery.com>
11380
11381 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11382 gdb.arch/i386-gnu-cfi-asm.S: New files.
11383
97c3f1f3
JK
113842007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11385
11386 * lib/gdb.exp: Abort on missing `site.exp'.
11387
cb1df416
DJ
113882007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11389 Daniel Jacobowitz <dan@codesourcery.com>
11390
11391 * gdb.base/included.c, gdb.base/included.exp,
11392 gdb.base/included.h: New files.
11393
35990120
DJ
113942007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11395
11396 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11397 (maximize_rlimit): Reduce limits on 64-bit systems.
11398
6e81a116 113992007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
11400
11401 From Marcus Deuling <deuling@de.ibm.com>:
11402 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11403 every case.
11404
6c3c41f3
NR
114052007-01-13 Nick Roberts <nickrob@snap.net.nz>
11406
11407 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11408 (test_path_specification): Use objdir instead of srcdir to always
11409 get an absolute filename.
11410
2f12c312
DJ
114112007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
11412
11413 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11414
81121995
VP
114152007-01-11 Vladimir Prus <vladimir@codesourcery.com>
11416
11417 * gdb.mi/mi-var-cp.cc (reference_update_tests):
11418 Make sure the variable we're using is in scope.
11419 (reference_to_pointer): Likewise.
11420
4741b737
DJ
114212007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11422
11423 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11424 has no debug information.
11425
054410c3
DJ
114262007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11427
11428 * gdb.base/annota1.exp: Remove extra send_gdb.
11429
818f79f6
DJ
114302007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11431
11432 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11433
f7a6bb70
DJ
114342007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11435
11436 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11437
57e66780
DJ
114382007-01-08 Nick Roberts <nickrob@snap.net.nz>
11439 Daniel Jacobowitz <dan@codesourcery.com>
11440
11441 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11442 lcharacter or linteger change. Correct duplicated test name.
11443 * gdb.mi/mi2-var-cmd.exp: Likewise.
11444
3d799a95
DJ
114452007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11446
11447 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11448
114492007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 11450
a9c64011
AS
11451 * gdb.base/nofield.c: New file.
11452 * gdb.base/nofield.exp: New testcase.
51679ba9 11453
eafb94e8
NR
114542007-01-05 Nick Roberts <nickrob@snap.net.nz>
11455
11456 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11457
11458 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11459 test.
11460
5e572bb4
DJ
114612007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11462
11463 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11464
74a44383
DJ
114652007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11466
11467 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11468 when continuing.
11469
1b572db9
DJ
114702007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11471
11472 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11473 Expect ".exe" extension.
11474
381bc39b
DJ
114752007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11476
11477 * gdb.base/charset.exp: Add explicit filename to break.
11478 * gdb.base/dbx.exp: Add explicit filename to breaks.
11479
2b70e4c6
DJ
114802007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11481
11482 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11483 * gdb.mi/mi2-file.exp: Likewise.
11484
303b6f5d
DJ
114852007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11486
11487 Implement specification of MI tests as comments
11488 in C and C++ sources.
11489 * lib/mi-support.exp (mi_autotest_data): New variable.
11490 (mi_autotest_source): New variable.
11491 (count_newlines, mi_prepare_inline_tests)
11492 (mi_get_inline_test, mi_continue_to_line)
11493 (mi_run_inline_test, mi_tbreak)
11494 (mi_send_resuming_command, mi_wait_for_stop): New functions.
11495 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11496 Run inline tests.
11497 * gdb.mi/mi-var-cp.cc: Define tests here.
11498
23da0d94
VP
114992007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11500
11501 Simplify usage of mi_continue_to.
11502 * lib/mi-support.exp (mi_runto_helper): Renamed
11503 from mi_runto, added new parameter 'run_or_continue'.
11504 (mi_runto): Use mi_runto_helper.
11505 (mi_continue_to): Accept just function name as parameter.
11506 Use mi_runto_helper.
11507 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11508 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11509
f9e18282
JB
115102006-01-04 Joel Brobecker <brobecker@adacore.com>
11511
11512 Make this testcase a bit more realistic. The current code
11513 is too simplistic, and allows the compiler to optimize out
11514 some of the entities we need for this testcase.
11515 * gdb.ada/null_record/bar.ads (Void_Star): New type.
11516 (Do_Nothing): Add extra parameter.
11517 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11518 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11519 by using a variable of type Void_Star.
11520
fd678c65
JB
115212006-01-04 Joel Brobecker <brobecker@adacore.com>
11522
11523 * gdb.ada/catch_ex/foo.adb: New file.
11524 * gdb.ada/catch_ex.exp: New testcase.
11525
05cfdb42
DJ
115262007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
11527
11528 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11529 pass --image-base to linker.
11530
2e03ee74
DJ
115312007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11532 Daniel Jacobowitz <dan@codesourcery.com>
11533
11534 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
11535 secondary prompts.
11536
0d5de010
DJ
115372007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11538
11539 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11540 output. Test the types of members and member pointers.
11541 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11542 gdb/2092.
11543 * gdb.cp/member-ptr.exp: Search for a comment instead of a
11544 statement. Enable for GCC. Update expected output for some tests
11545 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
11546 layout.
11547 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11548 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11549 (Diamond::vget_base): New.
11550 (main): Add new tests.
11551 * gdb.cp/printmethod.exp: Update expected output for member functions.
11552 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11553 print pEe->D::vg().
11554
61a771aa
DJ
115552007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11556
11557 * gdb.threads/tls.exp: Allow stops in sem_post.
11558
2fa63963
DJ
115592006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
11560
11561 * gdb.base/annota1.exp: Allow .*printf in backtraces.
11562 * gdb.base/annota3.exp: Likewise.
11563 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11564 again (instead of timing out).
11565 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11566 GCC bug 26475.
11567 * gdb.java/jmisc.exp: Adjust to work with method signatures including
11568 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
11569 test from jmisc1.exp.
11570 * gdb.java/jmisc1.exp: Delete.
11571 * gdb.java/jprint.exp: Adjust to work with method signatures including
11572 return types.
11573 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11574 * gdb.threads/linux-dp.exp: Don't be confused by program output.
11575 * lib/java.exp (compile_java_from_source): Pass the correct type
11576 to target_compile.
11577
5eefc2b7
JB
115782006-12-31 Joel Brobecker <brobecker@adacore.com>
11579
11580 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11581 (stack_align_edx): New function.
11582 (stack_align_eax): New function.
11583 (main): Add calls to stack_align_edx and stack_align_eax.
11584 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11585 Add testing for the cases where the register used during a stack
11586 realignment is edx. Same for eax.
11587
227c54da
DJ
115882006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
11589
11590 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11591 and generic PE targets.
11592
cab8ac94
JB
115932006-12-29 Joel Brobecker <brobecker@adacore.com>
11594
11595 * gdb.ada/array_return.exp: Update copyright date list.
11596
ba54f318
JB
115972006-12-27 Joel Brobecker <brobecker@adacore.com>
11598
11599 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11600 (Create_Small_Float_Vector): New function.
11601 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11602 function body.
11603 * gdb.ada/array_return/p.adb: Use new type and function from
11604 package Pck.
11605 * gdb.ada/array_return.exp: Add a test verifying that GDB is
11606 able to print the value returned by a function returning an
11607 array of float.
11608
6b7a35dd
JB
116092006-12-20 Joel Brobecker <brobecker@adacore.com>
11610
11611 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11612 The associated tests should be PASSing.
11613
038224f6
VP
116142006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11615
11616 Test for base in references.
11617 * gdb.mi/mi-var-cp.cc: Add test code.
11618 * gdb.mi/mi-var-cp.exp: Test for bases in references.
11619 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11620 * gdb.mi/mi2-watch.exp: Likewise.
11621 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11622 (mi_list_varobj_children): New function.
11623
b26ed50d
VP
116242006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11625
11626 * lib/mi-support.exp
11627 (mi_runto): Accept "()" after function name.
11628 (mi_create_varobj): New function.
11629 (mi_varobj_update): New function.
11630 (mi_Check_varobj_value): New function.
11631 * gdb.mi/mi-var-cp.exp: New file.
11632 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 11633
08232497
DJ
116342006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
11635
11636 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11637 gdb.base/weaklib2.c: New files.
11638
d394c993 116392006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 11640
ac6c2fba
NS
11641 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11642 info. Adjust test names.
11643
8ec659a0 11644 * gdb.base/break.c (main): Move position of malloc.
d394c993 11645 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 11646
acd65feb
VP
116472006-11-28 Vladimir Prus <vladimir@codesourcery.com>
11648
11649 * gdb.mi/mi-var-cmd.exp: Check -var-update after
11650 assignement of arrays and function pointers.
11651 * gdb.mi/var-cmd.c: Add declaration necessary for above
11652 tests.
11653
f556d5e5
NS
116542006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11655
11656 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
11657
11658 * gdb.threads/linux-dp.exp: Read thread table before and after
11659 creating each philosopher and verify it.
11660
697bc68d
NS
116612006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11662 Paul Brook <paul@codesourcery.com>
11663 Daniel Jacobowitz <dan@codesourcery.com>
11664
11665 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 11666 main to remove duplication. Add start function of the form
697bc68d
NS
11667 '_*start[1-9]*'. Add RVDS start function.
11668
29d73ae4
DJ
116692006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11670
11671 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11672
c1d88655
UW
116732006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11674
11675 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11676 * gdb.asm/spu.inc: New file.
11677 * gdb.base/term.exp: Disable if [target_info exists noargs].
11678 * gdb.gdb/complaints.exp: Disable if ![isnative].
11679 * gdb.gdb/selftest.exp: Likewise.
11680 * gdb.gdb/observer.exp: Likewise.
11681 * gdb.gdb/xfullpath.exp: Likewise.
11682 * gdb.base/attach.exp: Disable on SPU target.
11683 * gdb.cp/bs145503.exp: Likewise.
11684 * gdb.cp/exception.exp: Likewise.
11685 * gdb.cp/userdef.exp: Likewise.
11686
32a13b1a
DJ
116872006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11688
11689 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11690
d8295fe9
VP
116912006-11-10 Vladimir Prus <vladimir@codesourcery.com>
11692
11693 * gdb.base/completion.exp: Fix completion tests for
11694 'info' and 'info '.
11695 * gdb.base/help.exp (help_test_raw, test_class_help)
11696 (test_prefix_command_help): Move...
11697 * lib/gdb.exp: Here.
11698 * gdb.base/main.exp: Adjust.
11699 * gdb.cp/maint.exp: Adjust.
11700 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 11701
8c394015
VP
117022006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11703
11704 * gdb.stabs/weird.exp (print_weird_var): Use
11705 gdb_test_multiple instead of gdb_expect.
11706
027fc1bc
VP
117072006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11708
11709 * gdb.base/help.exp (help_test_raw): New.
11710 (test_class_help): New.
11711 (test_prefix_command_help): New.
11712 Adjust testcases.
11713
67609209
FR
117142006-11-09 Christophe Lyon <christophe.lyon@st.com>
11715
11716 * gdb.base/constvars.c (main): Write to crass and crips, so that
11717 they are allocated by the compiler.
11718
f73adfeb
AS
117192006-10-27 Andreas Schwab <schwab@suse.de>
11720
11721 * gdb.base/multi-forks.exp: Use "detach fork" instead of
11722 "detach-fork".
11723
2f83a18e
DJ
117242006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
11725
11726 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11727 of patterns.
11728
94277a38
DJ
117292006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11730
11731 * gdb.base/sepdebug.exp: Remove debug format test.
11732 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11733 Handle no-symtab.
11734 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11735
5bd2f6e2
DJ
117362006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11737
11738 * gdb.threads/manythreads.c (thread_function, main): Don't cast
11739 int to pointer or pointer to int.
11740 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11741
8c008720
DJ
117422006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
11743
11744 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11745
9e35dae4
DJ
117462006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11747
11748 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11749
d9639e13
DJ
117502006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11751
11752 PR c++/2116
11753 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11754
390a1bd0
JB
117552006-10-06 Joel Brobecker <brobecker@adacore.com>
11756
11757 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11758 the corresponding bug has been fixed in GDB (PR/2018).
11759
dd920c33
JB
117602006-10-06 Joel Brobecker <brobecker@adacore.com>
11761
11762 * gdb.base/subst.exp: New testcase.
11763
53bbefe9
JB
117642006-10-06 Joel Brobecker <brobecker@adacore.com>
11765
11766 * gdb.ada/array_return/pck.ads: Add copyright notice.
11767 * gdb.ada/array_return/pck.adb: Likewise.
11768 * gdb.ada/array_return/p.adb: Likewise.
11769 * gdb.ada/exec_changed/first.adb: Likewise.
11770 * gdb.ada/exec_changed/second.adb: Likewise.
11771
09851417
JB
117722006-10-06 Joel Brobecker <brobecker@adacore.com>
11773
11774 * gdb.ada/watch_arg/watch.adb: New file.
11775 * gdb.ada/watch_arg.exp: New testcase.
11776
041bf30d
VP
117772006-10-02 Vladimir Prus <vladimir@codesourcery.com>
11778
11779 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 11780 via string_to_regexp.
041bf30d 11781 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 11782
f286fbdd 117832006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
11784
11785 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11786 Remove unused / obsolete files.
11787
7c07f349
NR
117882006-09-19 Nick Roberts <nickrob@snap.net.nz>
11789
11790 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11791
cd5ff84a
VP
117922006-09-17 Vladimir Prus <vladimir@codesourcery.com>
11793
11794 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11795 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 11796 the number of frames.
cd5ff84a 11797
ae018d1a
DJ
117982006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
11799
11800 * gdb.base/args.c (main): Add breakpoint marker.
11801 * gdb.base/args.exp: Use args_test for tests. Add new tests which
11802 really test empty arguments.
11803 (args_load): Delete.
11804 (args_test): New.
11805
b399c549
NR
118062006-09-13 Nick Roberts <nickrob@snap.net.nz>
11807
11808 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 11809 check for one file.
b399c549 11810
2ab1eb7a
VP
118112006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
11812
11813 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11814 HIGH_FRAME argument to -stack-list-locals can be larger than
11815 the number of frames.
a9c64011 11816
476308bf
FF
118172006-08-18 Fred Fish <fnf@specifix.com>
11818
11819 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11820 '$' in front of skip_vmx_tests_saved when setting that.
11821
8625200f
AS
118222006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
11823
11824 * gdb.base/trace-commands.exp: New file.
11825
089ec8f1
DJ
118262006-08-10 Joel Brobecker <brobecker@adacore.com>
11827 Daniel Jacobowitz <dan@codesourcery.com>
11828
11829 * gdb.base/step-bt.exp: Make hexadecimal address optional in
11830 expected output of the backtrace commands.
11831
b60f0898
JB
118322006-08-09 Joel Brobecker <brobecker@adacore.com>
11833
11834 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11835 untested followed by return combination.
11836 * gdb.arch/altivec-regs.exp: Likewise.
11837 * gdb.arch/e500-abi.exp: Likewise.
11838 * gdb.arch/e500-regs.exp: Likewise.
11839 * gdb.arch/gdb1291.exp: Likewise.
11840 * gdb.arch/gdb1431.exp: Likewise.
11841 * gdb.arch/gdb1558.exp: Likewise.
11842 * gdb.arch/i386-prologue.exp: Likewise.
11843 * gdb.arch/i386-unwind.exp: Likewise.
11844 * gdb.asm/asm-source.exp: Likewise.
11845 * gdb.base/a2-run.exp: Likewise.
11846 * gdb.base/advance.exp: Likewise.
11847 * gdb.base/all-bin.exp: Likewise.
11848 * gdb.base/annota1.exp: Likewise.
11849 * gdb.base/annota3.exp: Likewise.
11850 * gdb.base/args.exp: Likewise.
11851 * gdb.base/arithmet.exp: Likewise.
11852 * gdb.base/assign.exp: Likewise.
11853 * gdb.base/async.exp: Likewise.
11854 * gdb.base/attach.exp: Likewise.
11855 * gdb.base/bang.exp: Likewise.
11856 * gdb.base/bigcore.exp: Likewise.
11857 * gdb.base/bitfields.exp: Likewise.
11858 * gdb.base/bitfields2.exp: Likewise.
11859 * gdb.base/break.exp: Likewise.
11860 * gdb.base/call-sc.exp: Likewise.
11861 * gdb.base/call-strs.exp: Likewise.
11862 * gdb.base/callfuncs.exp: Likewise.
11863 * gdb.base/checkpoint.exp: Likewise.
11864 * gdb.base/chng-syms.exp: Likewise.
11865 * gdb.base/code-expr.exp: Likewise.
11866 * gdb.base/commands.exp: Likewise.
11867 * gdb.base/completion.exp: Likewise.
11868 * gdb.base/cond-expr.exp: Likewise.
11869 * gdb.base/condbreak.exp: Likewise.
11870 * gdb.base/consecutive.exp: Likewise.
11871 * gdb.base/constvars.exp: Likewise.
11872 * gdb.base/corefile.exp: Likewise.
11873 * gdb.base/cvexpr.exp: Likewise.
11874 * gdb.base/dbx.exp: Likewise.
11875 * gdb.base/define.exp: Likewise.
11876 * gdb.base/detach.exp: Likewise.
11877 * gdb.base/display.exp: Likewise.
11878 * gdb.base/dump.exp: Likewise.
11879 * gdb.base/ena-dis-br.exp: Likewise.
11880 * gdb.base/ending-run.exp: Likewise.
11881 * gdb.base/environ.exp: Likewise.
11882 * gdb.base/eval-skip.exp: Likewise.
11883 * gdb.base/exprs.exp: Likewise.
11884 * gdb.base/fileio.exp: Likewise.
11885 * gdb.base/finish.exp: Likewise.
11886 * gdb.base/float.exp: Likewise.
11887 * gdb.base/foll-exec.exp: Likewise.
11888 * gdb.base/foll-fork.exp: Likewise.
11889 * gdb.base/foll-vfork.exp: Likewise.
11890 * gdb.base/freebpcmd.exp: Likewise.
11891 * gdb.base/funcargs.exp: Likewise.
11892 * gdb.base/gcore.exp: Likewise.
11893 * gdb.base/gdb1090.exp: Likewise.
11894 * gdb.base/gdb1250.exp: Likewise.
11895 * gdb.base/huge.exp: Likewise.
11896 * gdb.base/info-proc.exp: Likewise.
11897 * gdb.base/interrupt.exp: Likewise.
11898 * gdb.base/jump.exp: Likewise.
11899 * gdb.base/langs.exp: Likewise.
11900 * gdb.base/lineinc.exp: Likewise.
11901 * gdb.base/list.exp: Likewise.
11902 * gdb.base/logical.exp: Likewise.
11903 * gdb.base/long_long.exp: Likewise.
11904 * gdb.base/macscp.exp: Likewise.
11905 * gdb.base/maint.exp: Likewise.
11906 * gdb.base/mips_pro.exp: Likewise.
11907 * gdb.base/miscexprs.exp: Likewise.
11908 * gdb.base/multi-forks.exp: Likewise.
11909 * gdb.base/opaque.exp: Likewise.
11910 * gdb.base/overlays.exp: Likewise.
11911 * gdb.base/pc-fp.exp: Likewise.
11912 * gdb.base/pointers.exp: Likewise.
11913 * gdb.base/printcmds.exp: Likewise.
11914 * gdb.base/psymtab.exp: Likewise.
11915 * gdb.base/ptype.exp: Likewise.
11916 * gdb.base/recurse.exp: Likewise.
11917 * gdb.base/relational.exp: Likewise.
11918 * gdb.base/relocate.exp: Likewise.
11919 * gdb.base/remote.exp: Likewise.
11920 * gdb.base/reread.exp: Likewise.
11921 * gdb.base/restore.exp: Likewise.
11922 * gdb.base/return.exp: Likewise.
11923 * gdb.base/return2.exp: Likewise.
11924 * gdb.base/scope.exp: Likewise.
11925 * gdb.base/sect-cmd.exp: Likewise.
11926 * gdb.base/sep.exp: Likewise.
11927 * gdb.base/sepdebug.exp: Likewise.
11928 * gdb.base/setshow.exp: Likewise.
11929 * gdb.base/setvar.exp: Likewise.
11930 * gdb.base/sigall.exp: Likewise.
11931 * gdb.base/sigbpt.exp: Likewise.
11932 * gdb.base/signals.exp: Likewise.
11933 * gdb.base/signull.exp: Likewise.
11934 * gdb.base/sizeof.exp: Likewise.
11935 * gdb.base/solib.exp: Likewise.
11936 * gdb.base/step-line.exp: Likewise.
11937 * gdb.base/step-test.exp: Likewise.
11938 * gdb.base/structs.exp: Likewise.
11939 * gdb.base/structs2.exp: Likewise.
11940 * gdb.base/term.exp: Likewise.
11941 * gdb.base/twice.exp: Likewise.
11942 * gdb.base/until.exp: Likewise.
11943 * gdb.base/varargs.exp: Likewise.
11944 * gdb.base/volatile.exp: Likewise.
11945 * gdb.base/watchpoint.exp: Likewise.
11946 * gdb.base/whatis-exp.exp: Likewise.
11947 * gdb.base/whatis.exp: Likewise.
11948 * gdb.cp/ambiguous.exp: Likewise.
11949 * gdb.cp/annota2.exp: Likewise.
11950 * gdb.cp/annota3.exp: Likewise.
11951 * gdb.cp/bool.exp: Likewise.
11952 * gdb.cp/breakpoint.exp: Likewise.
11953 * gdb.cp/casts.exp: Likewise.
11954 * gdb.cp/class2.exp: Likewise.
11955 * gdb.cp/classes.exp: Likewise.
11956 * gdb.cp/cplusfuncs.exp: Likewise.
11957 * gdb.cp/ctti.exp: Likewise.
11958 * gdb.cp/derivation.exp: Likewise.
11959 * gdb.cp/exception.exp: Likewise.
11960 * gdb.cp/gdb1355.exp: Likewise.
11961 * gdb.cp/hang.exp: Likewise.
11962 * gdb.cp/inherit.exp: Likewise.
11963 * gdb.cp/local.exp: Likewise.
11964 * gdb.cp/m-data.exp: Likewise.
11965 * gdb.cp/m-static.exp: Likewise.
11966 * gdb.cp/member-ptr.exp: Likewise.
11967 * gdb.cp/method.exp: Likewise.
11968 * gdb.cp/misc.exp: Likewise.
11969 * gdb.cp/namespace.exp: Likewise.
11970 * gdb.cp/overload.exp: Likewise.
11971 * gdb.cp/ovldbreak.exp: Likewise.
11972 * gdb.cp/pr-1023.exp: Likewise.
11973 * gdb.cp/pr-1210.exp: Likewise.
11974 * gdb.cp/pr-574.exp: Likewise.
11975 * gdb.cp/printmethod.exp: Likewise.
11976 * gdb.cp/psmang.exp: Likewise.
11977 * gdb.cp/ref-params.exp: Likewise.
11978 * gdb.cp/ref-types.exp: Likewise.
11979 * gdb.cp/rtti.exp: Likewise.
11980 * gdb.cp/templates.exp: Likewise.
11981 * gdb.cp/try_catch.exp: Likewise.
11982 * gdb.cp/userdef.exp: Likewise.
11983 * gdb.cp/virtfunc.exp: Likewise.
11984 * gdb.disasm/am33.exp: Likewise.
11985 * gdb.disasm/h8300s.exp: Likewise.
11986 * gdb.disasm/mn10300.exp: Likewise.
11987 * gdb.disasm/sh3.exp: Likewise.
11988 * gdb.disasm/t01_mov.exp: Likewise.
11989 * gdb.disasm/t02_mova.exp: Likewise.
11990 * gdb.disasm/t03_add.exp: Likewise.
11991 * gdb.disasm/t04_sub.exp: Likewise.
11992 * gdb.disasm/t05_cmp.exp: Likewise.
11993 * gdb.disasm/t06_ari2.exp: Likewise.
11994 * gdb.disasm/t07_ari3.exp: Likewise.
11995 * gdb.disasm/t08_or.exp: Likewise.
11996 * gdb.disasm/t09_xor.exp: Likewise.
11997 * gdb.disasm/t10_and.exp: Likewise.
11998 * gdb.disasm/t11_logs.exp: Likewise.
11999 * gdb.disasm/t12_bit.exp: Likewise.
12000 * gdb.disasm/t13_otr.exp: Likewise.
12001 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12002 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12003 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12004 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12005 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12006 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12007 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12008 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12009 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12010 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12011 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12012 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12013 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12014 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12015 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12016 * gdb.mi/gdb701.exp: Likewise.
12017 * gdb.mi/gdb792.exp: Likewise.
12018 * gdb.mi/mi-basics.exp: Likewise.
12019 * gdb.mi/mi-break.exp: Likewise.
12020 * gdb.mi/mi-cli.exp: Likewise.
12021 * gdb.mi/mi-console.exp: Likewise.
12022 * gdb.mi/mi-disassemble.exp: Likewise.
12023 * gdb.mi/mi-eval.exp: Likewise.
12024 * gdb.mi/mi-file.exp: Likewise.
12025 * gdb.mi/mi-read-memory.exp: Likewise.
12026 * gdb.mi/mi-regs.exp: Likewise.
12027 * gdb.mi/mi-return.exp: Likewise.
12028 * gdb.mi/mi-simplerun.exp: Likewise.
12029 * gdb.mi/mi-stack.exp: Likewise.
12030 * gdb.mi/mi-stepi.exp: Likewise.
12031 * gdb.mi/mi-syn-frame.exp: Likewise.
12032 * gdb.mi/mi-until.exp: Likewise.
12033 * gdb.mi/mi-var-block.exp: Likewise.
12034 * gdb.mi/mi-var-child.exp: Likewise.
12035 * gdb.mi/mi-var-cmd.exp: Likewise.
12036 * gdb.mi/mi-var-display.exp: Likewise.
12037 * gdb.mi/mi-watch.exp: Likewise.
12038 * gdb.mi/mi2-basics.exp: Likewise.
12039 * gdb.mi/mi2-break.exp: Likewise.
12040 * gdb.mi/mi2-cli.exp: Likewise.
12041 * gdb.mi/mi2-console.exp: Likewise.
12042 * gdb.mi/mi2-disassemble.exp: Likewise.
12043 * gdb.mi/mi2-eval.exp: Likewise.
12044 * gdb.mi/mi2-file.exp: Likewise.
12045 * gdb.mi/mi2-read-memory.exp: Likewise.
12046 * gdb.mi/mi2-regs.exp: Likewise.
12047 * gdb.mi/mi2-return.exp: Likewise.
12048 * gdb.mi/mi2-simplerun.exp: Likewise.
12049 * gdb.mi/mi2-stack.exp: Likewise.
12050 * gdb.mi/mi2-stepi.exp: Likewise.
12051 * gdb.mi/mi2-syn-frame.exp: Likewise.
12052 * gdb.mi/mi2-until.exp: Likewise.
12053 * gdb.mi/mi2-var-block.exp: Likewise.
12054 * gdb.mi/mi2-var-child.exp: Likewise.
12055 * gdb.mi/mi2-var-cmd.exp: Likewise.
12056 * gdb.mi/mi2-var-display.exp: Likewise.
12057 * gdb.mi/mi2-watch.exp: Likewise.
12058 * gdb.stabs/exclfwd.exp: Likewise.
12059 * gdb.stabs/weird.exp: Likewise.
12060 * gdb.threads/gcore-thread.exp: Likewise.
12061 * gdb.trace/actions.exp: Likewise.
12062 * gdb.trace/backtrace.exp: Likewise.
12063 * gdb.trace/circ.exp: Likewise.
12064 * gdb.trace/collection.exp: Likewise.
12065 * gdb.trace/deltrace.exp: Likewise.
12066 * gdb.trace/infotrace.exp: Likewise.
12067 * gdb.trace/limits.exp: Likewise.
12068 * gdb.trace/packetlen.exp: Likewise.
12069 * gdb.trace/passc-dyn.exp: Likewise.
12070 * gdb.trace/passcount.exp: Likewise.
12071 * gdb.trace/report.exp: Likewise.
12072 * gdb.trace/save-trace.exp: Likewise.
12073 * gdb.trace/tfind.exp: Likewise.
12074 * gdb.trace/tracecmd.exp: Likewise.
12075 * gdb.trace/while-dyn.exp: Likewise.
12076 * gdb.trace/while-stepping.exp: Likewise.
12077
f4b618d1
JB
120782006-08-08 Joel Brobecker <brobecker@adacore.com>
12079
12080 * gdb.base/step-bt.c: New file.
12081 * gdb.base/step-bt.exp: New testcase.
12082
3d00d119
DJ
120832006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12084
12085 * config/monitor.exp (gdb_load): Remove support for obsolete
12086 download-write-size.
12087 * gdb.base/remote.exp: Likewise. Update all callers of
12088 gdb_timed_load.
12089
017b5bd4
DJ
120902006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12091
12092 * cursal.exp: Pass binfile to gdb_load.
12093
837c599d
DJ
120942006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12095
12096 * gdb.base/cursal.exp: Add "" to gdb_load call.
12097
8dd4540b
MK
120982006-07-29 Mark Kettenis <kettenis@gnu.org>
12099
12100 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12101 NetBSD/ELF targets.
12102
ab5c9f60
DJ
121032006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12104
12105 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12106 operator*.
12107
4c42eaff
DJ
121082006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12109
12110 * gdb.base/completion.exp: Update for change in "file" behavior.
12111 * gdb.stabs/weird.exp: Likewise.
12112 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12113 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12114
0155cc76
NS
121152006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12116
12117 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12118 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12119
16026cd7
AS
121202006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12121
12122 * gdb.base/default.exp: Update source command error message.
12123 * gdb.base/help.exp: Update 'help source' message.
12124
16963cb6
DJ
121252006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12126
12127 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12128 test.
12129
6d7fd486
AS
121302006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12131
12132 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12133
29e8a844
DJ
121342006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12135
12136 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12137
6afcfa39
DJ
121382006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12139
12140 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12141
267a692b
MK
121422006-07-17 Mark Kettenis <kettenis@gnu.org>
12143
12144 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12145 *-*-openbsd* from targets for wich we expect ARM FPA floating
12146 point format.
12147
85d2fec4
NR
121482006-07-17 Nick Roberts <nickrob@snap.net.nz>
12149
12150 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12151
121522006-07-17 Mark Kettenis <kettenis@gnu.org>
12153
12154 * gdb.base/annota3.exp: Expect frame-begin annotation.
12155
85b4c6e8
JB
121562006-07-14 Joel Brobecker <brobecker@adacore.com>
12157
12158 * gdb.base/help.exp: Adjust "help unset" test to accept
12159 any list of unset commands.
12160
fb933624
DJ
121612006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12162 Daniel Jacobowitz <dan@codesourcery.com>
12163
12164 * gdb.cp/ref-params.exp: New test.
12165 * gdb.cp/ref-params.cc: New source file.
12166 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12167
1dff4b64
MK
121682006-07-08 Mark Kettenis <kettenis@gnu.org>
12169
12170 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12171 spaces/tabs in regular expressions since they might not be there.
12172
40d2e0e3
AS
121732006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12174
12175 * gdb.base/ifelse.exp: New file.
12176
f6c957d2
NS
121772006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12178
12179 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12180 line.
12181 * gdb.base/huge.exp: Loop over compilation to find a size that
12182 is acceptable.
12183 * gdb.base/remote.exp: Correct expected strings.
12184 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12185
b9c5a23d
DJ
121862006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12187
12188 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12189
9af2e58d
DJ
121902006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12191
12192 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12193 native.
12194
30930ca5
DJ
121952006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12196
12197 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12198 enable stabs testing.
12199
aa32fa1d
DJ
122002006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12201
bd4a4c80 12202 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12203 gdb_test_multiple does.
12204
321fef15
DJ
122052006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12206
12207 * Makefile.in (host_alias): Remove.
12208 (target_alias): Use @target_noncanonical@.
12209 (site.exp): Don't set host_alias.
12210 * aclocal.m4: Remove contents. Include acx.m4.
12211 * configure: Regenerated.
12212 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12213
e1c2defa
NS
122142006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12215
e63b55d1
NS
12216 * lib/gdb.exp (gdb_load_cmd): New.
12217
5600ea19
NS
12218 * gdb.base/fileio.c: Add system(NULL) test.
12219 * gdb.base/fileio.exp: Check it.
12220
e1c2defa
NS
12221 * gdb.base/break.c: Add 10a breakpoint at }
12222 * gdb.base/break.exp: Add test for breakpoint at }
12223 * gdb.cp/anon-union.cc: Add code at end of function.
12224 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12225 * gdb.mi/var-cmd.c: Add code at end of function.
12226 * gdb.mi/mi-var-display.exp: Adjust end of next.
12227 * gdb.mi/mi2-var-display.exp: Likewise.
12228 * gdb.base/fileio.c: Add stop function and insert calls at
12229 stopping places.
12230 * gdb.base/fileio.exp: Breakpoint stop function and remove
12231 explicit line number references.
12232
6c0112ec
JB
122332006-05-19 Joel Brobecker <brobecker@adacore.com>
12234
a9c64011
AS
12235 * gdb.base/del.exp (test_delete_alias): New function.
12236 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 12237
154189a4
FF
122382006-05-18 Fred Fish <fnf@specifix.com>
12239
12240 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12241 required. Check for spurious output after program exits normally.
12242
582e64c2
FF
122432006-05-17 Fred Fish <fnf@specifix.com>
12244
12245 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12246 gdb_load, so it works in the simulator.
12247
8ef6493a
FF
122482006-05-11 Fred Fish <fnf@specifix.com>
12249
12250 * gdb.base/bang.exp: Ignore unexpected output between the
12251 "program exited normally" and the gdb prompt, as many other
12252 tests do.
12253
692b141c
MK
122542006-05-07 Mark Kettenis <kettenis@gnu.org>
12255
12256 * gdb.base/help.exp: Make "delete checkpoint" part option for
12257 "help d" and "help delete" tests.
12258
540b8a30
UW
122592006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12260
a9c64011 12261 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
12262 expected output in some mi_gdb_test statements.
12263 * gdb.mi/mi2-basics.exp: Likewise.
12264
9b6462d9
JB
122652006-05-05 Joel Brobecker <brobecker@adacore.com>
12266
12267 * gdb.base/del.c: New file.
12268 * gdb.base/del.exp: New testcase.
12269
954de43b
DM
122702006-05-05 David S. Miller <davem@sunset.davemloft.net>
12271
12272 * gdb.base/break.exp: Do not assume a breakpoint on
12273 main will actually be in $srcfile when optimizing.
1303f75e
DM
12274 * gdb.base/savedregs.exp: Do not require that the dummy
12275 frame location match up to a symbol and source file location.
c3242428
DM
12276 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12277 will get printed without a mi_cmd_data_list_register_values prefix.
12278 (*-data-list-register-*): Correct regular expressions to expect the new
12279 pseudo d? floating point registers.
12280 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 12281
c7e64c9a
DJ
122822006-05-05 Christophe Lyon <christophe.lyon@st.com>
12283
12284 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12285 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12286 is allocated by the compiler.
12287 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12288 anons, e, anone to force their allocation by the compiler.
12289
122902006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
12291
12292 * gdb.base/help.exp: Update expected text for help d and
12293 help delete.
12294
27ce9a6d
MK
122952006-05-02 Mark Kettenis <kettenis@gnu.org>
12296
12297 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12298 NetBSD/ELF targets.
12299
8608915f
MK
123002006-04-30 Mark Kettenis <kettenis@gnu.org>
12301
12302 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12303 single-step breakpoint fails; make this a KFAIL on
12304 sparc*-*-openbsd*.
12305 * gdb.base/siginfo.exp: Likewise.
12306 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12307
b8db102d
MS
123082006-04-26 Michael Snyder <msnyder@redhat.com>
12309
12310 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12311 which may have to consume output from other forks.
12312 Add tests to make sure that "delete fork" succeeded.
12313
c702009a
MS
123142006-04-20 Michael Snyder <msnyder@redhat.com>
12315
12316 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12317 Add support for the Renesas M32C and M16C.
12318
12319 * gdb.asm/asm-source.exp: Add m32c target.
12320 * gdb.asm/m32c.inc: Support for m32c target.
12321
e28493f2
AS
123222006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12323
12324 * gdb.base/commands.exp (recursive_source_test): New test.
12325
880da185
DM
123262006-04-04 David S. Miller <davem@sunset.davemloft.net>
12327
12328 * gdb.base/float.exp: Add pattern for sparc targets.
12329
61d9b92f
DJ
123302006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12331
12332 * gdb.base/commands.exp (stray_arg0_test): New test.
12333
bd717df8
PB
123342006-03-30 Paul Brook <paul@codesourcery.com>
12335
12336 * gdb.mi/mi-until.exp: kfail broken until command.
12337 * gdb.mi/mi2-until.exp: Ditto.
12338
ec793d3c
NR
123392006-03-27 Nick Roberts <nickrob@snap.net.nz>
12340
12341 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12342
831004b7
AO
123432006-03-08 Alexandre Oliva <aoliva@redhat.com>
12344
12345 * gdb.base/prelink.exp: Anchor tested-for regular expression
12346 on gdb prompt.
12347
effe49a0
PB
123482006-03-07 Paul Brook <paul@codesourcery.com>
12349
12350 * gdb.base/assign.exp: Correct fail message.
12351
e5461016
PB
123522006-03-07 Paul Brook <paul@codesourcery.com>
12353
12354 * lib/compiler.c: Extract armcc version number.
12355 * lib/compiler.cc: Ditto.
12356
fc91c6c2
PB
123572006-03-07 Paul Brook <paul@codesourcery.com>
12358
12359 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12360 additional_flags=-w.
12361 * gdb.arch/altivec-regs.exp: Ditto.
12362 * gdb.arch/e500-abi.exp: Ditto.
12363 * gdb.arch/e500-regs.exp: Ditto.
12364 * gdb.base/all-bin.exp: Ditto.
12365 * gdb.base/annota1.exp: Ditto.
12366 * gdb.base/annota3.exp: Ditto.
12367 * gdb.base/args.exp: Ditto.
12368 * gdb.base/arithmet.exp: Ditto.
12369 * gdb.base/assign.exp: Ditto.
12370 * gdb.base/async.exp: Ditto.
12371 * gdb.base/bang.exp: Ditto.
12372 * gdb.base/break.exp: Ditto.
12373 * gdb.base/call-rt-st.exp: Ditto.
12374 * gdb.base/completion.exp: Ditto.
12375 * gdb.base/cond-expr.exp: Ditto.
12376 * gdb.base/condbreak.exp: Ditto.
12377 * gdb.base/consecutive.exp: Ditto.
12378 * gdb.base/define.exp: Ditto.
12379 * gdb.base/display.exp: Ditto.
12380 * gdb.base/ena-dis-br.exp: Ditto.
12381 * gdb.base/environ.exp: Ditto.
12382 * gdb.base/eval-skip.exp: Ditto.
12383 * gdb.base/info-proc.exp: Ditto.
12384 * gdb.base/jump.exp: Ditto.
12385 * gdb.base/logical.exp: Ditto.
12386 * gdb.base/long_long.exp: Ditto.
12387 * gdb.base/maint.exp: Ditto.
12388 * gdb.base/miscexprs.exp: Ditto.
12389 * gdb.base/pc-fp.exp: Ditto.
12390 * gdb.base/pointers.exp: Ditto.
12391 * gdb.base/relational.exp: Ditto.
12392 * gdb.base/reread.exp: Ditto.
12393 * gdb.base/sect-cmd.exp: Ditto.
12394 * gdb.base/sep.exp: Ditto.
12395 * gdb.base/sepdebug.exp: Ditto.
12396 * gdb.base/until.exp: Ditto.
12397 * gdb.base/whatis-exp.exp: Ditto.
12398 * gdb.cp/annota2.exp: Ditto.
12399 * gdb.cp/annota3.exp: Ditto.
12400 * gdb.trace/actions.exp: Ditto.
12401 * gdb.trace/backtrace.exp: Ditto.
12402 * gdb.trace/circ.exp: Ditto.
12403 * gdb.trace/collection.exp: Ditto.
12404 * gdb.trace/deltrace.exp: Ditto.
12405 * gdb.trace/infotrace.exp: Ditto.
12406 * gdb.trace/limits.exp: Ditto.
12407 * gdb.trace/packetlen.exp: Ditto.
12408 * gdb.trace/passc-dyn.exp: Ditto.
12409 * gdb.trace/passcount.exp: Ditto.
12410 * gdb.trace/report.exp: Ditto.
12411 * gdb.trace/save-trace.exp: Ditto.
12412 * gdb.trace/tfind.exp: Ditto.
12413 * gdb.trace/tracecmd.exp: Ditto.
12414 * gdb.trace/while-dyn.exp: Ditto.
12415 * gdb.trace/while-stepping.exp: Ditto.
12416 * lib/gdb.exp: Ditto.
12417 (gdb_compile): Handle nowarning option.
12418
5f4a23d9
AO
124192006-03-07 Alexandre Oliva <aoliva@redhat.com>
12420
12421 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12422 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
12423 Rename executable to prelinkt. Don't re-prelink if we didn't
12424 get a core file. Test prelink -u exit status to tell whether
12425 prelinking failed. Use gdb_test_multiple.
12426
9733fc94
DJ
124272006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12428
12429 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12430 (do_tests): Call it.
12431
cc10cae3
AO
124322006-02-28 Alexandre Oliva <aoliva@redhat.com>
12433
12434 * gdb.base/prelink.exp: New test.
12435 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12436
15c46491
WZ
124372006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
12438
12439 * gdb.fortran/derived-type.f90: New file.
12440 * gdb.fortran/derived-type.exp: New testcase.
12441
5c9f7ded
DJ
124422006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
12443
12444 * gdb.base/default.exp: Allow ';' as a directory separator.
12445
5b96932b
AS
124462006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12447
12448 * gdb.base/help.exp (help add-symbol-file): Update.
12449
1986bccd
AS
124502006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12451
12452 * gdb.base/help.exp (help load): Update expected results.
12453
a8b7528f
FF
124542006-02-19 Fred Fish <fnf@specifix.com>
12455
12456 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12457 specifix hex value as part of results.
12458 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 12459
f8261448
FF
124602006-02-16 Fred Fish <fnf@specifix.com>
12461
12462 * gdb.base/whatis.c: Define variables using typedefs char_addr,
12463 ushort_addr, and slong_addr, so the typedefs are not optimized
12464 away.
12465 * gdb.base/whatis.exp: Add tests using type name for struct type,
12466 union type, enum type, and typedef.
a9c64011 12467
31d8bdd2
MK
124682006-02-13 Mark Kettenis <kettenis@gnu.org>
12469
12470 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12471
34e41e63
JB
124722006-02-13 Jim Blandy <jimb@redhat.com>
12473
12474 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12475 case where it takes two "next" commands to skip past the init
12476 call.
12477
ac6e4f31
FF
124782006-02-12 Fred Fish <fnf@specifix.com>
12479
12480 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12481 to handle cases where it takes two "next" commands to skip
12482 past the init call.
12483
2db2d571
JB
124842006-02-07 Joel Brobecker <brobecker@adacore.com>
12485
12486 * gdb.ada/array_return.exp: Mark the last test as expected to fail
12487 on hppa32 targets.
12488
38fcd64c
DJ
124892006-02-06 Vladimir Prus <ghost@cs.msu.su>
12490
12491 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12492 field.
12493
1315ad46
MK
124942006-01-29 Mark Kettenis <kettenis@gnu.org>
12495
12496 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12497
5625b943
DJ
124982006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12499
12500 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12501 files.
12502
80df1bbe
DJ
125032006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12504
12505 * gdb.cp/maint.exp: Set complaints to a positive value.
12506
9078e690
DJ
125072006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12508
12509 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
12510 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
12511 function name.
12512
9c903399
DJ
125132006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12514
12515 * gdb.base/checkpoint.c: Update copyright notice. Include
12516 <stdlib.h>.
12517
761ae4d6
JB
125182006-01-04 Jim Blandy <jimb@redhat.com>
12519
12520 * gdb.asm/asm-source.exp: Independently provide default values for
12521 asm-flags and debug-flags. Use 'string equal' to do the
12522 comparison, not the implicit expr's '==' operator. Remove
12523 now-unneeded assignments to asm-flags. In h8300 case, place
12524 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12525
099ac3dd
MS
125262006-01-04 Michael Snyder <msnyder@redhat.com>
12527
12528 * gdb.base/checkpoint.c: New file.
12529 * gdb.base/checkpoint.exp: New file.
12530 * gdb.base/multi-fork.c: New file.
12531 * gdb.base/multi-fork.exp: New file.
12532 * gdb.base/pi.txt: New file (data for checkpoint.c test).
12533
f4d85314
FF
125342006-01-04 Fred Fish <fnf@specifix.com>
12535
12536 * gdb.base/ptype.c (foo): Add typedef.
12537 (intfoo): Add function.
12538 * gdb.base/ptype1.c: New file.
12539 * gdb.base/ptype.exp: Handle compilation and linking with two
12540 source files. Test that proper type for "foo" is found based
12541 on source context rather than first match found in symtabs.
12542
a1b06f35
MK
125432005-12-28 Mark Kettenis <kettenis@gnu.org>
12544
12545 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12546 * gdb.asm/openbsd.inc: Indent commands.
12547
d082a1e2
MK
125482005-12-26 Mark Kettenis <kettenis@gnu.org>
12549
c65016bd
MK
12550 * gdb.base/freebpcmd.exp: Increase timeout.
12551
d082a1e2
MK
12552 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12553
d3c32a0e
DJ
125542005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
12555
12556 * gdb.base/default.exp: Update check for "show version".
12557
9fdb1f50
RC
125582005-12-09 Randolph Chung <tausq@debian.org>
12559
12560 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12561 * gdb.asm/pa64.inc: New file.
12562
5f2c56f7
RC
125632005-12-09 Randolph Chung <tausq@debian.org>
12564
12565 * gdb.asm/common.inc: Indent commands.
12566 * gdb.asm/asmsrc1.s: Likewise.
12567 * gdb.asm/asmsrc2.s: Likewise.
12568
8117349c
RC
125692005-12-09 Randolph Chung <tausq@debian.org>
12570
12571 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12572 (get_addr_of_sym): Remove duplicate print.
12573 (gen_core): xfail hppa*-*-hpux*, update expected output.
12574 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12575 * gdb.arch/pa64-nullify.s: New file.
12576
8f07f25a
RC
125772005-12-09 Randolph Chung <tausq@debian.org>
12578
12579 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12580
55b39184
DJ
125812005-12-07 Christophe Lyon <christophe.lyon@st.com>
12582
12583 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12584 code generation for these functions.
12585 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12586 error message.
12587
31e2b00f
AS
125882005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
12589
12590 * gdb.base/help.exp (help b, help br, help bre, help brea)
12591 (help break): Update the expected message.
12592
c3d0b56e
SC
125932005-11-11 Stephane Carrez <stcarrez@nerim.fr>
12594
12595 * gdb.asm/m68hc11.inc: Setup the data section.
12596 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12597 script for this test.
12598 (m6812-*-*): Likewise.
12599
36ae0ea9
RC
126002005-11-09 Randolph Chung <tausq@debian.org>
12601
12602 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12603
9d6f42e9
WZ
126042005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
12605
12606 * gdb.base/break.exp: Fix a comment typo.
12607
e2126a14
EZ
126082005-11-03 Jim Blandy <jimb@redhat.com>
12609
a9c64011
AS
12610 Checked in by Elena Zannoni <ezannoni@redhat.com>
12611
889bf7c5 12612 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 12613
e0ac7199
CV
126142005-11-02 Corinna Vinschen <vinschen@redhat.com>
12615
12616 * gdb.arch/gdb1558.c: Include stdio.h.
12617
31d3fb18
MK
126182005-10-31 Mark Kettenis <kettenis@gnu.org>
12619
12620 * gdb.asm/asm-source.exp: Use -e instead of --entry.
12621
e52b687c
MK
126222005-10-31 Mark Kettenis <kettenis@gnu.org>
12623
12624 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12625
f4711d79
PG
126262005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
12627
a9c64011
AS
12628 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12629 vscr" tests to better match output.
f4711d79 12630
987a9106
JB
126312005-10-12 Jim Blandy <jimb@redhat.com>
12632
12633 * gdb.base/structs.exp (any): New function.
12634 (test_struct_returns): Don't make any assumptions at all about
12635 what value the function returns when GDB can't set the return
12636 value.
12637
2336bb58
JB
126382005-10-09 Joel Brobecker <brobecker@adacore.com>
12639
12640 * gdb.ada/arrayidx/p.adb: New file.
12641 * gdb.ada/arrayidx.exp: New testcase
12642
126432005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
12644
12645 * gdb.ada/array_return/pck.ads: New file.
12646 * gdb.ada/array_return/pck.adb: New file.
12647 * gdb.ada/array_return/p.adb: New file.
12648 * gdb.ada/array_return.exp: New testcase.
12649
705335ea
JB
126502005-10-03 Joel Brobecker <brobecker@adacore.com>
12651
a9c64011
AS
12652 * gdb.base/arrayidx.c: New file.
12653 * gdb.base/arrayidx.exp: New testcase.
705335ea 12654
11ee9940
NR
126552005-09-29 Nick Roberts <nickrob@snap.net.nz>
12656
12657 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12658 frames-invalid and breakpoints-invalid are no longer generated
12659 with level 3 so don't expect them in the output.
12660
39fb8e9e
BR
126612005-09-27 Bob Rossi <bob@brasko.net>
12662
a9c64011 12663 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
12664 from test. Escape the | in mi_gdb_test call.
12665 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12666 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12667 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12668 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12669 expected regex's in mi_gdb_test calls.
12670 * lib/mi-support.exp: Remove arbitrary .* from tests.
12671 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12672 Fully anchor GDB/MI expected results in mi_gdb_test.
12673 * lib/gdb.exp (string_to_regexp): Escape the ] character.
12674 * gdb.base/sizeof.exp: Remove escape character. Correct test.
12675
2af48f68
PB
126762005-09-26 Paul Brook <paul@codesourcery.com>
12677
12678 * long_long.exp: Exclude eabi targets from arm FPA float format test.
12679
f34502bc
WZ
126802005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12681
12682 * bfp-test.c: New file.
12683 * bfp-test.exp: New testcase.
12684
ca929517
WZ
126852005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12686
12687 * gdb.fortran/subarray.exp: New testcase to test the evaluation
12688 of subarray and substring variable.
12689 * gdb.fortran/subarray.f: New source file for the test of subarray
12690 and substring variable evaluation.
12691 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12692 of string constant.
12693
c761af65
DJ
126942005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
12695
12696 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12697 copyright dates.
12698
561d7a1d
PG
126992005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
12700
12701 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12702 powerpc altivec' test with an almost identical 'info vector' test.
12703
b2b64cc9
PG
127042005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12705
a9c64011
AS
12706 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12707 vscr" tests to match output.
b2b64cc9 12708
6ac4d15a
PG
127092005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12710
a9c64011
AS
12711 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12712 output.
6ac4d15a 12713
40e55bef
BR
127142005-09-11 Bob Rossi <bob@brasko.net>
12715
889bf7c5
PA
12716 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12717 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12718 commands that return an MI output command and an asyncronous MI output
12719 command.
40e55bef
BR
12720 * gdb.mi/mi-console.exp: Ditto.
12721
3c7385ec
BR
127222005-09-11 Bob Rossi <bob@brasko.net>
12723
12724 * gdb.mi/mi-var-child.c: Include <string.h>.
12725
a6cd0eb3
DJ
127262005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
12727
12728 * killed.exp: Correct gdb_expect syntax.
12729
2f168eed
CV
127302005-08-09 Corinna Vinschen <vinschen@redhat.com>
12731
12732 * lib/mi-support.exp (mi_gdb_load): Fix typo.
12733
ecd3fd0f
BR
127342005-08-02 Bob Rossi <bob@brasko.net>
12735
12736 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12737 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12738 Change tests to inferior-tty-set/show.
12739 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12740 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12741 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12742 inferior. Use mi_gdb_test to get GDB and Inferior output.
12743 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12744 descriptor.
12745 (mi_inferior_tty_name): Add inferior PTY file name.
12746 (mi_gdb_start): Add INFERIOR_PTY parameter.
12747 (mi_gdb_test): Add IPATTERN parameter.
12748
f1ea48cb 127492005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 12750
f1ea48cb
BR
12751 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12752 parameter to mi_gdb_test.
12753 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12754
6e650a67
DJ
127552005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12756
12757 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12758 struct_declarations.
12759 * gdb.mi/mi-var-child.exp: Step over the initialization of
12760 struct_declarations.
12761
8be260b6
DJ
127622005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12763
12764 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12765 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12766 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12767 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12768 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12769 file.
12770
4e660f07
NR
127712005-07-27 Nick Roberts <nickrob@snap.net.nz>
12772
12773 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12774 (do_children_tests): Assign values to the extra elements.
12775
12776 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12777 them for tests for "-var-update --no-values" and
a9c64011 12778 "-var-update --all-values".
4e660f07
NR
12779 Add test for "-var-list-children --simple-values".
12780
12781 * gdb.mi/basics.c (callee4): Add integer array D[3]...
12782
12783 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12784 "-stack-list-locals --simple-values" Improve doc strings and
12785 comments.
12786
6bdae935
MK
127872005-07-18 Mark Kettenis <kettenis@gnu.org>
12788
598b7a6f
MK
12789 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12790 *-*-openbsd*.
12791 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12792
6bdae935
MK
12793 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12794 sigaltsatck'.
12795
1323e929 127962005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 12797
1323e929
BR
12798 * gdb.base/default.exp (tty): Changed output of command.
12799 * gdb.base/help.exp (help tty): Ditto.
12800
b1a9c082
MK
128012005-07-12 Mark Kettenis <kettenis@gnu.org>
12802
12803 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12804
10a844a2
MK
128052005-07-10 Mark Kettenis <kettenis@gnu.org>
12806
12807 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12808 -stack-select-frame without arguments.
12809 (test_stack_frame_listing): Add test for newly implemented command
12810 -stack-info-frame.
12811
3cb3b8df
BR
128122005-07-06 Bob Rossi <bob@brasko.net>
12813
12814 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12815 command.
12816 (Copyright): Update copyright.
12817
a0c5fbcf
WZ
128182005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
12819
12820 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12821 tests to evaluate exponentiation expression.
12822
984971d0
AS
128232005-06-29 Andreas Schwab <schwab@suse.de>
12824
12825 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12826 main to avoid warnings.
12827
12828 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12829
fe03833f
NR
128302005-06-20 Nick Roberts <nickrob@snap.net.nz>
12831
12832 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12833 -stack-select-frame without arguments.
12834 (test_stack_frame_listing): Add test for newly implemented command
12835 -stack-info-frame.
a9c64011 12836
7a55f279
WZ
128372005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
12838
0ffa0ea5
DJ
12839 * gdb.fortran/array-element.f: New file.
12840 * gdb.fortran/array-element.exp: New testcase.
7a55f279 12841
26585198
DJ
128422005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12843
12844 * gdb.base/bigcore.exp: Correct checks for systems which can
12845 not dump a large core file.
12846
c1bd25fd
DJ
128472005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12848
12849 * gdb.base/relocate.c: Add a copyright notice.
12850 (dummy): Remove.
12851 * gdb.base/relocate.exp: Test printing the values of variables
12852 from a relocatable file.
12853
589e074d
DJ
128542005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
12855
12856 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12857 excess MI output after an error.
12858
0915f927
JB
128592005-05-29 Joel Brobecker <brobecker@adacore.com>
12860
12861 * gdb.arch/alpha-step.c: New file.
12862 * gdb.arch/alpha-step.exp: New testcase.
12863
76ff342d
DJ
128642005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
12865 Dennis Brueni <dennis@slickedit.com>
12866
12867 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12868 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12869 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12870 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12871 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12872 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12873 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12874
96b0c7ac
DJ
128752005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
12876 Wu Zhou <woodzltc@cn.ibm.com>
12877
12878 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
12879 IBM's xlc compiler.
12880 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12881 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12882
f21565d2
JB
128832005-05-13 Jim Blandy <jimb@redhat.com>
12884
12885 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12886 calling gdb_suppress_entire_file.
12887 * gdb.base/charset.exp: Same.
12888 * gdb.base/call-rt-st.exp: Same.
12889
6006a3a1
BR
128902005-05-05 Bob Rossi <bob_rossi@cox.net>
12891
12892 * lib/gdb.exp (fullname_syntax): Added global regex.
12893 (fullname_syntax_POSIX): Ditto.
12894 (fullname_syntax_UNC): Ditto.
12895 (fullname_syntax_DOS_CASE): Ditto.
12896 (fullname_syntax_DOS): Ditto.
12897 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12898 fullname_syntax variable to scope and use it.
12899 (test_file_list_exec_source_files): Ditto.
12900 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12901
c3b69c04
DJ
129022005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
12903
12904 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12905
3c95e6af
PG
129062004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
12907
a9c64011
AS
12908 * lib/gdb.exp (skip_altivec_tests): New function, based on
12909 check_vmx_hw_available from the GCC testsuite.
12910 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12911 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 12912
78df6c56
JB
129132005-05-02 Jim Blandy <jimb@redhat.com>
12914
12915 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12916 calling gdb_suppress_entire_file.
12917
1690f9cf
DJ
129182005-04-30 Randolph Chung <tausq@debian.org>
12919
12920 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12921 Slightly relax "sem_post" name checking.
12922
5ea106f7
PG
129232005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12924
12925 * gdb.base/unload.exp: Use new shared library infrastructure.
12926
bf7234cf
PG
129272005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12928
12929 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 12930 infrastructure.
bf7234cf 12931
547b869a
CV
129322005-04-29 Corinna Vinschen <vinschen@redhat.com>
12933
12934 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12935 * gdb.asm/h8300.inc: New file.
12936
f07e55f0
PG
129372005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12938
12939 * gdb.base/shlib-call.exp: Change to use new shared library
12940 infrastructure.
12941
3cbba3d1
PG
129422005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12943
a9c64011
AS
12944 * gdb.base/pending.exp: Change to use new shared library
12945 infrastructure.
3cbba3d1 12946
ed6df200
PG
129472005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12948
a9c64011
AS
12949 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
12950 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 12951
8c8f4ebe
PG
129522005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
12953
a9c64011
AS
12954 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
12955 shared objects being adjusted and update copyright years.
8c8f4ebe 12956
607fbc54
DJ
129572005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
12958
12959 * ChangeLog: Correct some 2003-01-13 dates.
12960 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
12961 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
12962 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
12963 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
12964 gdb.trace/tfind.exp: Update copyright years.
12965
57bf0e56
DJ
129662005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
12967 Daniel Jacobowitz <dan@codesourcery.com>
12968
12969 * lib/gdb.exp (gdb_compile): Handle shlib=.
12970 (gdb_compile_shlib): New function.
12971
9b593790
PG
129722005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
12973
a9c64011 12974 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 12975
9494c6a5
DJ
129762005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12977
12978 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
12979 gdb.server.
12980 * configure.ac: Likewise.
12981 * configure: Regenerated.
12982 * gdb.gdbserver/Makefile.in: Moved to...
12983 * gdb.server/Makefile.in: ... here.
12984 * gdb.gdbserver/server.c: Moved to...
12985 * gdb.server/server.c: ... here.
12986 * gdb.gdbserver/server-run.exp: Moved to...
12987 * gdb.server/server-run.exp: ... here.
12988
6f8eac0e
DJ
129892005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12990
12991 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
12992 * configure.ac: Create gdb.gdbserver/Makefile.
12993 * configure: Regenerated.
12994 * lib/gdbserver-support.exp: New file, derived from
12995 config/gdbserver.exp.
12996 * config/gdbserver.exp: Use gdbserver-support.exp.
12997 * gdb.gdbserver/Makefile.in: New file.
12998 * gdb.gdbserver/server.c: New file.
12999 * gdb.gdbserver/server-run.exp: New file.
13000
6e87504d
PG
130012005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13002
a9c64011
AS
13003 * lib/gdb.exp (test_compiler_info): Return compiler_info
13004 if no arguments are given.
6e87504d 13005
d1779be4
PG
130062005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13007
13008 * gdb.arch/altivec-abi.exp: Check for compiler and set
13009 use altivec' flag accordingly.
13010 * gdb.arch/altivec-regs.exp: Likewise.
13011
88750304
DJ
130122005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13013
13014 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13015
f3fb768d
AS
130162005-03-27 Andreas Schwab <schwab@suse.de>
13017
13018 * gdb.base/bigcore.c (main): Add missing mode argument in open
13019 call.
13020
7e813ac5
DJ
130212005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13022
13023 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13024 downloads.
13025 * config/gdbserver.exp (gdb_load): Likewise.
13026
8e3049aa
PB
130272005-03-14 Paul Brook <paul@codesourcery.com>
13028
13029 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13030 targets.
13031
a9df7c44
JB
130322005-03-09 Joel Brobecker <brobecker@adacore.com>
13033
13034 * gdb.dwarf2/dup-psym.S: New file.
13035 * gdb.dwarf2/dup-psym.exp: New testcase.
13036
9f0d94e8
JB
130372005-03-09 Joel Brobecker <brobecker@adacore.com>
13038
13039 * gdb.ada/exec_changed/first.adb: New file.
13040 * gdb.ada/exec_changed/second.adb: New file.
13041 * gdb.ada/exec_changed.exp: New testcase.
13042
5f579bc5
NS
130432005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13044
36e9969c
NS
13045 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13046 (A2): New class.
13047 (main): Test operator+.
13048 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13049 breakpoint test.
13050
5f579bc5
NS
13051 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13052 * gdb.base/signull.exp: Disable if gdb,nosignals.
13053 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13054 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13055 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13056 * gdb.mi/mi2-console.exp: Likewise.
13057 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13058 continue output at start.
13059 (gdb_collect_locals_test): Robustify regexp.
13060 * gdb.trace/passc-dyn.exp: Fix comment typo.
13061 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13062
be46087e
CV
130632005-03-08 Corinna Vinschen <vinschen@redhat.com>
13064
13065 * gdb.asm/asm-source.exp: Add iq2000 case.
13066 * gdb.asm/iq2000.inc: New file.
13067
384e1a61 130682005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13069
384e1a61
MI
13070 * gdb.base/command.exp: Change hardcoded value to regular expression.
13071 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13072
584b6e9e
DJ
130732005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13074
13075 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13076 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13077 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13078 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13079 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13080
ab5b5d61
MK
130812005-03-05 Mark Kettenis <kettenis@gnu.org>
13082
13083 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13084 changes.
13085
ae051c1b
PG
130862004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13087
a9c64011
AS
13088 * lib/compiler.c: Add test for IBM's xlc compiler.
13089 * lib/compiler.cc: Likewise.
ae051c1b 13090
3f0f6ed2
JB
130912004-02-24 Joel Brobecker <brobecker@adacore.com>
13092
13093 * gdb.ada/fixed_points.exp: Create compilation object directory
13094 before running the test.
13095 * gdb.ada/null_record.exp: Likewise.
13096 * gdb.ada/packed_array.exp: Likewise.
13097 * gdb.ada/start.exp: Likewise.
13098
724f452b
JB
130992005-02-15 Joel Brobecker <brobecker@adacore.com>
13100
13101 * gdb.ada/packed_array/pa.adb: New file.
13102 * gdb.ada/packed_array.exp: New testcase.
13103
57f5cdfb 131042005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13105
1f393151
MK
13106 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13107 files.
13108
ebdda337
MK
13109 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13110 on *-*-openbsd*. Correctly match whitespace in regukar
13111 expressions.
13112
cf309262
DJ
131132005-02-10 Daniel Jacobowitz <dan@debian.org>
13114
13115 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13116 PR exp/1821
13117 * gdb.base/gdb1821.c: New test file.
13118 * gdb.base/gdb1821.exp: New test file.
13119
3be49e7a
JB
131202005-02-09 Joel Brobecker <brobecker@adacore.com>
13121
13122 * gdb.base/start.c: New file.
13123 * gdb.base/start.exp: New testcase.
13124
e292e67d
JB
131252005-02-09 Joel Brobecker <brobecker@adacore.com>
13126
13127 * gdb.ada/start/dummy.adb: New file.
13128 * gdb.ada/start.exp: New testcase.
13129
dbdfa66c
CV
131302005-02-09 Corinna Vinschen <vinschen@redhat.com>
13131
13132 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13133 for printing symbols and statistics.
13134 Add test for using relative pathnames in "maint print msymbols" test.
13135 Mark "maint info sections DATA" XFAIL on Cygwin.
13136 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13137 tests.
13138
d7941671
AC
131392005-02-09 Andreas Schwab <schwab@suse.de>
13140
13141 Committed by Andrew Cagney <cagney@gnu.org>
13142 * gdb.base/remotetimeout.exp: New file.
13143
74e5ef44
MK
131442005-02-07 Mark Kettenis <kettenis@gnu.org>
13145
13146 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13147
464dd14d
JB
131482005-02-03 Joel Brobecker <brobecker@adacore.com>
13149
13150 * gdb.ada/gnat_ada.gpr: New file.
13151 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13152 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13153 * configure.ac: No longer generate gnat_ada.gpr.
13154 * configure: Regenerate.
13155 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13156 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13157 * gdb.ada/null_record/bar.ads: Likewise.
13158 * gdb.ada/null_record/bar.adb: Likewise.
13159 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13160 * gdb.ada/null_record.exp (testdir): New variable.
13161 (testfile): executable is now in testdir subdirectory.
13162 (srcfile): Use full path to the main compilation unit.
13163 * gdb.ada/fixed_points.exp: Same changes as above.
13164
30d756ae
NR
131652005-02-03 Nick Roberts <nickrob@snap.net.nz>
13166
13167 * gdb.base/interp.exp: New test.
13168
9d799f85
AC
131692005-01-24 Andrew Cagney <cagney@gnu.org>
13170
13171 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13172
15656118
AC
131732005-01-19 Andrew Cagney <cagney@gnu.org>
13174
a892c31b
AC
13175 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13176 configure.ac not configure.in.
13177
15656118
AC
13178 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13179 of powerpc*-*-*.
13180 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13181 * gdb.base/list.exp (test_list_function)
15656118
AC
13182 (test_list_filename_and_function): Ditto.
13183 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13184
a7b01baf
AC
131852005-01-16 Andrew Cagney <cagney@gnu.org>
13186
17d92a02
AC
13187 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13188
a7b01baf
AC
13189 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13190
bc8332bb
AC
131912005-01-14 Andrew Cagney <cagney@gnu.org>
13192
13193 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13194 * gdb.mi/mi2-var-cmd.exp: Ditto.
13195
4d074752
CV
131962005-01-10 Corinna Vinschen <vinschen@redhat.com>
13197
13198 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13199
bec39cab
AC
132002005-01-07 Andrew Cagney <cagney@gnu.org>
13201
13202 * configure.ac: Rename configure.in, require autoconf 2.59.
13203 * configure: Re-generate.
13204 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13205 * gdb.stabs/configure: Re-generate.
13206 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13207 * gdb.hp/configure: Re-generate.
13208 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13209 autoconf 2.59.
13210 * gdb.hp/gdb.objdbg/configure: Re-generate.
13211 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13212 autoconf 2.59.
13213 * gdb.hp/gdb.defects/configure: Re-generate.
13214 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13215 autoconf 2.59.
13216 * gdb.hp/gdb.compat/configure: Re-generate.
13217 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13218 autoconf 2.59.
13219 * gdb.hp/gdb.base-hp/configure: Re-generate.
13220 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13221 autoconf 2.59.
13222 * gdb.hp/gdb.aCC/configure: Re-generate.
13223
f10b16d4
JB
132242004-12-15 Jim Blandy <jimb@redhat.com>
13225
13226 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13227 under NPTL when there is debugging info available for libpthread.
13228
fb6e1814
JG
132292004-12-13 Jerome Guitton <guitton@gnat.com>
13230
13231 * gdb.ada/fixed_points.c: New file.
13232 * gdb.ada/fixed_points.exp: New file.
13233
fe46cd3a
RC
132342004-12-03 Randolph Chung <tausq@debian.org>
13235
13236 * gdb.arch/pa-nullify.exp: New file.
13237 * gdb.arch/pa-nullify.s: New file.
13238
8de0841b
RC
132392004-11-30 Randolph Chung <tausq@debian.org>
13240
13241 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13242 instead of "tbug". Fix regexp to work properly with gdb_test.
13243
c8170782
PH
132442004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13245
13246 * gdb.base/bitfields2.exp: New test.
13247 * gdb.base/bitfields2.c: New file.
13248
954269c2
RE
132492004-11-28 Richard Earnshaw <rearnsha@arm.com>
13250
13251 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13252
0107feed
RC
132532004-11-16 Randolph Chung <tausq@debian.org>
13254
13255 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13256
f073ae8c
DJ
132572004-11-14 Daniel Jacobowitz <dan@debian.org>
13258
13259 * gdb.threads/threadapply.exp: Correct "macro details" test.
13260
19ad59e7
JJ
132612004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13262
13263 * gdb.threads/threadapply.exp: New test.
13264 * gdb.threads/threadapply.c: New file.
13265
9cf0961b
MK
132662004-11-07 Mark Kettenis <kettenis@gnu.org>
13267
13268 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13269 frames.
13270
c789492a
FL
132712004-11-05 Felix Lee <felix+log1@specifixinc.com>
13272
13273 * gdb.base/cursal.exp: New file.
13274 * gdb.base/cursal.c: New file.
13275
a1e167bb
AC
132762004-11-03 Andrew Cagney <cagney@gnu.org>
13277
13278 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13279
b7cbf173
MK
132802004-10-30 Mark Kettenis <kettenis@gnu.org>
13281
13282 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13283 NetBSD/ELF targets.
13284
88f9d34f
JB
132852004-10-29 Joel Brobecker <brobecker@gnat.com>
13286
13287 * gdb.threads/bp_in_thread.c: New file, copied from
13288 pthread_cond_wait.c.
13289 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13290 file, rather than reusing the .c file from another testcase.
13291
ca7d6a0c
JB
132922004-10-20 Joel Brobecker <brobecker@gnat.com>
13293
13294 * gdb.ada/null_record.exp: Check where we stopped after
13295 sending the start command, instead of where the associated
13296 temporary breakpoint was inserted.
13297
0d863d03
AC
132982004-10-14 Andrew Cagney <cagney@gnu.org>
13299
13300 * gdb.mi/gdb701.c (main): Return 0.
13301
d11e72cb
DJ
133022004-10-13 Daniel Jacobowitz <dan@debian.org>
13303
d40539a4 13304 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 13305
e1923096
JJ
133062004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13307
13308 * gdb.threads/schedlock.c: Add comment markers to use to find
13309 line numbers.
13310 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13311 comments.
13312 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13313 breakpoint lines.
13314
ec8ba2c9
DJ
133152004-10-12 Daniel Jacobowitz <dan@debian.org>
13316
13317 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13318
0eb3658b
DJ
133192004-10-12 Daniel Jacobowitz <dan@debian.org>
13320
13321 * configure.in: Add gdb.dwarf2.
13322 * configure: Regenerated.
13323 * Makefile.in: Add gdb.dwarf2.
13324 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13325 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13326 gdb.dwarf2/file1.txt: New files.
13327
a271cc33
OF
133282004-10-11 Orjan Friberg <orjanf@axis.com>
13329
a9c64011 13330 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
13331 of "run", since the latter doesn't work with remote targets. Adjust
13332 the breakpoint numbering accordingly.
13333 * gdb.threads/pthread_cond_wait.exp: Ditto.
13334
895ce074
MC
133352004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13336
13337 * gdb.base/overlays.exp: Update copyright years.
13338
6be3092d
KI
133392004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13340
13341 * gdb.base/overlays.exp: Disable if target is Linux.
13342
e05389b8
FL
133432004-10-06 Felix Lee <felix+log1@specifixinc.com>
13344
13345 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13346
73cb587d
KI
133472004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13348
13349 * gdb.asm/asm-source.exp: Add m32r-linux target.
13350 * gdb.asm/m32r-linux.inc: New file.
13351
3c0edcdc
AC
133522004-09-24 Andrew Cagney <cagney@redhat.com>
13353 David Anderson <anderson@redhat.com>
13354
13355 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13356 command fails, assume things will work.
13357 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13358 (_GNU_SOURCE): Define.
13359 (print_unsigned, print_hex): Change parameter to "long long".
13360 (print_byte_count): New function, use to print byte counts.
13361 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13362 O_LARGEFILE.
13363 (main): Compute an upper bound on a corefile in max_core_size.
13364 Limit memory chunk size to max_core_size. Limit total memory
13365 allocated to max_core_size.
13366
4bb3667f
AC
133672004-09-23 Andrew Cagney <cagney@gnu.org>
13368
13369 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13370 from a separate process with code that creates a corefile by
13371 making the inferior dump core.
13372
60fe1a51
MK
133732004-09-23 Mark Kettenis <kettenis@gnu.org>
13374
13375 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13376 block.
13377
8e937346
MC
133782004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13379
13380 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13381 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13382 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13383 Likewise.
13384
7213f6d6
JJ
133852004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13386
13387 * gdb.java/jprint.exp: New test case for java inferior call.
13388 * gdb.java/jprint.java: Ditto.
13389
eac69dca
JB
133902004-09-15 Joel Brobecker <brobecker@gnat.com>
13391
13392 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13393
22227696
MC
133942004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13395
13396 * gdb.threads/killed.c: Include <stdlib.h>.
13397 * gdb.threads/pthreads.c: Likewise.
13398
7dd403a4
MC
133992004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13400
13401 * gdb.threads/killed.c: Add copyright notice.
13402
33f2d567
JM
134032004-09-10 Jason Molenda (jmolenda@apple.com)
13404
a9c64011
AS
13405 * gdb.base/define.exp: Two new tests to verify zero space chars
13406 after 'if' and 'while' commands in a user-defined command is correctly
13407 parsed.
33f2d567 13408
e05b62ac
AC
134092004-09-08 Andrew Cagney <cagney@gnu.org>
13410
13411 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
13412 delivery test with duplicate at end of file.
13413
9cbe82da
MK
134142004-09-06 Mark Kettenis <kettenis@jive.nl>
13415
13416 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13417
564803d9
MC
134182004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13419
13420 * config/hppro.exp: Removed.
13421
7c6807ce
MC
134222004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13423
13424 * config/sparclet.exp: Removed.
13425
bf7e26dd
MC
134262004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13427
13428 * config/udi.exp: Removed.
13429
714e341b
MC
134302004-09-02 Michael Chastain <mec.gnu@mindspring.com>
13431
13432 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13433 of "exp_continue".
13434 (advancei): Likewise.
13435
1236e623
JJ
134362004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13437
13438 * gdb.base/unload.exp: Fix so messages aren't duplicated.
13439
3bdcad15
MI
134402004-09-01 Manoj Iyer <manjo@austin.ibm.com>
13441
228af206 13442 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
13443 to check for nodebug in executable.
13444 * gdb.gdb/observer.exp (setup_test): Likewise.
13445 * gdb.gdb/selftest.exp (test_with_self): Likewise.
13446 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13447
c72b934c
AC
134482004-09-01 Andrew Cagney <cagney@gnu.org>
13449
13450 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13451 files.
13452
edd9b715
JJ
134532004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13454
13455 * gdb.base/unload.exp: Fix expected warning message to match
13456 latest format.
13457
fb4ce06b
CV
134582004-09-01 Corinna Vinschen <vinschen@redhat.com>
13459
13460 * gdb.base/call-rt-st.exp: Fix typos.
13461
ce78e7c3
MI
134622004-08-31 Manoj Iyer <manjo@austin.ibm.com>
13463
13464 * gdb.threads/thread_check.exp: New testcase.
13465 * gdb.threads/thread_check.c: New testcase.
13466
2dedb159
AC
134672004-08-31 Andrew Cagney <cagney@gnu.org>
13468
13469 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13470 (skip_to_handler_entry): New procedures. Test stepping into a
13471 handler when the breakpoint is at the handler's entry point.
13472
68f53502
AC
134732004-08-30 Andrew Cagney <cagney@gnu.org>
13474
13475 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13476 gdb/1757.
13477
3e3ffd2b
MC
134782004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13479
13480 With code from Manoj Iyer <manjo@austin.ibm.com>:
13481 * lib/gdb.exp (gdb_file_cmd): Return more information in the
13482 return value. Add an arm for "no debugging symbols found".
13483 Change a stray "error" to "perror".
13484 (gdb_run_cmd): Adapt to new return value.
13485 * gdb.base/remote.exp: Adapt to new return value.
13486 * gdb.gdb/complaints.exp: Likewise.
13487 * gdb.gdb/observer.exp: Likewise.
13488 * gdb.gdb/selftest.exp: Likewise.
13489 * gdb.gdb/xfullpath.exp: Likewise.
13490
4b6f5fd2
JB
134912004-08-27 Joel Brobecker <brobecker@gnat.com>
13492
13493 * gdb.threads/bp_in_thread.exp: New testcase.
13494
e5b25496
MC
134952004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13496
13497 Fix PR testsuite/1735.
13498 * gdb.threads/schedlock.c (thread_function): Add a cast
13499 to suppress a gcc warning.
13500 * gdb.threads/thread-specific.c (thread_function): Likewise.
13501
934353d6
MC
135022004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13503
13504 * gdb.base/unload.c: Include <stdlib.h>.
13505
f98a0aef 135062004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 13507
f98a0aef 13508 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
13509 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13510 synchronized after the "return".
13511
5a2e8882
MC
135122004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13513
13514 * gdb.mi/basics.c: Include <stdio.h>.
13515 * gdb.mi/pthreads.c: Include <stdlib.h>.
13516 * gdb.mi/var-cmd.c: Include <stdlib.h>.
13517
a9640423
MC
135182004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13519
13520 * gdb.threads/schedlock.c: Add copyright notice.
13521
b04e311d
AC
135222004-08-25 Andrew Cagney <cagney@gnu.org>
13523
13524 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13525 (skip_over_handler, breakpoint_over_hander): New test procedures.
13526 (advance, advancei): Add a proper prefix, do not use
13527 rerun_to_main.
13528 * gdb.base/sigstep.c (main): Change to use an infinite loop.
13529
7c27f15b
MC
135302004-08-24 Michael Chastain <mec.gnu@mindspring.com>
13531
13532 * gdb.mi/basics.c: Add copyright notice.
13533 * gdb.mi/var-cmd.c: Add copyright notice.
13534
fffc87ae
MC
135352004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13536
13537 * lib/gdb.exp: Remove signed_keyword_not_used.
13538 * lib/compiler.c: Likewise.
13539 * lib/compiler.cc: Likewise.
13540
d782e0bf
MC
135412004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13542
13543 * gdb.base/whatis.c: Remove conditional disabling of "signed".
13544 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13545
96033e83
MC
135462004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13547
13548 * gdb.base/whatis.c: Add copyright notice.
13549
cf38c229
MK
135502004-08-20 Mark Kettenis <kettenis@gnu.org>
13551
13552 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
13553 it to skip the breakpoints encoded in the inline assembly.
13554
f4b49756
MC
135552004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13556
13557 * Makefile.in: Add gdb.fortran.
13558
2f193b69
MC
135592004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13560
13561 * gdb.base/call-sc.exp (test_scalar_returns):
13562 Fix cut-and-paste glitch in "Make fun return now".
13563
89a237cb
MC
135642004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13565
13566 * configure.in: Add gdb.fortran.
13567 * configure: Regenerate.
13568 * gdb.fortran/Makefile.in: New file.
13569 * lib/gdb.exp (skip_fortran_tests): New procedure.
13570
469aff8e
MC
135712004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13572
13573 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
13574 reference to bug-gnu@prep.ai.mit.edu.
13575 * gdb.mi/mi-var-child.exp: Likewise.
13576 * gdb.mi/mi-var-cmd.exp: Likewise.
13577 * gdb.mi/mi-var-display.exp: Likewise.
13578 * gdb.mi/mi2-var-block.exp: Likewise.
13579 * gdb.mi/mi2-var-child.exp: Likewise.
13580 * gdb.mi/mi2-var-cmd.exp: Likewise.
13581 * gdb.mi/mi2-var-display.exp: Likewise.
13582
00b51b9f
MK
135832004-08-15 Mark Kettenis <kettenis@gnu.org>
13584
13585 * gdb.base/unload.c (main): Make local variable msg const.
13586
45f07fef
MC
135872004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13588
13589 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
13590 to bug-gnu@prep.ai.mit.edu.
13591 * gdb.mi/mi-disassemble.exp: Likewise.
13592 * gdb.mi/mi-eval.exp: Likewise.
13593 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
13594 default line number.
13595 * gdb.mi/mi-return.exp: Likewise.
13596 * gdb.mi/mi-simplerun.exp: Likewise.
13597 * gdb.mi/mi-stack.exp: Likewise.
13598 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
13599 number with explicit range test.
13600 * gdb.mi/mi-watch.exp: Likewise.
13601 * gdb.mi/mi2-break.exp: Likewise.
13602 * gdb.mi/mi2-cli.exp: Likewise.
13603 * gdb.mi/mi2-disassemble.exp: Likewise.
13604 * gdb.mi/mi2-eval.exp: Likewise.
13605 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
13606 default line number.
13607 * gdb.mi/mi2-return.exp: Likewise.
13608 * gdb.mi/mi2-simplerun.exp: Likewise.
13609 * gdb.mi/mi2-stack.exp: Likewise.
13610 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
13611 number with explicit range test.
13612 * gdb.mi/mi2-watch.exp: Likewise.
13613
dd8c8ee7
MC
136142004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13615
13616 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13617 * gdb.cp/m-static.exp: Likewise.
13618 * gdb.cp/rtti.exp: Likewise.
13619
4e838464
MK
136202004-08-14 Mark Kettenis <kettenis@gnu.org>
13621
13622 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13623
8d8cb839
EZ
136242004-08-14 Eli Zaretskii <eliz@gnu.org>
13625
13626 * ChangeLog: Prefix Local Variables with semi-colons and indent
13627 the reference to older ChangeLog files, to fix fontification in
13628 Emacs.
13629
deea8bb0
MC
136302004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13631
13632 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13633 * gdb.mi/mi2-break.exp: Likewise.
13634
c3297504
MC
136352004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13636
13637 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13638
25808999
MC
136392004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13640
13641 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13642
226a8d71
MC
136432004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13644
13645 * gdb.cp/classes.exp: Remove unused declarations. Just let
13646 test names default instead of providing special names. Remove
13647 extraneous demangler test.
13648
37fdf854
JJ
136492004-08-12 Jeff Johnston <jjohnstn@redhat.com>
13650
13651 * gdb.base/unload.exp: New test for breakpoints in dynamically
13652 loaded libraries.
13653 * gdb.base/unload.c: Ditto.
13654 * gdb.base/unloadshr.c: Ditto.
13655
2d3a7986
MC
136562004-08-12 Michael Chastain <mec.gnu@mindspring.com>
13657
13658 * gdb.cp/classes.exp (test_ptype_class_objects): Call
13659 cp_test_ptype_class.
13660 (test_enums): Likewise.
13661
c72b934c
AC
136622004-08-10 Andrew Cagney <cagney@gnu.org>
13663
13664 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13665 files.
13666
cc503c8a
AC
136672004-08-10 Andrew Cagney <cagney@gnu.org>
13668
13669 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13670 init_malloc call.
13671
902f2ccb
MC
136722004-08-10 Michael Chastain <mec.gnu@mindspring.com>
13673
13674 * ChangeLog: Add copyright notice. The notice is copied
13675 from emacs 21.3 top level ChangeLog.
13676
78c90502
MC
136772004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13678
13679 * lib/cp-support.exp: New file.
13680 * lib/cp-support.exp (cp_test_type_class): New function.
13681 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13682 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13683 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13684 cp_test_ptype_class.
13685
88e5ea78
MC
136862004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13687
13688 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13689 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13690 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13691 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13692 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13693 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13694 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13695 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13696 gdb.mi/mi2-watch.exp: Update copyright years.
13697
6a89fc9c
MK
136982004-08-09 Mark Kettenis <kettenis@gnu.org>
13699
13700 * gdb.base/sigaltstack.exp: Provide proper anchoring.
13701
1482e0de
MC
137022004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13703
13704 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13705 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13706 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13707 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13708 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13709 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13710 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13711 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13712 gdb.mi/mi-watch.exp: Update copyright years.
13713
1a5ce3f3
DJ
137142004-08-08 Daniel Jacobowitz <dan@debian.org>
13715
13716 PR gdb/1738
13717 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13718 from a breakpoint with a pending signal.
13719
04f6ecf2
DJ
137202004-08-08 Daniel Jacobowitz <dan@debian.org>
13721
13722 PR gdb/1736
13723 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13724 * gdb.base/sigaltstack.exp (finish_test): Consume output until
13725 the prompt.
13726 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13727
54d90d35
DJ
137282004-08-08 Daniel Jacobowitz <dan@debian.org>
13729
13730 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13731
d2f6abb0
DJ
137322004-08-08 Daniel Jacobowitz <dan@debian.org>
13733
13734 PR gdb/1736
13735 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
13736 for i?86-*-linux*.
13737
5598c03d
DJ
137382004-08-08 Daniel Jacobowitz <dan@debian.org>
13739
13740 * gdb.arch/i386-prologue.exp: Compile without debug information.
13741
c6fee705
MC
137422004-08-08 Michael Chastain <mec.gnu@mindspring.com>
13743
13744 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13745 rather than asking gdb to search.
13746
dd90efdb
MC
137472004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13748
13749 * gdb.base/gcore.c: Include <string.h>.
13750
1e84bec1
MC
137512004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13752
13753 * gdb.base/gcore.c: Add copyright notice.
13754
e425eb2b
MC
137552004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13756
13757 * gdb.base/freebpcmd.c: Include <stdio.h>.
13758 * gdb.base/long_long.c: Include <string.h>.
13759 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13760 * gdb.base/siginfo.c: Include <string.h>.
13761 * gdb.base/sigstep.c: Include <string.h>.
13762
cb9aaed5
MC
137632004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13764
13765 * gdb.base/complex.c: Include <stdlib.h>.
13766
55944f3d
MC
137672004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13768
13769 * gdb.base/complex.c: Add copyright notice.
13770
7b2953d9
MC
137712004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13772
13773 * gdb.base/charset.c: Include <stdlib.h>.
13774
c9133d23
MC
137752004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13776
13777 * gdb.base/auxv.c: Include <stdlib.h>.
13778
0a8490ad
MC
137792004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13780
13781 * gdb.base/auxv.c: Add copyright notice.
13782
3426d5ec
MC
137832004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13784
13785 * gdb.base/coremaker.c: Add copyright notice.
13786 * gdb.base/coremaker2.c: Add copyright notice.
13787
8da195dd
AC
137882004-08-04 Andrew Cagney <cagney@gnu.org>
13789
13790 * gdb.base/store.exp: Update copyright.
13791 (check_set, up_set, check_struct, up_struct): Add a prefix to test
13792 names, do not import gdb_prompt.
13793
8d394f98
AC
137942004-08-01 Andrew Cagney <cagney@gnu.org>
13795
13796 Fix PR testsuite/1729.
13797 * gdb.base/dump.exp: Add test name to callers of capture_value, do
13798 not use capture_value with value 4.
13799 (capture_value): Add optional test name parameter.
13800 (test_reload_saved_value, test_restore_saved_value): Use $msg as
13801 the prefix, pass to capture_value.
13802
b6702b23
MK
138032004-08-01 Mark Kettenis <kettenis@gnu.org>
13804
13805 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13806 * gdb.arch/i386-prologue.c (standard): New prototype and function.
13807 (main): Call new function.
13808
c203e0ca
MC
138092004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13810
13811 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13812
a7995a30
MC
138132004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13814
13815 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13816
9366563b
MC
138172004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13818
b6eeaf26 13819 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
13820 Accept more values of vtbl pointer. Remove some messages
13821 about "obsolete gcc or gdb".
13822
2fc1f950
MC
138232004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13824
13825 * gdb.cp/classes.exp: Accept more varieties of ptype output.
13826
c724d49b
MC
138272004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13828
13829 * gdb.base/asm-source.exp: Properly convert target board
13830 debug flags from gcc format to binutils format.
13831
736b0fce
MK
138322004-07-28 Mark Kettenis <kettenis@gnu.org>
13833
13834 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13835 gdb1718". PR backtrace/1718 partially fixed.
13836
5633ea5c
JJ
138372004-07-27 Jeff Johnston <jjohnstn@redhat.com>
13838
13839 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13840
575eebb1
NC
138412004-07-26 Nick Clifton <nickc@redhat.com>
13842
13843 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
13844 good default value for a specific architecture is available then
13845 set it to that value. Otherwise default to the -gstabs switch.
13846 Remove the -g... switches from the asm-flags variable. Allow the
13847 target board info to override the value if it wants to. Pass the
13848 switch on the assembler command line.
13849
62104619
MK
138502004-07-23 Mark Kettenis <kettenis@gnu.org>
13851
13852 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13853 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13854 (main): Call new function.
13855
4a1135b8
MC
138562004-07-22 Michael Chastain <mec.gnu@mindspring.com>
13857
13858 Test for PR exp/1715.
13859 * gdb.base/radix.exp: Refactor common procedures. Make all
13860 test names unique. Change XFAIL to KFAIL.
13861
8a12c1f0
MC
138622004-07-20 Michael Chastain <mec.gnu@mindspring.com>
13863
13864 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13865 * gdb.ada/gnat_ada.gin: ... to here.
13866 * configure.in: Use gnat_ada.gin.
13867 * configure: Regenerate.
13868
23b451cf
AC
138692004-07-20 Andrew Cagney <cagney@gnu.org>
13870
13871 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13872 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
13873 XFAILs. Clean up test messages and comments. Check backtraces.
13874 Delete re-sync code.
13875
ab618a02
MC
138762004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13877
13878 Fix PR cli/740.
13879 * gdb.base/annota1.exp: Honor gdb,nosignals.
13880 * gdb.base/annota3.exp: Likewise.
13881
46dad340
MC
138822004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13883
13884 * lib/java.exp: Update copyright notice.
13885
756d8c70
AC
138862004-07-19 Andrew Cagney <cagney@gnu.org>
13887
13888 * gdb.base/selftest.exp: Copy file from here ...
13889 * gdb.gdb/selftest.exp: ... to here.
13890
586027e6
AC
138912004-07-16 Andrew Cagney <cagney@redhat.com>
13892
13893 * lib/insight-support.exp: Delete file.
13894 * lib/java.exp (java_init): Fix copyright.
13895
029d2200
AC
138962004-07-16 Andrew Cagney <cagney@gnu.org>
13897
13898 * gdb.base/restore.c: Append "prologue" to comments marking the a
13899 function's prologue.
13900 * gdb.base/restore.exp: Update copyright, re-indent.
13901 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
13902 callerN" prefix where needed. Update patterns that match a
13903 function's prologue.
13904
653b62c5
MC
139052004-07-16 Michael Chastain <mec.gnu@mindspring.com>
13906
13907 * gdb.base/restore.c: Add copyright notice.
13908
f7d690e5
AC
139092004-07-16 Andrew Cagney <cagney@gnu.org>
13910
13911 * gdb.base/logical.exp: Update copyright.
13912 (evaluate): New procedure. Use to re-implement tests using
13913 several tables.
13914
d629a7cb
MH
139152004-07-14 Martin Hunt <hunt@redhat.com>
13916
13917 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13918 which fixes some problems where init.tcl was not found.
13919
9c7bb332
AC
139202004-07-13 Andrew Cagney <cagney@gnu.org>
13921
6bf46641
AC
13922 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13923 (check_sizeof, check_valueof): Do not include the output in the
13924 test name. Use gdb_test.
13925 (get_valueof): Use gdb_test_multiple.
13926
c4ffd4c0
AC
13927 * gdb.base/step-test.exp: Update copyright. Use
13928 gdb_test_multiple. Ensure that test names do not include
13929 architecture dependent output.
13930
ab89363a
AC
13931 * gdb.gdb/observer.exp: Update copyright.
13932 (setup_test): Use gdb_test_multiple.
13933 (attach_first_observer, attach_second_observer)
13934 (attach_third_observer, detach_first_observer)
13935 (detach_second_observer, detach_third_observer)
13936 (reset_counters, check_counters): Make $message a prefix.
13937 (test_normal_stop_notifications): Add "args" parameter - a list of
13938 init functions to be called. Make $message a prefix,
13939 (test_observer_normal_stop): Change the message prefixes so that
13940 they are unique, pass the attach / detach procedures to
13941 test_normal_stop_notifications.
13942
ec58997a
AC
13943 * gdb.base/signull.exp (test_segv): Prefix all tests with
13944 "${name}". Clean up test messages.
13945
b475183b
AC
13946 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
13947
9c7bb332
AC
13948 * gdb.base/ena-dis-br.exp: Update copyright.
13949 (break_at): New function. Replace send_gdb with gdb_test,
13950 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
13951 ignore count, not stopped at bpt", with KFAIL.
13952
2dd95497
CV
139532004-07-13 Corinna Vinschen <vinschen@redhat.com>
13954
13955 * gdb.base/attach.exp: Remove cleanupfile handling.
13956
419e626b
AC
139572004-07-12 Andrew Cagney <cagney@gnu.org>
13958
13959 * gdb.base/annota1.exp: Cleanup corefile test name.
13960 * gdb.base/annota3.exp: Ditto.
13961
8b1b3228
AC
139622004-07-12 Andrew Cagney <cagney@gnu.org>
13963
78650829
AC
13964 * gdb.base/signals.exp: Clean up copyright, re-indent.
13965
8b1b3228
AC
13966 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
13967 gdb_test and gdb_test_multiple.
13968
935c2760
JJ
139692004-07-08 Jeff Johnston <jjohnstn@redhat.com>
13970
13971 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 13972 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
13973 provide line number info for first statement in main.
13974
1544280f
AC
139752004-07-08 Andrew Cagney <cagney@gnu.org>
13976
1279f4ff
AC
13977 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
13978
1544280f
AC
13979 * gdb.base/sigbpt.exp: Make the common part of each test name a
13980 prefix instead of suffix.
13981
bcc82369
BR
139822004-07-07 Bob Rossi <bob_rossi@cox.net>
13983
13984 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
13985 test from test_tbreak_creation_and_listing to
13986 test_file_list_exec_source_file
13987 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
13988 Changed name of test from test_tbreak_creation_and_listing to
13989 test_file_list_exec_source_file
13990
23f4b0aa
JJ
139912004-07-07 Jeff Johnston <jjohnstn@redhat.com>
13992
13993 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
13994 the jmisc() constructor instead of <init>.
13995 * gdb.java/jmisc1.exp: Ditto.
13996
56401cd5
AC
139972004-07-07 Andrew Cagney <cagney@gnu.org>
13998
13999 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14000 corrupting the PC.
14001
44ae2f6a
MC
140022004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14003
14004 * gdb.cp/templates.exp: Accept whitespace change in demangler
14005 output.
14006
45a83408
AC
140072004-07-06 Andrew Cagney <cagney@gnu.org>
14008
14009 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14010
d205ad70
MC
140112004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14012
14013 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14014 * lib/compiler.cc: Likewise.
14015
06ea1a61
MC
140162004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14017
14018 * lib/compiler.cc: Work around string preprocessing problem
14019 with old hp c++ compiler.
14020 * lib/compiler.c: Likewise.
14021
daab1251
CV
140222004-06-29 Corinna Vinschen <vinschen@redhat.com>
14023
14024 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14025 directives to conditionalize symbol prefixing.
14026 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14027 additional_flags handling. Add underscore prefix for Cygwin.
14028 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14029 conditionalize symbol prefixing.
14030 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14031 additional_flags handling. Add underscore prefix for Cygwin.
14032
cc984116
CV
140332004-06-29 Corinna Vinschen <vinschen@redhat.com>
14034
14035 * gdb.base/bigcore.exp: Skip test on Cygwin.
14036
c279b077
MC
140372004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14038
14039 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14040 formats for "info register". Use gdb_test_multiple. Fix
14041 the "invalid register" test.
14042
0e915747
CV
140432004-06-28 Corinna Vinschen <vinschen@redhat.com>
14044
14045 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14046 PID for Cygwin. Add Cygwin specific strings to check for in some
14047 tests.
14048 (do_attach_tests): Add a test for user interaction when attaching
14049 to a process with no matching symbol table already loaded.
14050
11422c86
AC
140512004-06-26 Andrew Cagney <cagney@gnu.org>
14052
14053 Test PR java/1567 and PR java/1565.
14054 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14055 * gdb.java/jmisc2.exp: Delete file.
14056
cefbce26
MC
140572004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14058
14059 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14060
e19f872c
CV
140612004-06-25 Corinna Vinschen <vinschen@redhat.com>
14062
14063 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14064 attach process.
14065
d931ba3b
MC
140662004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14067
14068 * gdb.cp/pr-1553.exp: Remove.
14069
aef68c48
MC
140702004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14071
14072 * gdb.cp/pr-1553.cc: Remove.
14073 * gdb.cp/pr-1553.exp: Disable this test.
14074
8d5df71a
JB
140752004-06-20 Jim Blandy <jimb@redhat.com>
14076
a9c64011 14077 Fix PR testsuite/1680.
8d5df71a
JB
14078 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14079 regular expressions.
14080
4ac6f39d
MC
140812004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14082
14083 Fix PR testsuite/1679.
14084 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14085 Issue an UNSUPPORTED result instead.
14086
1b413552
JB
140872004-06-18 Jim Blandy <jimb@redhat.com>
14088
14089 * gdb.base/charset.exp: Only send a control-C if we see a new
14090 prompt and incomplete command.
14091
6daa6ebd
MC
140922004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14093
14094 * gdb.cp/pr-574.cc: Add copyright notice.
14095
51fa4ae0
JB
140962004-06-17 Jim Blandy <jimb@redhat.com>
14097
14098 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14099 cases where the regexp has no groups; this grabs random text from
14100 the previous test suite, whatever that was.
14101
8fea26c5
MC
141022004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14103
14104 * gdb.cp/printmethod.cc: Add copyright notice.
14105
1e3aeb41
MC
141062004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14107
14108 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14109
9d9030bc
AC
141102004-06-16 Andrew Cagney <cagney@gnu.org>
14111
14112 * gdb.base/signull.c: Update copyright. Include <string.h>.
14113 (bowler): Replace data_pointer with data_read
14114 and data_write cases. Add code_descriptor case.
14115 (zero, desc): New array and pointer.
14116 (data, code): Change to simple pointers.
14117 * gdb.base/signull.exp: Fix probe pattern matching a function
14118 descriptor SIGSEGV. Replace data_pointer with data_read and
14119 data_write tests.
14120
acd4ad44
AC
141212004-06-16 Andrew Cagney <cagney@gnu.org>
14122
14123 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14124
08fd625c
MC
141252004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14126
14127 * gdb.base/long_long.c: Add copyright notice.
14128
1903502c
MC
141292004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14130
14131 * gdb.base/long_long.exp: Remove reference to
14132 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14133 to gdb_breakpoint and gdb_continue_to_breakpoint.
14134
83313cb1
JB
141352004-06-14 Jim Blandy <jimb@redhat.com>
14136
14137 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14138 endian case.
14139
1bf404ef
AC
141402004-06-14 Andrew Cagney <cagney@gnu.org>
14141
14142 * gdb.base/gcore.exp (capture_command_output): Delete the always
14143 passing tests containing inferior values.
14144 * gdb.base/ending-run.exp: Do not include the breakpoint address
14145 in the test message. Update copyright.
14146 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14147 size in the test name, use gdb_test_multiple. Update copyright.
14148
ef220b33
MC
141492004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14150
14151 * gdb.cp/ref-types.cc: Add copyright notice.
14152
4f70a4c9
MC
141532004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14154
14155 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14156 hp_aCC_compiler.
14157 * lib/compiler.cc: Likewise.
14158 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14159 'set' commands. Log diagnostics for other lines. Set
14160 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14161
335928ac
MC
141622004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14163
14164 * gdb.cp/try_catch.cc: Add copyright notice.
14165
2efb12e8
MC
141662004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14167
14168 * gdb.cp/userdef.cc: Add copyright notice.
14169
0bbed51a
MC
141702004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14171
14172 * gdb.cp/virtfunc.cc: Add copyright notice.
14173
e12a46c9
RC
141742004-06-11 Randolph Chung <tausq@debian.org>
14175
14176 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14177 problem.
14178
338e05af
AC
141792004-06-10 Andrew Cagney <cagney@gnu.org>
14180
14181 * lib/compiler.cc, lib/compiler.c: Append either
14182 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14183 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14184 instead of gcc-3-3.
14185
dc3f10cb
AC
141862004-06-09 Andrew Cagney <cagney@gnu.org>
14187
b4d946af
AC
14188 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14189 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14190
dc3f10cb
AC
14191 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14192 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14193 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14194 fixed.
14195
b5c0bfa2
AC
141962004-06-09 Andrew Cagney <cagney@gnu.org>
14197
14198 * gdb.base/structs.exp (test_struct_returns): Replace
14199 "return_value_unknown" and "finish_value_unknown" by
14200 "return_value_known" and "finish_value_known". Instead of
14201 "return_value_unknown" iff "finish_value_unknown", check
14202 "return_value_known" implies "finish_value_known".
14203
caeb605f
MH
142042004-06-08 Martin Hunt <hunt@redhat.com>
14205
14206 * gdb.base/float.exp: Add pattern for mips targets.
14207
c892bb64
RC
142082004-06-08 Randolph Chung <tausq@debian.org>
14209
14210 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14211 message for unknown architectures more clear.
14212
48306d3e
JB
142132004-06-08 Joel Brobecker <brobecker@gnat.com>
14214
14215 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14216 start the execution of the program.
14217
83ecb59f
JB
142182004-06-07 Jim Blandy <jimb@redhat.com>
14219
14220 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14221 * gdb.arch/i386-cpuid.h: New helper file.
14222
55264cb4
RC
142232004-06-07 Randolph Chung <tausq@debian.org>
14224
14225 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14226 has started.
14227
23cadb28
RM
142282004-06-04 Roland McGrath <roland@redhat.com>
14229
14230 Fix PR gdb/1647.
14231 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14232 differently to be robust to output buffering differences.
14233
51d01eda
MC
142342004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14235
14236 * gdb.threads/pthreads.exp: Update copyright years.
14237 (check_control_c): Change asynchronous 'after' to synchronous.
14238
f4fc3b93
RM
142392004-06-04 Roland McGrath <roland@redhat.com>
14240
14241 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14242 next gdb prompt.
14243
4013522b
MC
142442004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14245
14246 Fix PR gdb/1636.
14247 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14248 calls to synchronous.
14249
7a8f1e6b
JB
142502004-05-26 Jim Blandy <jimb@redhat.com>
14251
14252 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14253
81bb3443
RC
142542004-05-24 Randolph Chung <tausq@debian.org>
14255
14256 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14257 * gdb.asm/pa.inc: New file.
14258
8f5a3103
MK
142592004-05-22 Mark Kettenis <kettenis@gnu.org>
14260
14261 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14262
734b8fe8 142632004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 14264 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
14265
14266 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14267 GDB prompt.
14268
725603e1
UW
142692004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14270
f4fc3b93 14271 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
14272 setjmp/longjmp. Use sigaction instead of signal.
14273
8b923272 142742004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 14275 Michael Snyder <msnyder@redhat.com>
8b923272
JB
14276
14277 * gdb.threads/pthread_cond_wait.c: New file.
14278 * gdb.threads/pthread_cond_wait.exp: New testcase.
14279
8bfabb04
AC
142802004-05-13 Andrew Cagney <cagney@redhat.com>
14281
14282 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14283 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14284
42edda50
AC
142852004-05-11 Andrew Cagney <cagney@redhat.com>
14286
14287 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14288 fixed but revealed gdb/1639.
14289
d303a6c7
AC
142902004-05-10 Andrew Cagney <cagney@redhat.com>
14291
14292 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14293 func1" and "next to 2nd alarm", kernel bug avoided.
14294
bf08c2a1
DJ
142952004-05-10 Daniel Jacobowitz <dan@debian.org>
14296
14297 PR external/1568
14298 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14299 XFAIL if it is smaller than bytes_allocated.
14300 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14301 (main): Make chunks_allocated unsigned. Correct comment.
14302
c0586a34
JB
143032004-05-07 Joel Brobecker <brobecker@gnat.com>
14304
14305 * gdb.arch/powerpc-aix-prologue.c: New file.
14306 * gdb.arch/powerpc-aix-prologue.exp: New file.
14307
f2785d12
JB
143082004-05-07 Jim Blandy <jimb@redhat.com>
14309
14310 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14311 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14312
bd7f6e30
JB
143132004-05-06 Joel Brobecker <brobecker@gnat.com>
14314
14315 * gdb.base/sep.exp: No longer setup_kfail when the program was
14316 built with dwarf2.
14317
0a5e7efe
JI
143182004-05-05 Jim Ingham <jingham@apple.com>
14319
14320 * gdb.base/pending.exp: Make sure pending breakpoints
14321 preserve the ignore count.
f4fc3b93 14322
a8958849
MK
143232004-04-27 Jerome Guitton <guitton@gnat.com>
14324
14325 * i386-prologue.exp: Add testcase for jump instruction as first
14326 instruction of the real code.
14327 * i386-prologue.c (jump_at_beginning): New function.
14328
7e103f5b
MK
143292004-04-28 Mark Kettenis <kettenis@gnu.org>
14330
14331 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14332 x86_64-*-*.
14333
5d38b224
MK
143342004-04-28 Mark Kettenis <kettenis@gnu.org>
14335
14336 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14337 i*86-*-*.
14338
0ef32fd9
MK
143392004-04-25 Mark Kettenis <kettenis@gnu.org>
14340
14341 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14342 expression that checks the return type.
14343
71d7dd7c
AC
143442004-04-23 Andrew Cagney <cagney@redhat.com>
14345
14346 * gdb.base/call-sc.exp: New test of scalar call/return values.
14347 * gdb.base/call-sc.c: Ditto.
14348
1e9f977e
JJ
143492004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14350
14351 * gdb.threads/manythreads.c: Reduce thread stack size.
14352
899d9e3a
JJ
143532004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14354
14355 * gdb.threads/manythreads.c: Add copyright notice.
14356
61bcae62
AC
143572004-04-23 Andrew Cagney <cagney@redhat.com>
14358
14359 * gdb.base/siginfo.exp: Better handle step out of signal.
14360 * gdb.base/sigstep.exp: Ditto.
14361
7339a42e 143622004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 14363 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
14364
14365 * gdb.threads/manythreads.c: New testcase.
14366 * gdb.threads/manythreads.exp: Ditto.
14367
5c98409b
JB
143682004-04-22 Jim Blandy <jimb@redhat.com>
14369
14370 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14371 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14372
3b611f1a
MC
143732004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14374
14375 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14376
f0fd9238
AC
143772004-04-21 Andrew Cagney <cagney@redhat.com>
14378
14379 * gdb.base/sigstep.c: New file.
14380 * gdb.base/sigstep.exp: New file.
14381
90990674
JB
143822004-04-16 Joel Brobecker <brobecker@gnat.com>
14383
14384 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14385 call to observer_notify_normal_stop.
14386
78cef34b
AC
143872004-04-15 Andrew Cagney <cagney@redhat.com>
14388
14389 * gdb.base/siginfo.c: New file.
14390 * gdb.base/siginfo.exp: New file.
14391
d2343407
JB
143922004-04-12 J. Brobecker <brobecker@gnat.com>
14393
14394 * gdb.base/sep.exp: Fix typo in comment.
14395
a2dba3c8
JB
143962004-04-12 J. Brobecker <brobecker@gnat.com>
14397
14398 * gdb.base/sep.c: New file.
14399 * gdb.base/sep-proc.c: New file.
14400 * gdb.base/sep.exp: New testcase.
14401
15f7b60e
MK
144022004-04-09 Mark Kettenis <kettenis@gnu.org>
14403
14404 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14405 support.
14406
44f4de1a
AC
144072004-04-05 Andrew Cagney <cagney@redhat.com>
14408
14409 * gdb.base/sigaltstack.c: New file.
14410 * gdb.base/sigaltstack.exp: New file.
14411
ef04f396
JB
144122004-04-04 Joel Brobecker <brobecker@gnat.com>
14413
14414 * gdb.base/foll-fork.exp: Update the expected output for
14415 "help set follow-fork-mode", to match a change that was made
14416 to the help of this variable on 2004-01-13.
14417
d40d2c92
JB
144182004-04-01 Joel Brobecker <brobecker@gnat.com>
14419
14420 * lib/ada.exp: Add copyright notice.
14421 * bar.ads: Likewise.
14422 * bar.adb: Likewise.
14423 * null_record.adb: Likewise.
14424 * null_record.exp: Likewise.
14425 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14426
f86ef5a3
JB
144272004-04-01 Joel Brobecker <brobecker@gnat.com>
14428
14429 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14430 * configure: Regenerate.
14431
414e70e3
JB
144322004-04-01 Joel Brobecker <brobecker@gnat.com>
14433
14434 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14435 to build the application. Remove the message printed when in
14436 verbose mode, redundant with the UNSUPPORTED message above.
14437
f0aaee49
JB
144382004-03-31 Joel Brobecker <brobecker@gnat.com>
14439
14440 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14441 * gdb.ada (null_record.exp): New testcase.
14442
ac81cb54
JB
144432004-03-31 Joel Brobecker <brobecker@gnat.com>
14444
14445 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14446
854af2f7
JB
144472004-03-31 Joel Brobecker <brobecker@gnat.com>
14448
14449 * gdb.ada: New subdirectory.
14450 * gdb.ada/Makefile.in: New file.
14451 * gdb.ada/gnat_ada.gpr.in: New file.
14452
034cb681
JB
144532004-03-31 Joel Brobecker <brobecker@gnat.com>
14454
14455 * lib/ada.exp: New file.
14456
78a1a894
DJ
144572004-03-24 Daniel Jacobowitz <drow@mvista.com>
14458
14459 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14460 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14461
4b2b3b3e
AC
144622004-03-22 Andrew Cagney <cagney@redhat.com>
14463
14464 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14465 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14466 Problem identified by Ulrich Weigand.
14467
23c73aa3
DC
144682004-03-17 David Carlton <carlton@kealia.com>
14469
14470 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14471 PR c++/826.
14472
d63a86f8
RM
144732004-03-16 Roland McGrath <roland@redhat.com>
14474
14475 * gdb.base/auxv.exp: New file.
14476 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14477
0e02aa50
DC
144782004-03-12 David Carlton <carlton@kealia.com>
14479
14480 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
14481 * gdb.cp/pr-1553.cc: Ditto.
14482 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14483 pass branch.
14484
c20b71be
MC
144852004-03-12 Michael Chastain <mec.gnu@mindspring.com>
14486
14487 * gdb.cp/templates.exp: Accept more template types.
14488
c7414a01
MC
144892004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14490
14491 From Corinna Vinschen with modifications.
14492 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14493 local variable obj_with_enum.
14494 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14495 results with obj_with_enum.
14496
ed69573c
MC
144972004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14498
14499 * gdb.cp/classes.cc: New file, copied from misc.cc.
14500 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14501
28301461
MC
145022004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14503
14504 * gdb.cp/misc.cc: Add copyright notice.
14505
1198ecbe
DC
145062004-03-05 David Carlton <carlton@kealia.com>
14507
14508 * gdb.cp/rtti.exp: Add 'print *obj3' test.
14509 * gdb.cp/rtti.h: Update copyright.
14510 (namespace n2::n3): New.
14511 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14512 (n2::n3::func3): New.
14513 (main): Call n2::n3::func3.
14514 * gdb.cp/rtti2.cc: Update copyright.
14515 (n2::create3): New.
14516
9e08c470
MK
145172004-03-04 Mark Kettenis <kettenis@gnu.org>
14518
14519 * gdb.asm/openbsd.inc: Fix typo.
14520
4bebc3aa
FF
145212004-03-03 Fred Fish <fnf@redhat.com>
14522
14523 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14524 "val" instead of unused "size". Update copyright year.
14525
6ea9fb37
DJ
145262004-02-29 Daniel Jacobowitz <drow@mvista.com>
14527
14528 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
14529 to use unsigned char.
14530 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14531 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14532
23b23974
DJ
145332004-02-29 Daniel Jacobowitz <drow@mvista.com>
14534
14535 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14536 line of output.
14537
7574fd53
DJ
145382004-02-28 Daniel Jacobowitz <drow@mvista.com>
14539
14540 * gdb.base/relocate.c (dummy): Initialize.
14541
a195357f
DJ
145422004-02-28 Daniel Jacobowitz <drow@mvista.com>
14543
14544 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
14545 a breakpoint at exit.
14546
72fd54a9
FF
145472004-02-27 Fred Fish <fnf@redhat.com>
14548
14549 * gdb.base/chng-syms.exp: Add expect condition to match failing
14550 case that isn't a timeout.
14551
b9d23137
AC
145522004-02-27 Andrew Cagney <cagney@redhat.com>
14553
14554 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14555 support.
14556
15d208f6 145572004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 14558
15d208f6
FF
14559 * gdb.arch/gdb1431.c: Remove.
14560 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14561 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14562 of "until" incorrectly.
14563
98f9cd2d
JB
145642004-02-26 J. Brobecker <brobecker@gnat.com>
14565
14566 * gdb.cp/class2.cc (empty): New class.
14567 (refer): New function.
14568 (main): Declare an object of type empty and use it.
14569 * gdb.cp/class2.exp: Print the value of an object of type empty.
14570
9b50c11b
JJ
145712004-02-26 Jeff Johnston <jjohnstn@redhat.com>
14572
14573 * gdb.base/langs.exp: Update query string to match the
14574 new nquery format used for pending breakpoints.
14575
0dcd613f
AC
145762004-02-26 Andrew Cagney <cagney@redhat.com>
14577
14578 Fix PR i18n/1570.
14579 * gdb.base/charset.c: Update copyright notice.
14580 (main, init_string): Remove the escape character '\e' tests.
14581 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14582 * gdb.base/charset.exp (valid_host_charset): Ditto.
14583 * gdb.base/setvar.exp: Ditto.
14584
b8a56647
AC
145852004-02-24 Andrew Cagney <cagney@redhat.com>
14586
90d59e34
AC
14587 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14588 mmapped data in core file" PASS and FAIL messages consistent.
14589
b8a56647
AC
14590 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14591 setting a breakpoint. Work around PR java/1565.
14592
9f27c604
JJ
145932004-02-23 Jeff Johnston <jjohnstn@redhat.com>
14594
14595 * lib/gdb.exp (gdb_breakpoint): Update query string to match
14596 new nquery format.
14597 * gdb.base/pending.exp: Ditto.
14598
3224a706
MK
145992004-02-22 Mark Kettenis <kettenis@gnu.org>
14600
14601 * configure.in: Run stabs tests on *BSD.
14602 * configure: Regenerated.
14603
41e0a9ca
MK
146042004-02-21 Mark Kettenis <kettenis@gnu.org>
14605
14606 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14607
1e1b3428
FF
146082004-02-20 Fred Fish <fnf@redhat.com>
14609
14610 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14611 blank in test for "returns short", for consistency with other
14612 "returns xxx" tests. Update copyright year.
14613
f9a7572a
FF
146142004-02-19 Fred Fish <fnf@redhat.com>
14615
14616 New testcase for PR breakpoint/1558.
14617 * gdb.arch/gdb1558.exp: New file.
14618 * gdb.arch/gdb1558.c: New file.
14619
b2ce2854
EZ
146202004-02-19 Elena Zannoni <ezannoni@redhat.com>
14621
14622 * gdb.base/nodebug.exp: Fix typo.
14623
e7c9ff01
JB
146242004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14625
14626 Committed by Jim Blandy <jimb@redhat.com>.
14627
62f4b920
JB
14628 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14629
2db536a1
JB
14630 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14631
e7c9ff01
JB
14632 * gdb.base/float.exp: Support s390*-*-* targets.
14633
f3205b34
AF
146342004-02-17 Adam Fedor <fedor@gnu.org>
14635
14636 * gdb.base/gdb1555.exp: New file.
14637 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14638
9d62932d
EZ
146392004-02-17 Elena Zannoni <ezannoni@redhat.com>
14640
14641 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14642
344c9711
FF
146432004-02-16 Fred Fish <fnf@redhat.com>
14644
14645 * gdb.arch/gdb1291.c: Remove
14646 * gdb.arch/gdb1291.s: New test input file.
14647 * gdb.arch/gdb1291.exp: Expand test to check case that should not
14648 fail. Test for correct result, known incorrect result, other
14649 failures and timeouts.
14650
2d822687
AC
146512004-02-16 Andrew Cagney <cagney@redhat.com>
14652
14653 * gdb.base/bigcore.exp: New file.
14654 * gdb.base/bigcore.c: New file.
14655
dac15b66
AC
146562004-02-13 Andrew Cagney <cagney@redhat.com>
14657
14658 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14659 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14660 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14661 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14662 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14663 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14664 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14665 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14666 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14667 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14668
6bdfc2c4
JJ
146692004-02-11 Jeff Johnston <jjohnstn@redhat.com>
14670
14671 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14672 executed is an alloc instruction.
14673
87b3ede8
DC
146742004-02-11 David Carlton <carlton@kealia.com>
14675
14676 * gdb.cp/breakpoint.exp: New.
14677 * gdb.cp/breakpoint.cc: New.
14678
6e19e2bf
MC
146792004-02-11 Michael Chastain <mec.gnu@mindspring.com>
14680
14681 Partial fix for PR gdb/1543.
14682 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14683 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14684 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14685 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14686 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14687 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14688 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14689 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14690 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14691 to bug-gdb@prep.ai.mit.edu .
14692 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14693 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14694 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14695 Likewise.
14696
5c5455dc
AC
146972004-02-10 Andrew Cagney <cagney@redhat.com>
14698
14699 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14700 using gdb_internal_error_resync.
14701
9cf689d7
DJ
147022004-02-09 Daniel Jacobowitz <drow@mvista.com>
14703
14704 * gdb.threads/thread-specific.exp: Stop early if no threads are
14705 found.
14706
d2dc51db
MC
147072004-02-09 Michael Chastain <mec.gnu@mindspring.com>
14708
14709 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14710
14b1a056
DJ
147112004-02-08 Daniel Jacobowitz <drow@mvista.com>
14712
14713 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14714 breakpoints.
14715
83f66e8f
DJ
147162004-02-07 Daniel Jacobowitz <drow@mvista.com>
14717
14718 * config/sim.exp (gdb_load): Handle $arg == "".
14719 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14720 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14721
30fc0091
EZ
147222004-02-07 Elena Zannoni <ezannoni@redhat.com>
14723
a9c64011
AS
14724 * gdb.base/maint.exp: Update test to reflect
14725 obstack changes.
30fc0091 14726
4d806929
JJ
147272004-02-04 Jeff Johnston <jjohnstn@redhat.com>
14728
14729 * gdb.base/pendshr.c (pendfunc): New function that calls
14730 pendfunc1.
14731 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14732
7bfdd688
FF
147332004-02-04 Fred Fish <fnf@redhat.com>
14734
14735 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14736 function symbols and update copyright years.
14737 * gdb.arch/gdb1291.c: Ditto.
14738
aaa08ee4
MC
147392004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14740
14741 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14742
dbad7755
MC
147432004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14744
14745 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14746
ec4646ef
MC
147472004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14748
14749 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14750
1b802196
FF
147512004-02-02 Fred Fish <fnf@redhat.com>
14752
14753 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14754 remote targets. Update copyright years.
14755
18fe2033
JJ
147562004-02-02 Jeff Johnston <jjohnstn@redhat.com>
14757
14758 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14759 support.
14760 * gdb.base/langs.exp: Fix test which attempts to create
14761 breakpoint on non-existent function to handle new pending
14762 support.
14763 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14764 a breakpoint.
14765 * gdb.base/pending.exp: New test.
14766 * gdb.base/pending.c: New file.
14767 * gdb.base/pendshr.c: Ditto.
14768
8d577d32
DC
147692004-02-02 David Carlton <carlton@kealia.com>
14770
14771 * gdb.cp/overload.exp: Add overloadNamespace tests.
14772 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14773 (overloadNamespace, XXX): New.
14774 (main): Call XXX::marker2.
14775
3ad13771
FF
147762004-02-01 Fred Fish <fnf@redhat.com>
14777
14778 * gdb.base/dump.exp: Use runto_main instead of "runto main".
14779 * gdb.base/finish.exp: Ditto.
14780 * gdb.base/gcore.exp: Ditto.
14781 * gdb.base/huge.exp: Ditto.
14782 * gdb.base/info-proc.exp: Ditto.
14783 * gdb.base/return2.exp: Ditto.
14784 * gdb.threads/gcore-thread.exp: Ditto.
14785
44c75849
DJ
147862004-02-01 Daniel Jacobowitz <drow@mvista.com>
14787
14788 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14789
005bc093
MK
147902004-02-01 Mark Kettenis <kettenis@gnu.org>
14791
14792 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14793 that opening the file succeeds on OpenBSD.
14794
c47cebdb
DJ
147952004-02-01 Daniel Jacobowitz <drow@mvista.com>
14796
14797 * gdb.threads/thread-specific.c: New file.
14798 * gdb.threads/threads-specific.exp: New test script.
14799 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14800 to expect_out.
14801
5a01311c
MK
148022004-02-01 Mark Kettenis <kettenis@gnu.org>
14803
14804 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
14805 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14806 only on the "print_small_structs from print_long_arg_list" test.
14807
ce22a4f1
DJ
148082004-02-01 Daniel Jacobowitz <drow@mvista.com>
14809
14810 * gdb.base/completion.exp: Kill a stray backslash.
14811
14812 From Jim Ingham <jingham@apple.com>:
14813 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14814 agrees with the result from sending a tab.
14815
abbab9d3
DJ
148162004-01-31 Daniel Jacobowitz <drow@mvista.com>
14817
14818 * gdb.base/chng-syms.exp: Remove stray newline.
14819
53904d1e
MK
148202004-01-31 Mark Kettenis <kettenis@gnu.org>
14821
14822 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14823 *-*-openbsd*.
14824 * gdb.asm/openbsd.inc: New file.
14825
3a4b3aac
MK
148262004-01-30 Mark Kettenis <kettenis@gnu.org>
14827
14828 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
14829 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14830 *-*solaris2*. Remove commented out default settings for
14831 asm-flags. Replace gdb_compile with target_link.
14832
ebac27b4
MC
148332004-01-29 Michael Chastain <mec.gnu@mindspring.com>
14834
14835 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
14836 for all tests. Remove old hp-ux and cygnus xfail cases.
14837
d8679d84
PH
148382004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
14839
14840 * gdb.base/chng-syms.exp: New file.
14841 * gdb.base/chng-syms.c: New file.
14842
0a55bc22
MC
148432004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14844
14845 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
14846 Provide arms for current output in all my configurations.
14847
94b8e876
MC
148482004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14849
14850 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14851 * lib/compiler.cc: Likewise.
14852 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14853 get the right preprocessor. Eval the output directly. Remove
14854 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
14855 hp_f77_compiler and hp_f90_compiler completely.
14856 (gdb_preprocess): Delete.
14857 (get_compiler): Delete.
14858
7cf03d44
MK
148592004-01-24 Mark Kettenis <kettenis@gnu.org>
14860
14861 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14862 <string.h>.
14863
68b6dce9
NR
148642004-01-24 Nick Roberts <nick@nick.uklinux.net>
14865
14866 * gdb.mi/mi-stack.exp: Update copyright.
14867
b368761e
DC
148682004-01-23 David Carlton <carlton@kealia.com>
14869
14870 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
14871 test for cp_lookup_transparent_type.
14872 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
14873 call them.
14874
f2061b53
DJ
148752004-01-23 Daniel Jacobowitz <drow@mvista.com>
14876
14877 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
14878 after -var-update.
14879
37fc574a
DC
148802004-01-23 David Carlton <carlton@kealia.com>
14881
14882 * gdb.cp/namespace.cc (C::ensureRefs): New.
14883 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14884
8e94b928
NR
148852004-01-20 Nick Roberts <nick@nick.uklinux.net>
14886
14887 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14888 case "-stack-list-locals 2".
14889 * gdb.mi/mi-var-child.exp: Test for case
14890 "-var-list-children --all-values NAME".
14891
997b0952
MC
148922004-01-18 Michael Chastain <mec.gnu@mindspring.com>
14893
14894 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14895
52470da3
MK
148962004-01-18 Mark Kettenis <kettenis@gnu.org>
14897
7049b4b8
MK
14898 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14899 used with gdb_test_multiple.
14900
52470da3
MK
14901 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14902 read at address 0. This fixes PR testsuite/1504.
14903
da6012e5
DJ
149042004-01-18 Daniel Jacobowitz <drow@mvista.com>
14905
14906 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14907 Remove downloading, guessing the host executable, the calls to
14908 gdb_file_cmd and gdb_target_cmd, and "load" support.
14909 (infer_host_exec): New function broken out from gdb_load.
14910 (gdb_load): New wrapper for gdbserver_gdb_load.
14911 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14912 gdb_target_cmd. Use -target-select.
14913 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14914 Download binaries to the host. Clear last_mi_remote_file when
14915 we load a new binary.
14916 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
14917 call gdbserver_gdb_load and mi_gdb_target_cmd.
14918
32c70722
MC
149192004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14920
14921 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14922 type patterns.
14923
b0cecf36
MC
149242004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14925
14926 * gdb.cp/templates.exp: Fix typo in test name of
14927 "print Foo<volatile char*>::foo".
14928
4120d7e6
MC
149292004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14930
14931 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14932
f679e530
BE
149332004-01-16 Ben Elliston <bje@wasabisystems.com>
14934
14935 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
14936 (clean mostlyclean): Remove empty rm.
14937
091c48f6
MC
149382004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14939
14940 * gdb.base/setvar.exp: Add copyright years.
14941
3e5fc8d2
DC
149422004-01-14 David Carlton <carlton@bactrian.org>
14943
14944 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
14945 PR c++/1511 and update coment.
14946 * gdb.cp/templates.exp: Update patterns to match current output.
14947 If changes involve something other than whitespace, KFAIL
14948 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
14949
63d06c5c
DC
149502004-01-14 David Carlton <carlton@kealia.com>
14951
14952 * gdb.cp/namespace.exp: Add tests involving classes defined within
14953 namespaces.
14954 * gdb.cp/namespace.cc (C::CClass): New.
14955 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
14956
a51dab88
EZ
149572004-01-14 Elena Zannoni <ezannoni@redhat.com>
14958
14959 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
14960 what debug info we have. Print a better message if something goes
14961 wrong while producing the separate debug info file.
14962
a476ccc9
MC
149632004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14964
14965 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
14966
f453692c
MC
149672004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14968
14969 * gdb.base/callfuncs.c: Add copyright notice.
14970
f40063a5
MC
149712004-01-13 Michael Chastain <mec.gnu@mindspring.com>
14972
14973 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
14974 inheritance. PR gdb/1498, PR gcc/13539.
14975
19ac3974
EZ
149762004-01-13 Elena Zannoni <ezannoni@redhat.com>
14977
a9c64011
AS
14978 * gdb.threads/gcore-thread.exp: Prefix name of binary with
14979 test specific name.
14980 * gdb.mi/gdb669.exp: Ditto.
14981 * gdb.mi/mi-pthreads.exp: Ditto.
14982 * gdb.mi/mi1-pthreads.exp: Ditto.
14983 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 14984
56c97c6e
MC
149852004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14986
14987 * gdb.cp/member-ptr.cc: Add copyright notice.
14988
a0644324
MC
149892004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14990
14991 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
14992 some patterns for recent versions of gcc and hpacc. Delete
14993 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
14994 Delete tests that access a NULL pointer-to-member-data. This
14995 script is still disabled for gcc.
14996
32fabe09
EZ
149972004-01-12 Elena Zannoni <ezannoni@redhat.com>
14998
14999 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15000 escaped correctly.
32fabe09 15001
1f8a6abb
EZ
150022004-01-12 Elena Zannoni <ezannoni@redhat.com>
15003
15004 * gdb.base/sepdebug.exp: New file.
15005 * gdb.base/sepdebug.c: New file.
15006 * lib/gdb.exp (separate_debug_filename): New procedure.
15007 (gdb_gnu_strip_debug): New procedure.
15008
48efe704
AC
150092004-01-12 Andrew Cagney <cagney@redhat.com>
15010
15011 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15012 * gdb.mi/ChangeLog-1999-2003: New file.
15013
a9415475
AC
150142004-01-12 Andrew Cagney <cagney@redhat.com>
15015
15016 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15017 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15018 or EEXIST", treat EBUSY as an XFAIL.
15019
83b8cf9d
MC
150202004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15021
15022 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15023 hp_cc_compiler.
15024
9939d2a8
MC
150252004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15026
15027 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15028 decorations.
15029
1ff8cadf
MC
150302004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15031
15032 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15033 and "(aCC)" decorations. Remove obsolete doco about old
15034 test results.
15035
6fa9022e
MC
150362004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15037
15038 * gdb.cp/exception.exp: Fix typo in doco.
15039
209721fe
MK
150402004-01-09 Mark Kettenis <kettenis@gnu.org>
15041
15042 * gdb.base/gdb1476.exp: Fix typo.
15043
ef11303e
MC
150442004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15045
15046 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15047 file.
15048
041ab88c
MC
150492004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15050
15051 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15052 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15053 Use gdb_compile. Remove restriction on gcc. Add some patterns
15054 for recent version of gdb. Delete second half, which was a copy
15055 of the first half with different build flags. This test is
15056 still disabled because it is still not ready for production.
15057
e36d075a
MC
150582004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15059
15060 * gdb.cp/exception.cc: Add copyright notice.
15061 * gdb.cp/exception.exp: Add a notice that this file is broken
15062 because of line number changes caused by addition of copyright
15063 notice.
15064
42b190ad
MC
150652004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15066
15067 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15068 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15069
8f25f06b
MC
150702004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15071
15072 * gdb.cp/classes.exp: Accept gnu abi 2.
15073 * gdb.cp/derivation.exp: Likewise.
15074 * gdb.cp/overload.exp: Likewise.
15075 * gdb.cp/virtfunc.exp: Likewise.
15076
06ded8b8
MC
150772004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15078
15079 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15080 semicolon after end of function.
15081
77c26ae3
MC
150822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15083
15084 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15085 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15086 boilerplate code for compiling and running the program under
15087 test. Add some string method tests.
15088
20757486
MC
150892004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15090
15091 * gdb.cp/bs15503.cc: Add copyright notice.
15092 * gdb.cp/bs15503.exp: Adjust line number.
15093
0fd3b503
MC
150942004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15095
15096 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15097 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15098
10d1bea8
MC
150992004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15100
15101 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15102 hp_cc_compiler.
15103
2789202a
MC
151042004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15105
15106 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15107 * gdb.cp/ctti.exp: Use the marker instead of "next".
15108 With gcc, run further before bailing.
15109
b862f14c
MC
151102004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15111
15112 * gdb.cp/cttiadd.cc: Add copyright notice.
15113 * gdb.cp/cttiadd1.cc: Likewise.
15114 * gdb.cp/cttiadd2.cc: Likewise.
15115 * gdb.cp/cttiadd3.cc: Likewise.
15116
96da2469
MC
151172004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15118
15119 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15120 Use gdb_test, gdb_test_multiple. Use floating-point values that
15121 have exact representations in IEEE-ish formats.
15122
053248ff
MC
151232004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15124
15125 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15126 compilers. Delete duplicate call to get_compiler_info.
15127 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15128 * gdb.base/volatile.exp: Likewise.
15129
84acecdd
MK
151302004-01-07 Mark Kettenis <kettenis@gnu.org>
15131
15132 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15133 memory at address 0.
15134
fe11a27f
MC
151352004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15136
15137 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15138 to test for hp-ux assembler. Fix copyright years.
15139
60ad077b
AC
151402004-01-07 Andrew Cagney <cagney@redhat.com>
15141
15142 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15143
1c9b8f33
AC
151442004-01-07 Andrew Cagney <cagney@redhat.com>
15145
15146 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15147 when creating the read-only file. From analysis by Roland McGrath
15148 and Elena Zannoni.
15149
753ccc7a
MC
151502004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15151
15152 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15153
eca3e36b
MC
151542004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15155
15156 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15157 data pointers.
15158
f8d4bac4
MC
151592004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15160
15161 * gdb.cp/m-static.exp: Compile one source file at a time.
15162 Delete unused call to get_compiler_info.
15163
9b4e0f94
MC
151642004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15165
15166 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15167 * gdb.base/call-rt-st.exp: Likewise.
15168 * gdb.base/nodebug.exp: Likewise.
15169 * gdb.base/volatile.exp: Likewise.
15170 * gdb.cp/ref-types.exp: Likewise.
15171 * gdb.cp/templates.exp: Likewise.
15172
023c1024
MK
151732004-01-05 Mark Kettenis <kettenis@gnu.org>
15174
15175 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15176
19703c4a
MC
151772004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15178
15179 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15180 hppa*-hp-hpux*.
15181
18b67037
MK
151822004-01-04 Mark Kettenis <kettenis@gnu.org>
15183
ba6219c8
MK
15184 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15185 x86_64-*-*.
15186
18b67037
MK
15187 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15188 sparc64-*-* and sparc*-solaris2*.
15189
1bfbbb9d
MK
151902004-01-04 Mark Kettenis <kettenis@gnu.org>
15191
15192 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15193 return ${tests}" test. The ${tests} already mentions the
15194 filename.
15195
06846494
MC
151962004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15197
15198 * gdb.cp/local.exp: Accept gcc abi 2.
15199
3b0cb202
MC
152002004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15201
15202 * gdb.cp/templates.exp: Accept gcc abi 2.
15203
0643ec3f
MC
152042004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15205
15206 * lib/compiler.cc: Remove supports_template_debugging.
15207 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15208
d231d0b1
MC
152092004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15210
15211 * gdb.cp/namespace.exp: Accept gcc abi 2.
15212
44ffb27c
MC
152132004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15214
15215 * gdb.cp/method.exp: Accept gcc abi 2.
15216
184ad485
MC
152172004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15218
15219 * gdb.cp/classes.exp: Generate identical results as old version.
15220 * gdb.cp/derivation.exp: Likewise.
15221 * gdb.cp/overload.exp: Likewise.
15222 * gdb.cp/virtfunc.exp: Likewise.
15223
116f09e7
MC
152242004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15225
15226 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15227 mysterious bug with sourceware version of expect.
15228
b1379776
MC
152292004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15230
15231 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15232 current versions of gcc, including gcc abi 2. Remove gratuitous
15233 restart of test program. Use gdb_test_multiple and gdb_test for
15234 all tests. Add patterns to xfail missing "const" in "const char *"
15235 and kfail PR gdb/1155.
15236
6b7a4c0e
MC
152372004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15238
15239 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15240 current versions of gcc, including gcc abi 2. Remove gratuitous
15241 restart of test program. Use gdb_test_multiple and gdb_test for
15242 all tests. Add patterns to kfail PR gdb/1498.
15243
51615d72
MC
152442003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15245
15246 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15247 current versions of gcc, including gcc abi 2. Use "breakpoint"
15248 and "continue" instead of restarting the target program. Use
15249 gdb_test_multiple and gdb_test for all tests.
15250
7b79a9d7
MK
152512004-01-01 Mark Kettenis <kettenis@gnu.org>
15252
15253 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15254 for *-*-solaris2*.
15255
1cd3489f
MC
152562003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15257
15258 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15259 current versions of gcc, including gcc abi 2. Use "breakpoint"
15260 and "continue" instead of restarting the target program several
15261 times. Use gdb_test_multiple and gdb_test for all tests.
15262
850742db
MC
152632003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15264
15265 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15266 source files.
15267
eb4bbda8
MC
152682003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15269
15270 * gdb.base/environ.exp: Handle compiling test case from multiple
15271 source files.
15272
e42c7771
MC
152732003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15274
15275 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15276
80e4b428
JB
152772003-12-17 Jim Blandy <jimb@redhat.com>
15278
5f06973a
JB
15279 * gdb.base/freebpcmd.c: Add copyright notice.
15280
80e4b428
JB
15281 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15282
0ab84fb7
MC
152832003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15284
15285 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15286
1b3bb3d0
JB
152872003-12-13 Jim Blandy <jimb@redhat.com>
15288
15289 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15290
3a4c9371
KB
152912003-12-12 Kevin Buettner <kevinb@redhat.com>
15292
15293 * gdb.asm/frv.inc: New file.
15294 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15295
a1dea79a
FF
152962003-12-09 Fred Fish <fnf@redhat.com>
15297
15298 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15299 functions to break1.c and leave prototypes behind. Add more
15300 "set breakpoint NN here" comments.
15301 * gdb.base/break1.c: New file.
15302
15303 * gdb.base/break.exp: Handle compiling test case from multiple
15304 source files and change source file references as needed.
15305 * gdb.base/completion.exp: Ditto.
15306 * gdb.base/condbreak.exp: Ditto.
15307 * gdb.base/define.exp: Ditto.
15308 * gdb.base/ena-dis-br.exp: Ditto.
15309 * gdb.base/info-proc.exp: Ditto.
15310 * gdb.base/maint.exp: Ditto.
15311 * gdb.base/until.exp: Ditto.
15312
15313 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15314 hardcoded line numbers.
15315 * gdb.base/define.exp: Ditto.
15316 * gdb.base/ena-dis-br.exp: Ditto.
15317 * gdb.base/maint.exp: Ditto.
15318 * gdb.base/until.exp: Ditto.
15319
15320 * gdb.base/completion.exp: Use "break1" for completion tests since
15321 "break" is no longer a unique prefix.
15322
5266b69c
AC
153232003-12-06 Andrew Cagney <cagney@redhat.com>
15324
15325 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15326 "return_value_unimplemented". When an unimplemented struct return
15327 architecture, report incorrect values as a KFAIL
15328
374451f0
MC
153292003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15330
15331 * gdb.cp/rtti.exp: Accept new wording of warning from
15332 cp_lookup_rtti_type.
15333
ba9b20a7
MC
153342003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15335
15336 Partial fix for PR testsuite/1456.
15337 * gdb.base/scope.exp (test_at_main): Replace references to
15338 gcc_compiled with calls to test_compiler_info.
15339 (test_at_foo): Likewise.
15340 (test_at_bar): Likewise.
15341
b74b6d0b
MC
153422003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15343
15344 Partial fix for PR testsuite/1456.
15345 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15346 to test_compiler_info.
15347
ccfa3402
MC
153482003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15349
15350 * gdb.base/so-impl-ld.exp: Update copyright notice.
15351
f6246aba
MC
153522003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15353
15354 Partial fix for PR testsuite/1456.
15355 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15356 to test_compiler_info.
15357
13ae734a
MC
153582003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15359
15360 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15361 from current versions of gdb. Clean up regular expressions.
15362 Delete redundant timeout case.
15363
d8e1cdee
MC
153642003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15365
15366 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15367 from current versions of gdb. Clean up regular expressions.
15368 Delete redundant timeout case.
15369
96457b64
MC
153702003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15371
15372 Partial fix for PR testsuite/1456.
15373 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15374 gcc_compiled with call to test_compiler_info.
15375
f35309fc
MC
153762003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15377
15378 Partial fix for PR testsuite/1456.
15379 * gdb.base/list.exp (test_list_function): Delete unused declaration
15380 of gcc_compiled.
15381
d7afdf9b
MC
153822003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15383
15384 Partial fix for PR testsuite/1456.
15385 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15386 call to test_compiler_info.
15387
71507b56
MK
153882003-11-29 Mark Kettenis <kettenis@gnu.org>
15389
15390 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15391 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15392 it to create the appropriate note.inc.
15393 * gdb.asm/asmsrc1.s: Include "note.inc".
15394 * gdb.asm/netbsd.inc: New file.
15395 * gdb.asm/empty.inc: New file.
15396
f81f93f7
MC
153972003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15398
15399 Partial fix for PR testsuite/1456.
15400 * gdb.base/constvars.exp: Replace references to gcc_compiled with
15401 calls to test_compiler_info.
15402
9a77938e
MC
154032003-11-27 Michael Chastain <mec.gnu@mindspring.com>
15404
15405 Partial fix for PR testsuite/1456.
15406 * gdb.base/volatile.exp: Replace references to gcc_compiled with
15407 calls to test_compiler_info.
15408
e8367dc7
MK
154092003-11-27 Mark Kettenis <kettenis@gnu.org>
15410
15411 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15412 pattern for the KFAILs.
15413
526c61ee
AF
154142003-11-25 Adam Fedor <fedor@gnu.org>
15415
15416 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15417 * gdb.objc/objcdecode.m: New file.
15418
28f2d600
AF
154192003-11-25 Adam Fedor <fedor@gnu.org>
15420
15421 * gdb.objc/nondebug.exp: Test for PR objc/1236.
15422 * gdb.objc/nondebug.m: New file.
15423
a3895cee
BE
154242003-11-26 Ben Elliston <bje@wasabisystems.com>
15425
15426 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15427 NetBSD as it does on FreeBSD. Modelled on a similar change by
15428 Mark Kettenis on 2003-05-30.
15429 (link-flags): Set to "--entry _start" regardless of target.
15430 Special linker flags are to be appended to $link-flags.
15431 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15432
c9f2c8a3
MC
154332003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15434
15435 * gdb.cp/method.exp: Accept output of new demangler.
15436
15a0587a 154372003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
15438
15439 * gdb/class2.exp: New file.
15440 * gdb/class2.cc: New file.
15441
3c00b570
MC
154422003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15443
15444 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15445 of new demangler.
15446
7027acc7
MK
154472003-11-23 Mark Kettenis <kettenis@gnu.org>
15448
15449 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15450 of gdb_test "run".
15451
b0e1598a
MK
154522003-11-23 Mark Kettenis <kettenis@gnu.org>
15453
15454 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
15455 "continue" into "run".
15456
4d9eda44
MC
154572003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15458
15459 Partial fix for PR testsuite/1456.
15460 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15461 call to test_compiler_info.
15462 * gdb.cp/ctti.exp: Likewise.
15463 * gdb.cp/derivation.exp: Likewise.
15464 * gdb.cp/member-ptr.exp: Likewise.
15465 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15466 reference to gcc_compiled.
15467
154682003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
15469
15470 Fix PR testsuite/1463.
15471 * gdb.base/structs.exp (start_structs_test): Call
15472 get_debug_format before using the debug format.
15473
d422fe19
AC
154742003-11-22 Andrew Cagney <cagney@redhat.com>
15475
15476 * lib/gdb.exp (gdb_test_multiple): Add simple example.
15477 * gdb.base/structs.exp: Use gdb_test_multiple.
15478
039cf96d
AC
154792003-11-20 Andrew Cagney <cagney@redhat.com>
15480
6882279b
AC
15481 * gdb.base/structs.exp: Handle and recover from internal errors.
15482 Replace "foo${n}" with "foo<n>" in test messages.
15483
e53890ae
AC
15484 * gdb.base/structs.exp: Update copyright. Rewrite.
15485 * gdb.base/structs.c: Update copyright. Rewrite.
15486
2b211c59
AC
15487 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15488 resync count exceeded.
d63a86f8 15489
039cf96d
AC
15490 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15491 from the internal error.
15492 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15493 Original from Jim Blandy.
15494 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 15495
eac98b22
AC
154962003-11-19 Andrew Cagney <cagney@redhat.com>
15497
15498 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15499 KFAIL.
15500
67455b2a
MK
155012003-11-17 Mark Kettenis <kettenis@gnu.org>
15502
15503 New testcase for PR backtrace/1435.
15504 * gdb.arch/i386-unwind.exp: New file.
15505 * gdb.arch/i386-unwind.c: New file.
15506
853d6e5b
AC
155072003-11-17 Andrew Cagney <cagney@redhat.com>
15508
15509 * lib/gdb.exp (compiler_info): New global.
15510 (test_compiler_info): New function.
15511 (get_compiler_info): Set compiler_info.
15512 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
15513 "compiler_info" to gcc-<major>-<minor>.
15514
38cf6e11
MC
155152003-11-15 Michael Chastain <mec.gnu@mindspring.com>
15516
15517 * gdb.trace/configure: Remove.
15518
a50d3602
EZ
155192003-11-13 Elena Zannoni <ezannoni@redhat.com>
15520
15521 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 15522 breakpoints.
a50d3602
EZ
15523 * gdb.base/break.exp: Remove all references to explicit line
15524 numbers.
15525
d9407aaa
NC
155262003-11-11 Nick Clifton <nickc@redhat.com>
15527
15528 * gdb.base/shreloc.exp: Do not run for targets which do not
15529 support shared objects.
15530
db488fc1
CV
155312003-11-10 Corinna Vinschen <vinschen@redhat.com>
15532
15533 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15534 Don't run tests if nofileio flag is given.
15535
6a90a18e
EZ
155362003-11-07 Elena Zannoni <ezannoni@redhat.com>
15537
15538 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 15539 as well as 'Watchpoint'.
6a90a18e 15540
0b915e9c
EZ
155412003-11-06 Elena Zannoni <ezannoni@redhat.com>
15542
15543 Reported by Jim Ingham <jingham@apple.com>:
15544 * gdb.base/annota1.exp: Match at least one occurrence of the
15545 signal handler annotation.
15546
d7e4b55f
EZ
155472003-11-06 Elena Zannoni <ezannoni@redhat.com>
15548
a9c64011
AS
15549 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15550 as well as 'Watchpoint'.
d7e4b55f 15551
2fe4e8d0
MC
155522003-11-05 Michael Chastain <mec@shout.net>
15553
15554 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15555
6ef88553
KW
155562003-11-03 Kris Warkentin <kewarken@qnx.com>
15557
15558 * gdb.arch/gdb1291.c: New test file.
15559 * gdb.arch/gdb1291.exp: New test script.
15560 * gdb.arch/gdb1431.c: New test file.
15561 * gdb.arch/gdb1431.exp: New test script.
15562
ae7dc4d8
MC
155632003-10-22 Michael Chastain <mec@shout.net>
15564
15565 * gdb.mi/pthreads.c: Add copyright notice.
15566
c39d7427
MC
155672003-10-22 Michael Chastain <mec@shout.net>
15568
15569 * gdb.threads/pthreads.c: Add copyright notice.
15570
8b7d96c1
MC
155712003-10-20 Michael Chastain <mec@shout.net>
15572
15573 * gdb.base/gdb1056.exp: New test script.
15574
d1d69fdd
DJ
155752003-10-13 Daniel Jacobowitz <drow@mvista.com>
15576
15577 * gdb.threads/killed.exp: Use gdb_run_cmd.
15578
7d605576
DJ
155792003-10-13 Daniel Jacobowitz <drow@mvista.com>
15580
15581 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15582 create a core file.
15583 * gdb.threads/gcore-thread.exp: Likewise.
15584
618ec112
CV
155852003-10-13 Corinna Vinschen <vinschen@redhat.com>
15586
15587 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15588 type, based on char type.
15589 (struct bit_flags_short_t): New bitfield type, based on short type.
15590 (init_bit_flags_char): New fuction.
15591 (init_bit_flags_short): Ditto.
15592 (print_bit_flags_char): Ditto.
15593 (print_bit_flags_short): Ditto.
15594 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15595
9367a73c
MC
155962003-10-11 Michael Chastain <mec@shout.net>
15597
15598 * gdb.base/call-rt-st.exp: Update copyright year.
15599
1decf120
KI
156002003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
15601
15602 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15603 * gdb.disasm/sh3.s: Ditto.
15604
5445b2ae
DJ
156052003-10-07 Daniel Jacobowitz <drow@mvista.com>
15606
15607 * gdb.threads/switch-threads.exp: New test.
15608 * gdb.threads/switch-threads.c: New source file.
15609
aec24853
CV
156102003-10-07 Corinna Vinschen <vinschen@redhat.com>
15611
15612 * gdb.base/ending-run.exp: Add sh specific case.
15613
adc7428d
AC
156142003-10-06 Andrew Cagney <cagney@redhat.com>
15615
15616 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15617 * gdb.disasm/mn10200.exp: Delete obsolete file.
15618
c9d37158
DJ
156192003-09-29 Daniel Jacobowitz <drow@mvista.com>
15620
15621 * ChangeLog: Correct an entry command.exp -> commands.exp.
15622 * gdb.base/commands.exp (bp_deleted_in_command_test)
15623 (temporary_breakpoint_commands): Check noargs.
15624
79c2c32d
DC
156252003-09-25 David Carlton <carlton@kealia.com>
15626
15627 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
15628 of some print tests, where appropriate. Add tests for C::D::cd,
15629 E::ce, F::cXfX, G::XgX.
15630 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15631
594e6d67
RE
156322003-09-25 Richard Earnshaw <rearnsha@arm.com>
15633
15634 * lib/java.exp (java_init): Import target_alias before using it.
15635
10f0d451
DC
156362003-09-25 David Carlton <carlton@kealia.com>
15637
15638 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15639
274bcba0
EZ
156402003-09-23 Elena Zannoni <ezannoni@redhat.com>
15641
d63a86f8 15642 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 15643 weirdness.
274bcba0 15644
cdbf20f7
MC
156452003-09-17 Michael Chastain <mec@shout.net>
15646
15647 * gdb.cp/gdb1355.exp: New file.
15648 * gdb.cp/gdb1355.c: New file.
15649
71e06f80
CV
156502003-09-15 Corinna Vinschen <vinschen@redhat.com>
15651
15652 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15653 * gdb.asm/sh.inc: New file.
15654
5c4e30ca
DC
156552003-09-11 David Carlton <carlton@kealia.com>
15656
bd45b7af
DC
15657 * gdb.cp/namespace.exp: Add tests for namespace types.
15658 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
15659 (test_namespace): New.
15660
1c199746
EZ
156612003-09-11 Elena Zannoni <ezannoni@redhat.com>
15662
a9c64011 15663 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 15664 * gdb.stabs/weird.exp: Ditto.
1c199746 15665
04ed252f
MC
156662003-09-08 Michael Chastain <mec@shout.net>
15667
15668 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15669
d8a2d9e7
MC
156702003-09-07 Michael Chastain <mec@shout.net>
15671
15672 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15673 'parse error'.
15674
161afb24
MK
156752003-09-07 Mark Kettenis <m.kettenis@osp.nl>
15676
15677 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15678
49f2741a
MC
156792003-08-30 Michael Chastain <mec@shout.net>
15680
15681 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15682 * gdb.gdb/observer.exp: Ditto.
15683 * gdb.gdb/xfullpath.exp: Ditto.
15684
8afa723e
MK
156852003-08-29 Mark Kettenis <kettenis@gnu.org>
15686
15687 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15688 *-*-*bsd*.
15689
f31dfe3b
JJ
156902003-08-28 Jeff Johnston <jjohnstn@redhat.com>
15691
15692 * gdb.base/dump.exp: Skip for ia64.
15693
4630e498
JJ
156942003-08-25 Jeff Johnston <jjohnstn@redhat.com>
15695
15696 * gdb.asm/asm-source.exp: Add ia64 support.
15697 * gdb.asm/ia64.inc: New file.
15698
1105b7ef
MC
156992003-08-22 Michael Chastain <mec@shout.net>
15700
15701 * gdb.cp: New directory.
15702 * gdb.cp/*: Copy from gdb.c++/*.
15703 * gdb.c++/*: Remove.
15704 * Makefile.in: Change gdb.c++ to gdb.cp.
15705 * configure.in: Ditto.
15706 * configure: Regnerate.
15707
c945b932
MK
157082003-08-18 Mark Kettenis <kettenis@gnu.org>
15709
15710 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15711 * gdb.arch/i386-prologue.c (gdb1338): Add function.
15712
2b66634b
DJ
157132003-08-17 Daniel Jacobowitz <drow@mvista.com>
15714
15715 * mi-var-display.exp (-var-list-children weird): Accept function
15716 pointers with argument types.
15717 * mi1-var-display.exp (-var-list-children weird): Likewise.
15718 * mi2-var-display.exp (-var-list-children weird): Likewise.
15719
a356f73b
DJ
157202003-08-17 Daniel Jacobowitz <drow@mvista.com>
15721
15722 * gdb.base/annota3.exp: Add missing newline.
15723
483417b8
MC
157242003-08-06 Michael Chastain <mec@shout.net>
15725
15726 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15727
c99c59c3
MS
157282003-08-12 Michael Snyder <msnyder@redhat.com>
15729
15730 * gdb.base/float.exp: Add test for SH.
15731
55ed7501
MK
157322003-08-10 Mark Kettenis <kettenis@gnu.org>
15733
15734 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15735
1a371f2e
EZ
157362003-08-07 Elena Zannoni <ezannoni@redhat.com>
15737
15738 * gdb.base/completion.exp: Remove reduntant completion test
15739 on filename.
15740
e0f353ce
EZ
157412003-08-07 Elena Zannoni <ezannoni@redhat.com>
15742
a9c64011
AS
15743 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15744 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15745 gdb.trace/save-trace.exp: Make sure that full pathnames are
15746 escaped correctly.
e0f353ce 15747
5710a1af 157482003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 15749
a9c64011
AS
15750 * configure.in: Don't generate config.h from config.hin.
15751 * configure: Regenerate.
15752 * config.hin: Remove file.
15753 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15754 * gdb.threads/pthreads.c: Ditto.
5710a1af 15755
dcd81ce9
DJ
157562003-08-07 Daniel Jacobowitz <drow@mvista.com>
15757
15758 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15759 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15760 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15761 Replace ld24 with seth/add3.
15762
6009d884
AC
157632003-08-02 Andrew Cagney <cagney@redhat.com>
15764
15765 * gdb.base/annota3.exp: New file.
15766 * gdb.base/annota3.c: New file.
15767 * gdb.c++/annota3.exp: New file.
15768 * gdb.c++/annota3.cc: New file.
15769
51514e06
MC
157702003-07-29 Michael Chastain <mec@shout.net>
15771
15772 * gdb.threads/tls.c (spin): Check errno only if sem_wait
15773 actually failed.
15774 (do_pass): Likewise.
15775 * gdb.threads/tls.exp: Always initialize no_of_threads.
15776
4ee6625b
DJ
157772003-07-27 Daniel Jacobowitz <drow@mvista.com>
15778
15779 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15780 pattern.
15781 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15782 * gdb.threads/tls.exp: Recognize one case of the host library not
15783 supporting TLS.
15784
225f2bf6
AC
157852003-07-27 Andrew Cagney <cagney@redhat.com>
15786
15787 * gdb.base/fileio.exp: Use SH when running commands using
15788 remote_exec.
15789
bcb27c9f
DJ
157902003-07-24 Daniel Jacobowitz <drow@mvista.com>
15791
15792 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15793 * gdb.base/relocate.c (dummy): New padding array.
15794
3d67be83
MS
157952003-07-22 Michael Snyder <msnyder@redhat.com>
15796
d63a86f8 15797 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
15798
15799 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15800 patterns to be more general, accepting old and new output.
15801 Some output chars (such as '+') also must be quoted.
d63a86f8 15802 Some addresses are displayed numerically instead of
3d67be83
MS
15803 symbolically.
15804
57ba3b85
MS
158052003-07-23 Michael Snyder <msnyder@redhat.com>
15806
686d097c
MS
15807 * gdb.base/return2.exp: Don't test long-long return.
15808
57ba3b85
MS
15809 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15810 * gdb.disasm/t01_mov.exp: Ditto.
15811 * gdb.disasm/t02_mova.s: Ditto.
15812 * gdb.disasm/t02_mova.exp: Ditto.
15813 * gdb.disasm/t03_add.s: Ditto.
15814 * gdb.disasm/t03_add.exp: Ditto.
15815 * gdb.disasm/t04_sub.s: Ditto.
15816 * gdb.disasm/t04_sub.exp: Ditto.
15817 * gdb.disasm/t05_cmp.s: Ditto.
15818 * gdb.disasm/t05_cmp.exp: Ditto.
15819 * gdb.disasm/t06_ari2.s: Ditto.
15820 * gdb.disasm/t06_ari2.exp: Ditto.
15821 * gdb.disasm/t07_ari3.s: Ditto.
15822 * gdb.disasm/t07_ari3.exp: Ditto.
15823 * gdb.disasm/t08_or.s: Ditto.
15824 * gdb.disasm/t08_or.exp: Ditto.
15825 * gdb.disasm/t09_xor.s: Ditto.
15826 * gdb.disasm/t09_xor.exp: Ditto.
15827 * gdb.disasm/t10_and.s: Ditto.
15828 * gdb.disasm/t10_and.exp: Ditto.
15829 * gdb.disasm/t11_logs.s: Ditto.
15830 * gdb.disasm/t11_logs.exp: Ditto.
15831 * gdb.disasm/t12_bit.s: Ditto.
15832 * gdb.disasm/t12_bit.exp: Ditto.
15833 * gdb.disasm/t13_otr.s: Ditto.
15834 * gdb.disasm/t13_otr.exp: Ditto.
15835
e00759ef
EZ
158362003-07-22 Elena Zannoni <ezannoni@redhat.com>
15837
15838 * gdb.threads/tls.exp :Add kfail for 'info address' case.
15839
8bc2021f
EZ
158402003-07-22 Elena Zannoni <ezannoni@redhat.com>
15841
a9c64011
AS
15842 * gdb.threads/tls.c : New file.
15843 * gdb.threads/tls.exp : New file.
15844 * gdb.threads/tls-main.c : New file.
15845 * gdb.threads/tls-shared.c : New file.
15846 * gdb.threads/tls-shared.exp : New file.
8bc2021f 15847
89320c4c
AS
158482003-07-22 Andreas Schwab <schwab@suse.de>
15849
15850 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15851
180dea7c
AS
158522003-07-20 Andreas Schwab <schwab@suse.de>
15853
15854 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15855 due to insn reordering.
15856
0714963c
AC
158572003-07-15 Andrew Cagney <cagney@redhat.com>
15858
15859 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15860
98a23b3f
MC
158612003-07-15 Michael Chastain <mec@shout.net>
15862
15863 * gdb.base/gdb1250.exp: New file.
15864 * gdb.base/gdb1250.c: New file.
15865
27e417a2
ML
158662003-07-09 Michal Ludvig <mludvig@suse.cz>
15867
15868 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15869 expansion of size_t to 'unsigned long', not only to 'unsigned'.
15870
8bc2021f
EZ
158712003-07-09 Elena Zannoni <ezannoni@redhat.com>
15872
a9c64011
AS
15873 * gdb.threads/tls.c: New file.
15874 * gdb.threads/tls.exp: New file.
15875 * gdb.threads/tls-main.c: New file.
15876 * gdb.threads/tls-shared.c: New file.
15877 * gdb.threads/tls-shared.exp: New file.
8bc2021f 15878
d99968dc
EZ
158792003-07-09 Elena Zannoni <ezannoni@redhat.com>
15880
15881 * gdb.base/annota1.exp: Make sure that we properly escape the
15882 full path of the source file. Xfail more permissive patterns,
d63a86f8 15883 due to a compiler debug info problem.
d99968dc 15884
83876b3b
AS
158852003-07-07 Andreas Schwab <schwab@suse.de>
15886
2705e972
AS
15887 * gdb.asm/m68k.inc: New file.
15888 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15889
83876b3b
AS
15890 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15891 arguments"): Also match negative number.
15892
15893 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15894
3a871b37
DJ
158952003-07-03 Daniel Jacobowitz <drow@mvista.com>
15896
15897 * gdb.base/store.c (charest): New typedef.
15898 (add_char): Rename to add_charest, update.
15899 (wack_char): Rename to wack_charest, update types. Return l + r
15900 to keep r live across the call.
15901 (wack_short, wack_int, wack_long, wack_longest, wack_float)
15902 (wack_double, wack_doublest): Return l + r to keep r live across
15903 the call.
15904 * gdb.base/store.exp: Accomodate store.c changes.
15905
b2a7f303
DC
159062003-06-30 David Carlton <carlton@kealia.com>
15907
15908 * gdb.c++/maint.exp (test_invalid_name): New.
15909 (test_first_component): Add tests for invalid names.
15910
3c6cb4a1
MC
159112003-06-29 Michael Chastain <mec@shout.net>
15912
15913 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15914 output of '<VTT for class>' for virtual base classes.
15915
f1c2644b
DJ
159162003-06-29 Daniel Jacobowitz <drow@mvista.com>
15917
15918 * gdb.base/completion.exp: Tab-complete "complet" instead of
15919 "compl".
15920 * gdb.base/complex.exp, gdb.base/complex.c: New files.
15921
18080350
DJ
159222003-06-29 Daniel Jacobowitz <drow@mvista.com>
15923
15924 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15925 * gdb.base/volatile.exp: Likewise.
15926
f56973f8
DJ
159272003-06-29 Daniel Jacobowitz <drow@mvista.com>
15928
15929 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15930 gdb/1265.
15931
159322003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
15933 Daniel Jacobowitz <drow@mvista.com>
15934
15935 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
15936 initial line count of 'captured_main' from 26 to 32.
15937 (test_with_self): Allow xmalloc call to be interleaved with the
15938 preceding two lines.
15939
e766d4d6
JB
159402003-06-24 Joel Brobecker <brobecker@gnat.com>
15941
15942 * gdb.base/bang.exp: New testcase.
15943
f125c9a4
JB
159442003-06-23 Joel Brobecker <brobecker@gnat.com>
15945
15946 * gdb.base/langs.exp: Add some tests for the "minimal" language
15947 support.
15948
6e25beaf
EZ
159492003-06-23 Elena Zannoni <ezannoni@redhat.com>
15950
15951 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
15952 the testcase.
15953
2f816dda
DJ
159542003-06-22 Daniel Jacobowitz <drow@mvista.com>
15955
15956 * gdb.base/relocate.exp: Test add-symbol-file with a variable
15957 offset.
15958
db5a5748
DJ
159592003-06-22 Daniel Jacobowitz <drow@mvista.com>
15960
15961 * gdb.c++/pr-1210.cc: New file.
15962 * gdb.c++/pr-1210.exp: New file.
15963
1df0c130
DJ
159642003-06-21 Daniel Jacobowitz <drow@mvista.com>
15965
15966 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
15967 000-exec-continue.
15968
a92feac0
MK
159692003-06-15 Mark Kettenis <kettenis@gnu.org>
15970
15971 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
15972 on *-*-*bsd* instead of *-*-freebsd*.
15973
81a58f5b
AC
159742003-06-14 Andrew Cagney <cagney@redhat.com>
15975
15976 * gdb.base/store.exp: Test longest and doublest. Test all
15977 parameters. Weaken return statement match.
15978 * gdb.base/store.c: Add longest and doublest - aka long long and
15979 long double functions. Put all parameters into local register
15980 variables. Use negative values.
15981
b257a0d3
AC
159822003-06-14 Andrew Cagney <cagney@redhat.com>
15983
15984 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
15985 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
15986 exit status.
15987 * gdb.base/fileio.exp: Disable target when nointerrupts and
15988 noinferiorio, instead of limiting it to remote. Use remote_exec
15989 instead of system.
d63a86f8 15990
21c38304
JJ
159912003-06-12 Jeff Johnston <jjohnstn@redhat.com>
15992
15993 * gdb.base/float.exp: Add ia64 support.
15994
1bcdb424
CV
159952003-06-12 Corinna Vinschen <vinschen@redhat.com>
15996
15997 * gdb.base/fileio.exp: Run only on remote targets.
15998
6aeb981f
CV
159992003-06-10 Corinna Vinschen <vinschen@redhat.com>
16000
16001 * gdb.base/fileio.c: New file, testing File-I/O.
16002 * gdb.base/fileio.exp: Ditto.
16003
53df362e
RG
160042003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16005
16006 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16007 shared objects after relocation at load time (gdb PR/1132).
16008 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16009 as above, part of the shared object relocation test.
53df362e 16010
ffee1b46
MK
160112003-06-08 Mark Kettenis <kettenis@gnu.org>
16012
b5ca3722
MK
16013 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16014 fully filled history list.
16015 * gdb.base/gdb_history: New file.
16016
03ed860d
MK
16017 * gdb.base/signals.exp: XFAIL "continue to func1" on
16018 i*86-*-freebsd*.
16019
ffee1b46
MK
16020 * gdb.base/attach.exp: When trying to attach to a nonexistent
16021 process, make it possible to specify the PID based on the target,
16022 and do so for *-*-freebsd*.
16023
d80dbb52
RH
160242003-06-02 Richard Henderson <rth@redhat.com>
16025
16026 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16027
6dd77b81
RH
160282003-06-02 Richard Henderson <rth@redhat.com>
16029
16030 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16031
f6347e16
RH
160322003-06-02 Richard Henderson <rth@redhat.com>
16033
16034 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16035
2c161407
DJ
160362003-06-01 Daniel Jacobowitz <drow@mvista.com>
16037
16038 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16039 of globalvar.
16040
572eb746
MK
160412003-06-01 Mark Kettenis <kettenis@gnu.org>
16042
16043 * gdb.asm/asm-source.exp: Check for memory read errors in
16044 disassembler test on *BSD too.
16045
9e9617a5
RH
160462003-06-01 Richard Henderson <rth@redhat.com>
16047
16048 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16049 for .frame.
16050 (gdbasm_call): Lose ldgp.
16051 (gdbasm_startup): Add frame information.
16052 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16053
7b34ad4e
MK
160542003-05-31 Mark Kettenis <kettenis@gnu.org>
16055
16056 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16057 i?86-*-*.
16058
10059fdf
MK
160592003-05-30 Mark Kettenis <kettenis@gnu.org>
16060
16061 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16062 FreeBSD.
16063
acf4b816
RH
160642003-05-29 Richard Henderson <rth@redhat.com>
16065
16066 * gdb.asm/alpha.inc: New file.
16067 * gdb.asm/asm-source.exp: Use it.
16068
e9ecd949
JB
160692003-05-29 Jim Blandy <jimb@redhat.com>
16070
16071 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16072 'core.PID'.
16073
e3e5a4f3
JB
160742003-05-22 Jim Blandy <jimb@redhat.com>
16075
16076 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16077 backtrace.
d63a86f8 16078
72fe3d25
DC
160792003-05-20 David Carlton <carlton@math.stanford.edu>
16080
16081 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16082 this time.
16083
58da2eb2
DC
160842003-05-19 David Carlton <carlton@bactrian.org>
16085
16086 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16087 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16088
1fcb5155
DC
160892003-05-19 David Carlton <carlton@bactrian.org>
16090
16091 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16092 namespace tests.
16093 Bump copyright date.
16094 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16095 (main): Call C::D::marker2.
16096 * gdb.c++/namespace1.cc: New file.
16097
85e85163
JJ
160982003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16099
16100 Roland McGrath <roland@redhat.com>
d63a86f8 16101 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16102 there is no manager thread.
16103
a25fbfec
JJ
161042003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16105
d63a86f8
RM
16106 * gdb.threads/schedlock.exp: Remove assumption that all threads
16107 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16108 in one of the child threads rather than the main thread.
16109
be375bae
JB
161102003-05-07 Jim Blandy <jimb@redhat.com>
16111
09bf6082
JB
16112 Add support for assembly source testing on the s390x.
16113 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16114 architecture.
16115 * gdb.asm/s390x.inc: New file.
16116
be375bae
JB
16117 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16118 succession of 'if' statements.
16119
00905d52
AC
161202003-05-05 Andrew Cagney <cagney@redhat.com>
16121
16122 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16123
b1e29e33
AC
161242003-05-05 Andrew Cagney <cagney@redhat.com>
16125
16126 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16127 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16128
e33d66ec
EZ
161292003-05-02 Elena Zannoni <ezannoni@redhat.com>
16130
16131 * gdb.base/charset.exp: Update based on new behavior of set/show
16132 charset commands.
16133
2b6fd0d8
AC
161342003-05-01 Andrew Cagney <cagney@redhat.com>
16135
16136 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16137 variable do not give memory errors.
16138
130cacce
AF
161392003-04-30 Adam Fedor <fedor@gnu.org>
16140
16141 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16142 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16143 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16144 gdb.objc/basicclass.m: : New files
16145
16146 * lib/gdb.exp (gdb_compile_objc): New procedure.
16147
bea71854
DJ
161482003-04-27 Daniel Jacobowitz <drow@mvista.com>
16149
16150 * gdb.base/signals.exp: Make backtrace tests more specific.
16151
0f20eeea
DC
161522003-04-23 David Carlton <carlton@bactrian.org>
16153
16154 * gdb.c++/maint.exp (test_first_component): Add tests for
16155 'operator' in more locations.
16156
c8c4d8dc
KB
161572003-04-16 Kevin Buettner <kevinb@redhat.com>
16158
16159 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16160
3fe60e3c
EZ
161612003-04-16 Elena Zannoni <ezannoni@redhat.com>
16162
16163 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16164 func marke' instead. Update test name.
3fe60e3c 16165
9219021c
DC
161662003-04-15 David Carlton <carlton@math.stanford.edu>
16167
16168 * gdb.c++/maint.exp: New file.
16169
5dd55bdd
EZ
161702003-04-14 Elena Zannoni <ezannoni@redhat.com>
16171
16172 * gdb.threads/schedlock.c: Change type of thread function argument
16173 to long, to avoid warnings on 64-bit platforms.
16174
00890572
EZ
161752003-04-14 Elena Zannoni <ezannoni@redhat.com>
16176
a9c64011
AS
16177 * gdb.base/attach.exp: Add new message from ptrace in case of
16178 attaching to nonexistent process.
d63a86f8 16179
93201743
JB
161802003-04-11 Jim Blandy <jimb@redhat.com>
16181
16182 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16183 gdb.c++/userdef.cc: Place comments on the lines to which the
16184 marker function might return.
16185 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16186 gdb.c++/userdef.exp: Look for those comments to check that we've
16187 returned to the right place, instead of checking line numbers.
16188
2a11c64d
EZ
161892003-04-11 Elena Zannoni <ezannoni@redhat.com>
16190
a9c64011
AS
16191 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16192 match on sourcefile name, instead of directory name.
2a11c64d 16193
68ab8fc5
EZ
161942003-04-10 Elena Zannoni <ezannoni@redhat.com>
16195
d63a86f8 16196 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16197 working directory name.
16198
5624293a
JB
161992003-04-09 Jim Blandy <jimb@redhat.com>
16200
16201 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16202 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16203 after an inferior function call, report the failure, but allow the
16204 test to continue.
16205
f1f02ee4
SC
162062003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16207
16208 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16209 with -DPROTOTYPES.
16210
6eb79af0
SC
162112003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16212
16213 * gdb.base/break.exp: Revert last patch.
16214
8dfb4cf0
SC
162152003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16216
16217 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16218 with -DPROTOTYPES.
16219
ed4c619a
AC
162202003-04-02 Andrew Cagney <cagney@redhat.com>
16221
16222 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16223 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16224 matching directories by the name breakpoint.
16225 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16226 Make "continue to marker1" consistent.
16227 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16228 message consistent.
16229 * lib/gdb.exp: Put "the program is no longer running", and "the
16230 program exited" in parenthesis.
16231 * lib/mi-support.exp: Ditto.
d63a86f8 16232
4e35d5f0 162332003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 16234
4e35d5f0
BR
16235 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16236
71900fe8
AC
162372003-03-29 Andrew Cagney <cagney@redhat.com>
16238
16239 * gdb.base/sizeof.c (main): Print the value of '\377'.
16240 * gdb.base/sizeof.exp: Check the sign of '\377'.
16241
c0655a16
MC
162422003-03-27 Michael Chastain <mec@shout.net>
16243
16244 * gdb.base/gdb1090.exp: New file.
16245 * gdb.base/gdb1090.cc: New file.
16246
5b2a3989
JB
162472003-03-27 J. Brobecker <brobecker@gnat.com>
16248
16249 * gdb.gdb/observer.exp: New regression test.
16250
79876890
MC
162512003-03-27 Michael Chastain <mec@shout.net>
16252
16253 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16254 * gdb.base/ptype.exp: Likewise.
16255
6eac95e3
CV
162562003-03-27 Corinna Vinschen <vinschen@redhat.com>
16257
16258 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16259
e8c71839
MC
162602003-03-26 Michael Chastain <mec@shout.net>
16261
16262 * gdb.base/ptype.exp: Actually use some typedef'd types.
16263
71b10041
SC
162642003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16265
16266 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16267 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16268
2512cf80
CV
162692003-03-20 Corinna Vinschen <vinschen@redhat.com>
16270
16271 * gdb.base/default.exp: Fix regular expression.
16272
0d195a4f
CV
162732003-03-20 Corinna Vinschen <vinschen@redhat.com>
16274
16275 * gdb.base/args.exp: Fix regular expression.
16276
8a2dbca8
CV
162772003-03-20 Corinna Vinschen <vinschen@redhat.com>
16278
16279 * gdb.base/help.exp: Allow Win32 child process.
16280
bf028682
CV
162812003-03-20 Corinna Vinschen <vinschen@redhat.com>
16282
16283 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16284 when stepping out of main().
16285
182dbe85
CV
162862003-03-20 Corinna Vinschen <vinschen@redhat.com>
16287
16288 * gdb.base/default.exp: Check for win32 specific message when calling
16289 "run" without executable.
16290
d67a6ba5
CV
162912003-03-20 Corinna Vinschen <vinschen@redhat.com>
16292
16293 * gdb.base/args.exp: Expect .exe in output.
16294
a955b5bb
CV
162952003-03-20 Corinna Vinschen <vinschen@redhat.com>
16296
16297 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16298 Cygwin native.
16299
bf6bad4b
AC
163002003-03-17 Andrew Cagney <cagney@redhat.com>
16301
16302 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16303 vector registes.
16304 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16305 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16306
293e9a31
DC
163072003-03-17 David Carlton <carlton@math.stanford.edu>
16308
16309 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16310 test, for PR breakpoints/38.
16311 Call test_watchpoint_and_breakpoint.
16312 * gdb.base/watchpoint.c (func3): New function.
16313 (main): Call func3.
16314
5330f2db
DC
163152003-03-04 David Carlton <carlton@math.stanford.edu>
16316
16317 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16318 Garply<Garply<char> >:: garply".
16319 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16320 with respect to PR c++/1111; note also PR c++/1113.
16321 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16322 respect to PR c++/1062.
16323 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16324
6ece72da
DC
163252003-03-03 David Carlton <carlton@math.stanford.edu>
16326
16327 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16328 with respect to PR c++/57.
16329 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16330 c++/826.
16331 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16332 respect to PR c++/57.
16333
85ca1584
DC
163342003-03-03 David Carlton <carlton@math.stanford.edu>
16335
16336 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16337 respect to PR c++/33 into FAILs.
16338
98e9c5b8
MC
163392003-03-03 Michael Chastain <mec@shout.net>
16340
7bedbf27
MC
16341 * configure.in: Update copyright years.
16342
163432003-03-03 Michael Chastain <mec@shout.net>
16344
16345 * Makefile.in: Update copyright years.
98e9c5b8 16346
f683e100
DC
163472003-02-28 David Carlton <carlton@math.stanford.edu>
16348
16349 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16350 print class instead of struct and/or superfluous protection
16351 specifiers, as long as the resulting output is equivalent to the
16352 source code.
16353 Delete FIXME from end of messages on tests that don't need
16354 fixing.
16355
a9e0cf2c
DC
163562003-02-28 David Carlton <carlton@math.stanford.edu>
16357
16358 * gdb.c++/templates.exp (do_tests): Allow const in the two
16359 Foo<volatile char *>::foo tests.
16360
e8d359df
MS
163612003-02-27 Michael Snyder <msnyder@redhat.com>
16362
d63a86f8 16363 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
16364 will be consistant.
16365
0b71dc91
DC
163662003-02-26 David Carlton <carlton@math.stanford.edu>
16367
16368 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16369 char *>::foo" test with respect to PR c++/33. Create a new test
16370 which is identical to that one except that it doesn't put the
16371 space between the "char" and the "*"; KFAIL it, too.
16372
dd14ab43
DC
163732003-02-26 David Carlton <carlton@math.stanford.edu>
16374
16375 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16376 template types into either PASSes or KFAILs (corresponding to PR
16377 c++/57). Tweak indentation. Update copyright.
16378
1146c7f1
SC
163792003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16380
16381 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16382
74641dfb
MC
163832003-02-13 Michael Chastain <mec@shout.net>
16384
16385 * gdb.base/exprs.exp: Remove i960 remnants.
16386 * gdb.base/funcargs.exp: Likewise.
16387 * gdb.base/list.exp: Likewise.
16388 * gdb.base/ptype.exp: Likewise.
16389
559cd2d0
DC
163902003-02-14 David Carlton <carlton@math.stanford.edu>
16391
16392 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16393 pEe->D::vg()" from XFAIL to KFAIL.
16394
c4f90d87
JM
163952003-02-13 Jason Molenda (jmolenda@apple.com)
16396
16397 * gdb.base/maint.exp: Update maint print statistics regexp to include
16398 new entries.
16399
cbc4d97c
MC
164002003-02-13 Michael Chastain <mec@shout.net>
16401
16402 * gdb.c++/inherit.exp: Remove call to get_debug_format.
16403
40f235b7
MC
164042003-02-12 Michael Chastain <mec@shout.net>
16405
16406 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16407 * gdb.c++/inherit.exp: Likewise.
16408 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16409 * gdb.c++/templates.exp: Likewise.
16410 * gdb.c++/virtfunc.exp: Likewise.
16411
c56716b0
JM
164122003-02-06 Jason Molenda (jason-cl@molenda.com)
16413
16414 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16415 why the code is written that way.
16416
070afcf8
MC
164172003-02-05 Michael Chastain <mec@shout.net>
16418
16419 * gdb.base/dump.exp: Add missing copyright line.
16420
5d0331e5
JM
164212003-02-05 Jason Molenda (jason-cl@molenda.com)
16422
f7ae6d3e 16423 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
16424 at the beginning so the breakpoint doesn't get set on the loop.
16425
92851186
MC
164262003-02-05 Michael Chastain <mec@shout.net>
16427
16428 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16429 output for configurations with gcc 2.95.3.
16430
cbf1e085
AC
164312003-02-05 Keith Seitz <keiths@redhat.com>
16432 Andrew Cagney <ac131313@redhat.com>
16433
16434 * gdb.mi/mi-cli.exp: New file.
d63a86f8 16435
29518e1e
MC
164362003-02-04 Michael Chastain <mec@shout.net>
16437
16438 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16439 Call perror and then continue.
16440
5af1d5f3
MC
164412003-02-03 Michael Chastain <mec@shout.net>
16442
16443 * gdb.c++/pr-1023.cc: New file.
16444 * gdb.c++/pr-1023.exp: New file.
16445
6b549786
JB
164462003-02-05 Jim Blandy <jimb@redhat.com>
16447
16448 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16449 it's local to foobar. Check for it there, and check that it's not
16450 present in main.
16451 * gdb.c++/local.cc (marker2): New function.
16452 (foobar): Call marker1.
16453 (main): Call marker2 instead of marker1.
16454
67f16606
AC
164552003-02-04 Andrew Cagney <ac131313@redhat.com>
16456
16457 * gdb.disasm/mn10200.exp: Obsolete file.
16458 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16459 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16460 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16461
1c5cb38e
DC
164622003-02-04 David Carlton <carlton@math.stanford.edu>
16463
16464 * gdb.c++/overload.exp: Test intToChar(1).
16465 * gdb.c++/overload.cc (intToChar): New.
16466 (main): Call intToChar.
16467
d1fe6965
DC
164682003-02-03 David Carlton <carlton@math.stanford.edu>
16469
16470 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16471 'might_kfail' arg.
16472 KFAIL some of the continue_to_bp_overloaded calls, according to
16473 PR c++/1025.
16474
9ba61c5d
MC
164752003-02-01 Michael Chastain <mec@shout.net>
16476
16477 * gdb.base/advance.c (marker1): New marker function.
16478 * gdb.base/advance.exp: When the 'advance' command lands on the
16479 return breakpoint, it can legitimately stop on either the
16480 current line or the next line. Accommodate both outcomes.
16481 * gdb.base/until.exp: Likewise.
16482
e7494ffb
AC
164832003-02-02 Andrew Cagney <ac131313@redhat.com>
16484
16485 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16486 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16487 now a list, not a tuple.
16488 * gdb.mi/mi-var-display.exp: Ditto.
16489 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 16490
075559bc
AC
164912003-02-01 Andrew Cagney <ac131313@redhat.com>
16492
16493 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
16494 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16495 stack backtraces.
16496 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 16497
2bd4c7b1
MK
164982003-02-01 Mark Kettenis <kettenis@gnu.org>
16499
16500 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16501 gdb.mi/mi1-pthreads.exp: Return instead of calling
16502 gdb_suppress_entire_file.
16503
eabd8992
MS
165042003-02-01 Mark Salter <msalter@redhat.com>
16505
16506 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16507
71469e2f
MS
165082003-01-31 Mark Salter <msalter@redhat.com>
16509
16510 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16511 Support empty arg.
16512
38a94d44
MC
165132003-01-30 Michael Chastain <mec@shout.net>
16514
16515 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16516 This was a workaround for a UTF-8 bug in readline 4.3. The bug
16517 has been fixed in gdb/readline on 2003-01-09.
16518
19ea9e73
MS
165192003-01-29 Michael Snyder <msnyder@redhat.com>
16520
e8d359df
MS
16521 * gdb.base/maint.exp: Allow for leading underscore in symbol.
16522 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
16523 * gdb.base/args.exp: Skip if target does not support args passing.
16524
2307bd6a
DJ
165252003-01-22 Daniel Jacobowitz <drow@mvista.com>
16526
19ea9e73 16527 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
16528 gdb_test. Accept a list of expect arguments as the third
16529 parameter.
16530 (gdb_test): Use it.
16531
f2dd3617
EZ
165322003-01-20 Elena Zannoni <ezannoni@redhat.com>
16533
16534 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16535 allow for different test tree configurations. Update some
16536 tescases accordingly.
16537 * gdb.arch/altivec-regs.exp: Ditto.
16538 * gdb.asm/asm-source.exp: Ditto.
16539 * gdb.base/advance.exp: Ditto.
16540 * gdb.base/display.exp: Ditto.
d63a86f8 16541 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
16542 * gdb.base/mips_pro.exp: Ditto.
16543 * gdb.base/overlays.exp: Ditto.
16544 * gdb.base/relocate.exp: Ditto.
16545 * gdb.base/setshow.exp: Ditto.
16546 * gdb.base/step-line.exp: Ditto.
16547 * gdb.base/step-test.exp: Ditto.
16548 * gdb.base/until.exp: Ditto.
16549 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16550
c71cdefd
DC
165512003-01-17 David Carlton <carlton@math.stanford.edu>
16552
16553 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16554 corresponding to PR c++/945.
16555 Update copyright.
16556
fdba05d7
DC
165572003-01-17 David Carlton <carlton@math.stanford.edu>
16558
16559 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16560 corresponding to PR c++/68.
16561
165622003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
16563
16564 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16565 (test_paddr_hairy_functions): Call print_addr_2_kfail for
16566 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
16567
c362c33a
EZ
165682003-01-15 Elena Zannoni <ezannoni@redhat.com>
16569
0fbc361c
EZ
16570 * gdb.base/break.exp: Fix change of default location, because of
16571 removal of until tests.
16572 * gdb.base/help.exp: Update test for new 'until' help message.
16573 Add test for help on 'advance'.
a9c64011 16574 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 16575
dabf8a35
MK
165762003-01-15 Mark Kettenis <kettenis@gnu.org>
16577
16578 * gdb.base/default.exp: Adapt "info float" test for recent changes
16579 to that command. Add test for "info vector".
16580 * gdb.base/float.exp: New file. Add test for "info float" that
16581 resembles the old test in gdb.base/default.exp.
16582
a1769aca
DC
165832003-01-15 David Carlton <carlton@math.stanford.edu>
16584
16585 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16586
82025e13
EZ
165872003-01-15 Elena Zannoni <ezannoni@redhat.com>
16588
16589 * gdb.base/break.exp: Move the tests of until command from here...
16590 * gdb.base/until.exp: ... to here. New file. Add other tests.
16591 * gdb.base/advance.c: New file.
16592 * gdb.base/advance.exp: New file.
16593
8f9ab801
EZ
165942003-01-14 Elena Zannoni <ezannoni@redhat.com>
16595
a9c64011
AS
16596 * gdb.base/args.c: New file.
16597 * gdb.base/args.exp: New file.
8f9ab801 16598
9ae66589
DJ
165992003-01-14 Daniel Jacobowitz <drow@mvista.com>
16600
16601 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16602
8d77e5c3
DJ
166032003-01-14 Daniel Jacobowitz <drow@mvista.com>
16604
16605 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16606
12d2f0a1
DJ
166072003-01-14 Daniel Jacobowitz <drow@mvista.com>
16608
16609 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
16610 dates.
16611
6ca37014
DJ
166122003-01-13 Daniel Jacobowitz <drow@mvista.com>
16613
16614 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16615
b0023472
DJ
166162003-01-13 Daniel Jacobowitz <drow@mvista.com>
16617
16618 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16619 (ptype &*"foo").
16620 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16621
607fbc54 166222003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
16623
16624 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16625 * gdb.mi/mi1-console.exp: Likewise.
16626
607fbc54 166272003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
16628
16629 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16630 * gdb.mi/mi1-console.exp: Likewise.
16631
a1fb14a2
DJ
166322003-01-13 Daniel Jacobowitz <drow@mvista.com>
16633
16634 * gdb.c++/overload.exp: Remove some fixed XFAILs.
16635
c4cf40b7
DJ
166362003-01-09 Daniel Jacobowitz <drow@mvista.com>
16637
16638 * gdb.base/detach.exp: New test.
16639
696d5a5b
DJ
166402003-01-09 Daniel Jacobowitz <drow@mvista.com>
16641
16642 * Makefile.in (ALL_SUBDIRS): New variable.
16643 (subdirs, clean, distclean): Use it.
16644 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
16645 regenerating Makefile, since it is generated from the top level.
16646 * gdb.asm/Makefile.in: Likewise.
16647 * gdb.base/Makefile.in: Likewise.
16648 * gdb.c++/Makefile.in: Likewise.
16649 * gdb.disasm/Makefile.in: Likewise.
16650 * gdb.java/Makefile.in: Likewise.
16651 * gdb.mi/Makefile.in: Likewise.
16652 * gdb.threads/Makefile.in: Likewise.
16653 * gdb.trace/Makefile.in: Likewise.
16654
754533e4
DC
166552003-01-09 David Carlton <carlton@math.stanford.edu>
16656
16657 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16658 Add copyright year 2003.
16659
d8b3e9ee
MC
166602003-01-06 Michael Chastain <mec@shout.net>
16661
16662 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16663 When selecting a thread, 'line' and 'file' are optional.
16664 * gdb.mi/mi1-pthreads.exp: Likewise.
16665
8e9e0fe6
AS
166662003-01-06 Andreas Schwab <schwab@suse.de>
16667
16668 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16669 failures.
16670
b5ab8ff3
DJ
166712003-01-04 Daniel Jacobowitz <drow@mvista.com>
16672
16673 Fix PR gdb/844
16674 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16675 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16676
16677 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
16678 instead of calling gdb_suppress_entire_file.
16679 * gdb.threads/print-threads.exp: Likewise.
16680 * gdb.threads/schedlock.exp: Likewise.
16681
16682 * gdb.threads/killed.exp: Return instead of calling
16683 gdb_suppress_entire_file.
16684 * gdb.threads/linux-dp.exp: Likewise.
16685 * gdb.threads/pthreads.exp: Likewise.
16686
1e698235
DJ
166872003-01-04 Daniel Jacobowitz <drow@mvista.com>
16688
16689 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16690 stabs.
16691 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16692 * gdb.base/whatis.exp: Always allow (void) after function names.
16693
147ff08c
DJ
166942003-01-04 Daniel Jacobowitz <drow@mvista.com>
16695
16696 * gdb.c++/casts.exp: Correct regexp.
16697
dc62bfc2
MK
166982003-01-04 Mark Kettenis <kettenis@gnu.org>
16699
16700 * configure.in: Call AC_CONFIG_HEADER. Don't call
16701 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16702 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
16703 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
16704 aforementioned directories in the AC_OUPUT call.
16705 * config.hin: New file.
16706 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16707 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16708 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16709 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16710 pass -I$objdir instead of -I$objdir/$subdir in compilation.
16711 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16712 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16713 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16714 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16715 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16716 gdb.threads/configure.in, gdb.threads/configure,
16717 gdb.threads/config.in, gdb.trace/configure.in,
16718 gdb.trace/configure: Removed.
16719
77afa639
MC
167202003-01-03 Michael Chastain <mec@shout.net>
16721
16722 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16723 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16724
7634bb6e
DJ
167252003-01-03 Daniel Jacobowitz <drow@mvista.com>
16726
16727 * gdb.base/store.exp: Fix regular expressions.
16728
b39c905e
MK
167292002-12-28 Mark Kettenis <kettenis@gnu.org>
16730
16731 * configure.in: Rewrite.
16732 * configure: Regenerated.
16733
0a8551dd
DC
167342003-01-03 David Carlton <carlton@math.stanford.edu>
16735
16736 * gdb.base/psymtab.exp: New file.
16737 * gdb.base/psymtab1.c: Ditto.
16738 * gdb.base/psymtab2.c: Ditto.
16739
c60b7188
AF
167402002-12-23 Adam Fedor <fedor@gnu.org>
16741
16742 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16743
ee73db83
DC
167442002-12-23 David Carlton <carlton@math.stanford.edu>
16745
16746 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16747 and current_directory initialization.
16748
d6c1774e
JB
167492002-12-22 Jim Blandy <jimb@redhat.com>
16750
f0a847b8
JB
16751 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16752 rather than as part of the output file name.
16753
d6c1774e
JB
16754 * gdb.base/attach.exp: There's no need to copy the test program to
16755 /tmp; that was only ever necessary on HP/UX, and this test is
16756 entirely disabled there anyway.
16757
f0708dbb
JB
167582002-12-21 Jim Blandy <jimb@redhat.com>
16759
4c2acfea
JB
16760 * gdb.c++/psmang.exp: Doc fix.
16761
f0708dbb
JB
16762 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16763 test.
16764
9579e000
DC
167652002-12-20 David Carlton <carlton@math.stanford.edu>
16766
16767 * gdb.c++/annota2.exp: KFAIL annotate-quit.
16768
d1810171
MC
167692002-12-18 Michael Chastain <mec@shout.net>
16770
16771 * gdb.c++/annota2.exp: Add copyright year 2002.
16772
76565097
DC
167732002-12-17 David Carlton <carlton@math.stanford.edu>
16774
16775 * gdb.c++/try_catch.cc: Add marker comments.
16776 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16777 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16778 * gdb.c++/m-static.cc: Ditto.
16779 * gdb.c++/m-static1.cc: Ditto.
16780 * gdb.c++/try_catch.cc: Ditto.
16781
da81390b
JJ
167822002-12-16 Jeff Johnston <jjohnstn@redhat.com>
16783
16784 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16785 to see whether we are using the new -environment-directory
16786 command which resets via -r or the old version of the command
16787 which may prompt the user. Part of fix for gdb/741.
16788
b304d130
AC
167892002-12-13 Andrew Cagney <ac131313@redhat.com>
16790
16791 * gdb.fortran/types.exp: Update obsolete comment.
16792 * gdb.fortran/exprs.exp: Ditto.
16793 * lib/gdb.exp: Delete obsolete code.
16794 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16795 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16796 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16797 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16798 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16799 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16800 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16801 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16802 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16803 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16804 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16805 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16806 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16807 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16808 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16809 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16810 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16811 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16812 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16813 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16814 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16815 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16816 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16817 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16818 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16819 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16820 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16821 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16822 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16823 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16824 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16825 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16826 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16827 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16828 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16829 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16830 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16831
a23b6e6a
DC
168322002-12-11 David Carlton <carlton@math.stanford.edu>
16833
16834 * gdb.c++/m-data.exp: Add test for members that shadow global
16835 variables: see PR gdb/804.
16836 * gdb.c++/m-data.cc: Ditto.
16837
6604731b
DJ
168382002-12-10 Daniel Jacobowitz <drow@mvista.com>
16839
16840 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16841
de46ecd7
DC
168422002-12-06 David Carlton <carlton@math.stanford.edu>
16843
16844 * gdb.base/store.c: Don't declare functions static.
16845
27e829d0
AC
168462002-12-04 Andrew Cagney <ac131313@redhat.com>
16847
16848 * gdb.base/store.exp, gdb.base/store.c: New files.
16849
92806416
DJ
168502002-12-03 Daniel Jacobowitz <drow@mvista.com>
16851
16852 * gdb.base/selftest.exp: Update for current gdb.
16853
3bcbaac5
DJ
168542002-12-03 Daniel Jacobowitz <drow@mvista.com>
16855
16856 * gdb.base/maint.exp: Only dump symbols from one source file
16857 or objfile.
16858
f4f00b1f
DJ
168592002-12-03 Daniel Jacobowitz <drow@mvista.com>
16860
16861 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16862 function call.
16863
f1c8a949
JB
168642002-11-25 Jim Blandy <jimb@redhat.com>
16865
16866 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16867 function appearing in error message.
16868
9e297a97
DJ
168692002-11-21 Daniel Jacobowitz <drow@mvista.com>
16870
16871 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16872
1f312e79
JJ
168732002-11-08 Jeff Johnston <jjohnstn@redhat.com>
16874
d63a86f8
RM
16875 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16876 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
16877 should be in mi console format. This is part of fix for PR gdb/604.
16878
83c31e7d
FN
168792002-09-18 Fernando Nasser <fnasser@redhat.com>
16880
16881 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16882 which explicitly prints the zero offset as "+0".
16883
322b3f65
DJ
168842002-10-22 Daniel Jacobowitz <drow@mvista.com>
16885
16886 * gdb.threads/schedlock.c (args): Make unsigned.
16887
168882002-10-21 Daniel Jacobowitz <drow@mvista.com>
16889
16890 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
16891 numbers. Allow "foo2|selected stack frame".
16892 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16893 * gdb.asm/asmsrc2.s: Likewise.
16894 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
16895 comments.
16896 * gdb.asm/mips.inc: New file.
16897
5e2fe5b8
AF
168982002-10-18 Adam Fedor <fedor@gnu.org>
16899
16900 * gdb.base/default.exp: Update expected output to include 'ObjC'.
16901 * gdb.base/help.exp: Likewise.
16902
abe1a5d0
KB
169032002-10-17 Kevin Buettner <kevinb@redhat.com>
16904
16905 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16906 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16907
10abb1d4
JB
169082002-10-02 Jim Blandy <jimb@redhat.com>
16909
16910 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16911
1f609b42
AC
169122002-10-01 Andrew Cagney <ac131313@redhat.com>
16913
16914 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16915 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16916 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16917 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16918 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16919 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16920 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16921
0aee02e4
AC
169222002-09-29 Andrew Cagney <ac131313@redhat.com>
16923
16924 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16925 * mi0-disassemble.exp, mi0-eval.exp: Delete.
16926 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16927 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16928 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16929 * mi0-var-block.exp, mi0-var-child.exp: Delete.
16930 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 16931
6fde09ad
KB
169322002-09-27 Kevin Buettner <kevinb@redhat.com>
16933
16934 * gdb.base/annota1.exp (info break): Make directory components of
16935 path optional since not all compilers emit this debug information.
16936
889bf7c5
PA
16937 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
16938 step ends up stepping out of the function instead of stopping on
16939 the epilogue.
6fde09ad 16940
9e8aab75
KS
169412002-09-26 Keith Seitz <keiths@redhat.com>
16942
16943 * lib/insight-support.exp (gdbtk_start): Figure out where
16944 the insight executable is based on where gdb is. Use this
16945 executable to start insight instead of gdb.
16946
e36180d7
AC
169472002-09-25 Andrew Cagney <cagney@redhat.com>
16948
16949 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
16950
9dd34b2b
AC
169512002-09-24 Andrew Cagney <ac131313@redhat.com>
16952
16953 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
16954 test_isolated_complaints.
16955 (test_empty_complaint): New function.
16956 (test_empty_complaints): New function. Check no output when no
16957 complaints.
d63a86f8 16958
dea97812
KB
169592002-09-19 Jim Blandy <jimb@redhat.com>
16960
a9c64011 16961 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 16962
54951bd7
AC
169632002-09-19 Andrew Cagney <ac131313@redhat.com>
16964
16965 * gdb.gdb/complaints.exp: New file.
16966
dec43320
AC
169672002-09-18 Andrew Cagney <ac131313@redhat.com>
16968
16969 * gdb.base/maint.exp: Check `help maint internal-warning'.
16970
e70d6e3f
DC
169712002-09-18 David Carlton <carlton@math.stanford.edu>
16972
16973 * gdb.c++/m-static.exp: Remove breakpoints depending on line
16974 numbers, and replace them by a single breakpoint after the
16975 constructors are all finished.
16976 Add test 4.
16977 * gdb.c++/m-static.cc: Add test 4.
16978 * gdb.c++/m-static.h: New file.
16979 * gdb.c++/m-static1.cc: New file.
16980
16981 * gdb.c++/printmethod.exp: New file.
16982 * gdb.c++/printmethod.cc: New file.
16983
16984 * gdb.c++/pr-574.exp: New file.
16985 * gdb.c++/pr-574.cc: New file.
16986
afb5c968
CV
169872002-09-18 Corinna Vinschen <vinschen@redhat.com>
16988
16989 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
16990 embedded targets which never actually exit.
16991
31e45dee
FN
169922002-09-18 Fernando Nasser <fnasser@redhat.com>
16993
16994 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
16995 "don't step after run" as unresolved or unsupported, instead of xfail.
16996
a283c5a1
CV
169972002-09-18 Corinna Vinschen <vinschen@redhat.com>
16998
16999 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17000 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17001 Add newline to expected string in "step out of main (status wrapper)"
17002 case.
17003
11350d2a
CV
170042002-09-18 Corinna Vinschen <vinschen@redhat.com>
17005
17006 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17007 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17008
0deec7d6
TT
170092002-09-17 Tom Tromey <tromey@redhat.com>
17010
17011 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17012 \000, not \0, in double-quoted string.
17013
b2b4a1b5
CV
170142002-09-14 Corinna Vinschen <vinschen@redhat.com>
17015
c9d37158 17016 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17017 string after running the commands execution on breakpoint tests.
17018
1c56143a
CV
170192002-09-13 Corinna Vinschen <vinschen@redhat.com>
17020
17021 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17022
37f8da45
JB
170232002-09-12 Joel Brobecker <brobecker@gnat.com>
17024
17025 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17026
08b468e0
KS
170272002-09-10 Keith Seitz <keiths@redhat.com>
17028
17029 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17030 runto proc.
17031 (mi_run_to_main): Use mi_runto.
17032 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17033
dc360f58
KS
170342002-09-10 Keith Seitz <keiths@redhat.com>
17035
17036 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17037 regexp for stopping at main. Could have multiple event notifications.
17038 Don't assume that main was declared with no parameters.
17039 (mi_next): Use mi_step_to.
17040 (mi_step): Use mi_next_to.
17041
ce3abcfb
CV
170422002-09-09 Corinna Vinschen <vinschen@redhat.com>
17043
17044 * gdb.base/default.exp: Fix expected string in `info float' test.
17045
d1f5b980
BE
170462002-09-09 Ben Elliston <bje@redhat.com>
17047
17048 * config/mips.exp: Update comments.
17049 * config/mips-idt.exp: Likewise.
17050 * config/nind.exp: Likewise.
17051 * config/slite.exp: Likewise.
17052 * config/sparclet.exp: Likewise.
17053 * config/udi.exp: Likewise.
17054 * config/vx.exp: Likewise.
17055 * config/vxworks29k.exp: Likewise.
17056
2f71430b
JB
170572002-09-05 Jim Blandy <jimb@redhat.com>
17058
17059 * gdb.threads/killed.exp: Fix test failure message.
17060
7ddebc7e
KS
170612002-09-04 Keith Seitz <keiths@redhat.com>
17062
17063 * lib/mi-support.exp: Update copyright.
17064 (mi_gdb_test): Increase the priority of the expected pattern
17065 so that it matches gdb_test.
17066
0ae67eb3
KS
170672002-09-03 Keith Seitz <keiths@redhat.com>
17068
17069 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17070 Use integer comparison instead of string comparison for testing
17071 whether binary was built.
17072
38fc42c8
JB
170732002-09-03 Jim Blandy <jimb@redhat.com>
17074
17075 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17076
b6ff0e81
JB
170772002-08-29 Jim Blandy <jimb@redhat.com>
17078
17079 * gdb.threads/pthreads.exp: Move the portable thread compilation
17080 code into a function in lib/gdb.exp, and call that from here.
17081 * lib/gdb.exp (gdb_compile_pthreads): New function.
17082
07c98896
KS
170832002-08-29 Keith Seitz <keiths@redhat.com>
17084
17085 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17086 expect_out so that callers can get at it.
17087
0312286c
DJ
170882002-08-23 Daniel Jacobowitz <drow@mvista.com>
17089
17090 * gdb.threads/print-threads.c: New file.
17091 * gdb.threads/print-threads.exp: New file.
17092 * gdb.threads/schedlock.c: New file.
17093 * gdb.threads/schedlock.exp: New file.
17094
dd039bc4
EZ
170952002-08-22 Elena Zannoni <ezannoni@redhat.com>
17096
a9c64011
AS
17097 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17098 not altivec.c.
dd039bc4 17099
1f36144c
MK
171002002-08-17 Mark Kettenis <kettenis@gnu.org>
17101
17102 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17103 targets. The problem should be fixed now.
17104
16057ec7 171052002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17106
17107 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17108 2002-07-24 change that removes final dots from error messages.
17109
3c1499ad
TT
171102002-08-13 Tom Tromey <tromey@redhat.com>
17111
17112 * gdb.base/readline.exp: New file.
17113
a20ce2c3
AC
171142002-08-01 Andrew Cagney <ac131313@redhat.com>
17115
17116 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17117 supress message.
17118
db034ac5
AC
171192002-08-01 Andrew Cagney <cagney@redhat.com>
17120
17121 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17122 CHILL_FOR_TARGET and CHILL_LIB.
17123 * configure.in (configdirs): Remove gdb.chill.
17124 * configure: Regenerate.
17125 * lib/gdb.exp: Obsolete references to chill.
17126 * gdb.fortran/types.exp: Ditto.
17127 * gdb.fortran/exprs.exp: Ditto.
17128
3e000b18
KB
171292002-07-30 Kevin Buettner <kevinb@redhat.com>
17130
17131 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17132 set Irix-specific compile and link flags.
17133
28f4966b
KB
171342002-07-29 Kevin Buettner <kevinb@redhat.com>
17135
17136 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17137 source files. The ``-o'' option doesn't work with the ``-E'' option
17138 when using the Irix compiler.
17139
46c0d5a6
DJ
171402002-07-19 Daniel Jacobowitz <drow@mvista.com>
17141
17142 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17143 Improve support for reusing an exec file. Copy exec file
17144 to target, and run gdbserver on the target instead of on the host.
17145
eecf4bed
JB
171462002-07-18 Jim Blandy <jimb@redhat.com>
17147
0f815cdf
JB
17148 * gdb.base/ending-run.exp: Don't expect to see the program end in
17149 some orderly fashion when we're running on a real stand-alone
17150 board.
17151
eecf4bed
JB
17152 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17153 targets that don't support interrupts.
17154
52d309e4
JB
171552002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17156
17157 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17158 systems.
17159 Move comments in expect statements to inside the actions, so that they
17160 don't get matched against.
17161
ff683d9e
MK
171622002-07-10 Mark Kettenis <kettenis@gnu.org>
17163
17164 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17165 function when asleep" test.
17166
b5356753
AC
171672002-07-10 Andrew Cagney <ac131313@redhat.com>
17168
17169 * gdb.base/page.exp: Rewrite to handle problems with very long
17170 `info set' output. Update copyright.
17171
6aa4d13a
AC
171722002-06-26 Andrew Cagney <ac131313@redhat.com>
17173
17174 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17175 gdb.threads-hp.
17176 * gdb.hp/configure: Regenerate.
17177 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17178 * gdb.hp/gdb.threads-hp/configure: Delete file.
17179 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17180
8cf8c2b8
AC
171812002-06-22 Andrew Cagney <ac131313@redhat.com>
17182
17183 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17184 setlocale, bindtextdomain and textdomain.
17185
6827a8f8
JB
171862002-06-11 Jim Blandy <jimb@redhat.com>
17187
919d772c
JB
17188 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17189 preprocessor macro information is present.
17190
6827a8f8
JB
17191 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17192 tests.
17193
c15b0d21
MS
171942002-06-06 Michael Snyder <msnyder@redhat.com>
17195
c5984d70
MS
17196 * gdb.base/overlays.exp: Record addresses of overlay
17197 functions in TCL variables rather than in GDB variables,
17198 to avoid having GDB convert them to pointers (with loss
17199 of information).
17200
d63a86f8 17201 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17202 default linker script changes.
c15b0d21
MS
17203 * gdb.base/long_long.exp: Add check for sizeof (long double).
17204
be26fe0d
ML
172052002-06-06 Michal Ludvig <mludvig@suse.cz>
17206
17207 * gdb.asm/asm-source.exp: Add x86-64 target.
17208 * gdb.asm/x86_64.inc: New.
d63a86f8 17209
258093ca 172102002-05-30 Michael Chastain <mec@shout.net>
258093ca 17211
4b3153f1 17212 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17213 * gdb.c++/m-static.cc: New file.
17214 * gdb.c++/m-static.exp: New file.
17215
241264c6
MS
172162002-05-28 Michael Snyder <msnyder@redhat.com>
17217
17218 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17219 precision.
17220
9bba8c8f 172212002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 17222
4b3153f1 17223 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
17224 * gdb.c++/m-data.cc: New file.
17225 * gdb.c++/m-data.exp: New file.
17226
172272002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 17228
4b3153f1 17229 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 17230 * gdb.c++/try_catch.cc: New file.
d63a86f8 17231 * gdb.c++/try_catch.exp: New file.
9bba8c8f 17232
def1b996
MC
172332002-05-27 Michael Chastain <mec@shout.net>
17234
17235 * gdb.c++/local.exp: Accept more nested types in output.
17236
522ba268
MC
172372002-05-26 Michael Chastain <mec@shout.net>
17238
17239 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17240
277254ba
MS
172412002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17242
17243 * lib/gdb.exp (gdb_wrapper_init): Just because
17244 gdb_wrapper_file exists, this does not mean that the file
17245 should not be rebuilt. That is what gdb_wrapper_initialized
17246 is for.
17247 (default_gdb_init): Reset gdb_wrapper_initialized.
17248
b61a8733
MS
172492002-05-23 Michael Snyder <msnyder@redhat.com>
17250
d63a86f8 17251 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
17252 the precision of the floating point test results.
17253 * gdb.base/call-rt-st.exp: Ditto.
17254
b61a8733
MS
17255 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17256 * gdb.base/call-rt-st.exp: Ditto.
17257
56f6e910
MC
172582002-05-19 Michael Chastain <mec@shout.net>
17259
17260 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17261
ad0b0016
EZ
172622002-05-19 Elena Zannoni <ezannoni@redhat.com>
17263
a9c64011
AS
17264 * configure.in (configdirs): Add gdb.arch.
17265 * configure: Regenerate.
ad0b0016 17266
f617d2b6
JB
172672002-05-17 Jim Blandy <jimb@redhat.com>
17268
17269 * gdb.base/completion.exp: Recognize the more detailed error
17270 messages produced by the macro expander's lexical analyzer.
17271
eac2a696
EZ
172722002-05-14 Elena Zannoni <ezannoni@redhat.com>
17273
a9c64011
AS
17274 * gdb.arch/altivec-abi.c: New file.
17275 * gdb.arch/altivec-abi.exp: New file.
17276 * gdb.arch/altivec-regs.c: New file.
17277 * gdb.arch/altivec-regs.exp: New file.
eac2a696 17278
2fdde8f8
DJ
172792002-05-14 Daniel Jacobowitz <drow@mvista.com>
17280
17281 * gdb.base/maint.exp (maint print type): Update for new type
17282 structure.
d63a86f8 17283
e31f1a7c
EZ
172842002-05-14 Elena Zannoni <ezannoni@redhat.com>
17285
17286 * gdb.arch: New directory.
17287 * gdb.arch/configure.in: New file.
17288 * gdb.arch/configure: New file.
17289 * gdb.arch/Makefile.in: New file.
17290
db589741
CV
172912002-05-13 Corinna Vinschen <vinschen@redhat.com>
17292
17293 * gdb.asm/asm-source.exp: Add v850 as supported target.
17294 * gdb.asm/v850.inc: New file.
17295
8ce2a7dc
DJ
172962002-05-13 Daniel Jacobowitz <drow@mvista.com>
17297
17298 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17299
df763c7f
DJ
173002002-05-12 Daniel Jacobowitz <drow@mvista.com>
17301
17302 * gdb.base/break.exp: Check 'break "marker2"'.
17303
377daeed
MS
173042002-05-10 Michael Snyder <msnyder@redhat.com>
17305
17306 * gdb.base/long_long.exp: Fix typo.
17307
c4b7bc2b
JB
173082002-05-10 Jim Blandy <jimb@redhat.com>
17309
ecac9a4e
JB
17310 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17311 a bug.
17312
c4b7bc2b
JB
17313 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17314 Recognize more detailed error message produced by the macro
17315 expander's lexical analyzer.
17316 * lib/gdb.exp (test_print_reject): Same.
17317
e71019a1
MK
173182002-05-09 Mark Kettenis <kettenis@gnu.org>
17319
17320 * gdb.c++/method.exp: Fix typo.
17321
fedfc8e6
MS
173222002-05-08 Michael Snyder <msnyder@redhat.com>
17323
166a1957
MS
17324 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17325 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 17326 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
17327 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17328 Add iftarget clause for strongarm.
d63a86f8 17329
f1c47eb2
MS
173302002-05-06 Michael Snyder <msnyder@redhat.com>
17331
cb9a9d3e
MS
17332 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17333 (gdb_continue_to_end): Accept output from status wrapper.
17334 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17335 Clean up fail messages to match pass messages.
17336
f1c47eb2
MS
17337 Enable the "needs_status_wrapper" testsuite feature.
17338 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17339 (gdb_compile): Conditionally call gdb_wrapper_init.
17340 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17341 * gdb.c++/method.exp: Recognize output from status wrapper.
17342
6079c749
BE
173432002-05-06 Ben Elliston <bje@redhat.com>
17344From Graydon Hoare <graydon@redhat.com>
17345
17346 * config/sid.exp: Include support for "rawsid" protocol.
17347
188baff3
JB
173482002-05-03 Jim Blandy <jimb@redhat.com>
17349
17350 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17351 * gdb.c++/hang3.C: New file.
17352
b9c07f0f
AC
173532002-05-04 Andrew Cagney <ac131313@redhat.com>
17354
17355 * gdb.base/default.exp: Remove obsolete code.
17356 * gdb.c++/misc.exp: Ditto. Update copyright.
17357 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17358 * gdb.base/whatis.exp: Ditto. Update copyright.
17359 * gdb.base/scope.exp: Ditto. Update copyright.
17360 * gdb.base/ptype.exp: Ditto. Update copyright.
17361 * gdb.base/printcmds.exp: Ditto. Update copyright.
17362 * gdb.base/opaque.exp: Ditto. Update copyright.
17363 * gdb.base/list.exp: Ditto.
17364 * gdb.base/funcargs.exp: Ditto. Update copyright.
17365 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17366 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17367 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17368 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17369 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17370 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17371
5c7a0397
MS
173722002-05-02 Michael Snyder <msnyder@redhat.com>
17373
d6dcc264 17374 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
17375 * gdb.base/long_long.exp: Add xscale target.
17376 * gdb.base/default.exp: Add xscale target.
17377
eb7f1c48
JB
173782002-05-01 Jim Blandy <jimb@redhat.com>
17379
17380 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17381 gdb.c++/hang.exp: New test.
17382
a6befae8
FF
173832002-05-01 Fred Fish <fnf@redhat.com>
17384
17385 * gdb.base/completion.exp: Handle completions of "./Make" for
17386 more than one completion possibility, as is the case when we
17387 build and test in the source tree.
17388
0a310277
AG
173892002-04-29 Anthony Green <green@redhat.com>
17390
17391 * gdb.java/jmisc1.exp: New file.
17392 * gdb.java/jmisc2.exp: New file.
17393
6ff9af88
DJ
173942002-04-24 Daniel Jacobowitz <drow@mvista.com>
17395
17396 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17397
96b3d632
EZ
173982002-04-23 Elena Zannoni <ezannoni@redhat.com>
17399
17400 * gdb.base/help.exp: Change 'help status' to allow for target
17401 dependent output differences.
17402
5019bb54
MC
174032002-04-22 Michael Chastain <mec@shout.net>
17404
17405 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17406
a805a116
MC
174072002-04-22 Michael Chastain <mec@shout.net>
17408
17409 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17410
a1706bfd
DM
174112002-04-17 David S. Miller <davem@redhat.com>
17412
17413 * gdb.asm/sparc64.inc: New file.
17414 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17415
a73a20a2
EZ
174162002-04-19 Elena Zannoni <ezannoni@redhat.com>
17417
17418 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17419 instruction file directly into the build tree. Clean up at end of
17420 test.
17421
ba678339
DM
174222002-04-18 David S. Miller <davem@redhat.com>
17423
17424 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17425 handle 64-bit platforms correctly.
17426 * gdb.base/maint.exp: Likewise.
17427
b03399da
KB
174282002-04-18 Kevin Buettner <kevinb@redhat.com>
17429
17430 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17431 ``-fpic'' when compiling files comprising a shared library, but
17432 it does need additional linker flags in order to find shared
17433 libraries at run time.
17434
e2004992
KB
174352002-04-18 Kevin Buettner <kevinb@redhat.com>
17436
17437 * gdb.base/cvexpr.c (use): New function.
17438 (main): Invoke use() on all global variables to prevent
17439 some linkers from deleting these otherwise unused symbols.
17440
d8937120
MC
174412002-04-17 Michael Chastain <mec@shout.net>
17442From David S. Miller <davem@redhat.com>
17443
17444 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17445 handle 64-bit platforms correctly.
17446
ffd61a58
MS
174472002-04-12 Michael Snyder <msnyder@redhat.com>
17448From Jim Blandy <jimb@redhat.com>
a9c64011 17449 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
17450 script can handle this instead.
17451 * gdb.base/bar.c (barx): Same.
17452 * gdb.base/baz.c (bazx): Same.
17453 * gdb.base/grbx.c (grbxx): Same.
17454
17455 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17456 manager doesn't automatically unmap overlays unnecessarily.
17457
6b8426a6
MH
174582002-04-10 Martin M. Hunt <hunt@redhat.com>
17459
17460 * gdb.base/ending-run.exp: Fix pattern for Mips targets
17461 stepping out of main.
17462
34af4875
MC
174632002-04-09 Michael Chastain <mec@shout.net>
17464
17465 * gdb.c++/local.cc (main): Move call to marker1() inside nested
17466 scope so that the nested scope tests will make sense.
17467 * gdb.c++/local.exp: Write patterns that actually work with gcc
17468 (the HP patterns "were never known to work with gcc").
17469 Keep the old aCC patterns too.
17470
2d1676a0
DJ
174712002-04-09 Daniel Jacobowitz <drow@mvista.com>
17472
17473 * gdb.base/attach.exp: Correct target board test.
17474
3a63e3f9
MC
174752002-04-08 Michael Chastain <mec@shout.net>
17476
17477 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17478 in a const method. Add some xfail and fail cases for configurations
17479 that do not emit the "const ...".
17480
f18dabd2
MC
174812002-04-07 Michael Chastain <mec@shout.net>
17482
17483 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17484 Accept "A * const" and "const A * const" as type of "this".
17485 Fix spelling of getFunky throughout. Make messages uniform.
17486
0fcddd82
EZ
174872002-04-07 Elena Zannoni <ezannoni@redhat.com>
17488
a9c64011 17489 Work around for PR gdb/285:
0fcddd82
EZ
17490 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17491
16a8534a
EZ
174922002-04-07 Elena Zannoni <ezannoni@redhat.com>
17493
17494 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17495 instructions file at run time instead of configure time.
17496 Sometimes we run the test in a directory that is not the one we
17497 configured in.
17498 * gdb.asm/configure.in: Delete creation of symlink.
17499 * gdb.asm/configure: Regenerate.
17500
24181d81
JB
175012002-04-05 J. Brobecker <brobecker@gnat.com>
17502
17503 * gdb.gdb/xfullpath.exp: New test, to exercise the new
17504 xfullpath () function.
17505
7cdb7107
DJ
175062002-04-04 Daniel Jacobowitz <drow@mvista.com>
17507
17508 * gdb.asm/Makefile.in: Correct dependencies.
17509
17510 * gdb.asm/powerpc.inc: New file.
17511 * gdb.asm/asm-source.exp: Add PowerPC.
17512 * gdb.asm/configure.in: Likewise.
17513 * gdb.asm/configure: Regenerated.
17514
a7d17088
DJ
175152002-04-04 Daniel Jacobowitz <drow@mvista.com>
17516
17517 * gdb.base/relocate.exp: New file.
17518 * gdb.base/relocate.c: New file.
17519
cd721503
FF
175202002-04-04 Fred Fish <fnf@redhat.com>
17521
17522 * gdb.base/step-test.exp: Update comment regarding stopping in
17523 memcpy/bcopy calls inserted as part of the compiler runtime.
17524
b22ad7a7
MS
175252002-04-04 Michael Snyder <msnyder@redhat.com>
17526
17527 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17528
5f279fa6
DJ
175292002-04-03 Daniel Jacobowitz <drow@mvista.com>
17530
17531 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17532 (gdb_expect): Remove $notransfer hack.
17533
dd0fd3ce
DJ
175342002-04-02 Daniel Jacobowitz <drow@mvista.com>
17535
17536 * gdb.c++/classes.exp ("calling method for small class"): Match
17537 updated register output.
17538
1e50cda1
DJ
175392002-03-30 Daniel Jacobowitz <drow@mvista.com>
17540
17541 Fix PR gdb/452
17542 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17543 when finished. Make gdb_file_cmd send "exec-file" when
17544 appropriate.
17545
24015922
DJ
175462002-03-30 Daniel Jacobowitz <drow@mvista.com>
17547
17548 * gdb.base/attach.exp: Remove extra setup_xfail.
17549
dd7dfd64
MS
175502002-03-26 Michael Snyder <msnyder@redhat.com>
17551
17552 * gdb.base/default.exp: Add tests for dump, append, and restore.
17553 * gdb.base/help.exp: Add tests for dump, append, and restore.
17554 * gdb.base/dump.exp: New file, test dump, append and restore.
17555 * gdb.base/dump.c: New file.
17556
48b2f8d7
MS
175572002-03-27 Michael Snyder <msnyder@redhat.com>
17558
d63a86f8 17559 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
17560 clean-ups in help messages.
17561
05b4d525
FF
175622002-03-26 Fred Fish <fnf@redhat.com>
17563
17564 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17565 have debugging info for those functions and the compiler uses them
17566 internally to copy structs around.
17567
d7679631
FF
175682002-03-26 Fred Fish <fnf@redhat.com>
17569
17570 * gdb.base/list.exp: Revert the change made yesterday and add note
17571 about why we don't list the default lines for remote targets.
17572
523ac3f9
MS
175732002-03-25 Michael Snyder <msnyder@redhat.com>
17574
17575 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17576
754b2b8d
FF
175772002-03-25 Fred Fish <fnf@redhat.com>
17578
17579 * gdb.base/list.exp: This test works on remote targets so remove
17580 the short circuit for remote targets. Update copyright.
17581
33c3e192
FF
175822002-03-25 Fred Fish <fnf@redhat.com>
17583
17584 * gdb.base/attach.exp: Fix logic error that was suppressing this
17585 test for all non hppa*-*-hpux* targets, instead of the hp target.
17586 Move comments closer to the suppression point. Also now need to
17587 check that we are running natively.
17588
d43e73ee
MS
175892002-03-22 Michael Snyder <msnyder@redhat.com>
17590
882c8f02
MS
17591 * gdb.base/default.exp: Add test for gcore. Update copyright.
17592 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 17593
04c12f60
FF
175942002-03-06 Fred Fish <fnf@redhat.com>
17595
17596 * gdb.base/funcargs.c: Remove extraneous ';' character.
17597 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17598
b43df995
MC
175992002-03-04 Michael Chastain <mec@shout.net>
17600
17601 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17602 accommodate gcc v3 function signature.
17603 * gdb.mi/mi0-var-cmd-exp: Ditto.
17604
92362027
AC
176052002-02-24 Andrew Cagney <ac131313@redhat.com>
17606
17607 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17608 ``GNU/Linux'' or ``Linux kernel''
17609 * testsuite/gdb.threads/pthreads.c: Ditto.
17610
258ad32d
MC
176112002-02-24 Michael Chastain <mec@shout.net>
17612
17613 * gdb.threads/pthreads.c (thread1): Add a return statement.
17614 (thread2): Likewise.
17615 (foo): Likewise.
17616
04c3b3d4
MC
176172002-02-23 Michael Chastain <mec@shout.net>
17618
17619 * gdb.threads/linux-dp.c (philosopher): Add a return statement
17620 to placate gcc.
17621
5a2a0a20
MC
176222002-02-23 Michael Chastain <mec@shout.net>
17623
17624 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17625 test "ptype bint". The test passes on all my stabs configurations.
17626
a640f7fc
JB
176272002-02-21 Jim Blandy <jimb@redhat.com>
17628
27924826
JB
17629 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17630 filename at a time, and watch for the ones we want to see.
17631
a640f7fc
JB
17632 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17633 types of pointers to prototyped functions.
17634
edcc8c75
AC
176352002-02-20 Andrew Cagney <ac131313@redhat.com>
17636
17637 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
17638 signed, unsigned and straight char.
17639 (padding_char, padding_short, padding_int, padding_long,
17640 padding_long_long, padding_float, padding_double,
17641 padding_long_double): New global variables.
17642 (fill, fill_structs): New functions.
17643
17644 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
17645 for correctly sized writes. Update copyright.
17646 (get_valueof): New procedure.
17647 (get_sizeof): Call get_valueof.
17648 (check_valueof): New procedure.
17649 (check_padding): New procedure.
17650
ac57ea44
MC
176512002-02-20 Michael Chastain <mec@shout.net>
17652
17653 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17654 to setup_xfail. Document some of the remaining calls.
17655
7a10c941
MC
176562002-02-18 Michael Chastain <mec@shout.net>
17657
17658 * gdb.c++/userdef.exp: Update copyright year.
17659
fb8acdcc
DJ
176602002-02-18 Daniel Jacobowitz <drow@mvista.com>
17661
17662 * gdb.c++/userdef.exp: Test overloaded operators properly.
17663 Remove xfails.
17664
fda6ae12
MS
176652002-02-14 Michael Snyder <msnyder@redhat.com>
17666
17667 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17668
676a0442
DJ
176692002-02-14 Daniel Jacobowitz <drow@mvista.com>
17670
17671 * gdb.base/a2-run.exp: Check for a remote target properly.
17672 * gdb.base/annota1.exp: Likewise.
17673 * gdb.base/list.exp: Likewise.
17674 * gdb.base/reread.exp: Likewise.
17675 * gdb.base/scope.exp: Likewise.
17676 * gdb.base/shlib-call.exp: Likewise.
17677 * gdb.base/term.exp: Likewise.
17678 * gdb.c++/annota2.exp: Likewise.
17679
78b4f468
RE
176802002-02-13 Richard Earnshaw <rearnsha@arm.com>
17681
17682 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17683
9a81ba51
MC
176842002-02-10 Michael Chastain <mec@shout.net>
17685
17686 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17687 (call_after_alloca): Ditto.
17688
004af6c7
DJ
176892002-02-10 Daniel Jacobowitz <drow@mvista.com>
17690
17691 * gdb.base/ending-run.exp: Guard "cont" test with
17692 gdb_skip_stdio_test.
17693
37225f62
JB
176942002-02-06 Jim Blandy <jimb@redhat.com>
17695
17696 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17697 from here...
17698 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17699 To here. Disable this test on non-HP platforms. Add big comment.
17700
fe6fdd96
MS
177012002-02-04 Michael Snyder <msnyder@redhat.com>
17702
17703 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
17704 other than d10v and m32r.
17705
036fad3f
RE
177062002-02-02 Richard Earnshaw <rearnsha@arm.com>
17707
17708 * gdb.base/default.exp: Rewrite test patterns to reduce time
17709 taken to match them.
17710
7148ab62
DJ
177112002-01-30 Daniel Jacobowitz <drow@mvista.com>
17712
17713 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17714 Allow a start function above main.
17715 * gdb.threads/linux-dp.exp: Fix copyright date.
17716
396cc255
DJ
177172002-01-30 Daniel Jacobowitz <drow@mvista.com>
17718
a9c64011
AS
17719 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17720 (check_philosopher_stack): Check for manager thread before checking
17721 for a just-starting thread.
396cc255 17722
f038d31b
DJ
177232002-01-30 Daniel Jacobowitz <drow@mvista.com>
17724
17725 From Neil Booth <neil@daikokuya.demon.co.uk>:
17726 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17727 warnings.
17728
b3ff9d9a
FF
177292002-01-21 Fred Fish <fnf@redhat.com>
17730
17731 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17732 not caller.
17733
39ad761d
JB
177342002-01-21 Jim Blandy <jimb@redhat.com>
17735
17736 * gdb.base/reread.exp: Check that GDB properly re-reads the
17737 executable file when it changes while no inferior is running.
17738
aaf320fa
FF
177392002-01-21 Fred Fish <fnf@redhat.com>
17740
a9c64011
AS
17741 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17742 optionally accept the "shlib events" variation.
aaf320fa 17743
808a31f5
JB
177442002-01-21 Jim Blandy <jimb@redhat.com>
17745
17746 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17747 call `fflush' after every `printf', so that the output is produced
17748 at predictable points, regardless of whatever buffering does (or
17749 doesn't) take place.
17750 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17751 at different points.
17752
4420d5e2
DJ
177532002-01-20 Daniel Jacobowitz <drow@mvista.com>
17754
17755 * gdb.c++/inherit.exp: Update copyright years.
17756 * gdb.c++/method.exp: Likewise.
17757
3e36a0f4
DJ
177582002-01-20 Daniel Jacobowitz <drow@mvista.com>
17759
17760 * gdb.c++/classes.exp: Update for improved v3 support and skipping
17761 artificial methods/arguments.
17762 * gdb.c++/derivation.exp: Likewise.
17763 * gdb.c++/inherit.exp: Likewise.
17764 * gdb.c++/method.exp: Likewise.
17765 * gdb.c++/virtfunc.exp: Likewise.
17766
b4ceaee6
AC
177672002-01-18 Andrew Cagney <ac131313@redhat.com>
17768
17769 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17770 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17771 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17772 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17773 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17774 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17775
ecace851
JB
177762002-01-17 Jim Blandy <jimb@redhat.com>
17777
17778 * gdb.asm/asm-source.exp (info symbol): Take another shot at
17779 anchoring the pattern matching the entry point symbol's name.
17780
375fc983
AC
177812002-01-17 Andrew Cagney <ac131313@redhat.com>
17782
17783 * gdb.base/maint.exp: Update ``maint internal-error'' to match
17784 continue/quit query. Update copyright.
17785
fe6fdd96
MS
177862002-01-14 Michael Snyder <msnyder@redhat.com>
17787
17788 * gdb.base/gcore.exp: Remove extra debugging output.
17789
e017c81f
DJ
177902002-01-13 Daniel Jacobowitz <drow@mvista.com>
17791
17792 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17793 for slightly dubious v2 mangled string.
17794
37ab3bf8
DJ
177952002-01-13 Daniel Jacobowitz <drow@mvista.com>
17796
17797 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17798
1bc05c3a 177992002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 17800
1bc05c3a 17801 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 17802
1bc05c3a
JM
17803 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17804 constructors.
17805 * gdb.c++/derivation.exp: Likewise.
17806 * gdb.c++/templates.exp: Likewise.
17807 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 17808
1bc05c3a
JM
178092002-01-10 Michael Snyder <msnyder@redhat.com>
17810
17811 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 17812
a911c360
MS
178132002-01-08 Michael Snyder <msnyder@redhat.com>
17814
17815 * gdb.base/gcore.exp: New test for generate-core-file command.
17816 * gdb.base/gcore.c: Testcase for above.
17817 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17818
ea2119ec
JM
178192002-01-08 Jason Merrill <jason@redhat.com>
17820
17821 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17822
68203136
FF
178232002-01-07 Fred Fish <fnf@redhat.com>
17824
17825 * gdb.c++/overload.exp: Remove unconditional xfails for:
17826 print foo_instance1.overloadargs(1)
17827 print foo_instance1.overloadargs(1, 2)
17828 print foo_instance1.overloadargs(1, 2, 3)
17829 print foo_instance1.overloadargs(1, 2, 3, 4)
17830 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17831 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17832 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17833 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17834 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17835 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17836 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17837 print foo_instance1.overload1arg()
17838 print foo_instance1.overload1arg((char)arg2)
17839 print foo_instance1.overload1arg((signed char)arg3)
17840 print foo_instance1.overload1arg((unsigned char)arg4)
17841 print foo_instance1.overload1arg((int)arg7)
17842 print foo_instance1.overload1arg((unsigned int)arg8)
17843 print foo_instance1.overload1arg((float)arg11)
17844 print foo_instance1.overload1arg((double)arg12)
d63a86f8 17845
21b9b5b1
MS
178462002-01-07 Michael Snyder <msnyder@redhat.com>
17847
17848 * gdb.base/huge.exp: New test. Print a very large target data object.
17849 (skip_huge_test): New test variable. Define if you want to skip this
17850 test. The test reads an 8 megabyte data object from the target, so it
17851 might be very time consuming on remote targets with a slow connection.
17852 * gdb.base/huge.c: New file. Test case for above.
17853
725f922e
FF
178542002-01-07 Fred Fish <fnf@redhat.com>
17855
17856 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17857 g_instance.bfoo, and g_instance.cfoo.
17858
889bf7c5 178592002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 17860
889bf7c5
PA
17861 * gdb.base/break.c (multi_line_if_conditional): New function.
17862 (multi_ilne_while_conditional): Likewise.
17863 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17864 IF or WHILE condition puts the breakpoint at the start of
17865 the condition.
f286b2c3 17866
634d57ec
JL
17867 * gdb.base/selftest.exp (backtrace through signal handler): Remove
17868 hppa*-*-hpux* expected failure.
17869 * gdb.base/structs.exp (do_function_calls): Similarly.
17870
17871 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17872 watchpoints.
17873
9fbfe2dc
AC
178742002-01-06 Andrew Cagney <ac131313@redhat.com>
17875
17876 Fix PR gdb/66.
17877 * gdb.base/structs.exp: Replace skip for a29k with skip for
17878 gdb,cannot_call_functions.
17879 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17880 * gdb.base/callfuncs.exp: Ditto.
17881 * gdb.base/call-rt-st.exp: Ditto.
17882 * gdb.base/call-strs.exp: Ditto.
17883 * gdb.base/callfwmall.exp: Ditto.
17884 * gdb.base/scope.exp: Obsolete xfail a29k.
17885 * gdb.c++/misc.exp: Ditto.
17886 * gdb.c++/cplusfuncs.exp: Ditto.
17887 * gdb.base/ptype.exp: Ditto.
17888 * gdb.base/printcmds.exp: Ditto.
17889 * gdb.base/opaque.exp: Ditto.
17890 * gdb.base/list.exp: Ditto.
17891 * gdb.base/funcargs.exp: Ditto.
17892 * gdb.base/default.exp: Ditto.
17893
8ddad156
MS
178942002-01-04 Michael Snyder <msnyder@redhat.com>
17895
ca4976a6 17896 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
17897 * gdb.base/maint.exp: Add tests for maint info sections options.
17898
1b074332
JL
17899Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
17900
17901 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17902
7d159115
CV
179032001-12-20 Corinna Vinschen <vinschen@redhat.com>
17904
17905 * gdb.asm/arm.inc: New file.
17906 * gdb.asm/asm-source.exp: Add arm targets.
17907 * gdb.asm/configure.in: Ditto.
17908 * gdb.asm/configure: Recreated from configure.in.
17909
8fb87725
JL
17910Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
17911
afabe08c
JL
17912 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17913 with HP's compiler.
17914 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17915 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17916 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17917 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17918
17919 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17920 either HP's compilers or GCC.
17921
db521deb
JL
17922 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17923 a SIGBUS or SIGSEGV.
17924
17925 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17926
17927 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17928 can be compiled with either HP's compiler or GCC.
17929
cfa88ab7
JL
17930 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17931 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17932 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17933
ca344dff
JL
17934 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17935 to match current gdb output. Update due to using auto-solib-limit
17936 for limiting instead of overloading auto-solib-add.
17937 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
17938 test program.
17939
3f3c6e55 17940 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
17941 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
17942 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17943 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17944 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17945 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17946 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
17947 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
17948 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
17949 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
17950 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
17951 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
17952 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 17953
8fb87725
JL
17954 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
17955 a SIGTRAP to the inferior.
17956
cf599fa7
CV
179572001-12-19 Corinna Vinschen <vinschen@redhat.com>
17958
17959 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
17960 Substitute call to target_link by call to gdb_compile.
17961
2cd045cd
JL
17962Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
17963
a9c64011
AS
17964 * gdb.base/break.exp: Fix HP specific search string when testing
17965 backtracing in a called function.
2cd045cd 17966
a9c64011
AS
17967 * gdb.base/constvars.exp: Only set lang to C++ if we're
17968 compiling the test with HP's compilers.
17969 * gdb.base/volatile.exp: Similarly.
2cd045cd 17970
99ebe9ac
JB
179712001-12-19 Jim Blandy <jimb@redhat.com>
17972
17973 * gdb.base/printcmds.exp: Expect the null character to be printed
17974 as '\0', and the '\013' to be printed as '\v'.
17975 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
17976 * gdb.base/setvar.exp: Same.
17977
b9891b29
JB
179782001-12-17 Jim Blandy <jimb@redhat.com>
17979
0eba65ab
JB
17980 * gdb.base/completion.exp: Rather than completing very long
17981 filenames, which can make the readline library produce output we
17982 don't recognize, cd to the directory first, and then complete
17983 using nice, short relative paths.
17984
6970b5b1
JB
17985 * gdb.base/completion.exp: On some systems, there is, in fact, a
17986 variable named `b' in scope, since GDB treats all static
a9c64011
AS
17987 variables as being in scope. So use `no_var_named_this'
17988 instead of `b'.
6970b5b1 17989
b9891b29 17990 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 17991 can't find the core file's registers as a failure.
b9891b29 17992
e6ccd35f
JSC
179932001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
17994
a9c64011
AS
17995 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
17996 test expect string more specific.
e6ccd35f 17997
105ba819
CV
179982001-12-13 Corinna Vinschen <vinschen@redhat.com>
17999
18000 * gdb.asm/asm-source.exp: Add support for xstormy16.
18001 * gdb.asm/configure.in: Ditto.
18002 * gdb.asm/configure: Rebuild.
18003 * gdb.asm/xstormy16.inc: New file.
18004
e9e79dd9
FF
180052001-12-10 Fred Fish <fnf@redhat.com>
18006
18007 * gdb.base/maint.exp: Update to match changes in type dumping code.
18008
347dc97d
JB
180092001-12-10 Jim Blandy <jimb@redhat.com>
18010
18011 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18012 matching the entry point symbol's name at the beginning of the
18013 line.
347dc97d 18014
5178b9d6
DJ
180152001-12-07 Daniel Jacobowitz <drow@mvista.com>
18016
18017 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18018 gdb.c++/inherit.exp, gdb.c++/method.exp,
18019 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18020 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18021 and class layout support.
18022
af890c52
DJ
180232001-12-07 Daniel Jacobowitz <drow@mvista.com>
18024
18025 * gdb.c++/classes.exp: Add test for static member function.
18026 * gdb.c++/misc.cc: Add class with static member function.
18027
7a345fb3
JB
180282001-12-07 Jim Blandy <jimb@redhat.com>
18029
f2e54a80 18030 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18031 those tests as `unsupported'.
18032 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18033 Rewrite subsequent tests to use it.
18034
18035 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18036 those tests as `unsupported'.
18037 * gdb.base/structs.exp (call_struct_func): New function.
18038 (do_function_calls): Use call_struct_func to call the functions
18039 returning structs.
18040
0bc69509
JB
18041 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18042 whether functions are prototyped or not, so we can't possibly pass
18043 arguments to t_float_values2 properly.
18044
7a345fb3
JB
18045 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18046 value of `timeout' for targets other than the mips*tx39-*.
18047
edb6ede1
MS
180482001-12-06 Michael Snyder <msnyder@redhat.com>
18049
d63a86f8 18050 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18051 and detect whether the start symbol has a leading underscore.
18052
2d842f13
JB
180532001-12-04 Jim Blandy <jimb@redhat.com>
18054
18055 * gdb.base/completion.exp: Clarify indentation.
18056
68550daf
JB
180572001-12-03 Jim Blandy <jimb@redhat.com>
18058
18059 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18060 variables on the S/390, not `.word'.
18061
cd5195a8
JB
180622001-11-30 Jim Blandy <jimb@redhat.com>
18063
18064 Add assembly-source tests for s390-ibm-linux.
18065 * gdb.asm/s390.inc: New file.
18066 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18067 the S/390 architecture.
a9c64011 18068 * gdb.asm/configure: Regenerated.
cd5195a8 18069
ca9efc90
MS
180702001-11-30 Michael Snyder <msnyder@redhat.com>
18071
18072 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18073 next, info source, info sources, info line, global and static
18074 variables, and static functions.
18075 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18076 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18077 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18078 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18079 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18080 (gdbasm_leave): Restore frame pointer.
18081 (gdbasm_startup): Copy stack set-up from crt0.S.
18082
d0e66976
FN
180832001-11-26 Fernando Nasser <fnasser@redhat.com>
18084
18085 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18086 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18087 to a local (non-static) variable. Copy tstruct.a to a static buffer
18088 and return a pointer to that buffer.
18089 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18090
e2334072
MK
180912001-11-24 Mark Kettenis <kettenis@gnu.org>
18092
18093 * gdb.asm/configure.in: Fix recognition of ix86 target.
18094 * gdb.asm/configure: Regenerate.
18095
756caa3d
MS
180962001-11-21 Michael Snyder <msnyder@redhat.com>
18097
18098 * gdb.asm/sparc.inc: New file.
18099 * gdb.asm/asm-source.exp: Recognize sparc target.
18100 * gdb.asm/configure.in: Recognize sparc target.
18101 * gdb.asm/configure: Regenerate.
d63a86f8 18102
9a4d72d5
MS
181032001-11-21 Michael Snyder <msnyder@redhat.com>
18104
18105 * gdb.asm/m32r.inc: New file.
18106 * gdb.asm/asm-source.exp: Recognize m32r target.
18107 * gdb.asm/configure.in: Recognize m32r target.
18108 * gdb.asm/configure: Regenerate.
18109
a773d1cd
MS
181102001-11-20 Michael Snyder <msnyder@redhat.com>
18111
017ac23d
MS
18112 * gdb.asm/i386.inc: New file.
18113 * gdb.asm/asm-source.exp: Recognize ix86 target.
18114 * gdb.asm/configure.in: Recognize ix86 target.
18115 * gdb.asm/configure: Regenerate.
18116
a773d1cd
MS
18117 * gdb.c++/namespace.exp: Fix quotes in output messages.
18118
bb632afb
MS
181192001-11-14 Michael Snyder <msnyder@redhat.com>
18120
25d559ca 18121 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18122 qualifier in a type cast expression, to designate an address
18123 in the instruction space (Harvard architecture).
18124
4749e309
MS
181252001-11-13 Michael Snyder <msnyder@redhat.com>
18126
18127 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18128 Tests for expressions using 'const' and 'volatile'.
18129
25050984
CV
181302001-11-13 Corinna Vinschen <vinschen@redhat.com>
18131
18132 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18133
1902c51f
DJ
181342001-11-12 Daniel Jacobowitz <drow@mvista.com>
18135
18136 * lib/mi-support.exp (mi_run_to_helper): Move comments
18137 outside of gdb_expect.
18138
dcf95b47
DJ
181392001-11-11 Daniel Jacobowitz <drow@mvista.com>
18140
18141 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18142 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18143 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18144 mi0_run_to): New functions.
18145 * gdb.mi/mi-simplerun.exp: Use them.
18146 * gdb.mi/mi0-simplerun.exp: Likewise.
18147 * gdb.mi/mi-var-cmd.exp: Likewise.
18148 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18149
45b074e1
AC
181502001-11-10 Andrew Cagney <ac131313@redhat.com>
18151
18152 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18153 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18154
bf50d346
AC
181552001-11-09 Andrew Cagney <ac131313@redhat.com>
18156
18157 * gdb.base/restore.exp: Include $expected value in restored test
18158 message.
18159
9383332c
AC
181602001-11-09 Andrew Cagney <ac131313@redhat.com>
18161
18162 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18163 implemented.
18164
db62520a
MS
181652001-11-08 Michael Snyder <msnyder@redhat.com>
18166
18167 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18168 Add pass/fail message for stop at breakpoint in call dummy function.
18169
b5703437
MS
181702001-11-07 Michael Snyder <msnyder@redhat.com>
18171
d63a86f8
RM
18172 * gdb.c++/templates.exp (test_template_breakpoints):
18173 If we get an overload menu, but it does not match what
760f6330 18174 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18175 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18176 making the whitespace optional. Argument for "new" may be
18177 "unsigned" as well as "unsigned int/long".
d63a86f8 18178 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18179 making the whitespace optional. Also replace "(void) with
18180 "((void|)), making the keyword "void" optional.
d63a86f8 18181 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18182 making the whitespace optional. Also replace "(void) with
18183 "((void|)), making the keyword "void" optional.
3bf40917
MS
18184 * gdb.base/callfuncs.c (t_float_values): This function must
18185 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18186 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18187 can be tested against both cases. Usually one case involves
18188 promotion of float to double, while the other does not.
18189 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18190 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18191 includes a stack frame for "start".
18192
c8ab4e6d
JB
181932001-11-05 Jim Blandy <jimb@redhat.com>
18194
18195 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18196 pointers are 32 bits long, and that offsets of relocs are always
18197 stored in the data (REL-style), and not in the reloc entry itself
18198 (RELA-style).
18199 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18200 stabs.
18201
3f08ced9
MS
182022001-11-01 Michael Snyder <msnyder@redhat.com>
18203
18204 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18205 and regular expression operators by using quoting.
18206
cbfa24cd
MS
182072001-10-31 Michael Snyder <msnyder@redhat.com>
18208
18209 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18210 depending on what the symbol table contains.
18211 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18212 the output of the ptype command. Similarly, accept both "const &"
18213 and "const&".
18214
aaa68313
CV
182152001-10-31 Corinna Vinschen <vinschen@redhat.com>
18216
18217 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18218 symbol `STORAGE' to allow to choose the storage class of
18219 the local datastructures.
18220 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18221 compiler directive.
18222
91740388
MS
182232001-10-30 Michael Snyder <msnyder@redhat.com>
18224
18225 * gdb.base/jump.exp: Allow it to run for all targets.
18226
1b7c05e7
CV
182272001-10-29 Corinna Vinschen <vinschen@redhat.com>
18228
18229 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18230 with new double_array size.
18231 (main): Change storage class of all local variables to static.
18232 Reduce size of double_array to 9.
18233 * gdb.base/call-ar-st.exp: Increase timeout value.
18234 Change expected output for double array to match new size in
18235 call-ar-st.c.
18236
36a22261
CV
182372001-10-29 Corinna Vinschen <vinschen@redhat.com>
18238
18239 * gdb.base/ending-run.exp: Create identical output when passing
18240 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 18241 Stormy16 target.
36a22261 18242
92b8ae91
MK
182432001-10-28 Mark Kettenis <kettenis@gnu.org>
18244
18245 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18246 that we catch the expected failure under Linux/x86.
18247
cb135b83
OF
182482001-10-29 Orjan Friberg <orjanf@axis.com>
18249
18250 * gdb.base/setvar.exp: Escape curly braces.
18251 * gdb.stabs/weird.exp: Ditto.
18252
6884aa54
DJ
182532001-10-27 Daniel Jacobowitz <drow@mvista.com>
18254
18255 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18256 * gdm.mi/mi0-hack-cli.exp: Likewise.
18257
0398c9aa
AC
182582001-10-25 Andrew Cagney <ac131313@redhat.com>
18259
18260 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18261 messages.
18262
d20bf2e8
AC
182632001-10-21 Andrew Cagney <ac131313@redhat.com>
18264
18265 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18266 checking MI enabled.
18267
03dd63aa
CV
182682001-10-09 Corinna Vinschen <vinschen@redhat.com>
18269
18270 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18271
1d9d99f3
FCE
182722001-10-04 Frank Ch. Eigler <fche@redhat.com>
18273
18274 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18275 if gdb child process crashes, just signal an error.
18276
838ae6c4
JB
182772001-10-02 Jim Blandy <jimb@redhat.com>
18278
18279 * lib/gdb.exp (test_xfail_format): Simplify.
18280
18281 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18282 front of the variable name `format'. Simplify `if'.
18283
8f0cbc1c
DJ
182842001-10-01 Daniel Jacobowitz <drow@mvista.com>
18285
18286 * gdb.threads/pthreads.exp: Wait for output and delay
18287 before sending ^C.
18288
1f08dafd
DJ
182892001-10-01 Daniel Jacobowitz <drow@mvista.com>
18290
18291 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18292 some incorrect output instead of timing out.
18293 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18294
674f90ff
CV
182952001-09-28 Corinna Vinschen <vinschen@redhat.com>
18296
18297 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18298 check to allow additional `int'.
18299
9b284272
DJ
183002001-09-27 Daniel Jacobowitz <drow@mvista.com>
18301
18302 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18303 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18304
b55a4771
MS
183052001-09-27 Michael Snyder <msnyder@redhat.com>
18306
18307 * lib/gdb.exp (test_debug_format): New proc.
18308 (setup_xfail_format): Use new proc test_debug_format.
18309 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18310 proc; use new service proc test_debug_format.
18311 Replace all other "gcc_compiled" tests with this test.
18312 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18313 proc; use new service proc test_debug_format.
18314 Replace all other "gcc_compiled" tests with this test.
18315
183162001-09-27 Michael Snyder <msnyder@redhat.com>
18317
18318 * gdb.base/cvexpr.exp: New file.
18319 * gdb.base/cvexpr.c: New file
18320 Test for expressions using const and volatile keywords.
18321
4e6667ac
CV
183222001-09-26 Corinna Vinschen <vinschen@redhat.com>
18323
18324 * gdb.base/constvars.exp: Check for different orders of keywords
18325 and additional "int" strings in output.
18326
4f337972
AC
183272001-09-22 Andrew Cagney <ac131313@redhat.com>
18328
18329 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18330 responses from "help maint".
18331
2015650d
FCE
183322001-09-19 Frank Ch. Eigler <fche@redhat.com>
18333
18334 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18335 to localhost:NNN instead of :NNN, in case Xvfb is listening
18336 only on TCP.
18337
f3bcedc1
CV
183382001-09-19 Corinna Vinschen <vinschen@redhat.com>
18339
18340 * gdb.base/recurse.exp: When checking leaving the watchpoint
18341 scope, recognize when gdb is in function's epilogue and pass.
18342
6b819c92
KS
183432001-09-18 Keith Seitz <keiths@redhat.com>
18344
18345 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18346 support for running tests against sid targets.
18347 (gdbtk_done): Ditto.
18348
a10c9419
CV
183492001-09-18 Corinna Vinschen <vinschen@redhat.com>
18350
18351 * gdb.base/ending-run.c (main): Set stdout buffersize
18352 to the same reasonable value for any target.
18353 * gdb.base/ending-run.exp: Add a regular expression
18354 to make testsuite happy on Sanyo Stormy16 target.
18355
739d0d99
CV
183562001-09-17 Corinna Vinschen <vinschen@redhat.com>
18357
18358 * gdb.base/display.c (do_loops): Add float variable `f'.
18359 Increment f in loop.
18360 * gdb.base/display.exp: Increment timeout by 60 seconds.
18361 Change float display test to use variable `f'.
18362
1b8947f0
JB
183632001-09-17 Jim Blandy <jimb@redhat.com>
18364
18365 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18366 overflowing the limited breakpoint tables on some ROM monitors
18367 (like the ROM68K).
18368
9890ac81
FCE
183692001-09-15 Frank Ch. Eigler <fche@redhat.com>
18370
18371 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18372 the "-ac" (disable access control) flag.
18373
6db765ea
JH
183742001-08-30 Jeff Holcomb <jeffh@redhat.com>
18375
18376 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18377 ints.
18378
4c32cc04
KS
183792001-08-30 Keith Seitz <keiths@redhat.com>
18380
18381 * lib/gdb.exp: Move all insight-related functionality into
18382 separate file.
18383 * lib/insight-support.exp: New file.
18384
8d6e6f81
FCE
183852001-08-29 Frank Ch. Eigler <fche@redhat.com>
18386
18387 * config/sid.exp (sid_start): Never set sid verbosity; disable
18388 expect_background {} that consumed its stdout; tolerate </dev/null.
18389 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18390
6a90e1d0
AC
183912001-08-18 Andrew Cagney <ac131313@redhat.com>
18392
18393 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18394 CLI jump command to start it.
18395 (mi_run_to_main): Fail immediatly when unexpected output.
18396
1759b3c3
AC
183972001-08-18 Andrew Cagney <ac131313@redhat.com>
18398
18399 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18400 beginning of function. Fix PR gdb/191.
18401
61d11d80
FCE
184022001-08-16 Frank Ch. Eigler <fche@redhat.com>
18403
18404 * config/sid.exp (sid_start): Don't warn if we cannot figure out
18405 what to force sid endianness to.
18406
942a4df2
KS
184072001-08-15 Keith Seitz <keiths@redhat.com>
18408
18409 * lib/gdb.exp (gdbtk_start): Don't set environment
18410 variables for TCL_LIBRARY and friends. Insight will
18411 now figure these out for itself.
18412
0521c418
MS
184132001-08-02 Michael Snyder <msnyder@redhat.com>
18414
18415 * gdb.base/completion.exp: Remove the symbol "a64l" from
18416 the expect string; this is target-specific, and not related
18417 to what is being tested.
18418
74a9a58a
DB
184192001-08-02 Dave Brolley <brolley@redhat.com>
18420
18421 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18422
c70819fa
MS
184232001-07-25 Michael Snyder <msnyder@redhat.com>
18424
c2b8fa57
MS
18425 * gdb.base/consecutive.exp: New file. Test stepping over
18426 breakpoints on consecutive instructions.
18427 * gdb.base/consecutive.c: New file.
18428
c70819fa
MS
18429 * gdb.base/call-rt-st.exp: Use double-backslash to quote
18430 curly braces in regular expressions.
18431
2b1a1355
MS
184322001-07-25 Michael Snyder <msnyder@redhat.com>
18433
18434 * gdb.base/ending-run.exp: Accept "Program exited normally" as
18435 legitimate output from stepping out of main.
18436
413eca6f
KS
184372001-07-22 Keith Seitz <keiths@redhat.com>
18438
18439 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18440 the empty string, do not run the tests.
18441
7e5a9322
SC
184422001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18443
18444 * gdb.base/long_long.exp: Detect size of pointer. Take into
18445 account 2-byte pointers when testing for p/a results.
18446
de58f10f
SC
184472001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18448
d63a86f8 18449 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
18450 and defined to 1K for m68hc11.
18451 (random_data): Reduce table to 1K for embedded platforms (68hc11).
18452 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18453 (sizeof_random_data): New variable to tell the size of the data table;
18454 don't test past this size; always run to main.
18455
d6f5fea1
SC
184562001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18457
18458 * gdb.base/return2.exp: return of long long and double fails for
18459 68HC11; don't execute these tests on that platform.
18460 * gdb.base/return.exp: Return of a double fails for 68hc11.
18461
c477543d
SC
184622001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18463
18464 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18465 tests that print a float.
18466 * call-rt-st.exp: Likewise.
18467
63cf1c79
MK
184682001-07-12 Mark Kettenis <kettenis@gnu.org>
18469
18470 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18471 running this test on Linux.
18472
112f9ab5
MC
184732001-06-24 Michael Chastain <chastain@redhat.com>
18474
18475 * gdb.base/arithmet.exp: Remove some tests to make all test names
18476 unique.
18477
4970cb0f
MS
184782001-07-03 Michael Snyder <msnyder@redhat.com>
18479
18480 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18481 the output of the ptype command.
18482
d85da69f
MS
184832001-07-02 Michael Snyder <msnyder@redhat.com>
18484
4c8a82de
MS
18485 * gdb.base/completion.exp: Don't assume that break.c is the only
18486 source file that may contain functions named "marker".
d85da69f
MS
18487 * gdb.base/corefile.exp: Quote the curly braces in regexp.
18488
8afc772b
AC
184892001-06-28 Andrew Cagney <ac131313@redhat.com>
18490
18491 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18492 of files to delete.
18493
18494 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18495 * gdb.disasm/h8300s.exp: New file.
18496 gdb.disasm/h8300s.s: Likewise.
18497
cff22675
AC
184982001-06-27 Andrew Cagney <ac131313@redhat.com>
18499
18500 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18501 empty breakpoint tables.
18502
68c81b54
AC
185032001-06-25 Andrew Cagney <ac131313@redhat.com>
18504
18505 * lib/mi-support.exp: Update args=... part of stop-reason
18506 patterns. Accept either a list or a tuple.
18507
2dd62704
AC
185082001-06-23 Andrew Cagney <ac131313@redhat.com>
18509
18510 * lib/mi-support.exp: Remove local emacs variable defining
18511 change-log-default-name.
18512
b4127474
MC
185132001-06-22 Michael Chastain <chastain@redhat.com>
18514
18515 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18516 This is operationally compatible with the previous version.
18517
8dbfb380
JB
185182001-06-13 Jim Blandy <jimb@redhat.com>
18519
18520 * lib/gdb.exp (gdb_test): Doc fix.
18521
f2d8c86d
MC
185222001-06-10 Michael Chastain <chastain@redhat.com>
18523
18524 * gdb.base/exprs.exp: Remove a duplicate test.
18525
81564d34
JB
185262001-06-06 Jim Blandy <jimb@redhat.com>
18527
18528 * gdb.base/return2.exp (main): Use values to test float and double
18529 returns that are not NaN's, to avoid being confused by IEEE
18530 comparison rules.
18531
da55addb
MS
185322001-06-04 Michael Snyder <msnyder@redhat.com>
18533
18534 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 18535 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
18536 rather than wait for 12 more tests to time out.
18537
42c65987
JB
185382001-06-06 Jim Blandy <jimb@redhat.com>
18539
b18bced9 18540 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 18541 Don't forget to match the GDB prompt.
b18bced9 18542
42c65987
JB
18543 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18544
5b41e5f0
JB
185452001-06-04 Jim Blandy <jimb@redhat.com>
18546
18547 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18548 command.
18549
015e046f
KB
185502001-05-31 Kevin Buettner <kevinb@redhat.com>
18551
18552 * gdb.base/annota1.exp (info break): Match four or more spaces
18553 after "Address".
18554
fb1ffbbe
MC
185552001-05-31 Michael Chastain <chastain@redhat.com>
18556
18557 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18558 (dm_type_int_star): Likewise.
18559 (dm_type_long_star): Likewise.
18560 (dm_type_void_star): Likewise.
18561
5ea2a32c
KB
185622001-05-29 Kevin Buettner <kevinb@redhat.com>
18563
18564 * gdb.base/completion.exp (INPUTRC): Set this environment variable
18565 to a known value in order to get consistent results regardless
18566 of the setting of INPUTRC or the presence or contents of .inputrc.
18567
ae23c492
MS
185682001-05-24 Michael Snyder <msnyder@redhat.com>
18569
ac55707e
MS
18570 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18571 Don't require that the main thread and the manager thread are the
18572 first in the list.
18573
ae23c492
MS
18574 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18575 debugging. If test fails, issue an "unsupported" not a "fail".
18576
400071f1
JB
185772001-05-24 Jim Blandy <jimb@redhat.com>
18578
18579 Don't assume that short is shorter than int.
18580 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18581 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 18582 this isn't true.
400071f1
JB
18583 ("print unsigned char == (~0)"): Add test that verifies that ~0,
18584 an int, is not equal to ~0 stored in an unsigned char. This tests
18585 the same thing that the previous test meant to, but works on
18586 16-bit machines, too.
18587 ("print unsigned char != (~0)"): Same test, complemented.
18588
0816a3e5
MS
185892001-05-24 Michael Snyder <msnyder@redhat.com>
18590
18591 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 18592 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
18593 and prevents dejagnu getting out of step.
18594
f6dc23a9
KB
185952001-05-23 Kevin Buettner <kevinb@redhat.com>
18596
18597 * gdb.base/finish.exp (finish_void): Revise pattern for
18598 stopping on the call statement to not permit stopping at
18599 the start of the instructions comprising the call sequence.
18600
7dbd117d
MC
186012001-05-19 Michael Chastain <chastain@redhat.com>
18602
18603 * gdb.base/callfuncs.exp: Make all test names unique.
18604 * gdb.base/commands.exp: Make all test names unique.
18605 * gdb.base/condbreak.exp: Make all test names unique.
18606 * gdb.base/dbx.exp: Make all test names unique.
18607 * gdb.base/default.exp: Make all test names unique.
18608 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
18609 and TIMEOUT messages to their corresponding PASS message.
18610 * gdb.base/ending-run.exp: Make all test names unique.
18611 * gdb.base/long_long.exp: Remove duplicate test.
18612
6b0b0a9e
KB
186132001-05-21 Kevin Buettner <kevinb@redhat.com>
18614
18615 * gdb.base/finish.exp (finish_void): Allow "finish" command to
18616 stop on the call statement as well as the statement after the
18617 call.
18618
2caa35cb
MS
186192001-05-21 Michael Snyder <msnyder@redhat.com>
18620
18621 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18622
40713331
EZ
186232001-05-10 Elena Zannoni <ezannoni@redhat.com>
18624
a9c64011
AS
18625 * gdb.base/completion.exp: Revamp test. Make it execute on all
18626 platforms.
40713331 18627
c2c1be8d
EZ
186282001-05-10 Elena Zannoni <ezannoni@redhat.com>
18629
a9c64011
AS
18630 * config/gdbserver.exp (gdb_load): Handle the case
18631 in which the arguments to gdbserver are given in the
18632 baseboard configuration file.
18633 Also handle the case in which the server needs to do a
18634 load.
2c9cd303 18635
9671de48
KS
186362001-05-07 Keith Seitz <keiths@cygnus.com>
18637
a9c64011
AS
18638 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18639 set up the display for testing.
18640 (gdbtk_start): Convert all paths to paths that tcl will like.
18641 Export target information to environment.
18642 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18643 necessary.
18644 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18645 (to_tcl_path): New proc to convert a given pathname into
18646 a path acceptible as an argument to a tcl command.
18647 (_gdbtk_export_target_info): New proc to export target info
18648 into the environment for gdbtk testing.
18649 (gdbtk_done): New proc to signal end-of-test.
9671de48 18650
5a360f47
JB
186512001-05-06 Jim Blandy <jimb@redhat.com>
18652
18653 * restore.c: Make the code of caller0 correspond to its comment.
18654
66c756c6
MS
186552001-05-03 Michael Snyder <msnyder@redhat.com>
18656
18657 * config/sid.exp (gdb_target_sid): Check for error messages.
18658 On error or timeout, don't make expect exit (which will terminate
18659 all subsequent tests); instead just make gdb exit.
d63a86f8 18660 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
18661 return a negative value.
18662
a966fde5
JB
186632001-04-24 Jim Blandy <jimb@redhat.com>
18664
851c18e0
JB
18665 * gdb.c++/templates.exp: If we see the prompt for the overload
18666 list, but we haven't recognized any of the longer patterns,
18667 arrange for this test to fail, not hang.
18668
a966fde5
JB
18669 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18670 variations.
18671
db144853
MC
186722001-04-22 Michael Chastain <chastain@redhat.com>
18673
18674 * gdb.c++/local.exp: Use the 'runto' library function.
18675 * gdb.c++/namespace.exp: Likewise.
18676 * gdb.c++/overload.exp: Likewise.
18677
3207ec21
KB
186782001-03-26 Kevin Buettner <kevinb@redhat.com>
18679
18680 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18681 * gdb.base/step-line.exp: New file. Test step/next in presence of
18682 #line directives.
18683 * gdb.base/step-line.c: New file. Test program for the above.
18684 * gdb.base/step-line.inp: New file. We pretend that this file has
18685 been transformed by some other tool into step-line.c.
18686
13b57657
JB
186872001-03-21 Jim Blandy <jimb@redhat.com>
18688
18689 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18690 unmangled operator names.
18691
754cbe1c
JB
186922001-03-20 Jim Blandy <jimb@redhat.com>
18693
18694 * gdb.threads/linux-dp.exp: Recognize an additional message
18695 generated by GDB when it doesn't understand how to debug threads
18696 on the target system.
18697
177495c9
AC
186982001-03-19 Andrew Cagney <ac131313@redhat.com>
18699
18700 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18701
f266096b
MC
187022001-03-12 Michael Chastain <chastain@redhat.com>
18703
18704 * gdb.c++/derivation.exp: Use the 'runto' library function.
18705
cac3c2ff
MC
187062001-03-12 Michael Chastain <chastain@redhat.com>
18707
18708 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18709
b6c11a24
MC
187102001-02-24 Michael Chastain <chastain@redhat.com>
18711
18712 * gdb.c++/ref-types.exp: Change handwritten code to library
18713 function 'runto'.
18714
6bae5bce
OF
187152001-03-16 Orjan Friberg <orjanf@axis.com>
18716
18717 * gdb.base/signals.exp: Set count to 0 explicitly.
18718
0015fd9a
MS
187192001-03-15 Mark Salter <msalter@redhat.com>
18720
18721 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18722 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
18723 (gdb_load): Add support for additional target_info: gdb_download_size
18724 and gdb_load_timeout.
0015fd9a 18725
fc33412a
DT
18726Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
18727
18728 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
18729 file -- to prevent failing when the compile fails but we have no
18730 intention of running the tests anyway.
fc33412a
DT
18731
18732 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18733 tests if set.
18734
18735 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 18736 integers.
fc33412a
DT
18737
18738 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18739 * gdb.c++/namespace.exp: Ditto.
18740
115f06de
OF
187412001-03-07 Orjan Friberg <orjanf@axis.com>
18742
18743 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18744 * gdb.base/pointers.exp: Relax pattern match of decimals.
18745
b6ba6518
KB
187462001-03-06 Kevin Buettner <kevinb@redhat.com>
18747
18748 * Makefile.in, config/abug.exp, config/cfdbug.exp,
18749 config/cpu32bug.exp, config/dve.exp, config/est.exp,
18750 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18751 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18752 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18753 config/sh.exp, config/sid.exp, config/slite.exp,
18754 config/sparclet.exp, config/udi.exp, config/unknown.exp,
18755 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18756 config/vxworks.exp, config/vxworks29k.exp,
18757 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18758 gdb.base/all-bin.exp, gdb.base/annota1.exp,
18759 gdb.base/arithmet.exp, gdb.base/assign.exp,
18760 gdb.base/async.exp, gdb.base/attach.exp,
18761 gdb.base/bitfields.exp, gdb.base/bitops.exp,
18762 gdb.base/break.exp, gdb.base/call-ar-st.exp,
18763 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18764 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18765 gdb.base/commands.exp, gdb.base/completion.exp,
18766 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18767 gdb.base/constvars.exp, gdb.base/corefile.exp,
18768 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18769 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18770 gdb.base/ending-run.exp, gdb.base/environ.exp,
18771 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18772 gdb.base/finish.exp, gdb.base/foll-exec.exp,
18773 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18774 gdb.base/funcargs.exp, gdb.base/help.exp,
18775 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18776 gdb.base/logical.exp, gdb.base/long_long.exp,
18777 gdb.base/maint.exp, gdb.base/mips_pro.exp,
18778 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18779 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18780 gdb.base/pointers.exp, gdb.base/printcmds.exp,
18781 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18782 gdb.base/regs.exp, gdb.base/relational.exp,
18783 gdb.base/remote.exp, gdb.base/reread.exp,
18784 gdb.base/restore.exp, gdb.base/return2.exp,
18785 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18786 gdb.base/selftest.exp, gdb.base/setshow.exp,
18787 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18788 gdb.base/sigall.exp, gdb.base/signals.exp,
18789 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18790 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18791 gdb.base/step-test.exp, gdb.base/structs.c,
18792 gdb.base/structs.exp, gdb.base/structs2.exp,
18793 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18794 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18795 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18796 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18797 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18798 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18799 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18800 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18801 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18802 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18803 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18804 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18805 gdb.fortran/types.exp, gdb.java/jmisc.exp,
18806 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18807 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18808 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18809 gdb.trace/circ.exp, gdb.trace/collection.exp,
18810 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18811 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18812 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18813 gdb.trace/report.exp, gdb.trace/save-trace.exp,
18814 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18815 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18816 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18817 notices.
18818
dc96c6c7 188192001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
18820
18821 * gdb.base/varargs.c (find_max_double): Fix printf format string:
18822 first arg is int not float.
18823
dc96c6c7 188242001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
18825
18826 * gdb.base/reread.exp: Unsupported for non-native targets;
18827 doesn't work for remote debugging.
18828
9b0c4aeb
FN
188292001-02-19 Fernando Nasser <fnasser@redhat.com>
18830
18831 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
18832 * gdb.base/ending-run.exp: Properly handle the BSP state when
18833 stepping past the end of main.
9b0c4aeb 18834
02aa71d5
MC
188352001-02-19 John Moore <jmoore@redhat.com>
18836
18837 * gdb.base/commands.exp (infrun_breakpoint_command_test):
18838 Converted HPUX fix for non-expected items following multiple
18839 step commands into general solution for all platforms.
18840
1fa449a4
MC
188412001-02-18 Michael Chastain <chastain@redhat.com>
18842
18843 * gdb.c++/classes.exp (do_tests): Change runto statements
18844 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18845 statements demangler agnostic.
18846 * gdb.c++/virtfunc.exp (do_tests): Likewise.
18847 (gdb_virtfunc_restart): Likewise.
18848
b2f9ec70
MC
188492001-02-14 Michael Chastain <chastain@redhat.com>
18850
18851 * gdb.c++/inherit.exp (do_tests): Change runto statements
18852 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18853 statements demangler agnostic.
18854
cf74b8ca
AC
18855Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
18856
18857 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
18858 ``continue to bkpt at common_routine in thread 2'' and ``stopped
18859 before calling common_routine 15 times'' tests.
cf74b8ca 18860
99f78f56
MC
188612001-02-11 Michael Chastain <chastain@redhat.com>
18862
18863 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18864 Helps the test script figure out which demangler is in use.
18865 (dm_type_foo_ref): Ditto.
18866 (dm_type_int_star): Ditto.
18867 (dm_type_long_star): Ditto.
18868 (dm_type_unsigned_int): Ditto.
18869 (dm_type_void): Ditto.
18870 (dm_type_void_star): Ditto.
99707966 18871 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
18872 Probe the gdb demangler and set variables to accommodate
18873 formatting differences.
18874 (info_func_regexp): New function. Same as info_func, but
18875 matches against a regexp.
18876 (info_func): Match against a literal string.
18877 (print_addr_2): New function. Match against a literal string,
18878 which can be different from the input to gdb.
18879 (print_addr): Simply call print_addr_2 with the same argument twice.
18880 (test_lookup_operator_functions): Use demangler formatting variables.
18881 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
18882 the tests in the same order as the C++ class declaration.
18883 (test_paddr_operator_functions): Ditto.
18884 (test_paddr_overloaded_functions): Ditto.
18885 (test_paddr_hairy_functions): Use demangler formatting variables.
18886 Add reference to gdb/19 for related tests.
18887 (do_tests): Call probe_demangler.
18888
1de8f023
KB
188892001-01-30 Kevin Buettner <kevinb@redhat.com>
18890
18891 * gdb.c++/templates.cc (printf): Remove unused function definition.
18892
ca3f91ed
MS
188932001-01-26 Felix Lee <flee@redhat.com>
18894
18895 * sid.exp (sid_exit): Pass host, not target, to remote_close.
18896
188972001-01-25 matthew green <mrg@redhat.com>
18898
18899 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18900 up sid.
18901 (sid_exit): Call `remote_pop_conn' after GDB is gone.
18902
189032001-01-25 matthew green <mrg@redhat.com>
18904
18905 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 18906 Deprecate $sid_spawn_id.
ca3f91ed
MS
18907 (sid_exit): Remove code necessary only for `spawn.'
18908
189092001-01-25 matthew green <mrg@redhat.com>
18910
18911 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18912
fb18ec4a
MC
189132001-01-28 Michael Chastain <chastain@redhat.com>
18914
18915 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18916 to call when tests fail. It takes gdb out of the overloaded
18917 function choice menu back to the main prompt, so that the test
18918 program stays synchronized.
18919 (set_bp_overloaded): New proc to collect all the common
18920 code for setting a breakpoint on an overloaded name. Calls
18921 take_gdb_out_of_choice_menu when needed.
18922 (menu_overload1arg): New variable to collect the repeated
18923 instances of the expected menu for an overloaded name. Change
18924 the regular expression to handle changes in g++ type encoding:
18925 "void" can be either "void" or "", and "unsigned int" can be
18926 either "unsigned int" or "unsigned".
18927 (continue_to_bp_overloaded): Change regular expressions to handle
18928 changes in g++ type encoding.
18929 (no proc): Call take_gdb_out_of_choice_menu when needed.
18930 Remove redundant calls to "info break". Accept either "canceled"
18931 or "cancelled". Change regular expressions in "info break"
18932 calls to handle changes in g++ type encoding. Give all tests
18933 unique strings.
18934
9c646a6e
BE
189352001-01-17 Ben Elliston <bje@redhat.com>
18936
18937 * config/sid.exp: New file.
18938
9549d9c1
AC
18939Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
18940
18941 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
18942
dc96c6c7 189432000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
18944
18945 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
18946 Add a RE to accept a non-ascii char if one is ever presented.
18947
b4df4f68
FN
189482000-12-20 Fernando Nasser <fnasser@redhat.com>
18949
297dd0fd 18950 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 18951
dc96c6c7 189522000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 18953
d63a86f8 18954 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
18955 in regexp. One '\' does not suffice on Linux.
18956
4a7bddb6
MC
189572000-12-09 Michael Chastain <chastain@redhat.com>
18958
18959 * gdb.base/break.exp (test_clear_command): Use a marker function
18960 rather than 'main' for the test function. Also move this
18961 test to an execution point where the marker function names are
18962 guaranteed to be bound to functions. (Executing tests after a
18963 'finish' from main runs into name conflicts with local names
18964 in __libc_start_main).
18965
dc96c6c7 189662000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
18967
18968 * gdb.base/finish.exp: New test for gdb's "finish" command.
18969 * gdb.base/return2.exp: New test for gdb's "return" command.
18970 * gdb.base/return2.c: New source file for above.
18971
dc96c6c7 189722000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
18973
18974 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
18975 * gdb.base/miscexprs.exp: Ditto.
18976 * gdb.base/pointers.exp: Ditto.
18977 * gdb.c++/derivation.exp: Ditto.
18978 * gdb.c++/local.exp: Ditto.
18979 * gdb.c++/namespace.exp: Ditto.
18980 * gdb.c++/overload.exp: Ditto.
18981 * gdb.c++/ref-types.exp: Ditto.
18982
dc96c6c7 189832000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
18984
18985 * gdb.base/constvars.exp: Test result of "up" command.
18986 * gdb.base/miscexprs.exp: Ditto.
18987 * gdb.base/pointers.exp: Ditto.
18988 * gdb.base/scope.exp: Ditto.
18989 * gdb.c++/derivation.exp: Ditto.
18990 * gdb.c++/local.exp: Ditto.
18991 * gdb.c++/namespace.exp: Ditto.
18992 * gdb.c++/overload.exp: Ditto.
18993 * gdb.c++/ref-types.exp: Ditto.
18994
44097287
FN
189952000-11-22 Michael Chastain <chastain@redhat.com>
18996
18997 * mips_pro.exp: Accept either "middle -> top -> main" or
18998 "middle -> main" in the backtrace, because gcc can optimize
18999 tail calls to jumps. Remove setup_xfail for the hppa case.
19000 Add a comment with the original warning messages from PR 3016,
19001 which was filed in 1993, to preserve them for posterity.
19002
9d2e1bab
ND
190032000-11-17 Nick Duffek <nsd@redhat.com>
19004
19005 * lib/gdb.exp (gdb_test): Override timeout with board info.
19006
1aca8eb7
ND
190072000-11-17 Nick Duffek <nsd@redhat.com>
19008
19009 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19010 the second kill and detach messages.
19011
93076499
ND
190122000-11-17 Nick Duffek <nsd@redhat.com>
19013
19014 * configure.in: Add AC_EXEEXT.
19015 * configure: Regenerate.
19016 * Makefile.in (just-check): Export EXEEXT.
19017 * lib/gdb.exp ($EXEEXT): Import from environment.
19018 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19019 expect "maint dump-me" on Cygwin.
19020 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19021 $EXEEXT.
19022
30e87cd3
ND
190232000-11-17 Nick Duffek <nsd@redhat.com>
19024
19025 * gdb.base/break.exp: Test backtrace and finish from called
19026 function on all platforms, not just HP-UX.
19027
dc96c6c7 190282000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19029
19030 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19031 code from gdb_target_monitor, so it can be used independantly
19032 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19033
dc96c6c7 190342000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19035
19036 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19037 * gdb.base/corefile.exp: Expect the message "Program is being
19038 debugged already" when we send the "corefile" command, since
19039 the preceeding gdb_load may have connected gdb to a remote target.
19040 * gdb.base/display.exp: Disable hardware watchpoints if new
19041 board info variable "no_hardware_watchpoints" is true.
19042 Replace single-letter commands with more readable ones.
19043 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19044 if new board info variable "no_hardware_watchpoints" is true.
19045 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19046 to see if stdio (printf) testing is possible.
19047 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19048 board info variable "no_hardware_watchpoints" is true. Use new
19049 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19050
39124dea
FN
190512000-11-13 Fernando Nasser <fnasser@redhat.com>
19052
19053 From Orjan Friberg <orjanf@axis.com>:
19054 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19055 in array print pattern match.
19056
a9e2e984
FN
190572000-11-09 Fernando Nasser <fnasser@redhat.com>
19058
19059 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19060 spelling "cancelled" to U.S. spelling "canceled" to match changes
19061 made to gdb.
19062 * gdb.c++/ovldbreak.exp: Ditto.
19063
c7db355b
PS
190642000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19065
19066 * gdb.base/callfuncs.c (main): Moved to end of file, call
19067 t_double_values to initialize the FPU before inferior calls are made.
19068 * gdb.base/callfuncs.exp: Test for register preservation after calling
19069 inferior functions. Add tests for continuining, finishing and
19070 returning from a stop in a call dummy.
19071
dc96c6c7 190722000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19073
19074 * gdb.base/commands.exp: Break up long lines, and re-indent.
19075
dc96c6c7 190762000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19077
19078 * config/gdbserver.exp: Rewritten from the ground up, to make it
19079 compatible with the current dejagnu tree, and to make it work with
19080 the new "gdbserver" in libremote.
19081
dc96c6c7 190822000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19083
19084 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19085 * gdb.base/varargs.exp: Skip entire test if no printf support.
19086 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19087 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19088
dc96c6c7 190892000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19090
19091 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19092 no floating point support.
19093 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19094 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19095 * gdb.base/call-rt-st.exp: Ditto.
19096 * gdb.base/call-strs.exp: Ditto.
19097
bac5fc66
JG
190982000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19099
19100 * gdb.base/sizeof.c: include <stdio.h>.
19101
19102 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19103 'finish', otherwise uncaptured gdb_prompt would potentially
19104 throw remaining test points out of sync.
bac5fc66 19105
b22a6027
SB
191062000-07-26 Scott Bambrough <scottb@netwinder.org>
19107
19108 * gdb.base/recurse.exp: Run tests for all targets.
19109 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19110 gnu-oldld case on ARM.
19111 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19112 for ARM targets.
d63a86f8 19113
d8231941
AG
19114Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19115
19116 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19117 * gdb.java/configure: Rebuild.
19118
8caabe69
AG
19119Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19120
19121 * gdb.java/jv-exp.exp: New file.
19122
9d273ca3
AG
19123Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19124
19125 * configure: Rebuilt.
19126 * configure.in (configdirs): Add gdb.java.
19127 * gdb.java/jmisc.java: New file.
19128 * gdb.java/jmisc.exp: New file.
19129 * gdb.java/Makefile.in: New file.
19130 * gdb.java/configure: Rebuilt.
19131 * gdb.java/configure.in: New file.
19132 * lib/java.exp: New file.
19133
4f823a66
AC
19134Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19135
19136 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19137 underflow.
4f823a66 19138
2391e11d
AC
19139Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19140
19141 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19142 and the compilers sizes.
2391e11d 19143
54602222
ND
191442000-07-09 Nick Duffek <nsd@redhat.com>
19145
19146 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19147 (use_methods): New function.
19148 (main): Call use_methods().
19149 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19150 (do_tests): Call test_method_param_class.
19151
2bec0572
ND
191522000-07-09 Nick Duffek <nsd@redhat.com>
19153
19154 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19155 spelling.
19156 (test_enums): New procedure. Move enum tests from end of script
19157 to here. Set breakpoint on function name instead of line number.
19158 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19159 (enums2): New marker function.
19160 (enums1): New function.
19161 (main): Call enums1(). Move enum tests to enums1().
19162
78492fde
AC
19163Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19164
19165 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19166 compile/link program. Update line numbers.
78492fde
AC
19167 * gdb.asm/d10v.inc: Define ``startup''.
19168 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19169
49a2cef8
AC
19170Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19171
19172 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19173
3e6c8688
EZ
191742000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19175
19176 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19177 of 'help maint print' command.
3e6c8688 19178
9ff5cbe9
AC
19179Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19180
19181 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19182 they use gdb_expect_list.
9ff5cbe9 19183
17c579bd
AC
19184Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19185
19186 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19187 memory-read-packet-size'' instead of ``set endian big'' to test
19188 long commands.
17c579bd 19189
e6d71bf3
DB
191902000-06-03 Daniel Berlin <dan@cgsoftware.com>
19191
19192 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19193 g++, and stop skipping them.
e6d71bf3
DB
19194
19195 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19196 work under g++.
19197
d63a86f8 19198 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19199 initialization.
19200
dc96c6c7 192012000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19202
19203 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19204 the regular expression: accept an (almost) arbitrary sequence of
19205 "frames-invalid" and "breakpoints-invalid" messages both before
19206 and after the "starting" message.
19207
dc96c6c7 192082000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19209
19210 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19211
dc96c6c7 192122000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19213
19214 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19215 Relax the regular expression a little, make it pass on Solaris 8.
19216
8216cda9
KB
192172000-05-12 Kevin Buettner <kevinb@redhat.com>
19218
19219 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19220 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19221 Instead, it is permissible for gdb to stop on the line of the
19222 call itself.
19223
1a570b2f
MS
192242000-05-12 Michael Snyder <msnyder@.cygnus.com>
19225
19226 * gdb.base/break.exp (bp on small function, optimized file):
19227 Add a second pass pattern. The behavior differs here between stabs
19228 and dwarf for one-line functions. Stabs preserves two line symbols
19229 (one before the prologue and one after) with the same line number,
19230 but dwarf regards these as duplicates and discards one of them.
19231 Therefore the address after the prologue (where the breakpoint is)
19232 has no exactly matching line symbol, and GDB reports the breakpoint
19233 as if it were in the middle of a line rather than at the beginning.
19234
dc96c6c7 192352000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 19236
d63a86f8 19237 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
19238 rather than "send_gdb" (for consistancy).
19239
7d418785
AC
19240Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19241
19242 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19243 * gdb.c++/templates.cc: Properly check for GCC version number.
19244 * lib/compiler.cc: Likewise
19245
dc96c6c7 192462000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 19247
d63a86f8 19248 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
19249 gdb may not stop at the first line of main, due to code motion.
19250
dc96c6c7 192512000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
19252
19253 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19254 This test depends on parsing the printf output from the target.
19255 Since the sparclet stub doesn't do stdio, this will never work.
19256 * gdb.base/call-rt-st.exp: ditto.
19257 * gdb.base/call-strs: ditto.
19258
dc96c6c7 192592000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
19260
19261 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19262
19263 * gdb.base/ending-run.exp: After connecting to a remote target,
19264 but before running, the target will appear to be in a random
19265 location. Specify both a file and a line for breakpoints.
19266 Also, the function that calls main may be called 'init'
19267 rather than 'start'.
19268
a5a51225
EZ
192692000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19270
19271 * gdb.base/help.exp: Update output for add-symbol-file command.
19272
7930cc7c
FN
192732000-04-10 Fernando Nasser <fnasser@cygnus.com>
19274
19275 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19276 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19277
23e37ab1
C
192782000-04-07 J.T. Conklin <jtc@redback.com>
19279
e93c542c
C
19280 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19281
23e37ab1
C
19282 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19283
591b8fa3
PDM
19284Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19285
19286 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 19287 values that can be represented exactly.
591b8fa3
PDM
19288 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19289 above change, and to not check against the directory part of the source
19290 file name.
19291 (step into print_long_arg_list): Likewise.
19292 (print print_small_structs from print_long_arg_list): Likewise.
19293 (print print_long_arg_list): Likewise.
19294
7a495180
EZ
192952000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19296
30b53638 19297 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 19298
beb998c6
AC
19299Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19300
19301 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19302
1c689132
DB
193032000-03-25 Daniel Berlin <dan@cgsoftware.com>
19304
19305 * gdb.base/commands.exp (deprecated_command_test): Add test for
19306 deprecate with no arguments.
19307
c1790a9d
JL
193082000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19309
19310 * gdb.base/break.exp: Add new test for setting breakpoints on
19311 optimized code so we can test breakpoints work even when function
19312 prologues may be optimized away
19313
003ba290
FN
193142000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19315
19316 From David Whedon <dwhedon@gordian.com>
a9c64011 19317 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 19318
6837a0a2
DB
193192000-03-22 Daniel Berlin <dan@cgsoftware.com>
19320
19321 * gdb.base/help.exp: Added test for new apropos command.
19322
b9593231
KB
193232000-03-21 Kevin Buettner <kevinb@redhat.com>
19324
19325 * gdb.base/pointers.c (usevar): New function.
19326 (main): Make sure that global variables v_int_pointer2, rptr,
19327 and y are all referenced someplace in the program by calling
19328 usevar() on them. [Some linkers delete symbols which are
19329 never referenced. The space remains, but there's no way to
19330 get a (symbolic) handle on the variable from the debugger.]
19331
751a959b
EZ
193322000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19333
19334 * gdb.base/printcmds.c: Add typedeffed arrays.
19335
19336 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 19337 procedure to test arrays that are typedef'd.
751a959b 19338
73a93a32
JI
193392000-03-13 James Ingham <jingham@leda.cygnus.com>
19340
19341 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 19342 the library directories.
73a93a32 19343
fb40c209
AC
19344Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19345
19346 * configure.in (configdirs): Add sub directory gdb.mi.
19347 * configure: Re-generate.
19348
19349 * gdb.mi: New directory.
d63a86f8 19350
ee4dd2c9
AC
193512000-02-25 Scott Bambrough <scottb@netwinder.org>
19352
19353 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 19354 a long long value as a double on ARM platforms.
ee4dd2c9 19355
70f0cc22
JB
193562000-02-16 Jim Blandy <jimb@redhat.com>
19357
19358 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19359 default source file is set properly before running this test.
19360
853819b8
EZ
193612000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19362
19363 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 19364 gdbtk/library directory, not in gdbtcl2.
853819b8 19365
dfcd3bfb
JM
193662000-02-04 Jim Blandy <jimb@redhat.com>
19367
19368 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19369 backslash from regexp pattern.
19370
19371 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19372 procedure. Use it to run all the "continue to bp overloaded"
19373 tests. Note that this changes the names of the tests slightly.
19374 If the breakpoint hit message includes a hex PC value, because
19375 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19376 from the real source code, still consider that a pass.
19377
19378 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19379 XFAIL here if the breakpoint message contains a hex address. Note
19380 similar change on 1999-11-02.
19381
19382 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19383
19384 * gdb.base/ptype.exp: Establish a default source file before
19385 calling get_debug_format.
19386
193872000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19388
19389 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19390
8b93c638
JM
193912000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19392
19393 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19394 of successive stepi commands -- while in the prologue we should see
19395 the function entry bracket.
19396
193972000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19398
19399 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19400 reach __change_mode() when stepping through the end of main().
19401
c5394b80
JM
194022000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
19403
19404 * gdb.base/default.exp: Fix expected pattern.
19405 * gdb.base/help.exp: Same.
19406
0d06e24b
JM
194072000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19408
19409 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 19410 Don't use xfail's because that affects only the following test.
d63a86f8 19411
0d06e24b 19412 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 19413 solaris or linux.
0d06e24b
JM
19414
19415 * gdb.base/selftest.exp: Update to reflect changes to main.c.
19416
dc96c6c7 194172000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 19418
d63a86f8 19419 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
19420 "A syntax error" rather than "A parse error". Accept both.
19421
194222000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
19423
19424 * gdb.base/default.exp: Remove OS dependent string from "target
19425 remote" test.
19426 * gdb.base/help.exp: Same for "help target remote" test.
19427
c3f6f71d
JM
194282000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19429
19430 From Jim Kingdon <kingdon@redhat.com>:
19431
19432 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
19433 prompt (cleanup rather than necessity, but still might keep output
19434 from spilling to next test).
c3f6f71d
JM
19435
194362000-01-02 Fred Fish <fnf@cygnus.com>
19437
19438 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19439 AIX, which defines them in <sys/types.h>.
19440
ed9a39eb 194411999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 19442
ed9a39eb 19443 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 19444 float" test.
ed9a39eb
JM
19445
194461999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 19447
ed9a39eb 19448 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
19449
19450 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19451 outermost frame disallowed".
19452
194531999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
19454
19455 * gdb.base/setvar.exp: New tests for setting the value of a struct
19456 with a constant list.
19457
194581999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19459
19460 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19461 require the user to type a cast before setting the value of a struct.
19462
de57eccd
JM
194631999-12-06 Jim Blandy <jimb@cygnus.com>
19464
19465 * gdb.base/default.exp: Expect the new 'info float' command on
19466 all i386 platforms.
19467
19468 * gdb.threads/linux-dp.exp: Expand our ability to recognize
19469 LinuxThreads libraries that don't support debugging.
19470
c2d11a7d
JM
19471Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19472
19473 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
19474 Change the buffer type to ``unsigned char'' to simplify size
19475 arithmetic.
c2d11a7d
JM
19476
19477 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
19478 stub only handles 400-1 byte packets. Verify that the download
19479 worked.
c2d11a7d
JM
19480
194811999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
19482
19483 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19484 tests, using UNRESOLVED for the untested cases. Also, does not wait
19485 for a timeout if the prompt was received before a recognizable pattern.
19486
194871999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
19488
19489 * lib/gdb.exp (gdb_expect_list): Fix spelling.
19490
194911999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19492
19493 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 19494 watchpoints.
c2d11a7d
JM
19495
194961999-11-24 Jason Merrill <jason@casey.cygnus.com>
19497
19498 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19499
19500 * gdb.c++/local.exp: Be more flexible in recognizing local class
19501 name mangling. Don't allow horribly truncated method names.
19502 * gdb.c++/derivation.exp: Expect protected inheritance.
19503 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19504 * gdb.c++/virtfunc.exp: Likewise.
19505 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
19506 when printing a nested enum.
19507
195081999-11-22 Jim Blandy <jimb@cygnus.com>
19509
19510 * gdb.base/step-test.exp: Properly await GDB's response to setting
19511 a breakpoint on the call to large_struct_by_value.
19512
19513 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19514 just because we have debug info for the `start' function.
19515
195161999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
19517
19518 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19519 "Unknown signal" messages, which indicate (on LinuxThreads) that
19520 GDB doesn't know how to debug threads on this system. This is
19521 better than hanging while philosopher 0 dumps chatter into gdb.log.
19522
195231999-11-18 Tom Tromey <tromey@cygnus.com>
19524
19525 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19526
195271999-11-18 Fred Fish <fnf@cygnus.com>
19528
19529 * gdb.base/coremaker2.c: Add sample program for generating
19530 cores that is more self contained than coremaker.c. Eventually
19531 I'll add more code to this and tie it into the testsuite.
19532
4ce44c66
JM
195331999-11-12 Stan Shebs <shebs@andros.cygnus.com>
19534
19535 * gdb.base/dollar.exp: Remove, now in gdb.hp.
19536
195371999-11-10 Jimmy Guo <guo@cup.hp.com>
19538
19539 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 19540 from $srcdir/lib/.
4ce44c66 19541 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 19542 and gdb.c++/.
4ce44c66
JM
19543
19544 * gdb.c++/derivation.exp: remove redundant get compiler info code.
19545
d63a86f8 19546 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
19547 'continue with watch' test point.
19548
195491999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
19550
19551 Merged from p2linux-990323-branch:
d63a86f8 19552
4ce44c66
JM
19553 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19554
11cf8741
JM
19555Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
19556
19557 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 19558 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
19559
19560Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
19561
19562 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 19563 gdb_expect_list.
11cf8741
JM
19564
19565Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
19566
19567 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19568
195691999-11-03 Mark Salter <msalter@cygnus.com>
19570
19571 * gdb.base/break.exp: Fix "stub continue" pattern.
19572
195731999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
19574
19575 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19576
195771999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
19578
19579 * gdb.base/display.exp ("finish"): Add timeout clause.
19580
19581 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19582 plain prompt clause, so this doesn't have to time out in order to
19583 fail.
19584
19585 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 19586 breakpoint hit messages include an address.
11cf8741
JM
19587
19588 * gdb.base/display.exp: Don't forget to escape parens in regular
19589 expressions. Unix regexp notatation sucks.
19590
195911999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19592
19593 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 19594 order for 'signalled' message.
11cf8741 19595
5c44784c
JM
195961999-11-01 Stan Shebs <shebs@andros.cygnus.com>
19597
19598 From Jimmy Guo <guo@cup.hp.com>:
19599 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19600 * gdb.base/annota1.c: Add code for tests to work with.
19601
196021999-10-26 Frank Ch. Eigler <fche@cygnus.com>
19603
19604 * gdb.base/remote.exp: New test for remote downloading settings.
19605 * gdb.base/remote.c: New file with large .data.
19606
917317f4
JM
196071999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
19608
19609 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19610 for LinuxThreads support, merged from the Code Fusion branch.
19611
19612Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
19613
19614 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
19615 containing exp_continue into a while within an expect. Don't
19616 attempt a start more than three times. Check return value from
19617 gdb_load.
d63a86f8 19618
2df3850c
JM
19619Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
19620
19621 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 19622 a pass case.
2df3850c 19623
2acceee2
JM
196241999-10-01 Kevin Buettner <kevinb@cygnus.com>
19625
19626 * gdb.base/break.c (main): Added a statement that we can step
19627 off of.
19628 * gdb.base/break.exp: Added tests for setting a breakpoint
19629 at an offset and stepping onto a breakpoint.
19630
196311999-10-01 Fred Fish <fnf@cygnus.com>
19632
d63a86f8 19633 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
19634 gdb output.
19635
c2c6d25f
JM
196361999-09-18 Jim Blandy <jimb@cris.red-bean.com>
19637
19638 * gdb.base/break.exp: Code locations are in hex, don't forget!
19639 (For HP-UX.)
19640
196411999-09-17 Stan Shebs <shebs@andros.cygnus.com>
19642
19643 * condbreak.exp: Use break.c as test program.
19644 * condbreak.c: Remove, redundant with break.c.
19645
196461999-09-15 Stan Shebs <shebs@andros.cygnus.com>
19647
19648 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 19649 Z-packets if the target needs it.
c2c6d25f
JM
19650
196511999-09-13 James Ingham <jingham@leda.cygnus.com>
19652
19653 * gdb.c++/overload.exp: Added tests for listing overloaded
19654 functions with function pointers in the arg, explicitly calling
19655 out the version you want.
19656
cff3e48b
JM
196571999-09-09 Stan Shebs <shebs@andros.cygnus.com>
19658
19659 * long_long.exp: Add variations of test cases that work for
19660 targets with 16-bit ints and 32-bit doubles.
19661
d4f3574e
SS
196621999-09-08 Stan Shebs <shebs@andros.cygnus.com>
19663
19664 * break.c (main): Compare a possibly-uninitialized argc with an
19665 unlikely value that fits in 16 bits.
19666
196671999-09-07 Stan Shebs <shebs@andros.cygnus.com>
19668
19669 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19670 0xfeeb, don't want negative numbers if ints are 16 bits.
19671
19672 * lib/gdb.exp (skip_cplus_tests): New proc.
19673 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
19674 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19675 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19676 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19677 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19678 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19679 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19680 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
19681
19682 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19683
19684Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
19685
19686 * gdb.base/corefile.exp (up): Allow a parameter to appear
19687 in the frame that we're going up to.
19688
19689 From Jim Blandy <jimb@cygnus.com>:
19690
19691 * gdb.base/default.exp (info float): Expect some output now.
19692
19693 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19694 returning floating-point values to fail on the x86.
19695 * gdb.base/callfwmall.exp (do_function_calls): Same.
19696
19697 * gdb.base/list.exp (test_listsize): Correct expectations for
19698 listing line 1 with listsize 2. Also, listing a single line
19699 works now, as does listing three lines. [Kevin's note: There
19700 were a number of other cases fixed too where the expectations
19701 differed...]
19702
197031999-09-02 Stan Shebs <shebs@andros.cygnus.com>
19704
19705 * gdb.base/selftest.exp: Add case for when version prints as
19706 constant string instead of char pointer.
19707
104c1213
JM
197081999-08-25 Stan Shebs <shebs@andros.cygnus.com>
19709
19710 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 19711 stepping out of main.
104c1213
JM
19712
19713 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19714 G++ used.
19715
19716 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 19717 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
19718
19719 * gdb.c++/ovldbreak.exp: Update match string in test that
19720 includes a warning of multiple breakpoints.
19721
197221999-08-24 Stan Shebs <shebs@andros.cygnus.com>
19723
19724 * gdb.base/display.exp: Improve precision of step-after-finish
19725 added yesterday.
19726
19727 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 19728 test.
104c1213
JM
19729
19730 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19731 configs when using G++, not just hppa*.
19732
197331999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19734
19735 * gdb.base/async.c: New file.
19736 * gdb.base/async.exp: New file.
19737
19738Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
19739
19740 * gdb.base/break.exp: Tweak PA specific tests to properly handle
19741 PA64.
19742
53a5351d
JM
19743Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
19744
104c1213
JM
19745 * gdb.base/display.exp: "finish" can leave us mid-line on many
19746 targets, deal with it. Add a small constant to main, instead of
19747 1000 since main+1000 may not be a valid address in the target.
19748
53a5351d
JM
19749 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19750 on hpux11.
19751
19752 * gdb.base/attach.exp: Handle another hpux11 error message variant
19753 when attaching to a process that does not exist.
19754
197551999-08-19 J.T. Conklin <jtc@redback.com>
19756
19757 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 19758 characters in 'continue to 1241' test.
53a5351d
JM
19759
197601999-08-17 Stan Shebs <shebs@andros.cygnus.com>
19761
19762 * gdb.base/call-ar-st.exp: Add a shorter match case for the
19763 stop in print_long_arg_list, define and use a whitespace
19764 variable in print_small_structs test, add an XFAIL for Solaris.
19765 * gdb.base/dbx.exp: XFAIL func commands until somebody is
19766 interested enough to fix.
19767
7be570e7
JM
197681999-08-13 Keith Seitz <keiths@cygnus.com>
19769
19770 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19771 (dbx_gdb_load): Remove. Use gdb_load instead, since that
19772 proc knows about targets other than the natives.
19773 (test_assign): Use "gdb_run_cmd" to "run" the target.
19774 Check that we've actually hit the breakpoint at main.
19775 When we attempt to assign a value to a local variable, check
19776 that the variable is in the current scope, i.e., don't use
19777 a test with an empty result.
19778
19779Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
19780
19781 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 19782 command.
7be570e7
JM
19783
197841999-08-09 Stan Shebs <shebs@andros.cygnus.com>
19785
19786 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19787 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19788 gdb.compat, gdb.threads-hp.
19789 gdb.hp/configure, gdb.hp/configure.in: New files.
19790 gdb.hp/Makefile.in: Recurse into new subdirs.
19791 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19792 gdb.hp/gdb.objdbg: New directory, tests for debugging info
19793 in object files.
19794 gdb.hp/tools: New directory, aux tools for HP-specific tests.
19795
96baa820
JM
197961999-08-05 Stan Shebs <shebs@andros.cygnus.com>
19797
19798 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 19799 funky printf, remove a bogus p/a test.
96baa820
JM
19800
198011999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19802
19803 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
19804 connected to the target. This is necessary when running not
19805 natively.
96baa820
JM
19806
198071999-08-03 Stan Shebs <shebs@andros.cygnus.com>
19808
19809 * gdb.base/step-test.exp: Removed some extraneous messages.
19810
19811 * gdb.base/long_long.exp: Don't run memory examination tests
19812 on little-endian targets (they will need a different set of
19813 results to match).
19814
198151999-08-02 Stan Shebs <shebs@andros.cygnus.com>
19816
19817 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19818 until somebody decides to fix GDB.
19819
19820 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 19821 constant as "ULL".
96baa820
JM
19822 * gdb.base/long_long.exp: Loosen x/c test, add partial result
19823 matches for a couple x/2 commands.
19824
a0b3c4fd
JM
198251999-07-30 Stan Shebs <shebs@andros.cygnus.com>
19826
19827 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19828 by merging in ref-types2 tests.
19829 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19830
19831 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19832 * gdb.c++/Makefile.in: Add standard actions.
19833 (EXECUTABLES): Rename from PROGS, update list.
19834 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19835 from gdb.hp.
19836 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19837 foo and bar locals.
19838 * gdb.c++/anon-union.exp: Fix tests to match.
19839 * gdb.c++/classes.exp: Run if HP compiler used, add extra
19840 expect matches to handle output variations.
19841 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19842 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 19843 output, add HP alternatives for new and delete prints.
a0b3c4fd 19844 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 19845 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
19846 * gdb.c++/demangle.exp: Use $style when reporting failure.
19847 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19848 * gdb.c++/inherit.exp: Run if HP compiler used, add some
19849 match alternatives.
19850 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 19851 compilers.
a0b3c4fd
JM
19852 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19853 * gdb.c++/method.exp: Add match alternatives.
19854 * gdb.c++/misc.cc: Add bool types.
19855 * gdb.c++/misc.exp: Add tests for bool types.
19856 * gdb.c++/overload.exp: Add xfails.
19857 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19858 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19859 add some more template parameter tests (only for HP currently).
19860 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19861 * gdb.c++/virtfunc.cc: Add return type and value for main.
19862 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19863 match alternatives.
d63a86f8 19864
a0b3c4fd
JM
198651999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19866
19867 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19868
198691999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
19870
19871 * gdb.base/signals.exp: Don't expect getting a backtrace from
19872 within a signal handler to fail on Linux.
19873
198741999-07-29 Stan Shebs <shebs@andros.cygnus.com>
19875
19876 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19877 * lib/gdb.exp: Remove some gratuitious semicolons.
19878 (delete_breakpoints): Increase timeout.
19879 (gdb_expect): Add -notransfer option.
19880 (gdb_test): Use -notransfer option.
19881 (get_compiler_info): Add f77 case.
19882 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 19883 case.
a0b3c4fd
JM
19884 (gdb_preprocess): Call get_compiler.
19885
19886 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19887 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
19888 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19889 gdb.base/long_long.exp, gdb.base/printcmds.exp,
19890 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19891 third arg to gdb_test.
a0b3c4fd
JM
19892 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19893 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 19894 HP-UX xfails, add others.
a0b3c4fd
JM
19895 * gdb.base/completion.exp: Reflect name change of self-test.
19896 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
19897 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19898 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19899 HP failure number.
a0b3c4fd
JM
19900 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19901 useless HP-UX 10.30 references.
19902 * gdb.base/maint.exp: Loosen matches.
19903 * gdb.base/pointers.c (main): Declare more_code.
19904 * gdb.base/pointers.exp: Match on output of a `next'.
19905 * gdb.base/structs.c: Add prototypes.
19906 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19907 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19908
199091999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19910
19911 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 19912 command.
a0b3c4fd
JM
19913
199141999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19915
19916 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19917 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
19918
19919 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
19920 debug info. Deal with lack of signal hanlder info in stack.
19921
a9c64011 19922 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
19923 * gdb.base/annota1.exp: If printf has debug info, deal with it.
19924
5a2468f5
JM
199251999-07-19 Stan Shebs <shebs@andros.cygnus.com>
19926
19927 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 19928 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 19929
adf40b2e
JM
19930Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19931
19932 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 19933 a1-selftest.exp.
adf40b2e
JM
19934 * gdb.base/configure: Re-generate.
19935
199361999-07-12 Stan Shebs <shebs@andros.cygnus.com>
19937
19938 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
19939 in trying to run first and name is too long.
19940
19941 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
19942 pointers2.c and pointers2.exp, respectively.
19943 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
19944 doschk happier.
19945
43e526b9
JM
199461999-07-08 Stan Shebs <shebs@andros.cygnus.com>
19947
19948 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
19949 callfuncs2.c and callfuncs2.exp.
19950
19951 * gdb.base/list.exp: Remove mistaken xfails.
19952 * gdb.base/list0.h: Add optional prototypes.
19953
9846de1b
JM
19954Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
19955
a9c64011 19956 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 19957 calling malloc.
a9c64011
AS
19958 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
19959 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 19960 use.
9846de1b
JM
19961
199621999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19963
19964 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
19965 * gdb.base/annota2.cc, annota2.exp: Move from here.
19966 * gdb.c++/annota2.cc, annota2.exp: To here.
19967 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
19968
43ff13b4
JM
19969Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
19970
19971 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 19972 a consistent format.
43ff13b4 19973
085dd6e6
JM
199741999-06-25 Stan Shebs <shebs@andros.cygnus.com>
19975
19976 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19977 * lib/gdb.exp (get_compiler_info): Add detection for assorted
19978 HP compilers, also set the globals $true and $false.
19979
19980 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
19981 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
19982 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
19983 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
19984 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
19985 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
19986 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
19987 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
19988 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
19989 whatis.c} Add C++ compatible function definitions and return
19990 types, add includes for library functions.
085dd6e6
JM
19991 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
19992 * gdb.base/step-test.c (myglob): Rename from glob.
19993 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
19994 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
19995 files, move here from gdb.hp.
085dd6e6 19996 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
19997 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
19998 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
19999 Adjust line numbers in regexps.
085dd6e6
JM
20000
20001 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20002 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20003 instead of 0/1.
20004
20005 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20006 foll-vfork.exp: New files, move here from gdb.hp.
20007 * gdb.base/page.exp: New file, test of pagination command.
20008
20009 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20010 recursion test.
20011 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20012
20013 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20014 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20015
20016 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20017 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20018 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20019 watchpoint test.
085dd6e6
JM
20020 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20021 them work.
20022 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20023 expressions properly.
20024 * gdb.base/corefile.exp: Loosen the match slightly.
20025 * gdb.base/default.exp: Allow "Error accessing memory" message
20026 also.
20027 * gdb.base/display.exp: Skip over x/0 j if PA64.
20028 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20029 * gdb.base/interrupt.exp: Ditto.
20030 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20031 in use.
20032 * gdb.base/list.exp: Add xfails for HP-UX.
20033 * gdb.base/long_long.exp: Refine some of the numeric matches.
20034 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20035 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20036 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20037 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20038 * gdb.base/ptype.exp: Succeed on more varieties of output.
20039 * gdb.base/scope.exp: Add xfails for HP-UX.
20040 * gdb.base/sect-cmd.exp: Add more cases.
20041 * gdb.base/setvar.exp: Add xfails for HP-UX.
20042 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20043 * gdb.base/signals.exp: Match on void symbolically.
20044 * gdb.base/step-test.exp: Add case for PA64.
20045 * gdb.base/term.exp: Add exit and restart.
20046 * gdb.base/twice.exp: Clean up after self.
20047 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20048 * gdb.base/whatis.exp: Allow more ways to pass tests.
20049
20050 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20051 no longer useful.
085dd6e6
JM
20052
20053Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20054
20055 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20056 list of patterns.
085dd6e6 20057 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20058 print_double_array(double_array)", "continuing to breakpoint
20059 1018", "print print_double_array(array_d)" and "continuing to
20060 1034" tests.
d63a86f8 20061
085dd6e6
JM
200621999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20063
a9c64011 20064 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20065
200661999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20067
20068 * config/mt-*: Remove, these haven't been used since 1996.
20069
200701999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20071
20072 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20073 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20074 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20075
9e0b60a8
JM
200761999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20077
20078 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20079 simpler match case for the ptype of the big class.
20080
200811999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20082
20083 * gdb.exp: Fix test for gdb_prompt existence.
20084
200851999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20086
20087 * gdb.exp (gdb_test): Add fail after calls to perror.
20088
200891999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20090
20091 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20092
200931999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20094
20095 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20096
0f71a2f6
JM
20097Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20098
20099 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20100 malloc() is linked in.
0f71a2f6
JM
20101
201021999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20103
20104 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20105 step at end.
20106
20107 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20108
201091999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20110
20111 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20112
cce74817
JM
20113Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20114
20115 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20116 * gdb.base/mips_pro.exp: Likewise.
20117
201181999-06-02 Keith Seitz <keiths@cygnus.com>
20119
20120 * gdb.c++/templates.cc: Change all "new" operators to throw
20121 an exception.
20122 * gdb.c++/cplusfuncs.cc: Likewise.
20123
20124 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20125
20126Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20127
20128 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20129 * gdb.base/ending-run.exp: When stepping out of main, accept a
20130 step into an arbitrary assembler file.
cce74817 20131
392a587b
JM
201321999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20133
d63a86f8 20134 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20135 "breakpoint-invalid" to be printed.
d63a86f8 20136 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20137 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20138 * gdb.base/annota2.cc: Initialize a.x to 0.
20139
9e086581
JM
201401999-05-17 Keith Seitz <keiths@cygnus.com>
20141
20142 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20143 when "skip_float_tests" set.
20144 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20145 "print print_ten_doubles", and "step into print_long_arg_list".
20146 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20147 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20148 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20149 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20150 "skip_float_tests" is set.
20151 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20152 when "skip_float_tests" set.
d63a86f8 20153
cd0fc7c3
SS
201541999-05-06 Keith Seitz <keiths@cygnus.com>
20155
20156 * gdb.base/annota2.cc: Include stdio.h.
20157
20158Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20159
20160 * gdb.base/crossload.exp: Remove, this has been disabled ever
20161 since BFD stopped including all targets, and cross-GDB gets
20162 plenty of testing anyway.
20163 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20164 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20165 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20166 * gdb.base/README: Remove, was doc for this.
20167 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20168 needed.
cd0fc7c3 20169
b83266a0
SS
201701999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20171
20172 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20173 output.
20174
20175 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20176 * gdb.base/annota2.exp: New file. More annotation tests.
20177 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20178 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20179
201801999-04-23 Angela Marie Thomas <angela@cygnus.com>
20181
20182 * config/cfdbug.exp: New file.
20183
7a292a7a
SS
201841999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20185
20186 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20187 Marcus Daniel's and Dale Hawkins's demangler crashes.
20188
20189 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20190 test_lucid_style_demangling, test_arm_style_demangling,
20191 test_hp_style_demangling): Try Tom Tromey's core-dumping
20192 identifier under each demangling style.
7a292a7a
SS
20193
201941999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20195
20196 * gdb.c++/demangle.exp: Include the current demangling style
20197 in all test names.
20198 (current_demangling_style): New global variable.
20199 (set_demangling_style, test_demangling_core, test_demangling,
20200 test_demangling_exact): New functions.
20201 (test_gnu_style_demangling, test_lucid_style_demangling,
20202 test_arm_style_demangling, test_hp_style_demangling): Use those,
20203 instead of calling gdb_test and gdb_test_exact directly.
20204 (catch_demangling_errors): New function, which reports errors
20205 signalled by the demangling test functions in an orderly way.
20206 (do_tests): Use catch_demangling_errors.
20207
202081999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20209
20210 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20211 grouping in expressions, not {}.
7a292a7a
SS
20212
20213 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20214 initialized yet.
7a292a7a
SS
20215
202161999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20217
20218 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20219 are listed.
20220
202211999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20222
20223 * gdb.stabs/weird.exp: Test for CC being defined before
20224 looking at its value.
20225
202261999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20227
20228 * gdb.base/call-ar-st.exp: Remove stray '#'.
20229 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20230 "short int" and "long int".
20231 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 20232 change, to mollify finicky HP compiler.
7a292a7a
SS
20233 * gdb.hp/reg-test.exp (testfile): Fix file name.
20234 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 20235
7a292a7a
SS
20236 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20237 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20238 alternate form of enum ptype.
20239
c906108c
SS
202401999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20241
7a292a7a
SS
20242 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20243 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
20244 passing skip_hp_tests, so as not to waste time on guaranteed
20245 failure.
7a292a7a 20246
c906108c
SS
20247 * gdb.c++/overload.cc: Pass string instead of char addr, always
20248 init ccpfoo.
20249 * gdb.c++/templates.cc: Fix syntax error.
20250
7a292a7a
SS
20251Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20252
20253 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 20254 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
20255 command.
20256
202571999-03-18 James Ingham <jingham@cygnus.com>
20258
20259 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20260
20261 * gdb.c++/method.exp: It was testing an uninitialized int on the
20262 stack and assuming it was positive.
20263
20264 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20265
20266 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 20267 keep it from killing the rest of the tests.
7a292a7a
SS
20268 Use gdb_continue_to_end.
20269
20270 * gdb.base/sigall.exp: use gdb_continue_to_end.
20271
20272 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20273
20274 * gdb.base/display.exp: use runto_main, not run.
20275
d63a86f8
RM
20276 * gdb.base/default.exp: Check for the current error message in the
20277 r abbreviation test.
7a292a7a
SS
20278 Add strongarm to the targets that know info float.
20279
d63a86f8 20280 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
20281 run which doesn't work with monitors.
20282
20283 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20284
20285 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20286
20287 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
20288 program. Traps the case (in Cygmon) when the program never really
20289 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
20290 more places, so I used my name. Sorry Mark...
20291
20292 * config/monitor.exp (gdb_target_monitor): added another
20293 target_info parameter: remotebinarydownload. This will set the
20294 remotebinarydownload flag if this is causing some boards trouble.
20295
202961999-03-18 Mark Salter <msalter@cygnus.com>
20297
20298 * lib/gdb.exp (continue_to_exit): New function.
20299
20300 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20301 * gdb.base/ending-run.exp: Ditto.
20302 * gdb.base/step-test.exp: Ditto.
20303
203041999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20305
20306 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20307 (suggested by Art Haas <ahaas@neosoft.com>).
20308
203091999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20310
889bf7c5 20311 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
20312
20313Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20314
20315 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 20316 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
20317
203181999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20319
20320 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20321 a call to strlen; sometimes we do have sources.
20322
203231999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
20324
20325 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 20326 character, so GDB won't print garbage after its end.
d63a86f8 20327
c906108c
SS
20328 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20329 breakpoint there instead. Sometimes GCC emits memcpy to handle
20330 the large structures being passed by value, so we step into that
20331 instead of sum_array_print, which obscures what we're really testing.
20332 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
20333 the bizarre steps into memcpy, so do that here. Add check for
20334 stepping into function calls that pass large structures by value.
20335 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
20336 Remove all references to specific line numbers.
20337 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20338 New type and function.
20339 (main): Call large_struct_by_value, passing it a large struct by value.
20340 * lib/gdb.exp (gdb_get_line_number): New function.
20341
20342 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20343 more portable.
20344
7a292a7a
SS
203451999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20346
c906108c
SS
20347 * lib/gdb.exp: Doc fixes.
20348
7a292a7a
SS
203491999-03-05 Nick Clifton <nickc@cygnus.com>
20350
d63a86f8 20351 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
20352
203531999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20354
c906108c 20355 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
20356 commands. They're not germane to this test, and they don't work
20357 that way on remote targets.
c906108c 20358
3fc11d3e
JM
203591999-03-01 James Ingham <jingham@cygnus.com>
20360
20361 * Changelog entries merged over from gdb development branch.
20362
3fc11d3e
JM
20363 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20364
20365 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20366 for outputting results of test run.
20367
2d4a1622 20368 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
20369
20370 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 20371
7a292a7a
SS
203721999-02-25 Felix Lee <flee@cygnus.com>
20373
20374 * lib/gdb.exp (debug_format): initialize
20375
c906108c
SS
203761999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20377
20378 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20379 * gdb.base/call-rt-st.c: Ditto.
20380
c906108c
SS
203811999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20382
20383 * gdb.threads/pthreads.exp (horiz): New variable.
20384 (test_startup): Fix regexps that capture thread numbers.
20385
203861999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20387
20388 * gdb.base/smoke.exp: Disambiguate two test case names (both
20389 called ``print'').
20390
20391Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20392
20393 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 20394 compilation.
c906108c
SS
20395
203961999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20397
20398 * gdb.base/miscexprs.exp: Change patterns to match GDB's
20399 actual output formatting.
20400 * gdb.base/smoke.exp: GDB removes leading 0's.
20401 * gdb.base/volatile.exp: Don't check type of remuneration;
20402 that variable is no longer defined in constvars.c.
20403 * gdb.base/step-test.c (main): Exit with explicit exit code.
20404 * gdb.base/step-test.exp: Remove two nexti checks--they are
20405 not portable.
20406
204071999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20408
20409 * gdb.base/help.exp ("help delete display"): Fix test to match
20410 gdb's output.
20411
20412 * gdb.base/long_long.c (known_types): Initialize values to zero.
20413 * gdb.base/long_long.exp: Step one more line
20414 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
20415 leading zeros. Explicitly ask for hex formatting. Use
20416 unique test case names.
c906108c
SS
20417
20418Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20419
d63a86f8 20420 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
20421
20422 * gdb.c++/method.exp: Add missing close brace.
20423
204241999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20425
20426 * gdb.base/maint.exp: Use 'set height 0' to disable page
20427 prompting, not 'set height 400'.
20428
20429 Fix a bunch of timeouts.
20430 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20431 four separate tests, so expect doesn't take forever to match a ton
20432 of text against a regexp with lots of .* forms.
20433 ("maint print psymbols", "maint print symbols"): Make some of
20434 these greps more selective, so that expect doesn't try to wade
20435 through huge piles of output and time out.
20436
20437 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20438
20439 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
20440 tests: one which doesn't expect shlib events to be reported, and
20441 another which does, but is XFAIL for all platforms other than
20442 HP/UX.
c906108c
SS
20443
20444 * gdb.base/break.exp: Teach the test suite that the `catch
20445 fork', `catch vfork', and `catch exec' commands produce error
20446 messages on platforms that don't provide these features.
20447
20448Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20449
20450 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
20451 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20452 (shortening names from solib_threshold.exp etc), won't run on
20453 anything but HP-UX for the foreseeable future.
c906108c 20454 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 20455 reflect move.
c906108c
SS
20456
20457Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
20458
20459 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 20460 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
20461
20462Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
20463
20464 * gdb.base/shlib-call.exp: add test cases to verify that gdb
20465 successfully re-sets breakpoints in shared libraries.
20466 * gdb.base/shmain.c (main): return 0, don't fall off the end.
20467
20468Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20469
d63a86f8
RM
20470 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20471 and compiled w/o GCC.
c906108c
SS
20472
20473 * gdb.hp/watch-cmd.exp: ditto.
20474
20475 * gdb.hp/watch-hp.exp: ditto.
20476
20477 * gdb.hp/xdb1.exp: ditto.
20478
20479 * gdb.hp/xdb2.exp: ditto.
20480
20481 * gdb.hp/dbx.exp: ditto.
20482
20483Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
20484
20485 * constvars.c: Remove C++-isms.
20486 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 20487 with GCC.
c906108c
SS
20488
20489Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
20490
20491 The following changes are part of the HP merge.
20492
20493 * gdb.base/break.exp: new tests to verify that catchpoints for
20494 fork, vfork, and exec don't trigger inappropriately.
20495
20496 * gdb.base/opaque.exp: compile one file at a time, then link.
20497
20498 * gdb.base/signals.exp: be more restrictive about which hppa
20499 systems receive a setup_xfail. new tests.
20500
20501 * gdb.base/solib_threshold.build: new file.
20502 * gdb.base/solib_threshold.exp: new file.
20503 * gdb.base/solib_threshold.link_opts: new file.
20504 * gdb.base/solib_threshold.mk: new file.
20505 * gdb.base/gen_solib_threshold.c: new file.
20506
20507 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20508 tests. New tests for enums inside classes.
20509
20510 * gdb.c++/compiler.cc: indicate support of template debugging.
20511
20512 * gdb.c++/demangle.exp: run hp style demangling tests.
20513
20514 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20515 tests.
20516
20517 * gdb.c++/misc.cc: changes to support new tests.
20518
20519 * gdb.c++/templates.cc: changes to support HP's compiler; changes
20520 to support new tests.
20521
20522 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20523 gcc, then skip these tests.
20524
20525Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
20526
20527 The following files are part of the HP merge; some had longer
20528 names at HP, but have been renamed to be no more than 14
20529 characters in length.
20530
20531 * gdb.hp/ambiguous.cc: new file.
20532 * gdb.hp/ambiguous.exp: new file.
20533 * gdb.hp/attach.exp: new file.
20534 * gdb.hp/attach2.exp: new file.
20535 * gdb.hp/classes-hp.exp: new file.
20536 * gdb.hp/ctti.exp: new file.
20537 * gdb.hp/ctti-add.cc: new file.
20538 * gdb.hp/ctti-add1.cc: new file.
20539 * gdb.hp/ctti-add2.cc: new file.
20540 * gdb.hp/ctti-add3.cc: new file.
20541 * gdb.hp/dbx.exp: new file.
20542 * gdb.hp/exception.cc: new file.
20543 * gdb.hp/exception.exp: new file.
20544 * gdb.hp/foll-exec.c: new file.
20545 * gdb.hp/foll-exec.exp: new file.
20546 * gdb.hp/foll-fork.c: new file.
20547 * gdb.hp/foll-fork.exp: new file.
20548 * gdb.hp/foll-vfork.c: new file.
20549 * gdb.hp/foll-vfork.exp: new file.
20550 * gdb.hp/inherit-hp.exp: new file.
20551 * gdb.hp/more-steps.exp: new file.
20552 * gdb.hp/namespace.cc: new file.
20553 * gdb.hp/namespace.exp: new file.
20554 * gdb.hp/optimize.exp: new file.
20555 * gdb.hp/pxdb.c: new file.
20556 * gdb.hp/pxdb.exp: new file.
20557 * gdb.hp/quicksort.exp: new file.
20558 * gdb.hp/reg-test.exp: new file.
20559 * gdb.hp/reg-test.s: new file.
20560 * gdb.hp/sized-enum.c: new file.
20561 * gdb.hp/sized-enum.exp: new file.
20562 * gdb.hp/start-stop.exp: new file.
20563 * gdb.hp/templ-hp.cc: new file.
20564 * gdb.hp/templ-hp.exp: new file.
20565 * gdb.hp/thr-lib.c: new file.
20566 * gdb.hp/thr-lib.exp: new file.
20567 * gdb.hp/thr-lib.h: new file.
20568 * gdb.hp/thr-liblib.c: new file.
20569 * gdb.hp/virtfun-hp.c: new file.
20570 * gdb.hp/virtfun-hp.exp: new file.
20571 * gdb.hp/watch-cmd.exp: new file.
20572 * gdb.hp/watch-hp.exp: new file.
20573 * gdb.hp/xdb1.exp: new file.
20574 * gdb.hp/xdb2.exp: new file.
20575 * gdb.hp/xdb3.exp: new file.
20576
20577Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
20578
20579 The following files are part of the HP merge; some had longer
20580 names at HP, but have been renamed to be no more than 14
20581 characters in length.
20582
20583 * gdb.base/ss.h: new file.
20584 * gdb.base/call-ar-st.c: new file.
20585 * gdb.base/call-ar-st.exp: new file.
20586 * gdb.base/call-rt-st.c: new file.
20587 * gdb.base/call-rt-st-exp: new file.
20588 * gdb.base/call-strs.exp: new file.
20589 * gdb.base/ena-dis-br.exp: new file.
20590 * gdb.base/environ.exp: new file.
20591 * gdb.base/long_long.exp: new file.
20592 * gdb.base/sect-cmd.exp: new file.
20593 * gdb.base/shlib-cl2.exp: new file.
20594 * gdb.base/smoke.exp: new file.
20595 * gdb.base/so-impl-ld.c: new file.
20596 * gdb.base/so-impl-ld.exp: new file.
20597 * gdb.base/so-indr-cl.c: new file.
20598 * gdb.base/so-indr-cl.exp: new file.
20599 * gdb.base/varargs.exp: new file.
20600 * gdb.base/volatile.exp: new file.
20601 * gdb.base/whatis-exp.exp: new file.
7a292a7a 20602 * gdb.base/display.exp: new file.
c906108c
SS
20603 * gdb.c++/derivation.exp: new file.
20604 * gdb.c++/local.exp: new file.
20605 * gdb.c++/member-ptr.exp: new file.
20606 * gdb.c++/overload.exp: new file.
20607 * gdb.c++/ovldbreak.exp: new file.
20608 * gdb.c++/ref-types.exp: new file.
20609 * gdb.c++/ref-types2.exp: new file.
20610 * gdb.c++/userdef.exp: new file.
d63a86f8 20611
c906108c
SS
20612Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
20613
20614 * gdb.base/default.exp: Reflect wording change in remote.c.
20615
dc96c6c7 20616Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20617
20618 * gdb.base/help.exp: Update to reflect current text.
20619
20620Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
20621
20622 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20623 they're stack variables and contain garbage.
20624 * gdb.c++/anon-union.exp: new file.
20625
20626 The following changes were made by David Taylor
889bf7c5
PA
20627 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20628 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20629 in changes by HP.
c906108c
SS
20630
20631 * gdb.base/bitops.exp: new file.
20632 * gdb.base/default.exp: change expected messages for catch and
20633 info catch tests to reflect HP merge changes.
20634 * gdb.base/enable-disable-break.exp
20635 * gdb.base/ending-run.c: new file.
20636 * gdb.base/long_long.c: new file.
20637 * gdb.base/maint.exp: new file.
20638 * gdb.base/pointers2.exp: new file.
20639 * gdb.base/shlib-call2.exp: new file.
20640 * gdb.base/solib.exp: new file.
20641 * gdb.base/step-test.c: new file.
20642 * gdb.c++/anon-union.cc: new file.
20643 * gdb.c++/local.cc: new file.
20644 * gdb.c++/member-pointer.cc: new file.
20645 * gdb.c++/method.cc: new file.
20646 * gdb.c++/ref-types.cc: new file.
20647 * gdb.c++/ref-types2.cc: new file.
20648 * gdb.c++/userdef.cc: new file.
d63a86f8 20649
c906108c
SS
20650 * gdb.base/scope.exp: compile one file at a time, then link.
20651 * gdb.base/langs.exp: ditto.
20652 * gdb.base/list.exp: ditto.
d63a86f8 20653
c906108c
SS
20654Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
20655
20656 The following changes were made by David Taylor
889bf7c5
PA
20657 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20658 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20659 in changes by HP.
d63a86f8 20660
c906108c
SS
20661 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20662 skip tests. When compiling pass c++ flag to gdb_compile.
20663 * gdb.c++/
d63a86f8 20664
c906108c
SS
20665 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20666 test for on hppa*-*-hpux*; use args to see if c++ was specified.
20667 (skip_hp_tests): new function.
20668 (gdb_preprocess): new function.
20669
20670 * configure.in (hpdir): decide whether to configure gdb.hp.
20671 * configure: regenerated.
20672
20673 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20674 to delete on clean.
20675 (EXECUTABLES): update to reflect new additions.
20676 * gdb.base/commands.exp: update message expected.
20677 * gdb.base/default.exp: add copyright notice.
20678 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20679 * gdb.base/help.exp: update messages to reflect current text.
20680 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20681 targets for recurse tests.
20682 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20683 skip this file.
20684
20685 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20686 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20687 compilation.
20688 * gdb.c++/misc.exp: ditto.
20689 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20690 run the tests. tell gdb_compile that it's a c++ compilation.
20691
20692 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 20693
c906108c
SS
20694 * gdb.base/all-bin.exp: new file.
20695 * gdb.base/arithmet.exp: new file.
20696 * gdb.base/assign.exp: new file.
20697 * gdb.base/completion.exp: new file.
20698 * gdb.base/cond-expr.exp: new file.
20699 * gdb.base/condbreak.exp: new file.
20700 * gdb.base/define.exp: new file.
20701 * gdb.base/dollar.exp: new file.
20702 * gdb.base/environment.exp: new file.
20703 * gdb.base/eval-skip.exp: new file.
20704 * gdb.base/jump.exp: new file.
20705 * gdb.base/logical.exp: new file.
20706 * gdb.base/pointers.exp: new file.
20707 * gdb.base/relational.exp: new file.
20708 * gdb.base/section_command.exp: new file.
20709 * gdb.base/whatis-expr.exp: new file.
20710
20711 * gdb.base/all-types.c: new file.
20712 * gdb.base/call-array-struct.c: new file.
20713 * gdb.base/call-return-struct.c: new file.
20714 * gdb.base/call-strings.c: new file.
20715 * gdb.base/callfuncs2.c: new file.
20716 * gdb.base/condbreak.c: new file.
20717 * gdb.base/constvars.c: new file.
20718 * gdb.base/display.c: new file.
20719 * gdb.base/int-type.c: new file.
20720 * gdb.base/jump.c: new file.
20721 * gdb.base/miscexprs.c: new file.
20722 * gdb.base/pointers.c: new file.
20723 * gdb.base/pointers2.c: new file.
20724 * gdb.base/shmain.c: new file.
20725 * gdb.base/shr1.c: new file.
20726 * gdb.base/shr2.c: new file.
20727 * gdb.base/solib.c: new file.
20728 * gdb.base/solib1.c: new file.
20729 * gdb.base/solib2.c: new file.
20730 * gdb.base/varargs.c: new file.
20731 * gdb.c++/derivation.cc: new file.
20732 * gdb.c++/overload.cc: new file.
20733 * gdb.c++/ovldbreak.cc: new file.
20734 * gdb.hp/attach.c: new file.
20735 * gdb.hp/attach2.c: new file.
20736 * gdb.hp/average.c: new file.
20737 * gdb.hp/compiler.c: new file.
20738 * gdb.hp/compiler.cc: new file.
20739 * gdb.hp/execd-program.c: new file.
20740 * gdb.hp/follow-exec.c: new file.
20741 * gdb.hp/follow-fork.c: new file.
20742 * gdb.hp/follow-vfork-and-exec.c: new file.
20743 * gdb.hp/misc-hp.cc: new file.
20744 * gdb.hp/more-steps.c: new file.
20745 * gdb.hp/optimize.c: new file.
20746 * gdb.hp/quicksort.c: new file.
20747 * gdb.hp/run-hp.c: new file.
20748 * gdb.hp/start-stop.c: new file.
20749 * gdb.hp/sum.c: new file.
20750 * gdb.hp/templates-hp.cc: new file.
20751 * gdb.hp/thread-local-in-lib.c: new file.
20752 * gdb.hp/thread-local-in-lib.h: new file.
20753 * gdb.hp/thread-local-in-lib.lib.c: new file.
20754 * gdb.hp/vforked-program.c: new file.
20755 * gdb.hp/virtfunc-hp.cc: new file.
20756 * gdb.hp/watchpoint-hp.c: new file.
20757 * gdb.hp/xdb.c: new file.
20758 * gdb.hp/xdb0.c: new file.
20759 * gdb.hp/xdb0.h: new file.
20760 * gdb.hp/xdb1.c: new file.
20761
20762Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
20763
20764 The following change was made by Edith Epstein
889bf7c5
PA
20765 <eepstein@cygnus.com> as part of a project to merge in changes
20766 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
20767
20768 * gdb.c++/demangle.exp: changed the expected output for some
20769 ARM-style mangling -- removed second reference to datatype.
889bf7c5 20770 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 20771 T1<char>::~T1<char>(void)
c906108c 20772 becomes,
a9c64011
AS
20773 maint demangle __dt__11T1__pt__2_cFv
20774 T1<char>::~T1(void)
c906108c 20775
889bf7c5 20776 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 20777
c906108c
SS
20778Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
20779
20780 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20781 * gdb.trace/backtrace.exp: Likewise.
20782 * gdb.trace/circ.exp: Likewise.
20783 * gdb.trace/collection.exp: Likewise.
20784 * gdb.trace/deltrace.exp: Likewise.
20785 * gdb.trace/infotrace.exp: Likewise.
20786 * gdb.trace/limits.exp: Likewise.
20787 * gdb.trace/packetlen.exp: Likewise.
20788 * gdb.trace/passc-dyn.exp: Likewise.
20789 * gdb.trace/passcount.exp: Likewise.
20790 * gdb.trace/report.exp: Likewise.
20791 * gdb.trace/save-trace.exp: Likewise.
20792 * gdb.trace/tfind.exp: Likewise.
20793 * gdb.trace/tracecmd.exp: Likewise.
20794 * gdb.trace/while-dyn.exp: Likewise.
20795 * gdb.trace/while-stepping.exp: Likewise.
20796
207971998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
20798
20799 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20800
20801Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
20802
20803 From Brendan Kehoe:
20804 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20805 int return types.
20806
20807Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
20808
20809 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 20810 remote dos host testing right.
c906108c
SS
20811
20812Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
20813
20814 * gdb.base/corefile.exp: remove some xfails.
20815
20816Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
20817
20818 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 20819 have different timestamps.
c906108c
SS
20820
20821Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
20822
20823 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 20824 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
20825
20826Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
20827
20828 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 20829 delta.
c906108c
SS
20830
20831Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
20832
20833 * gdb.base/default.exp: Add brace missing from previous delta.
20834
20835Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
20836
20837 * gdb.base/default.exp: Support test for info float for all
20838 varieties of arm toolchain.
20839
dc96c6c7 20840Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20841
20842 * gdb.trace/*.exp: remove "remote_download" command.
20843
dc96c6c7 20844Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20845
20846 * gdb.trace/*.exp: remove -gdwarf from compile.
20847
20848Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
20849
20850 * gdb.trace/configure.in(AC_INIT): typo
20851 * gdb.trace/configure: regenerated
20852
dc96c6c7 20853Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20854
20855 * config/m68k-emc.exp: New file.
20856 * lib/<emc-support.exp trace-support.exp}: New files.
20857 * configure.in: add new test directory gdb.trace.
20858 * gdb.trace/{configure configure.in Makefile.in}: New files.
20859 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20860 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20861 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20862 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20863 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20864 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20865 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 20866
dc96c6c7 20867Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20868
20869 * gdb.c++/classes.exp: Change all regular expressions to match
20870 arbitrary combinations of newline/carriage-return, so that they
20871 will work equally well on Unix and Windows.
20872 * gdb.c++/inherit.exp: ditto.
20873 * gdb.c++/virtfunc.exp: ditto.
20874
208751998-08-11 Dawn Perchik <dawn@cygnus.com>
20876
20877 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20878
c2d11a7d
JM
20879Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
20880
20881 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20882 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
20883 to use a0-a3/d0-d3 as needed.
20884
20885Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
20886
20887 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20888 * gdb.disasm/am33.exp: Corresponding changes.
20889
c906108c
SS
208901998-07-11 Felix Lee <flee@cygnus.com>
20891
20892 * gdb.base/callfuncs.exp: add cmp10 test.
20893 * gdb.base/callfuncs.c (cmp10): new function.
20894
20895Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
20896
d63a86f8 20897 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
20898 into two parts to get around a synchronization problem in expect.
20899
3fc11d3e
JM
20900Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
20901
20902 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20903
20904 * configure.in: Add options for gdbtk testsuite.
20905
20906 * configure: Regenerate.
20907
20908 * gdb.gdbtk: New directory to hold gdbtk tests.
20909
c906108c
SS
20910Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20911
20912 * gdb.fortran/types.exp: Escape brackets in expect patterns
20913 for test_float_literal_types_accepted tests.
20914 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
20915 before run test.
20916
c2d11a7d
JM
20917Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
20918
20919 * am33.exp: Just compile, do not link the testcase.
20920 * am33.s: Add ".am33" pseudoop to force am33 mode.
20921
c906108c
SS
209221998-06-25 Felix Lee <flee@cygnus.com>
20923
20924 * gdb.base/setshow.exp: make sure $pc is sane.
20925
20926 * gdb.stabs/weird.exp: split expect patterns properly.
20927
c2d11a7d
JM
20928Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
20929
20930 * gdb.disasm/am33.s: New disassembler testfile for the am33.
20931 * gdb.disasm/am33.exp: Run it.
20932
dc96c6c7 20933Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20934
20935 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
20936 match processing (and eliminate spurious timeouts when running).
20937
dc96c6c7 20938Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20939
20940 * gdb.base/signals.exp (test_handle_all_print): put back Mach
20941 exception test, but conditionalize it on target [mach | gnu].
20942
dc96c6c7 20943Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
20944
20945 * gdb.base/overlays.exp: fixup compile line for linker script.
20946
20947Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
20948
20949 * gdb.fortran/types.exp: don't guess at float size.
20950
20951Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
20952
20953 * gdb.base/exprs.exp: delete test that depends on int size.
20954
20955Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
20956
20957 * config/sim.exp: Removed checks for target triplets.
20958 (gdb_target_sim): Use gdb,target_sim_options.
20959
20960Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
20961
20962 * gdb.base/reread.exp: New file.
20963 * gdb.base/reread1.c: New file.
20964 * gdb.base/reread2.c: New file.
20965
20966Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
20967
20968 * config/sim.exp: Use 'target sim -sparclite' when running
20969 SPARClite programs.
20970
20971Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
20972
20973 * gdb.base/structs2.exp: New file.
20974 * gdb.base/structs2.c: New file.
20975
20976Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
20977
20978 * gdb.asm/common.inc: New file.
20979 * gdb.asm/d10v.inc: New file.
20980 * asm-source.exp: Pass -I's to gas to find .inc files.
20981 Update line numbers in expected output.
20982 * asmsrc1.s: Rewrite.
20983 * asmsrc2.s: Rewrite.
20984 * configure.in: Create arch.inc symlink.
20985 * configure: Regenerate.
20986 * Makefile.in (distclean): Delete arch.inc.
20987
20988Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
20989
20990 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
20991 (t_enum_value2): ditto
20992 (t_enum_value3): ditto
20993 (main): ditto
c906108c
SS
20994Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20995
20996 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
20997 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
20998 change.
20999 Use gdb_test instead of send_gdb/gdb_expect sequences.
21000
21001Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21002
21003 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21004 not void.
21005
21006Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21007
21008 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21009 subroutines. Used to test gdbs ability to single step through PC
21010 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21011
21012Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21013
21014 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21015 more rigorous EGCS C++ error checking.
21016
21017Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21018
a9c64011
AS
21019 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21020 tests.
21021 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21022 function when asleep.
21023 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21024 for i*86 Linux and SVR4 signal handling problems.
21025 Remove linux xfail for `next to handler in signals_tests_1', fixed
21026 by recent infrun.c change.
21027 Limit backtrace to 10 frames to avoid timeout problems with infinite
21028 stack backtraces.
21029 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21030 target.[ch] change.
c906108c
SS
21031
21032Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21033
21034 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21035 for a newline from gdb before continuing.
21036 (default_gdb_exit): Just look for y or n.
21037 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21038 it does, fail the rests of the tests in the file.
21039
21040Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21041
21042 * config/cygmon.exp: New file.
21043
21044Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21045
21046 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21047 main" test on remote targets.
c906108c
SS
21048
21049 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21050 run test on remote targets.
21051
21052Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21053
21054 * gdb.asm: New directory.
21055 * configure.in: Configure it.
21056 * configure: Regenerate.
21057 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21058 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21059
21060Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21061
21062 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21063
dc96c6c7 21064Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21065
a9c64011
AS
21066 * gdb.base/overlays (several files): Merge the two overlay
21067 managers into one. Change variables (foox, barx, bazx, grbxx)
21068 back into ints but force them to load in their proper sections.
c906108c
SS
21069
21070Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21071
21072 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21073 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21074 (D10VCopy): Handle memory regions crossing 16k boundaries.
21075 (D10VCopy): Transfer data in 32 bit chunks.
21076
21077Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21078
21079 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21080 correct.
c906108c
SS
21081
21082 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21083 map. Include space for printf in .text segment.
c906108c
SS
21084
21085 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21086 updated d10v memory VMA/LMA map.
c906108c 21087 (D10VCopy): Call D10VTranslate.
d63a86f8 21088
c906108c
SS
21089Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21090
21091 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21092
21093 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21094 that it won't be put into the .sdata - small data -
21095 section. Update reference.
c906108c
SS
21096 * gdb.base/baz.c (bazx, baz): Ditto.
21097 * gdb.base/foo.c (foox, foo): Ditto.
21098 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21099
21100 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21101 to be arrays.
d63a86f8 21102
dc96c6c7 21103Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21104
a9c64011
AS
21105 * gdb.base/overlays.exp: fix up and get working again.
21106 Add tests for backtraces from an overlay function.
d63a86f8 21107
c906108c
SS
21108Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21109
21110 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21111 "calling function with watchpoint enabled".
21112
21113Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21114
21115 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21116 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21117 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21118 pending review of whether it is useful or not.
21119
21120Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21121
21122 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21123
21124Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21125
21126 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21127 * config/dve.exp: New file to support Densan boards.
21128
21129Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21130
21131 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21132 reads and BSD.
c906108c
SS
21133
21134Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21135
21136 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21137 response.
21138
21139 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21140
21141Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21142
21143 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21144 test.
c906108c
SS
21145
21146 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21147 target_sizeof_long and target_bigendian_p.
c906108c 21148 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21149 to targets word size and endianess.
d63a86f8 21150
c906108c
SS
21151Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21152
21153 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21154 output.
c906108c
SS
21155
21156Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21157
21158 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21159 Update test of set args help to match source change.
c906108c
SS
21160
21161Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21162
21163 * gdb.base/default.exp: Expect help system output to be in
21164 alphabetical order.
21165 * gdb.base/help.exp: Ditto.
21166
21167Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21168
21169 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21170 "i*86-pc-linux-gnu*".
21171 * gdb.base/interrupt.exp: Ditto.
21172 * gdb.base/corefile.exp: Ditto.
21173
21174 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21175 define vxworks when building the testcase.
c906108c
SS
21176
21177 * gdb.base/ptype.exp: Fix testnames to be unique.
21178 * gdb.base/radix.exp: Ditto.
21179 * gdb.base/term.exp: Ditto.
21180 * gdb.base/whatis.exp: Ditto.
21181 * gdb.c++/classes.exp: Ditto.
21182
21183Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21184
21185 * gdb.base/callfuncs.exp: Fix indentation.
21186
21187 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21188 suppress_flag has been set.
21189 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21190 target feature.
21191
21192Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21193
21194 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21195 the testcase.
21196
21197 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21198 set_debug_traps() and breakpoint().
c906108c
SS
21199 * gdb.c++/misc.cc (main): Ditto.
21200 * gdb.c++/templates.cc (main): Ditto.
21201 * gdb.c++/virtfunc.cc (main): Ditto.
21202
21203Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21204
21205 * lib/gdb.exp(gdb_step_for_stub): New function.
21206 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21207 exists, reload the executable and do a "continue" instead of
21208 doing a jump.
21209 (runto_main): Use gdb_step_for_stub.
d63a86f8 21210
c906108c 21211 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21212 tests to have unique names.
c906108c
SS
21213 * gdb.base/callfuncs.exp: Ditto.
21214 * gdb.base/commands.exp: Ditto.
21215 * gdb.base/default.exp: Ditto.
21216 * gdb.base/help.exp: Ditto.
21217 * gdb.base/list.exp: Ditto.
21218 * gdb.base/opaque.exp: Ditto.
21219 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21220 similar tests.
d63a86f8 21221
c906108c
SS
21222 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21223 * gdb.c++/cplusfuncs.cc: Ditto.
21224 * gdb.c++/virtfunc.cc: Ditto.
21225
21226 * config/monitor.exp: Keep track of the last file we saw, rather
21227 than trying to get the info from gdb.
21228
21229 * gdb.fortran/types.exp: Move comment to previous line.
21230
21231Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21232
21233 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 21234 target mode.
c906108c
SS
21235
21236Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21237
21238 From Bob Manson:
21239 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 21240 string from GDB when it connects.
c906108c
SS
21241
21242 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21243
21244Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21245
21246 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
21247 if we can't get a debug format from GDB (we may be testing an
21248 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
21249
21250 * gdb.stabs/weird.exp: Fix quoting.
21251
21252 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21253
21254Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21255
21256 * config/arm-ice.exp: New file.
21257
21258Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21259
21260 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 21261 until it has been modified to work with the new testsuite.
c906108c 21262
99707966 21263 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
21264 testcase won't compile, cause all of the testcases in the file to
21265 fail instead.
c906108c
SS
21266
21267 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21268 (gdb_clear_suppressed): New procedure.
21269 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21270 it contains a positive value.
21271
21272Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21273
21274 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21275
21276 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21277
21278Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21279
21280 * lib/gdb.exp (setup_xfail_format): New function.
21281 (get_debug_format): New function to get debug format.
21282 (debug_format): New global variable to hold last value set
21283 by get_debug_format.
21284 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 21285 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
21286 * gdb.c++/ptype.exp: Ditto.
21287 * gdb.c++/classes.exp: Ditto.
21288 * gdb.c++/cplusfuncs.exp: Ditto.
21289 * gdb.c++/inherit.exp: Ditto.
21290 * gdb.c++/templates.exp: Ditto.
21291 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 21292
c906108c
SS
21293Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21294
21295 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21296 host doesn't have a currently-open connection.
21297
21298 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
21299 any gdb stub target. Handle cases where gdb doesn't respond when
21300 interrupted in a sane fashion.
c906108c
SS
21301
21302 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 21303 same thing in a totally different way.
c906108c
SS
21304
21305 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 21306 setting "timeout".
c906108c 21307 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 21308 default_gdb_init now.
c906108c
SS
21309
21310Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21311
21312 * gdb.base/printcmds.exp: Fix "check for floating addition"
21313 regexp to accept results within approx +/- .01 of exact value.
21314 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21315
21316Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21317
21318 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 21319 properly.
c906108c
SS
21320 (gdb_expect): Add optional timeout parameter, and add timeout
21321 value to various calls.
21322 (gdb_suppress_tests): Only give one warning message per group.
21323
21324Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21325
21326 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
21327 global variables. Handle getting a value for $timeout more
21328 gracefully.
c906108c
SS
21329
21330Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21331
21332 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 21333 initialize.
c906108c 21334 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 21335 by a target configuration file.
c906108c
SS
21336 (gdb_expect): Pass the timeout to remote_expect.
21337
21338 * config/monitor.exp(gdb_load): Fix typo in regexp.
21339
21340Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21341
21342 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21343
21344Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21345
21346 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
21347 here. Call gdb_target_exec before rebooting the target, to make
21348 sure the connection to the target is closed.
c906108c
SS
21349 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21350 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21351 Also detect "Timeout reading from remote" error.
21352
21353 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
21354 gdb_target_monitor. Don't call gdb_file_cmd here; let
21355 gdb_target_monitor do it.
c906108c
SS
21356
21357 * gdb.disasm/hppa.exp: Don't use exec_output.
21358
21359Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21360
21361 * gdb.base/list.exp: If we're debugging a non-native target,
21362 try to set the pc register to point to the start of the
21363 program before doing the first list command.
21364
21365 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 21366 test_calls after restarting.
c906108c
SS
21367
21368 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 21369 reloading.
c906108c
SS
21370
21371 * gdb.base/watchpoint.exp: Fix typo.
21372
21373 * gdb.base/setshow.exp: Check for use_gdb_stub.
21374
21375 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 21376 stub case.
c906108c
SS
21377 * gdb.base/langs.exp: Ditto.
21378
21379 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
21380 gdb_load_offset. If we weren't given a file to load, figure out
21381 what the current file is and use it.
c906108c
SS
21382
21383 * config/i386-bozo.exp: New file.
21384
21385Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21386
21387 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21388 feature.
21389
21390 * config/proelf.exp: New entry.
21391
21392Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21393
21394 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21395 of regexps.
21396
21397 * gdb.base/watchpoint.exp: Don't run the test_stepping
21398 tests if gdb can't call functions on the target.
21399
21400 * gdb.base/setshow.exp: Don't run the set prompt tests if
21401 the board has gdb_prompt set.
21402
21403Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
21404
21405 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21406 * gdb.base/commands.exp: Likewise.
21407 * gdb.base/setshow.exp: Likewise.
21408
21409Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
21410
21411 * config/monitor.exp(gdb_start): Look for gdb_prompt target
21412 feature.
21413
21414 * config/i960.exp: New file.
21415
21416Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
21417
21418 * gdb.base/funcargs.exp: Check for gdb,short_int target
21419 feature instead of looking for explicit target triplets.
21420
dc96c6c7 21421Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 21422
d63a86f8 21423 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
21424 "p 123DEADBEEF", to check parse_number.
21425 * top.c: change "to enable to enable" to "to enable" in a couple
21426 of help strings.
21427
21428Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
21429
21430 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21431 on the mn10300.
d63a86f8 21432
c906108c
SS
21433Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
21434
21435 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21436 where the test executable is run with explicit args.
21437 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21438
21439Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
21440
21441 * gdb.base/run.c: Use FAKEARGV to build test executable that
21442 does not require a command line arg, since most simulators
21443 don't currently support passing such an arg into the simulated
21444 program.
21445 * gdb.base/commands.exp: Change tests to insert the proper
21446 value as the arg to the first recursive factorial call. Change
21447 compilation line to define FAKEARGV at compile time.
21448
21449Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
21450
21451 * gdb.base/recurse.exp: Enable these tests for the mn10300.
21452 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21453 function with watchpoint enabled" test.
21454
21455Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
21456
21457 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 21458 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
21459
21460 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 21461 "Tests restarted" messages.
c906108c
SS
21462
21463Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
21464
21465 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21466
dc96c6c7 21467Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21468
21469 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21470 for INFO SYMBOL; add help tests for OVERLAY commands.
21471 * gdb.base/default.exp: add tests for INFO SYMBOL command;
21472 add tests for OVERLAY commands
21473 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21474 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21475 * gdb.base/sigall.c: add usestubs code frag
21476 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 21477
c906108c
SS
21478Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
21479
21480 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21481 failures.
21482 (gdb_stop_suppressing_tests): Note that tests have restarted.
21483
21484Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
21485
21486 * config/h8300.exp: New file.
21487
21488Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
21489
21490 * gdb.base/setshow.exp: Check for the existence of a
21491 feature, not its value.
21492
21493Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
21494
21495 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21496
21497 * gdb.base/scope.exp: It's now init0(), not init().
21498
21499 * gdb.base/scope0.c: For now, change init() to be init0().
21500
21501 * config/monitor.exp: Use gdb_serial in preference to serial
21502 or netport.
21503
21504 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 21505 and it's not already set.
c906108c
SS
21506
21507Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
21508
21509 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 21510 isn't using a stub and if it supports argument passing.
c906108c
SS
21511
21512Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
21513
21514 * config/udi.exp(gdb_start): Make sure UDICONF is set
21515 properly before starting gdb.
21516
21517Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
21518
21519 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21520 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21521 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21522
21523Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
21524
21525 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 21526 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
21527
21528 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21529
21530 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21531
21532 * config/monitor.exp: Make sure we disconnect from the target.
21533 Also, try a reboot/reload cycle instead of failing if the
21534 load fails.
21535
21536Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
21537
21538 * gdb.base/default.exp: Don't set match_max.
21539 * gdb.base/help.exp: Ditto.
21540 * gdb.base/list.exp: Ditto.
21541 * gdb.base/signals.exp: Ditto.
21542
21543 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21544 set, use remote_ld to download the testcase instead of
21545 the GDB loader.
21546
21547Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
21548
21549 * config/vr5000.exp: New file.
21550
21551 * config/monitor.exp(gdb_target_monitor): Add pattern for
21552 "Ending remote" to detect errors in connecting.
21553
21554 * gdb.base/setshow.exp: Add .* within auto language test.
21555
21556 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21557 target feature.
21558
21559 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 21560 and reboot the board if necessary.
c906108c
SS
21561
21562 * gdb.base/setvar.exp(test_set): Handle multiple prints within
21563 a set of tests. Remove print.* from the patterns being checked.
21564
21565Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
21566
21567 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21568 refer to gdb_spawn_id.
21569
21570 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21571 longer used.
21572 * config/sparclet.exp: Ditto.
21573 * config/sparclet-old.exp: Ditto.
21574 * config/slite.exp: Ditto.
21575 * config/sim.exp: Ditto.
21576 * gdb.base/funcargs.exp: Ditto.
21577
21578 * lib/gdb.exp:Remove references to gdb_spawn_id.
21579 (gdb_expect): Move to remote.exp.
21580
21581Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
21582
21583 * config/monitor.exp: Detect the "Couldn't establish connection"
21584 message from GDB.
21585
21586Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
21587
21588 * gdb.base/bitfields.exp: Use runto instead of explicit
21589 gdb_run_cmd/gdb_expect sequences.
21590
21591 * gdb.base/break.exp(text_next_with_recursion): Add match for
21592 gdb_expect call.
21593
21594 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21595 We also need to handle the "A program is being debugged already"
21596 prompt from gdb. Use gdb_test to set the baud rate.
21597
21598 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21599 to 20000. Really. I mean it.
21600
21601Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21602
21603 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
21604 fails. If suppress_flag is set, skip perror message about not
21605 being able to send to GDB.
c906108c 21606 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 21607 GDB.
c906108c
SS
21608 (gdb_expect): If suppress_flag is set, always fail immediately.
21609 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21610 (gdb_init): Call gdb_stop_suppressing_tests.
21611 (default_gdb_exit): Ditto.
21612 (default_gdb_start): Ditto.
21613
21614 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 21615 gdb_stop_suppressing_tests as appropriate.
c906108c 21616 * gdb.base/break.exp: Ditto.
889bf7c5 21617 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
21618 * gdb.base/commands.exp: Ditto.
21619 * gdb.base/exprs.exp: Ditto.
889bf7c5 21620 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
21621 * gdb.base/list.exp: Ditto.
21622 * gdb.base/recurse.exp: Ditto.
889bf7c5 21623 * gdb.base/scope.exp: Ditto.
c906108c
SS
21624 * gdb.base/structs.exp: Ditto.
21625 * gdb.c++/inherit.exp: Ditto.
21626
21627Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
21628
21629 * config/vr4300.exp: New file.
21630
99707966 21631 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 21632
99707966 21633 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
21634
21635Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
21636
21637 * lib/gdb.exp(gdb_init): New function.
21638
21639 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 21640 for each individual variable set.
c906108c
SS
21641
21642 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21643 name.
21644
21645 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21646
21647 * gdb.base/scope.exp: Use gdb_test.
21648
21649 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21650 aborting; the testsuite driver will do that for us (see
21651 gdb_finish). Also, use gdb_test in a few more places.
21652
21653Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
21654
21655 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21656
21657Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
21658
21659 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21660 and "add_tests" are not at the same address.
21661
21662Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
21663
21664 * gdb.base/ptype.exp: Use gdb_test.
21665
21666Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
21667
21668 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21669 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21670 left in. No longer expect them to fail.
21671
21672 * gdb.stabs/*.mt; Deleted, no longer used.
21673 * gdb.stabs/configure.in: Remove references to target makefile
21674 frags.
21675 * gdb.stabs/configure: Rebuilt.
21676
21677 * gdb.disasm/*.mt: Deleted, no longer used.
21678 * gdb.disasm/configure.in: Remove references to target makefile
21679 frags. Use "sh3.s" as the unique filename for this directory.
21680 * gdb.disasm/configure: Rebuilt.
21681
21682 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21683 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21684 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21685
21686Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
21687
21688 * config/udi.exp: Use mondfe,name instead of remote_host.
21689
21690Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
21691
21692 * gdb.base/watchpoint.exp: Don't expect a failure when calling
21693 a function with a watchpoint enabled on the mn10200.
21694
21695 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21696 before trying to create it!
21697
21698Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
21699
21700 * config/vx.exp: Use hostname instead of netport.
21701
21702 * config/vxworks.exp: New file.
21703
21704 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21705
21706 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 21707 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
21708 occurs.
21709
21710 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21711 $gdb_spawn_id directly.
21712 (gdb_run_cmd): Try _start as well as start. Use the target feature
21713 gdb,start_symbol as the symbol to start from when jumping.
21714
21715Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
21716
21717 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21718 redundant) test.
21719
21720 * gdb.base/recurse.exp: Relax final value test for 'b' so that
21721 it doesn't lose for 16bit integer systems.
21722
21723Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
21724
21725 * gdb.fortran/types.exp: If the target doesn't support "double"
21726 data types, then expect "real" types to only be 4 bytes.
21727
21728 * gdb.c++/virtfunc.exp: Expect failure for virtual function
21729 call tests if the target doesn't support inferior function calls.
21730
21731 * gdb.base/printcmds.exp: Allow minor deviation in FP values
21732 in printf tests.
21733
21734Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
21735
21736 * gdb.base/help.exp: Disable "help set", "help show", and
21737 "help support". Simplify regexp for "help stack".
21738
21739 * gdb.base/default.exp: Set match_max to 5000 and the timeout
21740 to 60 seconds. Temporarily set match_max to 15000 around the
21741 "info copying" test.
21742
21743 * gdb.base/nodebug.exp: Don't try to do an inferior function
21744 call if the target doesn't support them.
21745 * gdb.base/printcmds.exp: Likewise.
21746 * gdb.base/setvar.exp: Likewise.
21747 * gdb.base/structs.exp: Likewise.
21748 * gdb.c++/templates.exp: Likewise.
21749 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
21750
21751 * gdb.base/recurse.exp: Enable for the mn10200.
21752
21753 * configure.in: Do configure gdb.stabs directory for *-*-elf
21754 targets.
21755 * configure: Rebuilt.
21756
21757 * gdb.base/break.exp: Check for gdb,noresults before testing
21758 exit status and/or results from the target.
21759 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21760 * lib/gdb.exp: Remove old (now bogus) initialization of
21761 noinferior, noargs, noresults and nosignals.
21762
21763Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
21764
21765 * config/sh.exp: New file.
21766
21767 * config/slite.exp: Try to connect multiple times to the board
21768 before rebooting. Only send a "monitor run" if need_monitor_run
21769 is set.
21770
21771 * gdb.base/break.exp: Don't do the "stub continue" test if
21772 the target has gdb_stub set.
21773
21774 * gdb.base/callfuncs.exp: Increase the timeout.
21775
21776 * gdb.base/interrupt.exp: Don't even try to compile the testcase
21777 if the target has gdb,noinferiorio set.
21778
21779 * gdb.base/list.exp: Increase match_max to 10000 characters.
21780
21781 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21782
21783 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21784 target.
21785
21786 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21787
21788Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
21789
21790 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
21791 trying to delete the copy of gdb. Catch the file delete so we
21792 don't die if the delete fails; also, the file should be copied to
21793 the host, not to the build.
c906108c
SS
21794
21795Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
21796
21797 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 21798 parenthesis in case it contains multiple regexps separated
c906108c
SS
21799 with |.
21800
21801 * gdb.base/watchpoint.exp: Use gdb_test.
21802 * gdb.base/default.exp: Ditto.
21803
21804Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
21805
99707966 21806 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 21807
c906108c
SS
21808 * gdb.base/scope.exp: Use gdb_test.
21809 * gdb.c++/classes.exp: Ditto.
21810 * gdb.c++/inherit.exp: Ditto.
21811
21812Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
21813
21814 * gdb.base/crossload.exp: Don't use execute_anywhere, use
21815 remote_exec instead.
21816 * gdb.base/corefile.exp: Don't be ridiculous.
21817 * gdb.base/*.c: Add missing stub invocations.
21818
21819Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
21820
21821 * config/slite.exp: Miscellaneous fixes.
21822
21823 * lib/gdb.exp: Fix runto.
21824
21825 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21826 the target.
21827
21828 * gdb.base/watchpoint.exp: Fix regexp.
21829
21830 * lib/gdb.exp(default_gdb_exit): Add a catch to the
21831 close and wait commands, as the descriptor may now be
21832 invalid. Always call "remote_close host".
21833
21834Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
21835
21836 Major rewrite for testsuite revision.
d63a86f8 21837
c906108c
SS
21838 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21839 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21840 instead of relying on spawn_id to always contain a valid
21841 spawn id.
21842 (get_compiler_info): New procedure to build the ${binfile}.ci
21843 file, instead of replicating this in N different places.
21844 (gdb_compile): New procedure.
d63a86f8 21845
c906108c 21846 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
21847 appropriate arguments) instead of compile. Use gdb_test in a lot
21848 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
21849 at the start of a testcase, as this is no longer done magically.
21850
21851 config/*-gdb.exp: Rename without the -gdb suffix.
21852
21853 config/mips.exp: Use remote_close instead of exit_remote_shell.
21854 config/monitor.exp: Use target_info instead of looking at
21855 baud, timeout, etc.
21856 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21857
21858Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21859
21860 * gdb.c++/templates.exp (test_ptype_of_templates),
21861 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21862 Update expect patterns for destructors and assignment operators
21863 to match corresponding c-typeprint.c changes.
21864 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
21865 to destructor breakpoint test, GDB should be able to set the
21866 destructor breakpoint without specifying arguments.
21867
21868Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
21869
21870 * gdb.threads/pthreads.exp: Change result for failure to compile due
21871 to lack of pthreads runtime support from an error to simply an
21872 unsupported test, per dejagnu standards.
21873
21874Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21875
21876 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
21877 where GDB exits to reduce pattern match time.
21878 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
21879
21880 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
21881
dc96c6c7 21882Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21883
21884 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21885 * gdb.base/default.exp: ditto.
21886 * gdb.base/nodebug.exp: ditto.
21887 * gdb.base/printcmds.exp: ditto.
21888 * gdb.base/ptype.exp: ditto.
21889 * gdb.base/setvar.exp: ditto.
21890 * gdb.base/structs.exp: ditto.
21891 * gdb.base/setshow.c: Guard against uninitialized values of argc.
21892
21893Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
21894
21895 * configure, */configure: Rebuild with autoconf 2.12.
21896
21897Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
21898
21899 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21900 use new i*86-pc-linux*-gnu quads.
21901 * gdb.base/corefile.exp: Ditto.
21902 * gdb.base/signals.exp: Ditto.
21903 * gdb.base/sigall.exp: Ditto.
21904 * gdb.base/interrupt.exp: Ditto.
21905
21906 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21907 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
21908 RedHat 4.0.
d63a86f8 21909
c906108c 21910 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
21911 linux. This allows the test case to at least compile on latest
21912 linux, but still not run due to missing the threads runtime library.
c906108c
SS
21913
21914Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21915
21916 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
21917 directory to search gdb directory. Accept and step over conditional
21918 stack alignment code. Consume $prompt in failure cases.
21919 Reset timeout to $oldtimeout instead of some arbitrary value.
21920 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
21921 timeout problems with infinite stack backtraces.
21922 * gdb.base/ptype.exp (ptype struct link, union tu_link):
21923 Accept function parameters for linkfunc member.
21924
21925Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
21926
21927 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21928 (CXXFLAGS): Remove, unreferenced.
21929 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
21930 previous -B options and also add -B option to pick up cross compiled
21931 runtime.
c906108c
SS
21932 (TARGET_INCLUDES): Add for -I options and add code to initialize when
21933 doing cross compiles.
21934 (target_alias): Declare global.
21935 (xgcc): Set variable to full path of gcc in build tree. Use findfile
21936 to verify that gcc exists in build tree, and if so set CC to that
21937 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 21938
c906108c
SS
21939Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
21940
21941 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
21942 ptype test for anonymous union. Fixup testcase to match
21943 current gcc debug output.
21944
21945Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
21946
21947 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
21948 force argument to an unsigned long type.
21949
21950Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
21951
21952 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 21953 tests and anonymous union print/ptype tests.
c906108c
SS
21954 * gdb.base/list.exp (test_forward-search): Increase timeout by
21955 5 minutes for the "search extremely long line" case.
21956 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
21957 completely optional and that the pass/fail messages use the command as
21958 the message if that third arg is a null string.
21959 (gdb_test_exact): Arrange that a null string pattern means match a
21960 null string output rather than any output, which might include random
889bf7c5 21961 errors.
c906108c
SS
21962 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
21963 backtrace test.
21964 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
21965 always failing and failure is now exposed by gdb.exp changes.
21966
21967Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
21968
21969 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
21970 weren't being noted.
21971
21972Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21973
21974 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
21975 * gdb.stabs/weird.exp: Remove v_comb xfails.
21976
dc96c6c7 21977Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21978
21979 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 21980 list.exp scope.exp watchpoint.exp]
c906108c 21981 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 21982
dc96c6c7 21983Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21984
21985 * config/monitor.exp: Increase download timeout to 1000 seconds.
21986
dc96c6c7 21987Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21988
21989 * config/m32r.exp: Increase timeout to 120 seconds.
21990
21991Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
21992
21993 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
21994 and accept older ordering as obsolescent gcc or gdb.
21995 * gdb.c++/templates.exp: Ditto.
21996 * gdb.c++/virtfunc.exp: Ditto.
21997
21998Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
21999
22000 * gdb.base/coremaker.c: Add code to mmap some data so we
22001 can check that it ends up in the core file.
22002 * gdb.base/corefile.exp: Add test to read mmapped data
22003 from core file.
22004
dc96c6c7 22005Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22006
22007 * config/m32r.exp: New file.
22008
22009Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22010
22011 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22012 that cflags can contains -gstabs, and work correctly for other tests.
22013
dc96c6c7 22014Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22015
22016 * gdb.base/setshow.exp: New file, tests show and set.
22017 * gdb.base/setshow.c: New file, tests show and set.
22018 * gdb.base/help.exp: Add test for help set|show annotate.
22019 * gdb.base/default.exp: Add test for set|show annotate.
22020
22021Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22022
22023 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22024 errors unique.
22025 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22026 explicitly.
22027
22028Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22029
22030 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22031 and width commands. This is done elsewhere.
22032 * (gdb_start): Don't call gdb_start_sim here. That's already
22033 done in gdb_load. This fixes lots of failures in default.exp.
22034
22035Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22036
22037 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22038 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22039 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22040 in the same we we treat other failures (since it may be an expected
889bf7c5 22041 condition), rather than as an error.
c906108c
SS
22042 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22043 old test format.
22044
22045Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22046
22047 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22048 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22049 twice. Nuke the duplicates.
c906108c 22050 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22051 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22052 Remove config.h along with other config files.
22053
22054Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22055
22056 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22057 "p func1 ()" and note that rests of tests are skipped.
22058 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22059 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22060 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22061 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22062 affected by the previous run test.
22063 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22064 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22065 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22066 "pass int powerset tuple" and "pass modeless int powerset tuple".
22067 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22068 "real write 4" and "real write 8".
22069 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22070 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22071 "print \$i after tuple assign 2", and
22072 "print vs2 after tuple assign 2".
22073 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22074 meaningful error message and return -1 so the caller can
22075 suppress further tests and avoid a cascade of errors.
d63a86f8 22076
c906108c
SS
22077Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22078
22079 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22080 format for printing version.
22081 * gdb.base/default.exp: Ditto.
22082 * gdb.base/interrupt.exp: Fix problem with cascade of
22083 errors if child process dies while calling a function.
d63a86f8 22084
c906108c
SS
22085Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22086
22087 * Makefile.in (VPATH): Add
22088 * Makefile.in (Makefile, config.status): Fix rules so things get
22089 remade when necessary.
22090
22091Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22092
22093 * Makefile.in (just-check): Add path to sibling expect dir
22094 to environment variable specified by RPATH_ENVVAR.
22095
22096Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22097
22098 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22099 (just-check): Add shared library paths for libstdc++, tk,
22100 tcl, bfd, and opcodes to the environment variable specified
22101 in RPATH_ENVVAR.
22102 * configure.in: Add support to recognize --enable-shared flag
22103 and generate correct value for RPATH_ENVVAR.
22104 * configure: Regenerated with autoconf.
22105
22106Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22107
22108 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22109 include all osf versions.
c906108c
SS
22110 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22111 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22112 when target is linux. When failing to build pthreads test
22113 executable, give more meaningful message.
22114 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22115 arg for pthread_create.
d63a86f8 22116
c906108c
SS
22117Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22118
22119 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22120 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22121 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22122 and -lpthreads (everybody else).
c906108c
SS
22123 (test_startup): Fail gracefully if threads are not supported.
22124 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22125 "p/c array_index("abcdef",2)" when not gcc compiled.
22126 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22127 "print func2::coremaker_local" when not gcc compiled.
22128 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22129 "ptype on opaque struct tagname (statically)",
22130 "ptype on opaque struct tagname (dynamically) 1", and
22131 "ptype on opaque struct tagname (dynamically) 2"
22132 for not compiled with gcc.
22133 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22134 backtrace when compiled with gcc.
d63a86f8 22135 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22136 than always return success.
22137
22138Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22139
22140 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22141
22142Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22143
22144 * gdb.base/structs.exp: Undo last change.
22145
22146Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22147
22148 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22149 encapsulate all the steps/nexts done during self test, starting
22150 at main, and makes them less sensitive to optimization issues.
22151 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22152 signal handler" test.
22153 * gdb.threads/pthreads.exp: Only run this for native configs.
22154 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22155 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22156 tests.
22157 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22158 for "runto test_calls(void)" test.
d63a86f8 22159
c906108c
SS
22160Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22161
22162 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22163 and don't expect address info in breakpoint confirmations.
22164
22165Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22166
22167 * gdb.base/list.exp (test_forward_search): Increase timeout
22168 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22169 and then reset to old value when done. Increase expect input
c906108c
SS
22170 buffer to 10000.
22171
22172Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22173
22174 * gdb.base/list.exp (test_forward_search): Fix to handle very
22175 long source line without overflowing expect's input buffer.
22176
22177Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22178
22179 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22180 "buffer_full".
22181
22182 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22183 "buffer_full".
22184
22185 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22186 "buffer_full".
22187
22188 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22189 "buffer_full".
22190
22191Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22192
22193 * configure.in (configdirs): Add gdb.threads.
22194 * configure: Regenerated with autoconf.
22195 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22196 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22197 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22198
c906108c
SS
22199Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22200
22201 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22202
22203Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22204
22205 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22206 each signal's status in the output of "handle all print".
22207 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22208 the \r\n sequence that immediately precedes the gdb prompt.
22209 * gdb.base/a1-selftest.exp: Save original timeout and restore
22210 after test.
22211
22212Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22213
22214 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22215 symbol.
22216
22217Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22218
22219 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22220
22221Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22222
22223 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22224 timeout by 60 seconds.
22225
22226Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22227
22228 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22229 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22230 error return.
22231
22232Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22233
22234 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22235 gdb initialization, also report how long dejagnu waited. Restore
22236 old timeout before doing error return. Temporarily increase timeout
889bf7c5 22237 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
22238
22239Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22240
22241 * lib/gdb.exp: Report timeout value for verbosity level 2.
22242 * config/gdbserver.exp: Ditto.
22243 * config/hppro.exp: Ditto.
22244 * config/mips-gdb.exp: Ditto.
22245 * config/monitor.exp: Ditto.
22246 * config/netware.exp: Ditto.
22247 * config/sim-gdb.exp: Ditto.
22248 * config/slite-gdb.exp: Ditto.
22249 * config/udi-gdb.exp: Ditto.
22250 * config/unix-gdb.exp: Ditto.
22251 * config/vx-gdb.exp: Ditto.
22252 * gdb.base/a1-selftest.exp: Ditto.
22253 * gdb.base/a2-run.exp: Ditto.
22254 * gdb.base/break.exp: Ditto.
22255 * gdb.base/corefile.exp: Ditto.
22256 * gdb.base/list.exp: Ditto.
22257 * gdb.base/recurse.exp: Ditto.
22258 * gdb.base/scope.exp: Ditto.
22259 * gdb.base/signals.exp: Ditto.
22260
22261Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22262
22263 * gdb.threads/Makefile.in (docdir): Removed.
22264
22265Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22266
22267 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 22268 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 22269 @srcdir@.
d63a86f8 22270 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
22271 autoconf 2.5 or higher.
22272 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22273
22274Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22275
22276 * configure: Regenerated.
22277 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22278 avoid name clashes with SunOS headers.
22279
22280Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22281
22282 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22283
22284Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22285
22286 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22287 prototype information ends up in the compiler info file.
22288
22289Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22290
22291 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22292 attempting to regenerate it. Eliminate use of a temporary file
22293 and just generate the info file directly. Source it immediately,
22294 for consistency of use.
22295 * gdb.base/corefile.exp: Ditto
22296 * gdb.base/exprs.exp: Ditto.
22297 * gdb.base/funcargs.exp: Ditto.
22298 * gdb.base/langs.exp: Ditto.
22299 * gdb.base/list.exp: Ditto.
22300 * gdb.base/mips_pro.exp: Ditto.
22301 * gdb.base/nodebug.exp: Ditto.
22302 * gdb.base/opaque.exp: Ditto.
22303 * gdb.base/ptype.exp: Ditto.
22304 * gdb.base/scope.exp: Ditto.
22305 * gdb.base/setvar.exp: Ditto.
22306 * gdb.base/signals.exp: Ditto.
22307 * gdb.base/whatis.exp: Ditto.
22308 * gdb.c++/templates.exp: Ditto.
22309 * gdb.c++/virtfunc.exp: Ditto.
22310 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 22311 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
22312
22313Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22314
22315 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22316 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22317 Increase timeout, a lot of single stepping might be needed if the
22318 target has no hardware watchpoints.
22319
22320Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22321
22322 * gdb.base/break.exp: Ignore compiler warnings when compiling
22323 break.c.
22324 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22325 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22326 from remote-sim.
22327 * gdb.base/exprs.exp: Add h8300 xfails.
22328 * gdb.base/funcargs.exp: Likewise.
22329 * gdb.base/nodebug.exp: Likewise.
22330 * gdb.base/printcmds.exp: Likewise.
22331 * gdb.base/ptype.exp: Likewise.
22332 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22333 h8300 xfails.
d63a86f8 22334 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
22335 on the h8300.
22336 * gdb.base/funcargs.c: Explicitly make last constant argument to
22337 call_after_alloca_subr an unsigned long type.
22338 * gdb.base/return.c: Include stdio.h.
22339
22340Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22341
22342 * config/abug.exp: New file for the older Motorola Bug monitor
22343 that runs on the mvme13x series VME boards.
22344 * config/monitor.exp: Use the new config array for target settings
22345 if they exist.
22346
22347Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22348
22349 * sim-gdb.exp: Make the SH simulator allocate less space when
22350 it is targeted.
22351
22352Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22353
22354 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22355 test.
22356
22357Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22358
22359 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22360 "rs6000-*-*" for "list function in include file" when gcc compiled.
22361 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22362 for "p ctable1[120]".
22363 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22364 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22365 Remove setup_xfail for "rs6000-*-*" for
22366 "print 'scope0.c'::filelocal before run".
22367 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22368 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22369 since some compilers don't allow both options to be given
22370 on the same command line. Create object file and move it.
d63a86f8 22371
c906108c
SS
22372Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22373
22374 * gdb.base/corefile.exp: Always regenerate the core file, since
22375 we always regenerate the coremaker program. Detect special case
22376 where registers cannot be read from core file.
d63a86f8 22377
c906108c
SS
22378Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22379
22380 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22381 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22382 * gdb.c++/templates.exp: Only match on basename of file since
22383 some formats like xcoff don't encode directory information.
22384 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22385 and rs6000 AIX xcoff targets.
22386 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22387 * configure: Regenerate.
22388 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22389 here, rather than in distclean.
d63a86f8 22390
c906108c
SS
22391Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22392
22393 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22394 defined, and use it to compile the test case with -O2. The
22395 native compilation still uses no optimization.
22396 * gdb.base/mips_pro.c: Remove inline assembly code since
22397 it is compiled PIC by default, which results in assembler
22398 warnings that make the testsuite think the compilation
22399 was unsuccessful.
22400
22401Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
22402
22403 * gdb.c++/misc.exp: Add note to message for
22404 "print s.a for foo struct" that this is a known gcc 2.7.2
22405 and earlier bug.
22406
22407Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
22408
22409 * gdb.base/break.exp: Fix pattern for matching "Delete all
22410 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
22411 setup_xfail for deleting all breakpoints test. Fix various
22412 timeout messages to include "(timeout)".
22413 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22414 for "p t_float_values2(3.14159,float_val2)".
22415 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22416 for "continue to call2g" when gcc compiled.
22417 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22418 "up to foo in langs.exp", "show language at foo in langs.exp",
22419 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22420 and "show language at fsub in langs.exp".
22421 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22422 "list line 1 in include file", "list message for lines past EOF",
22423 "list function in include file", "list list0.h:foo", and
22424 "list filename:function; nonexistant function".
22425 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22426 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22427 and "ptype t_char_array" to be for native cc only.
d63a86f8 22428
c906108c
SS
22429Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
22430
d63a86f8 22431 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 22432 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 22433 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
22434
22435Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
22436
22437 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22438 "bt in signals.exp". This problem only appears when running
22439 the testsuite, and then only intermittently.
22440
22441Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
22442
22443 * gdb.base/return.exp (return_tests): Differentiate between
22444 two tests of continuing.
22445
22446Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
22447
22448 * */Makefile.in (maintainer-clean): Remove config.log.
22449 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22450 * gdb.c++/Makefile.in (PROGS): Add inherit.
22451 (clean): Remove *.ci.
22452
22453Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
22454
22455 * gdb.c++/misc.cc: Add test code from Mike Stump.
22456 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22457
22458Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
22459
22460 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22461 to "alpha-*-osf2*" and add comment.
22462 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
22463 setup_xfail for "step over execarg initialization" and
22464 "step over corearg initialization".
c906108c
SS
22465 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22466 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22467 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 22468 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
22469 "print func2::coremaker_local", and "backtrace in corefile.exp".
22470 * gdb.base/signals.exp: Build and source signals.ci.
22471 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22472 to be for gcc only.
22473 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 22474
c906108c
SS
22475Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22476
22477 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
22478 Feb 3 procfs.c change.
22479
22480Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
22481
22482 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22483
22484Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
22485
22486 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22487 from dejagnu's apparent default of 10 seconds, which gives random
22488 results when running the tests over NFS on moderately loaded systems.
22489 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22490
22491Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
22492
22493 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
22494 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 22495 result reports.
c906108c
SS
22496
22497Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
22498
22499 * configure.in (CY_AC_PATH_TCLH): Remove.
22500 * configure: Regenerate.
22501
22502Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
22503
22504 * gdb.c++/Makefile.in (clean): Add missing '{'.
22505
22506Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
22507
22508 * lib/gdb.exp: Provide a default value for noinferior.
22509
22510 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22511 Load libgloss.exp.
22512
22513Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
22514
22515 * gdb.disasm/hppa.exp: Compile directly into an executable, use
22516 the executable, not the .o to run the tests from.
22517
22518Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
22519
22520 * gdb.base/break.exp: Don't test for program exit or exit status
22521 if $noresults if nonzero.
22522 * gdb.base/langs.exp: Likewise.
22523 * gdb.base/watchpoint.exp: Likewise.
22524
22525 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22526 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22527 trying to compile the testcase.
22528
22529Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
22530
22531 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22532 * gdb.base/signals.exp (continue to handler): Likewise.
22533
22534Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
22535
22536 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
22537
22538 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
22539
22540Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
22541
22542 * gdb.base/corefile.exp: Recognize "not found" as failure
22543 when trying to determine if a core file was generated.
22544 If no core file was generate the first time, try again without
22545 the ulimit -c to work around braindamaged shells.
22546
22547Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
22548
22549 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22550 [] tests with "test" and enclose string in quotes.
22551 * gdb.stabs/configure: Rebuild
d63a86f8 22552
c906108c
SS
22553Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
22554
22555 Changes in sync with expect:
22556 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22557 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22558 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22559 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
22560 argument to AC_REQUIRE.
22561 * configure: Regenerated.
22562
22563Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
22564
22565 * gdb.base/corefile.exp: When generating a core, discard any
22566 error messages about ulimit not found and the "core dumped"
22567 message from the shell that runs the coredumper.
22568
22569Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
22570
22571 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22572
22573 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22574 which sed script to run. Expect failure for v_comb test
22575 on PA targets too.
d63a86f8 22576
c906108c
SS
22577Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
22578
22579 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 22580 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
22581
22582Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
22583
22584 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22585 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 22586 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
22587 * lib/gdb.exp (default_gdb_start): Fix typo.
22588 * gdb.base/corefile.exp: Allow "Core was generated by ..."
22589 messages to not include the full program name that caused
22590 the core dump since some systems (such as solaris) apparently
22591 truncate this path to about 80 characters.
22592 When generating a core file first try increasing the core file
22593 size limit to unlimited since some systems may default it to
22594 zero, and it is harmless to try it. Move the test for failing
22595 to generate a core file to where it will actually get executed.
22596 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22597 new gdb result from g++ debug info improvements and make old
22598 pattern obsolescent. Also account for size_t differences
22599 (may be int or long).
22600 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22601 initialization before function call is placed in the delay slot
22602 and thus appears to be skipped over by commands such as "next".
22603
22604Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
22605
22606 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22607
22608Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
22609
22610 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22611 input source file; fix code to compile test to deal with this
22612 convention.
22613 * gdb.c++/*.exp: Likewise.
22614
22615Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
22616
22617 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22618 "bt in signals.exp".
22619
22620Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
22621
22622 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22623 "step over execarg initialization" and
889bf7c5 22624 "step over corearg initialization".
c906108c
SS
22625
22626Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
22627
22628 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22629 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
22630
22631Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
22632
22633 From Rob Savoye (rob@poseidon.cygnus.com)
22634 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22635 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
22636 configure.in}, gdb.disasm/{Makefile.in, configure.in},
22637 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22638 configure.in}: Major reworking for autoconfig.
c906108c
SS
22639 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22640 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 22641 New files.
c906108c
SS
22642 * config/unix-gdb.exp: Make GDB global.
22643 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
22644 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22645 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22646 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22647 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22648 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 22649 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
22650 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22651 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22652 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22653 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 22654 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
22655 to returns as necessary, arrange for test to compile own testcase
22656 executable.
c906108c 22657 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 22658
c906108c
SS
22659Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
22660
22661 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 22662 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
22663 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22664 "backtrace through signal handler".
22665
22666Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22667
22668 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
22669 continuing from a job control stop signal.
22670 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
22671
22672Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
22673
22674 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22675 * gdb.base/corefile.exp: Likewise.
22676 * gdb.base/funcargs.exp: Likewise.
22677
22678Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
22679
22680 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
22681 * config/monitor.exp: Add support for setting baud rate.
22682
22683Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
22684
22685 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22686 i*86-*-linux* xfails for "backtrace through signal handler".
22687 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22688 "print func2::coremaker_local".
22689 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 22690 alpha-dec-osf2* xfail for
c906108c
SS
22691 "delete all breakpoints when none".
22692
22693Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
22694
22695 * gdb.base/break.exp: Change test that deletes all breakpoints
22696 when no user breakpoints are installed. A post 4.15 change
22697 causes gdb to no longer prompt in this case.
22698
22699Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
22700
22701 * gdb.base/return.exp (return_tests): Change xfail for test
22702 "correct value returned double test" to stop xfailing at
22703 Solaris 2.5. Apparently the bug has been fixed.
22704
22705Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
22706
22707 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22708 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22709
22710Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
22711
22712 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22713 * gdb.disasm/hppa.s: Corresponding changes.
22714
22715Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
22716
22717 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22718 makefile fragment.
22719 * config/mt-hpux: Deleted.
22720
22721Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
22722
d63a86f8 22723 * Many files: When warning about suppressed tests due to a
c906108c
SS
22724 nonexistant test binary, avoid incrementing the warning count.
22725
22726Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
22727
22728 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 22729
c906108c
SS
22730Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22731
22732 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
22733 "sparc-*-solaris2*".
22734
22735Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22736
22737 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
22738 Add global and local variables and initialize them.
22739 * gdb.base/corefile.exp: Test correct mapping of corefile sections
22740 by printing variables. Remove rs6000 and powerpc xfails, BFD now
22741 extracts the file name and terminating signal from the core file.
22742 * TODO: Remove note about tests for correct mapping of corefile.
22743 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
22744 from optimizing it away.
22745 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
22746 handles common blocks.
22747
22748Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
22749
22750 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22751 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22752
22753Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
22754
22755 * Makefile.in (maintainer-clean): New target, synonym for
22756 realclean.
22757 * gdb.base/Makefile.in (maintainer-clean): Likewise.
22758 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22759 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22760 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22761 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22762 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22763
22764Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
22765
22766 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
22767 xfails when not gcc compiled for "print foo::funclocal".
22768 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22769 "print foo::funclocal at foo",
22770 "print 'scope1.c'::foo::funclocal at foo",
22771 "print foo::funclocal_bss at foo",
22772 "print 'scope1.c'::foo::funclocal_bss at foo",
22773 "print foo::funclocal_ro at foo",
22774 "print 'scope1.c'::foo::funclocal_ro at foo",
22775 "print bar::funclocal at foo" and
22776 "print 'scope1.c'::bar::funclocal at foo".
22777 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
22778 gcc compiled for "print foo::funclocal at bar".
22779 Expand all messages to ensure that they identify that
22780 the test is at bar().
22781 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22782 gcc compiled for:
22783 "ptype on opaque struct pointer (statically)",
22784 "ptype on opaque struct tagname (statically)",
22785 "ptype on opaque struct pointer (dynamically) 1",
22786 "ptype on opaque struct tagname (dynamically) 1",
22787 "ptype on opaque struct pointer (dynamically) 2" and
22788 "ptype on opaque struct tagname (dynamically) 2
22789 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22790 gcc compiled for:
22791 "p datalocal"
22792 "whatis datalocal",
22793 "ptype datalocal",
22794 "p bsslocal",
22795 "whatis bsslocal", and
22796 "ptype bsslocal".
22797 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22798 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22799 when not gcc compiled.
22800 * gdb.base/funcargs.exp (float_and_integral_args): Add
22801 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22802 compiled.
22803 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
22804 "backtrace from call6a" when not gcc compiled.
22805 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22806 "backtrace from call7a" when not gcc compiled.
22807 * gdb.base/callfuncs.exp (do_function_calls):
22808 Add "hppa*-*-hpux*" xfail when not gcc compiled for
22809 "p t_char_array_values(char_array_val2,char_array_val1)",
22810 "p t_char_array_values(char_array_val1,char_array_val2)",
22811 "p t_char_array_values("carray 1","carray 2")",
22812 "p t_char_array_values("carray 1",char_array_val2)",
22813 "p t_char_array_values(char_array_val1,"carray 2")",
22814 "p sum_args(1,{2})",
22815 "p sum_args(2,{2,3})",
22816 "p sum_args(3,{2,3,4})",
22817 "p sum_args(4,{2,3,4,5})"
22818 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22819 "backtrace in corefile.exp" when not gcc compiled.
22820
22821Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22822
22823 * gdb.base/signals.exp: Rewrite `handle all print' test as
22824 a procedure. Accept blanks or TABs as whitespace, increase
22825 timeout and expect input buffer size for the large output
22826 from the command. Remove "i*86-*-bsdi2.0" xfail.
22827
22828Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22829
22830 * gdb.base/setvar.exp: Add new testcases for truncation when
22831 assigning invalid values to bitfields.
22832
22833Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
22834
d63a86f8 22835 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
22836 mips-sgi-irix* xfail for
22837 "call inferior func with struct - returns char *"
22838 and fix test so that an optional (unsigned char *) cast is
889bf7c5 22839 accepted in the result.
c906108c
SS
22840
22841Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
22842
22843 * gdb.base/funcargs.exp (float_and_integral_args): Remove
22844 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22845 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22846 * gdb.base/signals.exp: Remove duplicate "handle all print" test
22847 that accidentally got checked in.
22848
22849Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
22850
d63a86f8 22851 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
22852 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22853 compiled test.
22854 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22855 Add mips-sgi-irix5* xfail for not gcc compiled.
22856 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
22857 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22858 "p top", "whatis top", "p middle", and "whatis middle".
22859 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22860 "whatis signed char" for not gcc compiled.
22861 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22862 "set variable signed char=-1 (-1)" and
22863 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22864 * gdb.base/funcargs.exp (float_and_integral_args):
22865 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22866 Add mips-sgi-irix* xfail when not gcc compiled for
22867 "continue to call2b".
22868 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22869 "continue to call2g".
22870 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22871 "backtrace from call6a"
22872 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22873 "backtrace from call7k".
22874 Add mips-sgi-irix5* xfail when not gcc compiled for
22875 "backtrace from call7a".
22876 (localvars_after_alloca): Fix gdb_test cmds for
22877 "print * after runto ...".
22878 Remove rs6000-*-* xfails for
22879 "print i after runto localvars_after_alloca" and
22880 "print l after runto localvars_after_alloca"
22881 for all compilers.
22882 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 22883 when not compiled with gcc, for:
c906108c
SS
22884 "print signed char == (minus)",
22885 "print signed char != (minus)",
22886 "print signed char < (minus)",
22887 "print signed char > (minus)".
22888 * gdb.base/callfuncs.exp (do_function_calls):
22889 Add mips-sgi-irix* xfail, when compiled with native compiler, for
22890 "call inferior func with struct - returns char *".
d63a86f8 22891 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
22892 "correct value returned double test" to include Solaris 2.4.
22893 * gdb.base/funcargs.exp (float_and_integral_args):
22894 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 22895
c906108c
SS
22896Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22897
22898 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
22899 enumeration bitfields if compiling with GNU C.
22900 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
22901 to empty' prompt.
22902
22903Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
22904
22905 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22906 test for PRO targets.
22907
22908 * gdb.base/funcargs.exp: Avoid ever setting more than 8
22909 breakpoints in the inferior at any given time by making
22910 two groups of breakpoints for call2*, call6* and call7*
22911 tests.
22912
22913Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22914
22915 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
22916 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
22917 from optimizing it away.
22918 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
22919 "call inferior func with struct".
22920
22921Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
22922
22923 * configure.in: Only configure gdb.chill for particular targets.
22924
22925Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
22926
22927 * gdb.base/Makefile.in: Add action to .c.o transformation
22928 rule that generates a .ci file for each .o file and remove
22929 explicit .c.o rules except for callfuncs.o.
22930 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
22931 generates a .ci file for each .o file and remove explicit
22932 .cc.o rules.
22933 (clean): Remove *.tmp *.ci files.
22934 (EXECUTABLES): Remove templ-info.exp.
22935 * gdb.base/compiler.c: New file.
22936 * gdb.c++/compiler.cc: New file
22937 * gdb.base/scope.exp: Source gdb.base/scope.ci.
22938 Change rs6000-*-* xfail for
22939 "print 'scope0.c'::filelocal_ro" and
22940 "print 'scope1.c'::filelocal" and
22941 "print 'scope1.c'::filelocal_bss" and
22942 "print 'scope1.c'::filelocal_ro" and
22943 "print 'scope1.c'::foo::funclocal" and
22944 "print 'scope1.c'::foo::funclocal_ro" and
22945 "print 'scope1.c'::bar::funclocal" and
22946 "print 'scope0.c'::filelocal_ro" and
22947 "print 'scope1.c'::filelocal at foo" and
22948 "print 'scope1.c'::filelocal_bss at foo" and
22949 "print 'scope1.c'::filelocal_ro at foo" and
22950 "print 'scope1.c'::foo::funclocal at foo" and
22951 "print 'scope1.c'::foo::funclocal_bss at foo" and
22952 "print 'scope1.c'::foo::funclocal_ro at foo" and
22953 "print 'scope1.c'::bar::funclocal at foo" and
22954 "print 'scope0.c'::filelocal_ro" and
22955 "print 'scope1.c'::filelocal" and
22956 "print 'scope1.c'::filelocal_bss" and
22957 "print 'scope1.c'::filelocal_ro" and
22958 "print 'scope1.c'::foo::funclocal" and
22959 "print 'scope1.c'::foo::funclocal_bss" and
22960 "print 'scope1.c'::foo::funclocal_ro" and
22961 "print 'scope1.c'::bar::funclocal" and
22962 "print 'scope1.c'::bar::funclocal_bss"
22963 to only be xfail'd when not compiled with gcc.
d63a86f8 22964 Add rs6000-*-* xfail for
c906108c
SS
22965 "print 'scope0.c'::filelocal_bss before run"
22966 when compiled with gcc.
22967 (test_at_main): Add rs6000-*-* xfail for
22968 "print filelocal_ro in test_at_main"
22969 when compiled with gcc.
22970 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 22971 Add rs6000-*-aix* xfail for
c906108c
SS
22972 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
22973 "ptype t_char_array", not compiled with gcc.
22974 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
22975 xfail for "list foo (in include file)" when gcc compiled.
22976 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 22977 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
22978 "run to call0a" if not compiled with gcc.
22979 (unsigned_integral_args): Add rs6000-*-* xfail for
22980 "run to call1a" if not compiled with gcc.
22981 (float_and_integral_args): Add rs6000-*-* xfail for
22982 "run to call2a" if not compiled with gcc and for
22983 "continue to call2b" for any compiler.
22984 Add rs6000-*-* xfail to
22985 "print f1 after run to call2a" for gcc compiled.
22986 (discard_and_shuffle): Add rs6000-*-* xfail for
22987 "run to call6a".
22988 (shuffle_round_robin): Add rs6000-*-* xfail for
22989 "backtrace from call7a" if not compiled with gcc.
22990 Add rs6000-*-* xfail for
22991 "backtrace from call7b" if compiled with gcc.
22992 (call_after_alloca): Add rs6000-*-* xfail for
22993 "print c in call_after_alloca" and
22994 "print s in call_after_alloca" and
22995 "backtrace from call_after_alloca_subr"
22996 if not compiled with gcc.
22997 (localvars_in_indirect_call): Add rs6000-*-* xfail for
22998 "print c in localvars_in_indirect_call" and
22999 "print c in localvars_in_indirect_call" and
23000 "backtrace in indirectly called function" and
23001 "stepping into indirectly called function"
23002 if not compiled with gcc.
23003 (localvars_after_alloca): Add rs6000-*-* xfail for
23004 "print c after runto localvars_after_alloca" and
23005 "print s after runto localvars_after_alloca" and
23006 "print i after runto localvars_after_alloca" and
23007 "print l after runto localvars_after_alloca"
23008 for all compilers.
23009 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23010 than whatis-info.exp.
23011 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23012 than opaque-info.exp.
23013 Setup rs6000-*-* xfail for
d63a86f8 23014 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23015 "ptype on opaque struct pointer (dynamically)" when
23016 not compiled with gcc.
23017 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23018 rather than callf-info.exp.
23019 (do_function_calls): Add clear_xfail for rs6000-*-* for
23020 "p t_float_values2(3.14159,float_val2)". Seems to work
23021 fine there, both with xlc and gcc. Need to find out what
23022 it is doing right and fix other platforms.
23023 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23024 "call inferior func with struct - returns int",
23025 "call inferior func with struct - returns long",
23026 "call inferior func with struct - returns float",
23027 "call inferior func with struct - returns double",
23028 "call inferior func with struct - returns char *",
23029 but only if not gcc compiled (presumes xlc compiled).
23030 Change rs6000-*-* xfails for
23031 "call inferior func with struct - returns char" and
23032 " call inferior func with struct - returns short" to only
23033 xfail if not using gcc.
23034 (clean mostlyclean): Remove *.ci and *.tmp files.
23035 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23036 than templ-info.exp.
23037 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23038 Add rs6000-*-* xfail for "up to foo in langs.exp"
23039 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23040 when not gcc compiled.
d63a86f8 23041
c906108c
SS
23042Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23043
23044 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23045 * gdb.base/corefile.exp: Likewise.
23046 * gdb.base/list.exp: Likewise.
23047 * gdb.base/scope.exp: Likewise.
23048 * gdb.base/siganls.exp: Likewise.
23049
23050 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23051 compiler output.
23052 * gdb.base/whatis.exp: Likewise.
23053
23054Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23055
23056 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23057 failure (opcode table has been fixed to match reality).
23058
23059Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23060
23061 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23062 "call inferior func with struct - returns char",
23063 "call inferior func with struct - returns short"
23064
23065 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23066 "print 'scope0.c'::filelocal at main",
23067 "print 'scope0.c'::filelocal_bss in test_at_main",
23068 "print 'scope0.c'::filelocal at foo",
23069 "print 'scope0.c'::filelocal_bss in test_at_foo",
23070 "print 'scope0.c'::filelocal at bar",
23071 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23072
c906108c
SS
23073 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23074 in source file 1". This bug seems to have been fixed with both
23075 gcc and native cc (was native assembler bug?).
23076
23077Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23078
23079 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23080 "backtrace through signal handler" to "i*86-*-sysv4*".
23081 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23082 continue" case. Add "known SVR4 bug" to fail message.
23083 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23084 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23085 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23086 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23087 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23088 "up to foo in langs.exp", "show language at foo in
23089 langs.exp", "up to cppsub_ in langs.exp", "show
23090 language at cppsub_ in langs.exp", "up to fsub in
23091 langs.exp", and "show language at fsub in langs.exp".
23092 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23093 "bactrace in corefile.exp".
23094 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23095 "call inferior function with struct - returns float" and
23096 "call inferior function with struct - returns double".
d63a86f8 23097
c906108c
SS
23098Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23099
23100 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23101 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23102 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23103 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23104
23105Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23106
23107 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23108 (or overriden) "CHILL" macro rather then bare "gcc".
23109 Also look for ../../gcc/xgcc since that is what we will
23110 actually need, not "Makefile". Remove following assignment
23111 of CHILL to CHILL_FOR_TARGET because that results in
23112 recursive definition.
23113
23114Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23115
23116 * gdb.base/corefile.exp: Change xfail for backtrace in
23117 corefile.exp from linuxaout to all linux.
23118 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23119 cases where we miss the breakpoint at the signal handler
23120 for some reason. Setup xfail for linuxoldld/linuxaout and
23121 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23122 hitting SIGURG breakpoint.
23123 * gdb.base/signals.exp: Setup xfail for "next" acting like
23124 continue to add linuxoldld. Setup xfail for all linux for
23125 "next to handler in signals_tests_1", "backtrace in
23126 signals_tests_1", "continue to func1", "pass SIGUSR1",
23127 and continue to handler".
23128
23129Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23130
23131 * Update all FSF addresses except those in COPYING* files.
23132
23133Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23134
23135 * gdb.base/a2-run.exp: Change messages to be more explicit about
23136 the status of args, and quote binfile in results.
23137
23138Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23139
23140 * gdb.base/callfuncs.exp: Add tests for passing structs to
23141 inferior functions and return various types.
23142 * gdb.base/callfuncs.c: Add functions to receive a struct
23143 and return a member of the struct, in various types.
23144
23145Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23146
23147 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23148
23149Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23150
23151 * config/vxworks29k.exp: New file, sources vxworks.exp.
23152
23153Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23154
23155 * config/gdbremote.exp: New file. Testing framework using
23156 gdbserver.
23157
23158Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23159
23160 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23161 "call function when asleep" and "send end of file".
23162 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23163 for "backtrace in corefile.exp".
23164 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23165 for "backtrace through signal handler".
23166 * gdb.base/corefile.exp: Make sure we actually generate a core file
23167 before trying the core tests. Some systems allow the user to suppress
23168 generation of core files and default to that (linux for example).
23169 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23170 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23171
23172Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23173
23174 * gdb.threads: New directory with some crude multi-threaded
23175 gdb tests (step.exp and step2.exp).
23176 * config/mt-lynx (STEP_EXECUTABLE): Define.
23177 (THREADFLAGS): Define.
23178
23179Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23180
23181 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23182
23183 * gdb.base/signals.exp: Disable whole file for lynx until
23184 further notice.
23185
23186 * gdb.base/signals.exp: xfail test where "next" acts like
23187 "continue" for lynx.
23188
23189 * gdb.base/interrupt.exp: xfail test for calling function while
23190 inferior is asleep for lynx.
23191
23192 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23193 than one cr-lf after each command.
23194
23195Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23196
23197 * configure.in: Reinstate setting of stabsdirs variable, fix
23198 typo in setting up configdirs for native builds.
23199
23200 * gdb.base/return.exp: Fix typo in return double test.
23201 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23202 compiler from optimizing them away.
23203
23204Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23205
23206 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23207 sequences to be echo'd by gdb when using gdb_test.
23208 * gdb.chill/chexp.exp: Likewise.
23209 * gdb.fortran/exprs.exp: Likewise
23210
23211Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23212
23213 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23214 after the inferior gdb has started.
23215
23216 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23217 after each command.
23218 * gdb.base/funcargs.exp: Likewise.
23219 * gdb.base/gdbvars.exp: Likewise.
23220 * gdb.base/interrupt.exp: Likewise.
23221 * gdb.base/list.exp: Likewise.
23222 * gdb.base/watchpoint.exp: Likewise.
23223 * gdb.c++/demangle.exp: Likewise.
23224 * gdb.c++/inherit.exp: Likewise.
23225 * gdb.chill/chexp.exp: Likewise.
23226 * gdb.fortran/exprs.exp: Likewise.
23227
23228 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23229 test if we can't handle IO to/from the inferior.
23230
23231 * gdb.c++/misc.exp: Always check for a program already being
23232 started after sending a "run" command to gdb.
23233
23234 * gdb.base/twice.exp: Start with a fresh gdb.
23235
23236 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23237 only depend on gdb's expression code, not the chill runtime.
23238
23239 * gdb.base/return.c: Put return values into variables so we
23240 can have gdb print them rather than depending on the program
23241 to print them.
23242 * gdb.base/return.exp: Corresponding changes.
23243
23244 * lib/gdb.exp: Provide default value for noinferiorio.
23245 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23246 the inferior.
23247
23248 * gdb.base/break.exp: Always check for a program already being
23249 started after sending a "run" command to gdb.
23250 (text_next_with_recursion): Don't check the output from the
23251 program's printf statement. Instead just make sure the program
23252 exited.
23253
23254 * gdb.base/commands.exp: Protect tests which need arguments with
23255 $noargs conditionals.
23256
23257Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23258
23259 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23260 of structure member arrays to match gdb/valops.c:value_addr change.
23261
23262Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23263
23264 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23265 cases.
23266
23267Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23268
23269 * configure.in (configdirs): Remove gdb.chill from default list
23270 of subdirs and then add it back in only if doing a native build.
23271 The current chill compiler does not yet work in any cross build.
23272 * Revert all signal changes from Jul 6.
23273 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23274 for sh-hms targets, allowing these tests to link, with no other
23275 changes. Testing is suppressed by setting "nosignals" in site.exp.
23276
23277Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23278
23279 * configure.in (signaldirs): Define and add to configdirs for all
23280 targets except some specific ones that are known to not support signals.
23281 Also clean up formatting.
23282 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23283 (signals, sigall): Remove rules to build.
23284 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23285 Moved to new gdb.signals directory.
23286 * gdb.signals: New test directory.
23287 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23288 signals.c signals.exp}: New or moved files.
23289
23290Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23291
23292 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23293
23294Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23295
23296 * gdb.base/return.exp: Xfail `return double' test failure
23297 on at least Solaris 2.3 and handle future/past versions on
23298 a case by case basis as appropriate. Also update message
23299 to include i*86 failures.
23300
23301Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23302
23303 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23304
23305 * lib/gdb.exp: Fix comment which erroneously identified
23306 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23307 gdb_file_cmd not gdb_load).
23308 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23309
23310 * gdb.base/setvar.exp: Make test names consistent between pass and
23311 fail cases. Use gdb_test more.
23312
23313Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23314
23315 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23316
23317Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23318
23319 * gdb.base/help.exp: Fix expected help string for `show commands'.
23320
23321Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23322
23323 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23324
23325 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23326 of a text section.
23327
23328Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23329
23330 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23331 that loop eventually terminates. Fix Connection refused logic so
23332 that testsuite will expire nicely.
23333
23334Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23335
23336 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23337 config/rom68k.exp: New tcl glue for the appropriate monitors.
23338 These all just end up calling monitor.exp.
23339 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23340 refused' by retrying. Cleanup some timeout issues.
23341 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23342 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23343 callers don't have to set/restore global timeout variable.
23344
23345 * The following set of changes centralizes management of the global
23346 timeout variable. This way, it can be set in one target dependent
23347 place instead of dozens of places scattered throughout the test suite.
23348 If you need to lengthen a timeout, then you should either set timeout
23349 in one of the config/{target}.exp files, or multiply it by a factor.
23350 Setting it to an absolute value is always going to lose for some
23351 targets.
23352 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23353 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23354 * gdb.base/funcargs.exp: Don't set timeout.
23355 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23356 * gdb.base/printcmds.exp (test_print_string_constants
23357 test_print_array_constants): Don't set timeout.
23358 * gdb.base/ptype.exp: Don't set timeout.
23359 * gdb.base/recurse.exp: Don't set timeout.
23360 * gdb.base/return.exp: Don't set timeout.
23361 * gdb.base/watchpoint.exp: Don't set timeout.
23362 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23363 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23364
23365Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23366
23367 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23368
23369Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23370
23371 * lib/gdb.exp: Disable chill tests for irix5.
23372
23373Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23374
23375 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23376 each test pass or fail.
23377
23378Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23379
23380 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23381 xlc not gcc.
23382
23383Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23384
23385 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23386
23387Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23388
23389 * config/est.exp: Fix copyright and comments. Remove dead code.
23390 Use targetname, serialport and baud variables instead of fixed
23391 constants.
23392 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23393 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23394
23395Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23396
23397 * gdb.base/watchpoint.exp: Don't run
23398 test_watchpoint_triggered_in_syscall for sunos.
23399
23400Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23401
23402 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23403 they don't seem to exist. Do include stdio.h.
23404
23405Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23406
23407 * gdb.base/a1-selftest.exp: Add alpha xfail.
23408
23409Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23410
23411 * gdb.base/watchpoint.c (main): Prompt before calling read().
23412 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23413 Revise accordingly. Remove cruft about sending "123" several
23414 times, until it gets noticed. Clean up the "print buf[0]" stuff
23415 so that it passes or fails, and waits for prompts in the usual way.
23416
23417Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23418
23419 * gdb.base/recurse.exp: Fix comment.
23420
23421 * TODO: Remove item about printing variables in nodebug.exp. Add
23422 item about enabling tests which are only run on some targets.
23423
23424 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23425 fail, make test names unique, use new gdb_test convention
23426 regarding pattern, use gdb_test more, etc.).
23427
23428 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23429 fail, make test names unique, etc.).
23430
23431Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23432
23433 * gdb.base/nodebug.c: Change return type of top and middle to
23434 short.
23435 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
23436 are fixed by the recent mdebugread.c changes. Allow `short ()'
23437 as type for top and middle.
23438
23439Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23440
23441 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
23442 nearly as I can tell, the whole thing was an accident in Stu's
23443 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23444 to replace a send/expect pair with gdb_test, but ended up only
23445 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
23446 of 30 Mar 1995 took care of it, but left this vestigial comment
23447 which I am now nuking.
23448
23449Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23450
23451 * gdb.base/break.exp: Look for different line number for
23452 breakpoint at main depending on usestubs.
23453
23454Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23455
23456 * gdb.base/list.exp: Adjust some alternate expect patterns to
23457 match recent list0.c change. Add alternate expect pattern for
23458 output from `list default lines around main' for optimizing
23459 compilers.
23460
23461Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23462
23463 * lib/gdb.exp: If nosignals is not set, set it to 0.
23464
23465Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
23466
23467 * config/slite-gdb.exp: Responds to load symbol table prompt.
23468 * gdb.base/break.exp: Adjust line number, fix rerun.
23469 * gdb.base/langs0.c: Add #ifdef usestubs.
23470
23471Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
23472
23473 * gdb.base/list.exp: Adjust line contents after adding new lines in
23474 list0.c. Also fix a syntax error.
23475
23476 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23477 * gdb.base/break.exp: ditto.
23478 * gdb.base/list.exp: ditto.
23479 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23480 * gdb.base/run.c: ditto.
23481 * gdb.base/list0.c: ditto.
23482 * gdb.base/funcargs.c: ditto.
23483
23484Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
23485
23486 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
23487 $targetname, $serialport and $baud instead of hardwired variables.
23488 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
23489 target doesn't support signals.
23490
23491Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
23492
23493 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23494
23495Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23496
23497 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
23498 Don't rely on the value of an auto variable before it has been
23499 initialized. Use gdb_test more.
23500
23501Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23502
23503 * lib/gdb.exp (default_gdb_version): A version number must start
23504 with a digit, but other than that contains all characters up to
23505 the first whitespace character.
23506
23507Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23508
23509 * gdb.base/commands.exp (breakpoint_command_test): New tests.
23510
23511Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23512
23513 * gdb.c++/*.exp: Warn if executable does not exist. The original
23514 reason for skipping the warning was that configure.in sometimes
23515 intentionally skipped building the executables but the tcl code
23516 had no way of knowing. That (a) was always bogus with respect to
23517 error handling, (b) is no longer true (right now there is no way
23518 to skip C++ tests).
23519
23520 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23521
23522Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23523
23524 * gdb.base/list.exp: Add expect patterns for output from
23525 SunPRO compiled executables.
23526 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
23527 types.
23528
23529Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23530
23531 * gdb.base/break.exp (test_next_with_recursion): Accept any line
23532 number (we are already testing that the correct source line text
23533 gets printed).
23534
23535 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
23536 that is what is intended, but something needed to be done to get
23537 sunos4 native working again.
23538
23539 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23540
23541 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23542 apparently went with a (very) old xfail.
23543
23544Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
23545
23546 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23547 runto_main is a proc in gdb.exp that will do 'step' for target use
23548 stubs.
23549 * gdb.base/exprs.exp: ditto.
23550 * gdb.base/interrupt.exp: ditto.
23551 * gdb.base/opaque.exp: ditto.
23552 * gdb.base/printcmds.exp: ditto.
23553 * gdb.base/ptype.exp: ditto.
23554 * gdb.base/scope.exp: ditto.
23555 * gdb.base/setvar.exp: ditto.
23556 * gdb.base/signals.exp: ditto.
23557 * gdb.base/twice.exp: ditto.
23558 * gdb.c++/classes.exp: ditto.
23559 * gdb.c++/inherit.exp: ditto.
23560 * gdb.c++/templates.exp: ditto.
23561 * gdb.base/break.exp: no run and hit main for stubs. Change line
23562 numbers for breakpoints and info breakpoint.
23563 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23564 breakpoint().
23565 * gdb.base/callfuncs.c: ditto.
23566 * gdb.base/exprs: ditto.
23567 * gdb.base/interrupt.c: ditto.
23568 * gdb.base/opaque0.c: ditto.
23569 * gdb.base/printcmds.c: ditto.
23570 * gdb.base/ptype.c: ditto.
23571 * gdb.base/scope0.c: ditto.
23572 * gdb.base/setvar.c: ditto.
23573 * gdb.base/signals.c: ditto.
23574 * gdb.base/twice.c: ditto.
23575 * gdb.c++/misc.cc: ditto.
23576 * gdb.c++/templates.cc: ditto.
23577
23578Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23579
23580 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23581
23582 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23583 somewhere between `read' and `main.c'. I'm pretty sure the
23584 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23585 and it isn't particularly useful.
23586
23587 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
23588
23589Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23590
23591 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23592
23593Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
23594
23595 * config/mt-slite: add LIBS and -nostdlib.
23596 * config/slite-gdb.exp: add this new file to support sparclite target.
23597
23598Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
23599
23600 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23601
23602 * gdb.base/a2-run.exp: Change argument to istarget from
23603 "*-*-vxworks" to "*-*-vxworks*".
23604 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23605
23606Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
23607
23608 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23609 will not runto main but do a 'step' to step out of breakpoint().
23610 * config/mt-slite: add -Dusestubs.
23611
23612Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23613
23614 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23615 instead of just @.
23616
23617 * gdb.base/signals.exp: Add test for "handle all print".
23618 * TODO: Remove "handle all print". Also remove item about
23619 checking copyright date (I don't like the idea of a spurious FAIL
23620 based on when we run the tests).
23621
23622 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
23623 for SunOS4 (reason for failure not investigated). Remove
23624 redundant test for $binfile.
23625
23626 * gdb.base/nodebug.c (array_index): Call malloc.
23627
23628 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23629
23630Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
23631
23632 * gdb.base/recurse.exp: Update gdb_test invocation to use new
23633 conventions and slightly simplify the matching regexp.
23634
23635Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23636
23637 * gdb.base/break.exp: Update gdb_test invocation to use new
23638 convention.
23639
23640 * lib/gdb.exp: If noargs is not set, set it to 0.
23641
23642 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
23643 tests unique.
23644
23645 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23646
23647Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23648
23649 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23650 one argument of type "<non-float parameter>".
23651
23652Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
23653
23654 * config/rom68k.exp: New file to support Motorola IDP board.
23655 * gdb.base/a2-run.exp: Skip this file if noargs is set.
23656 * gdb.base/break.c: Change things around so that this program
23657 doesn't depend upon args. This is necessary to make remote
23658 targets work (in general, they can't take args).
23659 * gdb.base/break.exp: Don't try to send args to program. Don't
23660 expect output. Also, replace lots of code with gdb_test.
23661
23662Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23663
23664 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23665 printing of '\'' (which is what the comment says we are testing,
23666 even though we were not), not '''.
23667 (test_integer_literals_rejected): Test that printing ''' is an error.
23668
23669 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23670 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23671 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23672 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23673 Use gdb_test not test_print_accept.
23674 * lib/gdb.exp: Remove test_print_accept.
23675
23676 * gdb.base/signals.exp (signal_tests_1): Make pass message
23677 consistent with fail message.
23678
23679 * gdb.base/whatis.exp: Remove xfails for printing char vs.
23680 unsigned char; the bug (PR 1821) is fixed.
23681
23682 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23683
23684 * gdb.base/scope.exp (test_at_localscopes): Call pass for
23685 successful tests--makes xfailing them work right.
23686
23687Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23688
23689 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23690 only \r\n, not .*. The test can pass .* as the last thing in
23691 $pattern if that is what it wants. In addition to providing this
23692 flexibility, this change should speed up pattern matching in cases
23693 where the pattern already ended with .* (there were a number of
23694 them). This change also helps catch bad patterns--in the old
23695 scheme the typo "char \*" instead of "char \\*" would pass. Now
23696 it is caught.
23697 * Many .exp files: Update callers.
23698
23699 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
23700 clearer and does not spuriously match multiple ('s. Likewise for
23701 ) and *.
23702
23703 * gdb.base/nodebug.exp: Test ability to call a function and pass
23704 it a string (even with no debugging info).
23705
23706 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23707 "p '\'", which is the same as "p ''" once tcl gets done with
23708 quoting, to "p '\\'", which I suspect is what is intended (one
23709 backslash gets sent to GDB).
23710
23711 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23712
23713Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23714
23715 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
23716 1817) was fixed literally years ago.
23717
23718Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23719
23720 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
23721 test, it causes stepping out of call_after_alloca_subr with
23722 optimizing compilers.
23723 (localvars_in_indirect_call): Consume GDB prompt if `finish'
23724 fails.
23725
23726 * gdb.c++/templates.exp: Source templ-info.exp only if
23727 the templates executable exists.
23728
23729 * gdb.c++/misc.cc (class Contains_static_instance,
23730 class Contains_nested_static_instance),
23731 gdb.c++/classes.exp (test_static_members): Test printing of
23732 a class that contains a static instance of the class.
23733
23734Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23735
23736 * gdb.base/langs2.c (cppsub_): Don't prototype.
23737 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23738 only, I believe).
23739
23740Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23741
23742 * lib/gdb.exp (skip_chill_tests): New procedure.
23743
23744 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23745
23746Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
23747
23748 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23749 each expect pattern. Cuts runtime from 12 to about 4 seconds.
23750
23751Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23752
23753 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23754
23755 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23756 disassemble 8, not 16, instructions for part 4.
23757
23758 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
23759 support the latter anymore.
23760
23761 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23762 -DNO_PROTOTYPES.
23763 * gdb.base/callfuncs.c: Control use of prototypes based on
23764 NO_PROTOTYPES, not __STDC__.
23765 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23766 t_float_values2 tests if prototypes in use.
23767
23768 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23769 t_double_values): When checking differences against DELTA, check
23770 that difference is within the range (-DELTA,DELTA), not just
23771 (-infinity,DELTA).
23772
23773Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
23774
23775 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23776 'file' command firts, then 'target', then 'load', this is due to gdb
23777 target set up.
23778 * config/mips-gdb.exp: Fix a couple regular exp bugs.
23779
23780Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
23781
23782 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23783 FP load/store variants.
23784 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23785
23786Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23787
23788 * gdb.base/term.exp: Do not give a warning if not native, it is
23789 not an abnormal condition.
23790
23791Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
23792
23793 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23794 t_char_array".
23795
23796Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23797
23798 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23799 are getting the version number.
23800
23801 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23802 if not native, it is not an abnormal condition.
23803
23804Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23805
23806 * lib/gdb.exp: Just use "file exists", rather than undocumented
23807 dejagnu procedure "findfile".
23808
23809Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23810
23811 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23812 (LDFLAGS): Set to -Xlinker -Ur.
23813
23814 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23815 Removed, these values are set by lib/gdb.exp.
23816
23817 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23818
23819Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23820
23821 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23822 of replicating gdb startup code.
23823
23824 * config/mt-vxworks (LDFLAGS): Set to -r.
23825 (CFLAGS_FOR_TARGET): Removed.
23826
23827 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23828 (gdb) and gdb for vxworks uses (vxgdb).
23829
23830 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23831 executable is not in the tree and host != target, use sed and
23832 program_transform_name to determine the gdb name used by the
23833 target.
23834
23835 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23836 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23837
23838Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23839
23840 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23841 floats, chars, and shorts where there are ANSI-style function
23842 definitions.
23843
23844 * gdb.base/langs.exp, gdb.base/langs*: New test.
23845 * gdb.base/Makefile.in: Build it.
23846 * TODO: Remove item about checking that C names don't get C++
23847 demangling applied; this test tests it.
23848
23849Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23850
23851 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23852 went with the const70 xfail. The xfail went away a year ago.
23853
23854 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23855
23856 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
23857 for hp300.
23858
23859 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23860
23861 * gdb.base/a1-selftest.exp: Don't run on hp300.
23862
23863Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23864
23865 * Makefile.in (site.exp): Set host_alias and target_alias as well
23866 as host_triplet and target_triplet.
23867
23868Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23869
23870 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23871
23872 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23873 places as other ecoff systems).
23874
23875 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23876 ultrix.
23877
23878Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23879
23880 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23881 remove them.
23882 * gdb.base/nodebug.exp: Accept "function" in addition to "text
23883 variable and "variable" in addition to "data variable".
23884 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23885
23886 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23887 2.
23888 * gdb.base/list1.c (long_line): Add additional statement at start
23889 of function.
23890 * gdb.base/list.exp (test_forward_search): Update line number to
23891 reflect new statement.
23892
23893Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23894
23895 * gdb.base/signals.exp: Reinitialize searched source directories
23896 after gdb_start call.
23897
23898Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
23899
23900 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23901 * gdb.stabs/Makefile.in: Likewise.
23902
23903 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23904 change. Instead split the tests into smaller pieces.
23905 * gdb.disasm/hppa.s: Corresponding changes.
23906
23907Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23908
23909 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23910 Quote ^C when passing it to stty. For some shells ^ is a pipe.
23911
23912 * gdb.base/funcargs.exp: Modify many tests so that every test
23913 either passes or fails. Make some test names unique.
23914
23915Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23916
23917 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23918 Call stty to set interrupt character.
23919
23920 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23921 for HP assembler versus GNU assembler based on actual behavior of
23922 $(CC), rather than assuming that $(AS) is always the GNU assembler.
23923
23924 * TODO: Suggest a few more stepping tests.
23925
23926Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
23927
23928 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23929 restart GDB for h8300 after a continue.
23930 (return): Add pattern to match a29k-udi behavior.
23931 * gdb.base/nodebug.exp: Remove obsolete comment.
23932 * gdb.base/regs.exp: New file, testing of register displays.
23933 * gdb.base/return.exp: Fix typo in reference to $objdir.
23934 * gdb.base/whatis.exp: Always start with a fresh GDB.
23935
23936Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23937
23938 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
23939 higher, these tests generate a lot of output.
23940
23941Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23942
23943 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
23944 code following the catch silently ignored some errors; without the
23945 catch they should be thrown like any other tcl error. Also, the
23946 catch used "" instead of {} which meant all the callers who wanted
23947 to include one of the characters "[]$ had to quote it an extra time.
23948 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
23949 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
23950 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
23951 Remove extra quoting.
23952
23953Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
23954
23955 * gdb.base/commands.exp: Make test names unique; every test either
23956 passes or fails. Update some comments.
23957
23958 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
23959
23960Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23961
23962 The following fixes a FAIL caused by the fact that the alpha stabs
23963 configuration didn't use the ".if alpha" code in weird.def.
23964 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
23965 bit pointer, so the 32 bit version works even on the alpha.
23966 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
23967 Remove the stuff which allowed us to have separate versions for
23968 alpha and everything else.
23969
23970 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
23971 regexp which "info func operator\[\](" is supposed to match. Fix
23972 string to send to GDB. Note that GDB still doesn't work right. Add a
23973 new test for "info func .perator\[\](" which GDB does handle correctly.
23974
23975 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
23976
23977Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23978
23979 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
23980 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
23981 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
23982 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
23983 it makes the tests harder to understand and confuses test-o-matic.
23984 The preferred style is that each test provides a PASS or a FAIL,
23985 and has a unique message (e.g. "continue #54" not just "continue")
23986 which is the same for the pass and the fail.
23987 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23988 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
23989 to lib/gdb.exp.
23990 * gdb.base/printcmds.exp: Use test_print_accept. Remove
23991 prt_accept which was basically the same thing. Likewise for
23992 test_print_reject and prt_reject.
23993 * lib/gdb.exp (test_print_reject): Add some more error message
23994 patterns to match from the former printcmds.exp (prt_reject).
23995 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
23996 One defect of the passcount stuff is that some of it failed to
23997 report XPASS where appropriate.
23998 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
23999 stuff before and after arg in expected pattern.
24000 (test_paddr_operator_functions): Re-do test without print_addr_of;
24001 this is the only test which seems to want extra stuff there.
24002
24003Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24004
24005 * gdb.base/nodebug.exp: Update new tests to reflect improved
24006 wording of gdb output.
24007
24008 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24009 and "ptype" work on variables in files compiled without -g.
24010 Replaces commented out "maint print msymbol" tests.
24011
24012Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24013
24014 * gdb.base/setvar.c (dummy): Call malloc.
24015
24016 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24017 losing with the irix4 sed.
24018
24019 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24020 ALRM" on irix4.
24021
24022Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24023
24024 * TODO: Remove items about corefile.exp testing new exec-file and
24025 backtrace; both are now done. Add items about printing enums.
24026
24027Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24028
24029 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24030 "get signal $thissig" test fails.
24031
24032 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24033
24034Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24035
24036 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24037 compiler warning with dec alpha compiler.
24038
24039 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24040 extra \n from gdb_test call (this explains why the prompt test
24041 that I removed yesterday was there).
24042 (user_defined_command_test): Remove extra \n and prompt test.
24043
24044 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24045 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24046 doesn't exist.
24047 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24048 Also remove alpha workaround, which turns out to be because
24049 SIGABRT == SIGLOST.
24050
24051 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24052
24053 * gdb.base/help.exp: Don't test "help show".
24054
24055Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24056
24057 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24058 "set print address" is on.
24059 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24060 pass prompt to gdb_test; gdb_test already looks for the prompt.
24061
24062 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24063
24064 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24065 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24066 was to make sure that gdb can read a core file. But (a) the "read
24067 the corefile" part didn't make it to a1-selftest.exp, we just
24068 delete the corefile after creating it, and (b) we test reading
24069 corefiles in corefile.exp anyway. Also, this test left around a
24070 xgdb process on Solaris.
24071
24072 * gdb.base/corefile.exp: Also test backtrace.
24073
24074Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24075
24076 * gdb.base/commands.exp: Test a simple user defined command with
24077 arguments and if/while statements; verify the full user command is
24078 printed by "show user".
24079
24080 * gdb.base/commands.exp: Test if/while commands as part of a
24081 breakpoint command list; verify they appear in breakpoint
24082 information.
24083
24084Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24085
24086 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24087 than by dividing by zero.
24088
24089Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24090
24091 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24092 performing an inferior call with watchpoints enabled.
24093 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24094 call.
24095
24096Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24097
24098 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24099 of "file" command.
24100
24101 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24102 Add additional pattern for when "int operator int(void);" appears
24103 in a different order.
24104
24105Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24106
24107 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24108
24109 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24110 and "signal" with ".*".
24111
24112Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24113
24114 * TODO: Add note about "handle all nostop".
24115
24116 * gdb.base/{sigall.c, sigall.exp}: New test.
24117 * gdb.base/Makefile.in: Add it.
24118
24119Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24120
24121 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24122 when invoking GDB, suppresses any windowing interface.
24123
24124Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24125
24126 * config/sim-gdb: New file, simulator testing support.
24127
24128Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24129
24130 * gdb.base/interrupt.exp: Test calling func1 twice.
24131
24132Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24133
24134 * gdb.base/list.exp (test_forward_search): Set timeout higher
24135 when we'll be getting lots of output from gdb.
24136
24137 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24138 "init_malloc" to after the expect statement. Run it if that
24139 regexp is taken, but also for two others which happen if source
24140 cannot be found.
24141
24142Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24143
24144 * gdb.base/printcmds.exp: New test, for printing register before
24145 program is running.
24146
24147Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24148
24149 * gdb.base/list.exp: Correct some alternate expect patterns
24150 to reflect changes in list1.c.
24151
24152Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24153
24154 * TODO: Add item regarding large frames.
24155
24156 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24157
24158 * TODO: Remove item about enabling return.exp; it
24159 is enabled. Suggest a few more "return" tests.
24160
24161Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24162
24163 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24164 anonymous unions.
24165
24166Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24167
24168 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24169 and pr-5646.o, so "make" is the same as "make all", not "make
24170 pr-4975.o".
24171
24172Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24173
24174 * gdb.base/list.exp: Adjust expectations to reflect changes in
24175 list1.c.
24176 (test_forward_search): New test proc.
24177 * gdb.base/list1.c (long_line): New function, has long source line.
24178
24179Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24180
24181 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24182 additional line of code that was added.
24183
24184Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24185
24186 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24187 tests so as not to overflow expect's input buffers.
24188 * gdb.disasm/hppa.exp: Corresponding changes.
24189
24190Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24191
24192 Beginnings of template debugging tests.
24193 * gdb.c++/templ-info.cc: New file to test for template
24194 debugging capability of the compiler.
24195 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24196 templ-info.cc.
24197 * gdb.c++/templates.cc: Add explicit template instantiations
24198 to enable compiling with -fno-implicit-templates. Add destructor
24199 and 'value' method to T5 class for template tests.
24200 * gdb.c++/templates.exp: Add testcases for printing of template
24201 types, setting breakpoints on template methods and calling a
d63a86f8 24202 template method.
c906108c
SS
24203
24204Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24205
24206 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24207 branch target since some assemblers (gas-2.5) may emit a
24208 relocation for the branch instead of resolving it in the
24209 assembler.
24210
24211Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24212
24213 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24214 through signal handler.
24215
24216Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24217
24218 * configure.in (*-*-netware): Use config/mt-netware.
24219
24220 * config/mt-netware: New file.
24221 * config/mt-i386-netware: Removed, separate configs for different
24222 netware architectures are no longer needed now that we have
24223 --with-headers.
24224
24225Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24226
24227 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24228 by the recent changes to use ANSI C arithmetic conversions.
24229
24230Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24231
24232 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24233 bug involving using inferior_pid to figure out whether to select a
24234 frame.
24235
24236Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24237
24238 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24239 match the current disassembler output.
24240
24241Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24242
24243 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24244 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24245 types, expect "int" as type of integer values (for now).
24246
24247Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24248
24249 * gdb.base/commands.exp: New tests for if/while commands.
24250
24251Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24252
24253 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24254 by .*, since hex values have different syntax in Chill mode.
24255
24256Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24257
24258 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24259 linefeed from expect pattern for repeated types with indices > 9.
24260
24261Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24262
24263 First part of Fortran test suite.
24264 * gdb.fortran: New directory.
24265 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24266
24267Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24268
24269 * gdb.base/default.exp: Update expect pattern for load command
24270 without arguments.
24271
24272Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24273
24274 * configure.in: Change i386 to i[345]86.
24275 * gdb.base/configure.in: Likewise.
24276 * gdb.c++/configure.in: Likewise.
24277 * gdb.chill/configure.in: Likewise.
24278
24279Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24280
24281 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24282 patterns, since that is not a valid context for comments.
24283
24284Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24285
24286 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24287 repeated types and repeated types with indices > 9.
24288
24289Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24290
24291 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24292 2417; old bug has been fixed.
24293
24294Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24295
24296 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24297 send the newline ourselves instead of assuming gdb_test will do
24298 so when passed an empty input string.
24299
24300 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24301 stabs testcode.
24302
24303Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24304
24305 * lib/gdb.exp (gdb_test): Don't send anything if the first
24306 argument is an empty string. This makes cases where we want to
24307 match output that is already in expect's buffers (for example,
24308 matching a breakpoint after gdb_run_cmd has been called) work
24309 reliably.
24310
24311Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24312
24313 * config/netware.exp: New file.
24314
24315Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24316
24317 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24318 the -B and -L prefixes so we can find the debugging stub.
24319
24320 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24321 there and we are using the gcc from the tree.
24322
24323 * gdb.base/types.c: Removed.
24324
24325 * gdb.base/configure.in: Look for makefile fragments in ../config.
24326 Recognize i386-*-netware.
24327 * gdb.c++/configure.in: Likewise.
24328
24329Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24330
24331 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24332 the correct TCL syntax.
24333
24334Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24335
24336 * gdb.base/opaque.exp: use runto instead of messing around with
24337 breakpoints. Simplify by using gdb_test.
24338
24339 * gdb.base/bitfields.exp: restart between tests on netware targets
24340 because breakpoints aren't relocated after target death. Run
24341 processes to completion.
24342
24343 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24344
24345Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24346
24347 * Makefile.in: Remove extra tabs that confuse some versions
24348 of "make". Use the newly built gdb to test with by default,
24349 rather than the first one in the tester's search path.
24350
24351Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24352
24353 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24354
24355 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24356 condition help.
24357
24358Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24359
24360 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24361
24362 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24363 running.
24364 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24365 * gdb.base/funcargs.exp: Likewise.
24366
24367 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24368 * gdb.base/funcargs.exp: Likewise.
24369
24370 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24371 message is "".
24372
24373Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24374
24375 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24376 return,signals,twice}.exp: Handle non-existant binaries
24377 consistantly.
24378
24379 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24380 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24381 might testing a cross development system.
24382
24383Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24384
24385 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24386 runtest script is relative to ${srcdir}, not ${rootdir}.
24387
24388Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24389
24390 * gdb.base/signals.exp: Allow for optionality of breakpoint
24391 address.
24392
24393Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24394
24395 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24396
24397Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24398
24399 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24400 for size_t definition.
24401 * gdb.c++/templates.cc: Likewise
24402
24403 * config/mt-i386-netware: New file.
24404
24405 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24406 defined.
24407
24408 * gdb.base/Makefile.in: Added support for systems that name core
24409 files by appending "core" to the program name.
24410 * gdb.base/a1-selftest.exp: Likewise.
24411
24412Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24413
24414 * gdb.base/return.exp: Add comment and message for `return double'
24415 test failure on Sparc Solaris.
24416
24417Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
24418
24419 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24420
24421Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24422
24423 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
24424 from optimizing them away.
24425 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
24426 patterns to include default constructors and assignment operators,
24427 to match gcc versions beyond 2.5.8. Accept any cplus demangling
24428 character in the output of the virtual base pointer.
24429
24430Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24431
24432 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
24433 expression match in print_addr_of to avoid unintented matches.
24434 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
24435 versions up to 2.5.8.
24436
24437Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24438
24439 * gdb.base/list.exp: Tweak alternate pattern for listing of an
24440 included file to run under newer versions of expect.
24441 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
24442 consecutive >'s in templates to accomodate recent cplus-dem.c change.
24443 Remove xfail for the virtual table of BDDHookV.
24444
24445Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
24446
24447 * lib/gdb.exp (string_to_regexp): Set a default result.
24448 (default_gdb_start): Fix misleading message.
24449
24450Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
24451
24452 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24453 Remove all CC, etc definitions.
24454 * config/mt-hpux: New file.
24455 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24456 (CFLAGS, LDFLAGS): Define.
24457 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24458
24459 * Makefile.in (site.exp): Don't insert host_os, etc.
24460 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24461 (distclean): Check existence of subdir.
24462 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24463 * gdb.base/Makefile.in: General cleanup and simplification.
24464 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24465 to build executables. Use default rule to build .o files.
24466 (EXPECT, RUNTEST, CC): Fix relative pathname.
24467 (site.exp): Don't insert host_os, etc.
24468 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24469 and/or SIGUSR1 defined.
24470 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24471 * gdb.c++/Makefile.in: General cleanup and simplification.
24472 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24473 (CFLAGS): Remove.
24474 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24475
24476Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
24477
24478 * gdb.base/recurse.exp: Misc changes to get tests running again
24479 after Kung's changes to the watchpoint code.
24480 * gdb.base/watchpoint.exp: Likewise.
24481
24482Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
24483
24484 * lib/gdb.exp (string_to_regexp): Convert {\} also.
24485
24486Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
24487
24488 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24489 * lib/gdb.exp (default_gdb_start): Define.
24490 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24491 gdb.base/funcargs.exp, gdb.base/opaque.exp,
24492 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24493 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24494 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24495 Don't call gdb_target_udi in between tests.
24496
24497Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24498
24499 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24500 (which was basically just a local version of the same thing). In
24501 addition to avoiding duplication, gdb_test_exact is faster.
24502 * lib/gdb.exp (gdb_test_exact): Fix typo.
24503
24504 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24505 don't give an error.
24506
24507 * gdb.base/term.exp: Call delete_breakpoints before starting.
24508
24509 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24510 (t10): Add comment.
24511
24512Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24513
24514 Reorganization of the GDB Test Suite.
24515
24516 * gdb.base: New directory, contains all the basic tests.
24517 * gdb.c++: New directory, tests specific to C++.
24518 * gdb.chill: New directory, tests specific to Chill.
24519 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24520 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24521 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24522 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24523 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24524 t30-31 to chill).
24525 * */gdbme.*: Rename to match appropriate expect scripts.
24526 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24527 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24528 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24529 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24530 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24531 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24532 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24533 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24534 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24535 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24536 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24537 gdb.c++/virtfunc.cc: New names of C++ files.
24538 * gdb.chill/chillvars.ch: New name of Chill file.
24539 * gdb.base/configure.in, gdb.c++/configure.in,
24540 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24541 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24542 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24543 * configure.in (configdirs): Update to reflect directory changes.
24544 (target_abbrev): No longer define for any configuration.
24545 * Makefile.in: Cosmetic improvements to header comments.
24546
24547Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
24548
24549 Various changes to gdb.t31:
24550
24551 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
24552 * gdbme.ch: Make all key-words and predefineds be upper-case.
24553 * chillvars.exp: Expect key-words and predefinds in upper-case.
24554
24555 * chillvars.exp: Use gdb_test_exact many places.
24556 Change expected output for arrays (which now includes index labels).
24557
24558 * pr-5020.exp, gdme.ch (module PR_5020):
24559 New test, for PR-5020.
24560
24561Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
24562
24563 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
24564 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
24565
24566Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
24567
24568 * Makefile.in: Fix bit-rot in definitions of CHILL,
24569 CHILL_FOR_TARGET and Chill_LIB.
24570 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
24571 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
24572 CHILL, and CHILL_LIB.
24573
24574Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
24575
24576 * Revert the previous changes. Please see Rob's directory
24577 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24578
24579Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
24580
24581 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
24582 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24583 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24584 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
24585 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24586 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24587 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24588 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24589 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24590 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24591 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24592 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24593 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24594 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24595 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24596 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
24597 changes from 94Q1.
24598
24599Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
24600
24601 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24602 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24603 Rob's new testing fragments.
24604
24605Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
24606
24607 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 24608 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
24609
24610Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24611
24612 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24613 version also, match on casted version strings, and match on
24614 gdb startup case where the line numbers might be messed up.
24615
24616Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
24617
24618 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 24619 (CFLAGS): Delete it from here.
c906108c
SS
24620
24621Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
24622
24623 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24624
24625Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
24626
24627 * Makefile.in (RUNTEST): Default to just "runtest".
24628
24629Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24630
24631 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24632 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24633 the code has been restructured.
24634
24635Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24636
24637 * gdb.t00/default.exp (set write): Allow any number of \r and/or
24638 \n, not just one of each.
24639
24640 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24641 /bin/cc gives a warning if you do.
24642
24643Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
24644
d63a86f8 24645 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
24646 __t10ListS_link1ZUiRCUiPT0
24647
24648Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24649
24650 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24651 on local variables in recursive functions.
24652
24653 * gdb.t07/Makefile.in: Build the new test.
24654
24655Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24656
24657 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24658 directly. Instead compare the return values from actual calls.
24659
24660Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
24661
24662 * Makefile.in (check): Set TCL_LIBRARY for runtest.
24663
24664Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24665
24666 * From Peter Schauer with minor modifications.
a9c64011
AS
24667 * gdb.t15/return.exp (return_tests): Handle targets where "return"
24668 stops in mid-line in the caller. Add xfail for returning a float
24669 value on X86 targets.
c906108c
SS
24670
24671Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24672
24673 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24674 to avoid expect lossage.
24675 (fmem_LRbug_tests): Likewise.
24676 * gdb.disasm/hppa.s: Corresponding changes.
24677
24678 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24679 conditions to work with latest dejagnu/expect.
24680
24681 * gdb.t15/funcargs.exp (finish from indirect call): No longer
24682 expected to fail on the PA.
24683 (backtrace in call with trampolines): Explicitly require main
24684 to be frame #1 (no trampolines should show up in backtrace).
24685
24686 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24687 "continue -expect".
24688 * gdb.t06/break.exp: Likewise.
24689 * gdb.t07/watchpoint.exp: Likewise.
24690 * gdb.t13/bitfields.exp: Likewise.
24691 * gdb.t15/{funcargs,return}.exp: Likewise.
24692 * gdb.stabs/weird.exp: Likewise.
24693 * config/{mips,udi}-gdb.exp: Likewise.
24694
24695 * hppa.sed: Enclose comments within a sed command to avoid
24696 losing with the old OSF1 sed.
24697
24698Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24699
24700 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
24701 sequent dynix.
24702 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
24703 * gdb.t15/funcargs.exp: Conditionally step again to really
24704 finish from marker_call_with_trampolines. Handle the case where
24705 the first step from within call_with_trampolines already steps
24706 us back to main.
24707 * gdb.t15/gdbme.c: Add comment to closing brace of
24708 call_with_trampolines for funcargs.exp.
24709
24710Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24711
d63a86f8 24712 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
24713 Fix typo(s).
24714
24715Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24716
24717 * gdb.t07/gdbme.c: More code for watchpoint testing.
24718
24719 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24720 "Hardware watchpoint" throughout file.
24721 (test_watchpoint_triggered_in_syscall): New test.
24722 (test_complex_watchpoint): New test.
24723
24724Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24725
24726 * gdbme.c (call_with_trampolines): New function to try and step
24727 into. Tests trampoline problems on the PA.
24728
24729 * funcargs.exp (localvars_in_indirect_call): No longer expect
24730 stepping into indirect call to fail on PAs.
24731 (test_stepping_over_trampolines): New test.
24732
24733Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24734
24735 * TODO: Add suggestions for static member function tests, and
24736 completion tests.
24737
24738Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24739
24740 * TODO: Add suggestions for "p/a" tests.
24741
24742 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24743 (default_gdb_exit): Replace all the hair with sending "quit" to
24744 the process with a simple close.
24745
24746Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24747
24748 * TODO: Add suggestions for shared library tests.
24749
24750Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24751
24752 * TODO: Add suggestions for x/s tests.
24753
24754Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24755
24756 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24757 "enable once", and "enable breakpoints once" with ".*".
24758
24759Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24760
24761 * TODO: Add suggestions about structure passing tests.
24762
24763Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24764
24765 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
24766 the primary1 test, use work around if __GNUC__ < 2.
24767 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
24768 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
24769 Test for bad output rather than waiting for timeout. Issue
24770 second continue only if first continue failed.
24771
24772Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24773
24774 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24775 operator[] test with gdb_test because the old code didn't seem to
24776 be getting the quoting right with the new dejagnu.
24777
24778Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
24779
24780 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24781 one from the path.
24782 * Makefile.in: Use a fresh expect if there is one, use runtest
24783 from the src tree if there is one.
d63a86f8 24784
c906108c
SS
24785Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24786
24787 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24788 next over recursive call. Revise the tests from that point on
24789 (which had been skipped) to match GDB's actual (correct) output.
24790
24791 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24792 with next over a breakpoint whose condition is false.
24793
24794 * gdb.t00/help.exp: Comment out "help set print" tests just like
24795 (and for same reason as) "help set" test.
24796
24797Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24798
24799 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24800 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24801
24802Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24803
24804 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24805 necessary gdb_target_udi.
24806
24807 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24808
24809 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24810 1838 and 2417; they are fixed.
24811
24812 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24813 gdb.t03/ptype.exp (ptype structure, ptype union):
24814 Remove xfails; the test is looser than when the xfails were added.
24815
24816 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24817 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24818
24819 * gdb.t01/run.exp: Only run shell test if isnative.
24820
24821 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24822 since "run" automatically loads if necessary. Call gdb_target_udi
24823 after the "file" since "file" kills any execution target.
24824
24825 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24826 GDB. GDB doesn't work that way (not anymore at least) on UDI.
24827 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24828 argument for UDI.
24829
24830Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24831
24832 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24833
24834 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24835
24836Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24837
24838 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24839 properly quoting regexps. This makes the second argument to
24840 demangle a fixed string, which matches the callers, instead of a
24841 shell-style pattern which is what the previous implementation
24842 used. Update some of the callers.
24843
24844Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24845
24846 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24847 (comib_nullified_tests): Fix typo.
24848 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24849 strings. No longer expected to fail.
24850
24851 * gdb.disasm/hppa.s (addib_tests): Fix typo.
24852 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24853 strings. No longer expected to fail.
24854
24855 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24856 string. No longer expected to fail.
24857
24858Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24859
24860 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24861 No longer expected to fail.
24862
24863 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24864 string. No longer expected to fail.
24865
24866Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24867
24868 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24869 only in the names (I probably got most of them). I was even
24870 generous with some which differed in underscores in names, and
24871 probably missed a few, and I *still* was able to remove almost a
24872 third of the file with almost no impact on testsuite coverage.
24873
24874Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24875
24876 * gdb.t00/default.exp: Match udi_attach error message as well as
24877 the one from child_attach.
24878
24879 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24880
24881 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24882
24883 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24884 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24885
24886 * Move test with enums and partial symbols back to
24887 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24888 Reverts the change of 26 May 93. Per today's change to
24889 stabs.texinfo, the behavior that weird.exp was expecting was
24890 unreasonable; what is important is that the compiler+gdb get
24891 things right, which happens with a recent gcc. Also fix the test
24892 to deal with native compilers which put out the stab gdb can't
24893 deal with.
24894
24895Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24896
24897 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24898 in the names. The main thing these accomplish is to slow things down.
24899 Many more such duplicates surely remain.
24900
24901 * gdb.t00/help.exp: Comment out "help support" test just like
24902 (and for same reason as) "help set" test.
24903
24904Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
24905
24906 * gdb.t06/break.exp: Remove setup_xfails for
24907 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24908 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
24909 about known bug in gcc to include up through 2.5.8.
24910 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
24911 well as "_vb$".
24912 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24913 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24914 with latest gcc and gdb.
24915 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
24916 well as "_vb$".
24917
24918Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24919
24920 * configure.in (hppa*-*-*): Also configure and build stabs-only
24921 tests.
24922
24923Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24924
24925 * gdb.t10/hppa.mt: A makefile fragment for the PA.
24926 * gdb.t10/configure.in (hppa*-*-*): Use it.
24927
24928Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24929
24930 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
24931
24932Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24933
24934 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
24935 versions prior to 1.13.5.
24936
24937Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24938
24939 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
24940 the prompt is at the start of a line.
24941
24942Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24943
24944 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
24945 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
24946 in the copr tests now.
24947 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
24948 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
24949 expected to fail.
24950
24951Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
24952
24953 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
24954 gdb.t31/chillvars.exp, lib/gdb.exp:
24955 Tweak to run under either version of expect.
24956 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
24957 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
24958 * gdb.t11/list.exp: Remove extraneous whitespace.
24959
24960Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24961
24962 * gdb.t16/printcmds.exp (test_print_strings): Accept
24963 "(unsigned char *) " before the string.
24964
24965 * TODO: Add notes about printing of fancy types and GDB expressions.
24966
24967Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
24968
24969 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
24970 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 24971 if doing mips-idt-ecoff.
c906108c
SS
24972
24973Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
24974
24975 * Most .exp files: Tweak to run under either version of expect.
24976
24977Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24978
24979 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
24980 xfails; I'm not sure why they are failing, but not because of PR 1806.
24981
24982Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
24983
24984 * config/unix-gdb.exp: Remove gdb_unload cause it's already
24985 defined in lib/gdb.exp.
24986
24987Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24988
24989 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
24990 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
24991 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
24992 have to be typeless.
24993
24994Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24995
24996 * TODO: Add suggestion for copyright year test.
24997
24998Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
24999
25000 * configure.in (*-*-lynxos*): Add stabs tests.
25001
25002Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25003
25004 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25005 so insert a tab before any assembler directive in column zero.
25006
25007 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25008 stores.
25009 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25010 stores.
25011 (fpu_short_memory_tests): Likewise.
25012
25013Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25014
25015 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25016 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25017 .stabs directives in comments.
25018
25019Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25020
25021 * TODO: New file, describing tests we could write.
25022 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25023
25024Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25025
25026 * gdb.t06/signals.exp: Add kludge to force re-sync.
25027
25028 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25029 to xgdb instead of gdb, get out of gdb.
25030
25031Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25032
25033 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25034 for info.
25035
25036Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25037
25038 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25039 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25040 * gdb.stabs/hppa.sed: New sed script for the PA.
25041
25042Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25043
25044 * gdb.stabs: Re-write weird.def and configuration to use sed
25045 instead of cpp. sed is portable and POSIX; cpp is neither.
25046
25047Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25048
25049 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25050
25051Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25052
25053 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25054
25055Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25056
25057 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25058 "_vb$".
25059 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25060 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25061
25062Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25063
25064 * lib/gdb.exp: Comment out code which depends on non-existent
25065 `transform' procedure.
25066
25067Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25068
25069 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25070 * lib/gdb.exp: Transform tool name.
25071 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25072 1.1's new error handling system.
25073
25074Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25075
25076 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25077
25078Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25079
25080 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25081 They made pattern matching so slow that timeouts happened on
25082 heavily loaded systems. Now any output from "show print" which
25083 gets us back to the GDB prompt is a PASS.
25084
25085Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25086
25087 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25088
25089Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25090
25091 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25092
25093 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25094 It is not from PR 3220.
25095
25096Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25097
25098 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25099 just started failing because they depended on the order the
25100 subcommands are presented, or exact docstring text. This kind of
25101 test is a pain and has minimal benefit.
25102
25103Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25104
25105 * gdb.t09/corefile.exp: At end of test, use "core" command with
25106 no arguments.
25107
25108Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25109
25110 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25111 17}/Makefile.in: Make it possible to run the testsuite with Sun
25112 make and CC = cross gcc by adding explicit build rules for .o
25113 files.
25114
25115Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25116
25117 * gdb.t15/funcargs.exp: Don't put comments on same line as
25118 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25119
c906108c
SS
25120Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25121
25122 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25123
25124Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25125
25126 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25127 * gdb.t20/inherit.exp: remove three dumplicate entries.
25128
25129Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25130
25131 * gdb.t06/break.exp: For "next over recursive call", fail on any
25132 incorrect output, not just on "factorial (value=2)".
25133
25134Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25135
25136 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25137 working now. Add an xfail if accesing a bss variable causes
25138 a memory error if the target is not yet run.
25139
25140Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25141
25142 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25143 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25144 name of __st* demangling (2 strings). Did Kung really get the
25145 more than 95 others right without testing them?
25146
25147Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25148
25149 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25150
25151Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25152
25153 * configure.in (configdirs): Add gdb.disasm
25154 * gdb.disasm: New directory for GDB disassembler tests.
25155 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25156
25157Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25158
25159 * gdb.t00/help.exp: Don't test "help set".
25160
25161 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25162 from within expect statements. None of these happen anymore and
25163 they cause regressions to be silently unnoticed.
25164
25165 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25166 messages) about known failures with gcc cygnus-2.4.5-930417.
25167
25168 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25169 comp-info.exp so it gets built if it doesn't exist.
25170
25171 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25172 it is no longer used.
25173 * gdb.t13/comp-info.c: Removed.
25174
25175Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25176
25177 * gdb.t06/signals.exp: Add xfail for sun3.
25178
25179Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25180
25181 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25182 relevant because ^C doesn't get sent but failure can be reproduced
25183 interactively).
25184
25185Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25186
25187 * gdb.stabs/alpha.mt: New configuration file for alpha.
25188 * gdb.stabs/configure.in: Use it.
25189 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25190 sharing with alpha.mt, redefine long to word via preprocessor.
25191 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25192 for alpha.
25193 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25194 native cc.
25195 * gdb.t00/teststrategy.exp: Change expect string so that we
25196 consume the `(xgdb)' from the command echo and from the gdb prompt.
25197 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25198 gdb currently compares all values as long, so this failure probably
25199 applies to any configuration where LONGEST is bigger than a target int.
25200 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25201 with gcc.
25202 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25203 to handle opaque pointers, gcc is.
25204 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25205 as first argument. Include <sys/types.h> and change all operator
25206 new definitions to use size_t.
25207 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25208 now that we use size_t.
25209
25210Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25211
a9c64011 25212 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25213 a long or float array cast all array members to the same type.
a9c64011 25214 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25215 with 64 bit longs.
a9c64011 25216 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25217 on alpha.
a9c64011 25218 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25219
25220Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25221
25222 * gdb.t24 (demangle.exp): Constructors of templates have names like
25223 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25224 section 14.6 of the ARM.
25225
25226 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25227 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25228 accomplish little and slow down the testsuite.
25229
25230 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25231 Accept spaces various places.
25232
25233Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25234
25235 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25236 with watchpoint enabled.
25237
25238 * Makefile.in: Remove definition of CC and remove the second
25239 definition of CXX (the "CXX = gcc" one remains). These definitions
25240 were causing backquotes to be expanded within backquotes, which
25241 doesn't work.
25242
25243Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25244
25245 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25246
25247Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25248
a9c64011
AS
25249 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25250 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
25251 by mips cc and contains no stabs entries.
25252
25253Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25254
25255 * config/vx-gdb.exp: Use fake device to load files rather than
25256 NFS.
25257 * lib/gdb.exp: New proc to do "file" command.
25258 * config/unix-gdb.exp: Use new "file" proc.
25259
25260Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25261
25262 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25263 Rework board rebooting slightly.
25264 (gdb_exit): Don't exit from the remote shell; there isn't one.
25265 * gdb.stabs/weird.exp: If a program is being debugged already,
25266 kill it.
25267 * gdb.t04/setvar.exp: Stop and restart gdb.
25268 * gdb.t05/expr.exp: Likewise.
25269 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25270 restart gdb and reload the program.
25271 * gdb.t08/opaque.exp: Likewise.
25272 * gdb.t12/scope.exp: Likewise.
25273 * gdb.t13/bitfields.exp: Likewise.
25274 * gdb.t15/funcargs.exp: Likewise.
25275 * gdb.t20/classes.exp: Likewise.
25276 * gdb.t03/ptype.exp: Increase timeout.
25277 * gdb.t16/printcmds.exp (test_print_string_constants,
25278 test_print_array_constants): Likewise.
25279 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25280 * gdb.t20/classes.exp (do_tests): Likewise.
25281 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25282
25283Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25284
25285 * gdb.stabs: Renamed *wierd* to *weird*.
25286
25287Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25288
25289 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25290 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25291
25292Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25293
25294 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25295 (do_tests): Remove xfail for whatis on one_var and two_var.
25296
25297Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25298
25299 * Makefile.in: Made cross building work better by adding
25300 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25301
25302Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25303
25304 * gdb.t15/{return.c,return.exp,Makefile.in}:
25305 New test, currently commented out.
25306
25307Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25308
25309 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25310 still running and removes the leftover named socket so GDb can do
25311 clean restarts.
25312
25313Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25314
25315 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25316 console, not GDB.
25317 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25318 cross testing works better with "make check"
25319 * config/unix-gdb: Use default procedures for exit and version.
25320 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25321 with the newest VxWorks.
25322
25323Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25324
25325 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25326 old form.
25327
25328 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25329 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25330
25331 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25332
25333 * config/unix-gdb.exp: Remove this version of gdb_exit
25334 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25335 Rob says he'll look at it when he gets back to testing boards.
25336
25337Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25338
25339 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25340 an expected fail for certain ptype commands.
25341
25342 * gdb.t20/classes.exp: Update expected results of "ptype class
25343 Base1" to account for the constructor that now appears in the type.
25344
25345Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25346
25347 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25348 disappeared from list.
25349 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25350 "alldone" proc with call to cleanup and exit.
25351 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25352 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25353 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25354 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25355 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25356 "alldone" proc with simple returns that suppress remaining
25357 tests. The alldone proc went away many months ago.
25358
25359Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25360
25361 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25362
25363 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25364
25365Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25366
25367 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25368 as vax gdb will display them.
25369
25370Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25371
25372 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25373 optimizers.
25374
25375 * scope.exp: Change "bad value for localval" messages so each one
25376 is unique.
25377
25378 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25379 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25380
25381 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25382
25383Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25384
25385 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25386 doesn't exist (due to optimization).
25387
25388Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25389
25390 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25391 contains \r because the filename is long.
25392
25393 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25394 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25395
25396Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25397
25398 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25399 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
25400 Ultrix.
25401 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
25402 int tests.
25403 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
25404
25405Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
25406
25407 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
25408
25409 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 25410 to match does not match the passing case but still matches the
c906108c
SS
25411 failing case.
25412
25413Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25414
25415 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25416
25417Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
25418
25419 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25420 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25421 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25422 Remove various versions of gdb_exit.
25423 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
25424 gdb_exit.
25425 * config/unix-gdb.exp: gdb_exit remains here, and should override
25426 the generic version, since it's doing a lot of wierd stuff that
25427 the other versions aren't. FIXME, fold it in, or abandon this
25428 version.
25429
25430Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25431
25432 * gdb.t24/demangle.exp: Add tests for PR 3220.
25433
25434Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25435
25436 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25437
25438Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
25439
25440 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
25441 "i386-*-*". Works for i486 as well.
25442
25443 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
25444 bug, and expand domain of xfail to all SVR4 systems, since the
25445 actual problem is likely to be in generic SVR4 /proc support.
25446
25447Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25448
25449 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25450
25451Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
25452
25453 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
25454 xfails for other systems. Match a missing 'Continuing.' as an
25455 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25456
25457 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25458 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25459 Only issue warning for missing executables if -all option is used.
25460
25461 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
25462 file if -all option is used. It's like an unpredictable XFAIL.
25463
25464Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25465
25466 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25467 for dynamically linked binaries.
25468
25469 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25470
25471Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25472
25473 * gdb.t20/inherit.exp: Change message for "print tagless struct"
25474 to state that this is a known bug in old versions of g++.
25475
25476Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25477
25478 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
25479 while waiting for `Continuing'.
25480
25481Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
25482
25483 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
25484 in text, data, and bss.
25485 * gdb.t10/nodebug.c: Add local and global test variables for
25486 initialized and uninitialized data.
25487
25488Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25489
25490 * config/unix-gdb.exp (gdb_exit): Add "wait".
25491
25492Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25493
25494 * gdb.t06/signals.exp: xfail the continue from the handler for all
25495 targets.
25496
25497 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
25498 function with watchpoints enabled, the i386 call dummy starts with
25499 a call.
25500
25501 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
25502 386 bsd names its corefiles.
25503
25504Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
25505
25506 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
25507 compilers don't grok it.
25508 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
25509 with small octal ints rather than character constants, which
25510 are signed and might not fit if first promoted to int.
25511
25512Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
25513
25514 * gdb.t09/Makefile.in (clean): Remove corefile.
25515
25516Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25517
25518 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25519
25520Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25521 and Jim Kingdon (kingdon@cygnus.com)
25522
25523 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25524 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
25525 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25526
25527Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25528
25529 * gdb.t17/interrupt.exp: Add xfail for hppa.
25530
25531Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25532
25533 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25534 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
25535 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
25536 to determine signed-ness of bitfields and use the result to setup
25537 the xfail.
25538 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
25539 * gdb.t15/funcargs.exp: Use them to step until the second indirect
25540 call line is reached if necessary.
25541
25542Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25543
25544 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25545
25546Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25547
25548 * gdb.t06/break.exp: Also test `clear' command.
25549
25550Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25551
25552 * gdb.t00/teststrategy.exp: Remove extra quote.
25553
25554 * gdb.t07/watchpoint.exp: Change xfail for calling function with
25555 watchpoint enabled to be for all non-68k machines.
25556
25557 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25558
25559Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25560
25561 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25562 targets use aout.mt instead of ecoff.mt as gas understands
25563 standard aout format.
25564
25565Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25566
25567 * lib/gdb.exp (runto): Don't insist that function we are running to
25568 was compiled with -g.
25569
25570 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25571
25572 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25573 to get back into the read system call.
25574 Accept leading newline in case where we woke it up.
25575
25576Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25577
25578 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
25579 to make the stabs test work on ecoff systems using gcc and -with-stabs.
25580 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
25581 enable ecoff configuration.
25582
25583Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25584
25585 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25586
25587Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25588
25589 * gdb.t16/printcmds.exp: Add another printf test.
25590
25591Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
25592
25593 * configure.in: If configured -with-stabs on any target, add
25594 stabsdirs to configdirs.
25595
25596Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25597
25598 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25599 fun" so pattern does not match the command itself.
25600
25601Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25602
25603 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25604
25605Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25606
25607 * gdb.t17/interrupt.exp: Test for more things.
25608
25609Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25610
25611 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25612 compiler arranges the code and line numbers.
25613
25614 * gdb.t17/interrupt.exp: Don't send \n after ^C.
25615
25616Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25617
25618 * gdb.t00/help.exp: Increase expect input buffer size.
25619
25620Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25621
25622 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25623
25624 * gdb.t07/watchpoint.exp: Add xfail for hppa.
25625
25626 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25627
25628 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25629 [0-9]*, not just [0-9].
25630
25631Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25632
25633 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25634
25635 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25636
25637Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25638
25639 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25640
25641Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25642
25643 * gdb.t06/signals.c: Add xfails for sun3.
25644
25645 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25646
25647 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
25648 test_stepping tests.
25649
25650Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25651
25652 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25653
25654 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25655
25656 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25657 rather than actually putting it through cpp twice.
25658
25659 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25660
25661Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
25662
25663 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25664 no longer needed.
25665
25666Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25667
25668 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25669
25670 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25671 C++ features prints as "struct", make it a pass, not an xfail.
25672
25673Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25674
25675 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25676 Don't require VA to print as "class" rather than "struct".
25677
25678Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
25679
25680 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25681
25682Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25683
25684 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25685
25686Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25687
25688 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
25689 order.
25690
25691Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25692
25693 * gdb.t16/printcmds.exp: Add printf tests.
25694
25695 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25696
25697 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25698
25699Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
25700
25701 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
25702 pass counts, to counteract any existing or future setup_xfails.
25703
25704Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25705
25706 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25707 {BEGIN,END}_COMMON for common block instead of STAB.
25708 * gdb.stabs/wierd.exp: Add xfail for rs6000.
25709
25710 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25711 intp_var should be N_GSYM not N_LSYM.
25712 wierd-aout.S: Use a label for the value of the N_SO.
25713 wierd.def: Remove all backslashes.
25714 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25715
25716Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25717
25718 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25719 get the expected next to inheritance3.
25720
25721Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25722
25723 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25724 now that gcc-2.4 gets it right.
25725
25726Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25727
25728 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25729
25730 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25731 generating comp-info.exp which works for cross-compilation.
25732
25733Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
25734
25735 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
25736 "*-*-sysv4.*".
25737
25738Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
25739
25740 * gdb.t01/run.exp: Start with a fresh gdb.
25741 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
25742 SVR4.x.
25743
25744Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
25745
25746 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25747 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25748 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25749 Makefile.in (distclean, realclean): Remove gdbme.c from list of
25750 things to remove.
25751
25752Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
25753
25754 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
25755 test cases from bug reports.
25756
25757Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
25758
25759 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
25760 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
25761 avoid spurious xfails.
25762 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
25763 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
25764 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
25765
25766Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
25767
25768 * gdb.t00/teststrategy.exp: Rework to provide more useful
25769 description of each test, fix problem with systems that define
25770 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25771 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
25772 results for "next over recursive call" so timeouts aren't taken
25773 by error.
25774
25775Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
25776
25777 * gdb.t12/scope.exp: Test printing of variables before run.
25778
25779 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25780 printed in wrong order due to sorting.
25781
25782Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
25783
25784 * gdb.t00/teststrategy.exp: Fix expected results for printing
25785 user entered string constant. Is array of char, prints with no
25786 address.
25787
25788 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
25789 commands.
25790 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
25791 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
25792 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
25793 of struct of char arrays.
25794 * gdb.t00/radix.exp: New tests for radix commands.
25795
25796Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
25797
25798 * gdb.t16/printcmd.exp: Print a variable before running program
25799 (with xfail for AIX).
25800
25801Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
25802
25803 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25804
25805 * gdb.t16/printcmd.exp: Don't print variables before running program.
25806
25807 * gdb.t06/break.exp: Don't require envp argument to main.
25808
25809 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25810
25811 * gdb.t02/whatis.exp, gdb.t11/list.exp:
25812 Add xfails for rs6000.
25813
25814 * gdb.t02/whatis.exp: Change other tests not to re-test something
25815 we already tested.
25816
25817 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25818 each type used has a variable of that type.
25819
25820Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
25821
25822 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25823
25824Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
25825
25826 * configure.in: change srctrigger to be a file, not a directory
25827
25828Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
25829
25830 * configure.in (mips-idt-ecoff*): Added trailing '*'.
25831
25832 * gdb.t11/list.exp: Fixed a couple of typos.
25833
25834Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
25835
25836 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
25837 is fixed and PR is closed.
25838 * gdb.t16 (gdbme.c): Add simple test string variable.
25839 * gdb.t16 (printcmds.exp): Add tests with simple test string
25840 variable, primarily for boundaries on "set print elements".
25841
25842Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
25843
25844 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25845 Make leading 0's optional and don't expect a tab in the middle
25846 of the number.
25847
25848 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25849
25850 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25851 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
25852 don't end command passed to gdb_test with newline.
25853
25854 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25855 signed keyword away, don't expect signed bitfields to be signed.
25856
25857 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25858 printing with only as many 1's as are in the field as well as printing
25859 with 32 1's (see comment).
25860
25861Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
25862
25863 * gdb.t00/default.exp: Start with a fresh gdb.
25864 * configure.in (configdirs): Remove gdb.t31 until the chill
25865 compiler works again. It no longer is able to find chillrt0
25866 since it isn't in libchill.a anymore.
25867 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
25868 wierd.o, make more modular.
25869 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
25870 spurious newlines that caused problems.
25871
25872Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25873
25874 * Move test with enums and partial symbols from gdb.t03/ptype.exp
25875 to gdb.stabs/wierd.exp since GCC has worked around the bug.
25876 gdb.stabs/wierd.{exp,def}: Many new tests.
25877
25878 * gdb.t00/default.exp: update info line for new message.
25879
25880 * gdb.t02/{whatis.exp,gdbme.c}:
25881 Test that "char *" doesn't print as "caddr_t".
25882
25883Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25884
25885 * gdb.t00/help.exp: Use .* in place of some help messages which
25886 just changed.
25887 gdb.t00/default.exp: Update "info frame" test for new message.
25888 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25889 Remove some xfails
25890
25891Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25892
25893 * gdb.t03/{gdbme.c,ptype.exp}:
25894 Add tests for typedef'd struct and union without tags.
25895 Also check "whatis" on a variable of a typedef'd enum without a tag.
25896
25897 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25898 PRMS 1823; the bug still exists but isn't reproduced by this test
25899 anymore), and remove rs6000 XFAIL (the bug is fixed).
25900
25901 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25902 duplicated from whatis.exp. For those that are left, accept
25903 "long", "long int", or "int" for long variables (whatis.exp already
25904 has an XFAIL for "int", so no need to fail it here).
25905
25906 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25907 Deal with GCC's names for types now that GDB uses the compiler's names.
25908
25909 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
25910 setup_xfail's for sunos4. If we #defined the signed keyword away,
25911 don't expect GDB to know that char it is signed.
25912
25913 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25914
25915Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
25916
25917 * configure.in (configdirs): Add gdb.t24 for C++ tests that
25918 should work on any system, regardless of debugging format.
25919 * gdb.t21/demangle.exp: Move to gdb.t24.
25920 * gdb.t24/demangle.exp: Move from gdb.t21.
25921 * gdb.t24/{Makefile.in, configure.in}: New files.
25922
25923Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25924
25925 * configure.in: Do gdb.stabs and C++ tests only for stabs.
25926 * gdb.stabs: New directory.
25927
25928Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25929
25930 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25931 not just "Quit anyway?".
25932
25933Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
25934
25935 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
25936 that all setup_xfails are immediately followed by clear_xfails.
25937
25938Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
25939
25940 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
25941 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
25942 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
25943 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
25944 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
25945 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25946 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25947 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
25948 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
25949 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
25950 gdb.t31/chillvars.exp, lib/gdb.exp:
25951 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
25952 bug-gdb@prep.ai.mit.edu.
25953
25954Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
25955
25956 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
25957 with 0.0, not integer 0.
25958
25959Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
25960
25961 * gdb.t06/break.exp: Update for "Kill the program" message change.
25962
25963Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
25964
25965 * Makefile.in (GDBFLAGS): Set to -nx.
25966 * Makefile.in (site.exp): Use GDBFLAGS.
25967
25968Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25969
25970 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
25971 Makefiles.
25972 (check): depend on just-check.
25973 (just-check): added so that tests can be run without a noop
25974 build pass.
25975
25976Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25977
25978 Switch to using configure's configdirs.
25979 * Makefile.in (Makefile): add configure.in dependency.
25980 (SUBDIRS): removed redundant assignment.
25981 * configure.in: switch subdirs assignment to configdirs.
25982 * gdb.t*/configure.in: new files.
25983
25984Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
25985
25986 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
25987 works.
25988
25989Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
25990
25991 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
25992 in explicit rules. Apparently this is not supported by some makes.
25993
25994Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
25995
25996 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
25997
25998Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25999
26000 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26001 disappeared.
26002
26003Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26004
26005 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26006
26007Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26008
26009 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26010 watchpoint problem that is now fixed.
26011 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26012 uninitialized convenience variables.
26013 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26014 structures.
26015
26016Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26017
26018 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26019 which causes expect to get out of sync with gdb on long output
26020 from help set.
26021 * gdb.t09/corefile.exp: Make expected pattern for core file
26022 failing signal and frame output format less sun specific.
26023
26024Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26025
26026 * gdb.t31/chillvars.exp: Add and remove initial dummy
26027 breakpoint, so that symbol table is forced in.
26028 (Needed at least on Sunos4, though it seems not SVR4.)
26029 * gdb.t31/chillvars.exp: Update for changed output format.
26030
26031Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26032
a9c64011 26033 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26034
26035Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26036
26037 * Makefile.in: Added --srcdir when invoking runtest, removed the
26038 need for a local config file. (optional now)
26039
26040Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26041
26042 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26043 failure count used to force early termination. Add some more
26044 expected failures for gnu style demangling.
26045
26046Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26047
26048 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26049 pmi variable from gdb.t20/gdbme to get optimized away.
26050 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26051 Check for written corefile upon timeout _and_ eof.
26052
26053Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26054
26055 * config/unix-gdb.exp: Add missing return 0.
26056
26057Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26058
26059 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26060 test termination.
26061
26062Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26063
26064 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26065 disappeared.
26066
26067Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26068
26069 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26070 time as i860 support works.
26071
d63a86f8 26072 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26073 "backtrace 100\r" rather than just "backtrace\r", to match last
26074 change.
26075
26076Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26077
26078 * config/udi-gdb.exp (gdb_exit): Remove close command.
26079 (gdb_target_udi): New procedure to set the UDI target.
26080 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26081 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26082 Added waits for prompts after several question responses. Added
26083 some more responses used by a29k-amd-udi-gdb.
26084 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26085 pass different arguments, restart UDI connection after program
26086 completion.
26087 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26088 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26089 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26090 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26091 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26092 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26093 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26094 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26095 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26096 after program completion.
26097 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26098 compiled with a SELECT_VECS setting.
26099 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26100 infinite recursion.
26101
26102 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26103 Added checks for COFF results, and made them expected failures for
26104 all targets. It would be better to make them expected failures
26105 for COFF targets only.
26106
26107Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26108
26109 * Makefile.in: add null dvi target, don't bother to recurse
26110 through test directories for info and install-info; rename
26111 $(datadir) to be dejagnu instead of deja-gnu
26112
26113Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26114
26115 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26116 compiler to coredump.
26117 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26118 code.
26119
26120Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26121
26122 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26123 coredump.
26124 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26125 code.
26126
26127Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26128
26129 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26130 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26131 which in a shell. Deletes xgdb when done.
26132 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26133 Tests the return from the "set height" or "set width" commands.
26134 Added a few return codes where needed.
26135
26136Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26137
26138 * Makefile.in (SUBDIRS): Add gdb.t17.
26139 * configure.in (subdirs): Add gdb.t17.
26140 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26141 files to test gdb's calling of functions in the inferior with
26142 the correct arguments and gdb's ability to retrieve any
26143 result returned.
26144
26145Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26146
26147 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26148 may be called after gdb goes away. Previous versions of expect
26149 needed these to avoid file descriptor leaks, but they cause
26150 errors with the current revision of expect.
26151 * gdb.t00/gdbvars.exp: Use -re on expected output after
26152 setting sevenbit-strings.
26153 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26154 to set sevenbit-strings consistent across tests.
26155 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26156 set sevenbit-strings consistent across tests.
26157
26158Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26159
26160 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26161 expected output to match current "expect" expectations.
26162
26163Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26164
26165 * gdb.t00/default.exp: Change expected output for default "source"
26166 command, to match new gdb behavior which requires a filename to
26167 source.
26168
26169Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26170
26171 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26172 expected fail for i486-*-* that misses the marker2 function.
26173 * gdb.t10/crossload.exp (bfddefault): Allow successful
26174 recognition of a format to pass even if no symbols are found.
26175 Explicitly catch failures where the format is not recognized
26176 or is ambiguous, and add the reason to the fail message.
26177 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26178 the cause is and invalid target and add reason to failure message.
26179 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26180 elf32-i386, elf32-sparc, and elf32-i860.
26181 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26182 Set up expected failure for 'filename'::variable scope resolution,
26183 which is now apparently broken on all targets.
26184 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26185 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26186 gdb.t23/templates.exp: Change failure for missing binfile into
26187 just a warning.
26188 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26189 references.
26190
26191Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26192
26193 * gdb.t00/default.exp: Add expected output for default "source"
26194 command, to match new gdb behavior.
26195 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26196
26197Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26198
26199 * config/*-gdb.exp: returns an error, rather than exiting on
26200 internal errors.
26201
26202Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26203
26204 * gdb.t03/gdbme.c: Add pointer to struct variable.
26205 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26206 referencing struct members.
26207
26208Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26209
26210 * configure.in (mips-idt-ecoff): New target.
26211 * config/mips-gdb.exp: New file for remote board using MIPS remote
26212 debugging protocol.
26213
26214 * Redid configuration scheme. Removed gdb.t*/configure.in.
26215 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26216 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26217 distclean targets. Built executables via .o files. Adjusted
26218 tests to account for source files in $(srcdir) rather than
26219 $(objdir).
26220 * lib/gdb.exp (runto): Don't expect () after the function name,
26221 because it may have arguments.
26222
26223Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26224
26225 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26226 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26227 expected failures for mips-idt-* and mips-sgi-*.
26228 * gdb.t00/default.exp (attach): Kill process if requested.
26229 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26230 that does not read core files.
26231 * gdb.t01/run.exp: Removed checks for exit status code.
26232 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26233 it is linked in.
26234 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26235 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26236 appropriate, rather than doing it by hand.
26237 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26238 execution.
26239 * gdb.t10/crossload.exp: Kill existing program if needed.
26240 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26241 appropriate, rather than doing it by hand. Always increase
26242 timeout for this test, not just for VxWorks.
26243
26244Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26245
26246 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26247 of Chill STRUCT types and STRUCT values.
26248 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26249 than "char".
26250 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 26251 struct2): New struct definitions and initializations to test
c906108c
SS
26252 simple Chill STRUCT types.
26253
26254Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26255
26256 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26257 the null byte at the end of strings.
26258 * gdb.t00/default.exp: Make show version insensitive to copyright
26259 date.
26260 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26261 to avoid dependencies on target char signedness.
26262 * gdb.t16/printcmds.exp: Update expected results for explicitly
26263 unsigned char.
26264 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26265 now work.
26266 * gdb.t21/demangle.exp: Add many more patterns for template
26267 demangling, most of them being expected failures.
26268 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26269 string we are matching for, to match on the whole string.
26270 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26271 and fix a whole bunch that had incorrect expected output but were
26272 passing anyway because of the bug in "proc demangle".
26273 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26274 type.
26275 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26276
26277Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26278
a9c64011
AS
26279 * gdb/testsuite: made modifications to testcases, etc., to allow
26280 them to work properly given the reorganization of deja-gnu and the
26281 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
26282
26283Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26284
26285 * gdb/testsuite: Initial creation of gdb/testsuite.
26286 Migrated dejagnu testcases and support files for testing nm to
26287 gdb/testsuite from deja-gnu. These files were moved "as is"
26288 with no modifications. This migration is part of a major overhaul
26289 of dejagnu. The modifications to these testcases, etc., which
26290 will allow them to work with the new version of dejagnu will be
26291 made in a future update.
48efe704 26292
8d8cb839 26293 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 26294\f
8d8cb839
EZ
26295;; Local Variables:
26296;; mode: change-log
26297;; left-margin: 8
26298;; fill-column: 74
26299;; version-control: never
26300;; End:
902f2ccb 26301
0b302171 26302 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
26303 Copying and distribution of this file, with or without modification,
26304 are permitted provided the copyright notice and this notice are preserved.