gdb/testsuite/
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.linespec/linespec.exp: Compile using {c++}.
4
5 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6
7 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
8 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
9 (verify GCC PR debug/51668): New test.
10
11 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
12
13 Introduce gdb.FinishBreakpoint in Python.
14 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
15 py-finish-breakpoint2
16 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
17 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
18 instead of line number.
19 * gdb.python/py-finish-breakpoint.c: New file.
20 * gdb.python/py-finish-breakpoint.exp: New file.
21 * gdb.python/py-finish-breakpoint.py: New file.
22 * gdb.python/py-finish-breakpoint2.cc: New file.
23 * gdb.python/py-finish-breakpoint2.exp: New file.
24 * gdb.python/py-finish-breakpoint2.py: New file.
25
26 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
27
28 Partial fix of compatibility with gcc-4.7.
29 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
30 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
31 Add comment to add a PASS case in the future.
32
33 Fix compatibility with gcc-4.7.
34 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
35
36 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
37
38 PR tdep/12797
39 * gdb.base/callfuncs.exp: Remove KFAIL.
40
41 2011-12-21 Joel Brobecker <brobecker@adacore.com>
42
43 * gdb.ada/task_bp: New testcase.
44
45 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
46
47 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
48 -DNO_SECTIONS.
49 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
50
51 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
52
53 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
54 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
55 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
56 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
57 conditional for gcc <= 4.5.
58
59 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
60
61 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
62 by XFAIL.
63 * gdb.cp/static-method.exp (info addr A::func())
64 (list static-method.cc:xxx::(anonymous namespace)::A::func)
65 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
66 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
67 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
68 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
69 (test value of F in k3_m): Likewise.
70 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
71 Likewise.
72
73 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
74
75 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
76 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
77 Remove.
78 * gdb.threads/attachstop-mt.c: Remove.
79 * gdb.threads/attachstop-mt.exp: Remove.
80
81 2011-12-17 Mark Kettenis <kettenis@gnu.org>
82
83 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
84
85 2011-12-16 Doug Evans <dje@google.com>
86
87 * boards/native-stdio-gdbserver.exp: New file.
88 * boards/native-gdbserver.exp: New file.
89
90 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
91 gdbserver output.
92 (gdbserver_default_get_remote_address): New function.
93 (gdbserver_start): Call gdb,get_remote_address to compute argument
94 to "target remote" command.
95
96 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
97
98 * gdb.python/py-function.exp: Change "on" to "full" for
99 python print-stack. Add set/show python print-stack
100 off|full|message tests.
101
102 2011-12-15 Yao Qi <yao@codesourcery.com>
103
104 * gdb.trace/strace.c: New
105 * gdb.trace/strace.exp: New.
106
107 2011-12-14 Tom Tromey <tromey@redhat.com>
108
109 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
110
111 2011-12-14 Doug Evans <dje@google.com>
112
113 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
114
115 2011-12-14 Pedro Alves <pedro@codesourcery.com>
116
117 PR threads/10729
118
119 * gdb.mi/watch-nonstop.c: New file.
120 * gdb.mi/mi-watch-nonstop.exp: New file.
121
122 2011-12-13 Pedro Alves <pedro@codesourcery.com>
123 Doug Evans <dje@google.com>
124
125 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
126 (clean_restart): Remove references to the gdb_stub target board
127 variable.
128 (gdb_step_for_stub): Delete.
129
130 * gdb.base/annota1.exp: Remove all references to [target_info
131 exists gdb_stub], gdb_step_for_stub and usestubs.
132 * gdb.base/annota3.exp: Ditto.
133 * gdb.base/async.exp: Ditto.
134 * gdb.base/break.exp: Ditto.
135 * gdb.base/code-expr.exp: Ditto.
136 * gdb.base/commands.exp: Ditto.
137 * gdb.base/completion.exp: Ditto.
138 * gdb.base/condbreak.exp: Ditto.
139 * gdb.base/consecutive.exp: Ditto.
140 * gdb.base/cvexpr.exp: Ditto.
141 * gdb.base/define.exp: Ditto.
142 * gdb.base/display.exp: Ditto.
143 * gdb.base/ena-dis-br.exp: Ditto.
144 * gdb.base/environ.exp: Ditto.
145 * gdb.base/gnu-ifunc.exp: Ditto.
146 * gdb.base/maint.exp: Ditto.
147 * gdb.base/pending.exp: Ditto.
148 * gdb.base/sect-cmd.exp: Ditto.
149 * gdb.base/sepdebug.exp: Ditto.
150 * gdb.base/unload.exp: Ditto.
151 * gdb.base/watchpoint-solib.exp: Ditto.
152 * gdb.cp/annota2.exp: Ditto.
153 * gdb.cp/annota3.exp: Ditto.
154 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
155 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
156 * gdb.mi/mi-pending.exp: Ditto.
157 * gdb.trace/circ.exp: Ditto.
158 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
159 * gdb.base/list.exp: Ditto.
160
161 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
162 breakpoint function and all references to the usestubs macro.
163 * gdb.base/exprs.c: Ditto.
164 * gdb.base/freebpcmd.c: Ditto.
165 * gdb.base/bitfields.c: Ditto.
166 * gdb.base/bitfields2.c: Ditto.
167 * gdb.base/break.c: Ditto.
168 * gdb.base/call-sc.c: Ditto.
169 * gdb.base/call-signals.c: Ditto.
170 * gdb.base/callfuncs.c: Ditto.
171 * gdb.base/charset.c: Ditto.
172 * gdb.base/consecutive.c: Ditto.
173 * gdb.base/constvars.c: Ditto.
174 * gdb.base/funcargs.c: Ditto.
175 * gdb.base/int-type.c: Ditto.
176 * gdb.base/interrupt.c: Ditto.
177 * gdb.base/langs0.c: Ditto.
178 * gdb.base/list0.c: Ditto.
179 * gdb.base/mips_pro.c: Ditto.
180 * gdb.base/miscexprs.c: Ditto.
181 * gdb.base/nodebug.c: Ditto.
182 * gdb.base/opaque0.c: Ditto.
183 * gdb.base/pointers.c: Ditto.
184 * gdb.base/printcmds.c: Ditto.
185 * gdb.base/ptype.c: Ditto.
186 * gdb.base/recurse.c: Ditto.
187 * gdb.base/reread1.c: Ditto.
188 * gdb.base/reread2.c: Ditto.
189 * gdb.base/restore.c: Ditto.
190 * gdb.base/return.c: Ditto.
191 * gdb.base/run.c: Ditto.
192 * gdb.base/scope0.c: Ditto.
193 * gdb.base/sepdebug.c: Ditto.
194 * gdb.base/setshow.c: Ditto.
195 * gdb.base/setvar.c: Ditto.
196 * gdb.base/sigall.c: Ditto.
197 * gdb.base/signals.c: Ditto.
198 * gdb.base/structs.c: Ditto.
199 * gdb.base/structs2.c: Ditto.
200 * gdb.base/testenv.c: Ditto.
201 * gdb.base/twice.c: Ditto.
202 * gdb.base/unwindonsignal.c: Ditto.
203 * gdb.base/watchpoint.c: Ditto.
204 * gdb.base/watchpoints.c: Ditto.
205 * gdb.base/whatis.c: Ditto.
206 * gdb.cp/classes.cc: Ditto.
207 * gdb.cp/cplusfuncs.cc: Ditto.
208 * gdb.cp/derivation.cc: Ditto.
209 * gdb.cp/formatted-ref.cc: Ditto.
210 * gdb.cp/misc.cc: Ditto.
211 * gdb.cp/overload.cc: Ditto.
212 * gdb.cp/ovldbreak.cc: Ditto.
213 * gdb.cp/ref-params.cc: Ditto.
214 * gdb.cp/ref-types.cc: Ditto.
215 * gdb.cp/templates.cc: Ditto.
216 * gdb.cp/virtfunc.cc: Ditto.
217 * gdb.hp/gdb.aCC/run.c: Ditto.
218 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
219 * gdb.hp/gdb.compat/xdb0.c: Ditto.
220 * gdb.reverse/consecutive-reverse.c: Ditto.
221 * gdb.reverse/sigall-reverse.c: Ditto.
222 * gdb.reverse/until-reverse.c: Ditto.
223 * gdb.reverse/watch-reverse.c: Ditto.
224 * gdb.trace/actions.c: Ditto.
225 * gdb.trace/circ.c: Ditto.
226 * gdb.trace/collection.c: Ditto.
227
228 2011-12-13 Pedro Alves <pedro@codesourcery.com>
229
230 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
231 (func6, func7): New.
232 (main): Call func6 and func7.
233 * gdb.base/watchpoint.exp (test_wide_location_1)
234 (test_wide_location_2): New.
235 (top level): Re-enable hardware watchpoints if necessary. Call
236 test_wide_location_1 and test_wide_location_2.
237
238 2011-12-11 Yao Qi <yao@codesourcery.com>
239
240 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
241
242 2011-12-11 Joel Brobecker <brobecker@adacore.com>
243
244 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
245 expected output for unsupported case.
246
247 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
248
249 PR testsuite/12649
250 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
251 Protect gdb_test_multiple by final $gdb_prompt match.
252
253 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
254
255 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
256 New variable, new test.
257 (list static-method.cc:xxx::(anonymous namespace)::A::func)
258 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
259 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
260 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
261 them if HAVE_GCC_45682_FIXED is not set.
262
263 2011-12-10 Yao Qi <yao@codesourcery.com>
264
265 * gdb.trace/status-stop.exp: New.
266 * gdb.trace/status-stop.c: New.
267
268 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
269
270 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
271 timeout.
272
273 2011-12-08 Tom Tromey <tromey@redhat.com>
274
275 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
276 condition.
277
278 2011-12-07 Stan Shebs <stan@codesourcery.com>
279
280 * gdb.trace/tfind.exp: Update for output changes.
281
282 2011-12-07 Pedro Alves <pedro@codesourcery.com>
283
284 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
285 throws "Cannot insert catchpoints in this configuration".
286 * gdb.ada/mi_catch_ex.exp: Likewise.
287
288 2011-12-06 Pedro Alves <pedro@codesourcery.com>
289
290 * gdb.base/break-always.exp: Test changing memory at addresses
291 with breakpoints inserted.
292
293 2011-12-06 Joel Brobecker <brobecker@acacore.com>
294
295 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
296 involving a fully qualified function name.
297
298 2011-12-06 Tom Tromey <tromey@redhat.com>
299
300 * gdb.ada/homonym.exp: Add three breakpoint tests.
301
302 2011-12-06 Tom Tromey <tromey@redhat.com>
303
304 * gdb.base/solib-weak.exp (do_test): Remove kfail.
305 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
306 * gdb.objc/objcdecode.exp: Update for output changes.
307 * gdb.linespec/linespec.exp: New file.
308 * gdb.linespec/lspec.cc: New file.
309 * gdb.linespec/lspec.h: New file.
310 * gdb.linespec/body.h: New file.
311 * gdb.linespec/base/two/thefile.cc: New file.
312 * gdb.linespec/base/one/thefile.cc: New file.
313 * gdb.linespec/Makefile.in: New file.
314 * gdb.cp/templates.exp (test_template_breakpoints): Update for
315 output changes.
316 * gdb.cp/re-set-overloaded.exp: Remove kfail.
317 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
318 makes one breakpoint.
319 * gdb.cp/method2.exp (test_break): Update for output changes.
320 * gdb.cp/mb-templates.exp: Update for output changes.
321 * gdb.cp/mb-inline.exp: Update for output changes.
322 * gdb.cp/mb-ctor.exp: Update for output changes.
323 * gdb.cp/ovsrch.exp: Use fully-qualified names.
324 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
325 has multiple matches.
326 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
327 error message change.
328 * gdb.base/list.exp (test_list_filename_and_number): Update for
329 error message change.
330 * gdb.base/break.exp: Disable pending breakpoints. Update for
331 output changes.
332 * configure.ac: Add gdb.linespec.
333 * configure: Rebuild.
334 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
335
336 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
337
338 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
339 last_break register on s390*-*-* targets.
340
341 2011-12-06 Joel Brobecker <brobecker@adacore.com>
342
343 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
344 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
345 of parameter X in procedure Foo.
346
347 2011-12-05 Stan Shebs <stan@codesourcery.com>
348
349 * gdb.trace/tfind.exp: Update help string matches.
350
351 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * gdb.server/ext-run.exp (get process list): Accept also systemd
354 as PID 1.
355
356 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
357 Pedro Alves <pedro@codesourcery.com>
358
359 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
360 starting GDB.
361 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
362 $use_gdb_stub.
363 * gdb.base/display.exp: Likewise.
364 * gdb.base/ending-run.exp: Likewise.
365 * gdb.base/list.exp (test_listsize): Likewise.
366 * gdb.base/setshow.exp: Likewise.
367 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
368 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
369 check by global $use_gdb_stub.
370 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
371 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
372 (default_gdb_init): Unset global $use_gdb_stub.
373 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
374 by global $use_gdb_stub.
375 * lib/gdbserver-support.exp: Extend comments for set_board_info
376 gdb_protocol and gdb,socketport.
377 (gdbserver_start_extended): Set global gdbserver_protocol and
378 gdbserver_gdbport. Clear global use_gdb_stub.
379 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
380 from target use_gdb_stub.
381 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
382
383 2011-12-03 Doug Evans <dje@google.com>
384
385 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
386 (gdb_step_for_stub): Add comments.
387
388 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
389
390 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
391 to the caller.
392 (gdb_test_multiple): Likewise.
393
394 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
395
396 Fix gdb.mi/mi-solib.exp without system debug info installed.
397 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
398 expect attribute, return 0 for it. Update comments.
399
400 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
401
402 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
403 (corrupted list): Adjust the expectation.
404
405 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
406
407 PR threads/13448
408 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
409 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
410 * gdb.threads/tls-var-main.c: New file.
411 * gdb.threads/tls-var.c: New file.
412 * gdb.threads/tls-var.exp: New file.
413
414 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
415
416 PR testsuite/12649
417 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
418 Protect gdb_test_multiple by final $gdb_prompt match.
419 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
420 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
421 (test_tracepoints): Likewise.
422
423 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
424
425 PR breakpoints/13346
426 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
427 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
428 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
429
430 2011-12-01 Joel Brobecker <brobecker@adacore.com>
431
432 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
433 * gdb.ada/homonym/homonym.adb: For use of all types defined
434 locally inside both Get_Value subprograms.
435
436 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
437
438 Fix racy FAILs.
439 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
440 of send_gdb.
441
442 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
443
444 * gdb.base/testenv.exp: Skip on remote targets. Unset global
445 environment variable after test completed.
446
447 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
448
449 * gdb.base/solib-nodir.exp: Skip if remote target.
450 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
451 application. Call gdb_load_shlibs.
452 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
453
454 2011-11-29 Joel Brobecker <brobecker@adacore.com>
455
456 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
457
458 2011-11-28 Joel Brobecker <brobecker@adacore.com>
459
460 * gdb.ada/fullname_bp: New testcase.
461
462 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
463
464 PR testsuite/12649
465 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
466 Wrap send_gdb into a new gdb_test.
467
468 Code cleanup.
469 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
470 Convert send_gdb and gdb_expect to gdb_test_multiple.
471
472 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
473
474 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
475
476 2011-11-23 Keith Seitz <keiths@redhat.com>
477
478 * lib/mi-support.exp (varobj_tree): New namespace and procs.
479 (mi_varobj_tree_test_children_callback): New proc.
480 (mi_walk_varobj_tree): New proc.
481
482 2011-11-22 Tom Tromey <tromey@redhat.com>
483
484 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
485 Add "use_mi_command" argument.
486 (mi_run_cmd, mi_run_with_cli): New procs.
487 * gdb.mi/solib-lib.c: New file.
488 * gdb.mi/solib-main.c: New file.
489 * gdb.mi/mi-solib.exp: New file.
490
491 2011-11-21 Doug Evans <dje@google.com>
492
493 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
494 _Unwind_DebugHook is missing.
495
496 2011-11-20 Stan Shebs <stan@codesourcery.com>
497
498 * gdb.trace/tstatus.exp: New.
499 * gdb.trace/actions.c: Include string.h.
500
501 2011-11-18 Yao Qi <yao@codesourcery.com>
502
503 * gdb.trace/pending.exp: New.
504 * gdb.trace/pending.c: New.
505 * gdb.trace/pendshr1.c: New.
506 * gdb.trace/pendshr2.c: New.
507 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
508 tracepoint location becomes pending.
509 (tracepoint_change_loc_2): New.
510
511 2011-11-16 David S. Miller <davem@davemloft.net>
512
513 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
514 target is sparc*-*-linux*
515
516 2011-11-15 Paul Koning <paul_koning@dell.com>
517
518 * gdb.python/py-type.exp: New testcases for exceptions on scalar
519 types.
520
521 2011-11-14 Doug Evans <dje@google.com>
522
523 * gdb.base/shell.exp: New file.
524
525 2011-11-14 Stan Shebs <stan@codesourcery.com>
526
527 * gdb.trace/ftrace.c: New.
528 * gdb.trace/ftrace.exp: New.
529
530 2011-11-14 Yao Qi <yao@codesourcery.com>
531
532 * gdb.trace/change-loc-1.c: New.
533 * gdb.trace/change-loc-2.c: New.
534 * gdb.trace/change-loc.c: New.
535 * gdb.trace/change-loc.exp: New.
536 * gdb.trace/change-loc.h: New.
537 * gdb.trace/trace-break.c (marker): Define new symbol.
538 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
539 New.
540 (break_trace_same_addr_6): New.
541
542 2011-11-12 Matt Rice <ratmice@gmail.com>
543
544 * gdb.base/info-macros.exp: Make tests for info definitions
545 test info macro. Add tests for info macro argument processing.
546 Rename a few tests.
547
548 2011-11-11 Keith Seitz <keiths@redhat.com>
549
550 PR gdb/12843
551 * gdb.base/linespecs.exp: New file.
552
553 2011-11-11 Doug Evans <dje@google.com>
554
555 * gdb.threads/print-threads.exp: Extend timeout for slower
556 tests.
557
558 2011-11-10 Doug Evans <dje@google.com>
559
560 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
561 "record to end of main" test.
562
563 * gdb.python/py-type.c (TS): New typedef.
564 (ts): New global.
565 * gdb.python/py-type.exp: Test field list of typedef.
566
567 2011-11-10 Joel Brobecker <brobecker@adacore.com>
568
569 * gdb.ada/small_reg_param: New testcase.
570
571 2011-11-09 Tom Tromey <tromey@redhat.com>
572
573 * gdb.cp/destrprint.exp: New file.
574 * gdb.cp/destrprint.cc: New file.
575
576 2011-11-08 Meador Inge <meadori@codesourcery.com>
577
578 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
579 (switch_stack_to_other): New test function.
580 * gdb.arch/thumb-prologue.exp: New test cases.
581
582 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
583
584 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
585
586 2011-11-08 Yao Qi <yao@codesourcery.com>
587
588 * gdb.exp (supports_process_record): New.
589 (supports_reverse): New.
590 * gdb.reverse/break-precsave.exp: Call support_process_record
591 to run test conditionally.
592 * gdb.reverse/consecutive-precsave.exp: Likewise.
593 * gdb.reverse/i386-precsave.exp: Likewise.
594 * gdb.reverse/machinestate-precsave.exp: Likewise.
595 * gdb.reverse/solib-precsave.exp: Likewise.
596 * gdb.reverse/step-precsave.exp: Likewise.
597 * gdb.reverse/until-precsave.exp: Likewise.
598 * gdb.reverse/watch-precsave.exp: Likewise.
599 * gdb.reverse/break-reverse.exp: Call support_reverse to run
600 test conditionally.
601 * gdb.reverse/consecutive-reverse.exp: Likewise.
602 * gdb.reverse/finish-precsave.exp: Likewise.
603 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
604 * gdb.reverse/finish-reverse.exp: Likewise.
605 * gdb.reverse/i386-reverse.exp: Likewise.
606 * gdb.reverse/i386-sse-reverse.exp: Likewise.
607 * gdb.reverse/machinestate.exp: Likewise.
608 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
609 * gdb.reverse/sigall-precsave.exp: Likewise.
610 * gdb.reverse/sigall-reverse.exp: Likewise.
611 * gdb.reverse/solib-reverse.exp: Likewise.
612 * gdb.reverse/step-reverse.exp: Likewise.
613 * gdb.reverse/until-reverse.exp: Likewise.
614 * gdb.reverse/watch-reverse.exp: Likewise.
615
616 2011-11-05 Yao Qi <yao@codesourcery.com>
617
618 * gdb.trace/trace-break.exp: Add test on setting two
619 fast tracepoints at the same address.
620
621 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
622
623 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
624
625 2011-11-02 Stan Shebs <stan@codesourcery.com>
626
627 * gdb.trace/collection.c: Add code using strings.
628 * gdb.trace/collection.exp: Add tests of string collection.
629
630 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
631
632 * gdb.base/skip-solib.exp (executable_main): New variable.
633 (binfile_main): Base it on that.
634 Use $executable_main in clean_restart calls. Drop gdb_exit and
635 gdb_start calls.
636
637 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
638
639 Fix racy FAILs.
640 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
641 breakpoint_re globals import by async. Set string_regex to .* for
642 async. Remove the optional thread_selected_re and breakpoint_re
643 globals expectations.
644
645 2011-11-01 Joseph Myers <joseph@codesourcery.com>
646
647 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
648 well as Cygwin.
649
650 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
651
652 Add tests for skip command.
653 * gdb.base/skip-solib-lib.c: New
654 * gdb.base/skip-solib-main.c: New
655 * gdb.base/skip-solib.exp: New
656 * gdb.base/skip.c: New
657 * gdb.base/skip.exp: New
658 * gdb.base/skip1.c: New
659 * gdb.base/Makefile.in: Adding new files.
660
661 2011-10-31 Yao Qi <yao@codesourcery.com>
662 Pedro Alves <pedro@codesourcery.com>
663
664 * gdb.trace/trace-break.c: New.
665 * gdb.trace/trace-break.exp: New.
666
667 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
668
669 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
670 break-here-2.
671
672 2011-10-28 Pedro Alves <pedro@codesourcery.com>
673
674 * gdb.threads/no-unwaited-for-left.c: New.
675 * gdb.threads/no-unwaited-for-left.exp: New.
676 * gdb.threads/non-ldr-exc-1.c: New.
677 * gdb.threads/non-ldr-exc-1.exp: New.
678 * gdb.threads/non-ldr-exc-2.c: New.
679 * gdb.threads/non-ldr-exc-2.exp: New.
680 * gdb.threads/non-ldr-exc-3.c: New.
681 * gdb.threads/non-ldr-exc-3.exp: New.
682 * gdb.threads/non-ldr-exc-4.c: New.
683 * gdb.threads/non-ldr-exc-4.exp: New.
684
685 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
686
687 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
688 * gdb.base/attach-pie-misread.exp: Likewise.
689 * gdb.base/break-interp.exp: Likewise.
690 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
691 testcases for use_gdb_stub.
692 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
693 (continue): New testcase.
694 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
695 * gdb.threads/attach-into-signal.exp: Likewise.
696 * gdb.threads/attach-stopped.exp: Likewise.
697 * gdb.threads/attachstop-mt.exp: Likewise.
698
699 2011-10-28 Paul Koning <paul_koning@dell.com>
700
701 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
702
703 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
704
705 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
706 (mi_gdb_test): Import globals thread_selected_re
707 and breakpoint_re. Expect them optionally at the regex start.
708
709 2011-10-27 Doug Evans <dje@google.com>
710
711 * gdb.python/python.exp: Test source -s.
712
713 2011-10-26 Paul Koning <paul_koning@dell.com>
714
715 * gdb.python/lib-types.cc (struct A): New structure.
716 * gdb.python/lib-types.exp (deepitems): New tests.
717
718 2011-10-25 Paul Koning <paul_koning@dell.com>
719
720 PR python/13327
721
722 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
723 fetch_lazy method.
724
725 2011-10-24 Yao Qi <yao@codesourcery.com>
726
727 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
728 target is tic6x-*-*.
729
730 2011-10-21 Joel Brobecker <brobecker@adacore.com>
731
732 * gdb.ada/mi_task_info/task_switch.adb: New file.
733 * gdb.ada/mi_task_info.exp: New file.
734
735 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
736
737 * gdb.cp/expand-psymtabs-cxx.exp: New file.
738 * gdb.cp/expand-psymtabs-cxx.cc: New file.
739
740 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
741
742 PR python/12656
743
744 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
745 global_block tests.
746
747 2011-10-18 Tom Tromey <tromey@redhat.com>
748
749 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
750
751 2011-10-18 Tom Tromey <tromey@redhat.com>
752
753 * gdb.base/source.exp: Don't include full file name in test name.
754 * gdb.python/python.exp: Don't include full file name in test
755 name.
756
757 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
758
759 * gdb.base/attach-pie-noexec.c: New files.
760 * gdb.base/attach-pie-noexec.exp: New files.
761
762 2011-10-17 Joseph Myers <joseph@codesourcery.com>
763
764 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
765 prompt for each extra line in command.
766
767 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
768
769 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
770 Revert the part of:
771 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
772 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
773 Change the expected string.
774
775 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
776
777 Fix results with system glibc debug info installed.
778 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
779 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
780 Accept also __libc_ symbol prefix and no prefix.
781
782 2011-10-14 Keith Seitz <keiths@redhat.com>
783
784 PR c++/13225
785 * gdb.cp/converts.cc (foo3_1): New function.
786 (foo3_2): New functions.
787 * gdb.cp/converts.exp: Add tests for int to pointer conversion
788 and null pointer conversions of integer constant zero.
789 Add test to check if all arguments are checked for incompatible
790 conversion BADNESS.
791
792 2011-10-14 Tom Tromey <tromey@redhat.com>
793
794 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
795 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
796 linespec.
797
798 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
799
800 Fix internal error regression.
801 * gdb.dwarf2/implptr-optimized-out.S: New file.
802 * gdb.dwarf2/implptr-optimized-out.exp: New file.
803
804 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
805
806 Fix empty DWARF expressions DATA vs. SIZE conditionals.
807 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
808 (loclist): New.
809 (4): New abbrev.
810 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
811 Use prepare_for_testing, remove clean_restart.
812 (p arraynoloc, p arraycallnoloc): New tests.
813
814 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
815
816 * gdb.cp/namespace-enum.exp (executable): New variable.
817 (binfile): Use ${objdir}/${subdir}/ prefix.
818 Use ${executable} for clean_restart.
819
820 2011-10-11 Sterling Augustine <saugustine@google.com>
821
822 * gdb.cp/Makefile.in: Add namespace-enum test.
823 * gdb.cp/namespace-enum.exp: New file.
824 * gdb.cp/namespace-enum.c: New file.
825 * gdb.cp/namespace-enum-main.c: New file.
826
827 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
828
829 * gdb.python/py-shared.exp: Relax filename check to handle remote:
830 sysroot.
831
832 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
833
834 Reimplement @entry in input expressions.
835 * gdb.base/exprs.c (v_int_array_init): New variable.
836 * gdb.base/exprs.exp (print v_int_array_init)
837 (print *v_int_array_init@1, print *v_int_array_init@2)
838 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
839 (print v_int_array_init[1]@1): New tests.
840
841 2011-10-10 Joseph Myers <joseph@codesourcery.com>
842
843 * gdb.cp/gdb2495.exp: Do not include directories in filename in
844 expected message.
845
846 2011-10-09 Doug Evans <dje@google.com>
847
848 * gdb.base/alias.exp: Add tests for alias command.
849
850 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 * gdb.arch/amd64-entry-value.s: New file.
853 * gdb.mi/mi2-amd64-entry-value.s: New file.
854
855 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
856
857 Display @entry parameter values even for references.
858 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
859 functions.
860 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
861 reference and datap_input.
862 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
863 breakpoints.
864 (continue to breakpoint: entry_reference: reference)
865 (entry_reference: bt at entry)
866 (continue to breakpoint: entry_reference: breakhere_reference)
867 (entry_reference: bt, entry_reference: ptype regparam)
868 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
869 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
870 (entry_reference: p regcopy, entry_reference: p nodataparam)
871 (entry_reference: p nodataparam@entry): New tests.
872
873 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
874
875 Support @entry in input expressions.
876 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
877 (entry_stack: p s1@entry, entry_stack: p s2@entry)
878 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
879 (tailcall: p j@entry): New tests.
880 * gdb.cp/koenig.cc (A::entry): New function.
881 (main): Call it.
882 * gdb.cp/koenig.exp (p entry (c)): New test.
883
884 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
885
886 Display @entry parameter values (without references).
887 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
888 (different, validity, invalid): New functions.
889 (main): Call them.
890 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
891 stacktest, breakhere_stacktest, different, breakhere_different,
892 breakhere_validity and breakhere_invalid.
893 (entry: bt): Update for @entry.
894 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
895 (entry_validity: *, entry_invalid: *): Many new tests.
896 * gdb.base/break.exp
897 (run until breakpoint set at small function, optimized file): Accept
898 also the @entry suffix.
899 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
900 * gdb.mi/mi2-amd64-entry-value.c: New files.
901 * gdb.mi/mi2-amd64-entry-value.exp: New files.
902
903 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
904
905 Protect entry values against self tail calls.
906 * gdb.arch/amd64-entry-value.cc (self2, self): New.
907 (main): Call self.
908 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
909 (set debug entry-values 1, self: bt debug entry-values): New tests.
910
911 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
912
913 Recognize virtual tail call frames.
914 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
915 (amb_b, amb_a): New.
916 (main): Call a and b.
917 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
918 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
919 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
920 New tests.
921
922 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
923
924 Implement basic support for DW_TAG_GNU_call_site.
925 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
926 * gdb.arch/amd64-entry-value.cc: New file.
927 * gdb.arch/amd64-entry-value.exp: New file.
928
929 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
930
931 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
932 * gdb.dwarf2/implptr-64bit.S: New file.
933 * gdb.dwarf2/implptr-64bit.exp: New file.
934
935 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
936
937 Fix initial language detection with -readnow.
938 * gdb.cp/readnow-language.cc: New file.
939 * gdb.cp/readnow-language.exp: New file.
940
941 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
942
943 Fix printed anonymous struct name.
944 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
945
946 2011-10-09 Joseph Myers <joseph@codesourcery.com>
947
948 * gdb.base/solib-symbol.exp: Do not include directories in
949 filenames in expected messages.
950
951 2011-10-07 Doug Evans <dje@google.com>
952
953 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
954
955 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
956
957 Allow Python notification of new object-file loadings.
958 * gdb.python/py-events.exp: Test newobjfile event.
959 * gdb.python/py-events.py: Register newobjfile callback.
960 * gdb.python/py-events.c: Add call to shared library
961 * gdb.python/py-events-shlib.c: New file.
962
963 2011-10-06 Joseph Myers <joseph@codesourcery.com>
964
965 * gdb.base/fixsection.exp: Do not include directories in filename
966 in expected message.
967
968 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
969
970 Add tests for passing of environment variables to inferior.
971 * gdb.base/testenv.c: New test source.
972 * gdb.base/testenv.exp: New expect test.
973
974 2011-10-04 Paul Koning <paul_koning@dell.com>
975
976 * gdb.python/py-value.c (main): Break before return.
977
978 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
979
980 PR python/12691: Add the inferior to Python exited event
981 * gdb.python/py-events.exp: Test the inferior attribute of exited
982 event with a fork.
983 * gdb.python/py-events.py: Print inferior number on exit.
984 * gdb.python/py-events.c: Fork the inferior.
985
986 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
987
988 * gdb.base/jit.exp: Add testcase name to log message
989
990 2011-10-03 Paul Koning <paul_koning@dell.com>
991 Jan Kratochvil <jan.kratochvil@redhat.com>
992
993 * gdb.python/py-value.exp
994 (python inval = gdb.parse_and_eval('*(int*)0'))
995 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
996 (set argc=2, python print argc_lazy): New tests.
997
998 2011-10-02 Joel Brobecker <brobecker@adacore.com>
999
1000 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1001
1002 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1003 Pedro Alves <pedro@codesourcery.com>
1004
1005 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1006 can_read_0, test for it.
1007 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1008 (parse_and_eval with memory error): ... here, make it untested if
1009 can_read_0.
1010
1011 2011-09-30 Marek Polacek <mpolacek@redhat.com>
1012
1013 * gdb.python/python.exp (verify pagination beforehand)
1014 (verify pagination afterwards): Fix race by splitting the line.
1015
1016 2011-09-29 Joseph Myers <joseph@codesourcery.com>
1017
1018 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1019 for 64-bit multilibs from i?86-* targets.
1020
1021 2011-09-29 Marek Polacek <mpolacek@redhat.com>
1022
1023 * lib/gdb.exp: Fix a typo in one of the comments.
1024
1025 2011-09-29 Marek Polacek <mpolacek@redhat.com>
1026
1027 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1028 matching pattern.
1029
1030 2011-09-28 Paul Koning <paul_koning@dell.com>
1031
1032 * gdb.python/py-type.c (enum E): New.
1033 * gdb.python/py-type.exp (test_fields): Add tests for Python
1034 mapping access to fields.
1035 (test_enums): New test for field access on enums.
1036
1037 2011-09-27 Stan Shebs <stan@codesourcery.com>
1038
1039 * gdb.trace/collection.exp: Test collection of $_ret.
1040
1041 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
1042
1043 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1044 list of compilation switches for <*-*-freebsd*>.
1045
1046 2011-09-19 Stan Shebs <stan@codesourcery.com>
1047
1048 * gdb.trace/tspeed.exp: New file.
1049 * gdb.trace/tspeed.c: New file.
1050
1051 2011-09-18 Yao Qi <yao@codesourcery.com>
1052
1053 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1054 instructions.
1055 (test_adr_32bit, test_pop_pc): Likewise.
1056 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1057 Thumb instructions.
1058 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1059 in gdb_test_multiple.
1060 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1061
1062 2011-09-17 Yao Qi <yao@codesourcery.com>
1063
1064 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1065 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1066 support single step to signal handler.
1067
1068 2011-09-17 Yao Qi <yao@codesourcery.com>
1069
1070 * gdb.base/disp-step-fork.c: New.
1071 * gdb.base/disp-step-syscall.exp: New.
1072 * gdb.base/disp-step-vfork.c: New.
1073
1074 2011-09-16 Joel Brobecker <brobecker@adacore.com>
1075
1076 * gdb.ada/tasks.exp: Make the expected output for
1077 the `info tasks' tests more resilient to spacing
1078 changes.
1079
1080 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1081
1082 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1083 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1084
1085 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
1086
1087 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1088 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1089
1090 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
1091
1092 Handle multiple breakpoint hits in Python interface:
1093 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1094 presence.
1095 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1096 breakpoint hits.
1097
1098 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1099 Jan Kratochvil <jan.kratochvil@redhat.com>
1100
1101 * gdb.python/py-events.exp: Remove pretty printing comment.
1102 * gdb.python/py-evsignal.exp: New file.
1103 * gdb.python/py-evthreads.c: Include signal.h.
1104 (thread3): Remove variable count3. Remove variable bad and use raise
1105 instead.
1106 (thread2): Remove variable count2. Move thread3 pthread_create here,
1107 merge pthread_join to a single line.
1108 (main): Remove variable count1. Merge pthread_join with pthread_create
1109 to a single line.
1110 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1111 KFAIL python/12966 for gdbserver. Test return value of
1112 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1113 gdb_expect by gdb_test and gdb_test_multiple.
1114 (thread 2, thread 3): New tests.
1115
1116 2011-09-12 Matt Rice <ratmice@gmail.com>
1117 Pedro Alves <pedro@codesourcery.com>
1118
1119 PR gdb/13175
1120
1121 * gdb.base/interp.exp: New tests.
1122 * gdb.base/interp.c: New file.
1123
1124 2011-09-12 Doug Evans <dje@google.com>
1125
1126 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1127 * gdb.dwarf2/typeddwarf.exp: Ditto.
1128
1129 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1130
1131 Fix compatibility with x32 arch.
1132 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1133 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1134 is_x86_like_target.
1135 * testsuite/gdb.trace/collection.exp: Likewise.
1136 * testsuite/gdb.trace/report.exp: Likewise.
1137 * testsuite/gdb.trace/unavailable.exp: Likewise.
1138 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1139 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1140 (is_x86_like_target): Check also is_amd64_regs_target.
1141
1142 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1143
1144 PR breakpoints/12435
1145 * gdb.arch/amd64-prologue-xmm.c: New file.
1146 * gdb.arch/amd64-prologue-xmm.exp: New file.
1147 * gdb.arch/amd64-prologue-xmm.s: New file.
1148
1149 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1150
1151 * gdb.dwarf2/dw2-param-error-main.c: New file.
1152 * gdb.dwarf2/dw2-param-error.S: New file.
1153 * gdb.dwarf2/dw2-param-error.exp: New file.
1154
1155 2011-09-08 Pedro Alves <pedro@codesourcery.com>
1156
1157 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1158 inferior's pid and look for a core dump named core.$pid. Use
1159 `remote_file' commands on the host instead of hand coding shell
1160 commands on the build.
1161 * gdb.base/valgrind-db-attach.exp: Kill the program before
1162 finishing the test.
1163
1164 2011-09-02 Matt Rice <ratmice@gmail.com>
1165
1166 * lib/prompt.exp: New file for testing the first prompt.
1167 * gdb.python/py-prompt.exp: Ditto.
1168 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1169
1170 2011-09-02 Pedro Alves <pedro@codesourcery.com>
1171
1172 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1173 0, before testing gcore.
1174
1175 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1176
1177 * dw2-ifort-parameter-debug.S: Update copyright year.
1178 * dw2-ifort-parameter.c: Update copyright year.
1179 * dw2-ifort-parameter.exp: Update copyright year.
1180
1181 * dw2-ifort-parameter-debug.S: New file.
1182 * dw2-ifort-parameter.c: New file.
1183 * dw2-ifort-parameter.exp: New file.
1184
1185 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1186
1187 * gdb.base/commands.exp (error_clears_commands_left): New function.
1188 (): Call it.
1189
1190 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1191
1192 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1193 (C): Initialize `a'.
1194 * gdb.mi/mi-inheritance-syntax-error.exp
1195 (-data-evaluate-expression $path): Expect `a' as 5.
1196
1197 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1198
1199 PR mi/11912
1200 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1201 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1202 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1203 keyword in output of -var-info-path-expression.
1204
1205 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1206
1207 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1208 * gdb.trace/collection.exp: Likewise.
1209 * gdb.trace/report.exp: Likewise.
1210 * gdb.trace/unavailable.exp: Likewise.
1211 * gdb.trace/while-dyn.exp: Likewise.
1212
1213 2011-08-18 Keith Seitz <keiths@redhat.com>
1214
1215 PR c++/12266
1216 * gdb.cp/meth-typedefs.cc: New file.
1217 * gdb.cp/meth-typedefs.exp: New file.
1218
1219 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1220
1221 * gdb.python/python.exp: Add extended-prompt tests.
1222
1223 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1224
1225 * gdb.arch/i386-dr3-watch.exp
1226 (watchpoint on gap1 does not fit debug registers)
1227 (delete all watchpoints): Fix racy expect strings.
1228
1229 2011-08-14 Yao Qi <yao@codesourcery.com>
1230
1231 * gdb.base/maint.exp: set data_section to ".neardata".
1232 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1233 * gdb.base/savedregs.exp: Handle SIGILL.
1234 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1235 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1236
1237 2011-08-12 Doug Evans <dje@google.com>
1238
1239 * gdb.python/py-symbol.exp: Add test for symbol.type.
1240
1241 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1242
1243 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1244 * gdb.mi/mi-pthreads.exp: Likewise.
1245 * gdb.mi/mi2-pthreads.exp: Likewise.
1246 * gdb.mi/gdb669.exp.exp: Likewise.
1247
1248 2011-08-09 Pedro Alves <pedro@codesourcery.com>
1249
1250 * lib/mi-support.exp (detect_async): Rename to...
1251 (mi_detect_async): ... this.
1252 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1253 * gdb.mi/mi-nonstop.exp: Adjust.
1254 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1255 * gdb.mi/mi-nsintrall.exp: Adjust.
1256 * gdb.mi/mi-nsmoribund.exp: Adjust.
1257 * gdb.mi/mi-nsthrexec.exp: Adjust.
1258
1259 2011-08-09 Pedro Alves <pedro@codesourcery.com>
1260
1261 * gdb.base/display.c (do_loops): New `p_i' local.
1262 * gdb.base/display.exp: Test displaying a variable that is
1263 temporarily at a bad address.
1264
1265 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1266
1267 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1268 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1269
1270 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1271
1272 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
1273 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1274 (p fuNC_symtab): Permit also ppc64 leading dot.
1275
1276 2011-08-05 Pedro Alves <pedro@codesourcery.com>
1277
1278 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1279 procedure.
1280 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1281
1282 2011-08-05 Yao Qi <yao@codesourcery.com>
1283
1284 * gdb.base/callfuncs.exp: Set language after main.
1285 * gdb.cp/cplusfuncs.exp: Likewise.
1286 * gdb.cp/inherit.exp: Likewise.
1287
1288 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1289
1290 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1291 * gdb.base/watch-vfork.exp: Skip on remote targets.
1292
1293 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1294
1295 * gdb.threads/thread-find.exp: Support remote targets.
1296
1297 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1298
1299 * gdb.base/jit.exp: Download solib_binfile to target.
1300 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1301 and call dlopen without full path name.
1302 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1303 dlopen without full path name.
1304
1305 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1306
1307 * gdb.base/break-always.exp: Complete the test
1308 with duplicated breakpoints and enabling/disabling them.
1309
1310 2011-08-02 Tom Tromey <tromey@redhat.com>
1311
1312 PR gdb/11289:
1313 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1314
1315 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1316
1317 PR gdb/13045
1318 * gdb.base/float.exp: Add new test case for PR gdb/13045
1319 * gdb.base/float.c: New file.
1320
1321 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
1322
1323 * gdb.python/py-mi.exp: Test printers returning string hint, and
1324 also not returning a value.
1325 * gdb.python/py-prettyprint.c: Add testcase for above.
1326 * gdb.python/py-prettyprint.py: Add test printer for above.
1327
1328 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1329
1330 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1331 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1332 (.Ldie30) Add as field "data4".
1333 (.Ldie32) Rename field "b" to "shl".
1334 (abbrev4) Change for the "data4" field.
1335 (abbrev5, abbrev6) Remove.
1336 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1337 (p &s.shl): ... here. Add comment.
1338 (p &s.data4): New.
1339
1340 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1341
1342 Fix crash on lval_computed values.
1343 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1344
1345 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1346
1347 * gdb.base/help.exp (help whatis): Update the expected string.
1348
1349 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1350
1351 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1352 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1353 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1354 Change the expected string.
1355
1356 2011-07-26 Pedro Alves <pedro@codesourcery.com>
1357
1358 * gdb.base/watchpoint.exp
1359 (test_disable_enable_software_watchpoint): New procedure.
1360 (top level): Run it.
1361
1362 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
1363
1364 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
1365 executable file "${binfile}", C++ version "${binfile}-cxx".
1366 * gdb.python/py-prettyprint.exp: Likewise.
1367 * gdb.python/py-symbol.exp: Likewise.
1368 * gdb.python/py-type.exp: Likewise.
1369 * gdb.python/py-value.exp: Likewise.
1370 * gdb.python/py-template.exp (test_template_arg): Pass full executable
1371 file name instead of just suffix.
1372
1373 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1374
1375 Fix implicit pointer offsets.
1376 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1377 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1378 (continue to breakpoint: continue to baz breakpoint for implptr)
1379 (sanity check element 0, sanity check element 1)
1380 (enter the inlined function, check element 0 for the offset)
1381 (check element 1 for the offset)
1382 (continue to breakpoint: ignore the second baz breakpoint): New tests.
1383 (set foo breakpoint for implptr): Update the breakpoint number.
1384
1385 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1386
1387 * gdb.python/py-mi.exp: Use different file names for different
1388 versions of the executable under test.
1389 * gdb.python/py-prettyprint.exp: Likewise.
1390 * gdb.python/py-symbol.exp: Likewise.
1391 * gdb.python/py-template.exp: Likewise.
1392 * gdb.python/py-type.exp: Likewise.
1393 * gdb.python/py-value.exp: Likewise.
1394
1395 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1396
1397 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1398 flag after restarting GDB if necessary.
1399
1400 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1401
1402 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1403
1404 2011-07-22 Pedro Alves <pedro@codesourcery.com>
1405
1406 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1407 backend doesn't leave used debug registers behind.
1408
1409 2011-07-22 Tom Tromey <tromey@redhat.com>
1410
1411 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1412 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1413 argument.
1414 * gdb.dwarf2/typeddwarf-amd64.S: New file.
1415
1416 2011-07-21 Matt Rice <ratmice@gmail.com>
1417
1418 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1419 in mostlyclean rule. Add files ending in .core.
1420
1421 2011-07-21 Matt Rice <ratmice@gmail.com>
1422
1423 PR macros/12999
1424 * gdb.base/info-macros.c: New test sources.
1425 * gdb.base/info-macros.exp: New tests.
1426
1427 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
1428
1429 * gdb.python/python.exp: Add prompt substitution tests.
1430
1431 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1432
1433 Fix crash if referenced CU is aged out.
1434 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1435 New.
1436 * gdb.dwarf2/implptr.exp: Likewise.
1437
1438 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1439
1440 * gdb.dwarf2/implptr.S: Rebuilt.
1441 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1442 (bar): Use them for j, k, l.
1443 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
1444 COMPILE.
1445 (print j in implptr:bar): Update for the intp typedef.
1446 (print p[0].x in implptr:foo): Use more exact regex.
1447
1448 2011-07-18 Tom Tromey <tromey@redhat.com>
1449
1450 * gdb.cp/static-method.exp: Add missing single quote.
1451
1452 2011-07-18 Yao Qi <yao@codesourcery.com>
1453
1454 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1455 supported.
1456 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1457 * gdb.mi/mi-nonstop.exp: Likewise.
1458 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1459 * gdb.mi/mi-nsintrall.exp: Likewise.
1460 * gdb.mi/mi-nsmoribund.exp: Likewise.
1461 * gdb.mi/mi-nsthrexec.exp: Likewise.
1462 * gdb.python/py-evthreads.exp: Likewise.
1463
1464 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1465
1466 Code cleanup.
1467 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
1468 it. Substitute it instead of test_compiler_info everywhere.
1469
1470 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1471
1472 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
1473 remote targets as well.
1474
1475 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1476
1477 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1478 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
1479
1480 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1481
1482 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1483 a remote machine, not the host.
1484 (gdb_compile_shlib): Set soname if target is remote.
1485
1486 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1487
1488 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1489
1490 2011-07-13 Matt Rice <ratmice@gmail.com>
1491
1492 * gdb.python/py-objfile-script-gdb.py: Renamed to
1493 py-objfile-script-gdb.py.in.
1494 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1495 py-objfile-script-gdb.py.
1496 * gdb.python/py-objfile-script.exp: Update reference to
1497 py-objfile-script-gdb.py.
1498
1499 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1500
1501 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1502 reference undefined label.
1503
1504 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1505
1506 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1507 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1508 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1509 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1510
1511 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
1512
1513 PR python/12438
1514 * gdb.python/python.exp: Add maint set/show python print-stack
1515 deprecated tests. Add set/show python print-backtrace tests.
1516
1517 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1518
1519 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1520 debug info.
1521
1522 2011-07-06 Matt Rice <ratmice@gmail.com>
1523
1524 * gdb.python/python.exp: Update filename paths.
1525 * gdb.python/py-symtab.exp: Ditto.
1526
1527 2011-07-06 Marek Polacek <mpolacek@redhat.com>
1528
1529 * gdb.python/py-evthreads.exp: Add missing `$'.
1530
1531 2011-07-06 Jie Zhang <jie.zhang@analog.com>
1532
1533 * config/bfin.exp: New file.
1534 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1535 * gdb.asm/bfin.inc: New file.
1536
1537 2011-07-06 Marek Polacek <mpolacek@redhat.com>
1538
1539 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
1540 the whole output.
1541
1542 2011-07-05 Tom Tromey <tromey@redhat.com>
1543
1544 * gdb.java/jprint.java (jprint.hi): New field.
1545 * gdb.java/jprint.exp: Print string.
1546
1547 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
1548
1549 * gdb.base/call-sc.c: Fix typos.
1550 * gdb.base/ifelse.exp: Likewise.
1551 * gdb.base/structs.c: Likewise.
1552
1553 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1554
1555 * gdb.base/jit-so.exp: New test.
1556 * gdb.base/jit-dlmain.c: New file.
1557 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1558
1559 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1560
1561 * gdb.cp/m-static.exp: Call get_compiler_info.
1562 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1563 * gdb.cp/pr9167.exp (p b): Likewise.
1564 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1565 (test value of P in inner_m, test type of Z in inner_m): Call
1566 setup_xfail for gcc <= 4.5.
1567
1568 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1569
1570 * gdb.cp/paren-type.cc: New files.
1571 * gdb.cp/paren-type.exp: New files.
1572
1573 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1574
1575 Stop on first linespec terminator instead of eating what we can.
1576 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1577 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1578 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1579 (break C::f()): ... this one.
1580 (break C::operator()()): New test.
1581 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1582 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1583 test.
1584
1585 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1586
1587 Fall back linespec to minimal symbols.
1588 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1589 error message.
1590 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1591 * gdb.cp/minsym-fallback-main.cc: New file.
1592 * gdb.cp/minsym-fallback.cc: New file.
1593 * gdb.cp/minsym-fallback.exp: New file.
1594 * gdb.cp/minsym-fallback.h: New file.
1595
1596 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1597
1598 * gdb.cp/no-dmgl-verbose.cc: New file.
1599 * gdb.cp/no-dmgl-verbose.exp: New file.
1600
1601 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1602
1603 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1604 __GI_.
1605 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1606 (f): New function.
1607 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1608 (complete p 'func<short>(): ... here.
1609 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1610 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1611 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1612 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1613 Make them KFAIL gcc/49546.
1614
1615 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1616
1617 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1618
1619 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1620
1621 Test GCC PR debug/49546.
1622 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1623 (test type of F in k3_m, test value of F in k3_m): New.
1624 * gdb.cp/temargs.cc (struct S3, struct K3): New.
1625 (main): New variable k3. Call k3.k3_m.
1626
1627 2011-07-01 Jean-Charles Delay <delay@adacore.com>
1628
1629 * gdb.ada/packed_array.exp: Fix expected outout.
1630
1631 2011-07-01 Jean-Charles Delay <delay@adacore.com>
1632
1633 * gdb.ada/packed_array.exp: fixed expected output.
1634
1635 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1636
1637 * gdb.ada/same_enum: New testcase.
1638
1639 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1640
1641 * gdb.ada/ptr_typedef: New testcase.
1642
1643 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1644
1645 * gdb.ada/arrayptr.exp: Add ptype test.
1646
1647 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1648
1649 * gdb.ada/char_enum: New testcase.
1650
1651 2011-07-01 Yao Qi <yao@codesourcery.com>
1652
1653 * gdb.base/dump.exp (capture_pointer_with_type): New.
1654 Get value from address instead of name.
1655 Start GDB once, and do `dump' and `restore'
1656 tests together.
1657
1658 2011-06-30 Jie Zhang <jie.zhang@analog.com>
1659 Mike Frysinger <vapier@gentoo.org>
1660
1661 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1662 helper functions for getting/setting remotetimeout variable.
1663 * lib/gdb.exp (gdb_load): If the target is remote, set
1664 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1665 with $loadtimeout. Set $load_ok to 0 before doing the load.
1666 Instead of returning, immediately, set $load_ok to 0. Call
1667 set_remotetimeout with $oldremotetimeout, and then return if
1668 $load_ok is 1.
1669
1670 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
1671
1672 * gdb.python/py-template.exp: Don't run this test if the target
1673 does not support c++ tests.
1674
1675 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1676
1677 Fix non-only rename list for Fortran modules import.
1678 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1679 tests.
1680 * gdb.fortran/module.f90 (module moduse): New.
1681 (program module): use moduse, test var_x, var_y and var_z.
1682
1683 2011-06-29 Tom Tromey <tromey@redhat.com>
1684
1685 PR testsuite/12040:
1686 * gdb.fortran/array-element.exp: Use f90, not f77.
1687 * gdb.fortran/complex.exp: Use f90, not f77.
1688 * gdb.fortran/derived-type.exp: Use f90, not f77.
1689 * gdb.fortran/library-module.exp: Use f90, not f77.
1690 * gdb.fortran/logical.exp: Use f90, not f77.
1691 * gdb.fortran/module.exp: Use f90, not f77.
1692 * gdb.fortran/multi-dim.exp: Use f90, not f77.
1693 * gdb.fortran/subarray.exp: Use f90, not f77.
1694
1695 2011-06-29 Tom Tromey <tromey@redhat.com>
1696
1697 * gdb.fortran/charset.exp: New file.
1698 * gdb.fortran/charset.f90: New file.
1699
1700 2011-06-29 Tom Tromey <tromey@redhat.com>
1701
1702 PR testsuite/12040:
1703 * lib/future.exp: New file, mostly extracted from ada.exp.
1704 Rewrote compatibility code to use rename.
1705 (gdb_find_gfortran): New proc.
1706 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1707 gfortran patch.
1708 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1709 Move to future.exp.
1710 * lib/gdb.exp: Always load future.exp.
1711
1712 2011-06-28 Yao Qi <yao@codesourcery.com>
1713
1714 * gdb.cp/exception.cc: Don't include iostream.
1715 (bar): Remove print statement.
1716 (catcher): New.
1717 (main): Remove print statements. Call function catcher.
1718 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1719 Set breakpoint on catcher, and check the value of parameter.
1720
1721 2011-06-23 Yao Qi <yao@codesourcery.com>
1722
1723 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1724 1.2 is disabled. KFAIL for uclinux.
1725
1726 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1727
1728 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1729 mi_gdb_test.
1730
1731 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1732
1733 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1734
1735 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1736
1737 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1738
1739 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1740
1741 * gdb.mi/mi2-basics.exp: Fix races. Honour the
1742 `test_exec_and_symbol_mi_operatons' return value.
1743 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1744 gdb_test_multiple.
1745 (test_exec_and_symbol_mi_operatons): Likewise.
1746 (test_path_specification): Likewise.
1747
1748 2011-06-23 Yao Qi <yao@codesourcery.com>
1749
1750 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1751 supported.
1752 * lib/gdb.exp (support_displaced_stepping): New.
1753
1754 2011-06-23 Yao Qi <yao@codesourcery.com>
1755
1756 * gdb.threads/execl.exp: Skip on remote target.
1757
1758 2011-06-21 Marek Polacek <mpolacek@redhat.com>
1759
1760 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
1761 mi_gdb_test.
1762
1763 2011-06-20 Marek Polacek <mpolacek@redhat.com>
1764
1765 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1766
1767 2011-06-20 Marek Polacek <mpolacek@redhat.com>
1768
1769 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
1770 mi_gdb_test.
1771
1772 2011-06-20 Marek Polacek <mpolacek@redhat.com>
1773
1774 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1775
1776 2011-06-14 Yao Qi <yao@codesourcery.com>
1777
1778 gdb/testsuite/
1779 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1780
1781 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1782
1783 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1784
1785 2011-06-10 Tom Tromey <tromey@redhat.com>
1786
1787 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1788 Add tests for pointer-to-member-function.
1789 * gdb.cp/temargs.cc (S::somefunc): New function.
1790 (K2): New class.
1791 (main): Instantiate K2; call method.
1792
1793 2011-06-08 Joel Brobecker <brobecker@adacore.com>
1794
1795 * gdb.python/py-inferior.c (f2): Make str an array rather
1796 than a pointer.
1797 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1798
1799 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1800
1801 * gdb.base/async-shell.c: New file.
1802 * gdb.base/async-shell.exp: New file.
1803
1804 2011-06-06 Pedro Alves <pedro@codesourcery.com>
1805
1806 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1807
1808 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
1809
1810 From Stephen Kitt <steve@sk2.org>
1811 * gdb.base/help.exp: Adjust following some spelling corrections
1812 in GDB.
1813
1814 2011-06-01 Yao Qi <yao@codesourcery.com>
1815
1816 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1817
1818 2010-05-31 Keith Seitz <keiths@redhat.com>
1819
1820 PR c++/12750
1821 * gdb.cp/static-method.cc: New file.
1822 * gdb.cp/static-method.exp: New file.
1823
1824 2010-05-31 Keith Seitz <keiths@redhat.com>
1825
1826 PR symtab/12704
1827 * gdb.cp/anon-ns.cc: New file.
1828 * gdb.cp/anon-ns.exp: New file.
1829
1830 2011-05-31 Pedro Alves <pedro@codesourcery.com>
1831
1832 * gdb.arch/i386-dr3-watch.c: New file.
1833 * gdb.arch/i386-dr3-watch.exp: New file.
1834
1835 2011-05-30 Yao Qi <yao@codesourcery.com>
1836
1837 * gdb.base/callfuncs.c (t_structs_fc): New.
1838 (t_structs_dc, t_structs_ldc): New.
1839 (t_double_many_args):
1840 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1841 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1842 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1843 * gdb.base/callfuncs.exp: Call new functions.
1844
1845 2011-05-30 Yao Qi <yao@codesourcery.com>
1846
1847 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1848 Call rerun_and_prepare for each test to isolate effects.
1849
1850 2011-05-30 Yao Qi <yao@codesourcery.com>
1851
1852 * gdb.base/varargs.c (find_max_float_real): New.
1853 (find_max_double_real, find_max_long_double_real): New.
1854 * gdb.base/varargs.exp: Call these new added functions.
1855 * lib/gdb.exp (setup_kfail_for_target): New.
1856
1857 2011-05-30 Yao Qi <yao@codesourcery.com>
1858
1859 * gdb.base/funcargs.c (callca, callcb, callcc): New.
1860 (callcd, callce, callcf, callc1a, callc1b): New.
1861 (callc2a, callc2b): New.
1862 * gdb.base/funcargs.exp (complex_args): New.
1863 (complex_integral_args, complex_float_integral_args): New.
1864 * lib/gdb.exp (support_complex_tests): New. Determine
1865 whether to run test cases on _Complex types.
1866
1867 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1868
1869 * gdb.threads/leader-exit.c: New file.
1870 * gdb.threads/leader-exit.exp: New file.
1871
1872 2011-05-27 Marek Polacek <mpolacek@redhat.com>
1873
1874 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
1875
1876 2011-05-27 Marek Polacek <mpolacek@redhat.com>
1877
1878 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
1879 remove the `supported' variable.
1880 * gdb.mi/mi-nonstop.exp: Likewise.
1881 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1882 * gdb.mi/mi-nsintrall.exp: Likewise.
1883 * gdb.mi/mi-nsmoribund.exp: Likewise.
1884 * gdb.mi/mi-nsthrexec.exp: Likewise.
1885
1886 2011-05-26 Pedro Alves <pedro@codesourcery.com>
1887
1888 * gdb.reverse/finish-reverse-bkpt.exp: New test.
1889
1890 2011-05-26 Pedro Alves <pedro@codesourcery.com>
1891
1892 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
1893
1894 2011-05-24 Keith Seitz <keiths@redhat.com>
1895
1896 PR breakpoint/12803
1897 * gdb.cp/cmpd-minsyms.cc (a): New method.
1898 (b): New method.
1899 (c): New method.
1900 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
1901
1902 2011-05-24 Pedro Alves <pedro@codesourcery.com>
1903
1904 * gdb.base/commands.exp (watchpoint_command_test): Check that the
1905 watchpoint's command list didn't execute when the watchpoint went
1906 out of scope.
1907
1908 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
1909
1910 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
1911 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
1912 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
1913 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1914 * gdb.arch/i386-permbkpt.exp: Likewise.
1915 * gdb.arch/i386-prologue.exp: Likewise.
1916 * gdb.arch/i386-size-overlap.exp: Likewise.
1917 * gdb.arch/i386-size.exp: Likewise.
1918 * gdb.arch/i386-unwind.exp: Likewise.
1919 * gdb.reverse/i386-precsave.exp: Likewise.
1920 * gdb.reverse/i386-reverse.exp: Likewise.
1921 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1922 * gdb.reverse/i387-env-reverse.exp: Likewise.
1923 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1924
1925 2011-05-24 Pedro Alves <pedro@codesourcery.com>
1926
1927 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
1928 file doesn't error, using MI.
1929
1930 2011-05-23 Tom Tromey <tromey@redhat.com>
1931
1932 * gdb.base/charset.exp (string_display): Add tests to assign to
1933 arrays.
1934 * gdb.base/charset.c (short_array, int_array, long_array): New.
1935
1936 2011-05-20 Pedro Alves <pedro@codesourcery.com>
1937
1938 Cope with async mode.
1939
1940 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
1941 into gdb_test + mi_expect_stop.
1942
1943 2011-05-20 Pedro Alves <pedro@codesourcery.com>
1944
1945 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
1946 (callme): Remove printf call.
1947
1948 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
1949
1950 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
1951 quote pattern to avoid problems with Cygwin/mingw expect versions.
1952 * gdb.base/default.exp (show convenience): Use double
1953 quote pattern for regular expressions.
1954
1955 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1956
1957 Fix -readnow for -gdwarf-4 unused type units.
1958 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
1959 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
1960
1961 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1962
1963 * gdb.base/kill-after-signal.c: New file.
1964 * gdb.base/kill-after-signal.exp: New file.
1965
1966 2011-05-16 Pedro Alves <pedro@codesourcery.com>
1967
1968 * gdb.ada/start.exp: Call untested with the correct test filename.
1969 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
1970 test filename. Make the test's binary unique.
1971 * gdb.arch/i386-signal.exp: Call untested with the correct test
1972 filename.
1973 * gdb.arch/i386-size-overlap.exp: Ditto.
1974 * gdb.arch/Makefile.in (EXECUTABLES): Update.
1975 * gdb.base/gcore-buffer-overflow.exp: Ditto.
1976 * gdb.cp/call-c.exp: Ditto.
1977 * gdb.mi/mi-reverse.exp: Call untested with the correct test
1978 filename. Make the test's binary unique.
1979 * gdb.mi/Makefile.in (EXECUTABLES): Update.
1980 * gdb.python/py-mi.exp: Ditto.
1981 * gdb.python/Makefile.in (EXECUTABLES): Update.
1982 * gdb.reverse/i386-precsave.exp: Ditto.
1983 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
1984 test filename.
1985 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1986 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
1987 unique.
1988 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
1989 test filename.
1990 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
1991 * gdb.trace/tfile.exp: Ditto.
1992
1993 2011-05-14 Yao Qi <yao@codesourcery.com>
1994
1995 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
1996 type.
1997
1998 2011-05-13 Doug Evans <dje@google.com>
1999
2000 * gdb.python/py-objfile-script.exp: New file.
2001 * gdb.python/py-objfile-script.c: New file.
2002 * gdb.python/py-objfile-script-gdb.py: New file.
2003 * testsuite/gdb.python/py-section-script.exp: Test
2004 "info auto-load-scripts".
2005
2006 2011-05-13 Tom Tromey <tromey@redhat.com>
2007
2008 * gdb.dwarf2/clztest.exp: New file.
2009 * gdb.dwarf2/clztest.c: New file.
2010 * gdb.dwarf2/clztest.S: New file.
2011
2012 2011-05-13 Doug Evans <dje@google.com>
2013
2014 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2015 String16 tests.
2016
2017 2011-05-13 Tom Tromey <tromey@redhat.com>
2018
2019 * lib/gdb.exp (is_x86_like_target): New proc.
2020 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2021 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2022 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2023 -nostdlib to compiler.
2024 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2025 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2026 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2027 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2028 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2029
2030 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2031
2032 * gdb.python/py-function.exp: Test setting a value from a function
2033 which executes a command.
2034
2035 2011-05-12 Tom Tromey <tromey@redhat.com>
2036
2037 * gdb.dwarf2/typeddwarf.S: New file.
2038 * gdb.dwarf2/typeddwarf.c: New file.
2039 * gdb.dwarf2/typeddwarf.exp: New file.
2040
2041 2011-05-12 Marek Polacek <mpolacek@redhat.com>
2042
2043 * gdb.mi/mi-basics.exp: Fix races. Honour the
2044 `test_exec_and_symbol_mi_operatons' return value.
2045 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2046 gdb_test_multiple.
2047 (test_exec_and_symbol_mi_operatons): Likewise.
2048 (test_path_specification): Likewise.
2049
2050 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2051
2052 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2053 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2054 Replace `file copy' and `file rename' by `file mtime'. Twice.
2055
2056 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2057
2058 * gdb.base/readline-ask.c: New file.
2059 * gdb.base/readline-ask.exp: New file.
2060 * gdb.base/readline-ask.inputrc: New file.
2061
2062 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2063
2064 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2065 to avoid race condition.
2066 * gdb.cell/coremaker.c: Use small stack size.
2067 * gdb.cell/ea-standalone.exp: Use file name without path as
2068 argument to c_to.
2069 * gdb.cell/fork.exp: Allow other output when continuing to end.
2070
2071 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2072
2073 * gdb.threads/corethreads.c: New file.
2074 * gdb.threads/corethreads.exp: New file.
2075
2076 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2077
2078 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2079 Try to compile the test using -Wl,-z,norelro first.
2080 (load_core): New variable libthread_db_seen, initialize it.
2081 (zeroed-threads cannot be listed): Protect it by XFAIL on
2082 !$libthread_db_seen.
2083
2084 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2085
2086 PR 12573
2087 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2088 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2089 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2090
2091 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2092
2093 * gdb.cp/psymtab-parameter.cc: New file.
2094 * gdb.cp/psymtab-parameter.exp: New file.
2095
2096 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2097
2098 Fix a race.
2099 * gdb.cp/static-print-quit.exp (print c): Split to ...
2100 (print c - <return>, print c - q <return>, print c - to quit):
2101 ... these. Make the testfile untested on gdb-7.1.
2102
2103 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
2104
2105 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2106 gdb_rename_execfile, gdb_touch_execfile): New.
2107 * gdb.base/reread.exp: Use new procs to handle multiple
2108 exec files.
2109
2110 2011-05-05 Yao Qi <yao@codesourcery.com>
2111
2112 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2113 (test_adr_32bit, test_pop_pc): New.
2114 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2115 (test_adr_32bit, test_pop_pc): New.
2116
2117 2011-05-04 Joseph Myers <joseph@codesourcery.com>
2118
2119 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2120 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2121 targets.
2122 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2123 handle targets.
2124
2125 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2126
2127 * gdb.base/completion.exp (complete help info wat): Rename to ...
2128 (complete 'help info wat'): ... here.
2129 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2130 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2131
2132 2011-05-04 Pedro Alves <pedro@codesourcery.com>
2133
2134 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2135 gdb_test and explicit $gdb_prompt/timeout matches.
2136
2137 2011-05-04 Yao Qi <yao@codesourcery.com>
2138
2139 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2140 and __thumb2__.
2141
2142 2011-05-03 Marek Polacek <mpolacek@redhat.com>
2143
2144 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2145 in place of `gdb_test "delete breakpoints"'. This eliminates two
2146 testcases.
2147
2148 2011-05-02 Pedro Alves <pedro@codesourcery.com>
2149
2150 PR testsuite/12649
2151 Fix races.
2152
2153 * gdb.base/completion.exp: Remove all sleep calls. Remove
2154 unnecessary regexs. Don't explicitly expect anything after the
2155 prompt. Eat the prompt if necessary.
2156
2157 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2158
2159 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2160 accept to show the caller line again as well as the line after.
2161
2162 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2163
2164 PR mi/12531
2165
2166 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2167 compile target.
2168 * gdb.python/py-prettyprint.exp: Add C++ object for
2169 CPLUS_FAKE_CHILD test.
2170
2171 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2172
2173 * gdb.base/signest.exp: New file.
2174 * gdb.base/signest.c: Likewise.
2175
2176 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2177
2178 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2179 thread and breakpoint notifications.
2180
2181 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2182
2183 * gdb.base/fortran-sym-case.c: New file.
2184 * gdb.base/fortran-sym-case.exp: New file.
2185 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2186 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2187 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2188
2189 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2190
2191 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2192 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2193 false #1', `if true else false #2' and `if true else false #3'.
2194
2195 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2196
2197 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2198 while delivering signal.
2199
2200 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2201
2202 MI breakpoint notifications.
2203
2204 * testsuite/gdb.mi/mi-cli.exp: Adust.
2205 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2206 * testsuite/gdb.mi/mi-watch.exp: Adust.
2207 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2208 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2209 notifications.
2210
2211 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2212
2213 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2214 * gdb.base/gdbindex-stabs.c: New file.
2215 * gdb.base/gdbindex-stabs.exp: New file.
2216
2217 2011-04-25 Yao Qi <yao@codesourcery.com>
2218
2219 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2220 with /*...*/.
2221 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2222
2223 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 * gdb.python/py-value.exp (test_objfiles): Name the first test
2226 `py-value in file.filename'.
2227
2228 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2229
2230 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2231 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2232 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2233 !gdbserver_reconnect_p..
2234 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2235
2236 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2237
2238 * gdb.cp/cpcompletion.exp (complete class methods)
2239 (complete class methods beginning with F): Move them above runto. New
2240 comment about the runto delimiter.
2241
2242 2011-04-20 Pedro Alves <pedro@codesourcery.com>
2243
2244 * gdb.base/maint.exp: Test that "maint print registers" works
2245 without a running program.
2246
2247 2011-04-20 Marek Polacek <mpolacek@redhat.com>
2248
2249 * gdb.base/setshow.exp: Fix racy tests.
2250 ($old_gdb_prompt): New variable.
2251
2252 2011-04-19 Tom Tromey <tromey@redhat.com>
2253
2254 * gdb.mi/mi-nsmoribund.exp:
2255 * gdb.hp/gdb.objdbg/objdbg01.exp:
2256 * gdb.base/structs.exp (test_struct_returns):
2257 * gdb.base/call-sc.exp (test_scalar_returns):
2258 * gdb.base/bigcore.exp: Remove duplicate words.
2259
2260 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2261
2262 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2263 * gdb.base/break-interp.exp (test_attach): New comment.
2264
2265 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2266
2267 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2268 (clear __stack_user.next, clear stack_used.next)
2269 (save a zeroed-threads corefile): New test.
2270 Call core_load for $core0file.
2271 (zeroed-threads cannot be listed): New test.
2272
2273 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2274
2275 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2276 filename.
2277 ($srcfile): Preserve the original value.
2278 ($testfile): Match it the .exp filename.
2279 ($corefile): New variable. Substitute it around.
2280 Use clean_restart.
2281 ($prev_timeout): Remove.
2282 (load_core): Move core loading into this proc.
2283 Fix restore of $timeout if load_core fails.
2284
2285 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2286
2287 * gdb.base/eu-strip-infcall.c: New file.
2288 * gdb.base/eu-strip-infcall.exp: New file.
2289
2290 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2291
2292 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2293 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2294
2295 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2296
2297 Fix Python access to inlined frames.
2298 * gdb.python/py-frame-inline.c: New file.
2299 * gdb.python/py-frame-inline.exp: New file.
2300
2301 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2302
2303 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2304 content of 's24' correctly (avoiding "optimized out").
2305 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2306
2307 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2308
2309 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2310
2311 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2312
2313 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2314 expect a colon in watch -location output.
2315
2316 2011-04-13 Marek Polacek <mpolacek@redhat.com>
2317
2318 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
2319 New testcase `expect response to define backtrace'. Also remove
2320 redundant `default' block.
2321
2322 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 * gdb.python/py-prettyprint.c (struct hint_error): New.
2325 (main): New variable hint_error.
2326 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2327 "print hint_error".
2328 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2329 (register_pretty_printers): Register it.
2330
2331 2011-04-04 Tom Tromey <tromey@redhat.com>
2332
2333 * gdb.cp/maint.exp (test_help): Update.
2334 (test_namespace): Likewise.
2335
2336 2011-04-01 Joel Brobecker <brobecker@adacore.com>
2337
2338 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2339 * gdb.ada/arrayptr.exp: Add new tests.
2340
2341 2011-04-01 Joel Brobecker <brobecker@adacore.com>
2342
2343 * gdb.ada/mi_catch_ex: New testcase.
2344
2345 2011-04-01 Pedro Alves <pedro@codesourcery.com>
2346
2347 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2348 base::overload(void) method without specifying "const".
2349
2350 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2351
2352 * gdb.arch/thumb-singlestep.S: New file.
2353 * gdb.arch/thumb-singlestep.exp: Likewise.
2354
2355 2011-03-31 Tom Tromey <tromey@redhat.com>
2356
2357 * gdb.python/py-prettyprint.py (exception_flag): New global.
2358 (NoStringContainerPrinter._iterator.next): Check it.
2359 * gdb.python/py-prettyprint.c (main): New variable nstype2.
2360 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2361
2362 2011-03-29 Tom Tromey <tromey@redhat.com>
2363
2364 * gdb.cp/anon-struct.cc: New file.
2365 * gdb.cp/anon-struct.exp: New file.
2366
2367 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2368
2369 Test STT_GNU_IFUNC support.
2370 * gdb.base/gnu-ifunc-lib.c: New file.
2371 * gdb.base/gnu-ifunc.c: New file.
2372 * gdb.base/gnu-ifunc.exp: New file.
2373
2374 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2375
2376 Support a ring of related breakpoints.
2377 * gdb.base/watchpoint-delete.c: New file.
2378 * gdb.base/watchpoint-delete.exp: New file.
2379
2380 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2381
2382 * gdb.ada/arrayparam.exp (print first after function call): Use
2383 explicit package name. Add a comment
2384 (print lasta after function call): Rename ...
2385 (print last after function call): ... it and use explicit package
2386 name.
2387 (print length after function call): Use explicit package name.
2388 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2389 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2390 (multiple matches for symbol i): Rename ...
2391 (multiple matches for symbol integervar): ... it.
2392 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2393 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2394
2395 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
2396
2397 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2398 environment variable to make grep output more predictable. Move
2399 all the environment setup into gdb_init so it's done once per test
2400 case rather than each time we start gdb.
2401
2402 2011-03-24 Tom Tromey <tromey@redhat.com>
2403
2404 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
2405 test.
2406
2407 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2408
2409 * gdb.dwarf2/dw2-entry-value-main.c: New file.
2410 * gdb.dwarf2/dw2-entry-value.S: New file.
2411 * gdb.dwarf2/dw2-entry-value.exp: New file.
2412
2413 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
2414
2415 PR python/12183
2416
2417 * gdb.python/py-function.exp: Add GdbError tests.
2418
2419 2011-03-18 Pedro Alves <pedro@codesourcery.com>
2420
2421 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2422 (reglocal_test_func, statlocal_test_func): New functions.
2423 (globals_test_func): Call new functions.
2424 * gdb.trace/unavailable.exp (gdb_collect_args_test)
2425 (gdb_collect_locals_test): New procedure.
2426 (gdb_trace_collection_test): Call new procedures.
2427
2428 2011-03-18 Pedro Alves <pedro@codesourcery.com>
2429
2430 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2431 (test_register, test_register_unavailable): New procedures.
2432 (gdb_unavailable_registers_test): New procedure.
2433 (gdb_trace_collection_test): Call it.
2434
2435 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
2436
2437 PR python/12149
2438
2439 * gdb.python/python.exp: Add gdb.write tests.
2440
2441 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
2442
2443 * gdb.python/Makefile.in: Add py-objfile.
2444 * gdb.python/py-objfile.exp: New file.
2445 * gdb.python/py-objfile.c: New file.
2446 * gdb.python/py-block.exp: Add is_valid tests.
2447 * gdb.python/py-inferior.exp: Ditto.
2448 * gdb.python/py-infthread.exp: Ditto.
2449 * gdb.python/py-symbol.exp: Ditto.
2450 * gdb.python/py-symtab.exp: Ditto.
2451
2452 2011-03-16 Keith Seitz <keiths@redhat.com>
2453
2454 PR c++/12273
2455 * gdb.cp/cmpd-minsyms.exp: New test.
2456 * gdb.cp/cmpd-minsyms.cc: New file.
2457
2458 PR c++/11734
2459 * gdb.cp/ovsrch.exp: New test.
2460 * gdb.cp/ovsrch.h: New file.
2461 * gdb.cp/ovsrch1.cc: New file.
2462 * gdb.cp/ovsrch2.cc: New file.
2463 * gdb.cp/ovsrch3.cc: New file.
2464 * gdb.cp/ovsrch4.cc: New file.
2465
2466 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2467
2468 PR gdb/12528
2469 * gdb.base/Makefile.in: Adjust EXECUTABLES.
2470 * gdb.base/break-on-linker-gcd-function.exp: New test.
2471 * gdb.base/break-on-linker-gcd-function.cc: New file.
2472
2473 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
2474
2475 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2476
2477 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
2478
2479 * lib/gdb.exp (gdb_unload): Add another termination case.
2480
2481 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2482
2483 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2484 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2485 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2486 Provide a stub byte there.
2487 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2488 DW_AT_entry_pc.
2489 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2490
2491 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
2492
2493 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2494 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
2495 "generic ABI, auto".
2496 (altivec_abi_tests): Accept vectors returned by reference.
2497
2498 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
2499
2500 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2501
2502 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2503
2504 * gdb.python/py-section-script.exp: Skip test if no Python support.
2505
2506 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2507
2508 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2509
2510 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
2511
2512 * gdb.python/py-parameter.exp: Update tests to the new Python
2513 parameter API. Add "no documentation" test. Add deprecated API
2514 backward compatibility test.
2515
2516 2011-03-09 Tom Tromey <tromey@redhat.com>
2517
2518 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2519 gdb_continue_to_end.
2520
2521 2011-03-09 Mark Kettenis <kettenis@gnu.org>
2522
2523 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2524 tabs.
2525
2526 2011-03-09 Tom Tromey <tromey@redhat.com>
2527
2528 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
2529 parentheses.
2530 (gdb_continue_to_end): Add "allow_extra" parameter. Use
2531 $command.
2532 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2533 argument to gdb_continue_to_end.
2534 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2535 argument to gdb_continue_to_end.
2536 * gdb.cp/annota3.exp: Fix regex.
2537 * gdb.cp/annota2.exp: Fix regex.
2538 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2539 gdb_continue_to_end.
2540 * gdb.base/call-signal-resume.exp: Revert earlier patch.
2541 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2542 gdb_continue_to_end.
2543
2544 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2545
2546 * gdb.server/ext-run.exp
2547 (load new file without any gdbserver inferior): New test.
2548
2549 2011-03-07 Tom Tromey <tromey@redhat.com>
2550
2551 * Makefile.in (TAGS): Rewrite.
2552
2553 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2554
2555 * gdb.trace/report.exp (12.1: trace report #1): New match for the
2556 initial commands echo. New match for `Found trace'. Anchor all the
2557 other matches. Anchor and match for `No trace frame found' the final
2558 match.
2559
2560 2011-03-07 Tom Tromey <tromey@redhat.com>
2561
2562 * Makefile.in (TAGS): New target.
2563
2564 2011-03-07 Tom Tromey <tromey@redhat.com>
2565
2566 * lib/opencl.exp (skip_opencl_tests): Update for exit message
2567 change.
2568 * lib/mi-support.exp (mi_gdb_test): Update for exit message
2569 change.
2570 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
2571 exit message change.
2572 (skip_altivec_tests): Update for exit message change.
2573 (skip_vsx_tests): Likewise.
2574 (gdb_continue_to_end): Likewise. Add 'command' argument.
2575 * lib/cell.exp (skip_cell_tests): Update for exit message change.
2576 * gdb.threads/tls.exp: Update for exit message change.
2577 * gdb.threads/thread-unwindonsignal.exp: Use
2578 gdb_continue_to_end.
2579 * gdb.threads/step.exp (step_it): Update for exit message change.
2580 (continue_all): Likewise.
2581 * gdb.threads/print-threads.exp (test_all_threads): Update for
2582 exit message change.
2583 * gdb.threads/interrupted-hand-call.exp: Use
2584 gdb_continue_to_end.
2585 * gdb.threads/execl.exp: Use gdb_continue_to_end.
2586 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2587 gdb_continue_to_end.
2588 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2589 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2590 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2591 * gdb.cp/method.exp: Update for exit message change.
2592 * gdb.cp/mb-templates.exp: Update for exit message change.
2593 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2594 * gdb.cp/annota3.exp: Update for exit message change.
2595 * gdb.cp/annota2.exp: Update for exit message change.
2596 * gdb.cell/fork.exp: Use gdb_continue_to_end.
2597 * gdb.base/term.exp: Update for exit message change.
2598 * gdb.base/step-test.exp (test_i): Update for exit message change.
2599 * gdb.base/sigstep.exp (advance): Update for exit message change.
2600 (advancei): Likewise.
2601 * gdb.base/siginfo.exp: Update for exit message change.
2602 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2603 * gdb.base/reread.exp: Use gdb_continue_to_end.
2604 * gdb.base/langs.exp: Use gdb_continue_to_end.
2605 * gdb.base/interrupt.exp: Update for exit message change.
2606 * gdb.base/gdb1555.exp: Update for exit message change.
2607 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2608 * gdb.base/ending-run.exp: Update for exit message change.
2609 * gdb.base/chng-syms.exp: Update for exit message change.
2610 * gdb.base/checkpoint.exp: Update for exit message change.
2611 * gdb.base/catch-syscall.exp (check_for_program_end): Use
2612 gdb_continue_to_end.
2613 (test_catch_syscall_with_wrong_args): Likewise.
2614 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2615 * gdb.base/break-interp.exp (test_ld): Update for exit message
2616 change.
2617 * gdb.base/bang.exp: Update for exit message change.
2618 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2619 (do_call_attach_tests): Likewise.
2620 * gdb.base/a2-run.exp: Update for exit message change.
2621 * gdb.arch/ppc-dfp.exp: Update for exit message change.
2622 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2623 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2624
2625 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2626
2627 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2628
2629 2011-03-03 Tom Tromey <tromey@redhat.com>
2630
2631 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2632 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2633 * gdb.hp/gdb.aCC/configure.ac: Remove.
2634 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2635 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2636 * gdb.hp/gdb.base-hp/configure.ac: Remove.
2637 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2638 * gdb.hp/gdb.compat/configure (Makefile): Remove.
2639 * gdb.hp/gdb.compat/configure.ac: Remove.
2640 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2641 * gdb.hp/gdb.defects/configure (Makefile): Remove.
2642 * gdb.hp/gdb.defects/configure.ac: Remove.
2643 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2644 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2645 * gdb.hp/gdb.objdbg/configure.ac: Remove.
2646 * gdb.hp/configure.ac: Remove.
2647 * gdb.hp/configure: Remove.
2648 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2649 substitution.
2650 (Makefile): Remove rule.
2651 * gdb.cell/configure.ac: Remove.
2652 * gdb.cell/configure: Remove.
2653 * gdb.stabs/Makefile.in (Makefile): Remove.
2654 (distclean): Don't remove config.status or config.log.
2655 * gdb.stabs/configure (Makefile): Remove.
2656 * gdb.stabs/configure.ac: Remove.
2657 * configure: Rebuild.
2658 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2659 Remove stabs- and cell-specific logic. Test for existence of
2660 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
2661 subdirectories, gdb.cell, and and gdb.stabs.
2662 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2663
2664 2011-03-03 Joel Brobecker <brobecker@adacore.com>
2665
2666 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2667 end of buffer.
2668
2669 2011-03-02 Joel Brobecker <brobecker@adacore.com>
2670
2671 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2672 gdb_test when running a test where we expected no output back.
2673
2674 2011-02-28 Michael Snyder <msnyder@vmware.com>
2675
2676 * gdb.cp/overload.cc: Change initializer value to integer.
2677
2678 2011-02-27 Michael Snyder <msnyder@vmware.com>
2679
2680 * gdb.multi/base.exp: Add test for remove-inferiors.
2681
2682 2011-02-26 Joel Brobecker <brobecker@adacore.com>
2683
2684 * gdb.python/py-frame.exp: Simplify the initialization phase
2685 using prepare_for_testing.
2686
2687 2011-02-25 Michael Snyder <msnyder@vmware.com>
2688
2689 * gdb.multi/base.exp: Add tests for info inferiors with args.
2690
2691 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2692
2693 * gdb.dwarf2/dw2-ranges.S: Rename to ...
2694 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2695 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2696 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2697 asmfile3. Comment the STABS (#3) file compilation. Compile
2698 everything through assembler. Provide KFAIL for symtab/12497.
2699 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2700 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2701 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2702 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2703
2704 2011-02-24 Michael Snyder <msnyder@vmware.com>
2705
2706 * gdb.base/break.exp: Add tests for delete breakpoints using
2707 convenience variables and value history references.
2708
2709 2011-02-24 Michael Snyder <msnyder@vmware.com>
2710
2711 * gdb.base/break.exp: Remove debugging 'printf' accidentally
2712 left behind in previous check-in.
2713
2714 2011-02-23 Michael Snyder <msnyder@vmware.com>
2715
2716 * gdb.base/break.exp: Add tests for "info break" with arguments.
2717 * gdb.trace/infotrace.exp: Update patterns for error and help.
2718 * gdb.base/completion.exp: Update pattern.
2719 * gdb.base/ena-dis-br.exp: Update pattern.
2720 * gdb.base/help.exp: Update patterns.
2721
2722 2011-02-23 Michael Snyder <msnyder@vmware.com>
2723
2724 * gdb.base/memattr.exp: New test.
2725 * gdb.base/memattr.c: Test load for memattr.exp.
2726
2727 2011-02-22 Doug Evans <dje@google.com>
2728
2729 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2730
2731 2011-02-22 Michael Snyder <msnyder@vmware.com>
2732
2733 * Makefile.in: Make more clean.
2734 * gdb.ada/Makefile.in: Ditto.
2735 * gdb.arch/Makefile.in: Ditto.
2736 * gdb.asm/Makefile.in: Ditto.
2737 * gdb.base/Makefile.in: Ditto.
2738 * gdb.cp/Makefile.in: Ditto.
2739 * gdb.dwarf2/Makefile.in: Ditto.
2740 * gdb.java/Makefile.in: Ditto.
2741 * gdb.mi/Makefile.in: Ditto.
2742 * gdb.modula2/Makefile.in: Ditto.
2743 * gdb.python/Makefile.in: Ditto.
2744 * gdb.server/Makefile.in: Ditto.
2745 * gdb.stabs/Makefile.in: Ditto.
2746 * gdb.threads/Makefile.in: Ditto.
2747 * gdb.trace/Makefile.in: Ditto.
2748
2749 2011-02-22 Michael Snyder <msnyder@vmware.com>
2750
2751 * gdb.threads/thread-find.exp: Add tests for bad input to
2752 info threads.
2753
2754 2011-02-22 Joel Brobecker <brobecker@adacore.com>
2755
2756 * gdb.python/py-breakpoint.exp: Fix the expected output of
2757 one of the "maint info breakpoints" tests to accept the output
2758 generated on platforms that do not have hardware watchpoints.
2759
2760 2011-02-22 Joel Brobecker <brobecker@adacore.com>
2761
2762 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2763 clean_restart. Be a little stricter in the expected output
2764 for one of the tests. Fix a typo in one of the comments.
2765
2766 2011-02-22 Joel Brobecker <brobecker@adacore.com>
2767
2768 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2769 Delete variable binfile, no longer use. Add or modify test
2770 comments to make them unique.
2771
2772 2011-02-21 Michael Snyder <msnyder@vmware.com>
2773
2774 * Makefile.in: Update for make clean.
2775 * gdb.ada/Makefile.in: Ditto.
2776 * gdb.arch/Makefile.in: Ditto.
2777 * gdb.asm/Makefile.in: Ditto.
2778 * gdb.base/Makefile.in: Ditto.
2779 * gdb.cp/Makefile.in: Ditto.
2780 * gdb.dwarf2/Makefile.in: Ditto.
2781 * gdb.java/Makefile.in: Ditto.
2782 * gdb.mi/Makefile.in: Ditto.
2783 * gdb.modula2/Makefile.in: Ditto.
2784 * gdb.python/Makefile.in: Ditto.
2785 * gdb.server/Makefile.in: Ditto.
2786 * gdb.stabs/Makefile.in: Ditto.
2787 * gdb.threads/Makefile.in: Ditto.
2788 * gdb.trace/Makefile.in: Ditto.
2789
2790 2011-02-21 Michael Snyder <msnyder@vmware.com>
2791
2792 * gdb.threads/thread-find.exp: Update patterns for changes in
2793 output of "info threads" command.
2794
2795 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2796 Ulrich Weigand <uweigand@de.ibm.com>
2797
2798 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2799 (skip_hw_watchpoint_tests): Likewise.
2800 (skip_hw_watchpoint_multi_tests): Likewise.
2801
2802 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2803
2804 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2805 (skip_hw_watchpoint_tests): Likewise.
2806 (skip_hw_watchpoint_multi_tests): Likewise.
2807 (skip_hw_watchpoint_access_tests): Likewise.
2808
2809 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2810 * gdb.base/pr11022.exp: Likewise.
2811 * gdb.base/watch-read.exp: Likewise.
2812 * gdb.base/watch_thread_num.exp: Likewise.
2813 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2814 * gdb.base/watchpoint-hw.exp: Likewise.
2815 * gdb.base/watchpoint.exp: Likewise.
2816 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2817 * gdb.threads/watchthreads-reorder.exp: Likewise.
2818 * gdb.threads/watchthreads.exp: Likewise.
2819 * gdb.threads/watchthreads2.exp: Likewise.
2820
2821 2011-02-21 Joel Brobecker <brobecker@adacore.com>
2822
2823 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2824 the debugger is unable to find the array bounds.
2825
2826 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2827
2828 * gdb.cp/typedef-operator.exp: New file.
2829 * gdb.cp/typedef-operator.cc: New file.
2830
2831 2011-02-17 Michael Snyder <msnyder@vmware.com>
2832
2833 * gdb.threads/thread-find.exp: Fix regular expressions.
2834
2835 2011-02-17 Joel Brobecker <brobecker@adacore.com>
2836
2837 * gdb.ada/packed_array: Expand testcase to test printing of
2838 unconstrained packed array.
2839
2840 2011-02-17 Joel Brobecker <brobecker@adacore.com>
2841
2842 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2843
2844 2011-02-16 Pedro Alves <pedro@codesourcery.com>
2845
2846 * gdb.trace/collection.c (globalarr3): New global.
2847 (main): Initialize it before collecting, and and clear it
2848 afterwards.
2849 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2850 collecting with '{type} addr', where the addr expression is not an
2851 rvalue.
2852
2853 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
2854
2855 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2856 a bool variable. Expect correct OpenCL names for vector types. Use the
2857 uc3 variable name instead of referring to the uchar3 built-in type.
2858 Escape the asterisk at the half pointer test.
2859
2860 2011-02-16 Pedro Alves <pedro@codesourcery.com>
2861
2862 * gdb.trace/collection.c (globalarr2): New global.
2863 (main): Initialize it before collecting, and and clear it
2864 afterwards.
2865 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2866 collecting overlapping memory ranges.
2867
2868 2011-02-15 Michael Snyder <msnyder@vmware.com>
2869
2870 * gdb.base/default.exp: Add tests for thread commands.
2871 * gdb.base/help.exp: Add tests for thread commands.
2872 * gdb.threads/thread-find.exp: New test for thread find command.
2873
2874 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
2875
2876 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2877
2878 2011-02-15 Yao Qi <yao@codesourcery.com>
2879
2880 PR tdep/12352
2881 * gdb.arch/arm-disp-step.S : New test for str instruction.
2882 * gdb.arch/arm-disp-step.exp : Likewise.
2883
2884 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
2885
2886 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
2887 "vector_register2_vr" test strings. Test the extended floating
2888 point registers (F32~F63).
2889 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
2890 IBM XL C compiler. Make the test program use a register provided
2891 by the compiler for the lxvd2x instruction.
2892
2893 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2894
2895 * gdb.trace/unavailable.cc (class Base, class Middle, class
2896 Derived): New types.
2897 (derived_unavail, derived_partial, derived_whole): New globals.
2898 (virtual_partial): New global.
2899 (virtualp): Point at virtual_partial.
2900 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
2901 related to unavailable vptr.
2902
2903 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2904
2905 * gdb.trace/unavailable.cc (a, b, c): New globals.
2906 (main): Set and clear them.
2907 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
2908 `a' and `c', and check that `b' isn't collected, although `a' and
2909 `c' are.
2910
2911 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2912
2913 * gdb.trace/unavailable.cc (struct Virtual): New.
2914 (virtualp): New global pointer.
2915 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
2916 printing a pointer to an object whose type has a vtable, with
2917 print object on.
2918
2919 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2920
2921 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
2922 value repeat handles unavailableness.
2923
2924 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2925
2926 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
2927 tests for building arrays from unavailable values, subscripting
2928 non-memory rvalue unvailable arrays, and accessing fields or
2929 baseclasses of non-lazy unavailable values,
2930 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
2931 struct types.
2932 (g_smallstruct, g_smallstruct_b): New globals.
2933
2934 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2935
2936 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
2937
2938 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2939
2940 Fix const/volatile qualifiers of C++ types, PR c++/12328.
2941 * gdb.cp/overload-const.exp: New file.
2942 * gdb.cp/overload-const.cc: New file.
2943
2944 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2945
2946 * gdb.opencl/callfuncs.cl: New file.
2947 * gdb.opencl/callfuncs.exp: New test.
2948 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2949
2950 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2951
2952 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
2953 when computing result.
2954 * gdb.arch/altivec-abi.exp: Update expected results.
2955
2956 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
2957
2958 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
2959 * gdb.base/jit.exp: Likewise.
2960 * gdb.base/pie-execl.exp: Likewise.
2961 * gdb.base/solib-nodir.exp: Likewise.
2962 * gdb.base/solib-overlap.exp: Likewise.
2963
2964 2011-02-07 Pedro Alves <pedro@codesourcery.com>
2965
2966 * gdb.trace/collection.c (global_pieces): New.
2967 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
2968 New procedure.
2969 (gdb_trace_collection_test): Call it.
2970
2971 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
2972
2973 * gdb.python/py-evthreads.c: New file.
2974 * gdb.python/py-evthreads.exp: New file.
2975 * gdb.python/py-events.py: New file.
2976 * gdb.python/py-events.exp: New file.
2977 * gdb.python/py-events.c: New file.
2978
2979 2011-02-04 David Daney <ddaney@caviumnetworks.com>
2980
2981 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2982
2983 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
2984
2985 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
2986 gdb.base/disasm-end-cu.exp: New test for disassembling over the
2987 boundary between two compilation units.
2988
2989 2011-02-02 Pedro Alves <pedro@codesourcery.com>
2990
2991 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
2992 (Virtual): New structs.
2993 (virtual_o, virtual_middle_b): New globals.
2994 * gdb.cp/virtbase.exp: New tests.
2995
2996 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2997
2998 * gdb.base/jit.exp: New file.
2999 * gdb.base/jit-main.c: New file.
3000 * gdb.base/jit-solib.c: New file.
3001
3002 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3003
3004 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3005 proceed to initial kernel entry point.
3006 * gdb.opencl/datatypes.exp: Likewise.
3007 * gdb.opencl/operators.exp: Likewise.
3008 * gdb.opencl/vec_comps.exp: Likewise.
3009
3010 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3011
3012 * gdb.cp/nsnested.cc: New.
3013 * gdb.cp/nsnested.exp: New.
3014 * gdb.cp/nsnoimports.exp: New.
3015 * gdb.cp/nsnoimports.cc: New.
3016
3017 2011-01-31 Joel Brobecker <brobecker@adacore.com>
3018
3019 * gdb.base/interact.exp: Add extra tests that verify that
3020 the value of the interactive-mode setting does not change
3021 after the script is sourced.
3022
3023 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3024
3025 * gdb.cp/noparam.exp: New file.
3026 * gdb.cp/noparam.cc: New file.
3027
3028 2011-01-28 Pedro Alves <pedro@codesourcery.com>
3029
3030 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3031 there's no stack or registers.
3032
3033 2011-01-26 Tom Tromey <tromey@redhat.com>
3034
3035 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3036 space before string output. Add test for "set print pretty off"
3037 case.
3038
3039 2011-01-25 Pedro Alves <pedro@codesourcery.com>
3040
3041 * gdb.base/frame-args.exp: Adjust.
3042 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3043 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3044 * gdb.dwarf2/pieces.exp: Adjust.
3045 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3046 * gdb.opt/inline-locals.exp: Adjust.
3047 * gdb.threads/fork-child-threads.exp: Adjust.
3048
3049 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
3050
3051 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3052 OpenCL kernel function. Add a comment as marker. Add address space
3053 qualifiers for the remaining program scope variables.
3054 * gdb.opencl/datatypes.cl: Likewise.
3055 * gdb.opencl/operators.cl: Likewise.
3056 * gdb.opencl/vec_comps.cl: Likewise.
3057 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3058 Add breakpoint at the marker comment.
3059 * gdb.opencl/datatypes.exp: Likewise.
3060 * gdb.opencl/operators.exp: Likewise.
3061 * gdb.opencl/vec_comps.exp: Likewise.
3062
3063 2011-01-24 Pedro Alves <pedro@codesourcery.com>
3064
3065 * gdb.base/printcmds.c (some_struct): New struct and instance.
3066 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3067 procedure.
3068 <global scope>: Call it.
3069
3070 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
3071
3072 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3073 argument to the gdb_compile_opencl_hostapp call.
3074
3075 2011-01-19 Yao Qi <yao@codesourcery.com>
3076
3077 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3078 positve list.
3079
3080 2011-01-19 Yao Qi <yao@codesourcery.com>
3081
3082 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3083 canonical form.
3084 Remove "xscale-*-*"
3085 * gdb.xml/tdesc-regs.exp: Likewise.
3086 * gdb.python/py-section-script.exp: Replace ARM target triplet
3087 with canonical form.
3088 Match arm*-*-symbianelf*.
3089 * gdb.base/dup-sect.exp: Likewise.
3090 * lib/dwarf.exp: New.
3091 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3092 dwarf2_support.
3093 * gdb.dwarf2/dup-psym.exp: Likewise.
3094 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3095 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3096 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3097 * gdb.dwarf2/dw2-basic.exp: Likewise.
3098 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3099 * gdb.dwarf2/dw2-const.exp: Likewise.
3100 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3101 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3102 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3103 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3104 * gdb.dwarf2/dw2-filename.exp: Likewise.
3105 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3106 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3107 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3108 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3109 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3110 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3111 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3112 * gdb.dwarf2/dw2-producer.exp: Likewise.
3113 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3114 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3115 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3116 * gdb.dwarf2/dw2-strp.exp: Likewise.
3117 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3118 * gdb.dwarf2/implptr.exp: Likewise.
3119 * gdb.dwarf2/mac-fileno.exp: Likewise.
3120 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3121 * gdb.dwarf2/pieces.exp: Likewise.
3122 * gdb.dwarf2/pr11465.exp: Likewise.
3123 * gdb.dwarf2/valop.exp: Likewise.
3124 * gdb.dwarf2/watch-notconst.exp: Likewise.
3125 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3126
3127 2011-01-19 Tom Tromey <tromey@redhat.com>
3128
3129 * gdb.python/py-infthread.exp: Add thread tests.
3130
3131 2011-01-14 Joel Brobecker <brobecker@adacore.com>
3132
3133 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3134
3135 2011-01-14 Joel Brobecker <brobecker@adacore.com>
3136
3137 * gdb.ada/widewide: New testcase.
3138
3139 2011-01-13 Joel Brobecker <brobecker@adacore.com>
3140
3141 * gdb.base/interact.exp: New testcase.
3142
3143 2011-01-12 Tom Tromey <tromey@redhat.com>
3144
3145 * gdb.mi/gdb2549.exp: Update for error message changes.
3146 * gdb.mi/mi-cli.exp: Likewise.
3147 * gdb.mi/mi-disassemble.exp: Likewise.
3148 * gdb.mi/mi-pthreads.exp: Likewise.
3149 * gdb.mi/mi-regs.exp: Likewise.
3150 * gdb.mi/mi-stack.exp: Likewise.
3151 * gdb.mi/mi-var-block.exp: Likewise.
3152 * gdb.mi/mi-var-cmd.exp: Likewise.
3153 * gdb.mi/mi2-cli.exp: Likewise.
3154 * gdb.mi/mi2-disassemble.exp: Likewise.
3155 * gdb.mi/mi2-pthreads.exp: Likewise.
3156 * gdb.mi/mi2-regs.exp: Likewise.
3157 * gdb.mi/mi2-stack.exp: Likewise.
3158 * gdb.mi/mi2-var-block.exp: Likewise.
3159 * gdb.mi/mi2-var-cmd.exp: Likewise.
3160
3161 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
3162 Jan Kratochvil <jan.kratochvil@redhat.com>
3163
3164 PR fortran/11104 and DWARF unbound arrays detection.
3165 * gdb.fortran/multi-dim.exp: New file.
3166 * gdb.fortran/multi-dim.f90: New file.
3167
3168 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
3169
3170 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3171 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3172 add new tests for opcode dumping.
3173
3174 2011-01-11 Tom Tromey <tromey@redhat.com>
3175
3176 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3177
3178 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3179
3180 Convert hardware watchpoints to use breakpoint_ops.
3181 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3182 type is not supported.
3183 * gdb.base/foll-fork.exp: Likewise.
3184 * gdb.base/foll-vfork.exp: Likewise.
3185
3186 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3187
3188 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3189 Use load_lib gdb-python.exp.
3190 * gdb.python/python.exp: Ditto.
3191 * gdb.python/py-function.exp: Ditto.
3192
3193 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3194
3195 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3196
3197 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3198
3199 * configure: Regenerate.
3200
3201 2011-01-06 Tom Tromey <tromey@redhat.com>
3202
3203 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3204
3205 2011-01-06 Joel Brobecker <brobecker@adacore.com>
3206
3207 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3208 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3209 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3210 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3211 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3212 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3213 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3214 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3215 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3216 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3217 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3218 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3219 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3220 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3221 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3222 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3223 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3224 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3225 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3226 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3227 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3228 gdb.ada/uninitialized_vars.exp,
3229 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3230 Simplify by using clean_restart.
3231
3232 2011-01-06 Joel Brobecker <brobecker@adacore.com>
3233
3234 Add marker to be used as anchor for inserting breakpoints.
3235 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3236 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3237 Likewise.
3238
3239 Remove uses of gdb_start_cmd.
3240 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3241 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3242
3243 Do not run testcase if testing with GDBserver.
3244 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3245 if testing with GDBserver.
3246
3247 2011-01-06 Joel Brobecker <brobecker@adacore.com>
3248
3249 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3250 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3251 copyright header.
3252
3253 2011-01-05 Joel Brobecker <brobecker@adacore.com>
3254
3255 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3256 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3257 testsuite/gdb.fortran/complex.f,
3258 testsuite/gdb.fortran/derived-type.f90,
3259 testsuite/gdb.fortran/library-module-lib.f90,
3260 testsuite/gdb.fortran/library-module-main.f90,
3261 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3262 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3263 Copyright year update.
3264
3265 2011-01-05 Joel Brobecker <brobecker@adacore.com>
3266
3267 * gdb.base/langs1.f: Add copyright header.
3268
3269 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3270
3271 * gdb.base/morestack.exp: New file.
3272 * gdb.base/morestack.c: New file.
3273
3274 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3275
3276 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3277
3278 2010-12-29 Joel Brobecker <brobecker@adacore.com>
3279
3280 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3281 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3282
3283 2010-12-29 Joel Brobecker <brobecker@adacore.com>
3284
3285 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3286
3287 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3288
3289 * gdb.threads/tls.exp: Fix typo.
3290
3291 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3292 * gdb.threads/execl.exp: Update.
3293
3294 2010-12-23 Yao Qi <yao@codesourcery.com>
3295
3296 * gdb.arch/arm-disp-step.exp: New.
3297 * gdb.arch/arm-disp-step.S: New.
3298
3299 2010-12-21 Tom Tromey <tromey@redhat.com>
3300
3301 * gdb.threads/execl.exp: Update.
3302 * gdb.threads/linux-dp.exp: Update.
3303 * gdb.threads/manythreads.exp: Update.
3304 * gdb.threads/tls.exp: Update.
3305
3306 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3307
3308 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3309 (NextOverThrowDerivates) <resumebpt>: New.
3310 (resumebpt_test): New.
3311 (main): Call resumebpt_test.
3312 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3313
3314 2010-12-12 Stan Shebs <stan@codesourcery.com>
3315
3316 * gdb.trace/tsv.exp: Test print command on trace state variables.
3317
3318 2010-12-09 Tom Tromey <tromey@redhat.com>
3319
3320 * gdb.base/interp.exp: Add regression test.
3321
3322 2010-12-09 Tom Tromey <tromey@redhat.com>
3323
3324 * gdb.java/jnpe.java: New file.
3325 * gdb.java/jnpe.exp: New file.
3326 * gdb.cp/nextoverthrow.exp: New file.
3327 * gdb.cp/nextoverthrow.cc: New file.
3328
3329 2010-12-07 Doug Evans <dje@google.com>
3330
3331 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3332 of data-directory.
3333 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3334 updated.
3335 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3336
3337 2010-11-29 Michael Snyder <msnyder@vmware.com>
3338
3339 * gdb.base/callfuncs.exp: Test for skip_float_tests.
3340 * gdb.base/call-sc.exp: Ditto.
3341 * gdb.base/finish.exp: Ditto.
3342 * gdb.base/return.exp: Ditto.
3343 * gdb.base/return2.exp: Ditto.
3344
3345 2010-11-30 Doug Evans <dje@google.com>
3346
3347 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3348 (gdb_expect_list): Fix spelling errors in comments.
3349 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3350 send_gdb/gdb_expect_list where applicable.
3351 * gdb.base/call-ar-st.exp: Ditto.
3352 * gdb.base/funcargs.exp: Ditto.
3353 * gdb.base/gcore.exp: Ditto.
3354 * gdb.base/page.exp: Ditto.
3355 * gdb.base/sigaltstack.exp: Ditto.
3356 * gdb.base/siginfo.exp: Ditto.
3357 * gdb.base/sigstep.exp: Ditto.
3358 * gdb.base/trace-commands.exp: Ditto.
3359
3360 2010-11-29 Doug Evans <dje@google.com>
3361
3362 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3363 printer-name;subprinter-name.
3364
3365 2010-11-29 Tom Tromey <tromey@redhat.com>
3366
3367 * gdb.dwarf2/implptr.exp: New file.
3368 * gdb.dwarf2/implptr.c: New file.
3369 * gdb.dwarf2/implptr.S: New file.
3370
3371 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
3372
3373 PR python/12199
3374
3375 * gdb.python/py-breakpoint.exp: Test the delete method.
3376
3377 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3378
3379 Fix step_resume_breakpoint unsaved during an infcall.
3380 * gdb.base/step-resume-infcall.exp: New file.
3381 * gdb.base/step-resume-infcall.c: New file.
3382
3383 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
3384
3385 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3386
3387 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
3388
3389 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3390 on ppc64's symbols; "finish" and "return" commands must accept to
3391 show the caller line again as well as the line after.
3392 * gdb.asm/powerpc64.inc: New file.
3393
3394 2010-11-23 Doug Evans <dje@google.com>
3395
3396 * lib/gdb.exp (gdb_test_sequence): New function.
3397 (gdb_expect_list): Add verbose -log call for each pattern.
3398 * gdb.base/signals.exp (test_handle_all_print): Call it.
3399 Reduce timeout increment from 6 minutes to 1 minute.
3400 * gdb.server/ext-run.exp: Call it.
3401
3402 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
3403
3404 PR python/12212
3405
3406 * gdb.python/python.exp: Check that selected_thread raises an
3407 error when no inferior is loaded.
3408
3409 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3410
3411 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3412 * gdb.dwarf2/dw2-stack-boundary.S: New file.
3413
3414 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3415
3416 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3417 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3418
3419 2010-11-18 Doug Evans <dje@google.com>
3420
3421 * gdb.server/ext-run.exp: Fix intermittent failures.
3422
3423 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3424
3425 * gdb.stabs/gdb11479.exp: Use runto_main.
3426
3427 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3428
3429 * gdb.base/break-entry.exp: Skip if using a stub.
3430
3431 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3432
3433 * gdb.python/py-inferior.exp: Pack values in target endianness.
3434
3435 2010-11-12 Tom Tromey <tromey@redhat.com>
3436
3437 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3438 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3439 MemoryError.
3440 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3441 type.
3442 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3443 MemoryError.
3444 (test_subscript_regression): Update exception type.
3445
3446 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
3447
3448 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3449 breakpoint tests.
3450
3451 2010-11-09 Pedro Alves <pedro@codesourcery.com>
3452
3453 * gdb.base/watchpoint.exp: Test "watch -location" with an
3454 innacessible location.
3455
3456 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
3457 Luis Machado <luisgpm@br.ibm.com>
3458
3459 * gdb.base/maint.exp: Expect "." prefix.
3460 * gdb.base/nodebug.exp: Expect "." Likewise.
3461 * gdb.base/sepsymtab.exp: Expect "." Likewise.
3462 * gdb.base/watchpoint-cond-gone.exp: Likewise.
3463 * gdb.base/watchpoint.exp: Expect a software watch to be created for
3464 POWER server processors.
3465
3466 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
3467 Luis Machado <luisgpm@br.ibm.com>
3468
3469 * gdb.base/break-entry.exp: convert entry point for
3470 ppc64 and expect leading `.' on ppc64's symbols
3471
3472 2010-11-05 Doug Evans <dje@google.com>
3473
3474 * gdb.base/help.exp: Update expected output.
3475 * gdb.python/py-param.exp: Delete, contents moved to ...
3476 * gdb.python/py-parameter.exp: ... here. New file.
3477 Add test for gdb.parameter ("directories").
3478
3479 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
3480
3481 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3482 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3483 * configure: Regenerate.
3484 * gdb.opencl/Makefile.in: New File.
3485 * gdb.opencl/datatypes.exp: Likewise.
3486 * gdb.opencl/datatypes.cl: Likewise.
3487 * gdb.opencl/operators.exp: Likewise.
3488 * gdb.opencl/operators.cl: Likewise.
3489 * gdb.opencl/vec_comps.exp: Likewise.
3490 * gdb.opencl/vec_comps.cl: Likewise.
3491 * gdb.opencl/convs_casts.exp: Likewise.
3492 * gdb.opencl/convs_casts.cl: Likewise.
3493 * lib/opencl.exp: Likewise.
3494 * lib/opencl_hostapp.c: Likewise.
3495 * lib/opencl_kernel.cl: Likewise.
3496 * lib/cl_util.c: Likewise.
3497 * lib/cl_util.c: Likewise.
3498 * gdb.base/default.exp (set language): Add "opencl" to the list of
3499 languages.
3500
3501 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
3502
3503 * gdb.cp/overload.exp: Added test for inheritance overload.
3504 * gdb.cp/overload.cc: Ditto.
3505 * gdb.cp/oranking.exp: Removed releveant kfails.
3506
3507 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3508 Joel Brobecker <brobecker@adacore.com>
3509
3510 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3511 check test_compiler_info.
3512
3513 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
3514
3515 * gdb.base/gnu_vector.exp: Adjust expect messages.
3516
3517 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
3518
3519 * gdb.base/gnu_vector.exp: Add unary operator tests.
3520
3521 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
3522
3523 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3524
3525 2010-11-02 Doug Evans <dje@google.com>
3526
3527 * gdb.python/py-pp-maint.c: New file.
3528 * gdb.python/py-pp-maint.exp: New file.
3529 * gdb.python/py-pp-maint.py: New file.
3530
3531 2010-11-02 Tom Tromey <tromey@redhat.com>
3532
3533 * gdb.base/default.exp: Remove "scheme" from language list.
3534
3535 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3536
3537 Revert:
3538 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3539 * gdb.threads/sigstep-threads.exp: New file.
3540 * gdb.threads/sigstep-threads.c: New file.
3541
3542 2010-10-20 Michael Snyder <msnyder@vmware.com>
3543
3544 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3545
3546 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3547
3548 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3549 Skip test completely if gdb,no_hardware_watchpoints.
3550
3551 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3552
3553 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3554 strict, but do not check for any particular function name within libc.
3555
3556 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3557
3558 * gdb.cp/smartp.exp: New test.
3559 * gdb.cp/smartp.cc : New test.
3560
3561 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3562
3563 * gdb.cp/converts.exp: Test pointer to bool conversion.
3564 Test pointer to long conversion.
3565 * gdb.cp/oranking.exp: Removed relevant kfail.
3566
3567 2010-10-18 Tom Tromey <tromey@redhat.com>
3568
3569 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3570 argument to lazy_string.
3571 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3572 (pp_ls.to_string): Use it.
3573 * gdb.python/py-prettyprint.c (main): Move declarations to top.
3574 Add "estring2" local.
3575
3576 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3577
3578 Fix s390x compatibility.
3579 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
3580 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3581
3582 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3583
3584 * gdb.threads/sigstep-threads.exp: New file.
3585 * gdb.threads/sigstep-threads.c: New file.
3586
3587 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3588
3589 * gdb.base/pie-execl.exp: New file.
3590 * gdb.base/pie-execl.c: New file.
3591
3592 2010-10-13 Doug Evans <dje@google.com>
3593 Jan Kratochvil <jan.kratochvil@redhat.com>
3594
3595 PR exp/12117
3596 * gdb.cp/ptype-cv-cp.cc: New file.
3597 * gdb.cp/ptype-cv-cp.exp: New file.
3598
3599 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
3600
3601 * gdb.cp/converts.cc: New test program.
3602 * gdb.cp/converts.exp: New test.
3603 * gdb.cp/overload.exp: Added test for void* vs int*.
3604 * gdb.cp/overload.exp: Ditto.
3605 * gdb.cp/oranking.exp: Removed related kfail.
3606
3607 2010-10-13 Doug Evans <dje@google.com>
3608
3609 * lib/gdb-python.exp (gdb_check_python_config): New function.
3610 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3611 * gdb.python/lib-types.cc: New file.
3612 * gdb.python/lib-types.exp: New file.
3613
3614 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3615
3616 * gdb.python/py-error.exp: New file.
3617 * gdb.python/py-error.py: New file.
3618
3619 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3620
3621 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3622 gdb_test_multiple.
3623
3624 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3625
3626 * gdb.base/break-interp.exp: Use ldlags for linking flags.
3627 * gdb.base/prelink.exp: Likewise.
3628 * gdb.base/solib-nodir.exp: Likewise.
3629 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3630 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3631 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3632
3633 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
3634
3635 * break-interp.exp (test_ld): Use two separate gdb_expect statements
3636 for the "info files" test to avoid timeouts on slow machines.
3637
3638 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3639
3640 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3641 (main): Make openlib dummy call.
3642
3643 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3644
3645 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3646 * break-interp.exp (reach): Move the core body ...
3647 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
3648 (test_ld): Provide always real argument, even to the linker. Replace
3649 dl_main by _dl_debug_state.
3650
3651 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3652
3653 Fix results of prelinked PIEs on ppc*.
3654 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3655 Accept also DISPLACEMENT "PRESENT".
3656 (main): Replace "ZERO" displacements by "PRESENT".
3657
3658 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
3659
3660 * gdb.cp/oranking.exp: New test.
3661 * gdb.cp/oranking.cc: New test program.
3662
3663 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
3664
3665 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3666 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3667
3668 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
3669
3670 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3671 lush, lynx) New constant.
3672 * gdb.base/constvars.exp: Test const array types.
3673 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3674
3675 2010-10-06 Doug Evans <dje@google.com>
3676
3677 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3678 of syscall staging area.
3679
3680 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
3681
3682 * gdb.base/gnu_vector.c: Add variable c4.
3683 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3684 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3685
3686 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
3687
3688 * gdb.arch/altivec-abi.exp: Fix a typo.
3689
3690 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
3691
3692 * lib/mi-support.exp (thread_selected_re): Correct pattern used
3693 to match a thread ID.
3694
3695 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3696
3697 Fix s390x testcase compatibility.
3698 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3699
3700 2010-10-01 Doug Evans <dje@google.com>
3701
3702 * lib/gdb-python.exp: New file.
3703 * gdb.python/py-block.exp: Use it.
3704 * gdb.python/py-breakpoint.exp: Ditto.
3705 * gdb.python/py-frame.exp: Ditto.
3706 * gdb.python/py-inferior.exp: Ditto.
3707 * gdb.python/py-param.exp: Ditto.
3708 * gdb.python/py-prettyprint.exp: Ditto.
3709 * gdb.python/py-shared.exp: Ditto.
3710 * gdb.python/py-symbol.exp: Ditto.
3711 * gdb.python/py-symtab.exp: Ditto.
3712 * gdb.python/py-type.exp: Ditto.
3713 * gdb.python/py-value.exp: Ditto.
3714 * gdb.python/python.exp: Ditto.
3715
3716 2010-09-30 Tom Tromey <tromey@redhat.com>
3717
3718 * gdb.base/anon.exp: New file.
3719 * gdb.base/anon.c: New file.
3720
3721 2010-09-30 Tom Tromey <tromey@redhat.com>
3722
3723 * gdb.base/completion.exp: Test completion through anonymous
3724 union.
3725 * gdb.base/break1.c (struct some_struct): Add anonymous union.
3726
3727 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3728
3729 Fix printing parameters of inlined functions.
3730 * gdb.dwarf2/dw2-inline-param.exp: New file.
3731 * gdb.dwarf2/dw2-inline-param-main.c: New file.
3732 * gdb.dwarf2/dw2-inline-param.S: New file.
3733
3734 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3735
3736 PR corefiles/12071.
3737 * gdb.base/corefile.exp (quit with a process, no question: load core)
3738 (quit with a core file): New tests.
3739
3740 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3741
3742 Fix GDB crash on inferior calls with self-referencing classes.
3743 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3744 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3745 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3746
3747 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3748
3749 Fix lost siginfo_t for inferior calls.
3750 * gdb.base/siginfo-infcall.exp: New file.
3751 * gdb.base/siginfo-infcall.c: New file.
3752
3753 2010-09-22 Joel Brobecker <brobecker@adacore.com>
3754
3755 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3756
3757 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3758
3759 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3760 New test.
3761 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3762
3763 2010-09-22 Joel Brobecker <brobecker@adacore.com>
3764
3765 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3766 type of our const type.
3767
3768 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
3769
3770 * gdb.cp/pr12028.cc: New.
3771 * gdb.cp/pr12028.exp: New.
3772
3773 2010-09-22 Joel Brobecker <brobecker@adacore.com>
3774
3775 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3776
3777 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
3778 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 PR mi/11407
3781 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3782 * gdb.mi/dw2-ref-missing-frame-main.c New File.
3783 * gdb.mi/dw2-ref-missing-frame.S New File.
3784 * gdb.mi/dw2-ref-missing-frame.exp New File.
3785
3786 2010-09-14 Tom Tromey <tromey@redhat.com>
3787
3788 PR symtab/8399:
3789 * gdb.threads/tls.exp: Remove kfail. Update expected output.
3790
3791 2010-09-14 Tom Tromey <tromey@redhat.com>
3792
3793 PR exp/11803:
3794 * gdb.threads/tls.exp: Use C++.
3795 (check_thread_local): Use K::another_thread_local.
3796 * gdb.threads/tls.c (class K): New.
3797 (another_thread_local): Now a member of K.
3798 (spin): Update. No longer K&R C.
3799
3800 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
3801
3802 * gdb.cp/koenig.cc: created class for testing member lookup.
3803 * gdb.cp/koenig.exp: Added test for member lookup.
3804
3805 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3806
3807 Fix false FAILs on sourcetree topdir directory containing "kill".
3808 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3809 source line matching regexp.
3810
3811 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3812
3813 * gdb.python/python.exp (set height 0, collect help from uiout)
3814 (verify help to uiout): New tests.
3815
3816 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3817
3818 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3819 is_lp64_target to check 64bit target.
3820
3821 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3822
3823 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3824 (test_ld) <powerpc64-*>: New.
3825
3826 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3827
3828 * gdb.cp/templates.exp (test_template_args): Allow "struct".
3829
3830 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3831
3832 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3833 (FunctionArg::method): New function.
3834 (empty, arg): New variables.
3835 (main): Call arg.method.
3836 * gdb.cp/templates.exp (test_template_args): New function.
3837 (do_tests): Call it.
3838
3839 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3840
3841 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3842 of "next" to proceed over pthread_exit call.
3843
3844 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3845
3846 * gdb.base/maint.exp: Avoid wildcards against potentially very long
3847 "maint print statistics" output to prevent expect timeouts.
3848
3849 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3850
3851 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3852 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3853 (test_float_rejected): ... here.
3854 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3855 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3856 (test_float_rejected): ... here.
3857 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
3858 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3859 (test_float_rejected): ... here.
3860 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
3861 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3862 (test_float_rejected): ... here.
3863
3864 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
3865
3866 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
3867 before disabling hardware watchpoints.
3868 (test_inaccessible_watchpoint): Check that hardware watchpoints
3869 are used. Test for watchpoints on a constant address.
3870
3871 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3872
3873 * gdb.base/ui-redirect.exp: New file.
3874
3875 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3876 Joel Brobecker <brobecker@adacore.com>
3877
3878 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
3879
3880 2010-08-31 Doug Evans <dje@google.com>
3881
3882 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
3883
3884 2010-08-30 Tom Tromey <tromey@redhat.com>
3885
3886 PR python/11792:
3887 * gdb.python/py-value.exp (test_subscript_regression): Add
3888 dynamic_type test.
3889
3890 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
3891
3892 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
3893 instead of running to main. Do not test the main function.
3894 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
3895 Add new main.
3896
3897 2010-08-26 Pedro Alves <pedro@codesourcery.com>
3898
3899 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
3900 one test.
3901
3902 2010-08-24 Doug Evans <dje@google.com>
3903
3904 PR symtab/11942
3905 * gdb.dwarf2/dw4-sig-types.cc: New file.
3906 * gdb.dwarf2/dw4-sig-types.h: New file.
3907 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
3908 * gdb.dwarf2/dw4-sig-types.exp: New file.
3909
3910 2010-08-23 Tom Tromey <tromey@redhat.com>
3911
3912 PR python/11145:
3913 * gdb.python/py-value.c (Base, Derived): New types.
3914 (base): New global.
3915 * gdb.python/py-value.exp (test_subscript_regression): Add
3916 dynamic_cast test.
3917
3918 2010-08-23 Tom Tromey <tromey@redhat.com>
3919
3920 PR python/10676:
3921 * gdb.python/py-type.exp (test_fields): Add tests for type
3922 equality.
3923
3924 2010-08-23 Tom Tromey <tromey@redhat.com>
3925
3926 PR python/11915:
3927 * gdb.python/py-type.exp (test_fields): Add tests for array.
3928
3929 2010-08-23 Keith Seitz <keiths@redhat.com>
3930
3931 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
3932 have any children. Create a new abbrev for it.
3933 Add missing terminal sequence to .debug_abbrev.
3934
3935 2010-08-20 Keith Seitz <keiths@redhat.com>
3936
3937 PR symtab/11465:
3938 * gdb.dwarf2/pr11465.exp: New test.
3939 * gdb.dwarf2/pr11465.S: New file.
3940 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
3941 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
3942
3943 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
3944
3945 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
3946 registers. Update data sets with the new v2_double element in the
3947 VSX register union. Add vector_register3_vr data set for the AltiVec
3948 registers. Use gdb_test_no_output instead of send_gdb.
3949
3950 2010-08-19 Pedro Alves <pedro@codesourcery.com>
3951
3952 * gdb.python/py-shared.exp: New file, factored out from
3953 python.exp.
3954 * gdb.python/py-shared.c: New file.
3955 * gdb.python/py-shared-sl.c: New file.
3956 * gdb.python/python-1.c: New file.
3957 * gdb.python/python-sl.c: Delete.
3958 * gdb.python/python.c: Mention python-1.c.
3959 * gdb.python/python.exp: Move shared library tests to
3960 py-shared.exp.
3961 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
3962 (MISCELLANEOUS): New.
3963 (clean mostlyclean): Also remove $MISCELLANEOUS.
3964
3965 2010-08-19 Doug Evans <dje@google.com>
3966
3967 PR exp/11926
3968 * gdb.base/printcmds.exp (test_float_accepted): New function.
3969 Move existing float tests there. Add tests for floats with suffixes.
3970 (test_float_rejected): New function.
3971 * gdb.java/jv-print.exp (test_float_accepted): New function.
3972 (test_float_rejected): New function.
3973 * gdb.objc/print.exp: New file.
3974 * gdb.pascal/print.exp: New file.
3975 * lib/objc.exp: New file.
3976
3977 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
3978
3979 * gdb.base/default.exp (info set): Avoid full buffer error and force
3980 reading up to final gdb prompt.
3981 (show): Likewise.
3982
3983 2010-08-18 Tom Tromey <tromey@redhat.com>
3984
3985 PR symtab/11919:
3986 * gdb.base/completion.exp: Add test.
3987
3988 2010-08-18 Doug Evans <dje@google.com>
3989
3990 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
3991 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
3992 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
3993 Simplify, early exit if runto_main fails.
3994 * gdb.fortran/exprs.exp: load_lib fortran.exp.
3995 (set_lang_fortran): Moved to lib/fortran.exp.
3996 * gdb.fortran/types.exp: load_lib fortran.exp.
3997 (set_lang_fortran): Moved to lib/fortran.exp.
3998 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
3999 * gdb.java/jprint.exp (set_lang_java): Ditto.
4000 * gdb.java/jv-exp.exp: load_lib java.exp.
4001 If set_lang_java fails, issue a warning instead of failure to be
4002 consistent with other set_lang_foo uses.
4003 (set_lang_java): Moved to lib/java.exp.
4004 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4005 If set_lang_java fails, issue a warning instead of failure to be
4006 consistent with other set_lang_foo uses.
4007 * gdb.pascal/types.exp: load_lib pascal.exp.
4008 (set_lang_pascal): Moved to lib/pascal.exp.
4009 * lib/fortran.exp: New file.
4010 * lib/java.exp (set_lang_java): New function.
4011 * lib/pascal.exp (set_lang_pascal): New function.
4012
4013 2010-08-18 Yao Qi <yao@codesourcery.com
4014
4015 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4016 func_nofb_start and func_loopfb_start, so that address of functions
4017 is equal to these labels on Thumb.
4018
4019 2010-08-18 Yao Qi <yao@codesourcery.com>
4020
4021 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4022 to reflect latest c source file.
4023
4024 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4025
4026 * gdb.cp/infcall-dlopen.exp: New file.
4027 * gdb.cp/infcall-dlopen.cc: New file.
4028 * gdb.cp/infcall-dlopen-lib.cc: New file.
4029
4030 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4031 Pedro Alves <pedro@codesourcery.com>
4032
4033 PR breakpoints/11371
4034
4035 * gdb.base/watch-cond-infcall.exp: New file.
4036 * gdb.base/watch-cond-infcall.c: New file.
4037
4038 2010-08-16 Tom Tromey <tromey@redhat.com>
4039
4040 * gdb.base/help.exp: Update.
4041 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4042 watchpoint.
4043 (test_watch_location): New proc.
4044 (test_watchpoint_in_big_blob): Delete watchpoint.
4045 * gdb.base/watchpoint.c (func5): New function.
4046 (main): Call it.
4047
4048 2010-08-16 Doug Evans <dje@google.com>
4049
4050 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4051
4052 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4053
4054 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4055 tests.
4056
4057 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
4058
4059 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4060 * gdb.base/gnu_vector.c: New File.
4061 * gdb.base/gnu_vector.exp: Likewise.
4062
4063 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4064
4065 * gdb.python/python.c: New File.
4066 * gdb.python/python-sl.c: New File.
4067 * gdb.python/python.exp: Test solib_address and decode_line
4068 * functions.
4069
4070 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4071
4072 * gdb.python/python.exp (show height, set height 10)
4073 (verify pagination beforehand, verify pagination beforehand: q)
4074 (gdb.execute does not page, verify pagination afterwards)
4075 (verify pagination afterwards: q): New.
4076
4077 2010-08-02 Doug Evans <dje@google.com>
4078
4079 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4080 because of an older gcc, change test2
4081 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4082 to unsupported.
4083
4084 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
4085
4086 * gdb.base/break-always.exp: Do not expect full paths to file
4087 names.
4088 * gdb.base/commands.exp: Likewise.
4089
4090 2010-07-30 Doug Evans <dje@google.com>
4091
4092 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4093 xfail them when run with older gccs.
4094
4095 * lib/gdb.exp (build_executable): Forward "c++" option to
4096 get_compiler_info.
4097
4098 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4099 "python print ttype.template_argument(1)" and
4100 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4101 if using gcc 4.4 or earlier.
4102
4103 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4104 attach-to-debugger handling.
4105
4106 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4107
4108 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4109 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4110 (main): Use copyreloc.
4111 * gdb.base/prelink.exp (split debug of executable)
4112 (.dynbss vs. .bss address shift): New tests.
4113
4114 2010-07-29 Pedro Alves <pedro@codesourcery.com>
4115
4116 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4117 in gdb_test_multiple.
4118
4119 2010-07-29 Pedro Alves <pedro@codesourcery.com>
4120
4121 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4122 environment.
4123
4124 2010-07-28 Tom Tromey <tromey@redhat.com>
4125
4126 PR python/11060:
4127 * gdb.python/py-type.c (Temargs): New template.
4128 (temvar): New variable.
4129 * gdb.python/py-type.exp (test_template): New proc.
4130
4131 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4132
4133 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4134 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4135
4136 2010-07-28 Tom Tromey <tromey@redhat.com>
4137
4138 PR c++/9946:
4139 * gdb.cp/temargs.exp: New file.
4140 * gdb.cp/temargs.cc: New file.
4141
4142 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4143
4144 * gdb.base/help.exp (help disassemble): Update the content.
4145
4146 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4147
4148 * gdb.threads/ia64-sigill.exp: New file.
4149 * gdb.threads/ia64-sigill.c: New file.
4150
4151 2010-07-27 Tom Tromey <tromey@redhat.com>
4152
4153 * gdb.opt/inline-cmds.c (ATTR): New define.
4154 (func1): Use it.
4155 (func2): Likewise.
4156 (func3): Likewise.
4157 (outer_inline1): Likewise.
4158 (outer_inline2): Likewise.
4159 * gdb.opt/inline-bt.c (ATTR): New define.
4160 (func1): Use it.
4161 (func2): Likewise.
4162 * gdb.opt/inline-locals.c (ATTR): New define.
4163 (func1): Use it.
4164 (func2): Likewise.
4165
4166 2010-07-27 Tom Tromey <tromey@redhat.com>
4167
4168 * gdb.stabs/gdb11479.c (hack): New function.
4169 (test): Use it.
4170 (test2): Use it.
4171 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4172 (int32_search_buf, int64_search_buf): No longer static.
4173 (x): Remove.
4174 * gdb.base/relocate.c (hack): New function.
4175
4176 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4177
4178 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4179 * gdb.python/py-value.c (func1): New function.
4180 (func2): Likewise.
4181
4182 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
4183
4184 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4185 as not to clash with .data section.
4186
4187 2010-07-26 Jerome Guitton <guitton@adacore.com>
4188
4189 * gdb.base/code_elim.exp: New file.
4190 * gdb.base/code_elim1.c: New file.
4191 * gdb.base/code_elim2.c: New file.
4192
4193 2010-07-21 Pedro Alves <pedro@codesourcery.com>
4194
4195 PR symtab/11827
4196
4197 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4198 (some_volatile_enum): New variable.
4199 * gdb.base/printcmds.exp (test_print_enums): New.
4200 <top level>: Call it.
4201
4202 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4203
4204 * gdb.cp/fpointer.cc: New test.
4205 * gdb.cp/fpointer.exp: New test.
4206
4207 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4208
4209 * gdb.base/solib-nodir.exp: New file.
4210 * lib/gdb.exp (runto): New case for a GDB internal error.
4211
4212 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4213 Ulrich Weigand <uweigand@de.ibm.com>
4214 Tom Tromey <tromey@redhat.com>
4215
4216 * gdb.base/charset-malloc.c: New file.
4217 * gdb.base/charset.c (malloc_stub): New prototype.
4218 (main): Call it instead of malloc itself.
4219 * gdb.base/charset.exp: Use only prepare_for_testing.
4220 (binfile): Remove the variable.
4221
4222 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4223
4224 Make core files the process_stratum.
4225 * gdb.base/corefile.exp (run: load core again)
4226 (run: sanity check we see the core file, run: with core)
4227 (run: core file is cleared, attach: load core again)
4228 (attach: sanity check we see the core file, attach: with core)
4229 (attach: core file is cleared): New tests.
4230 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4231
4232 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
4233
4234 * gdb.arch/altivec-abi.exp: New tests.
4235
4236 2010-07-13 Tom Tromey <tromey@redhat.com>
4237
4238 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4239 (main): Use it.
4240 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4241
4242 2010-07-13 Tom Tromey <tromey@redhat.com>
4243
4244 * gdb.base/label.exp: New file.
4245 * gdb.base/label.c: New file.
4246
4247 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4248 H.J. Lu <hongjiu.lu@intel.com>
4249
4250 * lib/gdb.exp (is_ilp32_target): New.
4251 (is_lp64_target): Likewise.
4252
4253 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4254 target.
4255 * gdb.arch/amd64-disp-step.exp: Likewise.
4256 * gdb.arch/amd64-dword.exp: Likewise.
4257 * gdb.arch/amd64-i386-address.exp: Likewise.
4258 * gdb.arch/amd64-word.exp: Likewise.
4259
4260 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4261 target.
4262 * gdb.arch/i386-bp_permanent.exp: Likewise.
4263 * gdb.arch/i386-byte.exp: Likewise.
4264 * gdb.arch/i386-disp-step.exp: Likewise.
4265 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4266 * gdb.arch/i386-prologue.exp: Likewise.
4267 * gdb.arch/i386-size-overlap.exp: Likewise.
4268 * gdb.arch/i386-size.exp: Likewise.
4269 * gdb.arch/i386-sse.exp: Likewise.
4270 * gdb.arch/i386-unwind.exp: Likewise.
4271 * gdb.arch/i386-word.exp: Likewise.
4272
4273 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4274 test only when building 64-bit executables. Do not hard-code
4275 -m64 option.
4276
4277 2010-07-07 Doug Evans <dje@google.com>
4278
4279 * lib/gdb.exp (gdb_test_list_exact): New function.
4280 * gdb.base/default.exp (show convenience): Call it, add tests for
4281 $_sdata = void, $_thread = 0.
4282
4283 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4284 Joel Brobecker <brobecker@adacore.com>
4285
4286 Fix re-run of PIE executable, PR shlibs/11776.
4287 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4288 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4289 and re-"run" of the inferior.
4290
4291 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4292 Joel Brobecker <brobecker@adacore.com>
4293
4294 Cope with missing /usr/sbin/prelink.
4295 * lib/prelink-support.exp (prelink_no):
4296 <result == 1 && $output is "no such file or directory">: New.
4297 (prelink_yes): Likewise. Return on failed prelink_no.
4298
4299 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4300 Joel Brobecker <brobecker@adacore.com>
4301
4302 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4303 build_executable by build_executable_own_libs. Replace "prelink -R"
4304 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4305 change.
4306 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4307 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4308 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4309 Replace build_executable by build_executable_own_libs's function
4310 build_executable_own_libs.
4311 (prelinkNO): Create new stub to call prelink_no.
4312 (prelinkYES): Create new stub to call prelink_yes.
4313 (test_attach): Rename calls of copy to file_copy.
4314 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4315 (copy): Move to ...
4316 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4317 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4318 * gdb.base/prelink.exp: Disable testcase also for is_remote and
4319 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
4320 special flags by gdb_compile_shlib. Replace second gdb_compile by
4321 build_executable_own_libs. Replace "prelink -R" execution by a call of
4322 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
4323 a second call of prelink_yes. Replace restart commands by
4324 clean_restart.
4325 (prelink): Rename to ...
4326 (seen displacement message): ... this test. Extend its expectation
4327 strictness.
4328
4329 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4330
4331 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4332 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4333 displacement message exactly once.
4334
4335 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4336 Joel Brobecker <brobecker@adacore.com>
4337
4338 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
4339 its restore after the <$relink_args != ""> loop. new comment.
4340
4341 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4342 Joel Brobecker <brobecker@adacore.com>
4343
4344 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4345 code for it. New variable relink_args.
4346 (prelinkYES): Call prelinkNO.
4347 (test_attach): Accept new parameter relink_args. Re-prelink the binary
4348 in such case. Move the core code to ...
4349 (test_attach_gdb): ... a new function. Send GDB command "file".
4350 Extend expected "Attaching to " string.
4351
4352 2010-07-02 Tom Tromey <tromey@redhat.com>
4353
4354 * gdb.base/bitops.exp: Remove extraneous "pass".
4355
4356 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
4357
4358 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4359
4360 2010-07-01 Pedro Alves <pedro@codesourcery.com>
4361
4362 * gdb.base/help.exp: Adjust expected output.
4363
4364 2010-07-01 Pedro Alves <pedro@codesourcery.com>
4365
4366 * gdb.base/help.exp: Adjust expected output.
4367
4368 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4369
4370 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4371 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4372 c++/11702.
4373
4374 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4375 Doug Evans <dje@google.com>
4376
4377 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4378 add .dynamic entry'.
4379
4380 2010-06-29 Doug Evans <dje@google.com>
4381
4382 Test PR c++/11702.
4383 * gdb.cp/m-static.exp: Add testcase.
4384 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4385
4386 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
4387 Tom Tromey <tromey@redhat.com>
4388 Thiago Jung Bauermann <bauerman@br.ibm.com>
4389
4390 * gdb.python/py-inferior.c: New File.
4391 * gdb.python/py-infthread.c: New File.
4392 * gdb.python/py-inferior.exp: New File.
4393 * gdb.python/py-infthread.exp: New File.
4394
4395 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4396
4397 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4398 (ptype ::C::OtherFileClass typedefs): New.
4399 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4400 (C::OtherFileClass::cOtherFileClassVar2): New.
4401 (C::OtherFileClass::cOtherFileClassVar_use): Use also
4402 cOtherFileClassVar2.
4403 (C::cOtherFileType2, C::cOtherFileVar2): New.
4404 (C::cOtherFileVar_use): use also cOtherFileVar2.
4405 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4406
4407 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4408
4409 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4410 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4411 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4412 (print ::C::cOtherFileVar)
4413 (whatis C::OtherFileClass::cOtherFileClassType)
4414 (whatis ::C::OtherFileClass::cOtherFileClassType)
4415 (print C::OtherFileClass::cOtherFileClassVar)
4416 (print ::cOtherFileClassVar)
4417 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4418 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4419 trailing content.
4420 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4421 (C::OtherFileClass::cOtherFileClassVar)
4422 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4423 (C::cOtherFileVar, C::cOtherFileVar_use): New.
4424
4425 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4426
4427 Test PR c++/11703 and PR gdb/1448.
4428 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4429 gdb/1448.
4430
4431 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4432
4433 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4434 (main) <rtti_data>: New.
4435 * gdb.cp/virtbase.exp (print rtti_data): New.
4436
4437 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4438 Joel Brobecker <brobecker@adacore.com>
4439
4440 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4441
4442 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4443
4444 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4445
4446 2010-06-28 Doug Evans <dje@google.com>
4447
4448 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4449
4450 2010-06-27 Doug Evans <dje@google.com>
4451
4452 * gdb.cp/m-static.exp: Update expected test output.
4453
4454 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
4455
4456 * gdb.gdb/selftest.exp: Adjust expected message for
4457 capturing start-up runtime.
4458
4459 2010-06-25 Tom Tromey <tromey@redhat.com>
4460
4461 PR python/10808:
4462 * gdb.python/python.exp: Add new tests.
4463
4464 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
4465
4466 * gdb.cp/operator.cc: Created an import loop.
4467 * gdb.cp/operator.exp: Added testcase for import loop.
4468
4469 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4470
4471 Test PR python/11407.
4472 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4473 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4474 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4475 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4476 executable_nofb and executable_fb. New variables srcsfile, objsfile,
4477 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4478 binfile. Call gdb_compile with clean_restart twice.
4479 (func_nofb print, func_nofb backtrace, func_loopfb print)
4480 (func_loopfb backtrace): New.
4481
4482 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4483
4484 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4485 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4486 by a hand made one.
4487 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
4488 i?86 requirement. Remove variables srcfile and binfile. New variable
4489 sources, executable_nofb and executable_fb. Call prepare_for_testing.
4490
4491 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4492
4493 * gdb.cell/dwarfaddr.exp: New file.
4494 * gdb.cell/dwarfaddr.S: New file.
4495
4496 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4497
4498 Test PR 9436.
4499 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4500
4501 2010-06-24 Hui Zhu <teawater@gmail.com>
4502
4503 * gdb.base/eval.exp: New file.
4504
4505 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4506
4507 * gdb.cell/fork.exp: New file.
4508 * gdb.cell/fork.c: Likewise.
4509 * gdb.cell/fork-spu.c: Likewise.
4510
4511 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
4512
4513 * lib/gdb.exp (banned_variables_traced): New global variable.
4514 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4515 (gdb_init): Use `trace add variable' instead of obsolete
4516 `trace variable'.
4517
4518 2010-06-21 Doug Evans <dje@google.com>
4519
4520 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4521
4522 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4523
4524 * gdb.arch/spu-ls.exp: New file.
4525 * gdb.arch/spu-ls.c: Likewise.
4526
4527 2010-06-18 Stan Shebs <stan@codesourcery.com>
4528
4529 * gdb.threads/thread-specific.exp: Add tests of $_thread.
4530
4531 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4532
4533 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4534 * gdb.base/watch-cond.exp: Likewise.
4535 * gdb.python/py-breakpoint.exp: Likewise.
4536
4537 2010-06-18 Pedro Alves <pedro@codesourcery.com>
4538
4539 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4540 clean_restart, make sure every test has a distinct message, and
4541 that messages don't include the executable' full path.
4542
4543 2010-06-17 Doug Evans <dje@google.com>
4544
4545 * gdb.arch/i386-size.exp: Updated expected output for
4546 DISASSEMBLY_OMIT_FNAME.
4547
4548 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4549 Sergio Durigan Junior <sergiodj@redhat.com>
4550
4551 * gdb.base/watch-notconst.c: New file.
4552 * gdb.base/watch-notconst.S: New file.
4553 * gdb.base/watch-notconst2.c: New file.
4554 * gdb.base/watch-notconst2.S: New file.
4555 * gdb.base/watch-notconst.exp: New file.
4556 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4557 (func4): Add operations on `global_ptr_ptr'.
4558 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4559 routine to test watchpoints created with a constant expression.
4560 (test_inaccessible_watchpoint): Include tests for watchpoints
4561 created with a constant expression.
4562
4563 2010-06-14 Kevin Buettner <kevinb@redhat.com>
4564
4565 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4566 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4567 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4568 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4569 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4570 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4571 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4572 of `_start'.
4573
4574 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4575
4576 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4577 not supported on the target.
4578 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4579 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4580 * gdb.mi/mi-nsintrall.exp: Likewise.
4581 * gdb.mi/mi-nsmoribund.exp: Likewise.
4582 * gdb.mi/mi-nsthrexec.exp: Likewise.
4583
4584 2010-06-11 Stan Shebs <stan@codesourcery.com>
4585
4586 * gdb.base/permissions.exp: New file.
4587
4588 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4589
4590 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4591 does not support ELF executable class.
4592
4593 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4594
4595 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4596
4597 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4598
4599 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4600 (runto): Catch "The target does not support running in non-stop mode.".
4601
4602 2010-06-11 Michael Snyder <msnyder@vmware.com>
4603
4604 * gdb.base/setshow.exp (set language asm): Don't use
4605 gdb_test_no_output, fails on some targets.
4606
4607 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4608
4609 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4610 * gdb.cp/pr9167.exp: Likewise.
4611
4612 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4613
4614 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4615
4616 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4617
4618 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4619
4620 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4621
4622 * gdb.base/charset.c (main): Make sure malloc gets linked in.
4623
4624 2010-06-11 Tom Tromey <tromey@redhat.com>
4625
4626 PR gdb/9977, PR exp/11636::
4627 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4628 (pieces_test_f6): Update expected output.
4629
4630 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4631
4632 * gdb.base/moribund-step.exp: New.
4633
4634 2010-06-08 Michael Snyder <msnyder@vmware.com>
4635
4636 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
4637 * gdb.ada/boolean_expr.exp:
4638 * gdb.ada/frame_args.exp: Ditto.
4639 * gdb.ada/lang_switch.exp: Ditto.
4640 * gdb.ada/ptype_arith_binop.exp: Ditto.
4641 * gdb.ada/ref_param.exp: Ditto.
4642 * gdb.ada/type_coercion.exp:Ditto.
4643
4644 * gdb.asm/asm-source.exp: Ditto.
4645
4646 * gdb.base/attach.exp: Ditto.
4647 * gdb.base/bitfields2.exp: Ditto.
4648 * gdb.base/call-signal-resume.exp: Ditto.
4649 * gdb.base/callfuncs.exp: Ditto.
4650 * gdb.base/commands.exp: Ditto.
4651 * gdb.base/dbx.exp: Ditto.
4652 * gdb.base/default.exp: Ditto.
4653 * gdb.base/dump.exp: Ditto.
4654 * gdb.base/exprs.exp: Ditto.
4655 * gdb.base/freebpcmd.exp: Ditto.
4656 * gdb.base/interrupt.exp: Ditto.
4657 * gdb.base/list.exp: Ditto.
4658 * gdb.base/long_long.exp: Ditto.
4659 * gdb.base/maint.exp: Ditto.
4660 * gdb.base/ptype.exp: Ditto.
4661 * gdb.base/return.exp: Ditto.
4662 * gdb.base/setshow.exp: Ditto.
4663 * gdb.base/sigbpt.exp: Ditto.
4664 * gdb.base/sigrepeat.exp: Ditto.
4665
4666 * gdb.cp/classes.exp: Ditto.
4667
4668 * gdb.dwarf2/dw2-restore.exp: Ditto.
4669
4670 * gdb.gdb/selftest.exp: Ditto.
4671
4672 * gdb.multi/base.exp: Ditto.
4673 * gdb.multi/bkpt-multi-exec.exp: Ditto.
4674
4675 * gdb.python/py-block.exp: Ditto.
4676 * gdb.python/py-prettyprint.exp: Ditto.
4677 * gdb.python/py-template.exp: Ditto.
4678
4679 * gdb.server/ext-attach.exp: Ditto.
4680 * gdb.server/ext-run.exp: Ditto.
4681 * gdb.server/server-mon.exp: Ditto.
4682
4683 * gdb.threads/fork-thread-pending.exp: Ditto.
4684 * gdb.threads/hand-call-in-threads.exp: Ditto.
4685 * gdb.threads/interrupted-hand-call.exp: Ditto.
4686 * gdb.threads/linux-dp.exp: Ditto.
4687 * gdb.threads/manythreads.exp: Ditto.
4688 * gdb.threads/print-threads.exp: Ditto.
4689 * gdb.threads/pthreads.exp: Ditto.
4690 * gdb.threads/schedlock.exp: Ditto.
4691 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4692 * gdb.threads/threadapply.exp: Ditto.
4693
4694 2010-06-08 Michael Snyder <msnyder@vmware.com>
4695
4696 * gdb.ada/exec_changed.exp:
4697 Use ".*" instead of "" as wildcard regexp.
4698
4699 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4700 * gdb.base/call-ar-st.exp: Ditto.
4701 * gdb.base/checkpoint.exp: Ditto.
4702 * gdb.base/default.exp: Ditto.
4703 * gdb.base/dump.exp: Ditto.
4704 * gdb.base/ending-run.exp: Ditto.
4705 * gdb.base/fileio.exp: Ditto.
4706 * gdb.base/miscexprs.exp: Ditto.
4707 * gdb.base/pointers.exp: Ditto.
4708 * gdb.base/readline.exp: Ditto.
4709 * gdb.base/reread.exp: Ditto.
4710 * gdb.base/restore.exp: Ditto.
4711 * gdb.base/shlib-call.exp: Ditto.
4712 * gdb.base/valgrind-db-attach.exp: Ditto.
4713 * gdb.base/volatile.exp: Ditto.
4714 * gdb.base/watchpoints.exp: Ditto.
4715
4716 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4717
4718 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4719 * gdb.python/py-value.exp: Ditto.
4720
4721 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4722 * gdb.trace/circ.exp: Ditto.
4723 * gdb.trace/collection.exp: Ditto.
4724 * gdb.trace/packetlen.exp: Ditto.
4725 * gdb.trace/passc-dyn.exp: Ditto.
4726 * gdb.trace/report.exp: Ditto.
4727 * gdb.trace/tfile.exp: Ditto.
4728 * gdb.trace/tfind.exp: Ditto.
4729 * gdb.trace/while-dyn.exp: Ditto.
4730
4731 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4732
4733 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4734
4735 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4736
4737 Test PR 10640.
4738 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4739
4740 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
4741
4742 * gdb.cp/koenig.exp: Test for ADL operators.
4743 * gdb.cp/koenig.cc: Added ADL operators.
4744 * gdb.cp/operator.exp: New test.
4745 * gdb.cp/operator.cc: New test.
4746
4747 2010-06-04 Michael Snyder <msnyder@vmware.com>
4748
4749 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4750 * gdb.base/pending.exp: Ditto.
4751
4752 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4753
4754 2010-06-04 Doug Evans <dje@google.com>
4755
4756 * gdb.python/py-prettyprint.exp: Add new test for enabled and
4757 disabled printers.
4758 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4759 (enable_lookup_function): New function.
4760
4761 2010-06-04 Tom Tromey <tromey@redhat.com>
4762
4763 * gdb.python/py-value.exp (test_value_hash): Don't test equality
4764 of hash and id.
4765
4766 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4767
4768 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4769 newline.
4770 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4771 (empty verbose non-noisy clear, empty verbose noisy clear)
4772 (empty non-verbose noisy clear): Likewise.
4773
4774 2010-06-03 Michael Snyder <msnyder@vmware.com>
4775
4776 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4777 * gdb.base/display.exp: Ditto.
4778 * gdb.base/find.exp: Ditto.
4779 * gdb.base/ifelse.exp: Ditto.
4780 * gdb.base/multi-forks.exp: Ditto.
4781 * gdb.base/recurse.exp: Ditto.
4782 * gdb.base/setshow.exp: Ditto.
4783 * gdb.base/value-double-free.exp: Ditto.
4784 * gdb.base/watch-vfork.exp: Ditto.
4785 * gdb.base/watch_thread_num.exp: Ditto.
4786 * gdb.base/watchpoint-solib.exp: Ditto.
4787 * gdb.base/watchpoint.exp: Ditto.
4788 * gdb.base/watchpoints.exp: Ditto.
4789
4790 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4791 * gdb.cp/overload.exp: Ditto.
4792 * gdb.cp/virtfunc.exp: Ditto.
4793
4794 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4795
4796 * gdb.reverse/watch-precsave.exp:
4797 Replace gdb_test with gdb_test_no_output.
4798
4799 * gdb.threads/attach-into-signal.exp:
4800 Replace gdb_test with gdb_test_no_output.
4801 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4802 * gdb.threads/watchthreads.exp: Ditto.
4803 * gdb.threads/watchthreads2.exp: Ditto.
4804
4805 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4806 * gdb.trace/tfind.exp: Ditto.
4807
4808 2010-06-03 Joel Brobecker <brobecker@adacore.com>
4809
4810 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4811 successful test if message is the empty string.
4812
4813 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4814
4815 * gdb.fortran/module.exp (stopped language detection): New test.
4816
4817 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4818
4819 Support DW_TAG_module as separate namespaces.
4820 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4821 gdb.fortran/library-module-lib.f90: New.
4822 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4823 (print i): Remove.
4824 (continue to breakpoint: i-is-1, print var_i value 1)
4825 (continue to breakpoint: i-is-2, print var_i value 2)
4826 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4827 (print var_d, print var_i value 14, ptype modmany, complete `modm)
4828 (complete `modmany, complete `modmany`, complete `modmany`var)
4829 (show language, setting breakpoint at module): New tests.
4830 * gdb.fortran/module.f90 (module mod): Remove.
4831 (module mod1, module mod2, module modmany, subroutine sub1)
4832 (subroutine sub2, program module): New.
4833
4834 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4835
4836 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4837 (print value of rUC, print value of rI, print value of UI): ... here.
4838 * gdb.cp/anon-union.exp (pass): Rename to ...
4839 (print z 2): ... here.
4840
4841 2010-06-02 Michael Snyder <msnyder@vmware.com>
4842
4843 * gdb.trace/actions.exp: Use gdb_test_no_output.
4844 * gdb.trace/circ.exp: Ditto.
4845 * gdb.trace/packetlen.exp: Ditto.
4846 * gdb.trace/save-trace.exp: Ditto.
4847 * gdb.trace/tracecmd.exp: Ditto.
4848 * gdb.trace/tsv.exp: Ditto.
4849
4850 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4851 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4852 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4853 * gdb.threads/manythreads.exp: Ditto.
4854 * gdb.threads/print-threads.exp: Ditto.
4855 * gdb.threads/pthreads.exp: Ditto.
4856 * gdb.threads/schedlock.exp: Ditto.
4857 * gdb.threads/staticthreads.exp: Ditto.
4858 * gdb.threads/thread-specific.exp: Ditto.
4859 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4860 * gdb.threads/threadapply.exp: Ditto.
4861 * gdb.threads/watchthreads.exp: Ditto.
4862 * gdb.threads/watchthreads2.exp: Ditto.
4863
4864 * gdb.python/py-block.exp: Use gdb_test_no_output.
4865 * gdb.python/py-prettyprint.exp: Ditto.
4866 * gdb.python/py-template.exp: Ditto.
4867 * gdb.python/py-value.exp: Ditto.
4868
4869 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
4870 * gdb.reverse/watch-reverse.exp: Ditto.
4871
4872 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
4873 * gdb.server/ext-run.exp: Ditto.
4874
4875 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
4876 * gdb.dwarf2/dw2-compressed.exp: Ditto.
4877 * gdb.dwarf2/dw2-intercu.exp: Ditto.
4878 * gdb.dwarf2/dw2-intermix.exp: Ditto.
4879 * gdb.dwarf2/dw2-producer.exp: Ditto.
4880 * gdb.dwarf2/mac-fileno.exp: Ditto.
4881
4882 * gdb.gdb/observer.exp: Use gdb_test_no_output.
4883 * gdb.gdb/selftest.exp: Ditto.
4884
4885 * gdb.multi/base.exp: Use gdb_test_no_output.
4886
4887 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
4888
4889 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4890
4891 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
4892
4893 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
4894
4895 * gdb.cp/class2.exp: Use gdb_test_no_output.
4896 * gdb.cp/classes.exp: Ditto.
4897 * gdb.cp/extern-c.exp: Ditto.
4898 * gdb.cp/inherit.exp: Ditto.
4899 * gdb.cp/maint.exp: Ditto.
4900 * gdb.cp/mb-inline.exp: Ditto.
4901 * gdb.cp/mb-templates.exp: Ditto.
4902 * gdb.cp/method2.exp: Ditto.
4903 * gdb.cp/misc.exp: Ditto.
4904 * gdb.cp/ovldbreak.exp: Ditto.
4905 * gdb.cp/punctuator.exp: Ditto.
4906 * gdb.cp/templates.exp: Ditto.
4907 * gdb.cp/virtbase.exp: Ditto.
4908
4909 * gdb.threads/attach-stopped.exp:
4910 Replace uses of send_gdb / gdb_expect.
4911 * gdb.threads/attachstop-mt.exp:
4912 Replace uses of send_gdb / gdb_expect.
4913 * gdb.threads/gcore-thread.exp:
4914 Replace uses of send_gdb / gdb_expect.
4915 * gdb.threads/hand-call-in-threads.exp:
4916 Replace uses of send_gdb / gdb_expect.
4917 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
4918 * gdb.threads/print-threads.exp:
4919 Replace uses of send_gdb / gdb_expect.
4920 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
4921 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
4922 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
4923
4924 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
4925 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
4926 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
4927 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
4928 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
4929 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
4930 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
4931 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
4932 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
4933 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
4934 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
4935
4936 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4937
4938 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
4939
4940 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
4941
4942 * gdb.cp/koenig.exp: Added new test case.
4943 * gdb.cp/koenig.cc: Ditto.
4944
4945 2010-06-01 Michael Snyder <msnyder@vmware.com>
4946
4947 * gdb.base/arithmet.exp: Use gdb_test_no_output.
4948 * gdb.base/arrayidx.exp: Ditto.
4949 * gdb.base/attach.exp: Ditto.
4950 * gdb.base/auxv.exp: Ditto.
4951 * gdb.base/bigcre.exp: Ditto.
4952 * gdb.base/break-always.exp: Ditto.
4953 * gdb.base/break-interp.exp: Ditto.
4954 * gdb.base/break.exp: Ditto.
4955 * gdb.base/breakpoint-shadow.exp: Ditto.
4956 * gdb.base/call-ar-st.exp: Ditto.
4957 * gdb.base/call-sc.exp: Ditto.
4958 * gdb.base/call-signal-resume.exp: Ditto.
4959 * gdb.base/callfuncs.exp: Ditto.
4960 * gdb.base/catch-syscall.exp: Ditto.
4961 * gdb.base/charset.exp: Ditto.
4962 * gdb.base/code-expr.exp: Ditto.
4963 * gdb.base/commands.exp: Ditto.
4964 * gdb.base/cond-expr.exp: Ditto.
4965 * gdb.base/condbreak.exp: Ditto.
4966 * gdb.base/cursal.exp: Ditto.
4967 * gdb.base/cvexpr.exp: Ditto.
4968 * gdb.base/default.exp: Ditto.
4969 * gdb.base/del.exp: Ditto.
4970 * gdb.base/detach.exp: Ditto.
4971 * gdb.base/display.exp: Ditto.
4972 * gdb.base/ena-dis-br.exp: Ditto.
4973 * gdb.base/eval-skip.exp: Ditto.
4974 * gdb.base/foll-fork.exp: Ditto.
4975 * gdb.base/foll-vfork.exp: Ditto.
4976 * gdb.base/frame-args.exp: Ditto.
4977 * gdb.base/funcargs.exp: Ditto.
4978 * gdb.base/gcore-buffer-overflow.exp: Ditto.
4979 * gdb.base/gdbvars.exp: Ditto.
4980 * gdb.base/help.exp: Ditto.
4981 * gdb.base/ifelse.exp: Ditto.
4982 * gdb.base/included.exp: Ditto.
4983 * gdb.base/list.exp: Ditto.
4984 * gdb.base/macscp.exp: Ditto.
4985 * gdb.base/maint.exp: Ditto.
4986 * gdb.base/multi-fork.exp: Ditto.
4987 * gdb.base/overlays.exp: Ditto.
4988 * gdb.base/page.exp: Ditto.
4989 * gdb.base/pending.exp: Ditto.
4990 * gdb.base/pointers.exp: Ditto.
4991 * gdb.base/pr11022.exp: Ditto.
4992 * gdb.base/prelink.exp: Ditto.
4993 * gdb.base/printcmds.exp: Ditto.
4994 * gdb.base/psymtab.exp: Ditto.
4995 * gdb.base/randomize.exp: Ditto.
4996 * gdb.base/relational.exp: Ditto.
4997 * gdb.base/relocate.exp: Ditto.
4998 * gdb.base/remote.exp: Ditto.
4999 * gdb.base/sepdebug.exp: Ditto.
5000 * gdb.base/set-lang-auto.exp: Ditto.
5001 * gdb.base/setshow.exp: Ditto.
5002 * gdb.base/setvar.exp: Ditto.
5003 * gdb.base/signals.exp: Ditto.
5004 * gdb.base/signull.exp: Ditto.
5005 * gdb.base/sigstep.exp: Ditto.
5006 * gdb.base/sizeof.exp: Ditto.
5007 * gdb.base/solib-disc.exp: Ditto.
5008 * gdb.base/store.exp: Ditto.
5009 * gdb.base/structs.exp: Ditto.
5010 * gdb.base/structs2.exp: Ditto.
5011 * gdb.base/subst.exp: Ditto.
5012 * gdb.base/term.exp: Ditto.
5013 * gdb.base/trace-commands.exp: Ditto.
5014 * gdb.base/unwindonsignal.exp: Ditto.
5015 * gdb.base/valgrind-db-attach.exp: Ditto.
5016 * gdb.base/varargs.exp: Ditto.
5017 * gdb.base/watch-cond.exp: Ditto.
5018 * gdb.base/watch_thread_num.exp: Ditto.
5019 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5020 * gdb.base/watchpoint.exp: Ditto.
5021 * gdb.base/whatis-exp.exp: Ditto.
5022
5023 2010-06-01 Michael Snyder <msnyder@vmware.com>
5024
5025 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5026 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5027 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5028 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5029 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5030 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5031 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5032 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5033 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5034 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5035 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5036 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5037 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5038 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5039 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5040
5041 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5042
5043 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5044 trailing newline.
5045 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5046 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5047 (p *args): ... here and remove excessive trailing newline.
5048
5049 2010-05-31 Joel Brobecker <brobecker@adacore.com>
5050
5051 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5052
5053 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5054
5055 Accept the new Linux kernel "t (tracing stop)" string.
5056 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5057 Update comment.
5058 (state_wait) <T (tracing stop)>: New.
5059 (main): Update the state_wait expect string.
5060
5061 2010-05-28 Pedro Alves <pedro@codesourcery.com>
5062
5063 * limits.c, limits.exp: Delete files.
5064 * Makefile.in (clean mostlyclean): Adjust.
5065 * tracecmd.exp: Adjust.
5066
5067 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5068
5069 * gdb.base/tui-layout.exp: New.
5070
5071 2010-05-28 Michael Snyder <msnyder@vmware.com>
5072
5073 * gdb.reverse/break-precsave.exp:
5074 Replace uses of send_gdb / gdb_expect.
5075 * gdb.reverse/break-reverse.exp:
5076 Replace uses of send_gdb / gdb_expect.
5077 * gdb.reverse/consecutive-precsave.exp:
5078 Replace uses of send_gdb / gdb_expect.
5079 * gdb.reverse/consecutive-reverse.exp:
5080 Replace uses of send_gdb / gdb_expect.
5081 * gdb.reverse/finish-precsave.exp:
5082 Replace uses of send_gdb / gdb_expect.
5083 * gdb.reverse/finish-reverse.exp:
5084 Replace uses of send_gdb / gdb_expect.
5085 * gdb.reverse/i386-precsave.exp:
5086 Replace uses of send_gdb / gdb_expect.
5087 * gdb.reverse/i386-reverse.exp:
5088 Replace uses of send_gdb / gdb_expect.
5089 * gdb.reverse/i386-sse-reverse.exp:
5090 Replace uses of send_gdb / gdb_expect.
5091 * gdb.reverse/i387-env-reverse.exp:
5092 Replace uses of send_gdb / gdb_expect.
5093 * gdb.reverse/i387-stack-reverse.exp:
5094 Replace uses of send_gdb / gdb_expect.
5095 * gdb.reverse/machinestate-precsave.exp:
5096 Replace uses of send_gdb / gdb_expect.
5097 * gdb.reverse/machinestate.exp:
5098 Replace uses of send_gdb / gdb_expect.
5099 * gdb.reverse/sigall-precsave.exp:
5100 Replace uses of send_gdb / gdb_expect.
5101 * gdb.reverse/sigall-reverse.exp:
5102 Replace uses of send_gdb / gdb_expect.
5103 * gdb.reverse/solib-precsave.exp:
5104 Replace uses of send_gdb / gdb_expect.
5105 * gdb.reverse/solib-reverse.exp:
5106 Replace uses of send_gdb / gdb_expect.
5107 * gdb.reverse/step-precsave.exp:
5108 Replace uses of send_gdb / gdb_expect.
5109 * gdb.reverse/step-reverse.exp:
5110 Replace uses of send_gdb / gdb_expect.
5111 * gdb.reverse/until-precsave.exp:
5112 Replace uses of send_gdb / gdb_expect.
5113 * gdb.reverse/until-reverse.exp:
5114 Replace uses of send_gdb / gdb_expect.
5115 * gdb.reverse/watch-precsave.exp:
5116 Replace uses of send_gdb / gdb_expect.
5117 * gdb.reverse/watch-reverse.exp:
5118 Replace uses of send_gdb / gdb_expect.
5119
5120 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5121
5122 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5123 excessive newline.
5124
5125 2010-05-27 Michael Snyder <msnyder@vmware.com>
5126
5127 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
5128 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5129 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5130 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5131 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5132 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5133 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5134 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5135 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5136 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5137 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5138 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5139 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5140 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5141 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5142 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5143 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5144 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5145 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
5146
5147 2010-05-26 Michael Snyder <msnyder@vmware.com>
5148
5149 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5150 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5151
5152 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5153 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5154 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5155
5156 * gdb.reverse/consecutive-reverse.exp:
5157 Replace uses of send_gdb / gdb_expect.
5158 * gdb.reverse/consecutive-precsave.exp:
5159 Replace uses of send_gdb / gdb_expect.
5160
5161 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5162 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5163 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
5164 * gdb.mi/mi-ns-stale-regcache.exp:
5165 Replace uses of send_gdb / gdb_expect.
5166 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5167 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5168 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5169 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5170 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5171 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5172 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5173 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5174 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
5175
5176 2010-05-26 Michael Snyder <msnyder@vmware.com>
5177
5178 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
5179
5180 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
5181
5182 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5183 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5184 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5185 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5186 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5187 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5188 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5189 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5190 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
5191
5192 2010-05-25 Tom Tromey <tromey@redhat.com>
5193
5194 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5195
5196 2010-05-25 Tom Tromey <tromey@redhat.com>
5197
5198 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5199 argument order.
5200 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5201 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5202 order.
5203 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5204 order.
5205 * gdb.base/call-sc.exp (setup_kfails): Remove.
5206 (setup_compiler_kfails): Remove.
5207 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5208 argument order.
5209 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5210 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5211 (advancei): Fix setup_kfail argument order.
5212 * gdb.base/radix.exp: Fix setup_kfail argument order.
5213 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5214 order.
5215 * gdb.base/structs.exp (setup_kfails): Remove.
5216 (setup_compiler_kfails): Fix setup_kfail argument order.
5217 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5218 order.
5219 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5220 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5221 setup_kfail argument order.
5222 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5223
5224 2010-05-25 Tom Tromey <tromey@redhat.com>
5225
5226 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5227
5228 2010-05-25 Michael Snyder <msnyder@vmware.com>
5229
5230 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5231 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5232 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5233 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5234 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5235 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5236 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5237 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5238 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
5239 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5240 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5241 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5242 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5243 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5244 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5245 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5246 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5247 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5248 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5249 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5250 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5251 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5252 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
5253 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5254 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5255 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5256 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5257 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5258 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5259 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5260 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5261 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5262 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5263 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5264 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5265 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5266 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5267 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5268 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5269 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5270 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5271 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
5272 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5273 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5274 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5275 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5276 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
5277 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
5278
5279 2010-05-25 Doug Evans <dje@google.com>
5280
5281 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5282 gdb.string_to_argv.
5283
5284 2010-05-21 Tom Tromey <tromey@redhat.com>
5285
5286 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5287 Call it.
5288 * gdb.dwarf2/pieces.S: Update.
5289 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5290
5291 2010-05-21 Tom Tromey <tromey@redhat.com>
5292
5293 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5294 Call it.
5295 * gdb.dwarf2/pieces.c (struct C): New.
5296 (f6): New function.
5297 * gdb.dwarf2/pieces.S: Replace.
5298
5299 2010-05-21 Tom Tromey <tromey@redhat.com>
5300
5301 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5302 Call it.
5303
5304 2010-05-21 Tom Tromey <tromey@redhat.com>
5305
5306 * gdb.dwarf2.pieces.exp: New file.
5307 * gdb.dwarf2.pieces.S: New file.
5308 * gdb.dwarf2.pieces.c: New file.
5309
5310 2010-05-20 Pedro Alves <pedro@codesourcery.com>
5311 Joel Brobecker <brobecker@adacore.com>
5312
5313 * lib/gdb.exp (gdb_test_no_output): New function.
5314 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5315 when testing commands that should produce no output.
5316
5317 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5318
5319 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5320 parameter that we want to watch being a constant.
5321
5322 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5323
5324 * gdb.ada/cond_lang: New testcase.
5325
5326 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5327
5328 * lib/gdb.exp (banned_variables): New variable/constant.
5329 (gdb_init): Add write trace on variables listed in banned_variables.
5330 (gdb_finish): Remove write traces on variables listed in
5331 banned_variables.
5332
5333 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5334
5335 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5336 * gdb.cp/koenig.exp: Likewise.
5337
5338 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
5339
5340 PR python/11482
5341
5342 * gdb.python/py-value.exp (test_value_hash): New function.
5343
5344 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
5345
5346 PR exp/11530.
5347 * gdb.base/gdb11530.c: New file.
5348 * gdb.base/gdb11530.exp: New file.
5349
5350 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5351
5352 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5353 * gdb.dwarf2/dw2-modula2-self-type.S: New.
5354
5355 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
5356
5357 * gdb.cp/koenig.exp: New test.
5358 * gdb.cp/koenig.cc: New test program.
5359
5360 2010-05-05 Joel Brobecker <brobecker@adacore.com>
5361
5362 Remove the use of prms_id and bug_id throughout the testsuite.
5363
5364 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
5365
5366 PR exp/11349.
5367 * testsuite/gdb.cp/ref-types.exp: Add test to examine
5368 use a reference local variable.
5369
5370 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5371
5372 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5373 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
5374 variable different_dir. Move debugfile into a full directory pathname
5375 under DIFFERENT_DIR.
5376 * lib/gdb.exp (separate_debug_filename): Remove.
5377 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
5378 variable debug_dir and mkdir of it. Update function comments.
5379
5380 2010-04-29 Pedro Alves <pedro@codesourcery.com>
5381
5382 PR gdb/11557
5383
5384 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5385 files.
5386
5387 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
5388
5389 * gdb.python/py-param.exp: New File.
5390
5391 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
5392
5393 * gdb.base/default.exp: Fix "set language" test.
5394
5395 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
5396
5397 PR breakpoints/11531.
5398 * gdb.base/gdb11531.c: New file.
5399 * gdb.base/gdb11531.exp: New file.
5400
5401 2010-04-26 Tom Tromey <tromey@redhat.com>
5402
5403 * gdb.base/completion.exp: Add tests for completion and deprecated
5404 commands.
5405
5406 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5407
5408 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5409 (print /x char_array): Escape curly brackets.
5410
5411 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5412
5413 Fix deadlock on looped list of loaded shared objects.
5414 * gdb.base/solib-corrupted.exp: New.
5415
5416 2010-04-23 Doug Evans <dje@google.com>
5417
5418 * gdb.python/py-section-script.c: New file.
5419 * gdb.python/py-section-script.exp: New file.
5420 * gdb.python/py-section-script.py: New file.
5421
5422 2010-04-20 Chris Moller <cmoller@redhat.com>
5423
5424 PR 10179
5425
5426 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5427 * gdb.base/pr10179-a.c:
5428 * gdb.base/pr10179-b.c:
5429 * gdb.base/pr10179.exp: New files.
5430
5431 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5432
5433 Fix crashes on dangling display expressions.
5434 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5435 is SEP.
5436 (lib_flags): Remove the "debug" keyword.
5437 (libsepdebug): New variable for iterating new loop.
5438 (save_pf_prefix): New variable wrapping the loop.
5439 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
5440 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5441
5442 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5443
5444 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5445
5446 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5447
5448 PR stabs/11479.
5449 * gdb.stabs/gdb11479.exp: New file.
5450 * gdb.stabs/gdb11479.c: New file.
5451
5452 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5453
5454 * gdb.base/charset.c (Strin16, String32): New variables.
5455 * gdb.base/charset.exp (gdb_test): Test correct display
5456 of 16 or 32 bit strings.
5457
5458 2010-04-21 Chris Moller <cmoller@redhat.com>
5459
5460 PR 9167
5461 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5462 * gdb.cp/pr9167.cc: New file.
5463 * gdb.cp/pr9167.exp: New file.
5464
5465
5466 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
5467
5468 PR pascal/11492.
5469 * gdb.pascal/gdb11492.pas: New file.
5470 * gdb.pascal/gdb11492.exp: New file.
5471
5472 2010-04-20 Joel Brobecker <brobecker@adacore.com>
5473
5474 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
5475
5476 2010-04-20 Joel Brobecker <brobecker@adacore.com>
5477
5478 * gdb.ada/dyn_loc: New testcase.
5479
5480 2010-04-20 Chris Moller <cmoller@redhat.com>
5481
5482 PR 10867
5483
5484 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
5485 * gdb.cp/pr10687.cc: New file.
5486 * gdb.cp/pr10687.exp: New file.
5487
5488
5489 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5490 Sergio Durigan Junior <sergiodj@redhat.com>
5491
5492 * gdb.fortran/logical.exp: New testcase.
5493 * gdb.fortran/logical.f90: New file.
5494
5495 2010-04-19 Doug Evans <dje@google.com>
5496
5497 * gdb.base/help.exp (help source): Update expected output.
5498
5499 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5500
5501 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5502 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
5503 gdb_exit and return.
5504 (executable): New variable.
5505 (binfile): Use it.
5506
5507 2010-04-19 Pedro Alves <pedro@codesourcery.com>
5508
5509 PR breakpoints/8554.
5510
5511 * gdb.trace/save-trace.exp: Adjust.
5512
5513 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
5514
5515 PR corefiles/11511
5516 * gdb.arch/system-gcore.exp: New.
5517 * gdb.arch/gcore.c: Likewise.
5518
5519 2010-04-15 Doug Evans <dje@google.com>
5520
5521 * gdb.python/py-progspace.c: New file.
5522 * gdb.python/py-progspace.exp: New file.
5523
5524 * gdb.base/source.exp: Add tests for "source -s".
5525
5526 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
5527
5528 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5529 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5530 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5531 * gdb.python/py-mi.exp: New test for to_string returning None.
5532
5533 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
5534
5535 * gdb.python/py-breakpoint.c: Make result global.
5536
5537 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5538
5539 Fix non-GNU make compatibility.
5540 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5541
5542 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
5543
5544 * gdb.python/py-breakpoint.exp: New File.
5545 * gdb.python/py-breakpoint.C: Ditto.
5546
5547 2010-04-08 Stan Shebs <stan@codesourcery.com>
5548
5549 * gdb.trace/actions.exp: Clear default-collect.
5550 * gdb.trace/save-trace.exp: Clear default-collect.
5551
5552 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
5553
5554 * gdb.python/py-value: Add null string variable.
5555 (test_lazy_string): Test zero length, NULL address lazy
5556 strings.
5557
5558 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
5559
5560 * gdb.arch/i386-avx.c: New.
5561 * gdb.arch/i386-avx.exp: Likewise.
5562
5563 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5564
5565 2010-04-06 Doug Evans <dje@google.com>
5566
5567 * gdb.base/source-test.gdb: New file.
5568 * gdb.base/source.exp: Test source -v.
5569
5570 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5571
5572 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5573
5574 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
5575
5576 * gdb.stabs/aout.sed: Convert all backslash to double backslash
5577 within one line, unless it is followed by a double quote.
5578 * gdb.stabs/hppa.sed: Idem.
5579 * gdb.stabs/weird.def: Add char and String constants
5580 * gdb.stabs/weird.exp: Check for correct parsing of
5581 char and string constants.
5582 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5583 in .stabs to .stabx substitution.
5584
5585 2010-04-05 Stan Shebs <stan@codesourcery.com>
5586
5587 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5588 constant global.
5589 * gdb.trace/tfile.exp: Try to print them.
5590
5591 2010-04-04 Stan Shebs <stan@codesourcery.com>
5592
5593 * gdb.base/completion.exp: Update for new "info watchpoints".
5594 * gdb.base/default.exp: Ditto.
5595 * gdb.base/help.exp: Ditto.
5596 * gdb.base/watchpoint.exp: Ditto.
5597 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
5598
5599 2010-04-04 Stan Shebs <stan@codesourcery.com>
5600
5601 * gdb.trace/tfile.exp: Sharpen tfind test.
5602
5603 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5604
5605 * gdb.base/break-entry.exp: New.
5606
5607 2010-04-02 Hui Zhu <teawater@gmail.com>
5608 Michael Snyder <msnyder@vmware.com>
5609
5610 * gdb.reverse/i386-sse-reverse.exp: New file.
5611 * gdb.reverse/i386-sse-reverse.c: New file.
5612
5613 2010-04-02 Pedro Alves <pedro@codesourcery.com>
5614
5615 * gdb.trace/tfind.exp: Adjust expected disassembly output.
5616
5617 2010-04-01 Stan Shebs <stan@codesourcery.com>
5618
5619 * gdb.trace/actions.exp: Tweak expected output.
5620 * gdb.trace/while-stepping.exp: Tweak expected output.
5621
5622 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
5623
5624 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5625
5626 2010-04-01 Pedro Alves <pedro@codesourcery.com>
5627
5628 * gdb.base/commands.exp: Adjust.
5629 * gdb.cp/extern-c.exp: Adjust.
5630
5631 2010-04-01 Pedro Alves <pedro@codesourcery.com>
5632
5633 * gdb.trace/collection.c (local_test_func): Define a local struct,
5634 and instanciate it.
5635
5636 2010-04-01 Pedro Alves <pedro@codesourcery.com>
5637
5638 * gdb.trace/collection.exp (gdb_collect_args_test)
5639 (gdb_collect_argarray_test): XFAIL the tests that assume the
5640 argarray argument's elements are collected.
5641
5642 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5643
5644 * gdb.dwarf2/dw2-bad-parameter-type.exp,
5645 gdb.dwarf2/dw2-bad-parameter-type.S: New.
5646
5647 2010-03-31 Stan Shebs <stan@codesourcery.com>
5648
5649 * gdb.trace/save-trace.exp: Test save/restore of default-collect
5650 and tracepoint conditionals.
5651 (gdb_verify_tracepoints): Delete unused return.
5652
5653 2010-03-26 Keith Seitz <keiths@redhat.com>
5654
5655 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5656 appear in the output before main.
5657 Remove KFAIL for gdb/2215 aka bz 9320.
5658
5659 2010-03-30 Doug Evans <dje@google.com>
5660
5661 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5662 by dejagnu.
5663 * gdb.arch/amd64-dword.exp: Ditto.
5664
5665 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5666 match.
5667 (break printf): Ditto.
5668
5669 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
5670
5671 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5672 gcc < 4.4.
5673 * gdb.cp/shadow.exp: Ditto.
5674
5675 2010-03-29 Pedro Alves <pedro@codesourcery.com>
5676
5677 * gdb.trace/collection.exp (run_trace_experiment): Make sure
5678 "tstart" is silent.
5679
5680 2010-03-29 Pedro Alves <pedro@codesourcery.com>
5681
5682 * gdb.trace/collection.exp (executable): New.
5683 (binfile): Use it.
5684 (fpreg, spreg, pcreg): New.
5685 (test_register): Use gdb_test_multiple. Pass /x to print.
5686 (prepare_for_trace_test): New.
5687 (run_trace_experiment): Use "continue", not gdb_run_cmd.
5688 (gdb_collect_args_test, gdb_collect_argstruct_test)
5689 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5690 prepare_for_trace_test.
5691 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
5692 fpreg, spreg and pcreg.
5693 (gdb_collect_expression_test, gdb_collect_globals_test): Use
5694 prepare_for_trace_test.
5695 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
5696 try to detect tracing support here. Don't set breakpoints at
5697 `begin' or `end' here.
5698 <global scope>: Use clean_restart. Run to main before checking
5699 for tracing support. Check for for tracing support here.
5700
5701 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5702
5703 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5704 " as $displacement" to "seen displacement message".
5705
5706 2010-03-28 Pedro Alves <pedro@codesourcery.com>
5707
5708 * gdb.trace/while-dyn.exp (executable): New variable.
5709 (binfile): Use it.
5710 (test_while_stepping): New function. Move most tests here. Call
5711 it once for each of the while-stepping, stepping and ws aliases.
5712
5713 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5714
5715 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5716 that do not provide the tagless_struct type name at all.
5717 (test_print_anon_union): Do not check value of uninitialized
5718 union member. Do not use cp_test_ptype_class, so we can accept
5719 "long" as well as "long int".
5720
5721 2010-03-26 Pedro Alves <pedro@codesourcery.com>
5722
5723 * gdb.trace/tfile.c (tohex, bin2hex): New.
5724 (write_error_trace_file): Hexify error description.
5725
5726 2010-03-25 Stan Shebs <stan@codesourcery.com>
5727
5728 * gdb.trace/tfile.c: Generate an additional trace file, improve
5729 portability.
5730 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5731 files in a better way.
5732
5733 2010-03-25 Keith Seitz <keiths@redhat.com>
5734
5735 * gdb.java/jprint.exp: XFAIL printing of static class members
5736 because of GCC debuginfo problem.
5737
5738 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5739
5740 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5741
5742 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5743
5744 * gdb.base/completion.exp: Allow long instead of long int.
5745 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5746 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
5747 variable p.
5748 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5749 * gdb.base/pointers.exp: Allow long instead of long int.
5750 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5751 * gdb.base/step-line.exp: Allow a directory before the source file name.
5752
5753 2010-03-24 Tom Tromey <tromey@redhat.com>
5754
5755 PR breakpoints/9352:
5756 * gdb.base/default.exp: Update.
5757 * gdb.base/commands.exp: Update.
5758 * gdb.cp/extern-c.exp: Test setting commands on multiple
5759 breakpoints at once.
5760
5761 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5762
5763 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5764 if gdb,nosignals.
5765 * gdb.base/watchpoints.c: Do not include unnecessary headers.
5766 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5767 exited".
5768
5769 2010-03-24 Stan Shebs <stan@codesourcery.com>
5770
5771 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5772
5773 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5774
5775 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5776 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5777 argument. Handle "short" and "long".
5778 (Top level): Pass overprototyped output for old_fptr and xptr.
5779
5780 2010-03-23 Pedro Alves <pedro@codesourcery.com>
5781
5782 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5783 format strings and add casts to avoid compiler warnings.
5784
5785 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
5786
5787 * lib/trace-support.exp (gdb_trace_setactions):
5788 Don't expect whitespace after ">" prompt.
5789 * gdb.trace/actions.exp: Adjust for output changes.
5790 * gdb.trace/while-stepping.exp: Likewise.
5791
5792 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5793
5794 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5795 and r157645).
5796
5797 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5798
5799 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5800 New.
5801
5802 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
5803
5804 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5805 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5806
5807 2010-03-19 Stan Shebs <stan@codesourcery.com>
5808
5809 * gdb.trace/ax.exp: New file.
5810
5811 2010-03-19 Doug Evans <dje@google.com>
5812
5813 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5814 output from gcc.
5815
5816 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5817 named /usr/sbin/prelink<foo>.
5818
5819 2010-03-18 Stan Shebs <stan@codesourcery.com>
5820
5821 * gdb.trace/circ.exp: Test circular-trace-buffer.
5822 * gdb.trace/tfile.exp: Update tstatus test.
5823
5824 2010-03-18 Joel Brobecker <brobecker@adacore.com>
5825
5826 * gdb.dwarf2/dw2-anonymous-func.S: New file.
5827 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5828
5829 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5830
5831 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5832
5833 2010-03-18 Pedro Alves <pedro@codesourcery.com>
5834
5835 * gdb.base/default.exp: Adjust the expected output of the finish
5836 and until commands when the inferior is not being run.
5837
5838 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
5839
5840 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5841 * gdb.cp/nsusing.exp: Ditto.
5842
5843 2010-03-15 Tom Tromey <tromey@redhat.com>
5844
5845 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5846 * gdb.cp/userdef.cc (operator==): New function.
5847 (main): New locals mem1, mem2.
5848
5849 2010-03-15 Jie Zhang <jie@codesourcery.com>
5850
5851 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5852 Declare and use new loadtimeout variable.
5853
5854 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
5855
5856 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5857 Use gdb_load later.
5858
5859 2010-03-14 Pedro Alves <pedro@codesourcery.com>
5860
5861 * gdb.base/solib-disc.c (main): Make format of fprintf a string
5862 literal. Add missing endlines to prints to stderr.
5863
5864 2010-03-12 Tom Tromey <tromey@redhat.com>
5865
5866 PR c++/9708:
5867 * gdb.cp/m-static.exp: Add regression test.
5868 * gdb.cp/m-static.cc (method): New method.
5869 (main): Call it.
5870
5871 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
5872
5873 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
5874 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
5875
5876 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5877
5878 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
5879
5880 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5881
5882 * lib/gdb.exp (skip_stl_tests): New.
5883 (gdb_compile): Symbian needs -ldl.
5884 (shlib_target_file): New.
5885 (shlib_symbol_file): New.
5886 (gdb_load_shlibs): Use shlib_target_file.
5887 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
5888 * gdb.cp/exception.exp: Use skip_stl_tests.
5889 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
5890 * gdb.cp/try_catch.exp: Use skip_stl_tests.
5891 * gdb.cp/mb-templates.exp: Ditto.
5892 * gdb.base/commands.exp: Relax regexes.
5893 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
5894 shlib_target_file and shlib_symbol_file.
5895 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
5896 sections.
5897 * gdb.base/ending-run.exp: Accept E32Main for symbian.
5898 * gdb.base/solib-disc.exp: Use
5899 shlib_target_file and shlib_symbol_file.
5900 * gdb.base/unload.exp: Don't skip on symbian. Use
5901 shlib_target_file and shlib_symbol_file.
5902 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
5903
5904 2010-03-12 Pedro Alves <pedro@codesourcery.com>
5905
5906 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
5907 * gdb.trace/report.exp: Adjust for x86 and x86_64.
5908 Issue a tfind end before looking for a tracepoint frame.
5909 * gdb.trace/tfind.exp: Adjust tstatus output.
5910 Adjust disassembly output.
5911 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
5912
5913 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5914
5915 * gdb.base/break-interp.exp: Create new displacement parameter value
5916 for the test_ld calls.
5917 (reach): New parameter displacement, verify its content. New push of
5918 pf_prefix "reach-$func:". Import global expect_out.
5919 (test_core): New parameter displacement, verify its content. New push
5920 of pf_prefix "core:". New command "set verbose on". Import global
5921 expect_out.
5922 (test_attach): New parameter displacement, verify its content. New
5923 push of pf_prefix "attach:". New command "set verbose on". Import
5924 global expect_out.
5925 (test_ld): New parameter displacement, pass it to the reach, test_core
5926 and test_attach calls and verify its content in the "ld.so exit" test.
5927 * gdb.base/prelink.exp: Remove gdb_exit and final return.
5928 (prelink): Update expected text, use gdb_test.
5929
5930 2010-03-10 Doug Evans <dje@google.com>
5931
5932 * gdb.base/checkpoint.exp: Fix comment.
5933 Lengthen timeout while doing >600 checkpoints test.
5934 Rename duplicate "kill all one" test to keep test names unique.
5935
5936 2010-03-10 Pedro Alves <pedro@codesourcery.com>
5937
5938 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
5939
5940 2010-03-08 Keith Seitz <keiths@redhat.com>
5941
5942 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
5943 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
5944 (dm_type_long): New function.
5945 (dm_type_unsigned_short): New function.
5946 (dm_type_unsigned_long): New function.
5947 (myint): New typedef.
5948 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
5949 long, unsigned shor and long, operator char*, and typedef.
5950 (test_lookup_operator_functions): Add operator char* test.
5951 (test_paddr_operator_functions): Likewise.
5952 (test_paddr_overloaded_functions): Use probe values for
5953 short, long, and unsigned short and long.
5954 (test_paddr_hairy_functions): If the demangler probe detected
5955 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
5956 demangler.
5957 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
5958 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
5959 and "print null_pmf".
5960 Add test "ptype a.*pmf".
5961 * gdb.cp/overload.exp: Allow optional "int" to appear with
5962 "short" and "long".
5963 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
5964 long expect value for men_overload1arg.
5965 Allow "int" to appear with "short" and "long".
5966 When testing "info break", add argument for main (void).
5967 Also allow "int" to appear with "short" and "long".
5968 Ditto with "unsigned" and "long long".
5969 * gdb.java/jmain.exp: Do not enclose methods names in single
5970 quotes.
5971 * gdb.java/jmisc.exp: Likewise.
5972 * gdb.java/jprint.exp: Likewise.
5973 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
5974
5975 From Jan Kratochvil <jan.kratochvil@redhat.com>:
5976 * gdb.cp/exception.exp (backtrace after first throw)
5977 (backtrace after second throw): Allow a namespace before __cxa_throw.
5978 (backtrace after first catch, backtrace after second catch): Allow
5979 a namespace before __cxa_begin_catch.
5980
5981 * gdb.cp/cpexprs.exp: New file.
5982 * gdb.cp/cpexprs.cc: New file.
5983
5984 From Daniel Jacobowitz <dan@codesourcery.com>
5985 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
5986 to use string_to_regexp.
5987 (ctor, dtor): New functions. Use them to match constructor
5988 and destructor function types.
5989 (Top level): Use runto_main.
5990
5991 2010-03-05 Tom Tromey <tromey@redhat.com>
5992
5993 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
5994 gdb.target_charset.
5995 (pp_ns.to_string): Likewise.
5996
5997 2010-03-04 Keith Seitz <keiths@redhat.com>
5998
5999 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6000 can be quoted. Test that both the filename and function/line
6001 portions can be quoted at the same time.
6002
6003 2010-03-04 Pedro Alves <pedro@codesourcery.com>
6004
6005 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6006
6007 2010-03-03 Doug Evans <dje@google.com>
6008
6009 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6010 libc contains libpthread.
6011
6012 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6013 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6014 of gdb_compile. Add another pattern to match android backtrace.
6015
6016 2010-03-03 Tom Tromey <tromey@redhat.com>
6017
6018 PR gdb/11345:
6019 * gdb.base/printcmds.exp (test_printf): Add test.
6020
6021 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6022
6023 * gdb.arch/amd64-byte.exp: New.
6024 * gdb.arch/amd64-dword.exp: Likewise.
6025 * gdb.arch/amd64-pseudo.c: Likewise.
6026 * gdb.arch/amd64-word.exp: Likewise.
6027 * gdb.arch/i386-byte.exp: Likewise.
6028 * gdb.arch/i386-pseudo.c: Likewise.
6029 * gdb.arch/i386-word.exp: Likewise.
6030
6031 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6032
6033 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6034 types. Add structreg, bitfields, and flags registers.
6035 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6036 registers.
6037
6038 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6039
6040 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6041 (load_description): Set architecture if defined.
6042
6043 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6044
6045 * gdb.python/py-frame.exp: Add read_var block tests.
6046 * gdb.python/py-frame.c (block): New function.
6047
6048 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6049 Daniel Jacobowitz <dan@codesourcery.com>
6050
6051 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6052
6053 2010-02-25 David S. Miller <davem@davemloft.net>
6054
6055 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6056 fix logic for setting all_syscalls_numbers.
6057
6058 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6059
6060 * Makefile.in: Add py-block and py-symbol.
6061 * gdb.python/py-symbol.exp: New File.
6062 * gdb.python/py-symtab.exp: New File.
6063 * gdb.python/py-block.exp: New File.
6064 * gdb.python/py-symbol.c: New File.
6065 * gdb.python/py-block.c: New File.
6066
6067 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6068
6069 PR python/11314
6070 * lib/gdb.exp (skip_python_tests): New function.
6071 * gdb.python/py-cmd.exp: Use skip_python_tests.
6072 * gdb.python/py-frame.exp: Likewise.
6073 * gdb.python/py-function.exp: Likewise.
6074 * gdb.python/py-prettyprint.exp: Likewise.
6075 * gdb.python/py-template.exp: Likewise.
6076 * gdb.python/py-type.exp: Likewise.
6077 * gdb.python/py-value.exp: Likewise.
6078
6079 2010-02-22 Pedro Alves <pedro@codesourcery.com>
6080
6081 PR9605
6082
6083 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6084
6085 2010-02-19 Tom Tromey <tromey@redhat.com>
6086
6087 PR c++/8693, PR c++/9496:
6088 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6089 regression tests.
6090
6091 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6092
6093 Fix compatibility with m68k as.
6094 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6095 Use only /* comments */.
6096
6097 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6098
6099 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6100 * configure: Regenerate.
6101
6102 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6103
6104 * gdb.python/py-type.exp: Check for Python support.
6105
6106 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6107
6108 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6109 `regsub' syntax available.
6110
6111 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6112
6113 * gdb.base/shmain.c (main): Remove printf call.
6114 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6115 * gdb.base/unload.c (main): Make format of fprintf a string
6116 literal. Add missing endlines to prints to stderr.
6117 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6118
6119 2010-02-17 Tom Tromey <tromey@redhat.com>
6120
6121 * gdb.java/jprint.java (jprint.props): New field.
6122 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6123
6124 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6125
6126 * gdb.base/charset.exp: Don't assume new `regsub' syntax
6127 available.
6128
6129 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6130
6131 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6132 creation to support remote host testing.
6133
6134 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6135
6136 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6137 Recognize "command not found".
6138
6139 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6140
6141 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6142 single-stepping.
6143
6144 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6145
6146 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6147 if arguments are not supported.
6148
6149 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6150
6151 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6152 be const or non-const.
6153
6154 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6155
6156 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6157 mi_send_resuming_command to send -exec-continue.
6158
6159 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6160
6161 * gdb.base/list.exp (test_list_filename_and_function): Add test
6162 with single quotes.
6163 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6164 matching.
6165 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6166 Add KFAIL'd tests for PR gdb/11289.
6167
6168 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6169
6170 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6171
6172 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6173
6174 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6175 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6176 a temporary directory.
6177
6178 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6179
6180 * gdb.base/charset.exp: Use a single regular expression to match
6181 show host-charset and show target-charset output.
6182
6183 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6184
6185 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6186 "Illegal process-id" expect string more exact.
6187 (attach to digits-starting nonsense is prohibited): New.
6188
6189 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6190
6191 * gdb.base/prelink.exp (set verbose on): New.
6192
6193 2010-02-12 Tomas Holmberg <th@virtutech.com>
6194
6195 * mi-reverse.exp: New file. Test for reverse option to the
6196 following MI commands: exec-continue, exec-finish, exec-next,
6197 exec-step, exec-next-instruction, exec-step-instruction.
6198
6199 2010-02-09 Joel Brobecker <brobecker@adacore.com>
6200
6201 * gdb.ada/ptype_tagged_param: New testcase.
6202
6203 2010-02-08 Tom Tromey <tromey@redhat.com>
6204
6205 PR c++/8017:
6206 * gdb.cp/overload.exp: Add tests.
6207 * gdb.cp/overload.cc (struct K): New.
6208 (namespace N): New.
6209 (main): Call new functions.
6210 (K::staticoverload): Define.
6211
6212 2010-02-08 Chris Moller <moller@mollerware.com>
6213
6214 PR gdb/10728
6215 * gdb.cp/pr10728-x.h: New file.
6216 * gdb.cp/pr10728-x.cc: New file.
6217 * gdb.cp/pr10728-y.cc: New file.
6218 * gdb.cp/pr10728.exp: New file.
6219 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6220
6221 2010-02-08 Chris Moller <moller@mollerware.com>
6222
6223 PR gdb/9067
6224 * gdb.cp/pr9067.exp: New
6225 * gdb.cp/pr9067.cc: New
6226 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6227
6228 2010-02-08 Joel Brobecker <brobecker@adacore.com>
6229
6230 * lib/gdb.exp (gdb_test_timeout): New global variable.
6231 Set it to timeout if not already set.
6232 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6233
6234 2010-02-05 Doug Evans <dje@google.com>
6235
6236 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6237 user.
6238
6239 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6240
6241 PR c++/7935:
6242 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6243
6244 2010-02-04 Tom Tromey <tromey@redhat.com>
6245
6246 * gdb.cp/virtbase.exp: Make test case names unique.
6247
6248 2010-02-02 Tom Tromey <tromey@redhat.com>
6249
6250 * gdb.cp/virtbase.exp: Add regression tests.
6251 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6252 (main): Instantiate RHC.
6253
6254 2010-02-02 Tom Tromey <tromey@redhat.com>
6255
6256 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6257 type-printing change.
6258
6259 2010-02-02 Tom Tromey <tromey@redhat.com>
6260
6261 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6262 * gdb.cp/virtbase.cc: New file.
6263 * gdb.cp/virtbase.exp: New file.
6264 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6265
6266 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6267
6268 PR libc/11214:
6269 * gdb.threads/current-lwp-dead.c: Include features.h.
6270 (HAS_NOMMU): New.
6271 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6272
6273 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6274
6275 * gdb.base/symbol-without-target_section.exp,
6276 gdb.base/symbol-without-target_section.c: New.
6277
6278 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6279
6280 * gdb.base/bigcore.exp: Reset increased timeout.
6281 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6282
6283 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6284
6285 * gdb.base/gcore.exp (capture_command_output): Use
6286 gdb_test_multiple.
6287
6288 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6289
6290 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6291 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6292 (Top level): Call it.
6293
6294 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6295
6296 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6297
6298 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6299
6300 * gdb.base/call-strs.exp, gdb.base/default.exp,
6301 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6302 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6303 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6304 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6305 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6306 * gdb.base/ending-run.exp: Correct restore of timeout.
6307 * gdb.base/page.exp: Remove unnecessary timeout setting.
6308
6309 2010-01-29 Joel Brobecker <brobecker@adacore.com>
6310
6311 * gdb.ada/rec_return: New testcase.
6312
6313 2010-01-29 Joel Brobecker <brobecker@adacore.com>
6314
6315 * gdb.ada/call_pn: New testcase.
6316
6317 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6318
6319 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6320 (Top level): Use it to resume.
6321 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6322 the Thumb mode displaced stepping error as unsupported.
6323
6324 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
6325
6326 * gdb.cp/nsusing.exp: Added more tests.
6327 * gdb.cp/nsrecurs.exp: Ditto.
6328 * gdb.cp/nsusing.cc: Added test functions.
6329 * gdb.cp/nsrecurs.cc: Ditto.
6330
6331 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6332
6333 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6334 absolute directory pathnames in gdb.sum file.
6335
6336 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
6337
6338 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6339 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6340
6341 2010-01-26 Tom Tromey <tromey@redhat.com>
6342
6343 PR exp/7643:
6344 * gdb.base/printcmds.exp (test_print_string_constants): Remove
6345 setup_kfail.
6346
6347 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
6348
6349 * gdb.cp/nsrecurs.exp: New test.
6350 * gdb.cp/nsrecurs.cc: New test program.
6351 * gdb.cp/nsstress.exp: New test.
6352 * gdb.cp/nsstress.cc: New test program.
6353 * gdb.cp/nsdecl.exp: New test.
6354 * gdb.cp/nsdecl.cc: New test program.
6355
6356 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
6357
6358 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6359 imported into file scope.
6360 Marked test as xfail.
6361 * gdb.cp/namespace-using.cc (marker5): New function.
6362 * gdb.cp/shadow.exp: New test.
6363 * gdb.cp/shadow.cc: New test program.
6364 * gdb.cp/nsimport.exp: New test.
6365 * gdb.cp/nsimport.cc: New test program.
6366
6367 2010-01-25 Tom Tromey <tromey@redhat.com>
6368
6369 PR gdb/11049:
6370 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6371 with "set print null-stop on".
6372
6373 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6374
6375 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6376 Adjust it for DISASSEMBLY_OMIT_FNAME.
6377
6378 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6379
6380 PR symtab/11199:
6381 * gdb.dwarf2/member-ptr-forwardref.exp,
6382 gdb.dwarf2/member-ptr-forwardref.S: New.
6383
6384 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6385
6386 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6387 (thread1_func): Protect thread1_tid with thread1_tid_cond by
6388 thread1_tid_mutex. Remove gdbstop_mutex handling.
6389 (thread2_func): Protect thread2_tid with thread2_tid_cond by
6390 thread2_tid_mutex. Remove gdbstop_mutex handling.
6391 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6392 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
6393 pthread_cond_wait conditionalizations by while loops.
6394
6395 2010-01-20 Tom Tromey <tromey@redhat.com>
6396
6397 PR backtrace/10770:
6398 * gdb.dwarf2/pr10770.exp: New file.
6399 * gdb.dwarf2/pr10770.c: New file.
6400 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6401
6402 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
6403
6404 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6405 that target was removed, and the test always runs native anyway.
6406
6407 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6408
6409 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6410 gdb.base/watchpoint-cond-gone-stripped.c: New.
6411
6412 2010-01-19 Tom Tromey <tromey@redhat.com>
6413
6414 PR c++/8000:
6415 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
6416 existing tests.
6417 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6418 (main): Use AAA::SomeEnum.
6419
6420 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6421
6422 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6423 (test_ignore_count): Declare line_callme_body global.
6424 (run to breakpoint with ignore count): Use line_callme_body.
6425 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6426 (set line_main_hello, set line_main_return): Reindent.
6427 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6428 New.
6429 (continue to callee4): Use line_callee4_body.
6430 (check *stopped from CLI command): Use line_callee4_next.
6431 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6432 (set line_main_hello, set line_main_return): Reindent.
6433 (set line_callee4_head, set line_callee4_body): New.
6434 (continue to callee4): Use line_callee4_body.
6435
6436 2010-01-18 Tom Tromey <tromey@redhat.com>
6437
6438 PR c++/9680:
6439 * gdb.cp/casts.cc: Add new classes and variables.
6440 * gdb.cp/casts.exp: Test new operators.
6441
6442 2010-01-18 Tom Tromey <tromey@redhat.com>
6443 Thiago Jung Bauermann <bauerman@br.ibm.com>
6444
6445 * gdb.python/source2.py: New file.
6446 * gdb.python/source1: New file.
6447 * gdb.python/python.exp: Test "source" command.
6448
6449 2010-01-15 Stan Shebs <stan@codesourcery.com>
6450
6451 * gdb.trace/tfile.c: New file.
6452 * gdb.trace/tfile.exp: New file.
6453
6454 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6455
6456 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6457
6458 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6459
6460 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6461
6462 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6463
6464 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6465 (libfunc): New parameter action. Implement also selectable "sleep".
6466 * gdb.base/break-interp-main.c: Include assert.h.
6467 (libfunc): New parameter action.
6468 (main): New parameters argc and argv. Assert argc. Pass argv.
6469 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6470 (test_attach): New proc.
6471 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
6472 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
6473
6474 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6475
6476 * gdb.base/break-interp.exp (test_core): New proc.
6477 (test_ld): Call it.
6478
6479 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6480
6481 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6482 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
6483 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
6484 and gdb_compile_shlib. Use new -Wl compiler options.
6485 (dl bt, main bt): New tests.
6486
6487 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6488
6489 Support PIEs with no symfile_objfile.
6490 * gdb.base/break-interp.exp: New argument at the test_ld calls.
6491 (test_ld): New parameter trynosym.
6492 (test_ld <$trynosym>): New block.
6493
6494 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6495
6496 * gdb.base/break-interp.exp: New file.
6497
6498 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
6499
6500 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6501 * gdb.python/py-prettyprint.py (pp_ls): New printer.
6502 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6503 test.
6504 * gdb.python/py-prettyprint.c: Define lazystring test structure.
6505 * gdb.python/py-mi.exp: Add lazy string test.
6506
6507 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
6508
6509 * lib/mi-support.exp (mi_check_thread_states): Handle
6510 core number in thread listing.
6511
6512 2010-01-12 Joel Brobecker <brobecker@adacore.com>
6513
6514 * gdb.base/maint.exp: Adjust the expected output for the
6515 "maint print type" test. Use gdb_test_multiple instead of
6516 gdb_sent/gdb_expect.
6517
6518 2010-01-11 Doug Evans <dje@google.com>
6519
6520 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6521 from gdbserver_download. All callers updated.
6522
6523 * gdb.server/ext-run.exp: "info os processes" requires xml support.
6524
6525 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6526
6527 Implement binary numbers parsing.
6528 * gdb.base/printcmds.exp (test_integer_literals_accepted)
6529 (test_integer_literals_rejected): New binary tests.
6530
6531 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6532
6533 * gdb.cell/configure: Regenerate.
6534
6535 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6536
6537 * gdb.base/corefile.exp: Move the core finding block out and call it as
6538 core_find, new variable $corefile, replace corefile by $corefile and
6539 [file tail $corefile] for usage vs. test names resp.
6540 * lib/gdb.exp (core_find): Move it as a new function here. New
6541 parameter binfile and deletefiles. New variable $destcore. Pre-delete
6542 $destcore. Return "" on error.
6543
6544 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6545
6546 Workaround PR binutils/10802.
6547 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6548 (twice).
6549
6550 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6551
6552 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6553
6554 2010-01-08 Joel Brobecker <brobecker@adacore.com>
6555
6556 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6557 call, to avoid interruption.
6558
6559 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6560
6561 * gdb.stabs/weird.def (args93): New.
6562
6563 2010-01-07 Doug Evans <dje@google.com>
6564
6565 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6566
6567 2010-01-07 Tom Tromey <tromey@redhat.com>
6568
6569 * gdb.base/source.exp: Use correct line number.
6570
6571 2010-01-05 Stan Shebs <stan@codesourcery.com>
6572
6573 * gdb.trace/tracecmd.exp: Test ftrace.
6574
6575 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6576
6577 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6578
6579 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6580
6581 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6582 "uint_for_mi_testing".
6583
6584 2010-01-01 Joel Brobecker <brobecker@adacore.com>
6585
6586 Test indented comment in file being sourced.
6587 * gdb.base/commands.exp: Test indented comment in file being sourced.
6588
6589 2010-01-01 Joel Brobecker <brobecker@adacore.com>
6590
6591 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6592 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6593 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6594 notice.
6595
6596 2010-01-01 Joel Brobecker <brobecker@adacore.com>
6597
6598 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6599 notice.
6600
6601 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6602
6603 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6604 missing $after_stopped and comma (,) expectation.
6605
6606 2009-12-31 Stan Shebs <stan@codesourcery.com>
6607
6608 * gdb.trace/actions.exp: Test teval action.
6609
6610 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6611
6612 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6613 (top level): Call test_watchpoint_in_big_blob.
6614 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6615 watchpoints.
6616 (func3): Write to buf.
6617
6618 2009-12-29 Stan Shebs <stan@codesourcery.com>
6619
6620 * gdb.trace/actions.exp: Test default-collect.
6621
6622 2009-12-28 Stan Shebs <stan@codesourcery.com>
6623
6624 * gdb.trace/tsv.exp: New file.
6625 * gdb.base/completion.exp: Update ambiguous info output.
6626
6627 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
6628
6629 * gdb.base/find.c (main): Reference search buffers.
6630 * gdb.base/included.c (main): Reference integer.
6631 * gdb.base/ptype.c (charfoo): Declare.
6632 (intfoo): Call charfoo.
6633 * gdb.base/scope0.c (useitp): New function.
6634 (usestatics): Use useitp.
6635 (useit): Add a type for val.
6636 * gdb.base/scope1.c (useit1): Take a pointer argument.
6637 (usestatics1): Update calls to useit1.
6638 * gdb.cp/call-c.cc: Declare foo.
6639 (main): Call foo.
6640 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6641 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6642 (main): Call C::ensureRefs and ensureOtherRefs.
6643 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6644 variables.
6645 (ensureOtherRefs): New function.
6646 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6647 * gdb.cp/templates.cc (main): Call t5i.value.
6648
6649 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6650
6651 Fix compatibility with G++-4.5.
6652 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6653 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6654 (uncaught return): Remove.
6655
6656 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6657 Phil Muldoon <pmuldoon@redhat.com>
6658
6659 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6660 (bp_location13, bp_location14, bp_location17, bp_location18)
6661 (marker3_proto, marker4_proto): New variables.
6662 (breakpoint info): Update output.
6663 (run until breakpoint at marker3, run until breakpoint at marker4): New
6664 tests.
6665
6666 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6667
6668 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6669 Replace the printf call of Y by provided "y-set-1" label. New block
6670 for the second shared library.
6671 * gdb.base/unload.exp: Compile also the second library, call
6672 gdb_load_shlibs also for it. Use now gdb_breakpoint.
6673 (single pending breakpoint info): Rename to ...
6674 (pending breakpoint info before run): ... this extended test.
6675 (libfile2, libname2, libsrcfile2, libsrc2)
6676 (lib_sl2): New variables.
6677 (exec_opts): Set also SHLIB_NAME2.
6678 (pending breakpoint info on first run at shrfunc1)
6679 (pending breakpoint info on second run at shrfunc1)
6680 (pending breakpoint info on second run at shrfunc2)
6681 (print y from libfile, print y from libfile2): New tests.
6682 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6683 * gdb.base/unloadshr2.c: New.
6684
6685 2009-12-22 Hui Zhu <teawater@gmail.com>
6686
6687 * gdb.reverse/sigall-reverse.exp: Adjust.
6688
6689 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
6690
6691 PR gdb/10884
6692
6693 * gdb.mi/var-cmd.c (do_bitfield_tests): New
6694 (main): Call do_bitfield_tests.
6695 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
6696
6697 2009-12-20 Joel Brobecker <brobecker@adacore.com>
6698
6699 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6700 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6701 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6702 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6703 gdb.modula2/unbounded1.c: Update copyright header.
6704
6705 2009-12-10 Chris Moller <moller@mollerware.com>
6706
6707 PR gdb/9399
6708 * gdb.cp/virtfunc2.exp: New tests
6709 * gdb.cp/virtfunc2.cc: New tests
6710 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6711
6712 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
6713
6714 * gdb.reverse/i387-env-reverse.c: New file.
6715 * gdb.reverse/i387-env-reverse.exp: New file.
6716 * gdb.reverse/i387-stack-reverse.c: New file.
6717 * gdb.reverse/i387-stack-reverse.exp: New file.
6718
6719 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
6720
6721 * gdb.python/py-type.exp (test_range): New test.
6722
6723 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
6724
6725 PR python/10805
6726
6727 * gdb.python/py-type.exp: New file.
6728 * gdb.python/py-type.c: New file.
6729 * Makefile.in: Add py-type.
6730
6731 2009-12-03 Tom Tromey <tromey@redhat.com>
6732
6733 * gdb.python/py-value.exp (test_parse_and_eval): New
6734 function.
6735
6736 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6737
6738 PR gdb/11022
6739
6740 * gdb.base/pr11022.exp: New test.
6741 * gdb.base/pr11022.c: New test.
6742
6743 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6744
6745 Fix spurious false FAILs.
6746 * gdb.base/structs.c (chartest): New.
6747 (main): Fill-in chartest.
6748 * gdb.base/structs.exp (anychar_re, first): New.
6749 (start_structs_test): Import global anychar_re and first.
6750 New gdb_test call "set print elements 300; ${testfile}"
6751 (start_structs_test <$first>): New block.
6752 (any): Import global anychar_re. New variable ac. Use ${ac}.
6753
6754 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6755
6756 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6757
6758 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6759
6760 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6761 Force $srcfile file.
6762 * gdb.base/foll-fork.c (callee): Comment out the printf call.
6763
6764 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6765
6766 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6767 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6768 * gdb.threads/watchthreads-reorder.exp: Likewise.
6769
6770 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
6771
6772 PR gdb/8704
6773
6774 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6775 "if", and "thread". Correct matching in the previous test.
6776
6777 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
6778
6779 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6780
6781 2009-11-23 Michael Snyder <msnyder@vmware.com>
6782
6783 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6784 * gdb.reverse-watch-precsave.exp: Ditto.
6785
6786 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
6787
6788 * gdb.asm/asm-source.exp: Adjust.
6789 * gdb.base/help.exp: Adjust.
6790
6791 2009-11-22 Pedro Alves <pedro@codesourcery.com>
6792
6793 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6794 (do_syscall_tests_without_xml): Set data-directory to
6795 /the/path/to/nowhere.
6796
6797 2009-11-21 Pedro Alves <pedro@codesourcery.com>
6798
6799 * gdb.threads/local-watch-wrong-thread.c,
6800 gdb.threads/local-watch-wrong-thread.exp: New files.
6801
6802 2009-11-21 Pedro Alves <pedro@codesourcery.com>
6803
6804 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6805 assume new `regsub' syntax available.
6806
6807 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6808
6809 * gdb.base/watchpoint-hw-hit-once.exp,
6810 gdb.base/watchpoint-hw-hit-once.c: New.
6811
6812 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6813
6814 * gdb.threads/watchthreads-reorder.exp,
6815 gdb.threads/watchthreads-reorder.c: New.
6816
6817 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
6818
6819 * gdb.xml/tdesc-regs.exp: Use for m68k.
6820
6821 2009-11-15 Pedro Alves <pedro@codesourcery.com>
6822
6823 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6824
6825 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6826
6827 * lib/gdb.exp (current_target_name): New procedure.
6828 (gdb_wrapper_target): New variable.
6829 (gdb_wrapper_init): Set gdb_wrapper_target.
6830 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6831 wrapper.
6832
6833 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6834
6835 * gdb.base/remote.exp: Delete the slowest load test.
6836 Do not load with fixed packet sizes.
6837
6838 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6839
6840 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6841
6842 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6843
6844 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
6845 srcfile when setting a breakpoint.
6846
6847 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
6848
6849 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6850 macros.
6851
6852 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6853
6854 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6855 to be in memory.
6856 * gdb.base/display.c (force_mem): New.
6857 (do_loops): Use it. Add breakpoint comments.
6858 (do_vars): Add a breakpoint comment.
6859 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
6860 line numbers.
6861
6862 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
6863
6864 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
6865 instead of a bare "run".
6866
6867 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6868
6869 * gdb.python/py-prettyprint.exp: Adjust.
6870
6871 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6872
6873 * lib/cell.exp (skip_cell_tests): Clean up test files before
6874 returning.
6875
6876 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6877
6878 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
6879 and the breakpoint menu. Do not call perror if a prompt is seen.
6880 Consume the following GDB prompt.
6881 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
6882 * gdb.cp/namespace.exp: Use gdb_test.
6883 * gdb.cp/templates.exp: Use gdb_test.
6884 (test_template_breakpoints): Use gdb_test_multiple.
6885
6886 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6887
6888 * gdb.base/break1.c (struct some_struct, values): Move earlier.
6889 (marker4): Reference values.
6890
6891 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6892
6893 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
6894 is missing.
6895
6896 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6897
6898 * gdb.base/break.c (need_malloc): New.
6899 * gdb.base/constvars.c (main): Reference crass and crisp.
6900 * gdb.base/gdb1821.c (main): Reference bar.
6901 * gdb.cp/gdb1355.cc (main): Reference s1.
6902 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
6903 (main): Call them.
6904 * gdb.cp/hang2.cc (dummy2): Define.
6905 * gdb.cp/hang3.cc (dummy3): Define.
6906 * gdb.cp/m-data.cc (main): Reference shadow.
6907
6908 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6909 Nathan Froyd <froydnj@codesourcery.com>
6910
6911 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
6912 remote host.
6913
6914 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
6915
6916 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
6917 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
6918 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6919 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6920 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6921 * gdb.dwarf2/dw2-producer.exp: Likewise.
6922 * gdb.dwarf2/mac-fileno.exp: Likewise.
6923 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
6924 py-prettyprint.py to the remote host.
6925 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
6926
6927 2009-11-11 Keith Seitz <keiths@redhat.com>
6928
6929 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
6930 use it instead of "Foo".
6931 * gdb.cp/classes.exp (do_tests): Add a test to access
6932 a method through a typedef'd class name.
6933
6934 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
6935
6936 * gdb.base/long_long.exp: Permit leading zeros on floating-point
6937 exponents.
6938 * gdb.base/pointers.exp: Likewise.
6939 * gdb.cp/ref-types.exp: Likewise.
6940
6941 2009-11-11 Keith Seitz <keiths@redhat.com>
6942
6943 * gdb.cp/cplusfuncs.cc (class foo): Add operators
6944 new[] and delete[].
6945 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
6946 "void".
6947 (probe_demangler): Remove all single-quoting of
6948 method and variable names.
6949 (info_func_regexp): Remove the word "void" from any
6950 occurrence of "(void)".
6951 (print_addr_2): Remove all single-quoting of
6952 method names.
6953 (print_addr_2_kfail): Likewise.
6954 (print_addr): Single-quote C function names before
6955 passing to print_addr_2.
6956 (test_paddr_operator_functions): Remove single-quoting
6957 for method names.
6958 Add tests for operator new[] and operator delete[].
6959
6960 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6961
6962 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
6963
6964 2009-11-09 Keith Seitz <keiths@redhat.com>
6965
6966 * gdb.cp/overload.exp: Add tests for resolving overloaded
6967 methods in expression parsing/evaluation.
6968
6969 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
6970
6971 * lib/gdb.exp (default_gdb_version): Use --version instead of
6972 --command.
6973
6974 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
6975
6976 * lib/gdb.exp (gdb_compile_test): New.
6977 (skip_ada_tests, skip_java_tests): New.
6978 (gdb_compile): Use gdb_compile_test for f77.
6979 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
6980 * lib/java.exp (compile_java_from_source): Remove runtests check,
6981 use gdb_compile_test to record result.
6982 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
6983 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
6984 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
6985 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
6986 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
6987 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
6988 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
6989 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
6990 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
6991 adjust gdb_compile invocations.
6992
6993 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6994
6995 * Makefile.in (abs_builddir): New.
6996 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
6997 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
6998 `$(abs_builddir)/site.exp'.
6999
7000 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7001
7002 * config/m68k-emc.exp, lib/emc-support.exp,
7003 gdb.trace/gdb_c_test.c: Delete.
7004 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7005 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7006 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7007 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7008 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7009 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7010 casing for m68k-*-elf.
7011
7012 2009-11-03 Pedro Alves <pedro@codesourcery.com>
7013
7014 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7015 * gdb.arch/i386-prologue.exp: Likewise.
7016 * gdb.arch/i386-unwind.exp: Likewise.
7017
7018 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7019
7020 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7021
7022 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7023
7024 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7025
7026 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7027
7028 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7029
7030 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7031
7032 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7033
7034 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7035
7036 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7037 * gdb.base/sepdebug2.c: New file.
7038
7039 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7040
7041 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7042 the modified warnings for catch syscall. Verify if GDB was compiled
7043 with support for lib expat, and choose which tests to run depending
7044 on this.
7045
7046 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7047
7048 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7049 that composite commands are parsed OK. And also test
7050 that breakpoint commands do work.
7051
7052 2009-10-23 Michael Snyder <msnyder@vmware.com>
7053
7054 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7055 to allow for new disassembly style.
7056
7057 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7058
7059 * gdb.asm/asm-source.exp: Adjust.
7060
7061 2009-10-22 Michael Snyder <msnyder@vmware.com>
7062
7063 * gdb.reverse/break-precsave.exp: New test.
7064 * gdb.reverse/consecutive-precsave.exp: Ditto.
7065 * gdb.reverse/finish-precsave.exp: Ditto.
7066 * gdb.reverse/i386-precsave.exp: Ditto.
7067 * gdb.reverse/machinestate-precsave.exp: Ditto.
7068 * gdb.reverse/sigall-precsave.exp: Ditto.
7069 * gdb.reverse/solilb-precsave.exp: Ditto.
7070 * gdb.reverse/step-precsave.exp: Ditto.
7071 * gdb.reverse/until-precsave.exp: Ditto.
7072 * gdb.reverse/watch-precsave.exp: Ditto.
7073
7074 2009-10-22 Michael Snyder <msnyder@vmware.com>
7075
7076 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7077 for gdb_expect. Adjust one test's expect strings for the new
7078 format of disassemble.
7079 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7080 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7081 gdb_test_multiple.
7082 * gdb.reverse/step-reverse.exp: Delete 'return'.
7083 * gdb.reverse/until-reverse.exp: Delete blank lines.
7084 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7085
7086 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7087
7088 * gdb.base/consecutive.exp: Adjust.
7089 * gdb.base/display.exp: Likewise.
7090 * gdb.base/pc-fp.exp: Likewise.
7091 * gdb.base/sigbpt.exp: Likewise.
7092
7093 2009-10-19 Michael Snyder <msnyder@vmware.com>
7094
7095 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7096 * gdb.reverse/finish-reverse.c: Ditto.
7097 * gdb.reverse/sigall-reverse.c: Ditto.
7098 * gdb.reverse/solib-reverse.c: Ditto.
7099 * gdb.reverse/step-reverse.c: Ditto.
7100 * gdb.reverse/watch-reverse.c: Ditto.
7101
7102 2009-10-19 Pedro Alves <pedro@codesourcery.com>
7103 Stan Shebs <stan@codesourcery.com>
7104
7105 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7106 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7107 "Executing new program".
7108 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7109 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7110 left listed after having been killed.
7111 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7112 * gdb.base/maint.exp: Adjust test.
7113
7114 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7115 * gdb.multi/Makefile.in: New.
7116 * gdb.multi/base.exp: New.
7117 * gdb.multi/goodbye.c: New.
7118 * gdb.multi/hangout.c: New.
7119 * gdb.multi/hello.c: New.
7120 * gdb.multi/bkpt-multi-exec.c: New.
7121 * gdb.multi/bkpt-multi-exec.exp: New.
7122 * gdb.multi/crashme.c: New.
7123
7124 2009-10-13 Tristan Gingold <gingold@adacore.com>
7125
7126 * gdb.base/sepdebug.exp: Check debug info are found.
7127
7128 2009-10-08 Pedro Alves <pedro@codesourcery.com>
7129
7130 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7131 bits.
7132
7133 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7134
7135 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7136
7137 2009-10-07 Joel Brobecker <brobecker@adacore.com>
7138
7139 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7140 of the comments.
7141
7142 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7143
7144 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7145 * gdb.base/annota3.exp: Idem.
7146 * gdb.base/maint.exp: Idem.
7147
7148 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7149
7150 * lib/gdb.exp (default_gdb_init): Set current value of match_max
7151 to default.
7152
7153 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7154
7155 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
7156 mingw and cygwin targets.
7157
7158 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7159 Pedro Alves <pedro@codesourcery.com>
7160
7161 * lib/gdb.exp (gdb_compile): Avoid adding
7162 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7163
7164 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7165
7166 * gdb.base/shr1.c: Use %p in format string.
7167 * gdb.base/unload.c: Avoid warning in fprintf.
7168 * gdb.base/watchpoint-solib.c: Idem.
7169
7170 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7171
7172 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7173 long type.
7174 (test_unlink): Correct printf string.
7175 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7176 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7177
7178 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7179
7180 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7181 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7182 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7183
7184 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7185
7186 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7187 * gdb.objc/nondebug.exp: Likewise.
7188
7189 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7190
7191 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7192 target_info setting.
7193
7194 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7195 that detect new threads during "info threads".
7196
7197 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7198
7199 * gdb.threads/manythreads.c (main): Increase thread stack size
7200 to 2*PTHREAD_STACK_MIN.
7201 * gdb.threads/multi-create.c (main): Likewise.
7202 (create_function): Likewise.
7203
7204 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7205
7206 * gdb.base/dump.exp: Pass difference of pointer types instead
7207 of integer types as offset to restore in intarr3.srec case.
7208
7209 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7210
7211 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7212
7213 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7214
7215 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7216
7217 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
7218
7219 New test for two watchpoints, with disabling of
7220 the first inserted.
7221 * testsuite/gdb.base/watchpoints.c: New file.
7222 * testsuite/gdb.base/watchpoints.exp: New file.
7223
7224 2009-09-25 Tom Tromey <tromey@redhat.com>
7225
7226 * gdb.base/charset.exp: Test utf-16 strings with Python.
7227
7228 2009-09-25 Tom Tromey <tromey@redhat.com>
7229
7230 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7231 UCS-4.
7232 * gdb.base/charset.c (utf_32_string): Rename.
7233 (init_utf32): Rename.
7234 (main): Update.
7235
7236 2009-09-22 Tom Tromey <tromey@redhat.com>
7237
7238 * gdb.python/py-function.exp: Add regression tests.
7239
7240 2009-09-21 Keith Seitz <keiths@redhat.com>
7241
7242 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7243 with invalid operator.
7244
7245 2009-09-21 Keith Seitz <keiths@redhat.com>
7246
7247 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7248 and destructor using typedef name of class.
7249 * gdb.cp/classes.cc (class Base1): Add a destructor.
7250 (base1): New typedef.
7251 (use_methods): Instanitate an object of type base1.
7252 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7253 (do_tests): Call test_template_typedef.
7254 * gdb.cp/templates.cc (Baz::~Baz): New method.
7255 (intBazOne): New typedef.
7256 (main): Instantiate intBazOne.
7257
7258 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7259
7260 PR python/10633
7261
7262 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7263 Function.
7264 (run_lang_tests): Add print elements test.
7265
7266 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7267
7268 * gdb.python/py-value.exp (test_subscript_regression): New
7269 function. Test for invalid subscripts.
7270 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7271 (ptr_ref): New function.
7272
7273 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7274
7275 * gdb.base/default.exp: Fix "show convenience".
7276
7277 2009-09-15 Tom Tromey <tromey@redhat.com>
7278
7279 * lib/mi-support.exp (mi_create_varobj): Update.
7280 (mi_create_floating_varobj): Likewise.
7281 (mi_create_dynamic_varobj): New proc.
7282 (mi_varobj_update): Update.
7283 (mi_varobj_update_with_type_change): Likewise.
7284 (mi_varobj_update_kv_helper): New proc.
7285 (mi_varobj_update_dynamic_helper): Rewrite.
7286 (mi_varobj_update_dynamic): New proc.
7287 (mi_list_varobj_children): Update.
7288 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7289 * gdb.python/python-prettyprint.py (pp_outer): New class.
7290 (pp_nullstr): Likewise.
7291 (lookup_function): Register new printers.
7292 * gdb.python/python-prettyprint.c (struct substruct): New type.
7293 (struct outerstruct): Likewise.
7294 (substruct_test): New function.
7295 (struct nullstr): New type.
7296 (string_1, string_2): New globals.
7297 (main): Add new tests.
7298 * gdb.python/python-mi.exp: Added regression tests.
7299 * gdb.mi/mi2-var-display.exp: Update.
7300 * gdb.mi/mi2-var-cmd.exp: Update.
7301 * gdb.mi/mi2-var-child.exp: Update.
7302 * gdb.mi/mi2-var-block.exp: Update.
7303 * gdb.mi/mi-var-invalidate.exp: Update.
7304 * gdb.mi/mi-var-display.exp: Update.
7305 * gdb.mi/mi-var-cmd.exp: Update.
7306 * gdb.mi/mi-var-child.exp: Update.
7307 * gdb.mi/mi-var-block.exp: Update.
7308 * gdb.mi/mi-break.exp: Update.
7309 * gdb.mi/gdb701.exp: Update.
7310
7311 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7312
7313 * Makefile.in: Inclusion of catch-syscall object.
7314 * gdb.base/catch-syscall.c: New file.
7315 * gdb.base/catch-syscall.exp: New file.
7316
7317 2009-09-12 Michael Snyder <msnyder@vmware.com>
7318
7319 * gdb.reverse/step-reverse.exp: Explicitly check for targets
7320 that can support reverse debuggnig.
7321
7322 2009-09-11 Tom Tromey <tromey@redhat.com>
7323
7324 * gdb.dwarf2/valop.S: New file.
7325 * gdb.dwarf2/valop.exp: New file.
7326
7327 2009-09-11 Mark Kettenis <kettenis@gnu.org>
7328
7329 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7330
7331 2009-09-10 Doug Evans <dje@google.com>
7332
7333 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7334 Add $gdb_prompt to second breakpoint regexp.
7335
7336 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
7337
7338 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7339 names, add missing ones.
7340 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7341 * gdb.python/py-frame.c: Rename from python-frame.c.
7342 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
7343 testfile name.
7344 * gdb.python/py-function.exp: Rename from python-function.exp.
7345 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
7346 testfile name.
7347 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7348 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7349 Adjust testfile name.
7350 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7351 * gdb.python/py-template.cc: Rename from python-template.cc.
7352 * gdb.python/py-template.exp: Rename from python-template.exp.
7353 Adjust testfile name.
7354 * gdb.python/py-value.c: Rename from python-value.c.
7355 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
7356 testfile name.
7357
7358 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7359
7360 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7361 $bpt2address.
7362 (Second breakpoint address is valid on ia64)
7363 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7364
7365 2009-09-03 Joseph Myers <joseph@codesourcery.com>
7366
7367 * gdb.base/ending-run.exp: Restrict regular expression matching
7368 line number to require closing brace following.
7369
7370 2009-09-03 Doug Evans <dje@google.com>
7371
7372 * gdb.base/store.exp (check_set): Fix typo in expected value message.
7373
7374 2009-09-02 Tom Tromey <tromey@redhat.com>
7375
7376 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7377
7378 2009-09-02 Tom Tromey <tromey@redhat.com>
7379
7380 * gdb.dwarf2/callframecfa.exp: New file.
7381 * gdb.dwarf2/callframecfa.S: New file.
7382
7383 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7384
7385 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7386 gdb.base/solib-overlap-main.c: New.
7387
7388 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
7389
7390 PR gdb/10565
7391
7392 * gdb.base/bitfields.c (struct container, container): New.
7393 (main): Initialize it and call break5.
7394 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7395
7396 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7397
7398 Support constant DW_AT_data_member_location by GCC PR debug/40659.
7399 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7400
7401 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7402
7403 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7404
7405 2009-08-26 Michael Snyder <msnyder@vmware.com>
7406
7407 * gdb.base/i386-reverse.c: New file.
7408 * gdb.base/i386-reverse.exp: New file.
7409 * gdb.base/Makefile.in: Add new files to be removed.
7410
7411 2009-08-26 Joseph Myers <joseph@codesourcery.com>
7412
7413 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7414 environment-pwd for remote host.
7415 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7416
7417 2009-08-24 Keith Seitz <keiths@redhat.com>
7418
7419 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7420 Add two new C++ completer tests which limit the output to a
7421 given class.
7422
7423 2009-08-24 Michael Snyder <msnyder@vmware.com>
7424
7425 * gdb.base/del.exp: Fix typo in comment.
7426 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7427
7428 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7429
7430 * configure: Regenerate.
7431 * gdb.hp/configure: Likewise.
7432 * gdb.hp/gdb.aCC/configure: Likewise.
7433 * gdb.hp/gdb.base-hp/configure: Likewise.
7434 * gdb.hp/gdb.compat/configure: Likewise.
7435 * gdb.hp/gdb.defects/configure: Likewise.
7436 * gdb.hp/gdb.objdbg/configure: Likewise.
7437 * gdb.stabs/configure: Likewise.
7438
7439 2009-08-19 Doug Evans <dje@google.com>
7440
7441 * gdb.base/gdbvars.c: New file.
7442 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7443
7444 2009-08-14 Pedro Alves <pedro@codesourcery.com>
7445
7446 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7447 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7448
7449 2009-08-13 Pedro Alves <pedro@codesourcery.com>
7450
7451 * gdb.base/default.exp: Adjust "set language test": it's now an
7452 enum command. Larger help string moved to "help set language".
7453 * gdb.base/help.exp: Adjust "help set language" expected output,
7454 now lists all known languages.
7455
7456 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
7457
7458 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7459 all frame arguments.
7460 * gdb.arch/altivec-regs.exp: Likewise.
7461
7462 2009-08-07 Tom Tromey <tromey@redhat.com>
7463
7464 * gdb.base/setshow.exp: Add tests for changes to set language, set
7465 check range, and set check type.
7466
7467 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
7468
7469 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7470 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
7471 Call it.
7472
7473 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7474
7475 * configure.ac: Run gdb.cell tests when appropriate.
7476 * configure: Regenerate.
7477 * lib/cell.exp: New file.
7478 * gdb.cell: New directory.
7479 * gdb.cell/configure.ac: New file.
7480 * gdb.cell/configure: New file.
7481 * gdb.cell/Makefile.in: New file.
7482 * gdb.cell/arch.exp: New file.
7483 * gdb.cell/break.c: New file.
7484 * gdb.cell/break.exp: New file.
7485 * gdb.cell/break-spu.c: New file.
7486 * gdb.cell/bt.c: New file.
7487 * gdb.cell/bt2-spu.c: New file.
7488 * gdb.cell/bt-spu.c: New file.
7489 * gdb.cell/bt.exp: New file.
7490 * gdb.cell/coremaker.c: New file.
7491 * gdb.cell/coremaker-spu.c: New file.
7492 * gdb.cell/core.exp: New file.
7493 * gdb.cell/gcore.exp: New file.
7494 * gdb.cell/data.c: New file.
7495 * gdb.cell/data.exp: New file.
7496 * gdb.cell/data-spu.c: New file.
7497 * gdb.cell/ea-cache.exp: New file.
7498 * gdb.cell/ea-cache.c: New file.
7499 * gdb.cell/ea-cache-spu.c: New file.
7500 * gdb.cell/ea-standalone.c: New file.
7501 * gdb.cell/ea-standalone.exp: New file.
7502 * gdb.cell/ea-test.c: New file.
7503 * gdb.cell/ea-test.exp: New file.
7504 * gdb.cell/f-regs.exp: New file.
7505 * gdb.cell/mem-access.c: New file.
7506 * gdb.cell/mem-access.exp: New file.
7507 * gdb.cell/mem-access-spu.c: New file.
7508 * gdb.cell/ptype.exp: New file.
7509 * gdb.cell/registers.exp: New file.
7510 * gdb.cell/size.c: New file.
7511 * gdb.cell/sizeof.exp: New file.
7512 * gdb.cell/size-spu.c: New file.
7513 * gdb.cell/solib.exp: New file.
7514 * gdb.cell/solib-symbol.exp: New file.
7515
7516 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7517
7518 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7519
7520 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7521
7522 * gdb.base/float.exp: Handle VFP registers.
7523
7524 2009-07-14 Michael Snyder <msnyder@vmware.com>
7525
7526 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7527 to bring gdb to the beginning of the calling line.
7528
7529 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7530 confusing the i386 epilogue unwinder.
7531
7532 2009-07-14 Stan Shebs <stan@codesourcery.com>
7533
7534 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7535
7536 2009-07-14 Michael Snyder <msnyder@vmware.com>
7537
7538 * gdb.reverse/step-reverse.exp (stepi into function call):
7539 Call instruction may not be first instruction in the line.
7540 (reverse stepi from a function call): Used wrong line number.
7541
7542 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7543
7544 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7545
7546 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7547
7548 Fix gdb.base/macscp.exp when using custom inputrc.
7549 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7550 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
7551 env(TERM) set.
7552 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7553 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7554
7555 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7556
7557 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7558 * gdb.base/annota1.exp (thread_test): Import global $testfile.
7559 Change the compilation target to match the testcase name.
7560 * gdb.base/sect-cmd.exp: Change the compilation target to match the
7561 testcase name.
7562 * a2-run.exp: Use for setup prepare_for_testing. Change the
7563 compilation target to match the testcase name.
7564 * gdb.base/commands.exp: Likewise.
7565 * gdb.base/finish.exp: Likewise.
7566 * gdb.base/float.exp: Likewise.
7567 * gdb.base/info-target.exp: Likewise.
7568 * gdb.base/relational.exp: Likewise.
7569 * gdb.base/term.exp: Likewise.
7570 * gdb.base/until.exp: Likewise.
7571 * gdb.base/volatile.exp: Likewise.
7572 * gdb.base/whatis-exp.exp: Likewise.
7573
7574 2009-07-11 Hui Zhu <teawater@gmail.com>
7575
7576 * gdb.base/help.exp (disassemble): Update expected help text.
7577
7578 2009-07-09 Tom Tromey <tromey@redhat.com>
7579
7580 * lib/gdb.exp: Handle TRANSCRIPT.
7581 (remote_spawn, remote_close, send_gdb): New procs.
7582
7583 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
7584
7585 * gdb.python/python-prettyprint.c: Add counted null string
7586 structure.
7587 * gdb.python/python-prettyprint.exp: Print null string. Test for
7588 embedded nulls.
7589 * gdb.python/python-prettyprint.py (pp_ns): New Function.
7590 * gdb.python/python-value.exp (test_value_in_inferior): Add
7591 variable length string fetch tests.
7592 * gdb.python/python-value.c (main): Add strings for string fetch tests.
7593
7594 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7595
7596 * gdb.base/dump.exp (inaccessible memory is reported): New test.
7597
7598 2009-07-07 Tom Tromey <tromey@redhat.com>
7599
7600 * gdb.base/call-rt-st.exp: Update for change to escape output.
7601 * gdb.base/callfuncs.exp: Likewise.
7602 * gdb.base/charset.exp: Likewise.
7603 * gdb.base/constvars.exp: Likewise.
7604 * gdb.base/long_long.exp: Likewise.
7605 * gdb.base/pointers.exp: Likewise.
7606 * gdb.base/printcmds.exp: Likewise.
7607 * gdb.base/setvar.exp: Likewise.
7608 * gdb.base/store.exp: Likewise.
7609 * gdb.cp/ref-types.exp: Likewise.
7610 * gdb.mi/mi-var-child.exp: Likewise.
7611 * gdb.mi/mi-var-display.exp: Likewise.
7612 * gdb.mi/mi2-var-display.exp: Likewise.
7613 * gdb.base/charset.exp: Test octal escape sequence length.
7614 Update for change to escape output.
7615
7616 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7617
7618 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7619
7620 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
7621
7622 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7623
7624 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7625
7626 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7627 gdbserver increasing $portnum if "Can't bind address" has been seen.
7628
7629 2009-07-05 Pedro Alves <pedro@codesourcery.com>
7630
7631 * gdb.base/ending-run.exp: Add "step out of main" pattern for
7632 mingw32ce.
7633
7634 2009-07-05 Pedro Alves <pedro@codesourcery.com>
7635
7636 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7637 VFP format.
7638
7639 2009-07-02 Pedro Alves <pedro@codesourcery.com>
7640
7641 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7642 linux. Adjust to use "inferior", "info inferiors", "detach
7643 inferior" and "kill inferior" instead of "restart", "info fork",
7644 "detach fork" and "delete fork".
7645 * gdb.base/ending-run.exp: Spell out "info".
7646 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7647 the "kill" command.
7648
7649 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7650
7651 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7652 change to prefix TLS offset in hex with 0x.
7653
7654 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7655
7656 * gdb.base/default.exp: Update test case for "x" changes.
7657
7658 2009-07-01 Tristan Gingold <gingold@adacore.com>
7659
7660 * gdb.base/bigcore.exp: Make darwin untested.
7661
7662 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7663
7664 * gdb.base/completion.exp (directory completion): Create the directory.
7665 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7666 escapeuniquesub.
7667 (directory completion 2): Expect now ${escapeuniquesub}.
7668 (Glob remaining of directory test): Remove one excessive newline.
7669 Expect the real output.
7670
7671 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7672
7673 Fix `make check//%' target after `make check' has been ran.
7674 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
7675 a mkdir call.
7676 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7677 (%/.dir): Remove.
7678
7679 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7680
7681 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7682 the expected result record.
7683
7684 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7685
7686 Remove racy FAILs relying just on the timeouts.
7687 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7688 (annotation_level 2): Remove racy FAILs.
7689
7690 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7691
7692 gdb/10275
7693 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7694
7695 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
7696
7697 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7698
7699 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
7700
7701 * gdb.mi/mi-stack.exp: Testing symbolic options
7702 to -stack-list-locals and -stack-list-arguments.
7703
7704 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7705
7706 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7707
7708 2009-06-29 Tom Tromey <tromey@redhat.com>
7709
7710 * dg-extract-results.sh: New file.
7711 * Makefile.in (FORCE_PARALLEL): New variable.
7712 (CHECK_TARGET): New conditional variable.
7713 (check): Use CHECK_TARGET.
7714 (DO_RUNTEST): New variable.
7715 (check-single): New target.
7716 (TEST_DIRS): New variable.
7717 (TEST_TARGETS): Likewise.
7718 (check-parallel): New target.
7719 (check-gdb.%): New pattern.
7720 (BASE1_FILES): New variable.
7721 (BASE2_FILES): Likewise.
7722 (check-gdb.base%): New pattern.
7723 (%/.dir): New pattern.
7724 * configure: Rebuild.
7725 * aclocal.m4 (AM_CONDITIONAL): New defun.
7726 * configure.ac: Check whether user is using GNU make.
7727 (GMAKE): New conditional.
7728
7729 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
7730
7731 * gdb.cp/namespace-nested-import.cc: New test.
7732 * gdb.cp/namespace-nested-import.exp: New test.
7733
7734 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
7735
7736 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7737 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7738 * gdb.opt/Makefile.in (EXECUTABLES): Update.
7739 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7740 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7741 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7742 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7743 gdb.opt/inline-markers.c: New files.
7744 * lib/gdb.exp (skip_inline_frame_tests): New function.
7745 (skip_inline_var_tests): New function.
7746
7747 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
7748
7749 * gdb.cp/exception.exp: Don't require $hex before inner frame in
7750 backtrace.
7751
7752 2009-06-27 Michael Snyder <msnyder@vmware.com>
7753
7754 * gdb.reverse: New directory.
7755 * gdb.reverse/break-reverse.c: New test.
7756 * gdb.reverse/break-reverse.exp: New test.
7757 * gdb.reverse/consecutive-reverse.c: New test.
7758 * gdb.reverse/consecutive-reverse.exp: New test.
7759 * gdb.reverse/finish-reverse.c: New test.
7760 * gdb.reverse/finish-reverse.exp: New test.
7761 * gdb.reverse/machinestate.c: New test.
7762 * gdb.reverse/ms1.c: New test.
7763 * gdb.reverse/machinestate.exp: New test.
7764 * gdb.reverse/Makefile.in: New file.
7765 * gdb.reverse/shr2.c: New test.
7766 * gdb.reverse/solib-reverse.c: New test.
7767 * gdb.reverse/solib-reverse.exp: New test.
7768 * gdb.reverse/step-reverse.c: New test.
7769 * gdb.reverse/step-reverse.exp: New test.
7770 * gdb.reverse/until-reverse.c: New test.
7771 * gdb.reverse/ur1.c: New test.
7772 * gdb.reverse/until-reverse.exp: New test.
7773 * gdb.reverse/watch-reverse.c: New test.
7774 * gdb.reverse/watch-reverse.exp: New test.
7775 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7776 * configure: Regenerate.
7777
7778 2009-06-26 Doug Evans <dje@google.com>
7779
7780 * gdb.base/psymtab.exp: Turn off pending breakpoints.
7781
7782 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
7783
7784 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7785 windows problem for 'file delete $binfile'.
7786
7787 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
7788
7789 * gdb.cp/namespace-using.exp: New test.
7790 * gdb.cp/namespace-using.cc: New test.
7791
7792 2009-05-20 Joel Brobecker <brobecker@adacore.com>
7793
7794 * gdb.ada/variant_record_packed_array: New testcase.
7795
7796 2009-06-23 Tom Tromey <tromey@redhat.com>
7797
7798 * gdb.base/charset.exp (test_combination): Regression test.
7799 * gdb.base/charset.c (my_wchar_t): New typedef.
7800 (myvar): New global.
7801 (main): Set myvar.
7802
7803 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
7804
7805 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7806 target.
7807
7808 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7809
7810 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7811
7812 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7813
7814 * gdb.mi/gdb680.exp: Update test for error message.
7815
7816 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7817
7818 * gdb.base/annota1.exp: Allow multiple occurrences of the
7819 frames-invalid annotation.
7820 * gdb.cp/annota2.exp: Likewise.
7821
7822 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
7823
7824 * gdb.cp/gdb2495.cc: New file.
7825 * gdb.cp/gdb2495.exp: New file.
7826
7827 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7828
7829 Report error on GDB crash during runto.
7830 * lib/gdb.exp (runto <eof>): New.
7831
7832 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
7833
7834 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7835 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7836 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7837 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7838 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7839 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7840 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7841 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7842 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7843 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7844 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7845 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7846 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7847 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7848 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7849 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7850 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7851 gdb.server/server-mon.exp, gdb.server/server-run.exp,
7852 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7853 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7854 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7855 gdb.trace/passcount.exp, gdb.trace/report.exp,
7856 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7857 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
7858 gdb.trace/while-stepping.exp: Use a unique name for the compiled
7859 executable.
7860
7861 2009-06-07 Pedro Alves <pedro@codesourcery.com>
7862
7863 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
7864 defined before referencing it.
7865
7866 2009-06-03 Doug Evans <dje@google.com>
7867
7868 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
7869 * gdb.arch/i386-see.c: Ditto.
7870
7871 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
7872
7873 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
7874 (check_macro): Return 1 if undefined.
7875 If first test fails, check if macro debug information is available,
7876 and report unsupported test if no macro information is found.
7877
7878 2009-05-29 Doug Evans <dje@google.com>
7879
7880 * gdb.threads/hand-call-in-threads.exp: New.
7881 * gdb.threads/hand-call-in-threads.c: New.
7882
7883 2009-05-29 Michael Snyder <msnyder@vmware.com>
7884
7885 * gdb.base/break-always.exp: Change "1" to "on".
7886 Add confirmation check.
7887
7888 2009-05-28 Pedro Alves <pedro@codesourcery.com>
7889
7890 * gdb.threads/threxit-hop-specific.c: New.
7891 * gdb.threads/threxit-hop-specific.exp: New.
7892 * gdb.threads/thread-execl.c: New.
7893 * gdb.threads/thread-execl.exp: New.
7894
7895 2009-05-27 Tom Tromey <tromey@redhat.com>
7896 Thiago Jung Bauermann <bauerman@br.ibm.com>
7897
7898 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
7899 (mi_child_regexp): Likewise.
7900 (mi_list_varobj_children_range): Likewise.
7901 (mi_get_features): Likewise.
7902 (mi_list_varobj_children): Rewrite.
7903 * gdb.python/python-mi.exp: New file.
7904
7905 2009-05-27 Tom Tromey <tromey@redhat.com>
7906 Thiago Jung Bauermann <bauerman@br.ibm.com>
7907 Phil Muldoon <pmuldoon@redhat.com>
7908 Paul Pluzhnikov <ppluzhnikov@google.com>
7909
7910 * gdb.python/python-prettyprint.exp: New file.
7911 * gdb.python/python-prettyprint.c: New file.
7912 * gdb.python/python-prettyprint.py: New file.
7913 * gdb.base/display.exp: print/r is now valid.
7914
7915 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
7916 Tom Tromey <tromey@redhat.com>
7917 Pedro Alves <pedro@codesourcery.com>
7918 Paul Pluzhnikov <ppluzhnikov@google.com>
7919
7920 * gdb.python/python-template.exp: New file.
7921 * gdb.python/python-template.cc: New file.
7922 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7923 tests.
7924 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7925 Call it.
7926 (test_value_after_death): New proc.
7927 * gdb.python/python-value.c (PTR): New typedef.
7928 (main): New variable 'x'.
7929
7930 2009-05-27 Tom Tromey <tromey@redhat.com>
7931
7932 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7933 tests.
7934 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7935 Call it.
7936
7937 2009-05-27 Pedro Alves <pedro@codesourcery.com>
7938
7939 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
7940
7941 2009-05-24 Pedro Alves <pedro@codesourcery.com>
7942
7943 * gdb.threads/fork-thread-pending.c: New.
7944 * gdb.threads/fork-thread-pending.exp: New.
7945
7946 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7947
7948 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
7949 * gdb.dwarf2/dw2-strp.S (a_string2): New.
7950
7951 2009-05-18 Jon Beniston <jon@beniston.com>
7952
7953 * gdb.asm/asm-source.exp: Add lm32 target.
7954
7955 2009-05-17 Pedro Alves <pedro@codesourcery.com>
7956
7957 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
7958 `gdb_get_line_number'. Call `callee' in both parent and child.
7959 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
7960 `gdb_get_line_number' instead of hardcoding line numbers.
7961 (catch_fork_unpatch_child): New procedure to test detaching
7962 breakpoints from child fork.
7963 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
7964 hardcoding line numbers.
7965 (do_fork_tests): Run `catch_fork_unpatch_child'.
7966
7967 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
7968
7969 * gdb.mi/mi-cmd-var.exp: Check that when varobj
7970 of structure type enters or leaves the scope, it
7971 is reported by -var-update.
7972
7973 2009-05-11 Doug Evans <dje@sebabeach.org>
7974
7975 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
7976 * gdb.threads/pending-step.c (main): Fix off-by-one error.
7977 * gdb.threads/schedlock.c (main): Fix off-by-one error.
7978
7979 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7980
7981 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
7982
7983 2009-04-30 Doug Evans <dje@google.com>
7984
7985 * gdb.threads/watchthreads2.exp: New testcase.
7986 * gdb.threads/watchthreads2.c: New testcase.
7987
7988 2009-04-29 Doug Evans <dje@google.com>
7989
7990 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
7991 * gdb.cp/mb-ctor.cc: Ditto.
7992 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
7993 * gdb.cp/mb-inline.h (multi_line_foo): New function.
7994 * gdb.cp/mb-inline1.cc: Call it.
7995 * gdb.cp/mb-inline2.cc: Ditto.
7996 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
7997 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
7998
7999 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8000
8001 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8002 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8003 Replace all uses of `decimal' by `nonzero'.
8004 (info macro FROM_COMMANDLINE): New test.
8005
8006 2009-04-27 Tom Tromey <tromey@redhat.com>
8007
8008 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8009
8010 2009-04-27 Doug Evans <dje@google.com>
8011
8012 * gdb.threads/watchthreads.c (main): Initialize args before starting
8013 the threads. Plus formatting cleanup.
8014 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8015 biased scheduling of one thread.
8016
8017 2009-04-27 Jerome Guitton <guitton@adacore.com>
8018
8019 * gdb.cp/templates.cc (GetMax): New template.
8020 (main): Declare two instances of GetMax.
8021 * gdb.cp/templates.exp: Add new test.
8022
8023 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8024
8025 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8026
8027 2009-04-22 Joseph Myers <joseph@codesourcery.com>
8028
8029 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8030
8031 2009-04-15 Tom Tromey <tromey@redhat.com>
8032
8033 * gdb.base/charset.exp: Add regression test.
8034
8035 2009-04-14 Joel Brobecker <brobecker@adacore.com>
8036
8037 * gdb.base/exe-lock.exp: New testcase.
8038
8039 2009-04-13 Tom Tromey <tromey@redhat.com>
8040
8041 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8042 operator on Frame.
8043
8044 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8045
8046 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8047 * gdb.server/ext-attach.exp: Likewise.
8048
8049 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8050
8051 Eliminate some sleep usage.
8052
8053 * gdb.mi/basics.c (do_nothing): New.
8054 (main): Use do_nothing instead of printf, so that
8055 not to introduce race condition between output of
8056 inferiour and output of gdb. Do not use sleep as it
8057 is not generally available on embedded targets.
8058
8059 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8060
8061 * gdb.server/ext-attach.exp: Expect an optional process id after
8062 "Detached from remote process".
8063
8064 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8065
8066 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8067 gdb.dwarf2/dw2-unresolved.exp: New.
8068
8069 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8070
8071 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8072 mi_run_to_main.
8073
8074 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8075
8076 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8077 mi_run_to_main. Skip thread exit test on remote targets.
8078 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8079 mi_run_to_main.
8080 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8081 mi_run_to_main.
8082 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8083 when expecting ^connected. Detect when the target doesn't support
8084 non-stop mode.
8085 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8086 supported. Return -1 on error, 0 on success.
8087 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8088 (mi_runto): Return mi_runto_helper's result explicitly.
8089
8090 2009-04-01 Pedro Alves <pedro@codesourcery.com>
8091
8092 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8093
8094 2009-04-01 Tom Tromey <tromey@redhat.com>
8095
8096 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8097 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8098 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8099 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8100
8101 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8102 Jan Kratochvil <jan.kratochvil@redhat.com>
8103
8104 PR gdb/931
8105 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8106 output.
8107 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8108 for gdb/931.
8109 * dw2-strp.S (DW_AT_language): Change to C++.
8110 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8111
8112 2009-03-31 Joel Brobecker <brobecker@adacore.com>
8113
8114 * gdb.ada/tasks: New testcase.
8115
8116 2009-03-30 Stan Shebs <stan@codesourcery.com>
8117
8118 * gdb.trace/actions.exp: Update to match new info trace format.
8119 * gdb.trace/deltrace.exp: Ditto.
8120 * gdb.trace/infotrace.exp: Ditto.
8121 * gdb.trace/passcount.exp: Ditto.
8122 * gdb.trace/save-trace.exp: Ditto.
8123 * gdb.trace/while-stepping.exp: Ditto.
8124 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8125
8126 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8127
8128 * gdb.python/python-frame.c: New file.
8129 * gdb.python/python-frame.exp: New file.
8130
8131 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8132
8133 * gdb.python/python-value.exp: Add tests for the address
8134 attribute.
8135
8136 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8137
8138 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8139
8140 2009-03-26 Doug Evans <dje@google.com>
8141
8142 * gdb.mi/mi-nonstop-exit.exp: New file.
8143 * gdb.mi/non-stop-exit.c: New file.
8144
8145 2009-03-26 Tom Tromey <tromey@redhat.com>
8146
8147 Update for change to prologue skipping:
8148 * gdb.mi/mi2-simplerun.exp: Update.
8149 * gdb.mi/mi2-break.exp: Update.
8150 * gdb.mi/mi-simplerun.exp: Update.
8151 * gdb.mi/mi-break.exp: Update.
8152 * gdb.base/ending-run.exp: Update.
8153
8154 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8155
8156 * gdb.python/python-value.exp (test_value_in_inferior): Test
8157 gdb.Value.is_optimized_out attribute.
8158
8159 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8160
8161 * gdb.dwarf2/dw2-noloc-main.c: New file.
8162 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8163 (.text): Remove.
8164 (.data): New.
8165 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8166 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8167 (DW_TAG_subprogram func_cu1, noloc): Remove.
8168 (main): New.
8169 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8170 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8171 (file_symbols): New procedure.
8172
8173 2009-03-25 Tom Tromey <tromey@redhat.com>
8174
8175 * gdb.base/charset.exp (valid_target_charset): New proc.
8176 Use it to skip tests on invalid charsets.
8177
8178 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8179
8180 * gdb.base/completion.exp: Add a test for directory completion.
8181
8182 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8183
8184 Fix a racy FAIL.
8185 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8186 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8187
8188 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8189
8190 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8191 * gdb.python/python-function.exp: Add test for function returning
8192 a GDB value.
8193
8194 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8195
8196 * gdb.python/python-function.exp: New file.
8197
8198 2009-03-20 Tom Tromey <tromey@redhat.com>
8199
8200 * gdb.base/store.exp: Update for change to escape output.
8201 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8202 to escape output.
8203 * gdb.base/pointers.exp: Update for change to escape output.
8204 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8205 to escape output.
8206 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8207 escape output.
8208 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8209 to escape output.
8210 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8211 escape output.
8212 * gdb.base/setvar.exp: Update for change to escape output.
8213 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8214 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8215 to escape output.
8216 (test_print_string_constants): Likewise.
8217 * gdb.base/charset.exp (valid_host_charset): Check size of
8218 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8219 cases. Handle "auto"-related output.
8220 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8221 (uvar, Uvar): New globals.
8222
8223 2009-03-19 Jerome Guitton <guitton@adacore.com>
8224
8225 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8226 deltas.
8227 * gdb.ada/fixed_points.exp: Ditto.
8228
8229 2009-03-18 Pedro Alves <pedro@codesourcery.com>
8230
8231 * return-nodebug.c: Don't include stdio.h.
8232 (init): Delete.
8233 (func): Delete definition and provide extern declaration.
8234 (t): New.
8235 (main): Don't call printf. Call func and store its result in t.
8236 * return-nodebug1.c: New.
8237 * return-nodebug.exp: Don't expect stdio output. Instead, print
8238 the global variable t. Drop printf formatters and cast types from
8239 foreach loop. Don't use prepare_for_testing. Compile
8240 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8241 define FORMAT or CAST.
8242
8243 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8244
8245 * gdb.base/solib-display.exp: Disable test for remote targers.
8246
8247 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8248
8249 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8250
8251 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8252
8253 Fix a racy FAIL.
8254 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8255 code from `follow parent, print pids'.
8256 (`follow child, print pids', `follow parent, print pids'): Call it.
8257 Replace `gdb_test "break..."' by gdb_breakpoint.
8258
8259 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8260
8261 * gdb.mi/mi-cli.exp: Adjust for output difference in
8262 sync and async modes.
8263
8264 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8265
8266 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8267 that was checked in by mistake. Remove loading of ada.exp, since
8268 this is not necessary in this case.
8269
8270 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8271
8272 * gdb.ada/ptype_arith_binop.exp: New testcase.
8273
8274 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8275
8276 * gdb.ada/mod_from_name: New testcase.
8277
8278 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8279
8280 * gdb.ada/tick_last_segv: New testcase.
8281
8282 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8283
8284 * gdb.mi/mi-cli.exp: Remove debug print.
8285
8286 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8287
8288 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8289 include the token in ^running and frame info in *stopped.
8290
8291 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8292
8293 * solib-display.exp: New file.
8294 * solib-display-main.c: New file.
8295 * solib-display-lib.c: New file.
8296
8297 2009-03-05 Pedro Alves <pedro@codesourcery.com>
8298
8299 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8300
8301 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8302
8303 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8304 (list_and_check_macro): Use more specific test name.
8305 (next to definition): Make the test names unique.
8306
8307 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8308
8309 * gdb.pascal/floats.exp: Accept approximate results everywhere.
8310
8311 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8312
8313 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8314 notifications.
8315 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8316 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8317 * lib/mi-support.exp (library_loaded_re): New.
8318 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8319
8320 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8321
8322 * gdb.gdb/observer.exp: Use test_notification observer, not
8323 normal_stop, everywhere.
8324 (test_normal_stop_notifications): Rename to...
8325 (test_notifications): ...this.
8326 (test_observer_normal_stop): Rename to...
8327 (test_observer): ...this.
8328
8329 2009-02-16 Doug Evans <dje@google.com>
8330
8331 * gdb.arch/amd64-disp-step.S (test_int3): New test.
8332 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8333 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8334 (test_prefixed_syscall,test_int3): New tests.
8335 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8336 (test_prefixed_syscall,test_int3): New tests.
8337
8338 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
8339
8340 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8341 (mi_expect_interrupt): Likewise.
8342 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8343 response.
8344
8345 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8346
8347 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8348 * gdb.base/pc-fp.exp (get_valueofx): Remove.
8349 Replace calls to get_valueofx by get_hexadecimal_valueof.
8350
8351 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8352
8353 * lib/gdb.exp (get_valueof): Accept anything as a return value.
8354 (get_integer_valueof): New procedure.
8355 (get_sizeof): Use new get_integer_value_of.
8356 * gdb.base/sizeof.exp: Replace all uses of get_valueof
8357 by get_integer_valueof.
8358
8359 2009-02-13 Tom Tromey <tromey@redhat.com>
8360
8361 * gdb.base/remote.exp (get_sizeof): Remove.
8362 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8363 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8364 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8365 * lib/gdb.exp (get_valueof): Move from long_long.exp.
8366 (get_sizeof): Likewise.
8367
8368 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8369
8370 PR fortran/9806
8371 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8372
8373 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8374
8375 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8376
8377 2009-02-06 Pedro Alves <pedro@codesourcery.com>
8378
8379 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8380
8381 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8382
8383 * gdb.python/python-cmd.exp: New file.
8384
8385 2009-02-06 Tristan Gingold <gingold@adacore.com>
8386
8387 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8388
8389 2009-02-05 Tristan Gingold <gingold@adacore.com>
8390
8391 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8392 pointer is dereferenced and use this signal name in regexp.
8393 * gdb.base/signull.exp: Ditto.
8394 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8395 * gdb.base/signull.c (main): Ditto.
8396
8397 2009-02-04 Tom Tromey <tromey@redhat.com>
8398 Thiago Jung Bauermann <bauerman@br.ibm.com>
8399
8400 * gdb.python/python-value.exp: Use `gdb.history' instead of
8401 `gdb.value_from_history'.
8402 (test_value_numeric_ops): Add test for conversion of enum constant.
8403 * gdb.python/python-value.c (enum e): New type.
8404 (evalue): New global.
8405 (main): Use argv.
8406
8407 2009-02-04 Jerome Guitton <guitton@adacore.com>
8408
8409 * gdb.ada/uninitialized_vars: New test program.
8410 * gdb.ada/uninitialized_vars.exp: New testcase.
8411
8412 2009-02-02 Tom Tromey <tromey@redhat.com>
8413
8414 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8415 * gdb.cp/pr2489.cc: Rename...
8416 * gdb.cp/pr9594.cc: ... to this.
8417
8418 2009-02-02 Tom Tromey <tromey@redhat.com>
8419
8420 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8421 * gdb.cp/pr2489.cc: New file.
8422 * gdb.cp/cpcompletion.exp: New file.
8423
8424 2009-02-02 Tom Tromey <tromey@redhat.com>
8425
8426 PR exp/9059:
8427 * gdb.cp/call-c.exp: Add regression test.
8428 * gdb.cp/call-c.cc (FooHandle): New typedef.
8429 (main): New variable 'handle'.
8430
8431 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8432
8433 * lib/mi-support.exp (et_mi_thread_list)
8434 (check_mi_and_console_threads): Adjust for current thread in
8435 -thread-list-ids output.
8436
8437 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8438
8439 * gdb.mi/mi-break.exp (test_disabled_creation): New.
8440 Call it.
8441
8442 2009-01-28 Doug Evans <dje@google.com>
8443
8444 * gdb.arch/amd64-disp-step.S: New file.
8445 * gdb.arch/amd64-disp-step.exp: New file.
8446 * gdb.arch/i386-disp-step.S: New file.
8447 * gdb.arch/i386-disp-step.exp: New file.
8448
8449 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
8450
8451 * gdb.base/find.exp: Set newline variable
8452 using quotes instead of braces to fix cygwin failures.
8453
8454 2009-01-23 Pedro Alves <pedro@codesourcery.com>
8455
8456 * gdb.base/radix.exp: Add tests to ensure that that set
8457 input-radix 0 and set output-radix 0 are really rejected.
8458
8459 2009-01-23 Pedro Alves <pedro@codesourcery.com>
8460
8461 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8462 copyright years.
8463
8464 2009-01-23 Pedro Alves <pedro@codesourcery.com>
8465
8466 PR gdb/9664:
8467 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8468
8469 2009-01-22 Pedro Alves <pedro@codesourcery.com>
8470
8471 PR c++/9631:
8472 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8473
8474 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
8475
8476 * gdb.server/file-transfer.exp: Use EXEEXT variable for
8477 binfile definition to fix Windows OS failure.
8478
8479 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8480
8481 PR gdb/9346
8482 * gdb.base/interrupt.c (sigint_handler): New.
8483 (main): Install a SIGINT handler if SIGNALS is defined. Exit
8484 on error.
8485 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8486 Test "signal SIGINT".
8487
8488 2009-01-19 Doug Evans <dje@google.com>
8489
8490 * gdb.base/break.exp: Update expected gdb output.
8491 * gdb.base/sepdebug.exp: Ditto.
8492 * gdb.mi/mi-syn-frame.exp: Ditto.
8493 * gdb.mi/mi2-syn-frame.exp: Ditto.
8494 * gdb.base/call-signal-resume.exp: New file.
8495 * gdb.base/call-signals.c: New file.
8496 * gdb.base/unwindonsignal.exp: New file.
8497 * gdb.base/unwindonsignal.c: New file.
8498 * gdb.threads/interrupted-hand-call.exp: New file.
8499 * gdb.threads/interrupted-hand-call.c: New file.
8500 * gdb.threads/thread-unwindonsignal.exp: New file.
8501
8502 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
8503
8504 * gdb.base/define.exp: Test defining and hooking prefix commands.
8505 * gdb.python/python.exp: Update test for "show user" output.
8506
8507 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8508
8509 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
8510 now the output exactly, using less wildcards. Expect also the output
8511 of gfortran-4.3. Update for the f-valprint.c modification from
8512 2008-04-22.
8513 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8514 Remove gdb_test test names where matching the command.
8515
8516 2009-01-01 Pedro Alves <pedro@codesourcery.com>
8517
8518 PR breakpoints/9681:
8519 * gdb.base/watchpoint.exp: Add regression test.
8520
8521 2008-12-31 Pedro Alves <pedro@codesourcery.com>
8522
8523 * gdb.threads/attach-into-signal.exp: Don't use
8524 gdb_suppress_entire_file.
8525 * gdb.threads/attach-stopped.exp: Ditto.
8526 * gdb.threads/attachstop-mt.exp: Ditto.
8527
8528 2008-12-31 Pedro Alves <pedro@codesourcery.com>
8529
8530 PR gdb/8812:
8531 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8532
8533 2008-12-29 Pedro Alves <pedro@codesourcery.com>
8534
8535 PR gdb/7536:
8536 * gdb.base/radix.exp: Add tests to ensure invalid input radices
8537 and unsupported output radices are really rejected.
8538
8539 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8540
8541 * gdb.cp/punctuator.exp: Backslash the '$' signs.
8542
8543 2008-12-22 Tom Tromey <tromey@redhat.com>
8544
8545 * gdb.cp/punctuator.exp: New file.
8546
8547 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8548
8549 * gdb.base/completion.exp (Completing non-existing component): New test.
8550
8551 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 Fix for PR gdb/8648.
8554 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8555 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8556 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8557 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8558
8559 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8560
8561 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8562
8563 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
8564
8565 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8566 compiler actually generate code at the expected line number.
8567
8568 2008-12-15 Jie Zhang <jie.zhang@analog.com>
8569
8570 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8571
8572 2008-12-12 Tom Tromey <tromey@redhat.com>
8573
8574 * gdb.base/commands.exp (redefine_hook_test): New proc.
8575 Call it.
8576
8577 2008-12-11 Tom Tromey <tromey@redhat.com>
8578
8579 * gdb.base/macscp.exp: New regression test.
8580
8581 2008-12-11 Tom Tromey <tromey@redhat.com>
8582
8583 * gdb.base/macscp.exp: Print "address.addr".
8584 * gdb.base/macscp1.c (struct outer): New struct.
8585 (address): New global.
8586
8587 2008-12-09 Tom Tromey <tromey@redhat.com>
8588
8589 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8590 Call it.
8591
8592 2008-12-04 Doug Evans <dje@google.com>
8593
8594 * gdb.server/ext-run.exp: Relax regexp for init program.
8595
8596 2008-12-03 Tristan Gingold <gingold@adacore.com>
8597
8598 * gdb.base/macscp.exp: Generate an object file during compilation
8599 to work around Darwin dsymutil limitations.
8600
8601 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8602
8603 Test resolving external references to TLS variables.
8604 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8605 FILE2_THREAD_LOCAL.
8606 (testfile2, srcfile2): New variables.
8607 * gdb.threads/tls.c (file2_thread_local)
8608 (function_referencing_file2_thread_local): New.
8609 * gdb.threads/tls2.c: New file.
8610
8611 2008-11-28 Joel Brobecker <brobecker@adacore.com>
8612
8613 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
8614 rather than integer, as integer might not be big enough when
8615 on 64bit targets.
8616
8617 2008-11-27 Jerome Guitton <guitton@adacore.com>
8618
8619 * gdb.cp/formatted-ref.exp: Add equality test.
8620 * gdb.ada/formatted_ref.exp: Ditto.
8621
8622 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8623
8624 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8625 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8626
8627 2008-11-20 Andreas Schwab <schwab@suse.de>
8628
8629 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8630 matching syscall entry point.
8631 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8632 (tcatch_vfork_then_child_follow): Likewise. Finish through
8633 vfork even if we stopped at the syscall trampoline.
8634
8635 2008-11-20 Doug Evans <dje@google.com>
8636
8637 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8638
8639 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
8640
8641 * gdb.arch/ppc-dfp.exp: New file.
8642 * gdb.arch/ppc-dfp.c: New file.
8643
8644 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8645
8646 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
8647
8648 2008-11-17 Doug Evans <dje@google.com>
8649
8650 * gdb.mi/mi-syn-frame.exp: Update expected output.
8651 * gdb.mi/mi2-syn-frame.exp: Update expected output.
8652
8653 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8654
8655 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
8656 "thread N" results in =thread-selected.
8657 * lib/mi-support (mi_run_cmd, mi_expect_stop)
8658 (mi_send_resuming_command_raw): Be prepared for
8659 =thread-selected.
8660
8661 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8662
8663 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8664 * lib/mi-support.exp: Likewise.
8665
8666 2008-11-16 Joel Brobecker <brobecker@adacore.com>
8667
8668 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8669 commands from the expected output for "help catch".
8670
8671 2008-11-15 Joel Brobecker <brobecker@adacore.com>
8672
8673 * gdb.ada/int_deref.exp: New testcase.
8674
8675 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
8676
8677 * gdb.mi/gdb2549.exp: New file.
8678
8679 2008-11-11 Doug Evans <dje@google.com>
8680
8681 * gdb.base/callexit.exp: New file.
8682 * gdb.base/callexit.c: New file.
8683
8684 2008-11-10 Doug Evans <dje@google.com>
8685
8686 * lib/gdb.exp (GDBFLAGS): Move -nx ...
8687 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
8688 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8689 (default_gdb_start,default_gdb_exit): Ditto.
8690 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8691 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8692 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8693 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8694 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8695 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8696
8697 2008-11-03 Andreas Schwab <schwab@suse.de>
8698
8699 * gdb.base/hashline2.exp: Fix typo.
8700 * gdb.base/hashline3.exp: Likewise.
8701
8702 2008-10-30 Tom Tromey <tromey@redhat.com>
8703
8704 * gdb.base/pointers.exp: Add test.
8705 * gdb.base/pointers.c (k, S): New typedefs.
8706 (instance): New global.
8707
8708 2008-10-30 Andreas Schwab <schwab@suse.de>
8709
8710 * gdb.base/args.exp: Add tests for newlines.
8711
8712 2008-10-30 Joel Brobecker <brobecker@adacore.com>
8713
8714 gdb.base/foll-exec.exp: Update the expected output of a couple
8715 of "info breakpoints" tests.
8716
8717 2008-10-28 Tom Tromey <tromey@redhat.com>
8718
8719 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8720
8721 2008-10-24 Pedro Alves <pedro@codesourcery.com>
8722
8723 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8724 gdb_start_cmd.
8725 Use runto_main before any test that requires execution.
8726
8727 2008-10-23 Pedro Alves <pedro@codesourcery.com>
8728
8729 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8730 instead of SIGINT.
8731
8732 2008-10-22 Joel Brobecker <brobecker@adacore.com>
8733
8734 * gdb.base/completion.exp: Update expected output following
8735 the addition of the "info tasks" command.
8736
8737 2008-10-22 Tom Tromey <tromey@redhat.com>
8738
8739 * gdb.base/exprs.exp (test_expr): Add test for string
8740 concatenation.
8741
8742 2008-10-19 Pedro Alves <pedro@codesourcery.com>
8743
8744 * configure.ac: Output gdb.python/Makefile.
8745 * configure: Regenerate.
8746 * gdb.python/Makefile.in: New.
8747
8748 2008-10-16 Joel Brobecker <brobecker@adacore.com>
8749
8750 * gdb.base/foll-fork.exp: Adjust the expected output to match
8751 the new description for fork/vfork catchpoints in the "info
8752 breakpoints" output.
8753
8754 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8755
8756 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8757
8758 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8759
8760 * gdb.python/python-value.c: New file.
8761 * gdb.python/python-value.exp: New file.
8762
8763 2008-10-15 Pedro Alves <pedro@codesourcery.com>
8764
8765 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8766
8767 2008-10-15 Denis Pilat <denis.pilat@st.com>
8768
8769 * gdb.cp/mb-ctor.exp: Fix a typo.
8770
8771 2008-10-09 Tom Tromey <tromey@redhat.com>
8772
8773 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8774 'fprintf' and 'stderr'.
8775
8776 2008-10-07 Joel Brobecker <brobecker@adacore.com>
8777
8778 * gdb.ada/ref_tick_size.exp: New testcase.
8779
8780 2008-10-06 Doug Evans <dje@google.com>
8781
8782 * gdb.dwarf2/dw2-cu-size.exp: New file.
8783 * gdb.dwarf2/dw2-cu-size.S: New file.
8784
8785 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8786 .Ltype_int for clarity.
8787
8788 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8789
8790 PR gdb/2384:
8791 * gdb.cp/gdb2384.exp: Extended to test more cases.
8792 * gdb.cp/gdb2384.cc: Likewise.
8793 * gdb.cp/gdb2384-base.h: Likewise.
8794 * gdb.cp/gdb2384-base.cc: Likewise.
8795
8796 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8797
8798 * gdb.base/maint.exp (maint print type): Remove printing
8799 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8800
8801 2008-09-30 Tom Tromey <tromey@redhat.com>
8802
8803 * gdb.base/macscp.exp: Add completion tests.
8804 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8805 (TWENTY_THREE): Likewise.
8806 (FORTY_EIGHT): Likewise.
8807
8808 2008-09-30 Tom Tromey <tromey@redhat.com>
8809
8810 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8811 everywhere.
8812 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8813
8814 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8815
8816 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8817 testcase is derived from. Fix racy dependency on an expected PID
8818 number. No longer support the testcase on Linux kernel 2.4.x.
8819
8820 2008-09-27 Tom Tromey <tromey@redhat.com>
8821
8822 * gdb.base/macscp.exp: Add tests for stringification, splicing,
8823 and varargs.
8824
8825 2008-09-22 Pedro Alves <pedro@codesourcery.com>
8826
8827 * lib/mi-support.exp (mi_expect_interrupt): New.
8828 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8829 from gdb.mi/mi-nonstop.exp.
8830 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8831 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8832 lib/mi-support.exp.
8833 Use mi_check_thread_states throughout. Avoid ".*" and do not
8834 require an anchor after -exec-run.
8835
8836 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
8837
8838 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8839 stop is pending. Avoid ".*" when two stops are pending.
8840 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8841 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8842 newlines in fullnames.
8843 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8844 (mi_expect_stop): Update comments. Only anchor in sync mode.
8845 Do not match newlines.
8846 (mi_send_resuming_command_raw): Always return status.
8847 (mi_get_stop_line): Do not match more than one line by accident.
8848 Only anchor in sync mode.
8849 (mi_run_inline_test): If -exec-next fails, give up.
8850
8851 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8852
8853 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8854 on SPU.
8855
8856 2008-09-10 Joel Brobecker <brobecker@adacore.com>
8857
8858 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
8859
8860 2008-09-10 Joel Brobecker <brobecker@adacore.com>
8861
8862 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
8863 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8864 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
8865 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8866 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
8867 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
8868 gdb.ada/interface.exp, gdb.ada/null_array.exp,
8869 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8870 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8871 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8872 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
8873 Include the "= " sequence in the expected output of print tests.
8874
8875 2008-09-10 Joel Brobecker <brobecker@adacore.com>
8876
8877 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
8878 description for boolean types.
8879
8880 2008-09-09 Pedro Alves <pedro@codesourcery.com>
8881
8882 * gdb.base/hook-stop-continue.c: New.
8883 * gdb.base/hook-stop-continue.exp: New.
8884
8885 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8886
8887 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
8888
8889 2008-09-08 Jerome Guitton <guitton@adacore.com>
8890
8891 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
8892 (stack_check_probe_2, stack_check_probe_loop_1)
8893 (stack_check_probe_loop_2): New functions.
8894 (main): Add call to these new functions.
8895 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
8896 functions, check that the breakpoint is inserted at the appropriate
8897 location.
8898 (insert_breakpoint): Slightly refine this procedure so that it can
8899 be called several times in the test.
8900
8901 2008-09-08 Jerome Guitton <guitton@adacore.com>
8902
8903 * gdb.base/stack-checking.c: New file.
8904 * gdb.base/stack-checking.exp: New file.
8905
8906 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8907
8908 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
8909 * gdb.arch/altivec-regs.exp: Likewise.
8910 * gdb.arch/vsx-regs.exp: Likewise.
8911
8912 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8913
8914 * gdb.arch/ppc-fp.exp: New file.
8915 * gdb.arch/ppc-fp.c: New file.
8916
8917 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8918
8919 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
8920 lest gcc-4.3.1 optimizes the whole thing away.
8921
8922 2008-09-04 Michael Snyder <msnyder@vmware.com>
8923
8924 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
8925 as "at" (for non-debug functions such as _start).
8926
8927 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8928
8929 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
8930 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
8931 software watchpoints.
8932 * gdb.base/watch_thread_num.exp: Likewise.
8933
8934 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
8935
8936 * gdb.arch/i386-bp_permanent.exp: New test.
8937
8938 2008-08-24 Tom Tromey <tromey@redhat.com>
8939
8940 * gdb.base/maint.exp: Update "maint print type".
8941
8942 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
8943
8944 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
8945 support. Adjust the order of "*running" notifications.
8946 * gdb.mi/non-stop.c: Don't cast from int to void* and
8947 back.
8948
8949 2008-08-20 Mark Kettenis <kettenis@gnu.org>
8950
8951 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
8952 expect to find it in the "info frame" output.
8953
8954 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
8955
8956 * gdb.base/interp.exp: Always consume both prompts.
8957
8958 2008-08-20 Pedro Alves <pedro@codesourcery.com>
8959
8960 * gdb.base/pending.exp: Test pending breakpoints without symbols
8961 loaded.
8962
8963 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8964
8965 * lib/mi-support.exp (mi_expect_stop): Produce
8966 more details on failures.
8967 * gdb.mi/mi-nonstop.exp: New.
8968 * gdb.mi/non-stop.c: New.
8969
8970 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8971
8972 * gdb.mi/mi-async.exp: Use 'set target-async'.
8973 * lib/mi-support.exp: Use 'set/show target-async'.
8974
8975 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
8976
8977 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
8978
8979 2008-08-17 Tom Tromey <tromey@redhat.com>
8980
8981 * gdb.base/help.exp (help catch): Rewrite.
8982
8983 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8984
8985 * gdb.base/define.exp: Test indented command documentation.
8986 * gdb.python/python.exp: Test indented multi-line command.
8987
8988 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
8989
8990 * testsuite/gdb.arch/vsx-regs.c: New source file.
8991 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
8992 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
8993
8994 2008-08-14 Tom Tromey <tromey@redhat.com>
8995
8996 * gdb.base/macscp.exp: Add regression test for "macro define" or
8997 "macro undef" with no arguments.
8998
8999 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9000
9001 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
9002
9003 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9004
9005 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9006
9007 2008-08-06 Tom Tromey <tromey@redhat.com>
9008
9009 * gdb.python/python.exp: New file.
9010
9011 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9012
9013 Fix for PR gdb/1543.
9014 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9015 $LOCATION.
9016 (location): New variable.
9017 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9018 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9019 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9020 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9021 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9022 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9023 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9024 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9025 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9026 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9027 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9028 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9029 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9030 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9031 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9032 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9033 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9034 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9035 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9036 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9037 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9038 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9039 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9040 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9041 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9042 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9043 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9044 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9045 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9046 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9047 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9048 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9049 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9050 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9051 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9052 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9053 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9054 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9055 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9056 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9057 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9058 gdb.base/type-opaque.exp, gdb.base/until.exp,
9059 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9060 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9061 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9062 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9063 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9064 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9065 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9066 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9067 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9068 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9069 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9070 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9071 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9072 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9073 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9074 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9075 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9076 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9077 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9078 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9079 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9080 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9081 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9082 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9083 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9084 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9085 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9086 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9087 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9088 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9089 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9090 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9091 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9092 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9093 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9094 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9095 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9096 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9097 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9098 to bug-gdb@prep.ai.mit.edu .
9099
9100 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9101
9102 * lib/mi-support.exp (mi_load_shlibs): New.
9103 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9104
9105 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9106
9107 * lib/mi-support.exp (get_mi_thread_list)
9108 (check_mi_and_console_threads): New, moved from ...
9109 * gdb.mi/mi-pthread.exp: ...here.
9110 * gdb.mi/gdb669.exp (get_mi_thread_list)
9111 (check_mi_and_console_threads): Delete.
9112 * gdb.mi/mi2-pthread.exp: Likewise.
9113
9114 2008-07-28 Tom Tromey <tromey@redhat.com>
9115
9116 * Makefile.in (just-check): Remove. Move body to...
9117 (check): ... here.
9118
9119 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9120
9121 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9122 Add a test for duplicated SIGINTs.
9123
9124 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9125
9126 * gdb.threads/schedlock.exp (get_args): Update to work for any
9127 value of NUM.
9128 (Top level): Report the number of threads that did not resume.
9129
9130 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9131
9132 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9133
9134 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9135
9136 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9137 non-MI prompt.
9138
9139 2008-07-26 Tom Tromey <tromey@redhat.com>
9140
9141 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9142 (function_struct, function_struct_ptr): New globals.
9143 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9144 function pointer in a struct.
9145
9146 2008-07-26 Tom Tromey <tromey@redhat.com>
9147
9148 * gdb.base/macscp.exp: Add test for macro lexing bug.
9149
9150 2008-07-18 Tom Tromey <tromey@redhat.com>
9151
9152 * gdb.base/macscp.exp: Add macro tests.
9153
9154 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9155
9156 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9157
9158 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9159
9160 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9161
9162 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9163
9164 * gdb.cp/class2.exp: fix for failure on spu-elf
9165
9166 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9167
9168 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
9169
9170 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9171
9172 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9173
9174 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9175
9176 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9177
9178 2008-07-11 Kevin Buettner <kevinb@redhat.com>
9179
9180 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9181 of regexp to account for changes made to GDB in the printing of
9182 byte vectors.
9183
9184 2008-07-11 Tom Tromey <tromey@redhat.com>
9185
9186 * gdb.base/completion.exp: Add 'help' completion test.
9187
9188 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9189
9190 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9191
9192 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9193
9194 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9195
9196 2008-07-09 Pedro Alves <pedro@codesourcery.com>
9197
9198 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9199
9200 2008-07-09 Pedro Alves <pedro@codesourcery.com>
9201
9202 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9203
9204 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9205
9206 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9207
9208 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9209
9210 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9211 previous commit. Add a comment.
9212
9213 2008-06-28 Pedro Alves <pedro@codesourcery.com>
9214
9215 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9216
9217 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9218
9219 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9220
9221 2008-06-27 Pedro Alves <pedro@codesourcery.com>
9222
9223 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9224 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9225 compiling an executable, link in an object that forces unbuffered
9226 output.
9227 * lib/set_unbuffered_mode.c: New file.
9228
9229 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9230
9231 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9232
9233 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9234
9235 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9236 mi_expect_stop.
9237 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9238 Demand that *running is output.
9239 (detect_async): Perform checking every time.
9240 (mi_send_resuming_command): Extract everything into...
9241 (mi_send_resuming_command_raw): ...this.
9242 (mi_expect_stop): Don't accept any output before *stopped.
9243
9244 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9245
9246 Robustify mi-simplerun.
9247 * gdb.mi/basics.c (main): Add a call to sleep.
9248 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9249 * gdb.mi/mi2-cli.exp: Likewise.
9250 * gdb.mi/mi-break.exp: Likewise.
9251
9252 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
9253
9254 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9255
9256 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9257
9258 * gdb.mi/mi-console.exp: Adjust.
9259 * gdb.mi/mi-syn-frame.exp: Adjust.
9260 * gdb.mi/mi2-console.exp: Adjust.
9261 * gdb.mi/mi2-syn-frame.exp: Adjust.
9262 * lib/mi-support.exp (mi_run_cmd): Adjust.
9263 (mi_send_resuming_command): Adjust.
9264
9265 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9266
9267 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
9268 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9269 testing of stopped.
9270 * gdb.mi/mi2-syn-frame.exp: Likewise.
9271 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9272 (async, detect_async): New.
9273 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9274 depending on if we're running in sync or async mode.
9275
9276 2008-06-09 Tom Tromey <tromey@redhat.com>
9277
9278 * gdb.base/completion.exp: New tests for field name completion
9279 with spaces, and field name completion with '->'.
9280
9281 2008-06-06 Tom Tromey <tromey@redhat.com>
9282
9283 * gdb.base/break1.c (struct some_struct): New struct.
9284 (values): New global.
9285 * gdb.base/completion.exp: Add field name completion test.
9286
9287 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9288
9289 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9290 to pointer.
9291 * gdb.cp/call-c.cc: Likewise.
9292
9293 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
9294
9295 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9296 annotation.
9297
9298 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9299 Pedro Alves <pedro@codesourcery.com>
9300
9301 * gdb.threads/execl.c, gdb.threads/execl1.c,
9302 gdb.threads/execl.exp: New tests.
9303
9304 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9305 Daniel Jacobowitz <dan@codesourcery.com>
9306
9307 * gdb.cp/exception.exp: Activate test, make it work with pending
9308 catchpoints.
9309
9310 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9311
9312 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9313
9314 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9315
9316 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9317 now printed.
9318 * gdb.mi/mi2-var-cmd.exp: Likewise.
9319
9320 2008-05-27 Andreas Schwab <schwab@suse.de>
9321
9322 * gdb.base/frame-args.exp: Handle arguments that are optimized
9323 out.
9324
9325 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
9326
9327 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9328 quiet for ppc32 and group options into a single variable.
9329
9330 2008-05-23 Joel Brobecker <brobecker@adacore.com>
9331
9332 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9333 of zero-size elements.
9334 * gdb.ada/null_array.exp: Test printing this new array.
9335
9336 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9337
9338 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9339
9340 2008-05-21 Joel Brobecker <brobecker@adacore.com>
9341
9342 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9343 of the "finish" command.
9344
9345 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
9346
9347 * gdb.base/annota1.exp: Test for new annotation.
9348
9349 2008-05-16 Pedro Alves <pedro@codesourcery.com>
9350
9351 * gdb.base/fixsection.exp: New file.
9352 * gdb.base/fixsection0.c: New file.
9353 * gdb.base/fixsection1.c: New file.
9354
9355 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9356
9357 * gdb.base/annota1.exp: Accept printf@... in place of printf.
9358 * gdb.base/annota3.exp: Likewise.
9359
9360 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
9361
9362 * gdb.base/watch_thread_num.exp: Don't run tests that require
9363 watchpoints if the target doesn't support them.
9364
9365 2008-05-12 Doug Evans <dje@google.com>
9366
9367 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9368
9369 2008-05-09 Joel Brobecker <brobecker@adacore.com>
9370
9371 * gdb.ada/assign_1.exp: New testcase.
9372
9373 2008-05-09 Doug Evans <dje@google.com>
9374
9375 * gdb.base/find.exp: New file.
9376 * gdb.base/find.c: New file.
9377
9378 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
9379
9380 * gdb.base/commands.exp (watchpoint_command_test): Handle
9381 gdb,no_hardware_watchpoints.
9382 * gdb.base/float.exp: Allow ARM targets without floating point.
9383 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9384
9385 2008-05-06 Jerome Guitton <guitton@adacore.com>
9386 Joel Brobecker <brobecker@adacore.com>
9387
9388 * gdb.ada/lang_switch: New test program.
9389 * gdb.ada/lang_switch.exp: New testcase.
9390
9391 2008-05-05 Doug Evans <dje@google.com>
9392
9393 * gdb.base/help.exp (disassemble): Update expected help text.
9394
9395 2008-05-04 Pedro Alves <pedro@codesourcery.com>
9396
9397 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9398
9399 2008-05-04 Pedro Alves <pedro@codesourcery.com>
9400
9401 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9402 different times.
9403
9404 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9405
9406 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9407 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9408 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9409 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9410
9411 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
9412
9413 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9414 notification to appear.
9415
9416 2008-05-04 Daniel Jacobowitz <dan@debian.org>
9417
9418 * gdb.base/fullname.c: New file.
9419 * gdb.base/fullname.exp: New file.
9420 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9421
9422 2008-05-03 Pedro Alves <pedro@codesourcery.com>
9423
9424 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9425 expressions with macros.
9426
9427 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9428
9429 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9430
9431 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
9432
9433 * gdb.base/completion.exp: Handle lack of other symbols beginning
9434 with "a".
9435
9436 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9437
9438 2008-05-02 Jim Blandy <jimb@codesourcery.com>
9439
9440 * gdb.asm/asmsrc1.s: Add scratch space.
9441
9442 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9443 Daniel Jacobowitz <dan@codesourcery.com>
9444
9445 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9446 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9447 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9448
9449 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
9450
9451 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9452
9453 2008-05-01 Joel Brobecker <brobecker@adacore.com>
9454
9455 * gdb.base/info-target.exp: New testcase.
9456
9457 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9458
9459 * gdb.cp/hang.exp: Use .cc instead of .C.
9460 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9461 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9462
9463 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9464
9465 * gdb.base/gdb1250.exp: Remove perror.
9466 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9467
9468 2008-04-30 Pedro Alves <pedro@codesourcery.com>
9469
9470 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9471 .2byte.
9472
9473 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
9474
9475 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
9476 (maybe_kfail): New.
9477
9478 2008-04-25 Pedro Alves <pedro@codesourcery.com>
9479
9480 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9481
9482 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9483
9484 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9485 * gdb.mi/mi2-syn-frame.exp: Likewise.
9486 * lib/mi-support.exp: Likewise.
9487
9488 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9489
9490 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9491 to specify regexp for the location to stop at.
9492 * gdb.base/break-always.c: New.
9493 * gdb.base/break-always.exp: New.
9494
9495 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9496
9497 * lib/mi-support.exp (mi_runto_helper): Adjust
9498 for the original-location field.
9499 (mi_create_breakpoint, mi_list_breakpoints): New.
9500 * gdb.mi/mi-break.exp: Adjust.
9501 * gdb.mi/mi2-break.exp: Adjust.
9502 * gdb.mi/mi-pending.exp: Adjust.
9503 * gdb.mi/mi-simplerun.exp: Adjust.
9504 * gdb.mi/mi2-simplerun.exp: Adjust.
9505 * gdb.mi/mi-syn-frame.exp: Adjust.
9506 * gdb.mi/mi2-syn-frame.exp: Adjust.
9507 * gdb.mi/mi-until.exp: Adjust.
9508 * gdb.mi/mi2-until.exp: Adjust.
9509 * gdb.mi/mi-var-display.exp: Adjust.
9510 * gdb.mi/mi2-var-display.exp: Adjust.
9511 * gdb.mi/mi-watch.exp: Adjust.
9512 * gdb.mi/mi2-watch.exp: Adjust.
9513
9514 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
9515
9516 * aclocal.m4: Add override.m4.
9517 * configure: Regenerate.
9518
9519 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
9520
9521 * gdb.mi/var-cmd.c (do_at_tests): Verify that
9522 '-var-update --all-values' reports new value even the type
9523 of a variable object has changed.
9524
9525 2008-04-18 Craig Silverstein <csilvers@google.com>
9526
9527 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9528 files.
9529
9530 2008-04-18 Joel Brobecker <brobecker@adacore.com>
9531
9532 * gdb.ada/atomic_enum: New test program.
9533 * gdb.ada/atomic_enum.exp: New testcase.
9534
9535 2008-04-17 Doug Evans <dje@google.com>
9536
9537 * gdb.opt/Makefile.in: Fix whitespace.
9538
9539 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
9540
9541 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9542
9543 2008-04-17 Doug Evans <dje@google.com>
9544
9545 * gdb.base/hashline1.exp: New testcase.
9546 * gdb.base/hashline2.exp: New testcase.
9547 * gdb.base/hashline2.exp: New testcase.
9548
9549 2008-04-17 Pedro Alves <pedro@codesourcery.com>
9550
9551 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9552
9553 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
9554
9555 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9556 temporary breakpoint to match "Temporary breakpoint".
9557 * gdb.base/break.exp (delete_breakpoints): Likewise.
9558 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9559 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9560 * gdb.base/display.exp: Likewise.
9561 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9562 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9563 * gdb.base/restore.exp (restore_tests): Likewise.
9564 * gdb.base/sepdebug.exp: Likewise.
9565 * gdb.base/watchpoint.exp: Likewise.
9566 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9567 * gdb.mi/mi-pending.exp: Likewise.
9568 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9569 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9570 * gdb.mi/mi-var-cmd.exp: Likewise.
9571 * gdb.mi/mi-var-display.exp: Likewise.
9572 * gdb.mi/mi2-cli.exp: Likewise.
9573 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9574 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9575 * gdb.mi/mi2-var-display.exp: Likewise.
9576 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9577 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9578 new "disp" field.
9579 (mi_expect_stop): Move after_reason argument to be really after
9580 reason. This is to support fix for PR2424.
9581
9582 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9583
9584 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9585
9586 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
9587
9588 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
9589 field. Add more floating varobj tests.
9590 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
9591 field.
9592 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9593 (main): Call do_at_tests.
9594 * lib/mi-support.exp (mi_create_floating_varobj)
9595 (mi_varobj_update_with_type_change): New.
9596
9597 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
9598
9599 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9600 option of -var-evaluate-expression.
9601 * gdb.mi/mi2-var-display.exp: Likewise.
9602
9603 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
9604
9605 Introduce test setup helpers.
9606 * lib/gdb.exp (build_executable, clean_restart)
9607 (prepare_for_testing): New.
9608 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9609 * gdb.base/return.exp: Likewise.
9610 * gdb.base/ending-run.exp: Likewise.
9611
9612 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
9613
9614 * gdb.mi/mi-async.exp: New test for asynchronous Machine
9615 Interface (MI) responses.
9616
9617 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
9618
9619 * gdb.cp/breakpoint.cc: New code to test conditions involving
9620 member variables.
9621 * gdb.cp/breakpoint.exp: Test condition involving member
9622 variables.
9623
9624 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
9625
9626 * lib/mi-support.exp (mi_expect_stop): New.
9627 (mi_run_cmd): Change the
9628 token. Use mi_send_resuming_command, use
9629 mi_expect_stop.
9630 (mi_execute_to_helper): Rename to mi_execute_to.
9631 (mi_send_resuming_command): Add more error patterns.
9632 (mi_wait_for_stop): Renamed to...
9633 (mi_get_stop_line): ...this.
9634 (mi_run_inline_test): Adjust.
9635
9636 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9637 * gdb.mi/mi-console.exp: Likewise.
9638 * gdb.mi/mi-pending.exp: Likewise.
9639 * gdb.mi/mi-simplerun.exp: Likewise.
9640 * gdb.mi/mi-stack.exp: Likewise.
9641 * gdb.mi/mi-stepi.exp: Likewise.
9642 * gdb.mi/mi-syn-frame.exp: Add comment.
9643 * gdb.mi/mi-until.exp: Likewise.
9644 * gdb.mi/mi-var-display.exp: Likewise.
9645 * gdb.mi/mi-watch.exp: Likewise.
9646 * gdb.mi/mi2-cli.exp: Likewise.
9647 * gdb.mi/mi2-console.exp: Likewise.
9648 * gdb.mi/mi2-simplerun.exp: Likewise.
9649 * gdb.mi/mi2-stack.exp: Likewise.
9650 * gdb.mi/mi2-stepi.exp: Likewise.
9651 * gdb.mi/mi2-until.exp: Likewise.
9652 * gdb.mi/mi2-var-display.exp: Likewise.
9653 * gdb.mi/mi2-watch.exp: Likewise.
9654
9655 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9656
9657 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9658
9659 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9660
9661 2008-04-04 Pedro Alves <pedro@codesourcery.com>
9662
9663 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9664 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9665 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9666 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9667 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9668 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9669 expect an mi error duplicated in stderr.
9670
9671 2008-04-03 Joel Brobecker <brobecker@adacore.com>
9672
9673 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9674 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9675 Add a couple of tests that verify the behavior when the new setting
9676 is set to "cancel" and "all".
9677 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9678 "ask" before we start the testing.
9679
9680 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
9681
9682 * gdb.cp/casts.cc: Add class reference variables.
9683 * gdb.cp/casts.exp: New test cases for up/down casting references.
9684
9685 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
9686
9687 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9688 instead of beginning to make an extra test pass.
9689 * gdb.mi/mi2-var-display.exp: Likewise.
9690
9691 2008-03-31 Maciej W. Rozycki <macro@mips.com>
9692
9693 * gdb.base/break.exp: Mark failures as such. Fix formatting.
9694
9695 2008-03-31 Markus Deuling <deuling@de.ibm.com>
9696 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9697
9698 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9699 value. Add xfail for older kernels.
9700
9701 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
9702
9703 Bring mi-support in line with gdb.exp.
9704 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9705 (mi_gdb_start): New function.
9706
9707 2008-03-28 Maciej W. Rozycki <macro@mips.com>
9708
9709 * gdb.mi/mi-var-cmd.exp: Fix a typo.
9710
9711 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9712
9713 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9714 * gdb.mi/mi2-var-display.exp: Likewise.
9715
9716 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9717
9718 * lib/mi-support.exp (mi_create_varobj_checked): New.
9719 (mi_list_varobj_children): Allow to check for a
9720 value.
9721 (mi_list_array_varobj_children): New.
9722
9723 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9724 and mi_list_varobj_children, as opposed to hardcoding
9725 expected strings.
9726 * gdb.mi/gdb701.exp: Likewise.
9727 * gdb.mi/gdb792.exp: Likewise.
9728 * gdb.mi/mi-var-block.exp: Likewise.
9729 * gdb.mi/mi-var-cmd.exp: Likewise.
9730 * gdb.mi/mi-var-invalidate.exp: Likewise.
9731 * gdb.mi/mi2-var-block.exp: Likewise.
9732 * gdb.mi/mi2-var-child.exp: Likewise.
9733 * gdb.mi/mi2-var-cmd.exp: Likewise.
9734 * gdb.mi/mi2-var-display.exp: Likewise.
9735
9736 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9737
9738 Fix random false FAILs on i386.
9739 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9740
9741 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9742
9743 PR gdb/544
9744 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9745
9746 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9747
9748 PR gdb/544
9749 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9750
9751 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9752
9753 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9754 fixed PR gdb/544.
9755
9756 2008-03-21 Pedro Alves <pedro@codesourcery.com>
9757
9758 * gdb.threads/fork-child-threads.exp: Test next over fork.
9759
9760 2008-03-21 Chris Demetriou <cgd@google.com>
9761
9762 * gdb.base/break.exp (rbreak junk): New test for rbreak
9763 "Junk at end of arguments" issue.
9764
9765 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9766
9767 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9768 *& to work on created array elements.
9769 (Top level): Test print $pc with a file. Test string operations
9770 without a target.
9771 * gdb.base/ptype.exp: Do not expect *& to work on created array
9772 elements.
9773
9774 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9775
9776 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9777 gdb.threads/staticthreads.exp: Update exit query.
9778
9779 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
9780
9781 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9782
9783 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
9784
9785 * gdb.base/watchpoint.c (global_ptr, func4): New.
9786 (main): Call func4.
9787 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9788 (test_inaccessible_watchpoint): New.
9789
9790 2008-02-29 Maciej W. Rozycki <macro@mips.com>
9791
9792 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9793 select the largest.
9794
9795 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9796
9797 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9798 frames-invalid annotations.
9799
9800 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
9801
9802 * gdb.base/assign.exp: avoid same output for different tests.
9803
9804 2008-02-27 Doug Evans <dje@google.com>
9805
9806 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9807 for bug 1738.
9808 (breakpoint_to_handler_entry): Ditto.
9809
9810 2008-02-27 Joel Brobecker <brobecker@adacore.com>
9811
9812 * gdb.base/ending-run.exp: Use the first line of code inside
9813 function body to test breakpoints.
9814 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9815 location where the breakpoint is inserted when using the line
9816 where a function is declared. Fix typo in the description of
9817 one of the tests.
9818 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9819
9820 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9821
9822 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
9823 tests.
9824
9825 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9826
9827 * gdb.base/args.exp: avoid same output for tests
9828 with single quotes.
9829
9830 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
9831
9832 * gdb.base/annota1.exp: Adjust for 'info break'
9833 format changes.
9834 * gdb.base/annota3.exp: Likewise.
9835 * gdb.base/break.exp: Likewise.
9836 * gdb.base/condbreak.exp: Likewise.
9837 * gdb.base/pending.exp: Likewise.
9838 * gdb.base/sepdebug.exp: Likewise.
9839 * gdb.base/unload.exp: Likewise.
9840 * gdb.cp/ovldbreak.exp: Likewise.
9841 * gdb.mi/mi-pending.exp: Likewise.
9842
9843 2008-02-07 Doug Evans <dje@google.com>
9844
9845 * gdb.cp/mb-inline.exp: New.
9846 * gdb.cp/mb-inline.h: New.
9847 * gdb.cp/mb-inline1.cc: New.
9848 * gdb.cp/mb-inline2.cc: New.
9849
9850 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
9851
9852 * gdb.pascal/floats.pas: New test program.
9853 * gdb.pascal/floats.exp: New testcase.
9854
9855 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9856
9857 * gdb.base/callfuncs.c (t_float_many_args): New function.
9858 (t_double_many_args): New function.
9859 * gdb.base/callfuncs.exp: Add tests for exceeding float
9860 and double parameters passed through the stack.
9861
9862 2008-02-05 Joel Brobecker <brobecker@adacore.com>
9863
9864 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
9865 gdb.ada/complete/foo.adb: New files.
9866 * gdb.ada/complete.exp: New testcase.
9867
9868 2008-02-03 Doug Evans <dje@google.com>
9869
9870 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
9871
9872 * gdb.cp/gdb2384.exp: New file.
9873 * gdb.cp/gdb2384.cc: New file.
9874 * gdb.cp/gdb2384-base.h: New file.
9875 * gdb.cp/gdb2384-base.cc: New file.
9876
9877 2008-02-02 Doug Evans <dje@google.com>
9878
9879 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
9880
9881 2007-02-01 Joel Brobecker <brobecker@adacore.com>
9882
9883 * gdb.ada/sym_print_name: New test program.
9884 * gdb.ada/sym_print_name.exp: New testcase.
9885
9886 2007-02-01 Joel Brobecker <brobecker@adacore.com>
9887
9888 * gdb.ada/nested/hello.adb: New file.
9889 * gdb.ada/nested.exp: New testcase.
9890 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9891
9892 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9893
9894 * gdb.mi/basic.c (return_1): New function.
9895 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
9896 don't cause future evaluations of function to report
9897 creation of internal breakpoints.
9898
9899 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9900
9901 * gdb.mi/mi-break.exp (test_error): New.
9902 Call it.
9903
9904 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
9905
9906 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
9907 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
9908
9909 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9910
9911 * gdb.pascal/integers.pas: New test program.
9912 * gdb.pascal/integers.exp: New testcase.
9913
9914 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9915
9916 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
9917
9918 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
9919
9920 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
9921 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
9922
9923 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
9924
9925 * gdb.ada/formatted_ref: New test program.
9926 * gdb.ada/formatted_ref.exp: New testcase.
9927
9928 * gdb.cp/formatted-ref.cc: New file.
9929 * gdb.cp/formatted-ref.exp: New testcase.
9930
9931 2008-01-30 Joel Brobecker <brobecker@adacore.com>
9932
9933 * gdb.base/ptype.exp: Add testing of "ptype $pc".
9934
9935 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
9936
9937 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
9938 (test_file_list_exec_source_file): Update to new macro-info field.
9939
9940 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
9941
9942 * gdb.ada/exprs: New test program.
9943 * gdb.ada/exprs.exp: New testcase.
9944
9945 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9946
9947 * dfp-test.c (DELTA, DELTA_B): New definitions.
9948 (double_val1, double_val2, double_val3, double_val4, double_val5,
9949 double_val6, double_val7, double_val8, double_val9, double_val10,
9950 double_val11, double_val12, double_val13, double_val14, dec32_val1,
9951 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
9952 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
9953 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
9954 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
9955 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
9956 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
9957 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
9958 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
9959 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
9960 dec128_val16): New global variables.
9961 (decimal_dec128_align): New function.
9962 (decimal_mixed): Likewise.
9963 (decimal_many_args_dec32): Likewise.
9964 (decimal_many_args_dec64): Likewise.
9965 (decimal_many_args_dec128): Likewise.
9966 (decimal_many_args_mixed): Likewise.
9967 * dfp-test.exp: Add tests calling new inferior functions.
9968
9969 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9970
9971 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
9972 gdb.server/ext-run.exp: New files.
9973 * lib/gdbserver-support.exp (gdbserver_download): New.
9974 (gdbserver_start): New. Update gdbserver expected
9975 output.
9976 (gdbserver_spawn): Use them.
9977 (gdbserver_start_extended): New.
9978
9979 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9980
9981 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
9982 Run on GNU/Linux.
9983 (do_exec_tests): Check for systems which do not support catchpoints.
9984 Do not match START.
9985 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
9986 Run on GNU/Linux. Enable verbose output.
9987 (check_fork_catchpoints): New.
9988 (explicit_fork_child_follow, catch_fork_child_follow)
9989 (tcatch_fork_parent_follow): Update expected messages.
9990 (do_fork_tests): Use check_fork_catchpoints.
9991 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
9992 Run on GNU/Linux. Enable verbose output.
9993 (check_vfork_catchpoints): New.
9994 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
9995 expected messages.
9996 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
9997
9998 2008-01-29 Jim Blandy <jimb@red-bean.com>
9999
10000 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10001 host' errors.
10002 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10003
10004 2008-01-29 Jim Blandy <jimb@red-bean.com>
10005
10006 * gdb.threads/sigthread.c: Use barriers to ensure that
10007 child_thread and child_thread_two are always initialized before we
10008 start to use them.
10009
10010 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10011
10012 * gdb.base/watchpoint-solib.exp: New.
10013 * gdb.base/watchpoint-solib.c: New.
10014 * gdb.base/watchpoint-solib-shr.c: New.
10015
10016 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10017
10018 * gdb.base/gdb1056.exp: Add unsigned integer test.
10019
10020 2008-01-28 Doug Evans <dje@google.com>
10021
10022 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10023
10024 2008-01-27 Jim Blandy <jimb@codesourcery.com>
10025
10026 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10027
10028 * gdb.base/expand-psymtabs.exp: Doc fix.
10029
10030 2008-01-26 Mark Kettenis <kettenis@gnu.org>
10031
10032 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10033
10034 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
10035
10036 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
10037 -var-set-format.
10038
10039 2008-01-23 Chris Demetriou <cgd@google.com>
10040
10041 * gdb.threads/thread_events.c: New testcase source file.
10042 * gdb.threads/thread_events.exp: New testcase expect file.
10043
10044 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
10045
10046 * lib/gdb.exp: Add the variable octal.
10047
10048 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
10049 -var-set-format.
10050
10051 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10052 Vladimir Prus <vladimir@codesourcery.com>
10053
10054 * gdb.base/float.exp: Allow missing floating point for m68k and
10055 PowerPC.
10056
10057 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10058
10059 * gdb.mi/basics.c: Setup for testing breakpoints
10060 ignore count.
10061 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10062 * gdb.mi/mi-cli.exp: Adjust.
10063 * gdb.mi/mi2-cli.exp: Adjust.
10064
10065 2008-01-17 Pedro Alves <pedro@codesourcery.com>
10066
10067 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10068 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10069 with dummy_ptr's address.
10070 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10071 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10072 all targets.
10073 * gdb.mi/mi2-var-child.exp: Likewise.
10074
10075 2008-01-09 Joel Brobecker <brobecker@adacore.com>
10076
10077 * gdb.ada/null_array: New test program.
10078 * gdb.ada/null_array.exp: New testcase.
10079
10080 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
10081
10082 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10083 with required float modifiers.
10084
10085 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10086
10087 * gdb.ada/funcall_param: New test program.
10088 * gdb.ada/funcall_param.exp: New testcase.
10089
10090 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10091
10092 * gdb.ada/arrayparam: New test program.
10093 * gdb.ada/arrayparam.exp: New testcase.
10094
10095 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10096
10097 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10098 landed. Should also fix random failures in the test following it.
10099
10100 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10101
10102 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10103 for expressions with decimal float values.
10104 (test_dfp_conversions): New function to test casts to and from
10105 decimal float types.
10106 Call test_dfp_conversions.
10107 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10108 elements.
10109 (main): Initialize ds.float4 and ds.double8 elements.
10110 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10111 string to new error message.
10112 (d64_set_tests): Likewise.
10113 (d128_set_tests): Likewise.
10114 Add tests for expressions with decimal float variables. Add tests for
10115 conversions to and from decimal float types.
10116
10117 2008-01-05 Joel Brobecker <brobecker@adacore.com>
10118
10119 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10120 * gdb.ada/packed_tagged.exp: New testcase.
10121
10122 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10123
10124 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10125 gdb.ada/homonym/homonym_main.adb: New files.
10126 * gdb.ada/homonym.exp: New testcase.
10127
10128 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10129
10130 * gdb.ada/packed_array.exp: Add testing of references to
10131 a packed array.
10132
10133 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10134
10135 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10136 New files.
10137 * gdb.ada/type_coercion.exp: New testcase.
10138
10139 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10140
10141 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10142 gdb.ada/tagged/foo.adb: New file.
10143 * gdb.ada/tagged.exp: New testcase.
10144
10145 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10146
10147 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10148 gdb.ada/ptype_field/foo.adb: New files.
10149 * gdb.ada/ptype_field.exp: New testcase.
10150
10151 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10152
10153 * gdb.ada/print_pc.exp: New testcase.
10154
10155 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10156
10157 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10158 gdb.ada/taft_type/p.adb: New files.
10159 * gdb.ada/taft_type.exp: New testcase.
10160
10161 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10162
10163 * gdb.ada/array_bounds/bar.adb: New file.
10164 * gdb.ada/array_bounds.exp: New testcase.
10165
10166 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10167
10168 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10169 gdb.ada/arrayptr/foo.adb: New files.
10170 * gdb.ada/arrayptr.exp: New testcase.
10171
10172 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10173
10174 * gdb.base/set-lang-auto.exp: New testcase.
10175
10176 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10177
10178 * gdb.ada/fun_addr/foo.adb: New file.
10179 * gdb.ada/fun_addr.exp: New testcase.
10180
10181 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10182
10183 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10184 New files
10185
10186 2008-01-02 Joel Brobecker <brobecker@adacore.com>
10187
10188 * array_subscript_addr/p.adb: New file.
10189 * array_subscript_addr.exp: New testcase.
10190
10191 2008-01-02 Joel Brobecker <brobecker@adacore.com>
10192
10193 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
10194 New files.
10195 * gdb.ada/str_cmp_ref.exp: New testcase.
10196
10197 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10198
10199 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10200 gdb.ada/fun_in_declare/foo.adb: New files.
10201 * gdb.ada/fun_in_declare.exp: New testcase.
10202
10203 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10204
10205 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10206 gdb.ada/ref_param/pck.ads: New files.
10207 * gdb.ada/ref_param.exp: New testcase.
10208
10209 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10210
10211 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10212 gdb.ada/interface/foo.adb: New files.
10213 * gdb.ada/interface.exp: New testcase.
10214
10215 2007-12-31 Jim Blandy <jimb@codesourcery.com>
10216
10217 * gdb.base/multi-forks.exp: Consume all output from child
10218 processes before proceeding to next test.
10219
10220 2007-12-29 Jim Blandy <jimb@codesourcery.com>
10221
10222 * configure: Regenerated.
10223
10224 2007-12-27 Joel Brobecker <brobecker@adacore.com>
10225
10226 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10227 gdb.ada/fixed_cmp/fixed.adb: New files.
10228 * gdb.ada/fixed_cmp.exp: New testcase.
10229
10230 2007-12-27 Joel Brobecker <brobecker@adacore.com>
10231
10232 * gdb.ada/boolean_expr.exp: New testcase.
10233
10234 2007-12-26 Jim Blandy <jimb@codesourcery.com>
10235
10236 * gdb.base/multi-forks.exp: Doc fix.
10237
10238 2007-12-26 Joel Brobecker <brobecker@adacore.com>
10239
10240 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10241 * gdb.ada/char_param.exp: Do not compile our test program with
10242 -gnata, this is unnecessary.
10243 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10244
10245 2007-12-24 Joel Brobecker <brobecker@adacore.com>
10246
10247 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10248 gdb.ada/print_chars/foo.adb: New files.
10249 * gdb.ada/print_chars.exp: New testcase.
10250
10251 2007-12-24 Joel Brobecker <brobecker@adacore.com>
10252
10253 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10254 gdb.ada/char_param/foo.adb: New files.
10255 * gdb.ada/char_param.exp: New testcase.
10256
10257 2007-12-22 Jim Blandy <jimb@codesourcery.com>
10258
10259 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10260 hard-coding source line numbers into the test.
10261 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10262 gdb_get_line_number to find.
10263
10264 2007-12-22 Joel Brobecker <brobecker@adacore.com>
10265
10266 * gdb.base/ptype.c (highest): New struct type.
10267 (the_highest): New variable of that type.
10268 (main): Add dummy assignment to a field of variable the_highest.
10269 * gdb.base/ptype.exp: Test type printing of our new variable.
10270
10271 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10272
10273 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
10274 and record first explicitly generated thread number.
10275 Use that thread number for thread specific watchpoint test.
10276 Add iteration number to repetitive tests.
10277
10278 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10279 Jim Blandy <jimb@codesourcery.com>
10280
10281 * gdb.base/expand-psymtabs.c: New testcase
10282 source file.
10283 * gdb.base/expand-psymtabs.exp: New testcase
10284 expect file.
10285
10286 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
10287
10288 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10289 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10290
10291 2007-12-17 Joel Brobecker <brobecker@adacore.com>
10292
10293 * gdb.ada/frame_args/foo.adb: New file.
10294 * gdb.ada/frame_args/pck.ads: New file.
10295 * gdb.ada/frame_args/pck.adb: New file.
10296 * gdb.ada/frame_args.exp: New testcase.
10297
10298 2007-12-17 Joel Brobecker <brobecker@adacore.com>
10299
10300 * gdb.base/frame-args.c: New file.
10301 * gdb.base/frame-args.exp: New testcase.
10302
10303 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
10304 Joseph Myers <joseph@codesourcery.com>
10305
10306 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10307
10308 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
10309
10310 * gdb.mi/mi-pending.exp: New.
10311 * gdb.mi/mi-pending.c: New.
10312 * gdb.mi/mi-pendshr.c: New.
10313
10314 2007-12-06 Jim Blandy <jimb@codesourcery.com>
10315
10316 * gdb.base/default.exp: Update expected output for 'info catch'.
10317
10318 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10319
10320 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10321 must be set to binary.
10322
10323 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
10324
10325 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10326
10327 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
10328
10329 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10330 gdb.mi/mi-file-transfer.exp: New.
10331
10332 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10333
10334 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10335
10336 2007-11-22 Maciej W. Rozycki <macro@mips.com>
10337
10338 * gdb.trace/backtrace.exp: Fix a typo.
10339 * gdb.trace/circ.exp: Likewise.
10340 * gdb.trace/collection.exp: Likewise.
10341 * gdb.trace/limits.exp: Likewise.
10342 * gdb.trace/report.exp: Likewise.
10343 * gdb.trace/tfind.exp: Likewise.
10344 * gdb.trace/while-dyn.exp: Likewise.
10345
10346 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
10347
10348 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10349 objects of pointers that can't be dereferenced are now
10350 "noneditable".
10351
10352 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10353
10354 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10355 (target_cpu): Remove.
10356
10357 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
10358
10359 * gdb.base/ending-run.exp: Expect the list of cleared
10360 breakpoint to come in natural order, not the reversed one.
10361
10362 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
10363
10364 * gdb.mi/mi-var-child.c (do_child_deletion): New.
10365 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
10366
10367 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
10368
10369 * gdb.base/printcmds.exp: New function
10370 test_printf_with_dfp.
10371
10372 2007-11-02 Doug Evans <dje@google.com>
10373
10374 * gdb.disasm/t01_mov.s: Remove carriage returns.
10375 * gdb.disasm/t02_mova.s: Ditto.
10376 * gdb.disasm/t03_add.s: Ditto.
10377 * gdb.disasm/t04_sub.s: Ditto.
10378 * gdb.disasm/t05_cmp.s: Ditto.
10379 * gdb.disasm/t06_ari2.s: Ditto.
10380 * gdb.disasm/t07_ari3.s: Ditto.
10381 * gdb.disasm/t08_or.s: Ditto.
10382 * gdb.disasm/t09_xor.s: Ditto.
10383 * gdb.disasm/t10_and.s: Ditto.
10384 * gdb.disasm/t11_logs.s: Ditto.
10385 * gdb.disasm/t12_bit.s: Ditto.
10386 * gdb.disasm/t13_otr.s: Ditto.
10387
10388 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10389
10390 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10391
10392 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10393
10394 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10395 provide DFP support.
10396
10397 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
10398
10399 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10400 Test "set powerpc vector-abi". Skip auto-detection tests for old
10401 toolchains.
10402
10403 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10404
10405 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10406 with [string compare].
10407
10408 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10409
10410 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10411 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10412
10413 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
10414
10415 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10416 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10417 * gdb.opt/Makefile.in: New makefile.
10418 * Makefile.in: Create new directory "gdb.opt".
10419 * configure.ac: Add "gdb.opt" directory.
10420 * configure: Regenerated.
10421
10422 2007-10-25 Doug Evans <dje@google.com>
10423
10424 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10425 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10426
10427 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
10428 Thiago Jung Bauermann <bauerman@br.ibm.com>
10429
10430 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10431 Floating Point expressions.
10432 * gdb.base/dfp-test.exp: new file adding tests for Decimal
10433 Floating Point variables.
10434 * gdb.base/dfp-test.c: new file containing program with Decimal
10435 Floating variables, used by gdb.base/dfp-test.exp.
10436
10437 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
10438
10439 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10440
10441 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10442
10443 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10444 compiling test case with GCC.
10445 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10446
10447 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10448
10449 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10450 format changes.
10451
10452 2007-10-18 Michael Snyder <msnyder@specifix.com>
10453
10454 * gdb.base/dbx.exp: Add missing "-re " operator.
10455
10456 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
10457
10458 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10459 * configure.ac: Removed trailing spaces after backslash.
10460 * gdb.modula2: New directory.
10461 * gdb.modula2/Makefile.in: New file.
10462 * gdb.modula2/unbounded-array.exp: New file.
10463 * gdb.modula2/unbounded1.c: New file.
10464
10465 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
10466
10467 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10468
10469 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
10470
10471 * gdb.base/sigstep.c (main): Add checks for
10472 return values for setitimer call.
10473 Call setitimer again with itimer = ITIMER_REAL
10474 if first call to setitimer fails.
10475
10476 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
10477
10478 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10479 of $timeout.
10480
10481 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10482
10483 * gdb.server/server-run.exp: Test for dynamic linker symbols.
10484
10485 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
10486
10487 * lib/gdb.exp (gdb_run_cmd): Move comment outside
10488 of gdb_expect call, to avoid interruption.
10489
10490 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
10491
10492 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10493 (v_unsigned_long_long, v_long_long_array)
10494 (v_signed_long_long_array, v_unsigned_long_long_array)
10495 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10496 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10497 [!NO_LONG_LONG]: New.
10498 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10499 v_long_long_member.
10500
10501 (v_long_long_func, v_signed_long_long_func)
10502 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10503 (main) [!NO_LONG_LONG]: Initialize long long variants.
10504
10505 * gdb.base/whatis.exp: If board file requests no_long_long, build
10506 test with NO_LONG_LONG defined. Test long long, signed long long,
10507 and unsigned long long variants but only if board file doesn't
10508 disable it.
10509
10510 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
10511 Daniel Jacobowitz <dan@codesourcery.com>
10512
10513 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10514 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10515 * configure: Regenerated.
10516 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10517 gdb.pascal/types.exp, lib/pascal.exp: New files.
10518
10519 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
10520
10521 * gdb.cp/classes.exp (do_tests): Always step to the line after the
10522 call.
10523 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10524 to return to the call.
10525 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10526 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10527 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10528 * gdb.mi/mi-until.exp (test_until): Likewise.
10529 * gdb.mi/mi2-until.exp (test_until): Likewise.
10530
10531 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
10532
10533 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10534 two-char array.
10535 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10536
10537 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
10538
10539 * gdb.threads/watchthreads.c (thread_function): Sleep between
10540 iterations.
10541 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10542 at once for S/390. Generate matching fails and passes.
10543
10544 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
10545
10546 * gdb.mi/var-cmd.c (do_children_tests): Initialize
10547 the 'struct_declarations' variable to zeros.
10548
10549 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
10550
10551 * gdb.cp/mb-ctor.cc: New.
10552 * gdb.cp/mb-ctor.exp: New.
10553 * gdb.cp/mb-templates.cc: New.
10554 * gdb.cp/mb-templates.exp: New.
10555
10556 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
10557
10558 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10559
10560 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
10561
10562 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10563 targets.
10564 * configure: Regenerate.
10565
10566 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
10567
10568 * gdb.base/annota1.exp: Adjust for 'info break'
10569 format changes.
10570 * gdb.base/annota3.exp: Likewise.
10571 * gdb.base/break.exp: Likewise.
10572 * gdb.base/condbreak.exp: Likewise.
10573 * gdb.base/pending.exp: Likewise.
10574 * gdb.base/sepdebug.exp: Likewise.
10575 * gdb.base/unload.exp: Likewise.
10576 * gdb.base/ovldbreak.exp: Likewise.
10577
10578 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
10579
10580 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10581 messages.
10582 * gdb.base/chng-syms.exp: Likewise.
10583 * gdb.base/unload.exp: Likewise.
10584
10585 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
10586
10587 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10588
10589 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
10590
10591 * schedlock.c (NUM): Change to 1.
10592 (main): Use args[0] for the main thread.
10593 * schedlock.exp: Only expect two threads. Only issue one pass or fail
10594 regardless of the number of threads.
10595
10596 2007-09-14 Maciej W. Rozycki <macro@mips.com>
10597
10598 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10599 type down.
10600 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10601 test.
10602 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10603 watchpoint type down.
10604 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10605 test.
10606
10607 2007-09-14 Maciej W. Rozycki <macro@mips.com>
10608
10609 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10610 Move all the tests here and run them twice, once using software
10611 watchpoints and once using hardware watchpoints.
10612 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10613
10614 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
10615
10616 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10617 test.
10618
10619 2007-09-10 Mark Kettenis <kettenis@gnu.org>
10620
10621 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10622 build-id.
10623
10624 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10625 know about $ORIGIN. Calculate output dir from $dest instead of
10626 using ${objdir}/{$subdir}.
10627
10628 2007-09-09 Mark Kettenis <kettenis@gnu.org>
10629
10630 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10631 gcore, before continuing with the test.
10632
10633 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
10634
10635 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10636 * gdb.mi/mi-watch.exp: Likewise.
10637
10638 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10639 Jim Blandy <jimb@codesourcery.com>
10640
10641 * gdb.arch/i386-sse.exp: Do not expect character constants.
10642 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10643 * gdb.base/display.exp: Allow print/s.
10644 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10645 and unsigned char array changes.
10646
10647 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10648
10649 * gdb.base/display.exp: Add tests for printf %p.
10650
10651 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
10652
10653 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10654 the dll name to unicode.
10655
10656 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10657
10658 * gdb.base/default.exp (show version): Update the version text.
10659 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10660
10661 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10662
10663 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10664 New files.
10665
10666 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10667
10668 * lib/gdb.exp (build_id_debug_filename_get): New function.
10669 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10670 Remove the generate DEBUG file for the future testcase runs.
10671 New testcase for the NT_GNU_BUILD_ID retrieval.
10672 Move the final testing step to ...
10673 (test_different_dir): ... a new function.
10674 New parameter XFAIL to XFAIL all the tests performed.
10675 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10676 New parameter TYPE to PF_PREFIX all the tests performed.
10677
10678 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
10679
10680 * gdb.mi/mi-var-cp.cc (path_expression): New
10681 function.
10682 * gdb.mi/mi-var-cp.exp: Run path exression tests.
10683
10684 2007-08-27 Markus Deuling <deuling@de.ibm.com>
10685
10686 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10687 to fit into SPU Local Store memory.
10688
10689 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10690
10691 * gdb.base/default.exp: Adjust the expected output of "info
10692 warranty" after the switch to GPLv3.
10693
10694 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10695
10696 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10697 to 30000 (from 20000).
10698
10699 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10700
10701 Switch the license of all .exp files to GPLv3.
10702 Switch the license of all .f and .f90 files to GPLv3.
10703 Switch the license of all .s and .S files to GPLv3.
10704
10705 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10706
10707 * configure.ac: Switch license to GPLv3.
10708
10709 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10710
10711 Switch the licensing to GPLv3 for all .ads and .adb files.
10712
10713 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
10714
10715 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10716 and t_int_double.
10717 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10718
10719 2007-08-17 Joel Brobecker <brobecker@adacore.com>
10720
10721 * gdb.base/step-line.c: Switch license to GPL version 3, and
10722 update copyright year.
10723 * gdb.base/step-line.inp: Likewise.
10724
10725 2007-08-17 Joel Brobecker <brobecker@adacore.com>
10726
10727 * gdb.base/gdb1555.exp: Make expected output immune to formatting
10728 changes inside gdb1555.c.
10729 * gdb.base/pending.exp: Likewise.
10730
10731 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
10732
10733 * config/default.exp: New file.
10734
10735 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10736
10737 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10738 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10739
10740 2007-07-30 Maciej W. Rozycki <macro@mips.com>
10741
10742 * gdb.base/dump.exp: Force the correct endianness for binary
10743 formats not carrying this information.
10744
10745 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10746
10747 * gdb.threads/staticthreads.exp: Match .*sem_post.
10748
10749 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10750
10751 * gdb.base/readline.exp (operate_and_get_next): Match the final
10752 prompt.
10753
10754 2007-07-23 Kevin Buettner <kevinb@redhat.com>
10755
10756 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10757 to restarting SID.
10758
10759 2007-07-18 Kevin Buettner <kevinb@redhat.com>
10760
10761 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10762 prior to `gdb_start'.
10763
10764 2007-07-18 Kevin Buettner <kevinb@redhat.com>
10765
10766 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
10767 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10768 Remove call to gdb_unload.
10769
10770 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
10771 Daniel Jacobowitz <dan@codesourcery.com>
10772
10773 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10774 for __WIN32__.
10775 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
10776 * gdb.base/unload.exp: Use shared library test routines.
10777
10778 2007-07-03 Markus Deuling <deuling@de.ibm.com>
10779
10780 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10781 * gdb.base/solib-symbol-lib.c: Likewise.
10782 * gdb.base/solib-symbol-main.c: Likewise.
10783
10784 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
10785
10786 * config/gdbserver.exp (gdb_reconnect): New.
10787 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10788 gdb.base/solib-disc.exp: New files.
10789 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10790 remote debugging".
10791 (gdb_compile): Add shlib_load flag.
10792 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10793 port.
10794 (gdbserver_reconnect): New.
10795
10796 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
10797 Daniel Jacobowitz <dan@codesourcery.com>
10798
10799 * gdb.base/annota3.exp: Test for if construct.
10800
10801 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
10802
10803 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10804
10805 2007-06-21 Chris Dearman <chris@mips.com>
10806 Maciej W. Rozycki <macro@mips.com>
10807
10808 * gdb.base/display.exp: Allow a newline after display/i.
10809 * gdb.base/pc-fp.exp: Likewise.
10810 * gdb.base/sigbpt.exp: Likewise.
10811
10812 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10813
10814 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
10815 required features to be included.
10816
10817 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10818
10819 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10820 in info threads output.
10821
10822 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10823 Markus Deuling <deuling@de.ibm.com>
10824
10825 * gdb.arch/spu-info.exp: New testcase.
10826 * gdb.arch/spu-info.c: New file.
10827
10828 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
10829
10830 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10831 tpcs_offset. Restore lr after the call.
10832 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10833
10834 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
10835
10836 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10837 (gdbserver_run): Kill any running gdbserver.
10838 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10839
10840 2007-05-17 Maciej W. Rozycki <macro@mips.com>
10841
10842 * gdb.base/sigbpt.exp: Preset segv_addr.
10843
10844 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
10845
10846 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10847 (gdb_compile_shlib): Likewise.
10848 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10849 (default_gdb_init): Clear cleanfiles.
10850 (gdb_finish): Delete recorded cleanfiles.
10851 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10852
10853 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10854 Do not use isnative.
10855 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10856 gdb.base/so-impl-ld.exp: Likewise.
10857 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
10858 * gdb.base/unload.exp: Likewise. Do not pass empty option to
10859 gdb_compile.
10860
10861 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
10862
10863 * config/unknown.exp: Remove.
10864
10865 2007-05-15 Markus Deuling <deuling@de.ibm.com>
10866
10867 * gdb.base/info-proc.exp: Check is_remote.
10868
10869 2007-05-14 Markus Deuling <deuling@de.ibm.com>
10870
10871 * gdb.base/gcore.exp: Initialize variable core_supported.
10872
10873 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10874
10875 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
10876
10877 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10878
10879 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
10880 * gdb.threads/print-threads.exp (test_all_threads): Allow
10881 negative and hexadecimal thread IDs.
10882
10883 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10884
10885 * gdb.java/jprint.java (public): Avoid invalid call to static
10886 method.
10887
10888 2007-05-14 Denis Pilat <denis.pilat@st.com>
10889
10890 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
10891 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
10892 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10893 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
10894 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
10895
10896 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10897
10898 * gdb.base/overlays.exp: Add support for targets with only code
10899 overlay support, not data overlay. Support spu-*-* target in
10900 this mode.
10901 * gdb.base/ovlymgr.c: Provide stubs for spu target.
10902 * gdb.base/spu.ld: New file.
10903
10904 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
10905
10906 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
10907
10908 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
10909
10910 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
10911
10912 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10913
10914 * gdb.java/jmain.exp: Handle demangled names with and without method
10915 signatures.
10916
10917 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10918
10919 * gdb.mi/mi-syn-frame.c (main, foo, bar)
10920 (have_a_very_merry_interrupt): Remove calls to puts.
10921 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
10922 inferior output.
10923 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
10924 test names.
10925
10926 2007-04-29 Markus Deuling <deuling@de.ibm.com>
10927 Daniel Jacobowitz <dan@codesourcery.com>
10928
10929 * gdb.base/auxv.exp (core_works): Also check is_remote.
10930 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
10931
10932 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
10933
10934 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
10935 message, not the undefined 'module' variable.
10936 * gdb.base/siginfo.exp: Likewise.
10937 * gdb.base/sigstep.exp: Likewise.
10938 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
10939 serialport.
10940 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
10941
10942 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
10943
10944 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
10945 target sim fails. Return 0 otherwise.
10946 (gdb_load): Return prematurely if gdb_target_sim fails.
10947
10948 2007-04-16 Denis Pilat <denis.pilat@st.com>
10949
10950 * gdb.base/setshow.exp: Reset height after having set it to 100.
10951
10952 2007-04-16 Denis Pilat <denis.pilat@st.com>
10953
10954 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
10955
10956 2007-04-16 Denis Pilat <denis.pilat@st.com>
10957
10958 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
10959
10960 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
10961
10962 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
10963 tests. Run the frozen varobjs test.
10964 * gdb.mi/var-cmd.c (do_frozen_tests): New.
10965 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
10966
10967 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10968
10969 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
10970 gdb.base/type-opaque.exp: New files.
10971
10972 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
10973
10974 * gdb.mi/mi-var-child.c
10975 (do_children_tests): User char[2] instead of
10976 char so that automatic printing of pointers to char
10977 don't give unpredicable result.
10978 * gdb.mi/var-cmd.c (do_locals_test): Initialize
10979 local variables.
10980 * gdb.mi/mi-var-child.exp: Step to right line
10981 of do_children_tests.
10982 * gdb.mi/mi2-var-child.exp: Likewise.
10983 * gdb.mi/mi-var-cmd.exp: Step to right line of
10984 do_locals_tests.
10985 (do_children_tests): User char[2] instead of
10986 char so that automatic printing of pointers to char
10987 don't give unpredicable result.
10988 * gdb.mi/mi2-var-cmd.exp: Likewise.
10989 * lib/mi-support.exp (mi_continue_to_line):
10990 Pass test name to mi_wait_for_stop.
10991
10992 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10993
10994 * gdb.asm/asm-source.exp: Remove d10v case.
10995 * lib/gdb.exp (skip_cplus_tests): Likewise.
10996 * gdb.asm/d10v.inc: Deleted.
10997
10998 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10999
11000 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11001
11002 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11003
11004 * config/netware.exp: Delete file.
11005
11006 2007-03-29 Joel Brobecker <brobecker@adacore.com>
11007
11008 * gdb.dwarf2/dw2-noloc.S: New file.
11009 * gdb.dwarf2/dw2-noloc.exp: New file.
11010
11011 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11012
11013 * gdb.cp/method2.cc: New test.
11014 * gdb.cp/method2.exp: New test.
11015 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11016
11017 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11018
11019 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11020
11021 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11022
11023 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11024
11025 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11026
11027 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11028 (gdb_load): Delete, replace with...
11029 (gdb_reload): ...this.
11030 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11031 * gdb.server/server-mon.exp: Likewise.
11032 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11033 (gdb_start_cmd): New.
11034 (gdb_file_cmd): Save the last loaded file.
11035 (gdb_reload): New.
11036 (gdb_gnu_strip_debug): Use transform.
11037 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11038 support here. Use new $last_loaded_file. Check mtime.
11039 (gdb_target_cmd): Handle ObjC failure case.
11040 (infer_host_exec): Delete.
11041 (gdbserver_load): Rename to...
11042 (gdbserver_run): ...this. Simplify.
11043 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11044 (mi_gdb_load): Move most contents to a new function...
11045 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11046 (mi_run_cmd): Use mi_gdb_target_load.
11047 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11048 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11049 Use gdb_run_cmd.
11050 * gdb.base/charsign.exp: Remove incorrect comment.
11051 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11052 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11053 gdb.base/start.exp: Use gdb_start_cmd.
11054
11055 2007-03-23 Nigel Stephens <nigel@mips.com>
11056 Maciej W. Rozycki <macro@mips.com>
11057
11058 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11059 * gdb.base/signull.exp: Similarly.
11060
11061 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11062
11063 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11064 messages available to test cases (like chng-sym.exp).
11065
11066 2007-03-14 Andreas Schwab <schwab@suse.de>
11067
11068 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11069 format changes.
11070
11071 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11072
11073 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11074 (optimized_1): New.
11075 (main): Call optimized_1.
11076 (gdb2029): Correct typos. Call gdb2029_marker.
11077 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11078 for gdb2029.
11079
11080 2007-03-12 Mark Kettenis <kettenis@gnu.org>
11081
11082 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11083 as tabs. Remove redundant test pattern.
11084
11085 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11086
11087 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11088 for /a format output.
11089
11090 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11091
11092 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11093 collect output incrementally.
11094
11095 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11096
11097 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11098 for -var-create lpcharacter test.
11099 * gdb.mi/mi2-var-cmd.exp: Likewise.
11100
11101 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11102
11103 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11104 pass on targets where address zero is readable.
11105
11106 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11107
11108 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11109 just a single architecture.
11110
11111 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11112
11113 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11114 (fetch_all_registers): New function, uses gdb_test_multiple and
11115 exp_continue to fetch inferior output line-by-line.
11116 Replace all uses of do_get_all_registers by fetch_all_registers.
11117
11118 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11119
11120 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11121 in target_info.
11122
11123 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11124
11125 * gdb.threads/manythreads.exp: Use $message string for
11126 consistancy; add a default (timeout) case.
11127
11128 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11129
11130 * gdb.base/watchpoint.exp: Fix truncated comment.
11131
11132 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11133
11134 * Makefile.in: Remove spurious single-quotes from sed command.
11135
11136 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11137
11138 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11139 func.
11140 * gdb.mi/mi2-var-cmd.exp: Likewise.
11141
11142 2007-02-27 Joel Brobecker <brobecker@adacore.com>
11143
11144 * gdb.dwarf2/dw2-producer.S: New file.
11145 * gdb.dwarf2/dw2-producer.exp: New testcase.
11146
11147 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
11148
11149 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11150 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11151 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11152 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11153 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11154 Revert tests to use mi_gdb_test and include value field in output
11155 of -var-create.
11156
11157 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11158
11159 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11160
11161 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11162
11163 * gdb.base/maint.exp: Remove full paths from test names.
11164 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11165 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11166
11167 2007-02-27 Joel Brobecker <brobecker@adacore.com>
11168
11169 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11170
11171 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11172
11173 * gdb.server/server-mon.exp: New test.
11174
11175 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11176
11177 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11178
11179 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11180
11181 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11182 register capitalization.
11183
11184 2007-02-13 Denis Pilat <denis.pilat@st.com>
11185
11186 * gdb.mi/mi-var-invalidate.exp: New file.
11187
11188 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11189
11190 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11191
11192 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11193
11194 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11195
11196 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11197
11198 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11199 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11200
11201 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
11202
11203 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11204 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11205 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11206 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11207 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11208 * gdb.mi/gdb792.exp, lib/mi-support.exp:
11209 Update tests to include value field in output of -var-create.
11210
11211 2007-02-08 Andreas Schwab <schwab@suse.de>
11212
11213 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11214
11215 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11216
11217 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11218 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11219
11220 2007-02-02 Denis Pilat <denis.pilat@st.com>
11221
11222 * gdb.threads/threadapply.exp: check that frame is not changed by
11223 the thread apply all command.
11224
11225 2007-01-31 Andreas Schwab <schwab@suse.de>
11226
11227 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11228
11229 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11230 in the dwarf sections.
11231 * gdb.dwarf2/mac-fileno.S: Likewise.
11232
11233 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11234 bspstore register on ia64.
11235
11236 2007-01-29 Andreas Schwab <schwab@suse.de>
11237
11238 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11239 "frame-begin" annotation.
11240
11241 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11242 number of "frames-invalid" annotations.
11243
11244 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11245
11246 * gdb.base/commands.exp: Call if_commands_test.
11247 (gdb_test_no_prompt, if_commands_test): New.
11248
11249 2007-01-28 Mark Kettenis <kettenis@gnu.org>
11250
11251 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11252
11253 2007-01-27 Andreas Schwab <schwab@suse.de>
11254
11255 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11256 .short/.int/.quad in the dwarf sections.
11257 * gdb.dwarf2/dw2-intercu.S: Likewise.
11258 * gdb.dwarf2/dw2-intermix.S: Likewise.
11259
11260 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11261
11262 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
11263 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11264 array.
11265 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11266 * gdb.base/setvar.exp: Likewise.
11267
11268 2007-01-26 Andreas Schwab <schwab@suse.de>
11269
11270 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11271 test.
11272
11273 * gdb.base/multi-forks.exp ("restart $i"): Also match
11274 __kernel_syscall_via_break.
11275
11276 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11277
11278 * lib/mi-support.exp (mi_delete_varobj): New.
11279 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11280 testcase.
11281 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11282 (main): Call the above.
11283 (reference_update_test, base_in_reference_test)
11284 (reference_to_pointer): Delete the created varobjs.
11285
11286 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11287
11288 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11289 * configure: Regenerated.
11290 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11291 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11292 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11293 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11294 * lib/gdb.exp (gdb_skip_xml_test): New function.
11295
11296 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11297
11298 * gdb.base/sigrepeat.exp: Correct error message.
11299
11300 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11301 Daniel Jacobowitz <dan@codesourcery.com>
11302
11303 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11304 gdb.arch/i386-gnu-cfi-asm.S: New files.
11305
11306 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11307
11308 * lib/gdb.exp: Abort on missing `site.exp'.
11309
11310 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11311 Daniel Jacobowitz <dan@codesourcery.com>
11312
11313 * gdb.base/included.c, gdb.base/included.exp,
11314 gdb.base/included.h: New files.
11315
11316 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11317
11318 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11319 (maximize_rlimit): Reduce limits on 64-bit systems.
11320
11321 2007-01-19 Mark Kettenis <kettenis@gnu.org>
11322
11323 From Marcus Deuling <deuling@de.ibm.com>:
11324 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11325 every case.
11326
11327 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
11328
11329 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11330 (test_path_specification): Use objdir instead of srcdir to always
11331 get an absolute filename.
11332
11333 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
11334
11335 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11336
11337 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
11338
11339 * gdb.mi/mi-var-cp.cc (reference_update_tests):
11340 Make sure the variable we're using is in scope.
11341 (reference_to_pointer): Likewise.
11342
11343 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11344
11345 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11346 has no debug information.
11347
11348 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11349
11350 * gdb.base/annota1.exp: Remove extra send_gdb.
11351
11352 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11353
11354 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11355
11356 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11357
11358 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11359
11360 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
11361 Daniel Jacobowitz <dan@codesourcery.com>
11362
11363 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11364 lcharacter or linteger change. Correct duplicated test name.
11365 * gdb.mi/mi2-var-cmd.exp: Likewise.
11366
11367 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11368
11369 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11370
11371 2007-01-05 Joel Brobecker <brobecker@adacore.com>
11372
11373 * gdb.base/nofield.c: New file.
11374 * gdb.base/nofield.exp: New testcase.
11375
11376 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
11377
11378 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11379
11380 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11381 test.
11382
11383 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11384
11385 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11386
11387 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11388
11389 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11390 when continuing.
11391
11392 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11393
11394 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11395 Expect ".exe" extension.
11396
11397 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11398
11399 * gdb.base/charset.exp: Add explicit filename to break.
11400 * gdb.base/dbx.exp: Add explicit filename to breaks.
11401
11402 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11403
11404 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11405 * gdb.mi/mi2-file.exp: Likewise.
11406
11407 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11408
11409 Implement specification of MI tests as comments
11410 in C and C++ sources.
11411 * lib/mi-support.exp (mi_autotest_data): New variable.
11412 (mi_autotest_source): New variable.
11413 (count_newlines, mi_prepare_inline_tests)
11414 (mi_get_inline_test, mi_continue_to_line)
11415 (mi_run_inline_test, mi_tbreak)
11416 (mi_send_resuming_command, mi_wait_for_stop): New functions.
11417 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11418 Run inline tests.
11419 * gdb.mi/mi-var-cp.cc: Define tests here.
11420
11421 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11422
11423 Simplify usage of mi_continue_to.
11424 * lib/mi-support.exp (mi_runto_helper): Renamed
11425 from mi_runto, added new parameter 'run_or_continue'.
11426 (mi_runto): Use mi_runto_helper.
11427 (mi_continue_to): Accept just function name as parameter.
11428 Use mi_runto_helper.
11429 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11430 * gdb.mi/mi2-var-cmd.exp: Likewise.
11431
11432 2006-01-04 Joel Brobecker <brobecker@adacore.com>
11433
11434 Make this testcase a bit more realistic. The current code
11435 is too simplistic, and allows the compiler to optimize out
11436 some of the entities we need for this testcase.
11437 * gdb.ada/null_record/bar.ads (Void_Star): New type.
11438 (Do_Nothing): Add extra parameter.
11439 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11440 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11441 by using a variable of type Void_Star.
11442
11443 2006-01-04 Joel Brobecker <brobecker@adacore.com>
11444
11445 * gdb.ada/catch_ex/foo.adb: New file.
11446 * gdb.ada/catch_ex.exp: New testcase.
11447
11448 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
11449
11450 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11451 pass --image-base to linker.
11452
11453 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11454 Daniel Jacobowitz <dan@codesourcery.com>
11455
11456 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
11457 secondary prompts.
11458
11459 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11460
11461 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11462 output. Test the types of members and member pointers.
11463 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11464 gdb/2092.
11465 * gdb.cp/member-ptr.exp: Search for a comment instead of a
11466 statement. Enable for GCC. Update expected output for some tests
11467 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
11468 layout.
11469 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11470 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11471 (Diamond::vget_base): New.
11472 (main): Add new tests.
11473 * gdb.cp/printmethod.exp: Update expected output for member functions.
11474 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11475 print pEe->D::vg().
11476
11477 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11478
11479 * gdb.threads/tls.exp: Allow stops in sem_post.
11480
11481 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
11482
11483 * gdb.base/annota1.exp: Allow .*printf in backtraces.
11484 * gdb.base/annota3.exp: Likewise.
11485 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11486 again (instead of timing out).
11487 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11488 GCC bug 26475.
11489 * gdb.java/jmisc.exp: Adjust to work with method signatures including
11490 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
11491 test from jmisc1.exp.
11492 * gdb.java/jmisc1.exp: Delete.
11493 * gdb.java/jprint.exp: Adjust to work with method signatures including
11494 return types.
11495 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11496 * gdb.threads/linux-dp.exp: Don't be confused by program output.
11497 * lib/java.exp (compile_java_from_source): Pass the correct type
11498 to target_compile.
11499
11500 2006-12-31 Joel Brobecker <brobecker@adacore.com>
11501
11502 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11503 (stack_align_edx): New function.
11504 (stack_align_eax): New function.
11505 (main): Add calls to stack_align_edx and stack_align_eax.
11506 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11507 Add testing for the cases where the register used during a stack
11508 realignment is edx. Same for eax.
11509
11510 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
11511
11512 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11513 and generic PE targets.
11514
11515 2006-12-29 Joel Brobecker <brobecker@adacore.com>
11516
11517 * gdb.ada/array_return.exp: Update copyright date list.
11518
11519 2006-12-27 Joel Brobecker <brobecker@adacore.com>
11520
11521 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11522 (Create_Small_Float_Vector): New function.
11523 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11524 function body.
11525 * gdb.ada/array_return/p.adb: Use new type and function from
11526 package Pck.
11527 * gdb.ada/array_return.exp: Add a test verifying that GDB is
11528 able to print the value returned by a function returning an
11529 array of float.
11530
11531 2006-12-20 Joel Brobecker <brobecker@adacore.com>
11532
11533 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11534 The associated tests should be PASSing.
11535
11536 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11537
11538 Test for base in references.
11539 * gdb.mi/mi-var-cp.cc: Add test code.
11540 * gdb.mi/mi-var-cp.exp: Test for bases in references.
11541 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11542 * gdb.mi/mi2-watch.exp: Likewise.
11543 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11544 (mi_list_varobj_children): New function.
11545
11546 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11547
11548 * lib/mi-support.exp
11549 (mi_runto): Accept "()" after function name.
11550 (mi_create_varobj): New function.
11551 (mi_varobj_update): New function.
11552 (mi_Check_varobj_value): New function.
11553 * gdb.mi/mi-var-cp.exp: New file.
11554 * gdb.mi/mi-var-cp.cc: New file.
11555
11556 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
11557
11558 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11559 gdb.base/weaklib2.c: New files.
11560
11561 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
11562
11563 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11564 info. Adjust test names.
11565
11566 * gdb.base/break.c (main): Move position of malloc.
11567 * gdb.base/break.exp: Revert mistaken checkin.
11568
11569 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
11570
11571 * gdb.mi/mi-var-cmd.exp: Check -var-update after
11572 assignement of arrays and function pointers.
11573 * gdb.mi/var-cmd.c: Add declaration necessary for above
11574 tests.
11575
11576 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11577
11578 * gdb.base/break.c (main): Call malloc.
11579
11580 * gdb.threads/linux-dp.exp: Read thread table before and after
11581 creating each philosopher and verify it.
11582
11583 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11584 Paul Brook <paul@codesourcery.com>
11585 Daniel Jacobowitz <dan@codesourcery.com>
11586
11587 * gdb.base/ending-run.exp: Flatten expect script stepping out of
11588 main to remove duplication. Add start function of the form
11589 '_*start[1-9]*'. Add RVDS start function.
11590
11591 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11592
11593 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11594
11595 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11596
11597 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11598 * gdb.asm/spu.inc: New file.
11599 * gdb.base/term.exp: Disable if [target_info exists noargs].
11600 * gdb.gdb/complaints.exp: Disable if ![isnative].
11601 * gdb.gdb/selftest.exp: Likewise.
11602 * gdb.gdb/observer.exp: Likewise.
11603 * gdb.gdb/xfullpath.exp: Likewise.
11604 * gdb.base/attach.exp: Disable on SPU target.
11605 * gdb.cp/bs145503.exp: Likewise.
11606 * gdb.cp/exception.exp: Likewise.
11607 * gdb.cp/userdef.exp: Likewise.
11608
11609 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11610
11611 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11612
11613 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
11614
11615 * gdb.base/completion.exp: Fix completion tests for
11616 'info' and 'info '.
11617 * gdb.base/help.exp (help_test_raw, test_class_help)
11618 (test_prefix_command_help): Move...
11619 * lib/gdb.exp: Here.
11620 * gdb.base/main.exp: Adjust.
11621 * gdb.cp/maint.exp: Adjust.
11622 * gdb.trace/tracecmd.exp: Use test_help_class.
11623
11624 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11625
11626 * gdb.stabs/weird.exp (print_weird_var): Use
11627 gdb_test_multiple instead of gdb_expect.
11628
11629 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11630
11631 * gdb.base/help.exp (help_test_raw): New.
11632 (test_class_help): New.
11633 (test_prefix_command_help): New.
11634 Adjust testcases.
11635
11636 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
11637
11638 * gdb.base/constvars.c (main): Write to crass and crips, so that
11639 they are allocated by the compiler.
11640
11641 2006-10-27 Andreas Schwab <schwab@suse.de>
11642
11643 * gdb.base/multi-forks.exp: Use "detach fork" instead of
11644 "detach-fork".
11645
11646 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
11647
11648 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11649 of patterns.
11650
11651 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11652
11653 * gdb.base/sepdebug.exp: Remove debug format test.
11654 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11655 Handle no-symtab.
11656 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11657
11658 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11659
11660 * gdb.threads/manythreads.c (thread_function, main): Don't cast
11661 int to pointer or pointer to int.
11662 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11663
11664 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
11665
11666 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11667
11668 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11669
11670 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11671
11672 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11673
11674 PR c++/2116
11675 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11676
11677 2006-10-06 Joel Brobecker <brobecker@adacore.com>
11678
11679 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11680 the corresponding bug has been fixed in GDB (PR/2018).
11681
11682 2006-10-06 Joel Brobecker <brobecker@adacore.com>
11683
11684 * gdb.base/subst.exp: New testcase.
11685
11686 2006-10-06 Joel Brobecker <brobecker@adacore.com>
11687
11688 * gdb.ada/array_return/pck.ads: Add copyright notice.
11689 * gdb.ada/array_return/pck.adb: Likewise.
11690 * gdb.ada/array_return/p.adb: Likewise.
11691 * gdb.ada/exec_changed/first.adb: Likewise.
11692 * gdb.ada/exec_changed/second.adb: Likewise.
11693
11694 2006-10-06 Joel Brobecker <brobecker@adacore.com>
11695
11696 * gdb.ada/watch_arg/watch.adb: New file.
11697 * gdb.ada/watch_arg.exp: New testcase.
11698
11699 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
11700
11701 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
11702 via string_to_regexp.
11703 * gdb.mi/mi2-basics.exp: Likewise.
11704
11705 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
11706
11707 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11708 Remove unused / obsolete files.
11709
11710 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
11711
11712 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11713
11714 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
11715
11716 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11717 HIGH_FRAME argument to -stack-list-arguments can be larger than
11718 the number of frames.
11719
11720 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
11721
11722 * gdb.base/args.c (main): Add breakpoint marker.
11723 * gdb.base/args.exp: Use args_test for tests. Add new tests which
11724 really test empty arguments.
11725 (args_load): Delete.
11726 (args_test): New.
11727
11728 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
11729
11730 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
11731 check for one file.
11732
11733 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
11734
11735 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11736 HIGH_FRAME argument to -stack-list-locals can be larger than
11737 the number of frames.
11738
11739 2006-08-18 Fred Fish <fnf@specifix.com>
11740
11741 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11742 '$' in front of skip_vmx_tests_saved when setting that.
11743
11744 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
11745
11746 * gdb.base/trace-commands.exp: New file.
11747
11748 2006-08-10 Joel Brobecker <brobecker@adacore.com>
11749 Daniel Jacobowitz <dan@codesourcery.com>
11750
11751 * gdb.base/step-bt.exp: Make hexadecimal address optional in
11752 expected output of the backtrace commands.
11753
11754 2006-08-09 Joel Brobecker <brobecker@adacore.com>
11755
11756 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11757 untested followed by return combination.
11758 * gdb.arch/altivec-regs.exp: Likewise.
11759 * gdb.arch/e500-abi.exp: Likewise.
11760 * gdb.arch/e500-regs.exp: Likewise.
11761 * gdb.arch/gdb1291.exp: Likewise.
11762 * gdb.arch/gdb1431.exp: Likewise.
11763 * gdb.arch/gdb1558.exp: Likewise.
11764 * gdb.arch/i386-prologue.exp: Likewise.
11765 * gdb.arch/i386-unwind.exp: Likewise.
11766 * gdb.asm/asm-source.exp: Likewise.
11767 * gdb.base/a2-run.exp: Likewise.
11768 * gdb.base/advance.exp: Likewise.
11769 * gdb.base/all-bin.exp: Likewise.
11770 * gdb.base/annota1.exp: Likewise.
11771 * gdb.base/annota3.exp: Likewise.
11772 * gdb.base/args.exp: Likewise.
11773 * gdb.base/arithmet.exp: Likewise.
11774 * gdb.base/assign.exp: Likewise.
11775 * gdb.base/async.exp: Likewise.
11776 * gdb.base/attach.exp: Likewise.
11777 * gdb.base/bang.exp: Likewise.
11778 * gdb.base/bigcore.exp: Likewise.
11779 * gdb.base/bitfields.exp: Likewise.
11780 * gdb.base/bitfields2.exp: Likewise.
11781 * gdb.base/break.exp: Likewise.
11782 * gdb.base/call-sc.exp: Likewise.
11783 * gdb.base/call-strs.exp: Likewise.
11784 * gdb.base/callfuncs.exp: Likewise.
11785 * gdb.base/checkpoint.exp: Likewise.
11786 * gdb.base/chng-syms.exp: Likewise.
11787 * gdb.base/code-expr.exp: Likewise.
11788 * gdb.base/commands.exp: Likewise.
11789 * gdb.base/completion.exp: Likewise.
11790 * gdb.base/cond-expr.exp: Likewise.
11791 * gdb.base/condbreak.exp: Likewise.
11792 * gdb.base/consecutive.exp: Likewise.
11793 * gdb.base/constvars.exp: Likewise.
11794 * gdb.base/corefile.exp: Likewise.
11795 * gdb.base/cvexpr.exp: Likewise.
11796 * gdb.base/dbx.exp: Likewise.
11797 * gdb.base/define.exp: Likewise.
11798 * gdb.base/detach.exp: Likewise.
11799 * gdb.base/display.exp: Likewise.
11800 * gdb.base/dump.exp: Likewise.
11801 * gdb.base/ena-dis-br.exp: Likewise.
11802 * gdb.base/ending-run.exp: Likewise.
11803 * gdb.base/environ.exp: Likewise.
11804 * gdb.base/eval-skip.exp: Likewise.
11805 * gdb.base/exprs.exp: Likewise.
11806 * gdb.base/fileio.exp: Likewise.
11807 * gdb.base/finish.exp: Likewise.
11808 * gdb.base/float.exp: Likewise.
11809 * gdb.base/foll-exec.exp: Likewise.
11810 * gdb.base/foll-fork.exp: Likewise.
11811 * gdb.base/foll-vfork.exp: Likewise.
11812 * gdb.base/freebpcmd.exp: Likewise.
11813 * gdb.base/funcargs.exp: Likewise.
11814 * gdb.base/gcore.exp: Likewise.
11815 * gdb.base/gdb1090.exp: Likewise.
11816 * gdb.base/gdb1250.exp: Likewise.
11817 * gdb.base/huge.exp: Likewise.
11818 * gdb.base/info-proc.exp: Likewise.
11819 * gdb.base/interrupt.exp: Likewise.
11820 * gdb.base/jump.exp: Likewise.
11821 * gdb.base/langs.exp: Likewise.
11822 * gdb.base/lineinc.exp: Likewise.
11823 * gdb.base/list.exp: Likewise.
11824 * gdb.base/logical.exp: Likewise.
11825 * gdb.base/long_long.exp: Likewise.
11826 * gdb.base/macscp.exp: Likewise.
11827 * gdb.base/maint.exp: Likewise.
11828 * gdb.base/mips_pro.exp: Likewise.
11829 * gdb.base/miscexprs.exp: Likewise.
11830 * gdb.base/multi-forks.exp: Likewise.
11831 * gdb.base/opaque.exp: Likewise.
11832 * gdb.base/overlays.exp: Likewise.
11833 * gdb.base/pc-fp.exp: Likewise.
11834 * gdb.base/pointers.exp: Likewise.
11835 * gdb.base/printcmds.exp: Likewise.
11836 * gdb.base/psymtab.exp: Likewise.
11837 * gdb.base/ptype.exp: Likewise.
11838 * gdb.base/recurse.exp: Likewise.
11839 * gdb.base/relational.exp: Likewise.
11840 * gdb.base/relocate.exp: Likewise.
11841 * gdb.base/remote.exp: Likewise.
11842 * gdb.base/reread.exp: Likewise.
11843 * gdb.base/restore.exp: Likewise.
11844 * gdb.base/return.exp: Likewise.
11845 * gdb.base/return2.exp: Likewise.
11846 * gdb.base/scope.exp: Likewise.
11847 * gdb.base/sect-cmd.exp: Likewise.
11848 * gdb.base/sep.exp: Likewise.
11849 * gdb.base/sepdebug.exp: Likewise.
11850 * gdb.base/setshow.exp: Likewise.
11851 * gdb.base/setvar.exp: Likewise.
11852 * gdb.base/sigall.exp: Likewise.
11853 * gdb.base/sigbpt.exp: Likewise.
11854 * gdb.base/signals.exp: Likewise.
11855 * gdb.base/signull.exp: Likewise.
11856 * gdb.base/sizeof.exp: Likewise.
11857 * gdb.base/solib.exp: Likewise.
11858 * gdb.base/step-line.exp: Likewise.
11859 * gdb.base/step-test.exp: Likewise.
11860 * gdb.base/structs.exp: Likewise.
11861 * gdb.base/structs2.exp: Likewise.
11862 * gdb.base/term.exp: Likewise.
11863 * gdb.base/twice.exp: Likewise.
11864 * gdb.base/until.exp: Likewise.
11865 * gdb.base/varargs.exp: Likewise.
11866 * gdb.base/volatile.exp: Likewise.
11867 * gdb.base/watchpoint.exp: Likewise.
11868 * gdb.base/whatis-exp.exp: Likewise.
11869 * gdb.base/whatis.exp: Likewise.
11870 * gdb.cp/ambiguous.exp: Likewise.
11871 * gdb.cp/annota2.exp: Likewise.
11872 * gdb.cp/annota3.exp: Likewise.
11873 * gdb.cp/bool.exp: Likewise.
11874 * gdb.cp/breakpoint.exp: Likewise.
11875 * gdb.cp/casts.exp: Likewise.
11876 * gdb.cp/class2.exp: Likewise.
11877 * gdb.cp/classes.exp: Likewise.
11878 * gdb.cp/cplusfuncs.exp: Likewise.
11879 * gdb.cp/ctti.exp: Likewise.
11880 * gdb.cp/derivation.exp: Likewise.
11881 * gdb.cp/exception.exp: Likewise.
11882 * gdb.cp/gdb1355.exp: Likewise.
11883 * gdb.cp/hang.exp: Likewise.
11884 * gdb.cp/inherit.exp: Likewise.
11885 * gdb.cp/local.exp: Likewise.
11886 * gdb.cp/m-data.exp: Likewise.
11887 * gdb.cp/m-static.exp: Likewise.
11888 * gdb.cp/member-ptr.exp: Likewise.
11889 * gdb.cp/method.exp: Likewise.
11890 * gdb.cp/misc.exp: Likewise.
11891 * gdb.cp/namespace.exp: Likewise.
11892 * gdb.cp/overload.exp: Likewise.
11893 * gdb.cp/ovldbreak.exp: Likewise.
11894 * gdb.cp/pr-1023.exp: Likewise.
11895 * gdb.cp/pr-1210.exp: Likewise.
11896 * gdb.cp/pr-574.exp: Likewise.
11897 * gdb.cp/printmethod.exp: Likewise.
11898 * gdb.cp/psmang.exp: Likewise.
11899 * gdb.cp/ref-params.exp: Likewise.
11900 * gdb.cp/ref-types.exp: Likewise.
11901 * gdb.cp/rtti.exp: Likewise.
11902 * gdb.cp/templates.exp: Likewise.
11903 * gdb.cp/try_catch.exp: Likewise.
11904 * gdb.cp/userdef.exp: Likewise.
11905 * gdb.cp/virtfunc.exp: Likewise.
11906 * gdb.disasm/am33.exp: Likewise.
11907 * gdb.disasm/h8300s.exp: Likewise.
11908 * gdb.disasm/mn10300.exp: Likewise.
11909 * gdb.disasm/sh3.exp: Likewise.
11910 * gdb.disasm/t01_mov.exp: Likewise.
11911 * gdb.disasm/t02_mova.exp: Likewise.
11912 * gdb.disasm/t03_add.exp: Likewise.
11913 * gdb.disasm/t04_sub.exp: Likewise.
11914 * gdb.disasm/t05_cmp.exp: Likewise.
11915 * gdb.disasm/t06_ari2.exp: Likewise.
11916 * gdb.disasm/t07_ari3.exp: Likewise.
11917 * gdb.disasm/t08_or.exp: Likewise.
11918 * gdb.disasm/t09_xor.exp: Likewise.
11919 * gdb.disasm/t10_and.exp: Likewise.
11920 * gdb.disasm/t11_logs.exp: Likewise.
11921 * gdb.disasm/t12_bit.exp: Likewise.
11922 * gdb.disasm/t13_otr.exp: Likewise.
11923 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
11924 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
11925 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11926 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
11927 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
11928 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
11929 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
11930 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
11931 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
11932 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
11933 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
11934 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
11935 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
11936 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
11937 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
11938 * gdb.mi/gdb701.exp: Likewise.
11939 * gdb.mi/gdb792.exp: Likewise.
11940 * gdb.mi/mi-basics.exp: Likewise.
11941 * gdb.mi/mi-break.exp: Likewise.
11942 * gdb.mi/mi-cli.exp: Likewise.
11943 * gdb.mi/mi-console.exp: Likewise.
11944 * gdb.mi/mi-disassemble.exp: Likewise.
11945 * gdb.mi/mi-eval.exp: Likewise.
11946 * gdb.mi/mi-file.exp: Likewise.
11947 * gdb.mi/mi-read-memory.exp: Likewise.
11948 * gdb.mi/mi-regs.exp: Likewise.
11949 * gdb.mi/mi-return.exp: Likewise.
11950 * gdb.mi/mi-simplerun.exp: Likewise.
11951 * gdb.mi/mi-stack.exp: Likewise.
11952 * gdb.mi/mi-stepi.exp: Likewise.
11953 * gdb.mi/mi-syn-frame.exp: Likewise.
11954 * gdb.mi/mi-until.exp: Likewise.
11955 * gdb.mi/mi-var-block.exp: Likewise.
11956 * gdb.mi/mi-var-child.exp: Likewise.
11957 * gdb.mi/mi-var-cmd.exp: Likewise.
11958 * gdb.mi/mi-var-display.exp: Likewise.
11959 * gdb.mi/mi-watch.exp: Likewise.
11960 * gdb.mi/mi2-basics.exp: Likewise.
11961 * gdb.mi/mi2-break.exp: Likewise.
11962 * gdb.mi/mi2-cli.exp: Likewise.
11963 * gdb.mi/mi2-console.exp: Likewise.
11964 * gdb.mi/mi2-disassemble.exp: Likewise.
11965 * gdb.mi/mi2-eval.exp: Likewise.
11966 * gdb.mi/mi2-file.exp: Likewise.
11967 * gdb.mi/mi2-read-memory.exp: Likewise.
11968 * gdb.mi/mi2-regs.exp: Likewise.
11969 * gdb.mi/mi2-return.exp: Likewise.
11970 * gdb.mi/mi2-simplerun.exp: Likewise.
11971 * gdb.mi/mi2-stack.exp: Likewise.
11972 * gdb.mi/mi2-stepi.exp: Likewise.
11973 * gdb.mi/mi2-syn-frame.exp: Likewise.
11974 * gdb.mi/mi2-until.exp: Likewise.
11975 * gdb.mi/mi2-var-block.exp: Likewise.
11976 * gdb.mi/mi2-var-child.exp: Likewise.
11977 * gdb.mi/mi2-var-cmd.exp: Likewise.
11978 * gdb.mi/mi2-var-display.exp: Likewise.
11979 * gdb.mi/mi2-watch.exp: Likewise.
11980 * gdb.stabs/exclfwd.exp: Likewise.
11981 * gdb.stabs/weird.exp: Likewise.
11982 * gdb.threads/gcore-thread.exp: Likewise.
11983 * gdb.trace/actions.exp: Likewise.
11984 * gdb.trace/backtrace.exp: Likewise.
11985 * gdb.trace/circ.exp: Likewise.
11986 * gdb.trace/collection.exp: Likewise.
11987 * gdb.trace/deltrace.exp: Likewise.
11988 * gdb.trace/infotrace.exp: Likewise.
11989 * gdb.trace/limits.exp: Likewise.
11990 * gdb.trace/packetlen.exp: Likewise.
11991 * gdb.trace/passc-dyn.exp: Likewise.
11992 * gdb.trace/passcount.exp: Likewise.
11993 * gdb.trace/report.exp: Likewise.
11994 * gdb.trace/save-trace.exp: Likewise.
11995 * gdb.trace/tfind.exp: Likewise.
11996 * gdb.trace/tracecmd.exp: Likewise.
11997 * gdb.trace/while-dyn.exp: Likewise.
11998 * gdb.trace/while-stepping.exp: Likewise.
11999
12000 2006-08-08 Joel Brobecker <brobecker@adacore.com>
12001
12002 * gdb.base/step-bt.c: New file.
12003 * gdb.base/step-bt.exp: New testcase.
12004
12005 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12006
12007 * config/monitor.exp (gdb_load): Remove support for obsolete
12008 download-write-size.
12009 * gdb.base/remote.exp: Likewise. Update all callers of
12010 gdb_timed_load.
12011
12012 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12013
12014 * cursal.exp: Pass binfile to gdb_load.
12015
12016 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12017
12018 * gdb.base/cursal.exp: Add "" to gdb_load call.
12019
12020 2006-07-29 Mark Kettenis <kettenis@gnu.org>
12021
12022 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12023 NetBSD/ELF targets.
12024
12025 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12026
12027 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12028 operator*.
12029
12030 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12031
12032 * gdb.base/completion.exp: Update for change in "file" behavior.
12033 * gdb.stabs/weird.exp: Likewise.
12034 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12035 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12036
12037 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12038
12039 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12040 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12041
12042 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12043
12044 * gdb.base/default.exp: Update source command error message.
12045 * gdb.base/help.exp: Update 'help source' message.
12046
12047 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12048
12049 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12050 test.
12051
12052 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12053
12054 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12055
12056 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12057
12058 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12059
12060 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12061
12062 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12063
12064 2006-07-17 Mark Kettenis <kettenis@gnu.org>
12065
12066 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12067 *-*-openbsd* from targets for wich we expect ARM FPA floating
12068 point format.
12069
12070 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
12071
12072 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12073
12074 2006-07-17 Mark Kettenis <kettenis@gnu.org>
12075
12076 * gdb.base/annota3.exp: Expect frame-begin annotation.
12077
12078 2006-07-14 Joel Brobecker <brobecker@adacore.com>
12079
12080 * gdb.base/help.exp: Adjust "help unset" test to accept
12081 any list of unset commands.
12082
12083 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12084 Daniel Jacobowitz <dan@codesourcery.com>
12085
12086 * gdb.cp/ref-params.exp: New test.
12087 * gdb.cp/ref-params.cc: New source file.
12088 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12089
12090 2006-07-08 Mark Kettenis <kettenis@gnu.org>
12091
12092 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12093 spaces/tabs in regular expressions since they might not be there.
12094
12095 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12096
12097 * gdb.base/ifelse.exp: New file.
12098
12099 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12100
12101 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12102 line.
12103 * gdb.base/huge.exp: Loop over compilation to find a size that
12104 is acceptable.
12105 * gdb.base/remote.exp: Correct expected strings.
12106 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12107
12108 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12109
12110 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12111
12112 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12113
12114 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12115 native.
12116
12117 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12118
12119 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12120 enable stabs testing.
12121
12122 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12123
12124 * gdb.base/auxv.exp: Intercept undefined command messages before
12125 gdb_test_multiple does.
12126
12127 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12128
12129 * Makefile.in (host_alias): Remove.
12130 (target_alias): Use @target_noncanonical@.
12131 (site.exp): Don't set host_alias.
12132 * aclocal.m4: Remove contents. Include acx.m4.
12133 * configure: Regenerated.
12134 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12135
12136 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12137
12138 * lib/gdb.exp (gdb_load_cmd): New.
12139
12140 * gdb.base/fileio.c: Add system(NULL) test.
12141 * gdb.base/fileio.exp: Check it.
12142
12143 * gdb.base/break.c: Add 10a breakpoint at }
12144 * gdb.base/break.exp: Add test for breakpoint at }
12145 * gdb.cp/anon-union.cc: Add code at end of function.
12146 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12147 * gdb.mi/var-cmd.c: Add code at end of function.
12148 * gdb.mi/mi-var-display.exp: Adjust end of next.
12149 * gdb.mi/mi2-var-display.exp: Likewise.
12150 * gdb.base/fileio.c: Add stop function and insert calls at
12151 stopping places.
12152 * gdb.base/fileio.exp: Breakpoint stop function and remove
12153 explicit line number references.
12154
12155 2006-05-19 Joel Brobecker <brobecker@adacore.com>
12156
12157 * gdb.base/del.exp (test_delete_alias): New function.
12158 Now check that both "del" and "d" work as aliases for "delete".
12159
12160 2006-05-18 Fred Fish <fnf@specifix.com>
12161
12162 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12163 required. Check for spurious output after program exits normally.
12164
12165 2006-05-17 Fred Fish <fnf@specifix.com>
12166
12167 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12168 gdb_load, so it works in the simulator.
12169
12170 2006-05-11 Fred Fish <fnf@specifix.com>
12171
12172 * gdb.base/bang.exp: Ignore unexpected output between the
12173 "program exited normally" and the gdb prompt, as many other
12174 tests do.
12175
12176 2006-05-07 Mark Kettenis <kettenis@gnu.org>
12177
12178 * gdb.base/help.exp: Make "delete checkpoint" part option for
12179 "help d" and "help delete" tests.
12180
12181 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12182
12183 * gdb.mi/mi-basics.exp: Add missing serial number to
12184 expected output in some mi_gdb_test statements.
12185 * gdb.mi/mi2-basics.exp: Likewise.
12186
12187 2006-05-05 Joel Brobecker <brobecker@adacore.com>
12188
12189 * gdb.base/del.c: New file.
12190 * gdb.base/del.exp: New testcase.
12191
12192 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
12193
12194 * gdb.base/break.exp: Do not assume a breakpoint on
12195 main will actually be in $srcfile when optimizing.
12196 * gdb.base/savedregs.exp: Do not require that the dummy
12197 frame location match up to a symbol and source file location.
12198 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12199 will get printed without a mi_cmd_data_list_register_values prefix.
12200 (*-data-list-register-*): Correct regular expressions to expect the new
12201 pseudo d? floating point registers.
12202 * gdb.mi/mi2-regs.exp: Likewise.
12203
12204 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
12205
12206 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12207 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12208 is allocated by the compiler.
12209 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12210 anons, e, anone to force their allocation by the compiler.
12211
12212 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
12213
12214 * gdb.base/help.exp: Update expected text for help d and
12215 help delete.
12216
12217 2006-05-02 Mark Kettenis <kettenis@gnu.org>
12218
12219 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12220 NetBSD/ELF targets.
12221
12222 2006-04-30 Mark Kettenis <kettenis@gnu.org>
12223
12224 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12225 single-step breakpoint fails; make this a KFAIL on
12226 sparc*-*-openbsd*.
12227 * gdb.base/siginfo.exp: Likewise.
12228 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12229
12230 2006-04-26 Michael Snyder <msnyder@redhat.com>
12231
12232 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12233 which may have to consume output from other forks.
12234 Add tests to make sure that "delete fork" succeeded.
12235
12236 2006-04-20 Michael Snyder <msnyder@redhat.com>
12237
12238 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12239 Add support for the Renesas M32C and M16C.
12240
12241 * gdb.asm/asm-source.exp: Add m32c target.
12242 * gdb.asm/m32c.inc: Support for m32c target.
12243
12244 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12245
12246 * gdb.base/commands.exp (recursive_source_test): New test.
12247
12248 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
12249
12250 * gdb.base/float.exp: Add pattern for sparc targets.
12251
12252 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12253
12254 * gdb.base/commands.exp (stray_arg0_test): New test.
12255
12256 2006-03-30 Paul Brook <paul@codesourcery.com>
12257
12258 * gdb.mi/mi-until.exp: kfail broken until command.
12259 * gdb.mi/mi2-until.exp: Ditto.
12260
12261 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
12262
12263 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12264
12265 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
12266
12267 * gdb.base/prelink.exp: Anchor tested-for regular expression
12268 on gdb prompt.
12269
12270 2006-03-07 Paul Brook <paul@codesourcery.com>
12271
12272 * gdb.base/assign.exp: Correct fail message.
12273
12274 2006-03-07 Paul Brook <paul@codesourcery.com>
12275
12276 * lib/compiler.c: Extract armcc version number.
12277 * lib/compiler.cc: Ditto.
12278
12279 2006-03-07 Paul Brook <paul@codesourcery.com>
12280
12281 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12282 additional_flags=-w.
12283 * gdb.arch/altivec-regs.exp: Ditto.
12284 * gdb.arch/e500-abi.exp: Ditto.
12285 * gdb.arch/e500-regs.exp: Ditto.
12286 * gdb.base/all-bin.exp: Ditto.
12287 * gdb.base/annota1.exp: Ditto.
12288 * gdb.base/annota3.exp: Ditto.
12289 * gdb.base/args.exp: Ditto.
12290 * gdb.base/arithmet.exp: Ditto.
12291 * gdb.base/assign.exp: Ditto.
12292 * gdb.base/async.exp: Ditto.
12293 * gdb.base/bang.exp: Ditto.
12294 * gdb.base/break.exp: Ditto.
12295 * gdb.base/call-rt-st.exp: Ditto.
12296 * gdb.base/completion.exp: Ditto.
12297 * gdb.base/cond-expr.exp: Ditto.
12298 * gdb.base/condbreak.exp: Ditto.
12299 * gdb.base/consecutive.exp: Ditto.
12300 * gdb.base/define.exp: Ditto.
12301 * gdb.base/display.exp: Ditto.
12302 * gdb.base/ena-dis-br.exp: Ditto.
12303 * gdb.base/environ.exp: Ditto.
12304 * gdb.base/eval-skip.exp: Ditto.
12305 * gdb.base/info-proc.exp: Ditto.
12306 * gdb.base/jump.exp: Ditto.
12307 * gdb.base/logical.exp: Ditto.
12308 * gdb.base/long_long.exp: Ditto.
12309 * gdb.base/maint.exp: Ditto.
12310 * gdb.base/miscexprs.exp: Ditto.
12311 * gdb.base/pc-fp.exp: Ditto.
12312 * gdb.base/pointers.exp: Ditto.
12313 * gdb.base/relational.exp: Ditto.
12314 * gdb.base/reread.exp: Ditto.
12315 * gdb.base/sect-cmd.exp: Ditto.
12316 * gdb.base/sep.exp: Ditto.
12317 * gdb.base/sepdebug.exp: Ditto.
12318 * gdb.base/until.exp: Ditto.
12319 * gdb.base/whatis-exp.exp: Ditto.
12320 * gdb.cp/annota2.exp: Ditto.
12321 * gdb.cp/annota3.exp: Ditto.
12322 * gdb.trace/actions.exp: Ditto.
12323 * gdb.trace/backtrace.exp: Ditto.
12324 * gdb.trace/circ.exp: Ditto.
12325 * gdb.trace/collection.exp: Ditto.
12326 * gdb.trace/deltrace.exp: Ditto.
12327 * gdb.trace/infotrace.exp: Ditto.
12328 * gdb.trace/limits.exp: Ditto.
12329 * gdb.trace/packetlen.exp: Ditto.
12330 * gdb.trace/passc-dyn.exp: Ditto.
12331 * gdb.trace/passcount.exp: Ditto.
12332 * gdb.trace/report.exp: Ditto.
12333 * gdb.trace/save-trace.exp: Ditto.
12334 * gdb.trace/tfind.exp: Ditto.
12335 * gdb.trace/tracecmd.exp: Ditto.
12336 * gdb.trace/while-dyn.exp: Ditto.
12337 * gdb.trace/while-stepping.exp: Ditto.
12338 * lib/gdb.exp: Ditto.
12339 (gdb_compile): Handle nowarning option.
12340
12341 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
12342
12343 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12344 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
12345 Rename executable to prelinkt. Don't re-prelink if we didn't
12346 get a core file. Test prelink -u exit status to tell whether
12347 prelinking failed. Use gdb_test_multiple.
12348
12349 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12350
12351 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12352 (do_tests): Call it.
12353
12354 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
12355
12356 * gdb.base/prelink.exp: New test.
12357 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12358
12359 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
12360
12361 * gdb.fortran/derived-type.f90: New file.
12362 * gdb.fortran/derived-type.exp: New testcase.
12363
12364 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
12365
12366 * gdb.base/default.exp: Allow ';' as a directory separator.
12367
12368 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12369
12370 * gdb.base/help.exp (help add-symbol-file): Update.
12371
12372 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12373
12374 * gdb.base/help.exp (help load): Update expected results.
12375
12376 2006-02-19 Fred Fish <fnf@specifix.com>
12377
12378 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12379 specifix hex value as part of results.
12380 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
12381
12382 2006-02-16 Fred Fish <fnf@specifix.com>
12383
12384 * gdb.base/whatis.c: Define variables using typedefs char_addr,
12385 ushort_addr, and slong_addr, so the typedefs are not optimized
12386 away.
12387 * gdb.base/whatis.exp: Add tests using type name for struct type,
12388 union type, enum type, and typedef.
12389
12390 2006-02-13 Mark Kettenis <kettenis@gnu.org>
12391
12392 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12393
12394 2006-02-13 Jim Blandy <jimb@redhat.com>
12395
12396 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12397 case where it takes two "next" commands to skip past the init
12398 call.
12399
12400 2006-02-12 Fred Fish <fnf@specifix.com>
12401
12402 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12403 to handle cases where it takes two "next" commands to skip
12404 past the init call.
12405
12406 2006-02-07 Joel Brobecker <brobecker@adacore.com>
12407
12408 * gdb.ada/array_return.exp: Mark the last test as expected to fail
12409 on hppa32 targets.
12410
12411 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
12412
12413 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12414 field.
12415
12416 2006-01-29 Mark Kettenis <kettenis@gnu.org>
12417
12418 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12419
12420 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12421
12422 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12423 files.
12424
12425 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12426
12427 * gdb.cp/maint.exp: Set complaints to a positive value.
12428
12429 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12430
12431 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
12432 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
12433 function name.
12434
12435 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12436
12437 * gdb.base/checkpoint.c: Update copyright notice. Include
12438 <stdlib.h>.
12439
12440 2006-01-04 Jim Blandy <jimb@redhat.com>
12441
12442 * gdb.asm/asm-source.exp: Independently provide default values for
12443 asm-flags and debug-flags. Use 'string equal' to do the
12444 comparison, not the implicit expr's '==' operator. Remove
12445 now-unneeded assignments to asm-flags. In h8300 case, place
12446 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12447
12448 2006-01-04 Michael Snyder <msnyder@redhat.com>
12449
12450 * gdb.base/checkpoint.c: New file.
12451 * gdb.base/checkpoint.exp: New file.
12452 * gdb.base/multi-fork.c: New file.
12453 * gdb.base/multi-fork.exp: New file.
12454 * gdb.base/pi.txt: New file (data for checkpoint.c test).
12455
12456 2006-01-04 Fred Fish <fnf@specifix.com>
12457
12458 * gdb.base/ptype.c (foo): Add typedef.
12459 (intfoo): Add function.
12460 * gdb.base/ptype1.c: New file.
12461 * gdb.base/ptype.exp: Handle compilation and linking with two
12462 source files. Test that proper type for "foo" is found based
12463 on source context rather than first match found in symtabs.
12464
12465 2005-12-28 Mark Kettenis <kettenis@gnu.org>
12466
12467 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12468 * gdb.asm/openbsd.inc: Indent commands.
12469
12470 2005-12-26 Mark Kettenis <kettenis@gnu.org>
12471
12472 * gdb.base/freebpcmd.exp: Increase timeout.
12473
12474 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12475
12476 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
12477
12478 * gdb.base/default.exp: Update check for "show version".
12479
12480 2005-12-09 Randolph Chung <tausq@debian.org>
12481
12482 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12483 * gdb.asm/pa64.inc: New file.
12484
12485 2005-12-09 Randolph Chung <tausq@debian.org>
12486
12487 * gdb.asm/common.inc: Indent commands.
12488 * gdb.asm/asmsrc1.s: Likewise.
12489 * gdb.asm/asmsrc2.s: Likewise.
12490
12491 2005-12-09 Randolph Chung <tausq@debian.org>
12492
12493 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12494 (get_addr_of_sym): Remove duplicate print.
12495 (gen_core): xfail hppa*-*-hpux*, update expected output.
12496 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12497 * gdb.arch/pa64-nullify.s: New file.
12498
12499 2005-12-09 Randolph Chung <tausq@debian.org>
12500
12501 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12502
12503 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
12504
12505 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12506 code generation for these functions.
12507 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12508 error message.
12509
12510 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
12511
12512 * gdb.base/help.exp (help b, help br, help bre, help brea)
12513 (help break): Update the expected message.
12514
12515 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
12516
12517 * gdb.asm/m68hc11.inc: Setup the data section.
12518 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12519 script for this test.
12520 (m6812-*-*): Likewise.
12521
12522 2005-11-09 Randolph Chung <tausq@debian.org>
12523
12524 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12525
12526 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
12527
12528 * gdb.base/break.exp: Fix a comment typo.
12529
12530 2005-11-03 Jim Blandy <jimb@redhat.com>
12531
12532 Checked in by Elena Zannoni <ezannoni@redhat.com>
12533
12534 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
12535
12536 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
12537
12538 * gdb.arch/gdb1558.c: Include stdio.h.
12539
12540 2005-10-31 Mark Kettenis <kettenis@gnu.org>
12541
12542 * gdb.asm/asm-source.exp: Use -e instead of --entry.
12543
12544 2005-10-31 Mark Kettenis <kettenis@gnu.org>
12545
12546 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12547
12548 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
12549
12550 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12551 vscr" tests to better match output.
12552
12553 2005-10-12 Jim Blandy <jimb@redhat.com>
12554
12555 * gdb.base/structs.exp (any): New function.
12556 (test_struct_returns): Don't make any assumptions at all about
12557 what value the function returns when GDB can't set the return
12558 value.
12559
12560 2005-10-09 Joel Brobecker <brobecker@adacore.com>
12561
12562 * gdb.ada/arrayidx/p.adb: New file.
12563 * gdb.ada/arrayidx.exp: New testcase
12564
12565 2005-10-09 Joel Brobecker <brobecker@adacore.com>
12566
12567 * gdb.ada/array_return/pck.ads: New file.
12568 * gdb.ada/array_return/pck.adb: New file.
12569 * gdb.ada/array_return/p.adb: New file.
12570 * gdb.ada/array_return.exp: New testcase.
12571
12572 2005-10-03 Joel Brobecker <brobecker@adacore.com>
12573
12574 * gdb.base/arrayidx.c: New file.
12575 * gdb.base/arrayidx.exp: New testcase.
12576
12577 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
12578
12579 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12580 frames-invalid and breakpoints-invalid are no longer generated
12581 with level 3 so don't expect them in the output.
12582
12583 2005-09-27 Bob Rossi <bob@brasko.net>
12584
12585 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
12586 from test. Escape the | in mi_gdb_test call.
12587 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12588 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12589 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12590 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12591 expected regex's in mi_gdb_test calls.
12592 * lib/mi-support.exp: Remove arbitrary .* from tests.
12593 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12594 Fully anchor GDB/MI expected results in mi_gdb_test.
12595 * lib/gdb.exp (string_to_regexp): Escape the ] character.
12596 * gdb.base/sizeof.exp: Remove escape character. Correct test.
12597
12598 2005-09-26 Paul Brook <paul@codesourcery.com>
12599
12600 * long_long.exp: Exclude eabi targets from arm FPA float format test.
12601
12602 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12603
12604 * bfp-test.c: New file.
12605 * bfp-test.exp: New testcase.
12606
12607 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12608
12609 * gdb.fortran/subarray.exp: New testcase to test the evaluation
12610 of subarray and substring variable.
12611 * gdb.fortran/subarray.f: New source file for the test of subarray
12612 and substring variable evaluation.
12613 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12614 of string constant.
12615
12616 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
12617
12618 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12619 copyright dates.
12620
12621 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
12622
12623 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12624 powerpc altivec' test with an almost identical 'info vector' test.
12625
12626 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12627
12628 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12629 vscr" tests to match output.
12630
12631 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12632
12633 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12634 output.
12635
12636 2005-09-11 Bob Rossi <bob@brasko.net>
12637
12638 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12639 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12640 commands that return an MI output command and an asyncronous MI output
12641 command.
12642 * gdb.mi/mi-console.exp: Ditto.
12643
12644 2005-09-11 Bob Rossi <bob@brasko.net>
12645
12646 * gdb.mi/mi-var-child.c: Include <string.h>.
12647
12648 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
12649
12650 * killed.exp: Correct gdb_expect syntax.
12651
12652 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
12653
12654 * lib/mi-support.exp (mi_gdb_load): Fix typo.
12655
12656 2005-08-02 Bob Rossi <bob@brasko.net>
12657
12658 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12659 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12660 Change tests to inferior-tty-set/show.
12661 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12662 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12663 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12664 inferior. Use mi_gdb_test to get GDB and Inferior output.
12665 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12666 descriptor.
12667 (mi_inferior_tty_name): Add inferior PTY file name.
12668 (mi_gdb_start): Add INFERIOR_PTY parameter.
12669 (mi_gdb_test): Add IPATTERN parameter.
12670
12671 2005-08-02 Bob Rossi <bob@brasko.net>
12672
12673 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12674 parameter to mi_gdb_test.
12675 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12676
12677 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12678
12679 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12680 struct_declarations.
12681 * gdb.mi/mi-var-child.exp: Step over the initialization of
12682 struct_declarations.
12683
12684 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12685
12686 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12687 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12688 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12689 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12690 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12691 file.
12692
12693 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
12694
12695 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12696 (do_children_tests): Assign values to the extra elements.
12697
12698 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12699 them for tests for "-var-update --no-values" and
12700 "-var-update --all-values".
12701 Add test for "-var-list-children --simple-values".
12702
12703 * gdb.mi/basics.c (callee4): Add integer array D[3]...
12704
12705 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12706 "-stack-list-locals --simple-values" Improve doc strings and
12707 comments.
12708
12709 2005-07-18 Mark Kettenis <kettenis@gnu.org>
12710
12711 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12712 *-*-openbsd*.
12713 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12714
12715 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12716 sigaltsatck'.
12717
12718 2005-07-14 Bob Rossi <bob@brasko.net>
12719
12720 * gdb.base/default.exp (tty): Changed output of command.
12721 * gdb.base/help.exp (help tty): Ditto.
12722
12723 2005-07-12 Mark Kettenis <kettenis@gnu.org>
12724
12725 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12726
12727 2005-07-10 Mark Kettenis <kettenis@gnu.org>
12728
12729 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12730 -stack-select-frame without arguments.
12731 (test_stack_frame_listing): Add test for newly implemented command
12732 -stack-info-frame.
12733
12734 2005-07-06 Bob Rossi <bob@brasko.net>
12735
12736 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12737 command.
12738 (Copyright): Update copyright.
12739
12740 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
12741
12742 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12743 tests to evaluate exponentiation expression.
12744
12745 2005-06-29 Andreas Schwab <schwab@suse.de>
12746
12747 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12748 main to avoid warnings.
12749
12750 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12751
12752 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
12753
12754 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12755 -stack-select-frame without arguments.
12756 (test_stack_frame_listing): Add test for newly implemented command
12757 -stack-info-frame.
12758
12759 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
12760
12761 * gdb.fortran/array-element.f: New file.
12762 * gdb.fortran/array-element.exp: New testcase.
12763
12764 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12765
12766 * gdb.base/bigcore.exp: Correct checks for systems which can
12767 not dump a large core file.
12768
12769 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12770
12771 * gdb.base/relocate.c: Add a copyright notice.
12772 (dummy): Remove.
12773 * gdb.base/relocate.exp: Test printing the values of variables
12774 from a relocatable file.
12775
12776 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
12777
12778 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12779 excess MI output after an error.
12780
12781 2005-05-29 Joel Brobecker <brobecker@adacore.com>
12782
12783 * gdb.arch/alpha-step.c: New file.
12784 * gdb.arch/alpha-step.exp: New testcase.
12785
12786 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
12787 Dennis Brueni <dennis@slickedit.com>
12788
12789 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12790 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12791 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12792 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12793 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12794 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12795 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12796
12797 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
12798 Wu Zhou <woodzltc@cn.ibm.com>
12799
12800 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
12801 IBM's xlc compiler.
12802 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12803 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12804
12805 2005-05-13 Jim Blandy <jimb@redhat.com>
12806
12807 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12808 calling gdb_suppress_entire_file.
12809 * gdb.base/charset.exp: Same.
12810 * gdb.base/call-rt-st.exp: Same.
12811
12812 2005-05-05 Bob Rossi <bob_rossi@cox.net>
12813
12814 * lib/gdb.exp (fullname_syntax): Added global regex.
12815 (fullname_syntax_POSIX): Ditto.
12816 (fullname_syntax_UNC): Ditto.
12817 (fullname_syntax_DOS_CASE): Ditto.
12818 (fullname_syntax_DOS): Ditto.
12819 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12820 fullname_syntax variable to scope and use it.
12821 (test_file_list_exec_source_files): Ditto.
12822 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12823
12824 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
12825
12826 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12827
12828 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
12829
12830 * lib/gdb.exp (skip_altivec_tests): New function, based on
12831 check_vmx_hw_available from the GCC testsuite.
12832 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12833 * lib/gdb.arch/altivec-regs.exp: Likewise.
12834
12835 2005-05-02 Jim Blandy <jimb@redhat.com>
12836
12837 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12838 calling gdb_suppress_entire_file.
12839
12840 2005-04-30 Randolph Chung <tausq@debian.org>
12841
12842 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12843 Slightly relax "sem_post" name checking.
12844
12845 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12846
12847 * gdb.base/unload.exp: Use new shared library infrastructure.
12848
12849 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12850
12851 * gdb.base/so-impl-ld.exp: Use new shared library
12852 infrastructure.
12853
12854 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
12855
12856 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12857 * gdb.asm/h8300.inc: New file.
12858
12859 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12860
12861 * gdb.base/shlib-call.exp: Change to use new shared library
12862 infrastructure.
12863
12864 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12865
12866 * gdb.base/pending.exp: Change to use new shared library
12867 infrastructure.
12868
12869 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12870
12871 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
12872 use test_compiler_info instead of gcc_compiled, and update copyright.
12873
12874 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
12875
12876 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
12877 shared objects being adjusted and update copyright years.
12878
12879 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
12880
12881 * ChangeLog: Correct some 2003-01-13 dates.
12882 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
12883 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
12884 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
12885 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
12886 gdb.trace/tfind.exp: Update copyright years.
12887
12888 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
12889 Daniel Jacobowitz <dan@codesourcery.com>
12890
12891 * lib/gdb.exp (gdb_compile): Handle shlib=.
12892 (gdb_compile_shlib): New function.
12893
12894 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
12895
12896 * lib/gdb.exp (test_compiler_info): Give argument a default value.
12897
12898 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12899
12900 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
12901 gdb.server.
12902 * configure.ac: Likewise.
12903 * configure: Regenerated.
12904 * gdb.gdbserver/Makefile.in: Moved to...
12905 * gdb.server/Makefile.in: ... here.
12906 * gdb.gdbserver/server.c: Moved to...
12907 * gdb.server/server.c: ... here.
12908 * gdb.gdbserver/server-run.exp: Moved to...
12909 * gdb.server/server-run.exp: ... here.
12910
12911 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12912
12913 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
12914 * configure.ac: Create gdb.gdbserver/Makefile.
12915 * configure: Regenerated.
12916 * lib/gdbserver-support.exp: New file, derived from
12917 config/gdbserver.exp.
12918 * config/gdbserver.exp: Use gdbserver-support.exp.
12919 * gdb.gdbserver/Makefile.in: New file.
12920 * gdb.gdbserver/server.c: New file.
12921 * gdb.gdbserver/server-run.exp: New file.
12922
12923 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
12924
12925 * lib/gdb.exp (test_compiler_info): Return compiler_info
12926 if no arguments are given.
12927
12928 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
12929
12930 * gdb.arch/altivec-abi.exp: Check for compiler and set
12931 use altivec' flag accordingly.
12932 * gdb.arch/altivec-regs.exp: Likewise.
12933
12934 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
12935
12936 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
12937
12938 2005-03-27 Andreas Schwab <schwab@suse.de>
12939
12940 * gdb.base/bigcore.c (main): Add missing mode argument in open
12941 call.
12942
12943 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
12944
12945 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
12946 downloads.
12947 * config/gdbserver.exp (gdb_load): Likewise.
12948
12949 2005-03-14 Paul Brook <paul@codesourcery.com>
12950
12951 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
12952 targets.
12953
12954 2005-03-09 Joel Brobecker <brobecker@adacore.com>
12955
12956 * gdb.dwarf2/dup-psym.S: New file.
12957 * gdb.dwarf2/dup-psym.exp: New testcase.
12958
12959 2005-03-09 Joel Brobecker <brobecker@adacore.com>
12960
12961 * gdb.ada/exec_changed/first.adb: New file.
12962 * gdb.ada/exec_changed/second.adb: New file.
12963 * gdb.ada/exec_changed.exp: New testcase.
12964
12965 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
12966
12967 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
12968 (A2): New class.
12969 (main): Test operator+.
12970 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
12971 breakpoint test.
12972
12973 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
12974 * gdb.base/signull.exp: Disable if gdb,nosignals.
12975 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
12976 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
12977 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
12978 * gdb.mi/mi2-console.exp: Likewise.
12979 * gdb.trace/collection.exp (run_trace_experiment): Consume the
12980 continue output at start.
12981 (gdb_collect_locals_test): Robustify regexp.
12982 * gdb.trace/passc-dyn.exp: Fix comment typo.
12983 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
12984
12985 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
12986
12987 * gdb.asm/asm-source.exp: Add iq2000 case.
12988 * gdb.asm/iq2000.inc: New file.
12989
12990 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
12991
12992 * gdb.base/command.exp: Change hardcoded value to regular expression.
12993 * gdb.base/float.exp: Add powerpc to the list of targets checked.
12994
12995 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
12996
12997 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
12998 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
12999 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13000 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13001 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13002
13003 2005-03-05 Mark Kettenis <kettenis@gnu.org>
13004
13005 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13006 changes.
13007
13008 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13009
13010 * lib/compiler.c: Add test for IBM's xlc compiler.
13011 * lib/compiler.cc: Likewise.
13012
13013 2004-02-24 Joel Brobecker <brobecker@adacore.com>
13014
13015 * gdb.ada/fixed_points.exp: Create compilation object directory
13016 before running the test.
13017 * gdb.ada/null_record.exp: Likewise.
13018 * gdb.ada/packed_array.exp: Likewise.
13019 * gdb.ada/start.exp: Likewise.
13020
13021 2005-02-15 Joel Brobecker <brobecker@adacore.com>
13022
13023 * gdb.ada/packed_array/pa.adb: New file.
13024 * gdb.ada/packed_array.exp: New testcase.
13025
13026 2005-02-10 Mark Kettenis <kettenis@gnu.org>
13027
13028 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13029 files.
13030
13031 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13032 on *-*-openbsd*. Correctly match whitespace in regukar
13033 expressions.
13034
13035 2005-02-10 Daniel Jacobowitz <dan@debian.org>
13036
13037 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13038 PR exp/1821
13039 * gdb.base/gdb1821.c: New test file.
13040 * gdb.base/gdb1821.exp: New test file.
13041
13042 2005-02-09 Joel Brobecker <brobecker@adacore.com>
13043
13044 * gdb.base/start.c: New file.
13045 * gdb.base/start.exp: New testcase.
13046
13047 2005-02-09 Joel Brobecker <brobecker@adacore.com>
13048
13049 * gdb.ada/start/dummy.adb: New file.
13050 * gdb.ada/start.exp: New testcase.
13051
13052 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
13053
13054 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13055 for printing symbols and statistics.
13056 Add test for using relative pathnames in "maint print msymbols" test.
13057 Mark "maint info sections DATA" XFAIL on Cygwin.
13058 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13059 tests.
13060
13061 2005-02-09 Andreas Schwab <schwab@suse.de>
13062
13063 Committed by Andrew Cagney <cagney@gnu.org>
13064 * gdb.base/remotetimeout.exp: New file.
13065
13066 2005-02-07 Mark Kettenis <kettenis@gnu.org>
13067
13068 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13069
13070 2005-02-03 Joel Brobecker <brobecker@adacore.com>
13071
13072 * gdb.ada/gnat_ada.gpr: New file.
13073 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13074 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13075 * configure.ac: No longer generate gnat_ada.gpr.
13076 * configure: Regenerate.
13077 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13078 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13079 * gdb.ada/null_record/bar.ads: Likewise.
13080 * gdb.ada/null_record/bar.adb: Likewise.
13081 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13082 * gdb.ada/null_record.exp (testdir): New variable.
13083 (testfile): executable is now in testdir subdirectory.
13084 (srcfile): Use full path to the main compilation unit.
13085 * gdb.ada/fixed_points.exp: Same changes as above.
13086
13087 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
13088
13089 * gdb.base/interp.exp: New test.
13090
13091 2005-01-24 Andrew Cagney <cagney@gnu.org>
13092
13093 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13094
13095 2005-01-19 Andrew Cagney <cagney@gnu.org>
13096
13097 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13098 configure.ac not configure.in.
13099
13100 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13101 of powerpc*-*-*.
13102 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
13103 * gdb.base/list.exp (test_list_function)
13104 (test_list_filename_and_function): Ditto.
13105 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13106
13107 2005-01-16 Andrew Cagney <cagney@gnu.org>
13108
13109 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13110
13111 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13112
13113 2005-01-14 Andrew Cagney <cagney@gnu.org>
13114
13115 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13116 * gdb.mi/mi2-var-cmd.exp: Ditto.
13117
13118 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
13119
13120 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13121
13122 2005-01-07 Andrew Cagney <cagney@gnu.org>
13123
13124 * configure.ac: Rename configure.in, require autoconf 2.59.
13125 * configure: Re-generate.
13126 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13127 * gdb.stabs/configure: Re-generate.
13128 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13129 * gdb.hp/configure: Re-generate.
13130 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13131 autoconf 2.59.
13132 * gdb.hp/gdb.objdbg/configure: Re-generate.
13133 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13134 autoconf 2.59.
13135 * gdb.hp/gdb.defects/configure: Re-generate.
13136 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13137 autoconf 2.59.
13138 * gdb.hp/gdb.compat/configure: Re-generate.
13139 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13140 autoconf 2.59.
13141 * gdb.hp/gdb.base-hp/configure: Re-generate.
13142 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13143 autoconf 2.59.
13144 * gdb.hp/gdb.aCC/configure: Re-generate.
13145
13146 2004-12-15 Jim Blandy <jimb@redhat.com>
13147
13148 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13149 under NPTL when there is debugging info available for libpthread.
13150
13151 2004-12-13 Jerome Guitton <guitton@gnat.com>
13152
13153 * gdb.ada/fixed_points.c: New file.
13154 * gdb.ada/fixed_points.exp: New file.
13155
13156 2004-12-03 Randolph Chung <tausq@debian.org>
13157
13158 * gdb.arch/pa-nullify.exp: New file.
13159 * gdb.arch/pa-nullify.s: New file.
13160
13161 2004-11-30 Randolph Chung <tausq@debian.org>
13162
13163 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13164 instead of "tbug". Fix regexp to work properly with gdb_test.
13165
13166 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13167
13168 * gdb.base/bitfields2.exp: New test.
13169 * gdb.base/bitfields2.c: New file.
13170
13171 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
13172
13173 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13174
13175 2004-11-16 Randolph Chung <tausq@debian.org>
13176
13177 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13178
13179 2004-11-14 Daniel Jacobowitz <dan@debian.org>
13180
13181 * gdb.threads/threadapply.exp: Correct "macro details" test.
13182
13183 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13184
13185 * gdb.threads/threadapply.exp: New test.
13186 * gdb.threads/threadapply.c: New file.
13187
13188 2004-11-07 Mark Kettenis <kettenis@gnu.org>
13189
13190 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13191 frames.
13192
13193 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
13194
13195 * gdb.base/cursal.exp: New file.
13196 * gdb.base/cursal.c: New file.
13197
13198 2004-11-03 Andrew Cagney <cagney@gnu.org>
13199
13200 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13201
13202 2004-10-30 Mark Kettenis <kettenis@gnu.org>
13203
13204 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13205 NetBSD/ELF targets.
13206
13207 2004-10-29 Joel Brobecker <brobecker@gnat.com>
13208
13209 * gdb.threads/bp_in_thread.c: New file, copied from
13210 pthread_cond_wait.c.
13211 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13212 file, rather than reusing the .c file from another testcase.
13213
13214 2004-10-20 Joel Brobecker <brobecker@gnat.com>
13215
13216 * gdb.ada/null_record.exp: Check where we stopped after
13217 sending the start command, instead of where the associated
13218 temporary breakpoint was inserted.
13219
13220 2004-10-14 Andrew Cagney <cagney@gnu.org>
13221
13222 * gdb.mi/gdb701.c (main): Return 0.
13223
13224 2004-10-13 Daniel Jacobowitz <dan@debian.org>
13225
13226 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
13227
13228 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13229
13230 * gdb.threads/schedlock.c: Add comment markers to use to find
13231 line numbers.
13232 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13233 comments.
13234 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13235 breakpoint lines.
13236
13237 2004-10-12 Daniel Jacobowitz <dan@debian.org>
13238
13239 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13240
13241 2004-10-12 Daniel Jacobowitz <dan@debian.org>
13242
13243 * configure.in: Add gdb.dwarf2.
13244 * configure: Regenerated.
13245 * Makefile.in: Add gdb.dwarf2.
13246 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13247 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13248 gdb.dwarf2/file1.txt: New files.
13249
13250 2004-10-11 Orjan Friberg <orjanf@axis.com>
13251
13252 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
13253 of "run", since the latter doesn't work with remote targets. Adjust
13254 the breakpoint numbering accordingly.
13255 * gdb.threads/pthread_cond_wait.exp: Ditto.
13256
13257 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13258
13259 * gdb.base/overlays.exp: Update copyright years.
13260
13261 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13262
13263 * gdb.base/overlays.exp: Disable if target is Linux.
13264
13265 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
13266
13267 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13268
13269 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13270
13271 * gdb.asm/asm-source.exp: Add m32r-linux target.
13272 * gdb.asm/m32r-linux.inc: New file.
13273
13274 2004-09-24 Andrew Cagney <cagney@redhat.com>
13275 David Anderson <anderson@redhat.com>
13276
13277 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13278 command fails, assume things will work.
13279 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13280 (_GNU_SOURCE): Define.
13281 (print_unsigned, print_hex): Change parameter to "long long".
13282 (print_byte_count): New function, use to print byte counts.
13283 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13284 O_LARGEFILE.
13285 (main): Compute an upper bound on a corefile in max_core_size.
13286 Limit memory chunk size to max_core_size. Limit total memory
13287 allocated to max_core_size.
13288
13289 2004-09-23 Andrew Cagney <cagney@gnu.org>
13290
13291 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13292 from a separate process with code that creates a corefile by
13293 making the inferior dump core.
13294
13295 2004-09-23 Mark Kettenis <kettenis@gnu.org>
13296
13297 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13298 block.
13299
13300 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13301
13302 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13303 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13304 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13305 Likewise.
13306
13307 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13308
13309 * gdb.java/jprint.exp: New test case for java inferior call.
13310 * gdb.java/jprint.java: Ditto.
13311
13312 2004-09-15 Joel Brobecker <brobecker@gnat.com>
13313
13314 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13315
13316 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13317
13318 * gdb.threads/killed.c: Include <stdlib.h>.
13319 * gdb.threads/pthreads.c: Likewise.
13320
13321 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13322
13323 * gdb.threads/killed.c: Add copyright notice.
13324
13325 2004-09-10 Jason Molenda (jmolenda@apple.com)
13326
13327 * gdb.base/define.exp: Two new tests to verify zero space chars
13328 after 'if' and 'while' commands in a user-defined command is correctly
13329 parsed.
13330
13331 2004-09-08 Andrew Cagney <cagney@gnu.org>
13332
13333 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
13334 delivery test with duplicate at end of file.
13335
13336 2004-09-06 Mark Kettenis <kettenis@jive.nl>
13337
13338 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13339
13340 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13341
13342 * config/hppro.exp: Removed.
13343
13344 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13345
13346 * config/sparclet.exp: Removed.
13347
13348 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13349
13350 * config/udi.exp: Removed.
13351
13352 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
13353
13354 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13355 of "exp_continue".
13356 (advancei): Likewise.
13357
13358 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13359
13360 * gdb.base/unload.exp: Fix so messages aren't duplicated.
13361
13362 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
13363
13364 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
13365 to check for nodebug in executable.
13366 * gdb.gdb/observer.exp (setup_test): Likewise.
13367 * gdb.gdb/selftest.exp (test_with_self): Likewise.
13368 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13369
13370 2004-09-01 Andrew Cagney <cagney@gnu.org>
13371
13372 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13373 files.
13374
13375 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13376
13377 * gdb.base/unload.exp: Fix expected warning message to match
13378 latest format.
13379
13380 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
13381
13382 * gdb.base/call-rt-st.exp: Fix typos.
13383
13384 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
13385
13386 * gdb.threads/thread_check.exp: New testcase.
13387 * gdb.threads/thread_check.c: New testcase.
13388
13389 2004-08-31 Andrew Cagney <cagney@gnu.org>
13390
13391 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13392 (skip_to_handler_entry): New procedures. Test stepping into a
13393 handler when the breakpoint is at the handler's entry point.
13394
13395 2004-08-30 Andrew Cagney <cagney@gnu.org>
13396
13397 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13398 gdb/1757.
13399
13400 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13401
13402 With code from Manoj Iyer <manjo@austin.ibm.com>:
13403 * lib/gdb.exp (gdb_file_cmd): Return more information in the
13404 return value. Add an arm for "no debugging symbols found".
13405 Change a stray "error" to "perror".
13406 (gdb_run_cmd): Adapt to new return value.
13407 * gdb.base/remote.exp: Adapt to new return value.
13408 * gdb.gdb/complaints.exp: Likewise.
13409 * gdb.gdb/observer.exp: Likewise.
13410 * gdb.gdb/selftest.exp: Likewise.
13411 * gdb.gdb/xfullpath.exp: Likewise.
13412
13413 2004-08-27 Joel Brobecker <brobecker@gnat.com>
13414
13415 * gdb.threads/bp_in_thread.exp: New testcase.
13416
13417 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13418
13419 Fix PR testsuite/1735.
13420 * gdb.threads/schedlock.c (thread_function): Add a cast
13421 to suppress a gcc warning.
13422 * gdb.threads/thread-specific.c (thread_function): Likewise.
13423
13424 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13425
13426 * gdb.base/unload.c: Include <stdlib.h>.
13427
13428 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13429
13430 From Paul Gilliam <pgilliam@us.ibm.com>:
13431 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13432 synchronized after the "return".
13433
13434 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13435
13436 * gdb.mi/basics.c: Include <stdio.h>.
13437 * gdb.mi/pthreads.c: Include <stdlib.h>.
13438 * gdb.mi/var-cmd.c: Include <stdlib.h>.
13439
13440 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13441
13442 * gdb.threads/schedlock.c: Add copyright notice.
13443
13444 2004-08-25 Andrew Cagney <cagney@gnu.org>
13445
13446 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13447 (skip_over_handler, breakpoint_over_hander): New test procedures.
13448 (advance, advancei): Add a proper prefix, do not use
13449 rerun_to_main.
13450 * gdb.base/sigstep.c (main): Change to use an infinite loop.
13451
13452 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
13453
13454 * gdb.mi/basics.c: Add copyright notice.
13455 * gdb.mi/var-cmd.c: Add copyright notice.
13456
13457 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13458
13459 * lib/gdb.exp: Remove signed_keyword_not_used.
13460 * lib/compiler.c: Likewise.
13461 * lib/compiler.cc: Likewise.
13462
13463 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13464
13465 * gdb.base/whatis.c: Remove conditional disabling of "signed".
13466 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13467
13468 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13469
13470 * gdb.base/whatis.c: Add copyright notice.
13471
13472 2004-08-20 Mark Kettenis <kettenis@gnu.org>
13473
13474 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
13475 it to skip the breakpoints encoded in the inline assembly.
13476
13477 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13478
13479 * Makefile.in: Add gdb.fortran.
13480
13481 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13482
13483 * gdb.base/call-sc.exp (test_scalar_returns):
13484 Fix cut-and-paste glitch in "Make fun return now".
13485
13486 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13487
13488 * configure.in: Add gdb.fortran.
13489 * configure: Regenerate.
13490 * gdb.fortran/Makefile.in: New file.
13491 * lib/gdb.exp (skip_fortran_tests): New procedure.
13492
13493 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13494
13495 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
13496 reference to bug-gnu@prep.ai.mit.edu.
13497 * gdb.mi/mi-var-child.exp: Likewise.
13498 * gdb.mi/mi-var-cmd.exp: Likewise.
13499 * gdb.mi/mi-var-display.exp: Likewise.
13500 * gdb.mi/mi2-var-block.exp: Likewise.
13501 * gdb.mi/mi2-var-child.exp: Likewise.
13502 * gdb.mi/mi2-var-cmd.exp: Likewise.
13503 * gdb.mi/mi2-var-display.exp: Likewise.
13504
13505 2004-08-15 Mark Kettenis <kettenis@gnu.org>
13506
13507 * gdb.base/unload.c (main): Make local variable msg const.
13508
13509 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13510
13511 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
13512 to bug-gnu@prep.ai.mit.edu.
13513 * gdb.mi/mi-disassemble.exp: Likewise.
13514 * gdb.mi/mi-eval.exp: Likewise.
13515 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
13516 default line number.
13517 * gdb.mi/mi-return.exp: Likewise.
13518 * gdb.mi/mi-simplerun.exp: Likewise.
13519 * gdb.mi/mi-stack.exp: Likewise.
13520 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
13521 number with explicit range test.
13522 * gdb.mi/mi-watch.exp: Likewise.
13523 * gdb.mi/mi2-break.exp: Likewise.
13524 * gdb.mi/mi2-cli.exp: Likewise.
13525 * gdb.mi/mi2-disassemble.exp: Likewise.
13526 * gdb.mi/mi2-eval.exp: Likewise.
13527 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
13528 default line number.
13529 * gdb.mi/mi2-return.exp: Likewise.
13530 * gdb.mi/mi2-simplerun.exp: Likewise.
13531 * gdb.mi/mi2-stack.exp: Likewise.
13532 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
13533 number with explicit range test.
13534 * gdb.mi/mi2-watch.exp: Likewise.
13535
13536 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13537
13538 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13539 * gdb.cp/m-static.exp: Likewise.
13540 * gdb.cp/rtti.exp: Likewise.
13541
13542 2004-08-14 Mark Kettenis <kettenis@gnu.org>
13543
13544 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13545
13546 2004-08-14 Eli Zaretskii <eliz@gnu.org>
13547
13548 * ChangeLog: Prefix Local Variables with semi-colons and indent
13549 the reference to older ChangeLog files, to fix fontification in
13550 Emacs.
13551
13552 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13553
13554 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13555 * gdb.mi/mi2-break.exp: Likewise.
13556
13557 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13558
13559 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13560
13561 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13562
13563 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13564
13565 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13566
13567 * gdb.cp/classes.exp: Remove unused declarations. Just let
13568 test names default instead of providing special names. Remove
13569 extraneous demangler test.
13570
13571 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
13572
13573 * gdb.base/unload.exp: New test for breakpoints in dynamically
13574 loaded libraries.
13575 * gdb.base/unload.c: Ditto.
13576 * gdb.base/unloadshr.c: Ditto.
13577
13578 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
13579
13580 * gdb.cp/classes.exp (test_ptype_class_objects): Call
13581 cp_test_ptype_class.
13582 (test_enums): Likewise.
13583
13584 2004-08-10 Andrew Cagney <cagney@gnu.org>
13585
13586 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13587 files.
13588
13589 2004-08-10 Andrew Cagney <cagney@gnu.org>
13590
13591 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13592 init_malloc call.
13593
13594 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
13595
13596 * ChangeLog: Add copyright notice. The notice is copied
13597 from emacs 21.3 top level ChangeLog.
13598
13599 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13600
13601 * lib/cp-support.exp: New file.
13602 * lib/cp-support.exp (cp_test_type_class): New function.
13603 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13604 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13605 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13606 cp_test_ptype_class.
13607
13608 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13609
13610 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13611 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13612 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13613 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13614 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13615 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13616 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13617 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13618 gdb.mi/mi2-watch.exp: Update copyright years.
13619
13620 2004-08-09 Mark Kettenis <kettenis@gnu.org>
13621
13622 * gdb.base/sigaltstack.exp: Provide proper anchoring.
13623
13624 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13625
13626 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13627 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13628 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13629 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13630 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13631 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13632 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13633 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13634 gdb.mi/mi-watch.exp: Update copyright years.
13635
13636 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13637
13638 PR gdb/1738
13639 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13640 from a breakpoint with a pending signal.
13641
13642 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13643
13644 PR gdb/1736
13645 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13646 * gdb.base/sigaltstack.exp (finish_test): Consume output until
13647 the prompt.
13648 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13649
13650 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13651
13652 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13653
13654 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13655
13656 PR gdb/1736
13657 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
13658 for i?86-*-linux*.
13659
13660 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13661
13662 * gdb.arch/i386-prologue.exp: Compile without debug information.
13663
13664 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
13665
13666 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13667 rather than asking gdb to search.
13668
13669 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13670
13671 * gdb.base/gcore.c: Include <string.h>.
13672
13673 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13674
13675 * gdb.base/gcore.c: Add copyright notice.
13676
13677 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13678
13679 * gdb.base/freebpcmd.c: Include <stdio.h>.
13680 * gdb.base/long_long.c: Include <string.h>.
13681 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13682 * gdb.base/siginfo.c: Include <string.h>.
13683 * gdb.base/sigstep.c: Include <string.h>.
13684
13685 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13686
13687 * gdb.base/complex.c: Include <stdlib.h>.
13688
13689 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13690
13691 * gdb.base/complex.c: Add copyright notice.
13692
13693 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13694
13695 * gdb.base/charset.c: Include <stdlib.h>.
13696
13697 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13698
13699 * gdb.base/auxv.c: Include <stdlib.h>.
13700
13701 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13702
13703 * gdb.base/auxv.c: Add copyright notice.
13704
13705 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13706
13707 * gdb.base/coremaker.c: Add copyright notice.
13708 * gdb.base/coremaker2.c: Add copyright notice.
13709
13710 2004-08-04 Andrew Cagney <cagney@gnu.org>
13711
13712 * gdb.base/store.exp: Update copyright.
13713 (check_set, up_set, check_struct, up_struct): Add a prefix to test
13714 names, do not import gdb_prompt.
13715
13716 2004-08-01 Andrew Cagney <cagney@gnu.org>
13717
13718 Fix PR testsuite/1729.
13719 * gdb.base/dump.exp: Add test name to callers of capture_value, do
13720 not use capture_value with value 4.
13721 (capture_value): Add optional test name parameter.
13722 (test_reload_saved_value, test_restore_saved_value): Use $msg as
13723 the prefix, pass to capture_value.
13724
13725 2004-08-01 Mark Kettenis <kettenis@gnu.org>
13726
13727 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13728 * gdb.arch/i386-prologue.c (standard): New prototype and function.
13729 (main): Call new function.
13730
13731 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13732
13733 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13734
13735 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13736
13737 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13738
13739 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13740
13741 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
13742 Accept more values of vtbl pointer. Remove some messages
13743 about "obsolete gcc or gdb".
13744
13745 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13746
13747 * gdb.cp/classes.exp: Accept more varieties of ptype output.
13748
13749 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13750
13751 * gdb.base/asm-source.exp: Properly convert target board
13752 debug flags from gcc format to binutils format.
13753
13754 2004-07-28 Mark Kettenis <kettenis@gnu.org>
13755
13756 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13757 gdb1718". PR backtrace/1718 partially fixed.
13758
13759 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
13760
13761 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13762
13763 2004-07-26 Nick Clifton <nickc@redhat.com>
13764
13765 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
13766 good default value for a specific architecture is available then
13767 set it to that value. Otherwise default to the -gstabs switch.
13768 Remove the -g... switches from the asm-flags variable. Allow the
13769 target board info to override the value if it wants to. Pass the
13770 switch on the assembler command line.
13771
13772 2004-07-23 Mark Kettenis <kettenis@gnu.org>
13773
13774 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13775 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13776 (main): Call new function.
13777
13778 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
13779
13780 Test for PR exp/1715.
13781 * gdb.base/radix.exp: Refactor common procedures. Make all
13782 test names unique. Change XFAIL to KFAIL.
13783
13784 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
13785
13786 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13787 * gdb.ada/gnat_ada.gin: ... to here.
13788 * configure.in: Use gnat_ada.gin.
13789 * configure: Regenerate.
13790
13791 2004-07-20 Andrew Cagney <cagney@gnu.org>
13792
13793 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13794 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
13795 XFAILs. Clean up test messages and comments. Check backtraces.
13796 Delete re-sync code.
13797
13798 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13799
13800 Fix PR cli/740.
13801 * gdb.base/annota1.exp: Honor gdb,nosignals.
13802 * gdb.base/annota3.exp: Likewise.
13803
13804 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13805
13806 * lib/java.exp: Update copyright notice.
13807
13808 2004-07-19 Andrew Cagney <cagney@gnu.org>
13809
13810 * gdb.base/selftest.exp: Copy file from here ...
13811 * gdb.gdb/selftest.exp: ... to here.
13812
13813 2004-07-16 Andrew Cagney <cagney@redhat.com>
13814
13815 * lib/insight-support.exp: Delete file.
13816 * lib/java.exp (java_init): Fix copyright.
13817
13818 2004-07-16 Andrew Cagney <cagney@gnu.org>
13819
13820 * gdb.base/restore.c: Append "prologue" to comments marking the a
13821 function's prologue.
13822 * gdb.base/restore.exp: Update copyright, re-indent.
13823 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
13824 callerN" prefix where needed. Update patterns that match a
13825 function's prologue.
13826
13827 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
13828
13829 * gdb.base/restore.c: Add copyright notice.
13830
13831 2004-07-16 Andrew Cagney <cagney@gnu.org>
13832
13833 * gdb.base/logical.exp: Update copyright.
13834 (evaluate): New procedure. Use to re-implement tests using
13835 several tables.
13836
13837 2004-07-14 Martin Hunt <hunt@redhat.com>
13838
13839 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13840 which fixes some problems where init.tcl was not found.
13841
13842 2004-07-13 Andrew Cagney <cagney@gnu.org>
13843
13844 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13845 (check_sizeof, check_valueof): Do not include the output in the
13846 test name. Use gdb_test.
13847 (get_valueof): Use gdb_test_multiple.
13848
13849 * gdb.base/step-test.exp: Update copyright. Use
13850 gdb_test_multiple. Ensure that test names do not include
13851 architecture dependent output.
13852
13853 * gdb.gdb/observer.exp: Update copyright.
13854 (setup_test): Use gdb_test_multiple.
13855 (attach_first_observer, attach_second_observer)
13856 (attach_third_observer, detach_first_observer)
13857 (detach_second_observer, detach_third_observer)
13858 (reset_counters, check_counters): Make $message a prefix.
13859 (test_normal_stop_notifications): Add "args" parameter - a list of
13860 init functions to be called. Make $message a prefix,
13861 (test_observer_normal_stop): Change the message prefixes so that
13862 they are unique, pass the attach / detach procedures to
13863 test_normal_stop_notifications.
13864
13865 * gdb.base/signull.exp (test_segv): Prefix all tests with
13866 "${name}". Clean up test messages.
13867
13868 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
13869
13870 * gdb.base/ena-dis-br.exp: Update copyright.
13871 (break_at): New function. Replace send_gdb with gdb_test,
13872 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
13873 ignore count, not stopped at bpt", with KFAIL.
13874
13875 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
13876
13877 * gdb.base/attach.exp: Remove cleanupfile handling.
13878
13879 2004-07-12 Andrew Cagney <cagney@gnu.org>
13880
13881 * gdb.base/annota1.exp: Cleanup corefile test name.
13882 * gdb.base/annota3.exp: Ditto.
13883
13884 2004-07-12 Andrew Cagney <cagney@gnu.org>
13885
13886 * gdb.base/signals.exp: Clean up copyright, re-indent.
13887
13888 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
13889 gdb_test and gdb_test_multiple.
13890
13891 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
13892
13893 * gdb.java/jmain.exp: Fix expected line number for main to
13894 break at. Set XFAIL for break at main test since gcj does not
13895 provide line number info for first statement in main.
13896
13897 2004-07-08 Andrew Cagney <cagney@gnu.org>
13898
13899 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
13900
13901 * gdb.base/sigbpt.exp: Make the common part of each test name a
13902 prefix instead of suffix.
13903
13904 2004-07-07 Bob Rossi <bob_rossi@cox.net>
13905
13906 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
13907 test from test_tbreak_creation_and_listing to
13908 test_file_list_exec_source_file
13909 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
13910 Changed name of test from test_tbreak_creation_and_listing to
13911 test_file_list_exec_source_file
13912
13913 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
13914
13915 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
13916 the jmisc() constructor instead of <init>.
13917 * gdb.java/jmisc1.exp: Ditto.
13918
13919 2004-07-07 Andrew Cagney <cagney@gnu.org>
13920
13921 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
13922 corrupting the PC.
13923
13924 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
13925
13926 * gdb.cp/templates.exp: Accept whitespace change in demangler
13927 output.
13928
13929 2004-07-06 Andrew Cagney <cagney@gnu.org>
13930
13931 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
13932
13933 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
13934
13935 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
13936 * lib/compiler.cc: Likewise.
13937
13938 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
13939
13940 * lib/compiler.cc: Work around string preprocessing problem
13941 with old hp c++ compiler.
13942 * lib/compiler.c: Likewise.
13943
13944 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
13945
13946 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
13947 directives to conditionalize symbol prefixing.
13948 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
13949 additional_flags handling. Add underscore prefix for Cygwin.
13950 * gdb.arch/i386-unwind.c: Use preprocessor directives to
13951 conditionalize symbol prefixing.
13952 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
13953 additional_flags handling. Add underscore prefix for Cygwin.
13954
13955 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
13956
13957 * gdb.base/bigcore.exp: Skip test on Cygwin.
13958
13959 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
13960
13961 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
13962 formats for "info register". Use gdb_test_multiple. Fix
13963 the "invalid register" test.
13964
13965 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
13966
13967 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
13968 PID for Cygwin. Add Cygwin specific strings to check for in some
13969 tests.
13970 (do_attach_tests): Add a test for user interaction when attaching
13971 to a process with no matching symbol table already loaded.
13972
13973 2004-06-26 Andrew Cagney <cagney@gnu.org>
13974
13975 Test PR java/1567 and PR java/1565.
13976 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
13977 * gdb.java/jmisc2.exp: Delete file.
13978
13979 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
13980
13981 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
13982
13983 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
13984
13985 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
13986 attach process.
13987
13988 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
13989
13990 * gdb.cp/pr-1553.exp: Remove.
13991
13992 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
13993
13994 * gdb.cp/pr-1553.cc: Remove.
13995 * gdb.cp/pr-1553.exp: Disable this test.
13996
13997 2004-06-20 Jim Blandy <jimb@redhat.com>
13998
13999 Fix PR testsuite/1680.
14000 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14001 regular expressions.
14002
14003 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14004
14005 Fix PR testsuite/1679.
14006 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14007 Issue an UNSUPPORTED result instead.
14008
14009 2004-06-18 Jim Blandy <jimb@redhat.com>
14010
14011 * gdb.base/charset.exp: Only send a control-C if we see a new
14012 prompt and incomplete command.
14013
14014 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14015
14016 * gdb.cp/pr-574.cc: Add copyright notice.
14017
14018 2004-06-17 Jim Blandy <jimb@redhat.com>
14019
14020 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14021 cases where the regexp has no groups; this grabs random text from
14022 the previous test suite, whatever that was.
14023
14024 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14025
14026 * gdb.cp/printmethod.cc: Add copyright notice.
14027
14028 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14029
14030 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14031
14032 2004-06-16 Andrew Cagney <cagney@gnu.org>
14033
14034 * gdb.base/signull.c: Update copyright. Include <string.h>.
14035 (bowler): Replace data_pointer with data_read
14036 and data_write cases. Add code_descriptor case.
14037 (zero, desc): New array and pointer.
14038 (data, code): Change to simple pointers.
14039 * gdb.base/signull.exp: Fix probe pattern matching a function
14040 descriptor SIGSEGV. Replace data_pointer with data_read and
14041 data_write tests.
14042
14043 2004-06-16 Andrew Cagney <cagney@gnu.org>
14044
14045 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14046
14047 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14048
14049 * gdb.base/long_long.c: Add copyright notice.
14050
14051 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14052
14053 * gdb.base/long_long.exp: Remove reference to
14054 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14055 to gdb_breakpoint and gdb_continue_to_breakpoint.
14056
14057 2004-06-14 Jim Blandy <jimb@redhat.com>
14058
14059 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14060 endian case.
14061
14062 2004-06-14 Andrew Cagney <cagney@gnu.org>
14063
14064 * gdb.base/gcore.exp (capture_command_output): Delete the always
14065 passing tests containing inferior values.
14066 * gdb.base/ending-run.exp: Do not include the breakpoint address
14067 in the test message. Update copyright.
14068 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14069 size in the test name, use gdb_test_multiple. Update copyright.
14070
14071 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14072
14073 * gdb.cp/ref-types.cc: Add copyright notice.
14074
14075 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14076
14077 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14078 hp_aCC_compiler.
14079 * lib/compiler.cc: Likewise.
14080 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14081 'set' commands. Log diagnostics for other lines. Set
14082 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14083
14084 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14085
14086 * gdb.cp/try_catch.cc: Add copyright notice.
14087
14088 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14089
14090 * gdb.cp/userdef.cc: Add copyright notice.
14091
14092 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14093
14094 * gdb.cp/virtfunc.cc: Add copyright notice.
14095
14096 2004-06-11 Randolph Chung <tausq@debian.org>
14097
14098 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14099 problem.
14100
14101 2004-06-10 Andrew Cagney <cagney@gnu.org>
14102
14103 * lib/compiler.cc, lib/compiler.c: Append either
14104 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14105 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14106 instead of gcc-3-3.
14107
14108 2004-06-09 Andrew Cagney <cagney@gnu.org>
14109
14110 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14111 gdb/1455, bug is specific to "long long" and "double".
14112
14113 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14114 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14115 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14116 fixed.
14117
14118 2004-06-09 Andrew Cagney <cagney@gnu.org>
14119
14120 * gdb.base/structs.exp (test_struct_returns): Replace
14121 "return_value_unknown" and "finish_value_unknown" by
14122 "return_value_known" and "finish_value_known". Instead of
14123 "return_value_unknown" iff "finish_value_unknown", check
14124 "return_value_known" implies "finish_value_known".
14125
14126 2004-06-08 Martin Hunt <hunt@redhat.com>
14127
14128 * gdb.base/float.exp: Add pattern for mips targets.
14129
14130 2004-06-08 Randolph Chung <tausq@debian.org>
14131
14132 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14133 message for unknown architectures more clear.
14134
14135 2004-06-08 Joel Brobecker <brobecker@gnat.com>
14136
14137 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14138 start the execution of the program.
14139
14140 2004-06-07 Jim Blandy <jimb@redhat.com>
14141
14142 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14143 * gdb.arch/i386-cpuid.h: New helper file.
14144
14145 2004-06-07 Randolph Chung <tausq@debian.org>
14146
14147 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14148 has started.
14149
14150 2004-06-04 Roland McGrath <roland@redhat.com>
14151
14152 Fix PR gdb/1647.
14153 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14154 differently to be robust to output buffering differences.
14155
14156 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14157
14158 * gdb.threads/pthreads.exp: Update copyright years.
14159 (check_control_c): Change asynchronous 'after' to synchronous.
14160
14161 2004-06-04 Roland McGrath <roland@redhat.com>
14162
14163 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14164 next gdb prompt.
14165
14166 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14167
14168 Fix PR gdb/1636.
14169 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14170 calls to synchronous.
14171
14172 2004-05-26 Jim Blandy <jimb@redhat.com>
14173
14174 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14175
14176 2004-05-24 Randolph Chung <tausq@debian.org>
14177
14178 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14179 * gdb.asm/pa.inc: New file.
14180
14181 2004-05-22 Mark Kettenis <kettenis@gnu.org>
14182
14183 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14184
14185 2004-05-21 Joel Brobecker <brobecker@gnat.com>
14186 Daniel Jacobowitz <drow@mvista.com>
14187
14188 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14189 GDB prompt.
14190
14191 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14192
14193 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
14194 setjmp/longjmp. Use sigaction instead of signal.
14195
14196 2004-05-19 J. Brobecker <brobecker@gnat.com>
14197 Michael Snyder <msnyder@redhat.com>
14198
14199 * gdb.threads/pthread_cond_wait.c: New file.
14200 * gdb.threads/pthread_cond_wait.exp: New testcase.
14201
14202 2004-05-13 Andrew Cagney <cagney@redhat.com>
14203
14204 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14205 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14206
14207 2004-05-11 Andrew Cagney <cagney@redhat.com>
14208
14209 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14210 fixed but revealed gdb/1639.
14211
14212 2004-05-10 Andrew Cagney <cagney@redhat.com>
14213
14214 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14215 func1" and "next to 2nd alarm", kernel bug avoided.
14216
14217 2004-05-10 Daniel Jacobowitz <dan@debian.org>
14218
14219 PR external/1568
14220 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14221 XFAIL if it is smaller than bytes_allocated.
14222 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14223 (main): Make chunks_allocated unsigned. Correct comment.
14224
14225 2004-05-07 Joel Brobecker <brobecker@gnat.com>
14226
14227 * gdb.arch/powerpc-aix-prologue.c: New file.
14228 * gdb.arch/powerpc-aix-prologue.exp: New file.
14229
14230 2004-05-07 Jim Blandy <jimb@redhat.com>
14231
14232 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14233 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14234
14235 2004-05-06 Joel Brobecker <brobecker@gnat.com>
14236
14237 * gdb.base/sep.exp: No longer setup_kfail when the program was
14238 built with dwarf2.
14239
14240 2004-05-05 Jim Ingham <jingham@apple.com>
14241
14242 * gdb.base/pending.exp: Make sure pending breakpoints
14243 preserve the ignore count.
14244
14245 2004-04-27 Jerome Guitton <guitton@gnat.com>
14246
14247 * i386-prologue.exp: Add testcase for jump instruction as first
14248 instruction of the real code.
14249 * i386-prologue.c (jump_at_beginning): New function.
14250
14251 2004-04-28 Mark Kettenis <kettenis@gnu.org>
14252
14253 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14254 x86_64-*-*.
14255
14256 2004-04-28 Mark Kettenis <kettenis@gnu.org>
14257
14258 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14259 i*86-*-*.
14260
14261 2004-04-25 Mark Kettenis <kettenis@gnu.org>
14262
14263 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14264 expression that checks the return type.
14265
14266 2004-04-23 Andrew Cagney <cagney@redhat.com>
14267
14268 * gdb.base/call-sc.exp: New test of scalar call/return values.
14269 * gdb.base/call-sc.c: Ditto.
14270
14271 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14272
14273 * gdb.threads/manythreads.c: Reduce thread stack size.
14274
14275 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14276
14277 * gdb.threads/manythreads.c: Add copyright notice.
14278
14279 2004-04-23 Andrew Cagney <cagney@redhat.com>
14280
14281 * gdb.base/siginfo.exp: Better handle step out of signal.
14282 * gdb.base/sigstep.exp: Ditto.
14283
14284 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
14285 Daniel Jacobowitz <drow@mvista.com>
14286
14287 * gdb.threads/manythreads.c: New testcase.
14288 * gdb.threads/manythreads.exp: Ditto.
14289
14290 2004-04-22 Jim Blandy <jimb@redhat.com>
14291
14292 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14293 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14294
14295 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14296
14297 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14298
14299 2004-04-21 Andrew Cagney <cagney@redhat.com>
14300
14301 * gdb.base/sigstep.c: New file.
14302 * gdb.base/sigstep.exp: New file.
14303
14304 2004-04-16 Joel Brobecker <brobecker@gnat.com>
14305
14306 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14307 call to observer_notify_normal_stop.
14308
14309 2004-04-15 Andrew Cagney <cagney@redhat.com>
14310
14311 * gdb.base/siginfo.c: New file.
14312 * gdb.base/siginfo.exp: New file.
14313
14314 2004-04-12 J. Brobecker <brobecker@gnat.com>
14315
14316 * gdb.base/sep.exp: Fix typo in comment.
14317
14318 2004-04-12 J. Brobecker <brobecker@gnat.com>
14319
14320 * gdb.base/sep.c: New file.
14321 * gdb.base/sep-proc.c: New file.
14322 * gdb.base/sep.exp: New testcase.
14323
14324 2004-04-09 Mark Kettenis <kettenis@gnu.org>
14325
14326 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14327 support.
14328
14329 2004-04-05 Andrew Cagney <cagney@redhat.com>
14330
14331 * gdb.base/sigaltstack.c: New file.
14332 * gdb.base/sigaltstack.exp: New file.
14333
14334 2004-04-04 Joel Brobecker <brobecker@gnat.com>
14335
14336 * gdb.base/foll-fork.exp: Update the expected output for
14337 "help set follow-fork-mode", to match a change that was made
14338 to the help of this variable on 2004-01-13.
14339
14340 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14341
14342 * lib/ada.exp: Add copyright notice.
14343 * bar.ads: Likewise.
14344 * bar.adb: Likewise.
14345 * null_record.adb: Likewise.
14346 * null_record.exp: Likewise.
14347 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14348
14349 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14350
14351 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14352 * configure: Regenerate.
14353
14354 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14355
14356 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14357 to build the application. Remove the message printed when in
14358 verbose mode, redundant with the UNSUPPORTED message above.
14359
14360 2004-03-31 Joel Brobecker <brobecker@gnat.com>
14361
14362 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14363 * gdb.ada (null_record.exp): New testcase.
14364
14365 2004-03-31 Joel Brobecker <brobecker@gnat.com>
14366
14367 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14368
14369 2004-03-31 Joel Brobecker <brobecker@gnat.com>
14370
14371 * gdb.ada: New subdirectory.
14372 * gdb.ada/Makefile.in: New file.
14373 * gdb.ada/gnat_ada.gpr.in: New file.
14374
14375 2004-03-31 Joel Brobecker <brobecker@gnat.com>
14376
14377 * lib/ada.exp: New file.
14378
14379 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
14380
14381 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14382 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14383
14384 2004-03-22 Andrew Cagney <cagney@redhat.com>
14385
14386 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14387 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14388 Problem identified by Ulrich Weigand.
14389
14390 2004-03-17 David Carlton <carlton@kealia.com>
14391
14392 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14393 PR c++/826.
14394
14395 2004-03-16 Roland McGrath <roland@redhat.com>
14396
14397 * gdb.base/auxv.exp: New file.
14398 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14399
14400 2004-03-12 David Carlton <carlton@kealia.com>
14401
14402 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
14403 * gdb.cp/pr-1553.cc: Ditto.
14404 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14405 pass branch.
14406
14407 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
14408
14409 * gdb.cp/templates.exp: Accept more template types.
14410
14411 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14412
14413 From Corinna Vinschen with modifications.
14414 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14415 local variable obj_with_enum.
14416 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14417 results with obj_with_enum.
14418
14419 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14420
14421 * gdb.cp/classes.cc: New file, copied from misc.cc.
14422 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14423
14424 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14425
14426 * gdb.cp/misc.cc: Add copyright notice.
14427
14428 2004-03-05 David Carlton <carlton@kealia.com>
14429
14430 * gdb.cp/rtti.exp: Add 'print *obj3' test.
14431 * gdb.cp/rtti.h: Update copyright.
14432 (namespace n2::n3): New.
14433 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14434 (n2::n3::func3): New.
14435 (main): Call n2::n3::func3.
14436 * gdb.cp/rtti2.cc: Update copyright.
14437 (n2::create3): New.
14438
14439 2004-03-04 Mark Kettenis <kettenis@gnu.org>
14440
14441 * gdb.asm/openbsd.inc: Fix typo.
14442
14443 2004-03-03 Fred Fish <fnf@redhat.com>
14444
14445 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14446 "val" instead of unused "size". Update copyright year.
14447
14448 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
14449
14450 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
14451 to use unsigned char.
14452 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14453 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14454
14455 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
14456
14457 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14458 line of output.
14459
14460 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
14461
14462 * gdb.base/relocate.c (dummy): Initialize.
14463
14464 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
14465
14466 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
14467 a breakpoint at exit.
14468
14469 2004-02-27 Fred Fish <fnf@redhat.com>
14470
14471 * gdb.base/chng-syms.exp: Add expect condition to match failing
14472 case that isn't a timeout.
14473
14474 2004-02-27 Andrew Cagney <cagney@redhat.com>
14475
14476 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14477 support.
14478
14479 2004-02-26 Fred Fish <fnf@redhat.com>
14480
14481 * gdb.arch/gdb1431.c: Remove.
14482 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14483 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14484 of "until" incorrectly.
14485
14486 2004-02-26 J. Brobecker <brobecker@gnat.com>
14487
14488 * gdb.cp/class2.cc (empty): New class.
14489 (refer): New function.
14490 (main): Declare an object of type empty and use it.
14491 * gdb.cp/class2.exp: Print the value of an object of type empty.
14492
14493 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
14494
14495 * gdb.base/langs.exp: Update query string to match the
14496 new nquery format used for pending breakpoints.
14497
14498 2004-02-26 Andrew Cagney <cagney@redhat.com>
14499
14500 Fix PR i18n/1570.
14501 * gdb.base/charset.c: Update copyright notice.
14502 (main, init_string): Remove the escape character '\e' tests.
14503 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14504 * gdb.base/charset.exp (valid_host_charset): Ditto.
14505 * gdb.base/setvar.exp: Ditto.
14506
14507 2004-02-24 Andrew Cagney <cagney@redhat.com>
14508
14509 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14510 mmapped data in core file" PASS and FAIL messages consistent.
14511
14512 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14513 setting a breakpoint. Work around PR java/1565.
14514
14515 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
14516
14517 * lib/gdb.exp (gdb_breakpoint): Update query string to match
14518 new nquery format.
14519 * gdb.base/pending.exp: Ditto.
14520
14521 2004-02-22 Mark Kettenis <kettenis@gnu.org>
14522
14523 * configure.in: Run stabs tests on *BSD.
14524 * configure: Regenerated.
14525
14526 2004-02-21 Mark Kettenis <kettenis@gnu.org>
14527
14528 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14529
14530 2004-02-20 Fred Fish <fnf@redhat.com>
14531
14532 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14533 blank in test for "returns short", for consistency with other
14534 "returns xxx" tests. Update copyright year.
14535
14536 2004-02-19 Fred Fish <fnf@redhat.com>
14537
14538 New testcase for PR breakpoint/1558.
14539 * gdb.arch/gdb1558.exp: New file.
14540 * gdb.arch/gdb1558.c: New file.
14541
14542 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
14543
14544 * gdb.base/nodebug.exp: Fix typo.
14545
14546 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14547
14548 Committed by Jim Blandy <jimb@redhat.com>.
14549
14550 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14551
14552 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14553
14554 * gdb.base/float.exp: Support s390*-*-* targets.
14555
14556 2004-02-17 Adam Fedor <fedor@gnu.org>
14557
14558 * gdb.base/gdb1555.exp: New file.
14559 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14560
14561 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
14562
14563 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14564
14565 2004-02-16 Fred Fish <fnf@redhat.com>
14566
14567 * gdb.arch/gdb1291.c: Remove
14568 * gdb.arch/gdb1291.s: New test input file.
14569 * gdb.arch/gdb1291.exp: Expand test to check case that should not
14570 fail. Test for correct result, known incorrect result, other
14571 failures and timeouts.
14572
14573 2004-02-16 Andrew Cagney <cagney@redhat.com>
14574
14575 * gdb.base/bigcore.exp: New file.
14576 * gdb.base/bigcore.c: New file.
14577
14578 2004-02-13 Andrew Cagney <cagney@redhat.com>
14579
14580 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14581 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14582 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14583 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14584 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14585 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14586 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14587 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14588 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14589 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14590
14591 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
14592
14593 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14594 executed is an alloc instruction.
14595
14596 2004-02-11 David Carlton <carlton@kealia.com>
14597
14598 * gdb.cp/breakpoint.exp: New.
14599 * gdb.cp/breakpoint.cc: New.
14600
14601 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
14602
14603 Partial fix for PR gdb/1543.
14604 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14605 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14606 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14607 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14608 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14609 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14610 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14611 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14612 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14613 to bug-gdb@prep.ai.mit.edu .
14614 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14615 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14616 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14617 Likewise.
14618
14619 2004-02-10 Andrew Cagney <cagney@redhat.com>
14620
14621 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14622 using gdb_internal_error_resync.
14623
14624 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
14625
14626 * gdb.threads/thread-specific.exp: Stop early if no threads are
14627 found.
14628
14629 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
14630
14631 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14632
14633 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
14634
14635 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14636 breakpoints.
14637
14638 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
14639
14640 * config/sim.exp (gdb_load): Handle $arg == "".
14641 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14642 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14643
14644 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
14645
14646 * gdb.base/maint.exp: Update test to reflect
14647 obstack changes.
14648
14649 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
14650
14651 * gdb.base/pendshr.c (pendfunc): New function that calls
14652 pendfunc1.
14653 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14654
14655 2004-02-04 Fred Fish <fnf@redhat.com>
14656
14657 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14658 function symbols and update copyright years.
14659 * gdb.arch/gdb1291.c: Ditto.
14660
14661 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14662
14663 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14664
14665 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14666
14667 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14668
14669 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14670
14671 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14672
14673 2004-02-02 Fred Fish <fnf@redhat.com>
14674
14675 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14676 remote targets. Update copyright years.
14677
14678 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
14679
14680 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14681 support.
14682 * gdb.base/langs.exp: Fix test which attempts to create
14683 breakpoint on non-existent function to handle new pending
14684 support.
14685 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14686 a breakpoint.
14687 * gdb.base/pending.exp: New test.
14688 * gdb.base/pending.c: New file.
14689 * gdb.base/pendshr.c: Ditto.
14690
14691 2004-02-02 David Carlton <carlton@kealia.com>
14692
14693 * gdb.cp/overload.exp: Add overloadNamespace tests.
14694 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14695 (overloadNamespace, XXX): New.
14696 (main): Call XXX::marker2.
14697
14698 2004-02-01 Fred Fish <fnf@redhat.com>
14699
14700 * gdb.base/dump.exp: Use runto_main instead of "runto main".
14701 * gdb.base/finish.exp: Ditto.
14702 * gdb.base/gcore.exp: Ditto.
14703 * gdb.base/huge.exp: Ditto.
14704 * gdb.base/info-proc.exp: Ditto.
14705 * gdb.base/return2.exp: Ditto.
14706 * gdb.threads/gcore-thread.exp: Ditto.
14707
14708 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
14709
14710 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14711
14712 2004-02-01 Mark Kettenis <kettenis@gnu.org>
14713
14714 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14715 that opening the file succeeds on OpenBSD.
14716
14717 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
14718
14719 * gdb.threads/thread-specific.c: New file.
14720 * gdb.threads/threads-specific.exp: New test script.
14721 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14722 to expect_out.
14723
14724 2004-02-01 Mark Kettenis <kettenis@gnu.org>
14725
14726 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
14727 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14728 only on the "print_small_structs from print_long_arg_list" test.
14729
14730 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
14731
14732 * gdb.base/completion.exp: Kill a stray backslash.
14733
14734 From Jim Ingham <jingham@apple.com>:
14735 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14736 agrees with the result from sending a tab.
14737
14738 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
14739
14740 * gdb.base/chng-syms.exp: Remove stray newline.
14741
14742 2004-01-31 Mark Kettenis <kettenis@gnu.org>
14743
14744 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14745 *-*-openbsd*.
14746 * gdb.asm/openbsd.inc: New file.
14747
14748 2004-01-30 Mark Kettenis <kettenis@gnu.org>
14749
14750 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
14751 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14752 *-*solaris2*. Remove commented out default settings for
14753 asm-flags. Replace gdb_compile with target_link.
14754
14755 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
14756
14757 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
14758 for all tests. Remove old hp-ux and cygnus xfail cases.
14759
14760 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
14761
14762 * gdb.base/chng-syms.exp: New file.
14763 * gdb.base/chng-syms.c: New file.
14764
14765 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14766
14767 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
14768 Provide arms for current output in all my configurations.
14769
14770 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14771
14772 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14773 * lib/compiler.cc: Likewise.
14774 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14775 get the right preprocessor. Eval the output directly. Remove
14776 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
14777 hp_f77_compiler and hp_f90_compiler completely.
14778 (gdb_preprocess): Delete.
14779 (get_compiler): Delete.
14780
14781 2004-01-24 Mark Kettenis <kettenis@gnu.org>
14782
14783 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14784 <string.h>.
14785
14786 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
14787
14788 * gdb.mi/mi-stack.exp: Update copyright.
14789
14790 2004-01-23 David Carlton <carlton@kealia.com>
14791
14792 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
14793 test for cp_lookup_transparent_type.
14794 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
14795 call them.
14796
14797 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
14798
14799 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
14800 after -var-update.
14801
14802 2004-01-23 David Carlton <carlton@kealia.com>
14803
14804 * gdb.cp/namespace.cc (C::ensureRefs): New.
14805 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14806
14807 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
14808
14809 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14810 case "-stack-list-locals 2".
14811 * gdb.mi/mi-var-child.exp: Test for case
14812 "-var-list-children --all-values NAME".
14813
14814 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
14815
14816 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14817
14818 2004-01-18 Mark Kettenis <kettenis@gnu.org>
14819
14820 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14821 used with gdb_test_multiple.
14822
14823 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14824 read at address 0. This fixes PR testsuite/1504.
14825
14826 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
14827
14828 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14829 Remove downloading, guessing the host executable, the calls to
14830 gdb_file_cmd and gdb_target_cmd, and "load" support.
14831 (infer_host_exec): New function broken out from gdb_load.
14832 (gdb_load): New wrapper for gdbserver_gdb_load.
14833 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14834 gdb_target_cmd. Use -target-select.
14835 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14836 Download binaries to the host. Clear last_mi_remote_file when
14837 we load a new binary.
14838 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
14839 call gdbserver_gdb_load and mi_gdb_target_cmd.
14840
14841 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14842
14843 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14844 type patterns.
14845
14846 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14847
14848 * gdb.cp/templates.exp: Fix typo in test name of
14849 "print Foo<volatile char*>::foo".
14850
14851 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14852
14853 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14854
14855 2004-01-16 Ben Elliston <bje@wasabisystems.com>
14856
14857 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
14858 (clean mostlyclean): Remove empty rm.
14859
14860 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14861
14862 * gdb.base/setvar.exp: Add copyright years.
14863
14864 2004-01-14 David Carlton <carlton@bactrian.org>
14865
14866 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
14867 PR c++/1511 and update coment.
14868 * gdb.cp/templates.exp: Update patterns to match current output.
14869 If changes involve something other than whitespace, KFAIL
14870 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
14871
14872 2004-01-14 David Carlton <carlton@kealia.com>
14873
14874 * gdb.cp/namespace.exp: Add tests involving classes defined within
14875 namespaces.
14876 * gdb.cp/namespace.cc (C::CClass): New.
14877 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
14878
14879 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
14880
14881 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
14882 what debug info we have. Print a better message if something goes
14883 wrong while producing the separate debug info file.
14884
14885 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14886
14887 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
14888
14889 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14890
14891 * gdb.base/callfuncs.c: Add copyright notice.
14892
14893 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
14894
14895 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
14896 inheritance. PR gdb/1498, PR gcc/13539.
14897
14898 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
14899
14900 * gdb.threads/gcore-thread.exp: Prefix name of binary with
14901 test specific name.
14902 * gdb.mi/gdb669.exp: Ditto.
14903 * gdb.mi/mi-pthreads.exp: Ditto.
14904 * gdb.mi/mi1-pthreads.exp: Ditto.
14905 * gdb.mi/mi2-pthreads.exp: Ditto.
14906
14907 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14908
14909 * gdb.cp/member-ptr.cc: Add copyright notice.
14910
14911 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14912
14913 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
14914 some patterns for recent versions of gcc and hpacc. Delete
14915 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
14916 Delete tests that access a NULL pointer-to-member-data. This
14917 script is still disabled for gcc.
14918
14919 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
14920
14921 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
14922 escaped correctly.
14923
14924 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
14925
14926 * gdb.base/sepdebug.exp: New file.
14927 * gdb.base/sepdebug.c: New file.
14928 * lib/gdb.exp (separate_debug_filename): New procedure.
14929 (gdb_gnu_strip_debug): New procedure.
14930
14931 2004-01-12 Andrew Cagney <cagney@redhat.com>
14932
14933 * gdb.mi/ChangeLog: Delete file. Renamed to ...
14934 * gdb.mi/ChangeLog-1999-2003: New file.
14935
14936 2004-01-12 Andrew Cagney <cagney@redhat.com>
14937
14938 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
14939 "Renaming a directory to a non-empty directory returns ENOTEMPTY
14940 or EEXIST", treat EBUSY as an XFAIL.
14941
14942 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
14943
14944 * gdb.base/scope.exp: Remove obsolete setup_xfail for
14945 hp_cc_compiler.
14946
14947 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14948
14949 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
14950 decorations.
14951
14952 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14953
14954 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
14955 and "(aCC)" decorations. Remove obsolete doco about old
14956 test results.
14957
14958 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14959
14960 * gdb.cp/exception.exp: Fix typo in doco.
14961
14962 2004-01-09 Mark Kettenis <kettenis@gnu.org>
14963
14964 * gdb.base/gdb1476.exp: Fix typo.
14965
14966 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14967
14968 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
14969 file.
14970
14971 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14972
14973 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
14974 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
14975 Use gdb_compile. Remove restriction on gcc. Add some patterns
14976 for recent version of gdb. Delete second half, which was a copy
14977 of the first half with different build flags. This test is
14978 still disabled because it is still not ready for production.
14979
14980 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14981
14982 * gdb.cp/exception.cc: Add copyright notice.
14983 * gdb.cp/exception.exp: Add a notice that this file is broken
14984 because of line number changes caused by addition of copyright
14985 notice.
14986
14987 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14988
14989 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
14990 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
14991
14992 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14993
14994 * gdb.cp/classes.exp: Accept gnu abi 2.
14995 * gdb.cp/derivation.exp: Likewise.
14996 * gdb.cp/overload.exp: Likewise.
14997 * gdb.cp/virtfunc.exp: Likewise.
14998
14999 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15000
15001 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15002 semicolon after end of function.
15003
15004 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15005
15006 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15007 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15008 boilerplate code for compiling and running the program under
15009 test. Add some string method tests.
15010
15011 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15012
15013 * gdb.cp/bs15503.cc: Add copyright notice.
15014 * gdb.cp/bs15503.exp: Adjust line number.
15015
15016 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15017
15018 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15019 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15020
15021 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15022
15023 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15024 hp_cc_compiler.
15025
15026 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15027
15028 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15029 * gdb.cp/ctti.exp: Use the marker instead of "next".
15030 With gcc, run further before bailing.
15031
15032 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15033
15034 * gdb.cp/cttiadd.cc: Add copyright notice.
15035 * gdb.cp/cttiadd1.cc: Likewise.
15036 * gdb.cp/cttiadd2.cc: Likewise.
15037 * gdb.cp/cttiadd3.cc: Likewise.
15038
15039 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15040
15041 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15042 Use gdb_test, gdb_test_multiple. Use floating-point values that
15043 have exact representations in IEEE-ish formats.
15044
15045 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15046
15047 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15048 compilers. Delete duplicate call to get_compiler_info.
15049 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15050 * gdb.base/volatile.exp: Likewise.
15051
15052 2004-01-07 Mark Kettenis <kettenis@gnu.org>
15053
15054 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15055 memory at address 0.
15056
15057 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15058
15059 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15060 to test for hp-ux assembler. Fix copyright years.
15061
15062 2004-01-07 Andrew Cagney <cagney@redhat.com>
15063
15064 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15065
15066 2004-01-07 Andrew Cagney <cagney@redhat.com>
15067
15068 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15069 when creating the read-only file. From analysis by Roland McGrath
15070 and Elena Zannoni.
15071
15072 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15073
15074 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15075
15076 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15077
15078 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15079 data pointers.
15080
15081 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15082
15083 * gdb.cp/m-static.exp: Compile one source file at a time.
15084 Delete unused call to get_compiler_info.
15085
15086 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15087
15088 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15089 * gdb.base/call-rt-st.exp: Likewise.
15090 * gdb.base/nodebug.exp: Likewise.
15091 * gdb.base/volatile.exp: Likewise.
15092 * gdb.cp/ref-types.exp: Likewise.
15093 * gdb.cp/templates.exp: Likewise.
15094
15095 2004-01-05 Mark Kettenis <kettenis@gnu.org>
15096
15097 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15098
15099 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15100
15101 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15102 hppa*-hp-hpux*.
15103
15104 2004-01-04 Mark Kettenis <kettenis@gnu.org>
15105
15106 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15107 x86_64-*-*.
15108
15109 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15110 sparc64-*-* and sparc*-solaris2*.
15111
15112 2004-01-04 Mark Kettenis <kettenis@gnu.org>
15113
15114 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15115 return ${tests}" test. The ${tests} already mentions the
15116 filename.
15117
15118 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15119
15120 * gdb.cp/local.exp: Accept gcc abi 2.
15121
15122 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15123
15124 * gdb.cp/templates.exp: Accept gcc abi 2.
15125
15126 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15127
15128 * lib/compiler.cc: Remove supports_template_debugging.
15129 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15130
15131 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15132
15133 * gdb.cp/namespace.exp: Accept gcc abi 2.
15134
15135 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15136
15137 * gdb.cp/method.exp: Accept gcc abi 2.
15138
15139 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15140
15141 * gdb.cp/classes.exp: Generate identical results as old version.
15142 * gdb.cp/derivation.exp: Likewise.
15143 * gdb.cp/overload.exp: Likewise.
15144 * gdb.cp/virtfunc.exp: Likewise.
15145
15146 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15147
15148 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15149 mysterious bug with sourceware version of expect.
15150
15151 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15152
15153 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15154 current versions of gcc, including gcc abi 2. Remove gratuitous
15155 restart of test program. Use gdb_test_multiple and gdb_test for
15156 all tests. Add patterns to xfail missing "const" in "const char *"
15157 and kfail PR gdb/1155.
15158
15159 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15160
15161 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15162 current versions of gcc, including gcc abi 2. Remove gratuitous
15163 restart of test program. Use gdb_test_multiple and gdb_test for
15164 all tests. Add patterns to kfail PR gdb/1498.
15165
15166 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15167
15168 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15169 current versions of gcc, including gcc abi 2. Use "breakpoint"
15170 and "continue" instead of restarting the target program. Use
15171 gdb_test_multiple and gdb_test for all tests.
15172
15173 2004-01-01 Mark Kettenis <kettenis@gnu.org>
15174
15175 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15176 for *-*-solaris2*.
15177
15178 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15179
15180 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15181 current versions of gcc, including gcc abi 2. Use "breakpoint"
15182 and "continue" instead of restarting the target program several
15183 times. Use gdb_test_multiple and gdb_test for all tests.
15184
15185 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15186
15187 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15188 source files.
15189
15190 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15191
15192 * gdb.base/environ.exp: Handle compiling test case from multiple
15193 source files.
15194
15195 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15196
15197 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15198
15199 2003-12-17 Jim Blandy <jimb@redhat.com>
15200
15201 * gdb.base/freebpcmd.c: Add copyright notice.
15202
15203 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15204
15205 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15206
15207 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15208
15209 2003-12-13 Jim Blandy <jimb@redhat.com>
15210
15211 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15212
15213 2003-12-12 Kevin Buettner <kevinb@redhat.com>
15214
15215 * gdb.asm/frv.inc: New file.
15216 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15217
15218 2003-12-09 Fred Fish <fnf@redhat.com>
15219
15220 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15221 functions to break1.c and leave prototypes behind. Add more
15222 "set breakpoint NN here" comments.
15223 * gdb.base/break1.c: New file.
15224
15225 * gdb.base/break.exp: Handle compiling test case from multiple
15226 source files and change source file references as needed.
15227 * gdb.base/completion.exp: Ditto.
15228 * gdb.base/condbreak.exp: Ditto.
15229 * gdb.base/define.exp: Ditto.
15230 * gdb.base/ena-dis-br.exp: Ditto.
15231 * gdb.base/info-proc.exp: Ditto.
15232 * gdb.base/maint.exp: Ditto.
15233 * gdb.base/until.exp: Ditto.
15234
15235 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15236 hardcoded line numbers.
15237 * gdb.base/define.exp: Ditto.
15238 * gdb.base/ena-dis-br.exp: Ditto.
15239 * gdb.base/maint.exp: Ditto.
15240 * gdb.base/until.exp: Ditto.
15241
15242 * gdb.base/completion.exp: Use "break1" for completion tests since
15243 "break" is no longer a unique prefix.
15244
15245 2003-12-06 Andrew Cagney <cagney@redhat.com>
15246
15247 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15248 "return_value_unimplemented". When an unimplemented struct return
15249 architecture, report incorrect values as a KFAIL
15250
15251 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15252
15253 * gdb.cp/rtti.exp: Accept new wording of warning from
15254 cp_lookup_rtti_type.
15255
15256 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15257
15258 Partial fix for PR testsuite/1456.
15259 * gdb.base/scope.exp (test_at_main): Replace references to
15260 gcc_compiled with calls to test_compiler_info.
15261 (test_at_foo): Likewise.
15262 (test_at_bar): Likewise.
15263
15264 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15265
15266 Partial fix for PR testsuite/1456.
15267 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15268 to test_compiler_info.
15269
15270 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15271
15272 * gdb.base/so-impl-ld.exp: Update copyright notice.
15273
15274 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15275
15276 Partial fix for PR testsuite/1456.
15277 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15278 to test_compiler_info.
15279
15280 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15281
15282 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15283 from current versions of gdb. Clean up regular expressions.
15284 Delete redundant timeout case.
15285
15286 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15287
15288 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15289 from current versions of gdb. Clean up regular expressions.
15290 Delete redundant timeout case.
15291
15292 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15293
15294 Partial fix for PR testsuite/1456.
15295 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15296 gcc_compiled with call to test_compiler_info.
15297
15298 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15299
15300 Partial fix for PR testsuite/1456.
15301 * gdb.base/list.exp (test_list_function): Delete unused declaration
15302 of gcc_compiled.
15303
15304 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15305
15306 Partial fix for PR testsuite/1456.
15307 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15308 call to test_compiler_info.
15309
15310 2003-11-29 Mark Kettenis <kettenis@gnu.org>
15311
15312 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15313 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15314 it to create the appropriate note.inc.
15315 * gdb.asm/asmsrc1.s: Include "note.inc".
15316 * gdb.asm/netbsd.inc: New file.
15317 * gdb.asm/empty.inc: New file.
15318
15319 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15320
15321 Partial fix for PR testsuite/1456.
15322 * gdb.base/constvars.exp: Replace references to gcc_compiled with
15323 calls to test_compiler_info.
15324
15325 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
15326
15327 Partial fix for PR testsuite/1456.
15328 * gdb.base/volatile.exp: Replace references to gcc_compiled with
15329 calls to test_compiler_info.
15330
15331 2003-11-27 Mark Kettenis <kettenis@gnu.org>
15332
15333 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15334 pattern for the KFAILs.
15335
15336 2003-11-25 Adam Fedor <fedor@gnu.org>
15337
15338 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15339 * gdb.objc/objcdecode.m: New file.
15340
15341 2003-11-25 Adam Fedor <fedor@gnu.org>
15342
15343 * gdb.objc/nondebug.exp: Test for PR objc/1236.
15344 * gdb.objc/nondebug.m: New file.
15345
15346 2003-11-26 Ben Elliston <bje@wasabisystems.com>
15347
15348 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15349 NetBSD as it does on FreeBSD. Modelled on a similar change by
15350 Mark Kettenis on 2003-05-30.
15351 (link-flags): Set to "--entry _start" regardless of target.
15352 Special linker flags are to be appended to $link-flags.
15353 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15354
15355 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15356
15357 * gdb.cp/method.exp: Accept output of new demangler.
15358
15359 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15360
15361 * gdb/class2.exp: New file.
15362 * gdb/class2.cc: New file.
15363
15364 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15365
15366 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15367 of new demangler.
15368
15369 2003-11-23 Mark Kettenis <kettenis@gnu.org>
15370
15371 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15372 of gdb_test "run".
15373
15374 2003-11-23 Mark Kettenis <kettenis@gnu.org>
15375
15376 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
15377 "continue" into "run".
15378
15379 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15380
15381 Partial fix for PR testsuite/1456.
15382 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15383 call to test_compiler_info.
15384 * gdb.cp/ctti.exp: Likewise.
15385 * gdb.cp/derivation.exp: Likewise.
15386 * gdb.cp/member-ptr.exp: Likewise.
15387 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15388 reference to gcc_compiled.
15389
15390 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15391
15392 Fix PR testsuite/1463.
15393 * gdb.base/structs.exp (start_structs_test): Call
15394 get_debug_format before using the debug format.
15395
15396 2003-11-22 Andrew Cagney <cagney@redhat.com>
15397
15398 * lib/gdb.exp (gdb_test_multiple): Add simple example.
15399 * gdb.base/structs.exp: Use gdb_test_multiple.
15400
15401 2003-11-20 Andrew Cagney <cagney@redhat.com>
15402
15403 * gdb.base/structs.exp: Handle and recover from internal errors.
15404 Replace "foo${n}" with "foo<n>" in test messages.
15405
15406 * gdb.base/structs.exp: Update copyright. Rewrite.
15407 * gdb.base/structs.c: Update copyright. Rewrite.
15408
15409 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15410 resync count exceeded.
15411
15412 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15413 from the internal error.
15414 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15415 Original from Jim Blandy.
15416 (gdb_test_multiple): Use gdb_internal_error_resync.
15417
15418 2003-11-19 Andrew Cagney <cagney@redhat.com>
15419
15420 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15421 KFAIL.
15422
15423 2003-11-17 Mark Kettenis <kettenis@gnu.org>
15424
15425 New testcase for PR backtrace/1435.
15426 * gdb.arch/i386-unwind.exp: New file.
15427 * gdb.arch/i386-unwind.c: New file.
15428
15429 2003-11-17 Andrew Cagney <cagney@redhat.com>
15430
15431 * lib/gdb.exp (compiler_info): New global.
15432 (test_compiler_info): New function.
15433 (get_compiler_info): Set compiler_info.
15434 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
15435 "compiler_info" to gcc-<major>-<minor>.
15436
15437 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
15438
15439 * gdb.trace/configure: Remove.
15440
15441 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
15442
15443 * gdb.base/break.c: Add comments to aid finding line numbers for
15444 breakpoints.
15445 * gdb.base/break.exp: Remove all references to explicit line
15446 numbers.
15447
15448 2003-11-11 Nick Clifton <nickc@redhat.com>
15449
15450 * gdb.base/shreloc.exp: Do not run for targets which do not
15451 support shared objects.
15452
15453 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
15454
15455 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15456 Don't run tests if nofileio flag is given.
15457
15458 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
15459
15460 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
15461 as well as 'Watchpoint'.
15462
15463 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
15464
15465 Reported by Jim Ingham <jingham@apple.com>:
15466 * gdb.base/annota1.exp: Match at least one occurrence of the
15467 signal handler annotation.
15468
15469 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
15470
15471 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15472 as well as 'Watchpoint'.
15473
15474 2003-11-05 Michael Chastain <mec@shout.net>
15475
15476 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15477
15478 2003-11-03 Kris Warkentin <kewarken@qnx.com>
15479
15480 * gdb.arch/gdb1291.c: New test file.
15481 * gdb.arch/gdb1291.exp: New test script.
15482 * gdb.arch/gdb1431.c: New test file.
15483 * gdb.arch/gdb1431.exp: New test script.
15484
15485 2003-10-22 Michael Chastain <mec@shout.net>
15486
15487 * gdb.mi/pthreads.c: Add copyright notice.
15488
15489 2003-10-22 Michael Chastain <mec@shout.net>
15490
15491 * gdb.threads/pthreads.c: Add copyright notice.
15492
15493 2003-10-20 Michael Chastain <mec@shout.net>
15494
15495 * gdb.base/gdb1056.exp: New test script.
15496
15497 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
15498
15499 * gdb.threads/killed.exp: Use gdb_run_cmd.
15500
15501 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
15502
15503 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15504 create a core file.
15505 * gdb.threads/gcore-thread.exp: Likewise.
15506
15507 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
15508
15509 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15510 type, based on char type.
15511 (struct bit_flags_short_t): New bitfield type, based on short type.
15512 (init_bit_flags_char): New fuction.
15513 (init_bit_flags_short): Ditto.
15514 (print_bit_flags_char): Ditto.
15515 (print_bit_flags_short): Ditto.
15516 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15517
15518 2003-10-11 Michael Chastain <mec@shout.net>
15519
15520 * gdb.base/call-rt-st.exp: Update copyright year.
15521
15522 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
15523
15524 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15525 * gdb.disasm/sh3.s: Ditto.
15526
15527 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
15528
15529 * gdb.threads/switch-threads.exp: New test.
15530 * gdb.threads/switch-threads.c: New source file.
15531
15532 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
15533
15534 * gdb.base/ending-run.exp: Add sh specific case.
15535
15536 2003-10-06 Andrew Cagney <cagney@redhat.com>
15537
15538 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15539 * gdb.disasm/mn10200.exp: Delete obsolete file.
15540
15541 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
15542
15543 * ChangeLog: Correct an entry command.exp -> commands.exp.
15544 * gdb.base/commands.exp (bp_deleted_in_command_test)
15545 (temporary_breakpoint_commands): Check noargs.
15546
15547 2003-09-25 David Carlton <carlton@kealia.com>
15548
15549 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
15550 of some print tests, where appropriate. Add tests for C::D::cd,
15551 E::ce, F::cXfX, G::XgX.
15552 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15553
15554 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
15555
15556 * lib/java.exp (java_init): Import target_alias before using it.
15557
15558 2003-09-25 David Carlton <carlton@kealia.com>
15559
15560 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15561
15562 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
15563
15564 * gdb.base/selftest.exp: Accomodate more instruction reordering
15565 weirdness.
15566
15567 2003-09-17 Michael Chastain <mec@shout.net>
15568
15569 * gdb.cp/gdb1355.exp: New file.
15570 * gdb.cp/gdb1355.c: New file.
15571
15572 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
15573
15574 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15575 * gdb.asm/sh.inc: New file.
15576
15577 2003-09-11 David Carlton <carlton@kealia.com>
15578
15579 * gdb.cp/namespace.exp: Add tests for namespace types.
15580 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
15581 (test_namespace): New.
15582
15583 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
15584
15585 * gdb.base/relocate.exp: Handle new gdb output at startup.
15586 * gdb.stabs/weird.exp: Ditto.
15587
15588 2003-09-08 Michael Chastain <mec@shout.net>
15589
15590 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15591
15592 2003-09-07 Michael Chastain <mec@shout.net>
15593
15594 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15595 'parse error'.
15596
15597 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
15598
15599 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15600
15601 2003-08-30 Michael Chastain <mec@shout.net>
15602
15603 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15604 * gdb.gdb/observer.exp: Ditto.
15605 * gdb.gdb/xfullpath.exp: Ditto.
15606
15607 2003-08-29 Mark Kettenis <kettenis@gnu.org>
15608
15609 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15610 *-*-*bsd*.
15611
15612 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
15613
15614 * gdb.base/dump.exp: Skip for ia64.
15615
15616 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
15617
15618 * gdb.asm/asm-source.exp: Add ia64 support.
15619 * gdb.asm/ia64.inc: New file.
15620
15621 2003-08-22 Michael Chastain <mec@shout.net>
15622
15623 * gdb.cp: New directory.
15624 * gdb.cp/*: Copy from gdb.c++/*.
15625 * gdb.c++/*: Remove.
15626 * Makefile.in: Change gdb.c++ to gdb.cp.
15627 * configure.in: Ditto.
15628 * configure: Regnerate.
15629
15630 2003-08-18 Mark Kettenis <kettenis@gnu.org>
15631
15632 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15633 * gdb.arch/i386-prologue.c (gdb1338): Add function.
15634
15635 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
15636
15637 * mi-var-display.exp (-var-list-children weird): Accept function
15638 pointers with argument types.
15639 * mi1-var-display.exp (-var-list-children weird): Likewise.
15640 * mi2-var-display.exp (-var-list-children weird): Likewise.
15641
15642 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
15643
15644 * gdb.base/annota3.exp: Add missing newline.
15645
15646 2003-08-06 Michael Chastain <mec@shout.net>
15647
15648 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15649
15650 2003-08-12 Michael Snyder <msnyder@redhat.com>
15651
15652 * gdb.base/float.exp: Add test for SH.
15653
15654 2003-08-10 Mark Kettenis <kettenis@gnu.org>
15655
15656 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15657
15658 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
15659
15660 * gdb.base/completion.exp: Remove reduntant completion test
15661 on filename.
15662
15663 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
15664
15665 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15666 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15667 gdb.trace/save-trace.exp: Make sure that full pathnames are
15668 escaped correctly.
15669
15670 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
15671
15672 * configure.in: Don't generate config.h from config.hin.
15673 * configure: Regenerate.
15674 * config.hin: Remove file.
15675 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15676 * gdb.threads/pthreads.c: Ditto.
15677
15678 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
15679
15680 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15681 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15682 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15683 Replace ld24 with seth/add3.
15684
15685 2003-08-02 Andrew Cagney <cagney@redhat.com>
15686
15687 * gdb.base/annota3.exp: New file.
15688 * gdb.base/annota3.c: New file.
15689 * gdb.c++/annota3.exp: New file.
15690 * gdb.c++/annota3.cc: New file.
15691
15692 2003-07-29 Michael Chastain <mec@shout.net>
15693
15694 * gdb.threads/tls.c (spin): Check errno only if sem_wait
15695 actually failed.
15696 (do_pass): Likewise.
15697 * gdb.threads/tls.exp: Always initialize no_of_threads.
15698
15699 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
15700
15701 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15702 pattern.
15703 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15704 * gdb.threads/tls.exp: Recognize one case of the host library not
15705 supporting TLS.
15706
15707 2003-07-27 Andrew Cagney <cagney@redhat.com>
15708
15709 * gdb.base/fileio.exp: Use SH when running commands using
15710 remote_exec.
15711
15712 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
15713
15714 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15715 * gdb.base/relocate.c (dummy): New padding array.
15716
15717 2003-07-22 Michael Snyder <msnyder@redhat.com>
15718
15719 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
15720
15721 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15722 patterns to be more general, accepting old and new output.
15723 Some output chars (such as '+') also must be quoted.
15724 Some addresses are displayed numerically instead of
15725 symbolically.
15726
15727 2003-07-23 Michael Snyder <msnyder@redhat.com>
15728
15729 * gdb.base/return2.exp: Don't test long-long return.
15730
15731 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15732 * gdb.disasm/t01_mov.exp: Ditto.
15733 * gdb.disasm/t02_mova.s: Ditto.
15734 * gdb.disasm/t02_mova.exp: Ditto.
15735 * gdb.disasm/t03_add.s: Ditto.
15736 * gdb.disasm/t03_add.exp: Ditto.
15737 * gdb.disasm/t04_sub.s: Ditto.
15738 * gdb.disasm/t04_sub.exp: Ditto.
15739 * gdb.disasm/t05_cmp.s: Ditto.
15740 * gdb.disasm/t05_cmp.exp: Ditto.
15741 * gdb.disasm/t06_ari2.s: Ditto.
15742 * gdb.disasm/t06_ari2.exp: Ditto.
15743 * gdb.disasm/t07_ari3.s: Ditto.
15744 * gdb.disasm/t07_ari3.exp: Ditto.
15745 * gdb.disasm/t08_or.s: Ditto.
15746 * gdb.disasm/t08_or.exp: Ditto.
15747 * gdb.disasm/t09_xor.s: Ditto.
15748 * gdb.disasm/t09_xor.exp: Ditto.
15749 * gdb.disasm/t10_and.s: Ditto.
15750 * gdb.disasm/t10_and.exp: Ditto.
15751 * gdb.disasm/t11_logs.s: Ditto.
15752 * gdb.disasm/t11_logs.exp: Ditto.
15753 * gdb.disasm/t12_bit.s: Ditto.
15754 * gdb.disasm/t12_bit.exp: Ditto.
15755 * gdb.disasm/t13_otr.s: Ditto.
15756 * gdb.disasm/t13_otr.exp: Ditto.
15757
15758 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
15759
15760 * gdb.threads/tls.exp :Add kfail for 'info address' case.
15761
15762 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
15763
15764 * gdb.threads/tls.c : New file.
15765 * gdb.threads/tls.exp : New file.
15766 * gdb.threads/tls-main.c : New file.
15767 * gdb.threads/tls-shared.c : New file.
15768 * gdb.threads/tls-shared.exp : New file.
15769
15770 2003-07-22 Andreas Schwab <schwab@suse.de>
15771
15772 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15773
15774 2003-07-20 Andreas Schwab <schwab@suse.de>
15775
15776 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15777 due to insn reordering.
15778
15779 2003-07-15 Andrew Cagney <cagney@redhat.com>
15780
15781 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15782
15783 2003-07-15 Michael Chastain <mec@shout.net>
15784
15785 * gdb.base/gdb1250.exp: New file.
15786 * gdb.base/gdb1250.c: New file.
15787
15788 2003-07-09 Michal Ludvig <mludvig@suse.cz>
15789
15790 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15791 expansion of size_t to 'unsigned long', not only to 'unsigned'.
15792
15793 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
15794
15795 * gdb.threads/tls.c: New file.
15796 * gdb.threads/tls.exp: New file.
15797 * gdb.threads/tls-main.c: New file.
15798 * gdb.threads/tls-shared.c: New file.
15799 * gdb.threads/tls-shared.exp: New file.
15800
15801 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
15802
15803 * gdb.base/annota1.exp: Make sure that we properly escape the
15804 full path of the source file. Xfail more permissive patterns,
15805 due to a compiler debug info problem.
15806
15807 2003-07-07 Andreas Schwab <schwab@suse.de>
15808
15809 * gdb.asm/m68k.inc: New file.
15810 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15811
15812 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15813 arguments"): Also match negative number.
15814
15815 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15816
15817 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
15818
15819 * gdb.base/store.c (charest): New typedef.
15820 (add_char): Rename to add_charest, update.
15821 (wack_char): Rename to wack_charest, update types. Return l + r
15822 to keep r live across the call.
15823 (wack_short, wack_int, wack_long, wack_longest, wack_float)
15824 (wack_double, wack_doublest): Return l + r to keep r live across
15825 the call.
15826 * gdb.base/store.exp: Accomodate store.c changes.
15827
15828 2003-06-30 David Carlton <carlton@kealia.com>
15829
15830 * gdb.c++/maint.exp (test_invalid_name): New.
15831 (test_first_component): Add tests for invalid names.
15832
15833 2003-06-29 Michael Chastain <mec@shout.net>
15834
15835 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15836 output of '<VTT for class>' for virtual base classes.
15837
15838 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
15839
15840 * gdb.base/completion.exp: Tab-complete "complet" instead of
15841 "compl".
15842 * gdb.base/complex.exp, gdb.base/complex.c: New files.
15843
15844 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
15845
15846 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15847 * gdb.base/volatile.exp: Likewise.
15848
15849 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
15850
15851 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15852 gdb/1265.
15853
15854 2003-06-28 Michael Chastain <mec@shout.net>
15855 Daniel Jacobowitz <drow@mvista.com>
15856
15857 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
15858 initial line count of 'captured_main' from 26 to 32.
15859 (test_with_self): Allow xmalloc call to be interleaved with the
15860 preceding two lines.
15861
15862 2003-06-24 Joel Brobecker <brobecker@gnat.com>
15863
15864 * gdb.base/bang.exp: New testcase.
15865
15866 2003-06-23 Joel Brobecker <brobecker@gnat.com>
15867
15868 * gdb.base/langs.exp: Add some tests for the "minimal" language
15869 support.
15870
15871 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
15872
15873 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
15874 the testcase.
15875
15876 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
15877
15878 * gdb.base/relocate.exp: Test add-symbol-file with a variable
15879 offset.
15880
15881 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
15882
15883 * gdb.c++/pr-1210.cc: New file.
15884 * gdb.c++/pr-1210.exp: New file.
15885
15886 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
15887
15888 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
15889 000-exec-continue.
15890
15891 2003-06-15 Mark Kettenis <kettenis@gnu.org>
15892
15893 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
15894 on *-*-*bsd* instead of *-*-freebsd*.
15895
15896 2003-06-14 Andrew Cagney <cagney@redhat.com>
15897
15898 * gdb.base/store.exp: Test longest and doublest. Test all
15899 parameters. Weaken return statement match.
15900 * gdb.base/store.c: Add longest and doublest - aka long long and
15901 long double functions. Put all parameters into local register
15902 variables. Use negative values.
15903
15904 2003-06-14 Andrew Cagney <cagney@redhat.com>
15905
15906 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
15907 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
15908 exit status.
15909 * gdb.base/fileio.exp: Disable target when nointerrupts and
15910 noinferiorio, instead of limiting it to remote. Use remote_exec
15911 instead of system.
15912
15913 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
15914
15915 * gdb.base/float.exp: Add ia64 support.
15916
15917 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
15918
15919 * gdb.base/fileio.exp: Run only on remote targets.
15920
15921 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
15922
15923 * gdb.base/fileio.c: New file, testing File-I/O.
15924 * gdb.base/fileio.exp: Ditto.
15925
15926 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
15927
15928 * gdb.base/shreloc.exp: New file, check symbol values obtained from
15929 shared objects after relocation at load time (gdb PR/1132).
15930 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
15931 as above, part of the shared object relocation test.
15932
15933 2003-06-08 Mark Kettenis <kettenis@gnu.org>
15934
15935 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
15936 fully filled history list.
15937 * gdb.base/gdb_history: New file.
15938
15939 * gdb.base/signals.exp: XFAIL "continue to func1" on
15940 i*86-*-freebsd*.
15941
15942 * gdb.base/attach.exp: When trying to attach to a nonexistent
15943 process, make it possible to specify the PID based on the target,
15944 and do so for *-*-freebsd*.
15945
15946 2003-06-02 Richard Henderson <rth@redhat.com>
15947
15948 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
15949
15950 2003-06-02 Richard Henderson <rth@redhat.com>
15951
15952 * gdb.base/selftest.exp: Next over lim_at_start initialization.
15953
15954 2003-06-02 Richard Henderson <rth@redhat.com>
15955
15956 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
15957
15958 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
15959
15960 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
15961 of globalvar.
15962
15963 2003-06-01 Mark Kettenis <kettenis@gnu.org>
15964
15965 * gdb.asm/asm-source.exp: Check for memory read errors in
15966 disassembler test on *BSD too.
15967
15968 2003-06-01 Richard Henderson <rth@redhat.com>
15969
15970 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
15971 for .frame.
15972 (gdbasm_call): Lose ldgp.
15973 (gdbasm_startup): Add frame information.
15974 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
15975
15976 2003-05-31 Mark Kettenis <kettenis@gnu.org>
15977
15978 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
15979 i?86-*-*.
15980
15981 2003-05-30 Mark Kettenis <kettenis@gnu.org>
15982
15983 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15984 FreeBSD.
15985
15986 2003-05-29 Richard Henderson <rth@redhat.com>
15987
15988 * gdb.asm/alpha.inc: New file.
15989 * gdb.asm/asm-source.exp: Use it.
15990
15991 2003-05-29 Jim Blandy <jimb@redhat.com>
15992
15993 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
15994 'core.PID'.
15995
15996 2003-05-22 Jim Blandy <jimb@redhat.com>
15997
15998 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
15999 backtrace.
16000
16001 2003-05-20 David Carlton <carlton@math.stanford.edu>
16002
16003 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16004 this time.
16005
16006 2003-05-19 David Carlton <carlton@bactrian.org>
16007
16008 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16009 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16010
16011 2003-05-19 David Carlton <carlton@bactrian.org>
16012
16013 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16014 namespace tests.
16015 Bump copyright date.
16016 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16017 (main): Call C::D::marker2.
16018 * gdb.c++/namespace1.cc: New file.
16019
16020 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16021
16022 Roland McGrath <roland@redhat.com>
16023 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
16024 there is no manager thread.
16025
16026 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16027
16028 * gdb.threads/schedlock.exp: Remove assumption that all threads
16029 will run in a particular small time slice. Also ensure we break
16030 in one of the child threads rather than the main thread.
16031
16032 2003-05-07 Jim Blandy <jimb@redhat.com>
16033
16034 Add support for assembly source testing on the s390x.
16035 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16036 architecture.
16037 * gdb.asm/s390x.inc: New file.
16038
16039 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16040 succession of 'if' statements.
16041
16042 2003-05-05 Andrew Cagney <cagney@redhat.com>
16043
16044 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16045
16046 2003-05-05 Andrew Cagney <cagney@redhat.com>
16047
16048 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16049 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16050
16051 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
16052
16053 * gdb.base/charset.exp: Update based on new behavior of set/show
16054 charset commands.
16055
16056 2003-05-01 Andrew Cagney <cagney@redhat.com>
16057
16058 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16059 variable do not give memory errors.
16060
16061 2003-04-30 Adam Fedor <fedor@gnu.org>
16062
16063 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16064 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16065 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16066 gdb.objc/basicclass.m: : New files
16067
16068 * lib/gdb.exp (gdb_compile_objc): New procedure.
16069
16070 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
16071
16072 * gdb.base/signals.exp: Make backtrace tests more specific.
16073
16074 2003-04-23 David Carlton <carlton@bactrian.org>
16075
16076 * gdb.c++/maint.exp (test_first_component): Add tests for
16077 'operator' in more locations.
16078
16079 2003-04-16 Kevin Buettner <kevinb@redhat.com>
16080
16081 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16082
16083 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
16084
16085 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
16086 func marke' instead. Update test name.
16087
16088 2003-04-15 David Carlton <carlton@math.stanford.edu>
16089
16090 * gdb.c++/maint.exp: New file.
16091
16092 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
16093
16094 * gdb.threads/schedlock.c: Change type of thread function argument
16095 to long, to avoid warnings on 64-bit platforms.
16096
16097 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
16098
16099 * gdb.base/attach.exp: Add new message from ptrace in case of
16100 attaching to nonexistent process.
16101
16102 2003-04-11 Jim Blandy <jimb@redhat.com>
16103
16104 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16105 gdb.c++/userdef.cc: Place comments on the lines to which the
16106 marker function might return.
16107 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16108 gdb.c++/userdef.exp: Look for those comments to check that we've
16109 returned to the right place, instead of checking line numbers.
16110
16111 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
16112
16113 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16114 match on sourcefile name, instead of directory name.
16115
16116 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
16117
16118 * gdb.base/completion.exp: Use string_to_regexp to match the
16119 working directory name.
16120
16121 2003-04-09 Jim Blandy <jimb@redhat.com>
16122
16123 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16124 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16125 after an inferior function call, report the failure, but allow the
16126 test to continue.
16127
16128 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16129
16130 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16131 with -DPROTOTYPES.
16132
16133 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16134
16135 * gdb.base/break.exp: Revert last patch.
16136
16137 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16138
16139 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16140 with -DPROTOTYPES.
16141
16142 2003-04-02 Andrew Cagney <cagney@redhat.com>
16143
16144 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16145 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16146 matching directories by the name breakpoint.
16147 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16148 Make "continue to marker1" consistent.
16149 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16150 message consistent.
16151 * lib/gdb.exp: Put "the program is no longer running", and "the
16152 program exited" in parenthesis.
16153 * lib/mi-support.exp: Ditto.
16154
16155 2003-04-02 Bob Rossi <bob_rossi@cox.net>
16156
16157 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16158
16159 2003-03-29 Andrew Cagney <cagney@redhat.com>
16160
16161 * gdb.base/sizeof.c (main): Print the value of '\377'.
16162 * gdb.base/sizeof.exp: Check the sign of '\377'.
16163
16164 2003-03-27 Michael Chastain <mec@shout.net>
16165
16166 * gdb.base/gdb1090.exp: New file.
16167 * gdb.base/gdb1090.cc: New file.
16168
16169 2003-03-27 J. Brobecker <brobecker@gnat.com>
16170
16171 * gdb.gdb/observer.exp: New regression test.
16172
16173 2003-03-27 Michael Chastain <mec@shout.net>
16174
16175 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16176 * gdb.base/ptype.exp: Likewise.
16177
16178 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
16179
16180 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16181
16182 2003-03-26 Michael Chastain <mec@shout.net>
16183
16184 * gdb.base/ptype.exp: Actually use some typedef'd types.
16185
16186 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16187
16188 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16189 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16190
16191 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16192
16193 * gdb.base/default.exp: Fix regular expression.
16194
16195 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16196
16197 * gdb.base/args.exp: Fix regular expression.
16198
16199 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16200
16201 * gdb.base/help.exp: Allow Win32 child process.
16202
16203 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16204
16205 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16206 when stepping out of main().
16207
16208 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16209
16210 * gdb.base/default.exp: Check for win32 specific message when calling
16211 "run" without executable.
16212
16213 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16214
16215 * gdb.base/args.exp: Expect .exe in output.
16216
16217 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16218
16219 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16220 Cygwin native.
16221
16222 2003-03-17 Andrew Cagney <cagney@redhat.com>
16223
16224 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16225 vector registes.
16226 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16227 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16228
16229 2003-03-17 David Carlton <carlton@math.stanford.edu>
16230
16231 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16232 test, for PR breakpoints/38.
16233 Call test_watchpoint_and_breakpoint.
16234 * gdb.base/watchpoint.c (func3): New function.
16235 (main): Call func3.
16236
16237 2003-03-04 David Carlton <carlton@math.stanford.edu>
16238
16239 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16240 Garply<Garply<char> >:: garply".
16241 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16242 with respect to PR c++/1111; note also PR c++/1113.
16243 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16244 respect to PR c++/1062.
16245 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16246
16247 2003-03-03 David Carlton <carlton@math.stanford.edu>
16248
16249 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16250 with respect to PR c++/57.
16251 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16252 c++/826.
16253 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16254 respect to PR c++/57.
16255
16256 2003-03-03 David Carlton <carlton@math.stanford.edu>
16257
16258 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16259 respect to PR c++/33 into FAILs.
16260
16261 2003-03-03 Michael Chastain <mec@shout.net>
16262
16263 * configure.in: Update copyright years.
16264
16265 2003-03-03 Michael Chastain <mec@shout.net>
16266
16267 * Makefile.in: Update copyright years.
16268
16269 2003-02-28 David Carlton <carlton@math.stanford.edu>
16270
16271 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16272 print class instead of struct and/or superfluous protection
16273 specifiers, as long as the resulting output is equivalent to the
16274 source code.
16275 Delete FIXME from end of messages on tests that don't need
16276 fixing.
16277
16278 2003-02-28 David Carlton <carlton@math.stanford.edu>
16279
16280 * gdb.c++/templates.exp (do_tests): Allow const in the two
16281 Foo<volatile char *>::foo tests.
16282
16283 2003-02-27 Michael Snyder <msnyder@redhat.com>
16284
16285 * gdb.base/restore.c (main): Return zero, so exit code
16286 will be consistant.
16287
16288 2003-02-26 David Carlton <carlton@math.stanford.edu>
16289
16290 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16291 char *>::foo" test with respect to PR c++/33. Create a new test
16292 which is identical to that one except that it doesn't put the
16293 space between the "char" and the "*"; KFAIL it, too.
16294
16295 2003-02-26 David Carlton <carlton@math.stanford.edu>
16296
16297 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16298 template types into either PASSes or KFAILs (corresponding to PR
16299 c++/57). Tweak indentation. Update copyright.
16300
16301 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16302
16303 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16304
16305 2003-02-13 Michael Chastain <mec@shout.net>
16306
16307 * gdb.base/exprs.exp: Remove i960 remnants.
16308 * gdb.base/funcargs.exp: Likewise.
16309 * gdb.base/list.exp: Likewise.
16310 * gdb.base/ptype.exp: Likewise.
16311
16312 2003-02-14 David Carlton <carlton@math.stanford.edu>
16313
16314 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16315 pEe->D::vg()" from XFAIL to KFAIL.
16316
16317 2003-02-13 Jason Molenda (jmolenda@apple.com)
16318
16319 * gdb.base/maint.exp: Update maint print statistics regexp to include
16320 new entries.
16321
16322 2003-02-13 Michael Chastain <mec@shout.net>
16323
16324 * gdb.c++/inherit.exp: Remove call to get_debug_format.
16325
16326 2003-02-12 Michael Chastain <mec@shout.net>
16327
16328 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16329 * gdb.c++/inherit.exp: Likewise.
16330 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16331 * gdb.c++/templates.exp: Likewise.
16332 * gdb.c++/virtfunc.exp: Likewise.
16333
16334 2003-02-06 Jason Molenda (jason-cl@molenda.com)
16335
16336 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16337 why the code is written that way.
16338
16339 2003-02-05 Michael Chastain <mec@shout.net>
16340
16341 * gdb.base/dump.exp: Add missing copyright line.
16342
16343 2003-02-05 Jason Molenda (jason-cl@molenda.com)
16344
16345 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
16346 at the beginning so the breakpoint doesn't get set on the loop.
16347
16348 2003-02-05 Michael Chastain <mec@shout.net>
16349
16350 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16351 output for configurations with gcc 2.95.3.
16352
16353 2003-02-05 Keith Seitz <keiths@redhat.com>
16354 Andrew Cagney <ac131313@redhat.com>
16355
16356 * gdb.mi/mi-cli.exp: New file.
16357
16358 2003-02-04 Michael Chastain <mec@shout.net>
16359
16360 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16361 Call perror and then continue.
16362
16363 2003-02-03 Michael Chastain <mec@shout.net>
16364
16365 * gdb.c++/pr-1023.cc: New file.
16366 * gdb.c++/pr-1023.exp: New file.
16367
16368 2003-02-05 Jim Blandy <jimb@redhat.com>
16369
16370 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16371 it's local to foobar. Check for it there, and check that it's not
16372 present in main.
16373 * gdb.c++/local.cc (marker2): New function.
16374 (foobar): Call marker1.
16375 (main): Call marker2 instead of marker1.
16376
16377 2003-02-04 Andrew Cagney <ac131313@redhat.com>
16378
16379 * gdb.disasm/mn10200.exp: Obsolete file.
16380 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16381 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16382 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16383
16384 2003-02-04 David Carlton <carlton@math.stanford.edu>
16385
16386 * gdb.c++/overload.exp: Test intToChar(1).
16387 * gdb.c++/overload.cc (intToChar): New.
16388 (main): Call intToChar.
16389
16390 2003-02-03 David Carlton <carlton@math.stanford.edu>
16391
16392 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16393 'might_kfail' arg.
16394 KFAIL some of the continue_to_bp_overloaded calls, according to
16395 PR c++/1025.
16396
16397 2003-02-01 Michael Chastain <mec@shout.net>
16398
16399 * gdb.base/advance.c (marker1): New marker function.
16400 * gdb.base/advance.exp: When the 'advance' command lands on the
16401 return breakpoint, it can legitimately stop on either the
16402 current line or the next line. Accommodate both outcomes.
16403 * gdb.base/until.exp: Likewise.
16404
16405 2003-02-02 Andrew Cagney <ac131313@redhat.com>
16406
16407 2002-11-10 Jason Molenda (jason-cl@molenda.com):
16408 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16409 now a list, not a tuple.
16410 * gdb.mi/mi-var-display.exp: Ditto.
16411 * gdb.mi/gdb792.exp: Ditto.
16412
16413 2003-02-01 Andrew Cagney <ac131313@redhat.com>
16414
16415 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
16416 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16417 stack backtraces.
16418 * gdb.mi/mi-syn-frame.c: Part of same.
16419
16420 2003-02-01 Mark Kettenis <kettenis@gnu.org>
16421
16422 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16423 gdb.mi/mi1-pthreads.exp: Return instead of calling
16424 gdb_suppress_entire_file.
16425
16426 2003-02-01 Mark Salter <msalter@redhat.com>
16427
16428 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16429
16430 2003-01-31 Mark Salter <msalter@redhat.com>
16431
16432 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16433 Support empty arg.
16434
16435 2003-01-30 Michael Chastain <mec@shout.net>
16436
16437 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16438 This was a workaround for a UTF-8 bug in readline 4.3. The bug
16439 has been fixed in gdb/readline on 2003-01-09.
16440
16441 2003-01-29 Michael Snyder <msnyder@redhat.com>
16442
16443 * gdb.base/maint.exp: Allow for leading underscore in symbol.
16444 * gdb.base/display.exp: Allow for leading underscore in symbol.
16445 * gdb.base/args.exp: Skip if target does not support args passing.
16446
16447 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
16448
16449 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
16450 gdb_test. Accept a list of expect arguments as the third
16451 parameter.
16452 (gdb_test): Use it.
16453
16454 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
16455
16456 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16457 allow for different test tree configurations. Update some
16458 tescases accordingly.
16459 * gdb.arch/altivec-regs.exp: Ditto.
16460 * gdb.asm/asm-source.exp: Ditto.
16461 * gdb.base/advance.exp: Ditto.
16462 * gdb.base/display.exp: Ditto.
16463 * gdb.base/long_long.exp: Ditto.
16464 * gdb.base/mips_pro.exp: Ditto.
16465 * gdb.base/overlays.exp: Ditto.
16466 * gdb.base/relocate.exp: Ditto.
16467 * gdb.base/setshow.exp: Ditto.
16468 * gdb.base/step-line.exp: Ditto.
16469 * gdb.base/step-test.exp: Ditto.
16470 * gdb.base/until.exp: Ditto.
16471 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16472
16473 2003-01-17 David Carlton <carlton@math.stanford.edu>
16474
16475 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16476 corresponding to PR c++/945.
16477 Update copyright.
16478
16479 2003-01-17 David Carlton <carlton@math.stanford.edu>
16480
16481 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16482 corresponding to PR c++/68.
16483
16484 2003-01-17 David Carlton <carlton@math.stanford.edu>
16485
16486 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16487 (test_paddr_hairy_functions): Call print_addr_2_kfail for
16488 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
16489
16490 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
16491
16492 * gdb.base/break.exp: Fix change of default location, because of
16493 removal of until tests.
16494 * gdb.base/help.exp: Update test for new 'until' help message.
16495 Add test for help on 'advance'.
16496 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
16497
16498 2003-01-15 Mark Kettenis <kettenis@gnu.org>
16499
16500 * gdb.base/default.exp: Adapt "info float" test for recent changes
16501 to that command. Add test for "info vector".
16502 * gdb.base/float.exp: New file. Add test for "info float" that
16503 resembles the old test in gdb.base/default.exp.
16504
16505 2003-01-15 David Carlton <carlton@math.stanford.edu>
16506
16507 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16508
16509 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
16510
16511 * gdb.base/break.exp: Move the tests of until command from here...
16512 * gdb.base/until.exp: ... to here. New file. Add other tests.
16513 * gdb.base/advance.c: New file.
16514 * gdb.base/advance.exp: New file.
16515
16516 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
16517
16518 * gdb.base/args.c: New file.
16519 * gdb.base/args.exp: New file.
16520
16521 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
16522
16523 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16524
16525 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
16526
16527 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16528
16529 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
16530
16531 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
16532 dates.
16533
16534 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16535
16536 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16537
16538 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16539
16540 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16541 (ptype &*"foo").
16542 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16543
16544 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16545
16546 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16547 * gdb.mi/mi1-console.exp: Likewise.
16548
16549 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16550
16551 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16552 * gdb.mi/mi1-console.exp: Likewise.
16553
16554 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16555
16556 * gdb.c++/overload.exp: Remove some fixed XFAILs.
16557
16558 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
16559
16560 * gdb.base/detach.exp: New test.
16561
16562 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
16563
16564 * Makefile.in (ALL_SUBDIRS): New variable.
16565 (subdirs, clean, distclean): Use it.
16566 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
16567 regenerating Makefile, since it is generated from the top level.
16568 * gdb.asm/Makefile.in: Likewise.
16569 * gdb.base/Makefile.in: Likewise.
16570 * gdb.c++/Makefile.in: Likewise.
16571 * gdb.disasm/Makefile.in: Likewise.
16572 * gdb.java/Makefile.in: Likewise.
16573 * gdb.mi/Makefile.in: Likewise.
16574 * gdb.threads/Makefile.in: Likewise.
16575 * gdb.trace/Makefile.in: Likewise.
16576
16577 2003-01-09 David Carlton <carlton@math.stanford.edu>
16578
16579 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16580 Add copyright year 2003.
16581
16582 2003-01-06 Michael Chastain <mec@shout.net>
16583
16584 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16585 When selecting a thread, 'line' and 'file' are optional.
16586 * gdb.mi/mi1-pthreads.exp: Likewise.
16587
16588 2003-01-06 Andreas Schwab <schwab@suse.de>
16589
16590 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16591 failures.
16592
16593 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
16594
16595 Fix PR gdb/844
16596 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16597 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16598
16599 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
16600 instead of calling gdb_suppress_entire_file.
16601 * gdb.threads/print-threads.exp: Likewise.
16602 * gdb.threads/schedlock.exp: Likewise.
16603
16604 * gdb.threads/killed.exp: Return instead of calling
16605 gdb_suppress_entire_file.
16606 * gdb.threads/linux-dp.exp: Likewise.
16607 * gdb.threads/pthreads.exp: Likewise.
16608
16609 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
16610
16611 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16612 stabs.
16613 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16614 * gdb.base/whatis.exp: Always allow (void) after function names.
16615
16616 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
16617
16618 * gdb.c++/casts.exp: Correct regexp.
16619
16620 2003-01-04 Mark Kettenis <kettenis@gnu.org>
16621
16622 * configure.in: Call AC_CONFIG_HEADER. Don't call
16623 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16624 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
16625 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
16626 aforementioned directories in the AC_OUPUT call.
16627 * config.hin: New file.
16628 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16629 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16630 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16631 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16632 pass -I$objdir instead of -I$objdir/$subdir in compilation.
16633 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16634 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16635 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16636 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16637 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16638 gdb.threads/configure.in, gdb.threads/configure,
16639 gdb.threads/config.in, gdb.trace/configure.in,
16640 gdb.trace/configure: Removed.
16641
16642 2003-01-03 Michael Chastain <mec@shout.net>
16643
16644 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16645 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16646
16647 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
16648
16649 * gdb.base/store.exp: Fix regular expressions.
16650
16651 2002-12-28 Mark Kettenis <kettenis@gnu.org>
16652
16653 * configure.in: Rewrite.
16654 * configure: Regenerated.
16655
16656 2003-01-03 David Carlton <carlton@math.stanford.edu>
16657
16658 * gdb.base/psymtab.exp: New file.
16659 * gdb.base/psymtab1.c: Ditto.
16660 * gdb.base/psymtab2.c: Ditto.
16661
16662 2002-12-23 Adam Fedor <fedor@gnu.org>
16663
16664 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16665
16666 2002-12-23 David Carlton <carlton@math.stanford.edu>
16667
16668 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16669 and current_directory initialization.
16670
16671 2002-12-22 Jim Blandy <jimb@redhat.com>
16672
16673 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16674 rather than as part of the output file name.
16675
16676 * gdb.base/attach.exp: There's no need to copy the test program to
16677 /tmp; that was only ever necessary on HP/UX, and this test is
16678 entirely disabled there anyway.
16679
16680 2002-12-21 Jim Blandy <jimb@redhat.com>
16681
16682 * gdb.c++/psmang.exp: Doc fix.
16683
16684 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16685 test.
16686
16687 2002-12-20 David Carlton <carlton@math.stanford.edu>
16688
16689 * gdb.c++/annota2.exp: KFAIL annotate-quit.
16690
16691 2002-12-18 Michael Chastain <mec@shout.net>
16692
16693 * gdb.c++/annota2.exp: Add copyright year 2002.
16694
16695 2002-12-17 David Carlton <carlton@math.stanford.edu>
16696
16697 * gdb.c++/try_catch.cc: Add marker comments.
16698 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16699 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16700 * gdb.c++/m-static.cc: Ditto.
16701 * gdb.c++/m-static1.cc: Ditto.
16702 * gdb.c++/try_catch.cc: Ditto.
16703
16704 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
16705
16706 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16707 to see whether we are using the new -environment-directory
16708 command which resets via -r or the old version of the command
16709 which may prompt the user. Part of fix for gdb/741.
16710
16711 2002-12-13 Andrew Cagney <ac131313@redhat.com>
16712
16713 * gdb.fortran/types.exp: Update obsolete comment.
16714 * gdb.fortran/exprs.exp: Ditto.
16715 * lib/gdb.exp: Delete obsolete code.
16716 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16717 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16718 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16719 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16720 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16721 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16722 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16723 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16724 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16725 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16726 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16727 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16728 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16729 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16730 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16731 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16732 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16733 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16734 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16735 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16736 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16737 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16738 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16739 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16740 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16741 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16742 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16743 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16744 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16745 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16746 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16747 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16748 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16749 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16750 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16751 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16752 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16753
16754 2002-12-11 David Carlton <carlton@math.stanford.edu>
16755
16756 * gdb.c++/m-data.exp: Add test for members that shadow global
16757 variables: see PR gdb/804.
16758 * gdb.c++/m-data.cc: Ditto.
16759
16760 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
16761
16762 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16763
16764 2002-12-06 David Carlton <carlton@math.stanford.edu>
16765
16766 * gdb.base/store.c: Don't declare functions static.
16767
16768 2002-12-04 Andrew Cagney <ac131313@redhat.com>
16769
16770 * gdb.base/store.exp, gdb.base/store.c: New files.
16771
16772 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
16773
16774 * gdb.base/selftest.exp: Update for current gdb.
16775
16776 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
16777
16778 * gdb.base/maint.exp: Only dump symbols from one source file
16779 or objfile.
16780
16781 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
16782
16783 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16784 function call.
16785
16786 2002-11-25 Jim Blandy <jimb@redhat.com>
16787
16788 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16789 function appearing in error message.
16790
16791 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
16792
16793 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16794
16795 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
16796
16797 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16798 for mi1 and current mi is in correct format. New mi startup message
16799 should be in mi console format. This is part of fix for PR gdb/604.
16800
16801 2002-09-18 Fernando Nasser <fnasser@redhat.com>
16802
16803 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16804 which explicitly prints the zero offset as "+0".
16805
16806 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
16807
16808 * gdb.threads/schedlock.c (args): Make unsigned.
16809
16810 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
16811
16812 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
16813 numbers. Allow "foo2|selected stack frame".
16814 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16815 * gdb.asm/asmsrc2.s: Likewise.
16816 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
16817 comments.
16818 * gdb.asm/mips.inc: New file.
16819
16820 2002-10-18 Adam Fedor <fedor@gnu.org>
16821
16822 * gdb.base/default.exp: Update expected output to include 'ObjC'.
16823 * gdb.base/help.exp: Likewise.
16824
16825 2002-10-17 Kevin Buettner <kevinb@redhat.com>
16826
16827 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16828 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16829
16830 2002-10-02 Jim Blandy <jimb@redhat.com>
16831
16832 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16833
16834 2002-10-01 Andrew Cagney <ac131313@redhat.com>
16835
16836 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16837 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16838 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16839 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16840 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16841 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16842 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16843
16844 2002-09-29 Andrew Cagney <ac131313@redhat.com>
16845
16846 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16847 * mi0-disassemble.exp, mi0-eval.exp: Delete.
16848 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16849 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16850 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16851 * mi0-var-block.exp, mi0-var-child.exp: Delete.
16852 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
16853
16854 2002-09-27 Kevin Buettner <kevinb@redhat.com>
16855
16856 * gdb.base/annota1.exp (info break): Make directory components of
16857 path optional since not all compilers emit this debug information.
16858
16859 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
16860 step ends up stepping out of the function instead of stopping on
16861 the epilogue.
16862
16863 2002-09-26 Keith Seitz <keiths@redhat.com>
16864
16865 * lib/insight-support.exp (gdbtk_start): Figure out where
16866 the insight executable is based on where gdb is. Use this
16867 executable to start insight instead of gdb.
16868
16869 2002-09-25 Andrew Cagney <cagney@redhat.com>
16870
16871 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
16872
16873 2002-09-24 Andrew Cagney <ac131313@redhat.com>
16874
16875 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
16876 test_isolated_complaints.
16877 (test_empty_complaint): New function.
16878 (test_empty_complaints): New function. Check no output when no
16879 complaints.
16880
16881 2002-09-19 Jim Blandy <jimb@redhat.com>
16882
16883 * gdb.base/charset.exp, gdb.base/charset.c: New files.
16884
16885 2002-09-19 Andrew Cagney <ac131313@redhat.com>
16886
16887 * gdb.gdb/complaints.exp: New file.
16888
16889 2002-09-18 Andrew Cagney <ac131313@redhat.com>
16890
16891 * gdb.base/maint.exp: Check `help maint internal-warning'.
16892
16893 2002-09-18 David Carlton <carlton@math.stanford.edu>
16894
16895 * gdb.c++/m-static.exp: Remove breakpoints depending on line
16896 numbers, and replace them by a single breakpoint after the
16897 constructors are all finished.
16898 Add test 4.
16899 * gdb.c++/m-static.cc: Add test 4.
16900 * gdb.c++/m-static.h: New file.
16901 * gdb.c++/m-static1.cc: New file.
16902
16903 * gdb.c++/printmethod.exp: New file.
16904 * gdb.c++/printmethod.cc: New file.
16905
16906 * gdb.c++/pr-574.exp: New file.
16907 * gdb.c++/pr-574.cc: New file.
16908
16909 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
16910
16911 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
16912 embedded targets which never actually exit.
16913
16914 2002-09-18 Fernando Nasser <fnasser@redhat.com>
16915
16916 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
16917 "don't step after run" as unresolved or unsupported, instead of xfail.
16918
16919 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
16920
16921 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
16922 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
16923 Add newline to expected string in "step out of main (status wrapper)"
16924 case.
16925
16926 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
16927
16928 * lib/gdb.exp (rerun_to_main): Allow restarting application.
16929 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
16930
16931 2002-09-17 Tom Tromey <tromey@redhat.com>
16932
16933 * gdb.base/printcmds.exp (test_print_string_constants): Expect
16934 \000, not \0, in double-quoted string.
16935
16936 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
16937
16938 * gdb.base/commands.exp: Don't expect a "Program exited normally"
16939 string after running the commands execution on breakpoint tests.
16940
16941 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
16942
16943 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
16944
16945 2002-09-12 Joel Brobecker <brobecker@gnat.com>
16946
16947 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
16948
16949 2002-09-10 Keith Seitz <keiths@redhat.com>
16950
16951 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
16952 runto proc.
16953 (mi_run_to_main): Use mi_runto.
16954 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
16955
16956 2002-09-10 Keith Seitz <keiths@redhat.com>
16957
16958 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
16959 regexp for stopping at main. Could have multiple event notifications.
16960 Don't assume that main was declared with no parameters.
16961 (mi_next): Use mi_step_to.
16962 (mi_step): Use mi_next_to.
16963
16964 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
16965
16966 * gdb.base/default.exp: Fix expected string in `info float' test.
16967
16968 2002-09-09 Ben Elliston <bje@redhat.com>
16969
16970 * config/mips.exp: Update comments.
16971 * config/mips-idt.exp: Likewise.
16972 * config/nind.exp: Likewise.
16973 * config/slite.exp: Likewise.
16974 * config/sparclet.exp: Likewise.
16975 * config/udi.exp: Likewise.
16976 * config/vx.exp: Likewise.
16977 * config/vxworks29k.exp: Likewise.
16978
16979 2002-09-05 Jim Blandy <jimb@redhat.com>
16980
16981 * gdb.threads/killed.exp: Fix test failure message.
16982
16983 2002-09-04 Keith Seitz <keiths@redhat.com>
16984
16985 * lib/mi-support.exp: Update copyright.
16986 (mi_gdb_test): Increase the priority of the expected pattern
16987 so that it matches gdb_test.
16988
16989 2002-09-03 Keith Seitz <keiths@redhat.com>
16990
16991 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
16992 Use integer comparison instead of string comparison for testing
16993 whether binary was built.
16994
16995 2002-09-03 Jim Blandy <jimb@redhat.com>
16996
16997 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
16998
16999 2002-08-29 Jim Blandy <jimb@redhat.com>
17000
17001 * gdb.threads/pthreads.exp: Move the portable thread compilation
17002 code into a function in lib/gdb.exp, and call that from here.
17003 * lib/gdb.exp (gdb_compile_pthreads): New function.
17004
17005 2002-08-29 Keith Seitz <keiths@redhat.com>
17006
17007 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17008 expect_out so that callers can get at it.
17009
17010 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
17011
17012 * gdb.threads/print-threads.c: New file.
17013 * gdb.threads/print-threads.exp: New file.
17014 * gdb.threads/schedlock.c: New file.
17015 * gdb.threads/schedlock.exp: New file.
17016
17017 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
17018
17019 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17020 not altivec.c.
17021
17022 2002-08-17 Mark Kettenis <kettenis@gnu.org>
17023
17024 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17025 targets. The problem should be fixed now.
17026
17027 2002-08-15 Mark Kettenis <kettenis@gnu.org>
17028
17029 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17030 2002-07-24 change that removes final dots from error messages.
17031
17032 2002-08-13 Tom Tromey <tromey@redhat.com>
17033
17034 * gdb.base/readline.exp: New file.
17035
17036 2002-08-01 Andrew Cagney <ac131313@redhat.com>
17037
17038 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17039 supress message.
17040
17041 2002-08-01 Andrew Cagney <cagney@redhat.com>
17042
17043 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17044 CHILL_FOR_TARGET and CHILL_LIB.
17045 * configure.in (configdirs): Remove gdb.chill.
17046 * configure: Regenerate.
17047 * lib/gdb.exp: Obsolete references to chill.
17048 * gdb.fortran/types.exp: Ditto.
17049 * gdb.fortran/exprs.exp: Ditto.
17050
17051 2002-07-30 Kevin Buettner <kevinb@redhat.com>
17052
17053 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17054 set Irix-specific compile and link flags.
17055
17056 2002-07-29 Kevin Buettner <kevinb@redhat.com>
17057
17058 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17059 source files. The ``-o'' option doesn't work with the ``-E'' option
17060 when using the Irix compiler.
17061
17062 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
17063
17064 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17065 Improve support for reusing an exec file. Copy exec file
17066 to target, and run gdbserver on the target instead of on the host.
17067
17068 2002-07-18 Jim Blandy <jimb@redhat.com>
17069
17070 * gdb.base/ending-run.exp: Don't expect to see the program end in
17071 some orderly fashion when we're running on a real stand-alone
17072 board.
17073
17074 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17075 targets that don't support interrupts.
17076
17077 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17078
17079 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17080 systems.
17081 Move comments in expect statements to inside the actions, so that they
17082 don't get matched against.
17083
17084 2002-07-10 Mark Kettenis <kettenis@gnu.org>
17085
17086 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17087 function when asleep" test.
17088
17089 2002-07-10 Andrew Cagney <ac131313@redhat.com>
17090
17091 * gdb.base/page.exp: Rewrite to handle problems with very long
17092 `info set' output. Update copyright.
17093
17094 2002-06-26 Andrew Cagney <ac131313@redhat.com>
17095
17096 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17097 gdb.threads-hp.
17098 * gdb.hp/configure: Regenerate.
17099 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17100 * gdb.hp/gdb.threads-hp/configure: Delete file.
17101 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17102
17103 2002-06-22 Andrew Cagney <ac131313@redhat.com>
17104
17105 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17106 setlocale, bindtextdomain and textdomain.
17107
17108 2002-06-11 Jim Blandy <jimb@redhat.com>
17109
17110 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17111 preprocessor macro information is present.
17112
17113 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17114 tests.
17115
17116 2002-06-06 Michael Snyder <msnyder@redhat.com>
17117
17118 * gdb.base/overlays.exp: Record addresses of overlay
17119 functions in TCL variables rather than in GDB variables,
17120 to avoid having GDB convert them to pointers (with loss
17121 of information).
17122
17123 * gdb.base/d10v.ld: Merge in several years worth of
17124 default linker script changes.
17125 * gdb.base/long_long.exp: Add check for sizeof (long double).
17126
17127 2002-06-06 Michal Ludvig <mludvig@suse.cz>
17128
17129 * gdb.asm/asm-source.exp: Add x86-64 target.
17130 * gdb.asm/x86_64.inc: New.
17131
17132 2002-05-30 Michael Chastain <mec@shout.net>
17133
17134 From Benjamin Kosnik <bkoz@redhat.com>:
17135 * gdb.c++/m-static.cc: New file.
17136 * gdb.c++/m-static.exp: New file.
17137
17138 2002-05-28 Michael Snyder <msnyder@redhat.com>
17139
17140 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17141 precision.
17142
17143 2002-05-27 Michael Chastain <mec@shout.net>
17144
17145 From Benjamin Kosnik <bkoz@redhat.com>:
17146 * gdb.c++/m-data.cc: New file.
17147 * gdb.c++/m-data.exp: New file.
17148
17149 2002-05-27 Michael Chastain <mec@shout.net>
17150
17151 From Benjamin Kosnik <bkoz@redhat.com>:
17152 * gdb.c++/try_catch.cc: New file.
17153 * gdb.c++/try_catch.exp: New file.
17154
17155 2002-05-27 Michael Chastain <mec@shout.net>
17156
17157 * gdb.c++/local.exp: Accept more nested types in output.
17158
17159 2002-05-26 Michael Chastain <mec@shout.net>
17160
17161 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17162
17163 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17164
17165 * lib/gdb.exp (gdb_wrapper_init): Just because
17166 gdb_wrapper_file exists, this does not mean that the file
17167 should not be rebuilt. That is what gdb_wrapper_initialized
17168 is for.
17169 (default_gdb_init): Reset gdb_wrapper_initialized.
17170
17171 2002-05-23 Michael Snyder <msnyder@redhat.com>
17172
17173 * gdb.base/all-bin.exp: Revise previous patch by just reducing
17174 the precision of the floating point test results.
17175 * gdb.base/call-rt-st.exp: Ditto.
17176
17177 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17178 * gdb.base/call-rt-st.exp: Ditto.
17179
17180 2002-05-19 Michael Chastain <mec@shout.net>
17181
17182 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17183
17184 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
17185
17186 * configure.in (configdirs): Add gdb.arch.
17187 * configure: Regenerate.
17188
17189 2002-05-17 Jim Blandy <jimb@redhat.com>
17190
17191 * gdb.base/completion.exp: Recognize the more detailed error
17192 messages produced by the macro expander's lexical analyzer.
17193
17194 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
17195
17196 * gdb.arch/altivec-abi.c: New file.
17197 * gdb.arch/altivec-abi.exp: New file.
17198 * gdb.arch/altivec-regs.c: New file.
17199 * gdb.arch/altivec-regs.exp: New file.
17200
17201 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
17202
17203 * gdb.base/maint.exp (maint print type): Update for new type
17204 structure.
17205
17206 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
17207
17208 * gdb.arch: New directory.
17209 * gdb.arch/configure.in: New file.
17210 * gdb.arch/configure: New file.
17211 * gdb.arch/Makefile.in: New file.
17212
17213 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
17214
17215 * gdb.asm/asm-source.exp: Add v850 as supported target.
17216 * gdb.asm/v850.inc: New file.
17217
17218 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
17219
17220 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17221
17222 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
17223
17224 * gdb.base/break.exp: Check 'break "marker2"'.
17225
17226 2002-05-10 Michael Snyder <msnyder@redhat.com>
17227
17228 * gdb.base/long_long.exp: Fix typo.
17229
17230 2002-05-10 Jim Blandy <jimb@redhat.com>
17231
17232 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17233 a bug.
17234
17235 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17236 Recognize more detailed error message produced by the macro
17237 expander's lexical analyzer.
17238 * lib/gdb.exp (test_print_reject): Same.
17239
17240 2002-05-09 Mark Kettenis <kettenis@gnu.org>
17241
17242 * gdb.c++/method.exp: Fix typo.
17243
17244 2002-05-08 Michael Snyder <msnyder@redhat.com>
17245
17246 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17247 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
17248 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
17249 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17250 Add iftarget clause for strongarm.
17251
17252 2002-05-06 Michael Snyder <msnyder@redhat.com>
17253
17254 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17255 (gdb_continue_to_end): Accept output from status wrapper.
17256 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17257 Clean up fail messages to match pass messages.
17258
17259 Enable the "needs_status_wrapper" testsuite feature.
17260 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17261 (gdb_compile): Conditionally call gdb_wrapper_init.
17262 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17263 * gdb.c++/method.exp: Recognize output from status wrapper.
17264
17265 2002-05-06 Ben Elliston <bje@redhat.com>
17266 From Graydon Hoare <graydon@redhat.com>
17267
17268 * config/sid.exp: Include support for "rawsid" protocol.
17269
17270 2002-05-03 Jim Blandy <jimb@redhat.com>
17271
17272 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17273 * gdb.c++/hang3.C: New file.
17274
17275 2002-05-04 Andrew Cagney <ac131313@redhat.com>
17276
17277 * gdb.base/default.exp: Remove obsolete code.
17278 * gdb.c++/misc.exp: Ditto. Update copyright.
17279 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17280 * gdb.base/whatis.exp: Ditto. Update copyright.
17281 * gdb.base/scope.exp: Ditto. Update copyright.
17282 * gdb.base/ptype.exp: Ditto. Update copyright.
17283 * gdb.base/printcmds.exp: Ditto. Update copyright.
17284 * gdb.base/opaque.exp: Ditto. Update copyright.
17285 * gdb.base/list.exp: Ditto.
17286 * gdb.base/funcargs.exp: Ditto. Update copyright.
17287 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17288 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17289 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17290 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17291 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17292 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17293
17294 2002-05-02 Michael Snyder <msnyder@redhat.com>
17295
17296 * gdb.base/watchpoint.exp: Add xscale target.
17297 * gdb.base/long_long.exp: Add xscale target.
17298 * gdb.base/default.exp: Add xscale target.
17299
17300 2002-05-01 Jim Blandy <jimb@redhat.com>
17301
17302 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17303 gdb.c++/hang.exp: New test.
17304
17305 2002-05-01 Fred Fish <fnf@redhat.com>
17306
17307 * gdb.base/completion.exp: Handle completions of "./Make" for
17308 more than one completion possibility, as is the case when we
17309 build and test in the source tree.
17310
17311 2002-04-29 Anthony Green <green@redhat.com>
17312
17313 * gdb.java/jmisc1.exp: New file.
17314 * gdb.java/jmisc2.exp: New file.
17315
17316 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
17317
17318 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17319
17320 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
17321
17322 * gdb.base/help.exp: Change 'help status' to allow for target
17323 dependent output differences.
17324
17325 2002-04-22 Michael Chastain <mec@shout.net>
17326
17327 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17328
17329 2002-04-22 Michael Chastain <mec@shout.net>
17330
17331 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17332
17333 2002-04-17 David S. Miller <davem@redhat.com>
17334
17335 * gdb.asm/sparc64.inc: New file.
17336 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17337
17338 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
17339
17340 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17341 instruction file directly into the build tree. Clean up at end of
17342 test.
17343
17344 2002-04-18 David S. Miller <davem@redhat.com>
17345
17346 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17347 handle 64-bit platforms correctly.
17348 * gdb.base/maint.exp: Likewise.
17349
17350 2002-04-18 Kevin Buettner <kevinb@redhat.com>
17351
17352 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17353 ``-fpic'' when compiling files comprising a shared library, but
17354 it does need additional linker flags in order to find shared
17355 libraries at run time.
17356
17357 2002-04-18 Kevin Buettner <kevinb@redhat.com>
17358
17359 * gdb.base/cvexpr.c (use): New function.
17360 (main): Invoke use() on all global variables to prevent
17361 some linkers from deleting these otherwise unused symbols.
17362
17363 2002-04-17 Michael Chastain <mec@shout.net>
17364 From David S. Miller <davem@redhat.com>
17365
17366 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17367 handle 64-bit platforms correctly.
17368
17369 2002-04-12 Michael Snyder <msnyder@redhat.com>
17370 From Jim Blandy <jimb@redhat.com>
17371 * gdb.base/foo.c (foox): Remove section attribute; the linker
17372 script can handle this instead.
17373 * gdb.base/bar.c (barx): Same.
17374 * gdb.base/baz.c (bazx): Same.
17375 * gdb.base/grbx.c (grbxx): Same.
17376
17377 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17378 manager doesn't automatically unmap overlays unnecessarily.
17379
17380 2002-04-10 Martin M. Hunt <hunt@redhat.com>
17381
17382 * gdb.base/ending-run.exp: Fix pattern for Mips targets
17383 stepping out of main.
17384
17385 2002-04-09 Michael Chastain <mec@shout.net>
17386
17387 * gdb.c++/local.cc (main): Move call to marker1() inside nested
17388 scope so that the nested scope tests will make sense.
17389 * gdb.c++/local.exp: Write patterns that actually work with gcc
17390 (the HP patterns "were never known to work with gcc").
17391 Keep the old aCC patterns too.
17392
17393 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
17394
17395 * gdb.base/attach.exp: Correct target board test.
17396
17397 2002-04-08 Michael Chastain <mec@shout.net>
17398
17399 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17400 in a const method. Add some xfail and fail cases for configurations
17401 that do not emit the "const ...".
17402
17403 2002-04-07 Michael Chastain <mec@shout.net>
17404
17405 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17406 Accept "A * const" and "const A * const" as type of "this".
17407 Fix spelling of getFunky throughout. Make messages uniform.
17408
17409 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
17410
17411 Work around for PR gdb/285:
17412 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17413
17414 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
17415
17416 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17417 instructions file at run time instead of configure time.
17418 Sometimes we run the test in a directory that is not the one we
17419 configured in.
17420 * gdb.asm/configure.in: Delete creation of symlink.
17421 * gdb.asm/configure: Regenerate.
17422
17423 2002-04-05 J. Brobecker <brobecker@gnat.com>
17424
17425 * gdb.gdb/xfullpath.exp: New test, to exercise the new
17426 xfullpath () function.
17427
17428 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
17429
17430 * gdb.asm/Makefile.in: Correct dependencies.
17431
17432 * gdb.asm/powerpc.inc: New file.
17433 * gdb.asm/asm-source.exp: Add PowerPC.
17434 * gdb.asm/configure.in: Likewise.
17435 * gdb.asm/configure: Regenerated.
17436
17437 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
17438
17439 * gdb.base/relocate.exp: New file.
17440 * gdb.base/relocate.c: New file.
17441
17442 2002-04-04 Fred Fish <fnf@redhat.com>
17443
17444 * gdb.base/step-test.exp: Update comment regarding stopping in
17445 memcpy/bcopy calls inserted as part of the compiler runtime.
17446
17447 2002-04-04 Michael Snyder <msnyder@redhat.com>
17448
17449 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17450
17451 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
17452
17453 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17454 (gdb_expect): Remove $notransfer hack.
17455
17456 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
17457
17458 * gdb.c++/classes.exp ("calling method for small class"): Match
17459 updated register output.
17460
17461 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
17462
17463 Fix PR gdb/452
17464 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17465 when finished. Make gdb_file_cmd send "exec-file" when
17466 appropriate.
17467
17468 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
17469
17470 * gdb.base/attach.exp: Remove extra setup_xfail.
17471
17472 2002-03-26 Michael Snyder <msnyder@redhat.com>
17473
17474 * gdb.base/default.exp: Add tests for dump, append, and restore.
17475 * gdb.base/help.exp: Add tests for dump, append, and restore.
17476 * gdb.base/dump.exp: New file, test dump, append and restore.
17477 * gdb.base/dump.c: New file.
17478
17479 2002-03-27 Michael Snyder <msnyder@redhat.com>
17480
17481 * gdb.base/help.exp: Modify expect strings to reflect
17482 clean-ups in help messages.
17483
17484 2002-03-26 Fred Fish <fnf@redhat.com>
17485
17486 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17487 have debugging info for those functions and the compiler uses them
17488 internally to copy structs around.
17489
17490 2002-03-26 Fred Fish <fnf@redhat.com>
17491
17492 * gdb.base/list.exp: Revert the change made yesterday and add note
17493 about why we don't list the default lines for remote targets.
17494
17495 2002-03-25 Michael Snyder <msnyder@redhat.com>
17496
17497 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17498
17499 2002-03-25 Fred Fish <fnf@redhat.com>
17500
17501 * gdb.base/list.exp: This test works on remote targets so remove
17502 the short circuit for remote targets. Update copyright.
17503
17504 2002-03-25 Fred Fish <fnf@redhat.com>
17505
17506 * gdb.base/attach.exp: Fix logic error that was suppressing this
17507 test for all non hppa*-*-hpux* targets, instead of the hp target.
17508 Move comments closer to the suppression point. Also now need to
17509 check that we are running natively.
17510
17511 2002-03-22 Michael Snyder <msnyder@redhat.com>
17512
17513 * gdb.base/default.exp: Add test for gcore. Update copyright.
17514 * gdb.base/help.exp: Add test for gcore. Update copyright.
17515
17516 2002-03-06 Fred Fish <fnf@redhat.com>
17517
17518 * gdb.base/funcargs.c: Remove extraneous ';' character.
17519 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17520
17521 2002-03-04 Michael Chastain <mec@shout.net>
17522
17523 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17524 accommodate gcc v3 function signature.
17525 * gdb.mi/mi0-var-cmd-exp: Ditto.
17526
17527 2002-02-24 Andrew Cagney <ac131313@redhat.com>
17528
17529 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17530 ``GNU/Linux'' or ``Linux kernel''
17531 * testsuite/gdb.threads/pthreads.c: Ditto.
17532
17533 2002-02-24 Michael Chastain <mec@shout.net>
17534
17535 * gdb.threads/pthreads.c (thread1): Add a return statement.
17536 (thread2): Likewise.
17537 (foo): Likewise.
17538
17539 2002-02-23 Michael Chastain <mec@shout.net>
17540
17541 * gdb.threads/linux-dp.c (philosopher): Add a return statement
17542 to placate gcc.
17543
17544 2002-02-23 Michael Chastain <mec@shout.net>
17545
17546 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17547 test "ptype bint". The test passes on all my stabs configurations.
17548
17549 2002-02-21 Jim Blandy <jimb@redhat.com>
17550
17551 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17552 filename at a time, and watch for the ones we want to see.
17553
17554 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17555 types of pointers to prototyped functions.
17556
17557 2002-02-20 Andrew Cagney <ac131313@redhat.com>
17558
17559 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
17560 signed, unsigned and straight char.
17561 (padding_char, padding_short, padding_int, padding_long,
17562 padding_long_long, padding_float, padding_double,
17563 padding_long_double): New global variables.
17564 (fill, fill_structs): New functions.
17565
17566 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
17567 for correctly sized writes. Update copyright.
17568 (get_valueof): New procedure.
17569 (get_sizeof): Call get_valueof.
17570 (check_valueof): New procedure.
17571 (check_padding): New procedure.
17572
17573 2002-02-20 Michael Chastain <mec@shout.net>
17574
17575 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17576 to setup_xfail. Document some of the remaining calls.
17577
17578 2002-02-18 Michael Chastain <mec@shout.net>
17579
17580 * gdb.c++/userdef.exp: Update copyright year.
17581
17582 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
17583
17584 * gdb.c++/userdef.exp: Test overloaded operators properly.
17585 Remove xfails.
17586
17587 2002-02-14 Michael Snyder <msnyder@redhat.com>
17588
17589 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17590
17591 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
17592
17593 * gdb.base/a2-run.exp: Check for a remote target properly.
17594 * gdb.base/annota1.exp: Likewise.
17595 * gdb.base/list.exp: Likewise.
17596 * gdb.base/reread.exp: Likewise.
17597 * gdb.base/scope.exp: Likewise.
17598 * gdb.base/shlib-call.exp: Likewise.
17599 * gdb.base/term.exp: Likewise.
17600 * gdb.c++/annota2.exp: Likewise.
17601
17602 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
17603
17604 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17605
17606 2002-02-10 Michael Chastain <mec@shout.net>
17607
17608 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17609 (call_after_alloca): Ditto.
17610
17611 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
17612
17613 * gdb.base/ending-run.exp: Guard "cont" test with
17614 gdb_skip_stdio_test.
17615
17616 2002-02-06 Jim Blandy <jimb@redhat.com>
17617
17618 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17619 from here...
17620 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17621 To here. Disable this test on non-HP platforms. Add big comment.
17622
17623 2002-02-04 Michael Snyder <msnyder@redhat.com>
17624
17625 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
17626 other than d10v and m32r.
17627
17628 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
17629
17630 * gdb.base/default.exp: Rewrite test patterns to reduce time
17631 taken to match them.
17632
17633 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
17634
17635 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17636 Allow a start function above main.
17637 * gdb.threads/linux-dp.exp: Fix copyright date.
17638
17639 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
17640
17641 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17642 (check_philosopher_stack): Check for manager thread before checking
17643 for a just-starting thread.
17644
17645 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
17646
17647 From Neil Booth <neil@daikokuya.demon.co.uk>:
17648 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17649 warnings.
17650
17651 2002-01-21 Fred Fish <fnf@redhat.com>
17652
17653 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17654 not caller.
17655
17656 2002-01-21 Jim Blandy <jimb@redhat.com>
17657
17658 * gdb.base/reread.exp: Check that GDB properly re-reads the
17659 executable file when it changes while no inferior is running.
17660
17661 2002-01-21 Fred Fish <fnf@redhat.com>
17662
17663 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17664 optionally accept the "shlib events" variation.
17665
17666 2002-01-21 Jim Blandy <jimb@redhat.com>
17667
17668 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17669 call `fflush' after every `printf', so that the output is produced
17670 at predictable points, regardless of whatever buffering does (or
17671 doesn't) take place.
17672 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17673 at different points.
17674
17675 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
17676
17677 * gdb.c++/inherit.exp: Update copyright years.
17678 * gdb.c++/method.exp: Likewise.
17679
17680 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
17681
17682 * gdb.c++/classes.exp: Update for improved v3 support and skipping
17683 artificial methods/arguments.
17684 * gdb.c++/derivation.exp: Likewise.
17685 * gdb.c++/inherit.exp: Likewise.
17686 * gdb.c++/method.exp: Likewise.
17687 * gdb.c++/virtfunc.exp: Likewise.
17688
17689 2002-01-18 Andrew Cagney <ac131313@redhat.com>
17690
17691 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17692 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17693 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17694 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17695 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17696 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17697
17698 2002-01-17 Jim Blandy <jimb@redhat.com>
17699
17700 * gdb.asm/asm-source.exp (info symbol): Take another shot at
17701 anchoring the pattern matching the entry point symbol's name.
17702
17703 2002-01-17 Andrew Cagney <ac131313@redhat.com>
17704
17705 * gdb.base/maint.exp: Update ``maint internal-error'' to match
17706 continue/quit query. Update copyright.
17707
17708 2002-01-14 Michael Snyder <msnyder@redhat.com>
17709
17710 * gdb.base/gcore.exp: Remove extra debugging output.
17711
17712 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
17713
17714 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17715 for slightly dubious v2 mangled string.
17716
17717 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
17718
17719 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17720
17721 2002-01-10 Jason Merrill <jason@redhat.com>
17722
17723 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
17724
17725 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17726 constructors.
17727 * gdb.c++/derivation.exp: Likewise.
17728 * gdb.c++/templates.exp: Likewise.
17729 * gdb.c++/virtfunc.exp: Likewise.
17730
17731 2002-01-10 Michael Snyder <msnyder@redhat.com>
17732
17733 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
17734
17735 2002-01-08 Michael Snyder <msnyder@redhat.com>
17736
17737 * gdb.base/gcore.exp: New test for generate-core-file command.
17738 * gdb.base/gcore.c: Testcase for above.
17739 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17740
17741 2002-01-08 Jason Merrill <jason@redhat.com>
17742
17743 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17744
17745 2002-01-07 Fred Fish <fnf@redhat.com>
17746
17747 * gdb.c++/overload.exp: Remove unconditional xfails for:
17748 print foo_instance1.overloadargs(1)
17749 print foo_instance1.overloadargs(1, 2)
17750 print foo_instance1.overloadargs(1, 2, 3)
17751 print foo_instance1.overloadargs(1, 2, 3, 4)
17752 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17753 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17754 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17755 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17756 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17757 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17758 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17759 print foo_instance1.overload1arg()
17760 print foo_instance1.overload1arg((char)arg2)
17761 print foo_instance1.overload1arg((signed char)arg3)
17762 print foo_instance1.overload1arg((unsigned char)arg4)
17763 print foo_instance1.overload1arg((int)arg7)
17764 print foo_instance1.overload1arg((unsigned int)arg8)
17765 print foo_instance1.overload1arg((float)arg11)
17766 print foo_instance1.overload1arg((double)arg12)
17767
17768 2002-01-07 Michael Snyder <msnyder@redhat.com>
17769
17770 * gdb.base/huge.exp: New test. Print a very large target data object.
17771 (skip_huge_test): New test variable. Define if you want to skip this
17772 test. The test reads an 8 megabyte data object from the target, so it
17773 might be very time consuming on remote targets with a slow connection.
17774 * gdb.base/huge.c: New file. Test case for above.
17775
17776 2002-01-07 Fred Fish <fnf@redhat.com>
17777
17778 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17779 g_instance.bfoo, and g_instance.cfoo.
17780
17781 2002-01-07 Jeffrey A Law <law@redhat.com>
17782
17783 * gdb.base/break.c (multi_line_if_conditional): New function.
17784 (multi_ilne_while_conditional): Likewise.
17785 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17786 IF or WHILE condition puts the breakpoint at the start of
17787 the condition.
17788
17789 * gdb.base/selftest.exp (backtrace through signal handler): Remove
17790 hppa*-*-hpux* expected failure.
17791 * gdb.base/structs.exp (do_function_calls): Similarly.
17792
17793 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17794 watchpoints.
17795
17796 2002-01-06 Andrew Cagney <ac131313@redhat.com>
17797
17798 Fix PR gdb/66.
17799 * gdb.base/structs.exp: Replace skip for a29k with skip for
17800 gdb,cannot_call_functions.
17801 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17802 * gdb.base/callfuncs.exp: Ditto.
17803 * gdb.base/call-rt-st.exp: Ditto.
17804 * gdb.base/call-strs.exp: Ditto.
17805 * gdb.base/callfwmall.exp: Ditto.
17806 * gdb.base/scope.exp: Obsolete xfail a29k.
17807 * gdb.c++/misc.exp: Ditto.
17808 * gdb.c++/cplusfuncs.exp: Ditto.
17809 * gdb.base/ptype.exp: Ditto.
17810 * gdb.base/printcmds.exp: Ditto.
17811 * gdb.base/opaque.exp: Ditto.
17812 * gdb.base/list.exp: Ditto.
17813 * gdb.base/funcargs.exp: Ditto.
17814 * gdb.base/default.exp: Ditto.
17815
17816 2002-01-04 Michael Snyder <msnyder@redhat.com>
17817
17818 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
17819 * gdb.base/maint.exp: Add tests for maint info sections options.
17820
17821 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
17822
17823 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17824
17825 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
17826
17827 * gdb.asm/arm.inc: New file.
17828 * gdb.asm/asm-source.exp: Add arm targets.
17829 * gdb.asm/configure.in: Ditto.
17830 * gdb.asm/configure: Recreated from configure.in.
17831
17832 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
17833
17834 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17835 with HP's compiler.
17836 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17837 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17838 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17839 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17840
17841 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17842 either HP's compilers or GCC.
17843
17844 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17845 a SIGBUS or SIGSEGV.
17846
17847 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17848
17849 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17850 can be compiled with either HP's compiler or GCC.
17851
17852 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17853 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17854 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17855
17856 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17857 to match current gdb output. Update due to using auto-solib-limit
17858 for limiting instead of overloading auto-solib-add.
17859 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
17860 test program.
17861
17862 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
17863 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
17864 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17865 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17866 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17867 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17868 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
17869 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
17870 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
17871 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
17872 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
17873 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
17874 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
17875
17876 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
17877 a SIGTRAP to the inferior.
17878
17879 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
17880
17881 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
17882 Substitute call to target_link by call to gdb_compile.
17883
17884 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
17885
17886 * gdb.base/break.exp: Fix HP specific search string when testing
17887 backtracing in a called function.
17888
17889 * gdb.base/constvars.exp: Only set lang to C++ if we're
17890 compiling the test with HP's compilers.
17891 * gdb.base/volatile.exp: Similarly.
17892
17893 2001-12-19 Jim Blandy <jimb@redhat.com>
17894
17895 * gdb.base/printcmds.exp: Expect the null character to be printed
17896 as '\0', and the '\013' to be printed as '\v'.
17897 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
17898 * gdb.base/setvar.exp: Same.
17899
17900 2001-12-17 Jim Blandy <jimb@redhat.com>
17901
17902 * gdb.base/completion.exp: Rather than completing very long
17903 filenames, which can make the readline library produce output we
17904 don't recognize, cd to the directory first, and then complete
17905 using nice, short relative paths.
17906
17907 * gdb.base/completion.exp: On some systems, there is, in fact, a
17908 variable named `b' in scope, since GDB treats all static
17909 variables as being in scope. So use `no_var_named_this'
17910 instead of `b'.
17911
17912 * gdb.base/corefile.exp: Recognize the message saying that GDB
17913 can't find the core file's registers as a failure.
17914
17915 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
17916
17917 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
17918 test expect string more specific.
17919
17920 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
17921
17922 * gdb.asm/asm-source.exp: Add support for xstormy16.
17923 * gdb.asm/configure.in: Ditto.
17924 * gdb.asm/configure: Rebuild.
17925 * gdb.asm/xstormy16.inc: New file.
17926
17927 2001-12-10 Fred Fish <fnf@redhat.com>
17928
17929 * gdb.base/maint.exp: Update to match changes in type dumping code.
17930
17931 2001-12-10 Jim Blandy <jimb@redhat.com>
17932
17933 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
17934 matching the entry point symbol's name at the beginning of the
17935 line.
17936
17937 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
17938
17939 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
17940 gdb.c++/inherit.exp, gdb.c++/method.exp,
17941 gdb.c++/namespace.exp, gdb.c++/templates.exp,
17942 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
17943 and class layout support.
17944
17945 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
17946
17947 * gdb.c++/classes.exp: Add test for static member function.
17948 * gdb.c++/misc.cc: Add class with static member function.
17949
17950 2001-12-07 Jim Blandy <jimb@redhat.com>
17951
17952 If GDB says it can't find the struct the function returned, report
17953 those tests as `unsupported'.
17954 * gdb.base/call-rt-st.exp (print_struct_call): New function.
17955 Rewrite subsequent tests to use it.
17956
17957 If GDB says it can't find the struct the function returned, report
17958 those tests as `unsupported'.
17959 * gdb.base/structs.exp (call_struct_func): New function.
17960 (do_function_calls): Use call_struct_func to call the functions
17961 returning structs.
17962
17963 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
17964 whether functions are prototyped or not, so we can't possibly pass
17965 arguments to t_float_values2 properly.
17966
17967 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
17968 value of `timeout' for targets other than the mips*tx39-*.
17969
17970 2001-12-06 Michael Snyder <msnyder@redhat.com>
17971
17972 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
17973 and detect whether the start symbol has a leading underscore.
17974
17975 2001-12-04 Jim Blandy <jimb@redhat.com>
17976
17977 * gdb.base/completion.exp: Clarify indentation.
17978
17979 2001-12-03 Jim Blandy <jimb@redhat.com>
17980
17981 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
17982 variables on the S/390, not `.word'.
17983
17984 2001-11-30 Jim Blandy <jimb@redhat.com>
17985
17986 Add assembly-source tests for s390-ibm-linux.
17987 * gdb.asm/s390.inc: New file.
17988 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
17989 the S/390 architecture.
17990 * gdb.asm/configure: Regenerated.
17991
17992 2001-11-30 Michael Snyder <msnyder@redhat.com>
17993
17994 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
17995 next, info source, info sources, info line, global and static
17996 variables, and static functions.
17997 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
17998 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
17999 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18000 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18001 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18002 (gdbasm_leave): Restore frame pointer.
18003 (gdbasm_startup): Copy stack set-up from crt0.S.
18004
18005 2001-11-26 Fernando Nasser <fnasser@redhat.com>
18006
18007 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18008 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18009 to a local (non-static) variable. Copy tstruct.a to a static buffer
18010 and return a pointer to that buffer.
18011 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18012
18013 2001-11-24 Mark Kettenis <kettenis@gnu.org>
18014
18015 * gdb.asm/configure.in: Fix recognition of ix86 target.
18016 * gdb.asm/configure: Regenerate.
18017
18018 2001-11-21 Michael Snyder <msnyder@redhat.com>
18019
18020 * gdb.asm/sparc.inc: New file.
18021 * gdb.asm/asm-source.exp: Recognize sparc target.
18022 * gdb.asm/configure.in: Recognize sparc target.
18023 * gdb.asm/configure: Regenerate.
18024
18025 2001-11-21 Michael Snyder <msnyder@redhat.com>
18026
18027 * gdb.asm/m32r.inc: New file.
18028 * gdb.asm/asm-source.exp: Recognize m32r target.
18029 * gdb.asm/configure.in: Recognize m32r target.
18030 * gdb.asm/configure: Regenerate.
18031
18032 2001-11-20 Michael Snyder <msnyder@redhat.com>
18033
18034 * gdb.asm/i386.inc: New file.
18035 * gdb.asm/asm-source.exp: Recognize ix86 target.
18036 * gdb.asm/configure.in: Recognize ix86 target.
18037 * gdb.asm/configure: Regenerate.
18038
18039 * gdb.c++/namespace.exp: Fix quotes in output messages.
18040
18041 2001-11-14 Michael Snyder <msnyder@redhat.com>
18042
18043 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
18044 qualifier in a type cast expression, to designate an address
18045 in the instruction space (Harvard architecture).
18046
18047 2001-11-13 Michael Snyder <msnyder@redhat.com>
18048
18049 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18050 Tests for expressions using 'const' and 'volatile'.
18051
18052 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
18053
18054 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18055
18056 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
18057
18058 * lib/mi-support.exp (mi_run_to_helper): Move comments
18059 outside of gdb_expect.
18060
18061 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
18062
18063 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18064 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18065 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18066 mi0_run_to): New functions.
18067 * gdb.mi/mi-simplerun.exp: Use them.
18068 * gdb.mi/mi0-simplerun.exp: Likewise.
18069 * gdb.mi/mi-var-cmd.exp: Likewise.
18070 * gdb.mi/mi0-var-cmd.exp: Likewise.
18071
18072 2001-11-10 Andrew Cagney <ac131313@redhat.com>
18073
18074 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18075 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18076
18077 2001-11-09 Andrew Cagney <ac131313@redhat.com>
18078
18079 * gdb.base/restore.exp: Include $expected value in restored test
18080 message.
18081
18082 2001-11-09 Andrew Cagney <ac131313@redhat.com>
18083
18084 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18085 implemented.
18086
18087 2001-11-08 Michael Snyder <msnyder@redhat.com>
18088
18089 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18090 Add pass/fail message for stop at breakpoint in call dummy function.
18091
18092 2001-11-07 Michael Snyder <msnyder@redhat.com>
18093
18094 * gdb.c++/templates.exp (test_template_breakpoints):
18095 If we get an overload menu, but it does not match what
18096 we expect, we still need to issue the "cancel" command.
18097 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18098 making the whitespace optional. Argument for "new" may be
18099 "unsigned" as well as "unsigned int/long".
18100 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
18101 making the whitespace optional. Also replace "(void) with
18102 "((void|)), making the keyword "void" optional.
18103 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
18104 making the whitespace optional. Also replace "(void) with
18105 "((void|)), making the keyword "void" optional.
18106 * gdb.base/callfuncs.c (t_float_values): This function must
18107 _not_ be prototyped, and the following function (t_float_values2)
18108 must be prototyped (if the compiler supports it), so that GDB
18109 can be tested against both cases. Usually one case involves
18110 promotion of float to double, while the other does not.
18111 * gdb.base/callfwmall.c: Ditto.
18112 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18113 includes a stack frame for "start".
18114
18115 2001-11-05 Jim Blandy <jimb@redhat.com>
18116
18117 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18118 pointers are 32 bits long, and that offsets of relocs are always
18119 stored in the data (REL-style), and not in the reloc entry itself
18120 (RELA-style).
18121 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18122 stabs.
18123
18124 2001-11-01 Michael Snyder <msnyder@redhat.com>
18125
18126 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18127 and regular expression operators by using quoting.
18128
18129 2001-10-31 Michael Snyder <msnyder@redhat.com>
18130
18131 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18132 depending on what the symbol table contains.
18133 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18134 the output of the ptype command. Similarly, accept both "const &"
18135 and "const&".
18136
18137 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
18138
18139 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18140 symbol `STORAGE' to allow to choose the storage class of
18141 the local datastructures.
18142 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18143 compiler directive.
18144
18145 2001-10-30 Michael Snyder <msnyder@redhat.com>
18146
18147 * gdb.base/jump.exp: Allow it to run for all targets.
18148
18149 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
18150
18151 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18152 with new double_array size.
18153 (main): Change storage class of all local variables to static.
18154 Reduce size of double_array to 9.
18155 * gdb.base/call-ar-st.exp: Increase timeout value.
18156 Change expected output for double array to match new size in
18157 call-ar-st.c.
18158
18159 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
18160
18161 * gdb.base/ending-run.exp: Create identical output when passing
18162 `step to end of run' case. Add regular expression branch satisfying
18163 Stormy16 target.
18164
18165 2001-10-28 Mark Kettenis <kettenis@gnu.org>
18166
18167 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18168 that we catch the expected failure under Linux/x86.
18169
18170 2001-10-29 Orjan Friberg <orjanf@axis.com>
18171
18172 * gdb.base/setvar.exp: Escape curly braces.
18173 * gdb.stabs/weird.exp: Ditto.
18174
18175 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
18176
18177 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18178 * gdm.mi/mi0-hack-cli.exp: Likewise.
18179
18180 2001-10-25 Andrew Cagney <ac131313@redhat.com>
18181
18182 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18183 messages.
18184
18185 2001-10-21 Andrew Cagney <ac131313@redhat.com>
18186
18187 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18188 checking MI enabled.
18189
18190 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
18191
18192 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18193
18194 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
18195
18196 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18197 if gdb child process crashes, just signal an error.
18198
18199 2001-10-02 Jim Blandy <jimb@redhat.com>
18200
18201 * lib/gdb.exp (test_xfail_format): Simplify.
18202
18203 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18204 front of the variable name `format'. Simplify `if'.
18205
18206 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
18207
18208 * gdb.threads/pthreads.exp: Wait for output and delay
18209 before sending ^C.
18210
18211 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
18212
18213 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18214 some incorrect output instead of timing out.
18215 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18216
18217 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
18218
18219 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18220 check to allow additional `int'.
18221
18222 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
18223
18224 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18225 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18226
18227 2001-09-27 Michael Snyder <msnyder@redhat.com>
18228
18229 * lib/gdb.exp (test_debug_format): New proc.
18230 (setup_xfail_format): Use new proc test_debug_format.
18231 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18232 proc; use new service proc test_debug_format.
18233 Replace all other "gcc_compiled" tests with this test.
18234 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18235 proc; use new service proc test_debug_format.
18236 Replace all other "gcc_compiled" tests with this test.
18237
18238 2001-09-27 Michael Snyder <msnyder@redhat.com>
18239
18240 * gdb.base/cvexpr.exp: New file.
18241 * gdb.base/cvexpr.c: New file
18242 Test for expressions using const and volatile keywords.
18243
18244 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
18245
18246 * gdb.base/constvars.exp: Check for different orders of keywords
18247 and additional "int" strings in output.
18248
18249 2001-09-22 Andrew Cagney <ac131313@redhat.com>
18250
18251 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18252 responses from "help maint".
18253
18254 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
18255
18256 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18257 to localhost:NNN instead of :NNN, in case Xvfb is listening
18258 only on TCP.
18259
18260 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
18261
18262 * gdb.base/recurse.exp: When checking leaving the watchpoint
18263 scope, recognize when gdb is in function's epilogue and pass.
18264
18265 2001-09-18 Keith Seitz <keiths@redhat.com>
18266
18267 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18268 support for running tests against sid targets.
18269 (gdbtk_done): Ditto.
18270
18271 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
18272
18273 * gdb.base/ending-run.c (main): Set stdout buffersize
18274 to the same reasonable value for any target.
18275 * gdb.base/ending-run.exp: Add a regular expression
18276 to make testsuite happy on Sanyo Stormy16 target.
18277
18278 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
18279
18280 * gdb.base/display.c (do_loops): Add float variable `f'.
18281 Increment f in loop.
18282 * gdb.base/display.exp: Increment timeout by 60 seconds.
18283 Change float display test to use variable `f'.
18284
18285 2001-09-17 Jim Blandy <jimb@redhat.com>
18286
18287 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18288 overflowing the limited breakpoint tables on some ROM monitors
18289 (like the ROM68K).
18290
18291 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
18292
18293 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18294 the "-ac" (disable access control) flag.
18295
18296 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
18297
18298 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18299 ints.
18300
18301 2001-08-30 Keith Seitz <keiths@redhat.com>
18302
18303 * lib/gdb.exp: Move all insight-related functionality into
18304 separate file.
18305 * lib/insight-support.exp: New file.
18306
18307 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
18308
18309 * config/sid.exp (sid_start): Never set sid verbosity; disable
18310 expect_background {} that consumed its stdout; tolerate </dev/null.
18311 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18312
18313 2001-08-18 Andrew Cagney <ac131313@redhat.com>
18314
18315 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18316 CLI jump command to start it.
18317 (mi_run_to_main): Fail immediatly when unexpected output.
18318
18319 2001-08-18 Andrew Cagney <ac131313@redhat.com>
18320
18321 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18322 beginning of function. Fix PR gdb/191.
18323
18324 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
18325
18326 * config/sid.exp (sid_start): Don't warn if we cannot figure out
18327 what to force sid endianness to.
18328
18329 2001-08-15 Keith Seitz <keiths@redhat.com>
18330
18331 * lib/gdb.exp (gdbtk_start): Don't set environment
18332 variables for TCL_LIBRARY and friends. Insight will
18333 now figure these out for itself.
18334
18335 2001-08-02 Michael Snyder <msnyder@redhat.com>
18336
18337 * gdb.base/completion.exp: Remove the symbol "a64l" from
18338 the expect string; this is target-specific, and not related
18339 to what is being tested.
18340
18341 2001-08-02 Dave Brolley <brolley@redhat.com>
18342
18343 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18344
18345 2001-07-25 Michael Snyder <msnyder@redhat.com>
18346
18347 * gdb.base/consecutive.exp: New file. Test stepping over
18348 breakpoints on consecutive instructions.
18349 * gdb.base/consecutive.c: New file.
18350
18351 * gdb.base/call-rt-st.exp: Use double-backslash to quote
18352 curly braces in regular expressions.
18353
18354 2001-07-25 Michael Snyder <msnyder@redhat.com>
18355
18356 * gdb.base/ending-run.exp: Accept "Program exited normally" as
18357 legitimate output from stepping out of main.
18358
18359 2001-07-22 Keith Seitz <keiths@redhat.com>
18360
18361 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18362 the empty string, do not run the tests.
18363
18364 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18365
18366 * gdb.base/long_long.exp: Detect size of pointer. Take into
18367 account 2-byte pointers when testing for p/a results.
18368
18369 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18370
18371 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
18372 and defined to 1K for m68hc11.
18373 (random_data): Reduce table to 1K for embedded platforms (68hc11).
18374 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18375 (sizeof_random_data): New variable to tell the size of the data table;
18376 don't test past this size; always run to main.
18377
18378 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18379
18380 * gdb.base/return2.exp: return of long long and double fails for
18381 68HC11; don't execute these tests on that platform.
18382 * gdb.base/return.exp: Return of a double fails for 68hc11.
18383
18384 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18385
18386 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18387 tests that print a float.
18388 * call-rt-st.exp: Likewise.
18389
18390 2001-07-12 Mark Kettenis <kettenis@gnu.org>
18391
18392 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18393 running this test on Linux.
18394
18395 2001-06-24 Michael Chastain <chastain@redhat.com>
18396
18397 * gdb.base/arithmet.exp: Remove some tests to make all test names
18398 unique.
18399
18400 2001-07-03 Michael Snyder <msnyder@redhat.com>
18401
18402 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18403 the output of the ptype command.
18404
18405 2001-07-02 Michael Snyder <msnyder@redhat.com>
18406
18407 * gdb.base/completion.exp: Don't assume that break.c is the only
18408 source file that may contain functions named "marker".
18409 * gdb.base/corefile.exp: Quote the curly braces in regexp.
18410
18411 2001-06-28 Andrew Cagney <ac131313@redhat.com>
18412
18413 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18414 of files to delete.
18415
18416 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18417 * gdb.disasm/h8300s.exp: New file.
18418 gdb.disasm/h8300s.s: Likewise.
18419
18420 2001-06-27 Andrew Cagney <ac131313@redhat.com>
18421
18422 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18423 empty breakpoint tables.
18424
18425 2001-06-25 Andrew Cagney <ac131313@redhat.com>
18426
18427 * lib/mi-support.exp: Update args=... part of stop-reason
18428 patterns. Accept either a list or a tuple.
18429
18430 2001-06-23 Andrew Cagney <ac131313@redhat.com>
18431
18432 * lib/mi-support.exp: Remove local emacs variable defining
18433 change-log-default-name.
18434
18435 2001-06-22 Michael Chastain <chastain@redhat.com>
18436
18437 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18438 This is operationally compatible with the previous version.
18439
18440 2001-06-13 Jim Blandy <jimb@redhat.com>
18441
18442 * lib/gdb.exp (gdb_test): Doc fix.
18443
18444 2001-06-10 Michael Chastain <chastain@redhat.com>
18445
18446 * gdb.base/exprs.exp: Remove a duplicate test.
18447
18448 2001-06-06 Jim Blandy <jimb@redhat.com>
18449
18450 * gdb.base/return2.exp (main): Use values to test float and double
18451 returns that are not NaN's, to avoid being confused by IEEE
18452 comparison rules.
18453
18454 2001-06-04 Michael Snyder <msnyder@redhat.com>
18455
18456 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
18457 non-zero if control_c fails. Terminate the test on failure,
18458 rather than wait for 12 more tests to time out.
18459
18460 2001-06-06 Jim Blandy <jimb@redhat.com>
18461
18462 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
18463 Don't forget to match the GDB prompt.
18464
18465 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18466
18467 2001-06-04 Jim Blandy <jimb@redhat.com>
18468
18469 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18470 command.
18471
18472 2001-05-31 Kevin Buettner <kevinb@redhat.com>
18473
18474 * gdb.base/annota1.exp (info break): Match four or more spaces
18475 after "Address".
18476
18477 2001-05-31 Michael Chastain <chastain@redhat.com>
18478
18479 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18480 (dm_type_int_star): Likewise.
18481 (dm_type_long_star): Likewise.
18482 (dm_type_void_star): Likewise.
18483
18484 2001-05-29 Kevin Buettner <kevinb@redhat.com>
18485
18486 * gdb.base/completion.exp (INPUTRC): Set this environment variable
18487 to a known value in order to get consistent results regardless
18488 of the setting of INPUTRC or the presence or contents of .inputrc.
18489
18490 2001-05-24 Michael Snyder <msnyder@redhat.com>
18491
18492 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18493 Don't require that the main thread and the manager thread are the
18494 first in the list.
18495
18496 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18497 debugging. If test fails, issue an "unsupported" not a "fail".
18498
18499 2001-05-24 Jim Blandy <jimb@redhat.com>
18500
18501 Don't assume that short is shorter than int.
18502 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18503 assume that shorts are smaller than ints. On a 16-bit machine,
18504 this isn't true.
18505 ("print unsigned char == (~0)"): Add test that verifies that ~0,
18506 an int, is not equal to ~0 stored in an unsigned char. This tests
18507 the same thing that the previous test meant to, but works on
18508 16-bit machines, too.
18509 ("print unsigned char != (~0)"): Same test, complemented.
18510
18511 2001-05-24 Michael Snyder <msnyder@redhat.com>
18512
18513 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
18514 test for (full_coverage == 0). This makes the test run faster,
18515 and prevents dejagnu getting out of step.
18516
18517 2001-05-23 Kevin Buettner <kevinb@redhat.com>
18518
18519 * gdb.base/finish.exp (finish_void): Revise pattern for
18520 stopping on the call statement to not permit stopping at
18521 the start of the instructions comprising the call sequence.
18522
18523 2001-05-19 Michael Chastain <chastain@redhat.com>
18524
18525 * gdb.base/callfuncs.exp: Make all test names unique.
18526 * gdb.base/commands.exp: Make all test names unique.
18527 * gdb.base/condbreak.exp: Make all test names unique.
18528 * gdb.base/dbx.exp: Make all test names unique.
18529 * gdb.base/default.exp: Make all test names unique.
18530 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
18531 and TIMEOUT messages to their corresponding PASS message.
18532 * gdb.base/ending-run.exp: Make all test names unique.
18533 * gdb.base/long_long.exp: Remove duplicate test.
18534
18535 2001-05-21 Kevin Buettner <kevinb@redhat.com>
18536
18537 * gdb.base/finish.exp (finish_void): Allow "finish" command to
18538 stop on the call statement as well as the statement after the
18539 call.
18540
18541 2001-05-21 Michael Snyder <msnyder@redhat.com>
18542
18543 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18544
18545 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
18546
18547 * gdb.base/completion.exp: Revamp test. Make it execute on all
18548 platforms.
18549
18550 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
18551
18552 * config/gdbserver.exp (gdb_load): Handle the case
18553 in which the arguments to gdbserver are given in the
18554 baseboard configuration file.
18555 Also handle the case in which the server needs to do a
18556 load.
18557
18558 2001-05-07 Keith Seitz <keiths@cygnus.com>
18559
18560 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18561 set up the display for testing.
18562 (gdbtk_start): Convert all paths to paths that tcl will like.
18563 Export target information to environment.
18564 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18565 necessary.
18566 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18567 (to_tcl_path): New proc to convert a given pathname into
18568 a path acceptible as an argument to a tcl command.
18569 (_gdbtk_export_target_info): New proc to export target info
18570 into the environment for gdbtk testing.
18571 (gdbtk_done): New proc to signal end-of-test.
18572
18573 2001-05-06 Jim Blandy <jimb@redhat.com>
18574
18575 * restore.c: Make the code of caller0 correspond to its comment.
18576
18577 2001-05-03 Michael Snyder <msnyder@redhat.com>
18578
18579 * config/sid.exp (gdb_target_sid): Check for error messages.
18580 On error or timeout, don't make expect exit (which will terminate
18581 all subsequent tests); instead just make gdb exit.
18582 (gdb_load): Check for error messages. On error or timeout,
18583 return a negative value.
18584
18585 2001-04-24 Jim Blandy <jimb@redhat.com>
18586
18587 * gdb.c++/templates.exp: If we see the prompt for the overload
18588 list, but we haven't recognized any of the longer patterns,
18589 arrange for this test to fail, not hang.
18590
18591 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18592 variations.
18593
18594 2001-04-22 Michael Chastain <chastain@redhat.com>
18595
18596 * gdb.c++/local.exp: Use the 'runto' library function.
18597 * gdb.c++/namespace.exp: Likewise.
18598 * gdb.c++/overload.exp: Likewise.
18599
18600 2001-03-26 Kevin Buettner <kevinb@redhat.com>
18601
18602 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18603 * gdb.base/step-line.exp: New file. Test step/next in presence of
18604 #line directives.
18605 * gdb.base/step-line.c: New file. Test program for the above.
18606 * gdb.base/step-line.inp: New file. We pretend that this file has
18607 been transformed by some other tool into step-line.c.
18608
18609 2001-03-21 Jim Blandy <jimb@redhat.com>
18610
18611 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18612 unmangled operator names.
18613
18614 2001-03-20 Jim Blandy <jimb@redhat.com>
18615
18616 * gdb.threads/linux-dp.exp: Recognize an additional message
18617 generated by GDB when it doesn't understand how to debug threads
18618 on the target system.
18619
18620 2001-03-19 Andrew Cagney <ac131313@redhat.com>
18621
18622 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18623
18624 2001-03-12 Michael Chastain <chastain@redhat.com>
18625
18626 * gdb.c++/derivation.exp: Use the 'runto' library function.
18627
18628 2001-03-12 Michael Chastain <chastain@redhat.com>
18629
18630 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18631
18632 2001-02-24 Michael Chastain <chastain@redhat.com>
18633
18634 * gdb.c++/ref-types.exp: Change handwritten code to library
18635 function 'runto'.
18636
18637 2001-03-16 Orjan Friberg <orjanf@axis.com>
18638
18639 * gdb.base/signals.exp: Set count to 0 explicitly.
18640
18641 2001-03-15 Mark Salter <msalter@redhat.com>
18642
18643 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18644 (gdb_target_monitor): Add check of gdb_target_cmd return value.
18645 (gdb_load): Add support for additional target_info: gdb_download_size
18646 and gdb_load_timeout.
18647
18648 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
18649
18650 * gdb.base/annota1.exp: Move test of isnative to earlier in the
18651 file -- to prevent failing when the compile fails but we have no
18652 intention of running the tests anyway.
18653
18654 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18655 tests if set.
18656
18657 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
18658 integers.
18659
18660 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18661 * gdb.c++/namespace.exp: Ditto.
18662
18663 2001-03-07 Orjan Friberg <orjanf@axis.com>
18664
18665 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18666 * gdb.base/pointers.exp: Relax pattern match of decimals.
18667
18668 2001-03-06 Kevin Buettner <kevinb@redhat.com>
18669
18670 * Makefile.in, config/abug.exp, config/cfdbug.exp,
18671 config/cpu32bug.exp, config/dve.exp, config/est.exp,
18672 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18673 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18674 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18675 config/sh.exp, config/sid.exp, config/slite.exp,
18676 config/sparclet.exp, config/udi.exp, config/unknown.exp,
18677 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18678 config/vxworks.exp, config/vxworks29k.exp,
18679 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18680 gdb.base/all-bin.exp, gdb.base/annota1.exp,
18681 gdb.base/arithmet.exp, gdb.base/assign.exp,
18682 gdb.base/async.exp, gdb.base/attach.exp,
18683 gdb.base/bitfields.exp, gdb.base/bitops.exp,
18684 gdb.base/break.exp, gdb.base/call-ar-st.exp,
18685 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18686 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18687 gdb.base/commands.exp, gdb.base/completion.exp,
18688 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18689 gdb.base/constvars.exp, gdb.base/corefile.exp,
18690 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18691 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18692 gdb.base/ending-run.exp, gdb.base/environ.exp,
18693 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18694 gdb.base/finish.exp, gdb.base/foll-exec.exp,
18695 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18696 gdb.base/funcargs.exp, gdb.base/help.exp,
18697 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18698 gdb.base/logical.exp, gdb.base/long_long.exp,
18699 gdb.base/maint.exp, gdb.base/mips_pro.exp,
18700 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18701 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18702 gdb.base/pointers.exp, gdb.base/printcmds.exp,
18703 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18704 gdb.base/regs.exp, gdb.base/relational.exp,
18705 gdb.base/remote.exp, gdb.base/reread.exp,
18706 gdb.base/restore.exp, gdb.base/return2.exp,
18707 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18708 gdb.base/selftest.exp, gdb.base/setshow.exp,
18709 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18710 gdb.base/sigall.exp, gdb.base/signals.exp,
18711 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18712 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18713 gdb.base/step-test.exp, gdb.base/structs.c,
18714 gdb.base/structs.exp, gdb.base/structs2.exp,
18715 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18716 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18717 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18718 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18719 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18720 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18721 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18722 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18723 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18724 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18725 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18726 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18727 gdb.fortran/types.exp, gdb.java/jmisc.exp,
18728 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18729 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18730 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18731 gdb.trace/circ.exp, gdb.trace/collection.exp,
18732 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18733 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18734 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18735 gdb.trace/report.exp, gdb.trace/save-trace.exp,
18736 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18737 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18738 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18739 notices.
18740
18741 2001-02-27 Michael Snyder <msnyder@cygnus.com>
18742
18743 * gdb.base/varargs.c (find_max_double): Fix printf format string:
18744 first arg is int not float.
18745
18746 2001-02-22 Michael Snyder <msnyder@cygnus.com>
18747
18748 * gdb.base/reread.exp: Unsupported for non-native targets;
18749 doesn't work for remote debugging.
18750
18751 2001-02-19 Fernando Nasser <fnasser@redhat.com>
18752
18753 From Drew Moseley <dmoseley@redhat.com>
18754 * gdb.base/ending-run.exp: Properly handle the BSP state when
18755 stepping past the end of main.
18756
18757 2001-02-19 John Moore <jmoore@redhat.com>
18758
18759 * gdb.base/commands.exp (infrun_breakpoint_command_test):
18760 Converted HPUX fix for non-expected items following multiple
18761 step commands into general solution for all platforms.
18762
18763 2001-02-18 Michael Chastain <chastain@redhat.com>
18764
18765 * gdb.c++/classes.exp (do_tests): Change runto statements
18766 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18767 statements demangler agnostic.
18768 * gdb.c++/virtfunc.exp (do_tests): Likewise.
18769 (gdb_virtfunc_restart): Likewise.
18770
18771 2001-02-14 Michael Chastain <chastain@redhat.com>
18772
18773 * gdb.c++/inherit.exp (do_tests): Change runto statements
18774 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18775 statements demangler agnostic.
18776
18777 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
18778
18779 * gdb.threads/pthreads.exp: Unify pass/fail messages for
18780 ``continue to bkpt at common_routine in thread 2'' and ``stopped
18781 before calling common_routine 15 times'' tests.
18782
18783 2001-02-11 Michael Chastain <chastain@redhat.com>
18784
18785 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18786 Helps the test script figure out which demangler is in use.
18787 (dm_type_foo_ref): Ditto.
18788 (dm_type_int_star): Ditto.
18789 (dm_type_long_star): Ditto.
18790 (dm_type_unsigned_int): Ditto.
18791 (dm_type_void): Ditto.
18792 (dm_type_void_star): Ditto.
18793 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
18794 Probe the gdb demangler and set variables to accommodate
18795 formatting differences.
18796 (info_func_regexp): New function. Same as info_func, but
18797 matches against a regexp.
18798 (info_func): Match against a literal string.
18799 (print_addr_2): New function. Match against a literal string,
18800 which can be different from the input to gdb.
18801 (print_addr): Simply call print_addr_2 with the same argument twice.
18802 (test_lookup_operator_functions): Use demangler formatting variables.
18803 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
18804 the tests in the same order as the C++ class declaration.
18805 (test_paddr_operator_functions): Ditto.
18806 (test_paddr_overloaded_functions): Ditto.
18807 (test_paddr_hairy_functions): Use demangler formatting variables.
18808 Add reference to gdb/19 for related tests.
18809 (do_tests): Call probe_demangler.
18810
18811 2001-01-30 Kevin Buettner <kevinb@redhat.com>
18812
18813 * gdb.c++/templates.cc (printf): Remove unused function definition.
18814
18815 2001-01-26 Felix Lee <flee@redhat.com>
18816
18817 * sid.exp (sid_exit): Pass host, not target, to remote_close.
18818
18819 2001-01-25 matthew green <mrg@redhat.com>
18820
18821 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18822 up sid.
18823 (sid_exit): Call `remote_pop_conn' after GDB is gone.
18824
18825 2001-01-25 matthew green <mrg@redhat.com>
18826
18827 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
18828 Deprecate $sid_spawn_id.
18829 (sid_exit): Remove code necessary only for `spawn.'
18830
18831 2001-01-25 matthew green <mrg@redhat.com>
18832
18833 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18834
18835 2001-01-28 Michael Chastain <chastain@redhat.com>
18836
18837 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18838 to call when tests fail. It takes gdb out of the overloaded
18839 function choice menu back to the main prompt, so that the test
18840 program stays synchronized.
18841 (set_bp_overloaded): New proc to collect all the common
18842 code for setting a breakpoint on an overloaded name. Calls
18843 take_gdb_out_of_choice_menu when needed.
18844 (menu_overload1arg): New variable to collect the repeated
18845 instances of the expected menu for an overloaded name. Change
18846 the regular expression to handle changes in g++ type encoding:
18847 "void" can be either "void" or "", and "unsigned int" can be
18848 either "unsigned int" or "unsigned".
18849 (continue_to_bp_overloaded): Change regular expressions to handle
18850 changes in g++ type encoding.
18851 (no proc): Call take_gdb_out_of_choice_menu when needed.
18852 Remove redundant calls to "info break". Accept either "canceled"
18853 or "cancelled". Change regular expressions in "info break"
18854 calls to handle changes in g++ type encoding. Give all tests
18855 unique strings.
18856
18857 2001-01-17 Ben Elliston <bje@redhat.com>
18858
18859 * config/sid.exp: New file.
18860
18861 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
18862
18863 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
18864
18865 2000-12-21 Michael Snyder <msnyder@cygnus.com>
18866
18867 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
18868 Add a RE to accept a non-ascii char if one is ever presented.
18869
18870 2000-12-20 Fernando Nasser <fnasser@redhat.com>
18871
18872 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
18873
18874 2000-12-18 Michael Snyder <msnyder@cygnus.com>
18875
18876 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
18877 in regexp. One '\' does not suffice on Linux.
18878
18879 2000-12-09 Michael Chastain <chastain@redhat.com>
18880
18881 * gdb.base/break.exp (test_clear_command): Use a marker function
18882 rather than 'main' for the test function. Also move this
18883 test to an execution point where the marker function names are
18884 guaranteed to be bound to functions. (Executing tests after a
18885 'finish' from main runs into name conflicts with local names
18886 in __libc_start_main).
18887
18888 2000-12-07 Michael Snyder <msnyder@cygnus.com>
18889
18890 * gdb.base/finish.exp: New test for gdb's "finish" command.
18891 * gdb.base/return2.exp: New test for gdb's "return" command.
18892 * gdb.base/return2.c: New source file for above.
18893
18894 2000-12-05 Michael Snyder <msnyder@cygnus.com>
18895
18896 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
18897 * gdb.base/miscexprs.exp: Ditto.
18898 * gdb.base/pointers.exp: Ditto.
18899 * gdb.c++/derivation.exp: Ditto.
18900 * gdb.c++/local.exp: Ditto.
18901 * gdb.c++/namespace.exp: Ditto.
18902 * gdb.c++/overload.exp: Ditto.
18903 * gdb.c++/ref-types.exp: Ditto.
18904
18905 2000-12-05 Michael Snyder <msnyder@cygnus.com>
18906
18907 * gdb.base/constvars.exp: Test result of "up" command.
18908 * gdb.base/miscexprs.exp: Ditto.
18909 * gdb.base/pointers.exp: Ditto.
18910 * gdb.base/scope.exp: Ditto.
18911 * gdb.c++/derivation.exp: Ditto.
18912 * gdb.c++/local.exp: Ditto.
18913 * gdb.c++/namespace.exp: Ditto.
18914 * gdb.c++/overload.exp: Ditto.
18915 * gdb.c++/ref-types.exp: Ditto.
18916
18917 2000-11-22 Michael Chastain <chastain@redhat.com>
18918
18919 * mips_pro.exp: Accept either "middle -> top -> main" or
18920 "middle -> main" in the backtrace, because gcc can optimize
18921 tail calls to jumps. Remove setup_xfail for the hppa case.
18922 Add a comment with the original warning messages from PR 3016,
18923 which was filed in 1993, to preserve them for posterity.
18924
18925 2000-11-17 Nick Duffek <nsd@redhat.com>
18926
18927 * lib/gdb.exp (gdb_test): Override timeout with board info.
18928
18929 2000-11-17 Nick Duffek <nsd@redhat.com>
18930
18931 * gdb.base/display.exp: Don't kill running stub. Add "again" to
18932 the second kill and detach messages.
18933
18934 2000-11-17 Nick Duffek <nsd@redhat.com>
18935
18936 * configure.in: Add AC_EXEEXT.
18937 * configure: Regenerate.
18938 * Makefile.in (just-check): Export EXEEXT.
18939 * lib/gdb.exp ($EXEEXT): Import from environment.
18940 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
18941 expect "maint dump-me" on Cygwin.
18942 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
18943 $EXEEXT.
18944
18945 2000-11-17 Nick Duffek <nsd@redhat.com>
18946
18947 * gdb.base/break.exp: Test backtrace and finish from called
18948 function on all platforms, not just HP-UX.
18949
18950 2000-11-03 Michael Snyder <msnyder@cygnus.com>
18951
18952 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
18953 code from gdb_target_monitor, so it can be used independantly
18954 for gdbserver. Also comment out an unnecessary PUTS.
18955
18956 2000-11-03 Michael Snyder <msnyder@cygnus.com>
18957
18958 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
18959 * gdb.base/corefile.exp: Expect the message "Program is being
18960 debugged already" when we send the "corefile" command, since
18961 the preceeding gdb_load may have connected gdb to a remote target.
18962 * gdb.base/display.exp: Disable hardware watchpoints if new
18963 board info variable "no_hardware_watchpoints" is true.
18964 Replace single-letter commands with more readable ones.
18965 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
18966 if new board info variable "no_hardware_watchpoints" is true.
18967 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
18968 to see if stdio (printf) testing is possible.
18969 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
18970 board info variable "no_hardware_watchpoints" is true. Use new
18971 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
18972
18973 2000-11-13 Fernando Nasser <fnasser@redhat.com>
18974
18975 From Orjan Friberg <orjanf@axis.com>:
18976 * gdb.base/printcmds.exp: Escape curly braces followed by a number
18977 in array print pattern match.
18978
18979 2000-11-09 Fernando Nasser <fnasser@redhat.com>
18980
18981 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
18982 spelling "cancelled" to U.S. spelling "canceled" to match changes
18983 made to gdb.
18984 * gdb.c++/ovldbreak.exp: Ditto.
18985
18986 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18987
18988 * gdb.base/callfuncs.c (main): Moved to end of file, call
18989 t_double_values to initialize the FPU before inferior calls are made.
18990 * gdb.base/callfuncs.exp: Test for register preservation after calling
18991 inferior functions. Add tests for continuining, finishing and
18992 returning from a stop in a call dummy.
18993
18994 2000-10-24 Michael Snyder <msnyder@cygnus.com>
18995
18996 * gdb.base/commands.exp: Break up long lines, and re-indent.
18997
18998 2000-10-19 Michael Snyder <msnyder@cygnus.com>
18999
19000 * config/gdbserver.exp: Rewritten from the ground up, to make it
19001 compatible with the current dejagnu tree, and to make it work with
19002 the new "gdbserver" in libremote.
19003
19004 2000-10-16 Michael Snyder <msnyder@cygnus.com>
19005
19006 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19007 * gdb.base/varargs.exp: Skip entire test if no printf support.
19008 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19009 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19010
19011 2000-10-13 Michael Snyder <msnyder@cygnus.com>
19012
19013 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19014 no floating point support.
19015 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19016 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19017 * gdb.base/call-rt-st.exp: Ditto.
19018 * gdb.base/call-strs.exp: Ditto.
19019
19020 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19021
19022 * gdb.base/sizeof.c: include <stdio.h>.
19023
19024 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
19025 'finish', otherwise uncaptured gdb_prompt would potentially
19026 throw remaining test points out of sync.
19027
19028 2000-07-26 Scott Bambrough <scottb@netwinder.org>
19029
19030 * gdb.base/recurse.exp: Run tests for all targets.
19031 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19032 gnu-oldld case on ARM.
19033 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19034 for ARM targets.
19035
19036 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19037
19038 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19039 * gdb.java/configure: Rebuild.
19040
19041 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19042
19043 * gdb.java/jv-exp.exp: New file.
19044
19045 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19046
19047 * configure: Rebuilt.
19048 * configure.in (configdirs): Add gdb.java.
19049 * gdb.java/jmisc.java: New file.
19050 * gdb.java/jmisc.exp: New file.
19051 * gdb.java/Makefile.in: New file.
19052 * gdb.java/configure: Rebuilt.
19053 * gdb.java/configure.in: New file.
19054 * lib/java.exp: New file.
19055
19056 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19057
19058 * gdb.base/exprs.exp: Test casts to a pointer including over and
19059 underflow.
19060
19061 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19062
19063 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
19064 and the compilers sizes.
19065
19066 2000-07-09 Nick Duffek <nsd@redhat.com>
19067
19068 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19069 (use_methods): New function.
19070 (main): Call use_methods().
19071 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19072 (do_tests): Call test_method_param_class.
19073
19074 2000-07-09 Nick Duffek <nsd@redhat.com>
19075
19076 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19077 spelling.
19078 (test_enums): New procedure. Move enum tests from end of script
19079 to here. Set breakpoint on function name instead of line number.
19080 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19081 (enums2): New marker function.
19082 (enums1): New function.
19083 (main): Call enums1(). Move enum tests to enums1().
19084
19085 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19086
19087 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
19088 compile/link program. Update line numbers.
19089 * gdb.asm/d10v.inc: Define ``startup''.
19090 * gdb.asm/asmsrc1.s: Add definition of _start.
19091
19092 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19093
19094 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19095
19096 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19097
19098 * gdb.base/maint.exp: Add 'maint print architecture' item to output
19099 of 'help maint print' command.
19100
19101 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19102
19103 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
19104 they use gdb_expect_list.
19105
19106 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19107
19108 * gdb.base/commands.exp: Use ``set remote
19109 memory-read-packet-size'' instead of ``set endian big'' to test
19110 long commands.
19111
19112 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
19113
19114 * gdb.c++/templates.exp (do_tests): Make all of these work under
19115 g++, and stop skipping them.
19116
19117 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19118 work under g++.
19119
19120 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
19121 initialization.
19122
19123 2000-06-02 Michael Snyder <msnyder@cygnus.com>
19124
19125 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19126 the regular expression: accept an (almost) arbitrary sequence of
19127 "frames-invalid" and "breakpoints-invalid" messages both before
19128 and after the "starting" message.
19129
19130 2000-06-02 Michael Snyder <msnyder@cygnus.com>
19131
19132 * gdb.c++/local.exp: This test has never been known to work with g++.
19133
19134 2000-05-18 Michael Snyder <msnyder@cygnus.com>
19135
19136 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19137 Relax the regular expression a little, make it pass on Solaris 8.
19138
19139 2000-05-12 Kevin Buettner <kevinb@redhat.com>
19140
19141 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
19142 a call, do not require that gdb stop on the line after the call.
19143 Instead, it is permissible for gdb to stop on the line of the
19144 call itself.
19145
19146 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
19147
19148 * gdb.base/break.exp (bp on small function, optimized file):
19149 Add a second pass pattern. The behavior differs here between stabs
19150 and dwarf for one-line functions. Stabs preserves two line symbols
19151 (one before the prologue and one after) with the same line number,
19152 but dwarf regards these as duplicates and discards one of them.
19153 Therefore the address after the prologue (where the breakpoint is)
19154 has no exactly matching line symbol, and GDB reports the breakpoint
19155 as if it were in the middle of a line rather than at the beginning.
19156
19157 2000-05-08 Michael Snyder <msnyder@cygnus.com>
19158
19159 * gdb.base/interrupt.exp: Make "pass" message say "send"
19160 rather than "send_gdb" (for consistancy).
19161
19162 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19163
19164 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19165 * gdb.c++/templates.cc: Properly check for GCC version number.
19166 * lib/compiler.cc: Likewise
19167
19168 2000-04-28 Michael Snyder <msnyder@cygnus.com>
19169
19170 * gdb.base/break.exp: When compiled with -O2 optimization,
19171 gdb may not stop at the first line of main, due to code motion.
19172
19173 2000-04-26 Michael Snyder <msnyder@cygnus.com>
19174
19175 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19176 This test depends on parsing the printf output from the target.
19177 Since the sparclet stub doesn't do stdio, this will never work.
19178 * gdb.base/call-rt-st.exp: ditto.
19179 * gdb.base/call-strs: ditto.
19180
19181 2000-04-24 Michael Snyder <msnyder@cygnus.com>
19182
19183 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19184
19185 * gdb.base/ending-run.exp: After connecting to a remote target,
19186 but before running, the target will appear to be in a random
19187 location. Specify both a file and a line for breakpoints.
19188 Also, the function that calls main may be called 'init'
19189 rather than 'start'.
19190
19191 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19192
19193 * gdb.base/help.exp: Update output for add-symbol-file command.
19194
19195 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
19196
19197 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19198 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19199
19200 2000-04-07 J.T. Conklin <jtc@redback.com>
19201
19202 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19203
19204 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19205
19206 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19207
19208 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
19209 values that can be represented exactly.
19210 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19211 above change, and to not check against the directory part of the source
19212 file name.
19213 (step into print_long_arg_list): Likewise.
19214 (print print_small_structs from print_long_arg_list): Likewise.
19215 (print print_long_arg_list): Likewise.
19216
19217 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19218
19219 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
19220
19221 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19222
19223 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19224
19225 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
19226
19227 * gdb.base/commands.exp (deprecated_command_test): Add test for
19228 deprecate with no arguments.
19229
19230 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19231
19232 * gdb.base/break.exp: Add new test for setting breakpoints on
19233 optimized code so we can test breakpoints work even when function
19234 prologues may be optimized away
19235
19236 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19237
19238 From David Whedon <dwhedon@gordian.com>
19239 * gdb.base/commands.exp : Added command deprecator tests.
19240
19241 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
19242
19243 * gdb.base/help.exp: Added test for new apropos command.
19244
19245 2000-03-21 Kevin Buettner <kevinb@redhat.com>
19246
19247 * gdb.base/pointers.c (usevar): New function.
19248 (main): Make sure that global variables v_int_pointer2, rptr,
19249 and y are all referenced someplace in the program by calling
19250 usevar() on them. [Some linkers delete symbols which are
19251 never referenced. The space remains, but there's no way to
19252 get a (symbolic) handle on the variable from the debugger.]
19253
19254 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19255
19256 * gdb.base/printcmds.c: Add typedeffed arrays.
19257
19258 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
19259 procedure to test arrays that are typedef'd.
19260
19261 2000-03-13 James Ingham <jingham@leda.cygnus.com>
19262
19263 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
19264 the library directories.
19265
19266 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19267
19268 * configure.in (configdirs): Add sub directory gdb.mi.
19269 * configure: Re-generate.
19270
19271 * gdb.mi: New directory.
19272
19273 2000-02-25 Scott Bambrough <scottb@netwinder.org>
19274
19275 * gdb.base/long_long.exp: Correct test suite failure when printing
19276 a long long value as a double on ARM platforms.
19277
19278 2000-02-16 Jim Blandy <jimb@redhat.com>
19279
19280 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19281 default source file is set properly before running this test.
19282
19283 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19284
19285 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
19286 gdbtk/library directory, not in gdbtcl2.
19287
19288 2000-02-04 Jim Blandy <jimb@redhat.com>
19289
19290 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19291 backslash from regexp pattern.
19292
19293 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19294 procedure. Use it to run all the "continue to bp overloaded"
19295 tests. Note that this changes the names of the tests slightly.
19296 If the breakpoint hit message includes a hex PC value, because
19297 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19298 from the real source code, still consider that a pass.
19299
19300 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19301 XFAIL here if the breakpoint message contains a hex address. Note
19302 similar change on 1999-11-02.
19303
19304 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19305
19306 * gdb.base/ptype.exp: Establish a default source file before
19307 calling get_debug_format.
19308
19309 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19310
19311 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19312
19313 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19314
19315 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19316 of successive stepi commands -- while in the prologue we should see
19317 the function entry bracket.
19318
19319 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19320
19321 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19322 reach __change_mode() when stepping through the end of main().
19323
19324 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
19325
19326 * gdb.base/default.exp: Fix expected pattern.
19327 * gdb.base/help.exp: Same.
19328
19329 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19330
19331 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
19332 Don't use xfail's because that affects only the following test.
19333
19334 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
19335 solaris or linux.
19336
19337 * gdb.base/selftest.exp: Update to reflect changes to main.c.
19338
19339 2000-01-07 Michael Snyder <msnyder@cygnus.com>
19340
19341 * gdb.base/display.exp: Some yacc parsers like to say
19342 "A syntax error" rather than "A parse error". Accept both.
19343
19344 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
19345
19346 * gdb.base/default.exp: Remove OS dependent string from "target
19347 remote" test.
19348 * gdb.base/help.exp: Same for "help target remote" test.
19349
19350 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19351
19352 From Jim Kingdon <kingdon@redhat.com>:
19353
19354 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
19355 prompt (cleanup rather than necessity, but still might keep output
19356 from spilling to next test).
19357
19358 2000-01-02 Fred Fish <fnf@cygnus.com>
19359
19360 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19361 AIX, which defines them in <sys/types.h>.
19362
19363 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
19364
19365 * gdb.base/default.exp: Match arm* etc instead of arm in "info
19366 float" test.
19367
19368 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
19369
19370 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
19371
19372 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19373 outermost frame disallowed".
19374
19375 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
19376
19377 * gdb.base/setvar.exp: New tests for setting the value of a struct
19378 with a constant list.
19379
19380 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19381
19382 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19383 require the user to type a cast before setting the value of a struct.
19384
19385 1999-12-06 Jim Blandy <jimb@cygnus.com>
19386
19387 * gdb.base/default.exp: Expect the new 'info float' command on
19388 all i386 platforms.
19389
19390 * gdb.threads/linux-dp.exp: Expand our ability to recognize
19391 LinuxThreads libraries that don't support debugging.
19392
19393 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19394
19395 * gdb.base/remote.c: Fill the buffer with truely random data.
19396 Change the buffer type to ``unsigned char'' to simplify size
19397 arithmetic.
19398
19399 * gdb.base/remote.exp: Reduce download numbers by one. Typical
19400 stub only handles 400-1 byte packets. Verify that the download
19401 worked.
19402
19403 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
19404
19405 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19406 tests, using UNRESOLVED for the untested cases. Also, does not wait
19407 for a timeout if the prompt was received before a recognizable pattern.
19408
19409 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
19410
19411 * lib/gdb.exp (gdb_expect_list): Fix spelling.
19412
19413 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19414
19415 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
19416 watchpoints.
19417
19418 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
19419
19420 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19421
19422 * gdb.c++/local.exp: Be more flexible in recognizing local class
19423 name mangling. Don't allow horribly truncated method names.
19424 * gdb.c++/derivation.exp: Expect protected inheritance.
19425 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19426 * gdb.c++/virtfunc.exp: Likewise.
19427 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
19428 when printing a nested enum.
19429
19430 1999-11-22 Jim Blandy <jimb@cygnus.com>
19431
19432 * gdb.base/step-test.exp: Properly await GDB's response to setting
19433 a breakpoint on the call to large_struct_by_value.
19434
19435 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19436 just because we have debug info for the `start' function.
19437
19438 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
19439
19440 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19441 "Unknown signal" messages, which indicate (on LinuxThreads) that
19442 GDB doesn't know how to debug threads on this system. This is
19443 better than hanging while philosopher 0 dumps chatter into gdb.log.
19444
19445 1999-11-18 Tom Tromey <tromey@cygnus.com>
19446
19447 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19448
19449 1999-11-18 Fred Fish <fnf@cygnus.com>
19450
19451 * gdb.base/coremaker2.c: Add sample program for generating
19452 cores that is more self contained than coremaker.c. Eventually
19453 I'll add more code to this and tie it into the testsuite.
19454
19455 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
19456
19457 * gdb.base/dollar.exp: Remove, now in gdb.hp.
19458
19459 1999-11-10 Jimmy Guo <guo@cup.hp.com>
19460
19461 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
19462 from $srcdir/lib/.
19463 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
19464 and gdb.c++/.
19465
19466 * gdb.c++/derivation.exp: remove redundant get compiler info code.
19467
19468 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
19469 'continue with watch' test point.
19470
19471 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
19472
19473 Merged from p2linux-990323-branch:
19474
19475 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19476
19477 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
19478
19479 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
19480 {limit,fixed}''. Test ``set download-write-size''.
19481
19482 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
19483
19484 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
19485 gdb_expect_list.
19486
19487 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
19488
19489 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19490
19491 1999-11-03 Mark Salter <msalter@cygnus.com>
19492
19493 * gdb.base/break.exp: Fix "stub continue" pattern.
19494
19495 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
19496
19497 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19498
19499 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
19500
19501 * gdb.base/display.exp ("finish"): Add timeout clause.
19502
19503 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19504 plain prompt clause, so this doesn't have to time out in order to
19505 fail.
19506
19507 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
19508 breakpoint hit messages include an address.
19509
19510 * gdb.base/display.exp: Don't forget to escape parens in regular
19511 expressions. Unix regexp notatation sucks.
19512
19513 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19514
19515 * gdb.base/annota1.exp: Test for annotate-signalled: change output
19516 order for 'signalled' message.
19517
19518 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
19519
19520 From Jimmy Guo <guo@cup.hp.com>:
19521 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19522 * gdb.base/annota1.c: Add code for tests to work with.
19523
19524 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
19525
19526 * gdb.base/remote.exp: New test for remote downloading settings.
19527 * gdb.base/remote.c: New file with large .data.
19528
19529 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
19530
19531 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19532 for LinuxThreads support, merged from the Code Fusion branch.
19533
19534 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
19535
19536 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
19537 containing exp_continue into a while within an expect. Don't
19538 attempt a start more than three times. Check return value from
19539 gdb_load.
19540
19541 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
19542
19543 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
19544 a pass case.
19545
19546 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
19547
19548 * gdb.base/break.c (main): Added a statement that we can step
19549 off of.
19550 * gdb.base/break.exp: Added tests for setting a breakpoint
19551 at an offset and stepping onto a breakpoint.
19552
19553 1999-10-01 Fred Fish <fnf@cygnus.com>
19554
19555 * gdb.base/help.exp (help add-symbol-file): Update to match current
19556 gdb output.
19557
19558 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
19559
19560 * gdb.base/break.exp: Code locations are in hex, don't forget!
19561 (For HP-UX.)
19562
19563 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
19564
19565 * condbreak.exp: Use break.c as test program.
19566 * condbreak.c: Remove, redundant with break.c.
19567
19568 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
19569
19570 * config/monitor.exp (gdb_target_monitor): Disable X- and
19571 Z-packets if the target needs it.
19572
19573 1999-09-13 James Ingham <jingham@leda.cygnus.com>
19574
19575 * gdb.c++/overload.exp: Added tests for listing overloaded
19576 functions with function pointers in the arg, explicitly calling
19577 out the version you want.
19578
19579 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
19580
19581 * long_long.exp: Add variations of test cases that work for
19582 targets with 16-bit ints and 32-bit doubles.
19583
19584 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
19585
19586 * break.c (main): Compare a possibly-uninitialized argc with an
19587 unlikely value that fits in 16 bits.
19588
19589 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
19590
19591 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19592 0xfeeb, don't want negative numbers if ints are 16 bits.
19593
19594 * lib/gdb.exp (skip_cplus_tests): New proc.
19595 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19596 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19597 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19598 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19599 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19600 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19601 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19602 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
19603
19604 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19605
19606 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
19607
19608 * gdb.base/corefile.exp (up): Allow a parameter to appear
19609 in the frame that we're going up to.
19610
19611 From Jim Blandy <jimb@cygnus.com>:
19612
19613 * gdb.base/default.exp (info float): Expect some output now.
19614
19615 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19616 returning floating-point values to fail on the x86.
19617 * gdb.base/callfwmall.exp (do_function_calls): Same.
19618
19619 * gdb.base/list.exp (test_listsize): Correct expectations for
19620 listing line 1 with listsize 2. Also, listing a single line
19621 works now, as does listing three lines. [Kevin's note: There
19622 were a number of other cases fixed too where the expectations
19623 differed...]
19624
19625 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
19626
19627 * gdb.base/selftest.exp: Add case for when version prints as
19628 constant string instead of char pointer.
19629
19630 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
19631
19632 * gdb.base/ending-run.exp: Add Solaris case for what happens when
19633 stepping out of main.
19634
19635 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19636 G++ used.
19637
19638 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
19639 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
19640
19641 * gdb.c++/ovldbreak.exp: Update match string in test that
19642 includes a warning of multiple breakpoints.
19643
19644 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
19645
19646 * gdb.base/display.exp: Improve precision of step-after-finish
19647 added yesterday.
19648
19649 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
19650 test.
19651
19652 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19653 configs when using G++, not just hppa*.
19654
19655 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19656
19657 * gdb.base/async.c: New file.
19658 * gdb.base/async.exp: New file.
19659
19660 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
19661
19662 * gdb.base/break.exp: Tweak PA specific tests to properly handle
19663 PA64.
19664
19665 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
19666
19667 * gdb.base/display.exp: "finish" can leave us mid-line on many
19668 targets, deal with it. Add a small constant to main, instead of
19669 1000 since main+1000 may not be a valid address in the target.
19670
19671 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19672 on hpux11.
19673
19674 * gdb.base/attach.exp: Handle another hpux11 error message variant
19675 when attaching to a process that does not exist.
19676
19677 1999-08-19 J.T. Conklin <jtc@redback.com>
19678
19679 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
19680 characters in 'continue to 1241' test.
19681
19682 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
19683
19684 * gdb.base/call-ar-st.exp: Add a shorter match case for the
19685 stop in print_long_arg_list, define and use a whitespace
19686 variable in print_small_structs test, add an XFAIL for Solaris.
19687 * gdb.base/dbx.exp: XFAIL func commands until somebody is
19688 interested enough to fix.
19689
19690 1999-08-13 Keith Seitz <keiths@cygnus.com>
19691
19692 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19693 (dbx_gdb_load): Remove. Use gdb_load instead, since that
19694 proc knows about targets other than the natives.
19695 (test_assign): Use "gdb_run_cmd" to "run" the target.
19696 Check that we've actually hit the breakpoint at main.
19697 When we attempt to assign a value to a local variable, check
19698 that the variable is in the current scope, i.e., don't use
19699 a test with an empty result.
19700
19701 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
19702
19703 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
19704 command.
19705
19706 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
19707
19708 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19709 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19710 gdb.compat, gdb.threads-hp.
19711 gdb.hp/configure, gdb.hp/configure.in: New files.
19712 gdb.hp/Makefile.in: Recurse into new subdirs.
19713 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19714 gdb.hp/gdb.objdbg: New directory, tests for debugging info
19715 in object files.
19716 gdb.hp/tools: New directory, aux tools for HP-specific tests.
19717
19718 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
19719
19720 * gdb.base/display.exp: Help expect by putting a newline in the
19721 funky printf, remove a bogus p/a test.
19722
19723 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19724
19725 * gdb.base/display.exp: Make sure that when we say 'run', we are
19726 connected to the target. This is necessary when running not
19727 natively.
19728
19729 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
19730
19731 * gdb.base/step-test.exp: Removed some extraneous messages.
19732
19733 * gdb.base/long_long.exp: Don't run memory examination tests
19734 on little-endian targets (they will need a different set of
19735 results to match).
19736
19737 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
19738
19739 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19740 until somebody decides to fix GDB.
19741
19742 * gdb.base/long_long.c: Stop compiler complaint by specifying long
19743 constant as "ULL".
19744 * gdb.base/long_long.exp: Loosen x/c test, add partial result
19745 matches for a couple x/2 commands.
19746
19747 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
19748
19749 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19750 by merging in ref-types2 tests.
19751 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19752
19753 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19754 * gdb.c++/Makefile.in: Add standard actions.
19755 (EXECUTABLES): Rename from PROGS, update list.
19756 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19757 from gdb.hp.
19758 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19759 foo and bar locals.
19760 * gdb.c++/anon-union.exp: Fix tests to match.
19761 * gdb.c++/classes.exp: Run if HP compiler used, add extra
19762 expect matches to handle output variations.
19763 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19764 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
19765 output, add HP alternatives for new and delete prints.
19766 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
19767 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
19768 * gdb.c++/demangle.exp: Use $style when reporting failure.
19769 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19770 * gdb.c++/inherit.exp: Run if HP compiler used, add some
19771 match alternatives.
19772 * gdb.c++/local.exp: Add match alternatives or xfails for HP
19773 compilers.
19774 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19775 * gdb.c++/method.exp: Add match alternatives.
19776 * gdb.c++/misc.cc: Add bool types.
19777 * gdb.c++/misc.exp: Add tests for bool types.
19778 * gdb.c++/overload.exp: Add xfails.
19779 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19780 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19781 add some more template parameter tests (only for HP currently).
19782 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19783 * gdb.c++/virtfunc.cc: Add return type and value for main.
19784 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19785 match alternatives.
19786
19787 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19788
19789 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19790
19791 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
19792
19793 * gdb.base/signals.exp: Don't expect getting a backtrace from
19794 within a signal handler to fail on Linux.
19795
19796 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
19797
19798 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19799 * lib/gdb.exp: Remove some gratuitious semicolons.
19800 (delete_breakpoints): Increase timeout.
19801 (gdb_expect): Add -notransfer option.
19802 (gdb_test): Use -notransfer option.
19803 (get_compiler_info): Add f77 case.
19804 (get_compiler): New proc, split out from gdb_preprocess, add f77
19805 case.
19806 (gdb_preprocess): Call get_compiler.
19807
19808 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19809 * gdb.base/attach.exp, gdb.base/display.exp,
19810 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19811 gdb.base/long_long.exp, gdb.base/printcmds.exp,
19812 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19813 third arg to gdb_test.
19814 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19815 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
19816 HP-UX xfails, add others.
19817 * gdb.base/completion.exp: Reflect name change of self-test.
19818 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
19819 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19820 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19821 HP failure number.
19822 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19823 useless HP-UX 10.30 references.
19824 * gdb.base/maint.exp: Loosen matches.
19825 * gdb.base/pointers.c (main): Declare more_code.
19826 * gdb.base/pointers.exp: Match on output of a `next'.
19827 * gdb.base/structs.c: Add prototypes.
19828 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19829 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19830
19831 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19832
19833 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
19834 command.
19835
19836 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19837
19838 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19839 Fix run to main failures. Watchpoint can be hardware watchpoint.
19840
19841 * gdb.base/annota1.exp: Clean up some more, in case printf has
19842 debug info. Deal with lack of signal hanlder info in stack.
19843
19844 From Jim Kingdon <kingdon@redhat.com>:
19845 * gdb.base/annota1.exp: If printf has debug info, deal with it.
19846
19847 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
19848
19849 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
19850 gdb.base/foll-vfork.exp: Don't run for crosses.
19851
19852 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19853
19854 * gdb.base/configure.in: Check for gdbvars.exp instead of
19855 a1-selftest.exp.
19856 * gdb.base/configure: Re-generate.
19857
19858 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
19859
19860 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
19861 in trying to run first and name is too long.
19862
19863 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
19864 pointers2.c and pointers2.exp, respectively.
19865 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
19866 doschk happier.
19867
19868 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
19869
19870 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
19871 callfuncs2.c and callfuncs2.exp.
19872
19873 * gdb.base/list.exp: Remove mistaken xfails.
19874 * gdb.base/list0.h: Add optional prototypes.
19875
19876 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
19877
19878 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
19879 calling malloc.
19880 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
19881 * ptype.exp: Move test for get_debug_format to before its first
19882 use.
19883
19884 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19885
19886 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
19887 * gdb.base/annota2.cc, annota2.exp: Move from here.
19888 * gdb.c++/annota2.cc, annota2.exp: To here.
19889 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
19890
19891 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
19892
19893 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
19894 a consistent format.
19895
19896 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
19897
19898 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19899 * lib/gdb.exp (get_compiler_info): Add detection for assorted
19900 HP compilers, also set the globals $true and $false.
19901
19902 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
19903 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
19904 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
19905 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
19906 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
19907 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
19908 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
19909 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
19910 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
19911 whatis.c} Add C++ compatible function definitions and return
19912 types, add includes for library functions.
19913 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
19914 * gdb.base/step-test.c (myglob): Rename from glob.
19915 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
19916 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
19917 files, move here from gdb.hp.
19918 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
19919 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
19920 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
19921 Adjust line numbers in regexps.
19922
19923 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
19924 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
19925 instead of 0/1.
19926
19927 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
19928 foll-vfork.exp: New files, move here from gdb.hp.
19929 * gdb.base/page.exp: New file, test of pagination command.
19930
19931 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
19932 recursion test.
19933 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
19934
19935 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
19936 gdb.base/solib.exp: Fix compiler invocation process.
19937
19938 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
19939 HP-UX 11, turn off overload resolution explicitly.
19940 * gdb.base/commands.exp: Set argument list explicitly, add
19941 watchpoint test.
19942 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
19943 them work.
19944 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
19945 expressions properly.
19946 * gdb.base/corefile.exp: Loosen the match slightly.
19947 * gdb.base/default.exp: Allow "Error accessing memory" message
19948 also.
19949 * gdb.base/display.exp: Skip over x/0 j if PA64.
19950 * gdb.base/funcargs.exp: Add xfails for HP-UX.
19951 * gdb.base/interrupt.exp: Ditto.
19952 * gdb.base/langs.exp: Add symbolic matches governed by compiler
19953 in use.
19954 * gdb.base/list.exp: Add xfails for HP-UX.
19955 * gdb.base/long_long.exp: Refine some of the numeric matches.
19956 * gdb.base/mips_pro.exp: Xfail on HP-UX.
19957 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
19958 * gdb.base/nodebug.exp: Succeed on more varieties of output.
19959 * gdb.base/opaque.exp: Remove some HP-UX xfails.
19960 * gdb.base/ptype.exp: Succeed on more varieties of output.
19961 * gdb.base/scope.exp: Add xfails for HP-UX.
19962 * gdb.base/sect-cmd.exp: Add more cases.
19963 * gdb.base/setvar.exp: Add xfails for HP-UX.
19964 * gdb.base/shlib-call.exp: Loosen some matches slightly.
19965 * gdb.base/signals.exp: Match on void symbolically.
19966 * gdb.base/step-test.exp: Add case for PA64.
19967 * gdb.base/term.exp: Add exit and restart.
19968 * gdb.base/twice.exp: Clean up after self.
19969 * gdb.base/varargs.exp: Disable overload resolution explicitly.
19970 * gdb.base/whatis.exp: Allow more ways to pass tests.
19971
19972 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
19973 no longer useful.
19974
19975 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
19976
19977 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
19978 list of patterns.
19979 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
19980 print_double_array(double_array)", "continuing to breakpoint
19981 1018", "print print_double_array(array_d)" and "continuing to
19982 1034" tests.
19983
19984 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
19985
19986 * Makefile.in: Add empty html and install-html targets.
19987
19988 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
19989
19990 * config/mt-*: Remove, these haven't been used since 1996.
19991
19992 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
19993
19994 * gdb.base/call-strs.c, gdb.base/ending-run.c,
19995 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
19996 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
19997
19998 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
19999
20000 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20001 simpler match case for the ptype of the big class.
20002
20003 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20004
20005 * gdb.exp: Fix test for gdb_prompt existence.
20006
20007 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20008
20009 * gdb.exp (gdb_test): Add fail after calls to perror.
20010
20011 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20012
20013 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20014
20015 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20016
20017 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20018
20019 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20020
20021 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
20022 malloc() is linked in.
20023
20024 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20025
20026 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20027 step at end.
20028
20029 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20030
20031 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20032
20033 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20034
20035 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20036
20037 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20038 * gdb.base/mips_pro.exp: Likewise.
20039
20040 1999-06-02 Keith Seitz <keiths@cygnus.com>
20041
20042 * gdb.c++/templates.cc: Change all "new" operators to throw
20043 an exception.
20044 * gdb.c++/cplusfuncs.cc: Likewise.
20045
20046 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20047
20048 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20049
20050 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
20051 * gdb.base/ending-run.exp: When stepping out of main, accept a
20052 step into an arbitrary assembler file.
20053
20054 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20055
20056 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
20057 "breakpoint-invalid" to be printed.
20058 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
20059 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20060 * gdb.base/annota2.cc: Initialize a.x to 0.
20061
20062 1999-05-17 Keith Seitz <keiths@cygnus.com>
20063
20064 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20065 when "skip_float_tests" set.
20066 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20067 "print print_ten_doubles", and "step into print_long_arg_list".
20068 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20069 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20070 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20071 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20072 "skip_float_tests" is set.
20073 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20074 when "skip_float_tests" set.
20075
20076 1999-05-06 Keith Seitz <keiths@cygnus.com>
20077
20078 * gdb.base/annota2.cc: Include stdio.h.
20079
20080 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20081
20082 * gdb.base/crossload.exp: Remove, this has been disabled ever
20083 since BFD stopped including all targets, and cross-GDB gets
20084 plenty of testing anyway.
20085 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
20086 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20087 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
20088 * gdb.base/README: Remove, was doc for this.
20089 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
20090 needed.
20091
20092 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20093
20094 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20095 output.
20096
20097 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20098 * gdb.base/annota2.exp: New file. More annotation tests.
20099 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20100 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20101
20102 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
20103
20104 * config/cfdbug.exp: New file.
20105
20106 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20107
20108 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20109 Marcus Daniel's and Dale Hawkins's demangler crashes.
20110
20111 * gdb.c++/demangle.exp (test_gnu_style_demangling,
20112 test_lucid_style_demangling, test_arm_style_demangling,
20113 test_hp_style_demangling): Try Tom Tromey's core-dumping
20114 identifier under each demangling style.
20115
20116 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20117
20118 * gdb.c++/demangle.exp: Include the current demangling style
20119 in all test names.
20120 (current_demangling_style): New global variable.
20121 (set_demangling_style, test_demangling_core, test_demangling,
20122 test_demangling_exact): New functions.
20123 (test_gnu_style_demangling, test_lucid_style_demangling,
20124 test_arm_style_demangling, test_hp_style_demangling): Use those,
20125 instead of calling gdb_test and gdb_test_exact directly.
20126 (catch_demangling_errors): New function, which reports errors
20127 signalled by the demangling test functions in an orderly way.
20128 (do_tests): Use catch_demangling_errors.
20129
20130 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20131
20132 * gdb.base/signals.exp (test_handle_all_print): Use () for
20133 grouping in expressions, not {}.
20134
20135 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
20136 initialized yet.
20137
20138 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20139
20140 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20141 are listed.
20142
20143 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20144
20145 * gdb.stabs/weird.exp: Test for CC being defined before
20146 looking at its value.
20147
20148 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20149
20150 * gdb.base/call-ar-st.exp: Remove stray '#'.
20151 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20152 "short int" and "long int".
20153 * gdb.c++/overload.cc: Cast the string added in the previous
20154 change, to mollify finicky HP compiler.
20155 * gdb.hp/reg-test.exp (testfile): Fix file name.
20156 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
20157
20158 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20159 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20160 alternate form of enum ptype.
20161
20162 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20163
20164 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20165 * gdb.hp/*.exp: Change all to run compiler probe only after
20166 passing skip_hp_tests, so as not to waste time on guaranteed
20167 failure.
20168
20169 * gdb.c++/overload.cc: Pass string instead of char addr, always
20170 init ccpfoo.
20171 * gdb.c++/templates.cc: Fix syntax error.
20172
20173 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20174
20175 * gdb.base/commands.exp: Add test for correct position of '>'
20176 when issuing the 'commands' command after a 'while' or 'if'
20177 command.
20178
20179 1999-03-18 James Ingham <jingham@cygnus.com>
20180
20181 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20182
20183 * gdb.c++/method.exp: It was testing an uninitialized int on the
20184 stack and assuming it was positive.
20185
20186 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20187
20188 * gdb.base/step-test.exp: Catch a case where finish is broken and
20189 keep it from killing the rest of the tests.
20190 Use gdb_continue_to_end.
20191
20192 * gdb.base/sigall.exp: use gdb_continue_to_end.
20193
20194 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20195
20196 * gdb.base/display.exp: use runto_main, not run.
20197
20198 * gdb.base/default.exp: Check for the current error message in the
20199 r abbreviation test.
20200 Add strongarm to the targets that know info float.
20201
20202 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
20203 run which doesn't work with monitors.
20204
20205 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20206
20207 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20208
20209 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
20210 program. Traps the case (in Cygmon) when the program never really
20211 exits. Same as Mark's continue_to_exit, but I had put it in a lot
20212 more places, so I used my name. Sorry Mark...
20213
20214 * config/monitor.exp (gdb_target_monitor): added another
20215 target_info parameter: remotebinarydownload. This will set the
20216 remotebinarydownload flag if this is causing some boards trouble.
20217
20218 1999-03-18 Mark Salter <msalter@cygnus.com>
20219
20220 * lib/gdb.exp (continue_to_exit): New function.
20221
20222 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20223 * gdb.base/ending-run.exp: Ditto.
20224 * gdb.base/step-test.exp: Ditto.
20225
20226 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20227
20228 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20229 (suggested by Art Haas <ahaas@neosoft.com>).
20230
20231 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20232
20233 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
20234
20235 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20236
20237 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
20238 descriptions of types (short unsigned int vs unsigned short, etc).
20239
20240 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20241
20242 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20243 a call to strlen; sometimes we do have sources.
20244
20245 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20246
20247 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
20248 character, so GDB won't print garbage after its end.
20249
20250 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20251 breakpoint there instead. Sometimes GCC emits memcpy to handle
20252 the large structures being passed by value, so we step into that
20253 instead of sum_array_print, which obscures what we're really testing.
20254 * gdb.base/step-test.exp: However, we do want a test that notices
20255 the bizarre steps into memcpy, so do that here. Add check for
20256 stepping into function calls that pass large structures by value.
20257 ("Is that a noun clause, or are you just happy to see me?")
20258 Remove all references to specific line numbers.
20259 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20260 New type and function.
20261 (main): Call large_struct_by_value, passing it a large struct by value.
20262 * lib/gdb.exp (gdb_get_line_number): New function.
20263
20264 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20265 more portable.
20266
20267 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20268
20269 * lib/gdb.exp: Doc fixes.
20270
20271 1999-03-05 Nick Clifton <nickc@cygnus.com>
20272
20273 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
20274
20275 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20276
20277 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
20278 commands. They're not germane to this test, and they don't work
20279 that way on remote targets.
20280
20281 1999-03-01 James Ingham <jingham@cygnus.com>
20282
20283 * Changelog entries merged over from gdb development branch.
20284
20285 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20286
20287 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20288 for outputting results of test run.
20289
20290 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
20291
20292 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
20293
20294 1999-02-25 Felix Lee <flee@cygnus.com>
20295
20296 * lib/gdb.exp (debug_format): initialize
20297
20298 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20299
20300 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20301 * gdb.base/call-rt-st.c: Ditto.
20302
20303 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20304
20305 * gdb.threads/pthreads.exp (horiz): New variable.
20306 (test_startup): Fix regexps that capture thread numbers.
20307
20308 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20309
20310 * gdb.base/smoke.exp: Disambiguate two test case names (both
20311 called ``print'').
20312
20313 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20314
20315 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
20316 compilation.
20317
20318 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20319
20320 * gdb.base/miscexprs.exp: Change patterns to match GDB's
20321 actual output formatting.
20322 * gdb.base/smoke.exp: GDB removes leading 0's.
20323 * gdb.base/volatile.exp: Don't check type of remuneration;
20324 that variable is no longer defined in constvars.c.
20325 * gdb.base/step-test.c (main): Exit with explicit exit code.
20326 * gdb.base/step-test.exp: Remove two nexti checks--they are
20327 not portable.
20328
20329 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20330
20331 * gdb.base/help.exp ("help delete display"): Fix test to match
20332 gdb's output.
20333
20334 * gdb.base/long_long.c (known_types): Initialize values to zero.
20335 * gdb.base/long_long.exp: Step one more line
20336 so 'dec' is initialized in "get to known place". GDB removes
20337 leading zeros. Explicitly ask for hex formatting. Use
20338 unique test case names.
20339
20340 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20341
20342 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
20343
20344 * gdb.c++/method.exp: Add missing close brace.
20345
20346 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20347
20348 * gdb.base/maint.exp: Use 'set height 0' to disable page
20349 prompting, not 'set height 400'.
20350
20351 Fix a bunch of timeouts.
20352 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20353 four separate tests, so expect doesn't take forever to match a ton
20354 of text against a regexp with lots of .* forms.
20355 ("maint print psymbols", "maint print symbols"): Make some of
20356 these greps more selective, so that expect doesn't try to wade
20357 through huge piles of output and time out.
20358
20359 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20360
20361 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
20362 tests: one which doesn't expect shlib events to be reported, and
20363 another which does, but is XFAIL for all platforms other than
20364 HP/UX.
20365
20366 * gdb.base/break.exp: Teach the test suite that the `catch
20367 fork', `catch vfork', and `catch exec' commands produce error
20368 messages on platforms that don't provide these features.
20369
20370 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20371
20372 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
20373 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20374 (shortening names from solib_threshold.exp etc), won't run on
20375 anything but HP-UX for the foreseeable future.
20376 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
20377 reflect move.
20378
20379 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
20380
20381 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20382 gdb.trace/Makefile.in (clean): Remove all test executables.
20383
20384 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
20385
20386 * gdb.base/shlib-call.exp: add test cases to verify that gdb
20387 successfully re-sets breakpoints in shared libraries.
20388 * gdb.base/shmain.c (main): return 0, don't fall off the end.
20389
20390 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20391
20392 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20393 and compiled w/o GCC.
20394
20395 * gdb.hp/watch-cmd.exp: ditto.
20396
20397 * gdb.hp/watch-hp.exp: ditto.
20398
20399 * gdb.hp/xdb1.exp: ditto.
20400
20401 * gdb.hp/xdb2.exp: ditto.
20402
20403 * gdb.hp/dbx.exp: ditto.
20404
20405 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
20406
20407 * constvars.c: Remove C++-isms.
20408 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
20409 with GCC.
20410
20411 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
20412
20413 The following changes are part of the HP merge.
20414
20415 * gdb.base/break.exp: new tests to verify that catchpoints for
20416 fork, vfork, and exec don't trigger inappropriately.
20417
20418 * gdb.base/opaque.exp: compile one file at a time, then link.
20419
20420 * gdb.base/signals.exp: be more restrictive about which hppa
20421 systems receive a setup_xfail. new tests.
20422
20423 * gdb.base/solib_threshold.build: new file.
20424 * gdb.base/solib_threshold.exp: new file.
20425 * gdb.base/solib_threshold.link_opts: new file.
20426 * gdb.base/solib_threshold.mk: new file.
20427 * gdb.base/gen_solib_threshold.c: new file.
20428
20429 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20430 tests. New tests for enums inside classes.
20431
20432 * gdb.c++/compiler.cc: indicate support of template debugging.
20433
20434 * gdb.c++/demangle.exp: run hp style demangling tests.
20435
20436 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20437 tests.
20438
20439 * gdb.c++/misc.cc: changes to support new tests.
20440
20441 * gdb.c++/templates.cc: changes to support HP's compiler; changes
20442 to support new tests.
20443
20444 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20445 gcc, then skip these tests.
20446
20447 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
20448
20449 The following files are part of the HP merge; some had longer
20450 names at HP, but have been renamed to be no more than 14
20451 characters in length.
20452
20453 * gdb.hp/ambiguous.cc: new file.
20454 * gdb.hp/ambiguous.exp: new file.
20455 * gdb.hp/attach.exp: new file.
20456 * gdb.hp/attach2.exp: new file.
20457 * gdb.hp/classes-hp.exp: new file.
20458 * gdb.hp/ctti.exp: new file.
20459 * gdb.hp/ctti-add.cc: new file.
20460 * gdb.hp/ctti-add1.cc: new file.
20461 * gdb.hp/ctti-add2.cc: new file.
20462 * gdb.hp/ctti-add3.cc: new file.
20463 * gdb.hp/dbx.exp: new file.
20464 * gdb.hp/exception.cc: new file.
20465 * gdb.hp/exception.exp: new file.
20466 * gdb.hp/foll-exec.c: new file.
20467 * gdb.hp/foll-exec.exp: new file.
20468 * gdb.hp/foll-fork.c: new file.
20469 * gdb.hp/foll-fork.exp: new file.
20470 * gdb.hp/foll-vfork.c: new file.
20471 * gdb.hp/foll-vfork.exp: new file.
20472 * gdb.hp/inherit-hp.exp: new file.
20473 * gdb.hp/more-steps.exp: new file.
20474 * gdb.hp/namespace.cc: new file.
20475 * gdb.hp/namespace.exp: new file.
20476 * gdb.hp/optimize.exp: new file.
20477 * gdb.hp/pxdb.c: new file.
20478 * gdb.hp/pxdb.exp: new file.
20479 * gdb.hp/quicksort.exp: new file.
20480 * gdb.hp/reg-test.exp: new file.
20481 * gdb.hp/reg-test.s: new file.
20482 * gdb.hp/sized-enum.c: new file.
20483 * gdb.hp/sized-enum.exp: new file.
20484 * gdb.hp/start-stop.exp: new file.
20485 * gdb.hp/templ-hp.cc: new file.
20486 * gdb.hp/templ-hp.exp: new file.
20487 * gdb.hp/thr-lib.c: new file.
20488 * gdb.hp/thr-lib.exp: new file.
20489 * gdb.hp/thr-lib.h: new file.
20490 * gdb.hp/thr-liblib.c: new file.
20491 * gdb.hp/virtfun-hp.c: new file.
20492 * gdb.hp/virtfun-hp.exp: new file.
20493 * gdb.hp/watch-cmd.exp: new file.
20494 * gdb.hp/watch-hp.exp: new file.
20495 * gdb.hp/xdb1.exp: new file.
20496 * gdb.hp/xdb2.exp: new file.
20497 * gdb.hp/xdb3.exp: new file.
20498
20499 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
20500
20501 The following files are part of the HP merge; some had longer
20502 names at HP, but have been renamed to be no more than 14
20503 characters in length.
20504
20505 * gdb.base/ss.h: new file.
20506 * gdb.base/call-ar-st.c: new file.
20507 * gdb.base/call-ar-st.exp: new file.
20508 * gdb.base/call-rt-st.c: new file.
20509 * gdb.base/call-rt-st-exp: new file.
20510 * gdb.base/call-strs.exp: new file.
20511 * gdb.base/ena-dis-br.exp: new file.
20512 * gdb.base/environ.exp: new file.
20513 * gdb.base/long_long.exp: new file.
20514 * gdb.base/sect-cmd.exp: new file.
20515 * gdb.base/shlib-cl2.exp: new file.
20516 * gdb.base/smoke.exp: new file.
20517 * gdb.base/so-impl-ld.c: new file.
20518 * gdb.base/so-impl-ld.exp: new file.
20519 * gdb.base/so-indr-cl.c: new file.
20520 * gdb.base/so-indr-cl.exp: new file.
20521 * gdb.base/varargs.exp: new file.
20522 * gdb.base/volatile.exp: new file.
20523 * gdb.base/whatis-exp.exp: new file.
20524 * gdb.base/display.exp: new file.
20525 * gdb.c++/derivation.exp: new file.
20526 * gdb.c++/local.exp: new file.
20527 * gdb.c++/member-ptr.exp: new file.
20528 * gdb.c++/overload.exp: new file.
20529 * gdb.c++/ovldbreak.exp: new file.
20530 * gdb.c++/ref-types.exp: new file.
20531 * gdb.c++/ref-types2.exp: new file.
20532 * gdb.c++/userdef.exp: new file.
20533
20534 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
20535
20536 * gdb.base/default.exp: Reflect wording change in remote.c.
20537
20538 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
20539
20540 * gdb.base/help.exp: Update to reflect current text.
20541
20542 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
20543
20544 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20545 they're stack variables and contain garbage.
20546 * gdb.c++/anon-union.exp: new file.
20547
20548 The following changes were made by David Taylor
20549 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20550 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20551 in changes by HP.
20552
20553 * gdb.base/bitops.exp: new file.
20554 * gdb.base/default.exp: change expected messages for catch and
20555 info catch tests to reflect HP merge changes.
20556 * gdb.base/enable-disable-break.exp
20557 * gdb.base/ending-run.c: new file.
20558 * gdb.base/long_long.c: new file.
20559 * gdb.base/maint.exp: new file.
20560 * gdb.base/pointers2.exp: new file.
20561 * gdb.base/shlib-call2.exp: new file.
20562 * gdb.base/solib.exp: new file.
20563 * gdb.base/step-test.c: new file.
20564 * gdb.c++/anon-union.cc: new file.
20565 * gdb.c++/local.cc: new file.
20566 * gdb.c++/member-pointer.cc: new file.
20567 * gdb.c++/method.cc: new file.
20568 * gdb.c++/ref-types.cc: new file.
20569 * gdb.c++/ref-types2.cc: new file.
20570 * gdb.c++/userdef.cc: new file.
20571
20572 * gdb.base/scope.exp: compile one file at a time, then link.
20573 * gdb.base/langs.exp: ditto.
20574 * gdb.base/list.exp: ditto.
20575
20576 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
20577
20578 The following changes were made by David Taylor
20579 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20580 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20581 in changes by HP.
20582
20583 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20584 skip tests. When compiling pass c++ flag to gdb_compile.
20585 * gdb.c++/
20586
20587 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20588 test for on hppa*-*-hpux*; use args to see if c++ was specified.
20589 (skip_hp_tests): new function.
20590 (gdb_preprocess): new function.
20591
20592 * configure.in (hpdir): decide whether to configure gdb.hp.
20593 * configure: regenerated.
20594
20595 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20596 to delete on clean.
20597 (EXECUTABLES): update to reflect new additions.
20598 * gdb.base/commands.exp: update message expected.
20599 * gdb.base/default.exp: add copyright notice.
20600 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20601 * gdb.base/help.exp: update messages to reflect current text.
20602 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20603 targets for recurse tests.
20604 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20605 skip this file.
20606
20607 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20608 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20609 compilation.
20610 * gdb.c++/misc.exp: ditto.
20611 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20612 run the tests. tell gdb_compile that it's a c++ compilation.
20613
20614 * gdb.threads/pthreads.exp: fix typo in message.
20615
20616 * gdb.base/all-bin.exp: new file.
20617 * gdb.base/arithmet.exp: new file.
20618 * gdb.base/assign.exp: new file.
20619 * gdb.base/completion.exp: new file.
20620 * gdb.base/cond-expr.exp: new file.
20621 * gdb.base/condbreak.exp: new file.
20622 * gdb.base/define.exp: new file.
20623 * gdb.base/dollar.exp: new file.
20624 * gdb.base/environment.exp: new file.
20625 * gdb.base/eval-skip.exp: new file.
20626 * gdb.base/jump.exp: new file.
20627 * gdb.base/logical.exp: new file.
20628 * gdb.base/pointers.exp: new file.
20629 * gdb.base/relational.exp: new file.
20630 * gdb.base/section_command.exp: new file.
20631 * gdb.base/whatis-expr.exp: new file.
20632
20633 * gdb.base/all-types.c: new file.
20634 * gdb.base/call-array-struct.c: new file.
20635 * gdb.base/call-return-struct.c: new file.
20636 * gdb.base/call-strings.c: new file.
20637 * gdb.base/callfuncs2.c: new file.
20638 * gdb.base/condbreak.c: new file.
20639 * gdb.base/constvars.c: new file.
20640 * gdb.base/display.c: new file.
20641 * gdb.base/int-type.c: new file.
20642 * gdb.base/jump.c: new file.
20643 * gdb.base/miscexprs.c: new file.
20644 * gdb.base/pointers.c: new file.
20645 * gdb.base/pointers2.c: new file.
20646 * gdb.base/shmain.c: new file.
20647 * gdb.base/shr1.c: new file.
20648 * gdb.base/shr2.c: new file.
20649 * gdb.base/solib.c: new file.
20650 * gdb.base/solib1.c: new file.
20651 * gdb.base/solib2.c: new file.
20652 * gdb.base/varargs.c: new file.
20653 * gdb.c++/derivation.cc: new file.
20654 * gdb.c++/overload.cc: new file.
20655 * gdb.c++/ovldbreak.cc: new file.
20656 * gdb.hp/attach.c: new file.
20657 * gdb.hp/attach2.c: new file.
20658 * gdb.hp/average.c: new file.
20659 * gdb.hp/compiler.c: new file.
20660 * gdb.hp/compiler.cc: new file.
20661 * gdb.hp/execd-program.c: new file.
20662 * gdb.hp/follow-exec.c: new file.
20663 * gdb.hp/follow-fork.c: new file.
20664 * gdb.hp/follow-vfork-and-exec.c: new file.
20665 * gdb.hp/misc-hp.cc: new file.
20666 * gdb.hp/more-steps.c: new file.
20667 * gdb.hp/optimize.c: new file.
20668 * gdb.hp/quicksort.c: new file.
20669 * gdb.hp/run-hp.c: new file.
20670 * gdb.hp/start-stop.c: new file.
20671 * gdb.hp/sum.c: new file.
20672 * gdb.hp/templates-hp.cc: new file.
20673 * gdb.hp/thread-local-in-lib.c: new file.
20674 * gdb.hp/thread-local-in-lib.h: new file.
20675 * gdb.hp/thread-local-in-lib.lib.c: new file.
20676 * gdb.hp/vforked-program.c: new file.
20677 * gdb.hp/virtfunc-hp.cc: new file.
20678 * gdb.hp/watchpoint-hp.c: new file.
20679 * gdb.hp/xdb.c: new file.
20680 * gdb.hp/xdb0.c: new file.
20681 * gdb.hp/xdb0.h: new file.
20682 * gdb.hp/xdb1.c: new file.
20683
20684 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
20685
20686 The following change was made by Edith Epstein
20687 <eepstein@cygnus.com> as part of a project to merge in changes
20688 originally made by HP; HP did not create ChangeLog entries.
20689
20690 * gdb.c++/demangle.exp: changed the expected output for some
20691 ARM-style mangling -- removed second reference to datatype.
20692 For example, maint demangle __dt__11T1__pt__2_cFv
20693 T1<char>::~T1<char>(void)
20694 becomes,
20695 maint demangle __dt__11T1__pt__2_cFv
20696 T1<char>::~T1(void)
20697
20698 (test_hp_style_demangling): new hp specific demangling test cases.
20699
20700 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
20701
20702 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20703 * gdb.trace/backtrace.exp: Likewise.
20704 * gdb.trace/circ.exp: Likewise.
20705 * gdb.trace/collection.exp: Likewise.
20706 * gdb.trace/deltrace.exp: Likewise.
20707 * gdb.trace/infotrace.exp: Likewise.
20708 * gdb.trace/limits.exp: Likewise.
20709 * gdb.trace/packetlen.exp: Likewise.
20710 * gdb.trace/passc-dyn.exp: Likewise.
20711 * gdb.trace/passcount.exp: Likewise.
20712 * gdb.trace/report.exp: Likewise.
20713 * gdb.trace/save-trace.exp: Likewise.
20714 * gdb.trace/tfind.exp: Likewise.
20715 * gdb.trace/tracecmd.exp: Likewise.
20716 * gdb.trace/while-dyn.exp: Likewise.
20717 * gdb.trace/while-stepping.exp: Likewise.
20718
20719 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
20720
20721 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20722
20723 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
20724
20725 From Brendan Kehoe:
20726 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20727 int return types.
20728
20729 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
20730
20731 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
20732 remote dos host testing right.
20733
20734 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
20735
20736 * gdb.base/corefile.exp: remove some xfails.
20737
20738 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
20739
20740 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
20741 have different timestamps.
20742
20743 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
20744
20745 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
20746 gdb.base/default.exp: Replace "exec" with "executable".
20747
20748 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
20749
20750 * gdb.base/default.exp: Change else if to elseif from previous
20751 delta.
20752
20753 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
20754
20755 * gdb.base/default.exp: Add brace missing from previous delta.
20756
20757 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
20758
20759 * gdb.base/default.exp: Support test for info float for all
20760 varieties of arm toolchain.
20761
20762 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
20763
20764 * gdb.trace/*.exp: remove "remote_download" command.
20765
20766 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
20767
20768 * gdb.trace/*.exp: remove -gdwarf from compile.
20769
20770 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
20771
20772 * gdb.trace/configure.in(AC_INIT): typo
20773 * gdb.trace/configure: regenerated
20774
20775 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
20776
20777 * config/m68k-emc.exp: New file.
20778 * lib/<emc-support.exp trace-support.exp}: New files.
20779 * configure.in: add new test directory gdb.trace.
20780 * gdb.trace/{configure configure.in Makefile.in}: New files.
20781 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20782 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20783 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20784 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20785 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20786 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20787 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
20788
20789 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
20790
20791 * gdb.c++/classes.exp: Change all regular expressions to match
20792 arbitrary combinations of newline/carriage-return, so that they
20793 will work equally well on Unix and Windows.
20794 * gdb.c++/inherit.exp: ditto.
20795 * gdb.c++/virtfunc.exp: ditto.
20796
20797 1998-08-11 Dawn Perchik <dawn@cygnus.com>
20798
20799 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20800
20801 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
20802
20803 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20804 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
20805 to use a0-a3/d0-d3 as needed.
20806
20807 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
20808
20809 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20810 * gdb.disasm/am33.exp: Corresponding changes.
20811
20812 1998-07-11 Felix Lee <flee@cygnus.com>
20813
20814 * gdb.base/callfuncs.exp: add cmp10 test.
20815 * gdb.base/callfuncs.c (cmp10): new function.
20816
20817 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
20818
20819 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
20820 into two parts to get around a synchronization problem in expect.
20821
20822 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
20823
20824 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20825
20826 * configure.in: Add options for gdbtk testsuite.
20827
20828 * configure: Regenerate.
20829
20830 * gdb.gdbtk: New directory to hold gdbtk tests.
20831
20832 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20833
20834 * gdb.fortran/types.exp: Escape brackets in expect patterns
20835 for test_float_literal_types_accepted tests.
20836 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
20837 before run test.
20838
20839 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
20840
20841 * am33.exp: Just compile, do not link the testcase.
20842 * am33.s: Add ".am33" pseudoop to force am33 mode.
20843
20844 1998-06-25 Felix Lee <flee@cygnus.com>
20845
20846 * gdb.base/setshow.exp: make sure $pc is sane.
20847
20848 * gdb.stabs/weird.exp: split expect patterns properly.
20849
20850 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
20851
20852 * gdb.disasm/am33.s: New disassembler testfile for the am33.
20853 * gdb.disasm/am33.exp: Run it.
20854
20855 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
20856
20857 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
20858 match processing (and eliminate spurious timeouts when running).
20859
20860 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
20861
20862 * gdb.base/signals.exp (test_handle_all_print): put back Mach
20863 exception test, but conditionalize it on target [mach | gnu].
20864
20865 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
20866
20867 * gdb.base/overlays.exp: fixup compile line for linker script.
20868
20869 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
20870
20871 * gdb.fortran/types.exp: don't guess at float size.
20872
20873 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
20874
20875 * gdb.base/exprs.exp: delete test that depends on int size.
20876
20877 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
20878
20879 * config/sim.exp: Removed checks for target triplets.
20880 (gdb_target_sim): Use gdb,target_sim_options.
20881
20882 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
20883
20884 * gdb.base/reread.exp: New file.
20885 * gdb.base/reread1.c: New file.
20886 * gdb.base/reread2.c: New file.
20887
20888 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
20889
20890 * config/sim.exp: Use 'target sim -sparclite' when running
20891 SPARClite programs.
20892
20893 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
20894
20895 * gdb.base/structs2.exp: New file.
20896 * gdb.base/structs2.c: New file.
20897
20898 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
20899
20900 * gdb.asm/common.inc: New file.
20901 * gdb.asm/d10v.inc: New file.
20902 * asm-source.exp: Pass -I's to gas to find .inc files.
20903 Update line numbers in expected output.
20904 * asmsrc1.s: Rewrite.
20905 * asmsrc2.s: Rewrite.
20906 * configure.in: Create arch.inc symlink.
20907 * configure: Regenerate.
20908 * Makefile.in (distclean): Delete arch.inc.
20909
20910 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
20911
20912 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
20913 (t_enum_value2): ditto
20914 (t_enum_value3): ditto
20915 (main): ditto
20916 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20917
20918 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
20919 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
20920 change.
20921 Use gdb_test instead of send_gdb/gdb_expect sequences.
20922
20923 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
20924
20925 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
20926 not void.
20927
20928 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
20929
20930 * gdb.base/branches.c: Code with lots of loops and
20931 subroutines. Used to test gdbs ability to single step through PC
20932 changes, especially to test mips-tdep.c:mips_next_pc
20933
20934 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
20935
20936 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
20937 more rigorous EGCS C++ error checking.
20938
20939 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20940
20941 * gdb.base/help.exp: Clean up `help set args' and `help show args'
20942 tests.
20943 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
20944 function when asleep.
20945 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
20946 for i*86 Linux and SVR4 signal handling problems.
20947 Remove linux xfail for `next to handler in signals_tests_1', fixed
20948 by recent infrun.c change.
20949 Limit backtrace to 10 frames to avoid timeout problems with infinite
20950 stack backtraces.
20951 Adjust expect pattern in `handle all print' test to match Apr 28 1997
20952 target.[ch] change.
20953
20954 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
20955
20956 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
20957 for a newline from gdb before continuing.
20958 (default_gdb_exit): Just look for y or n.
20959 (gdb_test): Detect abnormal exit from GDB running on DOS; if
20960 it does, fail the rests of the tests in the file.
20961
20962 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
20963
20964 * config/cygmon.exp: New file.
20965
20966 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
20967
20968 * gdb.base/list.exp: Fix problem with "list default lines around
20969 main" test on remote targets.
20970
20971 * gdb.base/scope.exp: Fix problem with filelocal_bss before
20972 run test on remote targets.
20973
20974 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
20975
20976 * gdb.asm: New directory.
20977 * configure.in: Configure it.
20978 * configure: Regenerate.
20979 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
20980 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
20981
20982 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
20983
20984 * config/mn10300-eval.exp: New file to support MN10300 eval board.
20985
20986 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
20987
20988 * gdb.base/overlays (several files): Merge the two overlay
20989 managers into one. Change variables (foox, barx, bazx, grbxx)
20990 back into ints but force them to load in their proper sections.
20991
20992 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
20993
20994 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
20995 on-chip insn memory and IMAP1 to upper 128k.
20996 (D10VCopy): Handle memory regions crossing 16k boundaries.
20997 (D10VCopy): Transfer data in 32 bit chunks.
20998
20999 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21000
21001 * gdb.base/overlays.c (main): Exit normally when result is
21002 correct.
21003
21004 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
21005 map. Include space for printf in .text segment.
21006
21007 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
21008 updated d10v memory VMA/LMA map.
21009 (D10VCopy): Call D10VTranslate.
21010
21011 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21012
21013 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21014
21015 * gdb.base/bar.c (barx, bar): Change variable to small array so
21016 that it won't be put into the .sdata - small data -
21017 section. Update reference.
21018 * gdb.base/baz.c (bazx, baz): Ditto.
21019 * gdb.base/foo.c (foox, foo): Ditto.
21020 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21021
21022 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
21023 to be arrays.
21024
21025 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
21026
21027 * gdb.base/overlays.exp: fix up and get working again.
21028 Add tests for backtraces from an overlay function.
21029
21030 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21031
21032 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21033 "calling function with watchpoint enabled".
21034
21035 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21036
21037 * gdb.base/break.exp (test_next_with_recursion): Remove
21038 gdb_suppress_tests for d10v-*-*.
21039 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21040 pending review of whether it is useful or not.
21041
21042 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21043
21044 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21045
21046 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21047
21048 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21049 * config/dve.exp: New file to support Densan boards.
21050
21051 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21052
21053 * gdb.base/interrupt.exp: Document problem of simulators, signals,
21054 reads and BSD.
21055
21056 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21057
21058 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21059 response.
21060
21061 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21062
21063 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21064
21065 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
21066 test.
21067
21068 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
21069 target_sizeof_long and target_bigendian_p.
21070 (structs_by_value, structs_by_reference): Check values according
21071 to targets word size and endianess.
21072
21073 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21074
21075 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
21076 output.
21077
21078 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21079
21080 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
21081 Update test of set args help to match source change.
21082
21083 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21084
21085 * gdb.base/default.exp: Expect help system output to be in
21086 alphabetical order.
21087 * gdb.base/help.exp: Ditto.
21088
21089 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21090
21091 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21092 "i*86-pc-linux-gnu*".
21093 * gdb.base/interrupt.exp: Ditto.
21094 * gdb.base/corefile.exp: Ditto.
21095
21096 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
21097 define vxworks when building the testcase.
21098
21099 * gdb.base/ptype.exp: Fix testnames to be unique.
21100 * gdb.base/radix.exp: Ditto.
21101 * gdb.base/term.exp: Ditto.
21102 * gdb.base/whatis.exp: Ditto.
21103 * gdb.c++/classes.exp: Ditto.
21104
21105 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21106
21107 * gdb.base/callfuncs.exp: Fix indentation.
21108
21109 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21110 suppress_flag has been set.
21111 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21112 target feature.
21113
21114 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21115
21116 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21117 the testcase.
21118
21119 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
21120 set_debug_traps() and breakpoint().
21121 * gdb.c++/misc.cc (main): Ditto.
21122 * gdb.c++/templates.cc (main): Ditto.
21123 * gdb.c++/virtfunc.cc (main): Ditto.
21124
21125 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21126
21127 * lib/gdb.exp(gdb_step_for_stub): New function.
21128 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21129 exists, reload the executable and do a "continue" instead of
21130 doing a jump.
21131 (runto_main): Use gdb_step_for_stub.
21132
21133 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
21134 tests to have unique names.
21135 * gdb.base/callfuncs.exp: Ditto.
21136 * gdb.base/commands.exp: Ditto.
21137 * gdb.base/default.exp: Ditto.
21138 * gdb.base/help.exp: Ditto.
21139 * gdb.base/list.exp: Ditto.
21140 * gdb.base/opaque.exp: Ditto.
21141 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21142 similar tests.
21143
21144 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21145 * gdb.c++/cplusfuncs.cc: Ditto.
21146 * gdb.c++/virtfunc.cc: Ditto.
21147
21148 * config/monitor.exp: Keep track of the last file we saw, rather
21149 than trying to get the info from gdb.
21150
21151 * gdb.fortran/types.exp: Move comment to previous line.
21152
21153 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21154
21155 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
21156 target mode.
21157
21158 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21159
21160 From Bob Manson:
21161 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
21162 string from GDB when it connects.
21163
21164 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21165
21166 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21167
21168 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
21169 if we can't get a debug format from GDB (we may be testing an
21170 older GDB). Use a 10 second timeout when checking for the format.
21171
21172 * gdb.stabs/weird.exp: Fix quoting.
21173
21174 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21175
21176 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21177
21178 * config/arm-ice.exp: New file.
21179
21180 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21181
21182 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
21183 until it has been modified to work with the new testsuite.
21184
21185 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
21186 testcase won't compile, cause all of the testcases in the file to
21187 fail instead.
21188
21189 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21190 (gdb_clear_suppressed): New procedure.
21191 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21192 it contains a positive value.
21193
21194 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21195
21196 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21197
21198 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21199
21200 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21201
21202 * lib/gdb.exp (setup_xfail_format): New function.
21203 (get_debug_format): New function to get debug format.
21204 (debug_format): New global variable to hold last value set
21205 by get_debug_format.
21206 * gdb.base/list.exp: Call get_debug_format and expect some
21207 tests to fail for DWARF 1 and COFF formats.
21208 * gdb.c++/ptype.exp: Ditto.
21209 * gdb.c++/classes.exp: Ditto.
21210 * gdb.c++/cplusfuncs.exp: Ditto.
21211 * gdb.c++/inherit.exp: Ditto.
21212 * gdb.c++/templates.exp: Ditto.
21213 * gdb.c++/virtfunc.exp: Ditto.
21214
21215 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21216
21217 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21218 host doesn't have a currently-open connection.
21219
21220 * config/sparclet.exp: Cleanups and fixes to make it generic for
21221 any gdb stub target. Handle cases where gdb doesn't respond when
21222 interrupted in a sane fashion.
21223
21224 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
21225 same thing in a totally different way.
21226
21227 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
21228 setting "timeout".
21229 (gdb_start): We set the global gdb_prompt variable in
21230 default_gdb_init now.
21231
21232 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21233
21234 * gdb.base/printcmds.exp: Fix "check for floating addition"
21235 regexp to accept results within approx +/- .01 of exact value.
21236 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21237
21238 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21239
21240 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
21241 properly.
21242 (gdb_expect): Add optional timeout parameter, and add timeout
21243 value to various calls.
21244 (gdb_suppress_tests): Only give one warning message per group.
21245
21246 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21247
21248 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
21249 global variables. Handle getting a value for $timeout more
21250 gracefully.
21251
21252 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21253
21254 * lib/gdb.exp: Close connection to remote host if gdb doesn't
21255 initialize.
21256 (default_gdb_init): New procedure; allow gdb_init to be overridden
21257 by a target configuration file.
21258 (gdb_expect): Pass the timeout to remote_expect.
21259
21260 * config/monitor.exp(gdb_load): Fix typo in regexp.
21261
21262 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21263
21264 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21265
21266 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21267
21268 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
21269 here. Call gdb_target_exec before rebooting the target, to make
21270 sure the connection to the target is closed.
21271 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21272 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21273 Also detect "Timeout reading from remote" error.
21274
21275 * config/gdbserver.exp: Pass the executable being loaded to
21276 gdb_target_monitor. Don't call gdb_file_cmd here; let
21277 gdb_target_monitor do it.
21278
21279 * gdb.disasm/hppa.exp: Don't use exec_output.
21280
21281 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21282
21283 * gdb.base/list.exp: If we're debugging a non-native target,
21284 try to set the pc register to point to the start of the
21285 program before doing the first list command.
21286
21287 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
21288 test_calls after restarting.
21289
21290 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
21291 reloading.
21292
21293 * gdb.base/watchpoint.exp: Fix typo.
21294
21295 * gdb.base/setshow.exp: Check for use_gdb_stub.
21296
21297 * gdb.base/break.exp: Fix continue until exit test for the gdb
21298 stub case.
21299 * gdb.base/langs.exp: Ditto.
21300
21301 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
21302 gdb_load_offset. If we weren't given a file to load, figure out
21303 what the current file is and use it.
21304
21305 * config/i386-bozo.exp: New file.
21306
21307 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21308
21309 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21310 feature.
21311
21312 * config/proelf.exp: New entry.
21313
21314 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21315
21316 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21317 of regexps.
21318
21319 * gdb.base/watchpoint.exp: Don't run the test_stepping
21320 tests if gdb can't call functions on the target.
21321
21322 * gdb.base/setshow.exp: Don't run the set prompt tests if
21323 the board has gdb_prompt set.
21324
21325 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
21326
21327 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21328 * gdb.base/commands.exp: Likewise.
21329 * gdb.base/setshow.exp: Likewise.
21330
21331 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
21332
21333 * config/monitor.exp(gdb_start): Look for gdb_prompt target
21334 feature.
21335
21336 * config/i960.exp: New file.
21337
21338 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
21339
21340 * gdb.base/funcargs.exp: Check for gdb,short_int target
21341 feature instead of looking for explicit target triplets.
21342
21343 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
21344
21345 * gdb.base/printcmds.exp: add a couple more tests a la
21346 "p 123DEADBEEF", to check parse_number.
21347 * top.c: change "to enable to enable" to "to enable" in a couple
21348 of help strings.
21349
21350 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
21351
21352 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21353 on the mn10300.
21354
21355 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
21356
21357 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21358 where the test executable is run with explicit args.
21359 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21360
21361 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
21362
21363 * gdb.base/run.c: Use FAKEARGV to build test executable that
21364 does not require a command line arg, since most simulators
21365 don't currently support passing such an arg into the simulated
21366 program.
21367 * gdb.base/commands.exp: Change tests to insert the proper
21368 value as the arg to the first recursive factorial call. Change
21369 compilation line to define FAKEARGV at compile time.
21370
21371 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
21372
21373 * gdb.base/recurse.exp: Enable these tests for the mn10300.
21374 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21375 function with watchpoint enabled" test.
21376
21377 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
21378
21379 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
21380 Don't call gdb_test when the command doesn't return to a gdb prompt.
21381
21382 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
21383 "Tests restarted" messages.
21384
21385 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
21386
21387 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21388
21389 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
21390
21391 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21392 for INFO SYMBOL; add help tests for OVERLAY commands.
21393 * gdb.base/default.exp: add tests for INFO SYMBOL command;
21394 add tests for OVERLAY commands
21395 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21396 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21397 * gdb.base/sigall.c: add usestubs code frag
21398 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
21399
21400 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
21401
21402 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21403 failures.
21404 (gdb_stop_suppressing_tests): Note that tests have restarted.
21405
21406 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
21407
21408 * config/h8300.exp: New file.
21409
21410 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
21411
21412 * gdb.base/setshow.exp: Check for the existence of a
21413 feature, not its value.
21414
21415 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
21416
21417 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21418
21419 * gdb.base/scope.exp: It's now init0(), not init().
21420
21421 * gdb.base/scope0.c: For now, change init() to be init0().
21422
21423 * config/monitor.exp: Use gdb_serial in preference to serial
21424 or netport.
21425
21426 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
21427 and it's not already set.
21428
21429 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
21430
21431 * gdb.base/setshow.exp: Only test the run command if the target
21432 isn't using a stub and if it supports argument passing.
21433
21434 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
21435
21436 * config/udi.exp(gdb_start): Make sure UDICONF is set
21437 properly before starting gdb.
21438
21439 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
21440
21441 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21442 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21443 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21444
21445 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
21446
21447 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
21448 specialized code to reboot the board, use remote_reboot instead.
21449
21450 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21451
21452 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21453
21454 * config/monitor.exp: Make sure we disconnect from the target.
21455 Also, try a reboot/reload cycle instead of failing if the
21456 load fails.
21457
21458 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
21459
21460 * gdb.base/default.exp: Don't set match_max.
21461 * gdb.base/help.exp: Ditto.
21462 * gdb.base/list.exp: Ditto.
21463 * gdb.base/signals.exp: Ditto.
21464
21465 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21466 set, use remote_ld to download the testcase instead of
21467 the GDB loader.
21468
21469 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
21470
21471 * config/vr5000.exp: New file.
21472
21473 * config/monitor.exp(gdb_target_monitor): Add pattern for
21474 "Ending remote" to detect errors in connecting.
21475
21476 * gdb.base/setshow.exp: Add .* within auto language test.
21477
21478 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21479 target feature.
21480
21481 * config/monitor.exp(gdb_load): Check for a failure when loading,
21482 and reboot the board if necessary.
21483
21484 * gdb.base/setvar.exp(test_set): Handle multiple prints within
21485 a set of tests. Remove print.* from the patterns being checked.
21486
21487 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
21488
21489 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21490 refer to gdb_spawn_id.
21491
21492 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21493 longer used.
21494 * config/sparclet.exp: Ditto.
21495 * config/sparclet-old.exp: Ditto.
21496 * config/slite.exp: Ditto.
21497 * config/sim.exp: Ditto.
21498 * gdb.base/funcargs.exp: Ditto.
21499
21500 * lib/gdb.exp:Remove references to gdb_spawn_id.
21501 (gdb_expect): Move to remote.exp.
21502
21503 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
21504
21505 * config/monitor.exp: Detect the "Couldn't establish connection"
21506 message from GDB.
21507
21508 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
21509
21510 * gdb.base/bitfields.exp: Use runto instead of explicit
21511 gdb_run_cmd/gdb_expect sequences.
21512
21513 * gdb.base/break.exp(text_next_with_recursion): Add match for
21514 gdb_expect call.
21515
21516 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21517 We also need to handle the "A program is being debugged already"
21518 prompt from gdb. Use gdb_test to set the baud rate.
21519
21520 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21521 to 20000. Really. I mean it.
21522
21523 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21524
21525 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
21526 fails. If suppress_flag is set, skip perror message about not
21527 being able to send to GDB.
21528 (send_gdb): If suppress_flag is set, don't try to send commands to
21529 GDB.
21530 (gdb_expect): If suppress_flag is set, always fail immediately.
21531 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21532 (gdb_init): Call gdb_stop_suppressing_tests.
21533 (default_gdb_exit): Ditto.
21534 (default_gdb_start): Ditto.
21535
21536 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
21537 gdb_stop_suppressing_tests as appropriate.
21538 * gdb.base/break.exp: Ditto.
21539 * gdb.base/callfuncs.exp: Ditto.
21540 * gdb.base/commands.exp: Ditto.
21541 * gdb.base/exprs.exp: Ditto.
21542 * gdb.base/funcargs.exp: Ditto.
21543 * gdb.base/list.exp: Ditto.
21544 * gdb.base/recurse.exp: Ditto.
21545 * gdb.base/scope.exp: Ditto.
21546 * gdb.base/structs.exp: Ditto.
21547 * gdb.c++/inherit.exp: Ditto.
21548
21549 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
21550
21551 * config/vr4300.exp: New file.
21552
21553 * gdb.*/*.exp: Call gdb_expect instead of expect.
21554
21555 * lib/gdb.exp(gdb_expect): New function.
21556
21557 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
21558
21559 * lib/gdb.exp(gdb_init): New function.
21560
21561 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
21562 for each individual variable set.
21563
21564 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21565 name.
21566
21567 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21568
21569 * gdb.base/scope.exp: Use gdb_test.
21570
21571 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21572 aborting; the testsuite driver will do that for us (see
21573 gdb_finish). Also, use gdb_test in a few more places.
21574
21575 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
21576
21577 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21578
21579 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
21580
21581 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21582 and "add_tests" are not at the same address.
21583
21584 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
21585
21586 * gdb.base/ptype.exp: Use gdb_test.
21587
21588 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
21589
21590 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21591 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21592 left in. No longer expect them to fail.
21593
21594 * gdb.stabs/*.mt; Deleted, no longer used.
21595 * gdb.stabs/configure.in: Remove references to target makefile
21596 frags.
21597 * gdb.stabs/configure: Rebuilt.
21598
21599 * gdb.disasm/*.mt: Deleted, no longer used.
21600 * gdb.disasm/configure.in: Remove references to target makefile
21601 frags. Use "sh3.s" as the unique filename for this directory.
21602 * gdb.disasm/configure: Rebuilt.
21603
21604 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21605 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21606 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21607
21608 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
21609
21610 * config/udi.exp: Use mondfe,name instead of remote_host.
21611
21612 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
21613
21614 * gdb.base/watchpoint.exp: Don't expect a failure when calling
21615 a function with a watchpoint enabled on the mn10200.
21616
21617 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21618 before trying to create it!
21619
21620 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
21621
21622 * config/vx.exp: Use hostname instead of netport.
21623
21624 * config/vxworks.exp: New file.
21625
21626 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21627
21628 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
21629 gdb before assuming everything worked. Send a ^C if a timeout
21630 occurs.
21631
21632 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21633 $gdb_spawn_id directly.
21634 (gdb_run_cmd): Try _start as well as start. Use the target feature
21635 gdb,start_symbol as the symbol to start from when jumping.
21636
21637 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
21638
21639 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21640 redundant) test.
21641
21642 * gdb.base/recurse.exp: Relax final value test for 'b' so that
21643 it doesn't lose for 16bit integer systems.
21644
21645 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
21646
21647 * gdb.fortran/types.exp: If the target doesn't support "double"
21648 data types, then expect "real" types to only be 4 bytes.
21649
21650 * gdb.c++/virtfunc.exp: Expect failure for virtual function
21651 call tests if the target doesn't support inferior function calls.
21652
21653 * gdb.base/printcmds.exp: Allow minor deviation in FP values
21654 in printf tests.
21655
21656 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
21657
21658 * gdb.base/help.exp: Disable "help set", "help show", and
21659 "help support". Simplify regexp for "help stack".
21660
21661 * gdb.base/default.exp: Set match_max to 5000 and the timeout
21662 to 60 seconds. Temporarily set match_max to 15000 around the
21663 "info copying" test.
21664
21665 * gdb.base/nodebug.exp: Don't try to do an inferior function
21666 call if the target doesn't support them.
21667 * gdb.base/printcmds.exp: Likewise.
21668 * gdb.base/setvar.exp: Likewise.
21669 * gdb.base/structs.exp: Likewise.
21670 * gdb.c++/templates.exp: Likewise.
21671 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
21672
21673 * gdb.base/recurse.exp: Enable for the mn10200.
21674
21675 * configure.in: Do configure gdb.stabs directory for *-*-elf
21676 targets.
21677 * configure: Rebuilt.
21678
21679 * gdb.base/break.exp: Check for gdb,noresults before testing
21680 exit status and/or results from the target.
21681 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21682 * lib/gdb.exp: Remove old (now bogus) initialization of
21683 noinferior, noargs, noresults and nosignals.
21684
21685 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
21686
21687 * config/sh.exp: New file.
21688
21689 * config/slite.exp: Try to connect multiple times to the board
21690 before rebooting. Only send a "monitor run" if need_monitor_run
21691 is set.
21692
21693 * gdb.base/break.exp: Don't do the "stub continue" test if
21694 the target has gdb_stub set.
21695
21696 * gdb.base/callfuncs.exp: Increase the timeout.
21697
21698 * gdb.base/interrupt.exp: Don't even try to compile the testcase
21699 if the target has gdb,noinferiorio set.
21700
21701 * gdb.base/list.exp: Increase match_max to 10000 characters.
21702
21703 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21704
21705 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21706 target.
21707
21708 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21709
21710 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
21711
21712 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
21713 trying to delete the copy of gdb. Catch the file delete so we
21714 don't die if the delete fails; also, the file should be copied to
21715 the host, not to the build.
21716
21717 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
21718
21719 * lib/gdb.exp(gdb_test): Surround the result pattern with
21720 parenthesis in case it contains multiple regexps separated
21721 with |.
21722
21723 * gdb.base/watchpoint.exp: Use gdb_test.
21724 * gdb.base/default.exp: Ditto.
21725
21726 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
21727
21728 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
21729
21730 * gdb.base/scope.exp: Use gdb_test.
21731 * gdb.c++/classes.exp: Ditto.
21732 * gdb.c++/inherit.exp: Ditto.
21733
21734 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
21735
21736 * gdb.base/crossload.exp: Don't use execute_anywhere, use
21737 remote_exec instead.
21738 * gdb.base/corefile.exp: Don't be ridiculous.
21739 * gdb.base/*.c: Add missing stub invocations.
21740
21741 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
21742
21743 * config/slite.exp: Miscellaneous fixes.
21744
21745 * lib/gdb.exp: Fix runto.
21746
21747 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21748 the target.
21749
21750 * gdb.base/watchpoint.exp: Fix regexp.
21751
21752 * lib/gdb.exp(default_gdb_exit): Add a catch to the
21753 close and wait commands, as the descriptor may now be
21754 invalid. Always call "remote_close host".
21755
21756 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
21757
21758 Major rewrite for testsuite revision.
21759
21760 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21761 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21762 instead of relying on spawn_id to always contain a valid
21763 spawn id.
21764 (get_compiler_info): New procedure to build the ${binfile}.ci
21765 file, instead of replicating this in N different places.
21766 (gdb_compile): New procedure.
21767
21768 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
21769 appropriate arguments) instead of compile. Use gdb_test in a lot
21770 more places. Use send_gdb instead of send. Always run gdb_start
21771 at the start of a testcase, as this is no longer done magically.
21772
21773 config/*-gdb.exp: Rename without the -gdb suffix.
21774
21775 config/mips.exp: Use remote_close instead of exit_remote_shell.
21776 config/monitor.exp: Use target_info instead of looking at
21777 baud, timeout, etc.
21778 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21779
21780 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21781
21782 * gdb.c++/templates.exp (test_ptype_of_templates),
21783 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21784 Update expect patterns for destructors and assignment operators
21785 to match corresponding c-typeprint.c changes.
21786 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
21787 to destructor breakpoint test, GDB should be able to set the
21788 destructor breakpoint without specifying arguments.
21789
21790 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
21791
21792 * gdb.threads/pthreads.exp: Change result for failure to compile due
21793 to lack of pthreads runtime support from an error to simply an
21794 unsupported test, per dejagnu standards.
21795
21796 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21797
21798 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
21799 where GDB exits to reduce pattern match time.
21800 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
21801
21802 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
21803
21804 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
21805
21806 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21807 * gdb.base/default.exp: ditto.
21808 * gdb.base/nodebug.exp: ditto.
21809 * gdb.base/printcmds.exp: ditto.
21810 * gdb.base/ptype.exp: ditto.
21811 * gdb.base/setvar.exp: ditto.
21812 * gdb.base/structs.exp: ditto.
21813 * gdb.base/setshow.c: Guard against uninitialized values of argc.
21814
21815 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
21816
21817 * configure, */configure: Rebuild with autoconf 2.12.
21818
21819 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
21820
21821 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21822 use new i*86-pc-linux*-gnu quads.
21823 * gdb.base/corefile.exp: Ditto.
21824 * gdb.base/signals.exp: Ditto.
21825 * gdb.base/sigall.exp: Ditto.
21826 * gdb.base/interrupt.exp: Ditto.
21827
21828 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21829 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
21830 RedHat 4.0.
21831
21832 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
21833 linux. This allows the test case to at least compile on latest
21834 linux, but still not run due to missing the threads runtime library.
21835
21836 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21837
21838 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
21839 directory to search gdb directory. Accept and step over conditional
21840 stack alignment code. Consume $prompt in failure cases.
21841 Reset timeout to $oldtimeout instead of some arbitrary value.
21842 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
21843 timeout problems with infinite stack backtraces.
21844 * gdb.base/ptype.exp (ptype struct link, union tu_link):
21845 Accept function parameters for linkfunc member.
21846
21847 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
21848
21849 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21850 (CXXFLAGS): Remove, unreferenced.
21851 (B_OPTIONS): Add for -B options and add code to initialize with
21852 previous -B options and also add -B option to pick up cross compiled
21853 runtime.
21854 (TARGET_INCLUDES): Add for -I options and add code to initialize when
21855 doing cross compiles.
21856 (target_alias): Declare global.
21857 (xgcc): Set variable to full path of gcc in build tree. Use findfile
21858 to verify that gcc exists in build tree, and if so set CC to that
21859 gcc and to use B_OPTIONS and TARGET_INCLUDES.
21860
21861 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
21862
21863 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
21864 ptype test for anonymous union. Fixup testcase to match
21865 current gcc debug output.
21866
21867 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
21868
21869 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
21870 force argument to an unsigned long type.
21871
21872 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
21873
21874 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
21875 tests and anonymous union print/ptype tests.
21876 * gdb.base/list.exp (test_forward-search): Increase timeout by
21877 5 minutes for the "search extremely long line" case.
21878 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
21879 completely optional and that the pass/fail messages use the command as
21880 the message if that third arg is a null string.
21881 (gdb_test_exact): Arrange that a null string pattern means match a
21882 null string output rather than any output, which might include random
21883 errors.
21884 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
21885 backtrace test.
21886 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
21887 always failing and failure is now exposed by gdb.exp changes.
21888
21889 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
21890
21891 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
21892 weren't being noted.
21893
21894 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21895
21896 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
21897 * gdb.stabs/weird.exp: Remove v_comb xfails.
21898
21899 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
21900
21901 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
21902 list.exp scope.exp watchpoint.exp]
21903 Make all timeout error msgs explicitly say "(timeout)".
21904
21905 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
21906
21907 * config/monitor.exp: Increase download timeout to 1000 seconds.
21908
21909 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
21910
21911 * config/m32r.exp: Increase timeout to 120 seconds.
21912
21913 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
21914
21915 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
21916 and accept older ordering as obsolescent gcc or gdb.
21917 * gdb.c++/templates.exp: Ditto.
21918 * gdb.c++/virtfunc.exp: Ditto.
21919
21920 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
21921
21922 * gdb.base/coremaker.c: Add code to mmap some data so we
21923 can check that it ends up in the core file.
21924 * gdb.base/corefile.exp: Add test to read mmapped data
21925 from core file.
21926
21927 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
21928
21929 * config/m32r.exp: New file.
21930
21931 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
21932
21933 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
21934 that cflags can contains -gstabs, and work correctly for other tests.
21935
21936 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
21937
21938 * gdb.base/setshow.exp: New file, tests show and set.
21939 * gdb.base/setshow.c: New file, tests show and set.
21940 * gdb.base/help.exp: Add test for help set|show annotate.
21941 * gdb.base/default.exp: Add test for set|show annotate.
21942
21943 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
21944
21945 * testsuite/gdb.base/break.exp: Make backtrace from factorial
21946 errors unique.
21947 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
21948 explicitly.
21949
21950 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
21951
21952 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
21953 and width commands. This is done elsewhere.
21954 * (gdb_start): Don't call gdb_start_sim here. That's already
21955 done in gdb_load. This fixes lots of failures in default.exp.
21956
21957 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
21958
21959 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
21960 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
21961 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
21962 in the same we we treat other failures (since it may be an expected
21963 condition), rather than as an error.
21964 * gdb.base/signals.exp (test_handle_all_print): Revert back to
21965 old test format.
21966
21967 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
21968
21969 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
21970 (distclean maintainer-clean realclean): No need to remove files
21971 twice. Nuke the duplicates.
21972 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
21973 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
21974 Remove config.h along with other config files.
21975
21976 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
21977
21978 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
21979 "p func1 ()" and note that rests of tests are skipped.
21980 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
21981 setup_xfails for "print func2::coremaker_local".
21982 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
21983 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
21984 affected by the previous run test.
21985 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
21986 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
21987 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
21988 "pass int powerset tuple" and "pass modeless int powerset tuple".
21989 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
21990 "real write 4" and "real write 8".
21991 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
21992 setup_xfails for "print vs1 after tuple assign 2",
21993 "print \$i after tuple assign 2", and
21994 "print vs2 after tuple assign 2".
21995 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
21996 meaningful error message and return -1 so the caller can
21997 suppress further tests and avoid a cascade of errors.
21998
21999 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22000
22001 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22002 format for printing version.
22003 * gdb.base/default.exp: Ditto.
22004 * gdb.base/interrupt.exp: Fix problem with cascade of
22005 errors if child process dies while calling a function.
22006
22007 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22008
22009 * Makefile.in (VPATH): Add
22010 * Makefile.in (Makefile, config.status): Fix rules so things get
22011 remade when necessary.
22012
22013 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22014
22015 * Makefile.in (just-check): Add path to sibling expect dir
22016 to environment variable specified by RPATH_ENVVAR.
22017
22018 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22019
22020 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22021 (just-check): Add shared library paths for libstdc++, tk,
22022 tcl, bfd, and opcodes to the environment variable specified
22023 in RPATH_ENVVAR.
22024 * configure.in: Add support to recognize --enable-shared flag
22025 and generate correct value for RPATH_ENVVAR.
22026 * configure: Regenerated with autoconf.
22027
22028 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22029
22030 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
22031 include all osf versions.
22032 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22033 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22034 when target is linux. When failing to build pthreads test
22035 executable, give more meaningful message.
22036 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22037 arg for pthread_create.
22038
22039 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22040
22041 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
22042 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
22043 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
22044 and -lpthreads (everybody else).
22045 (test_startup): Fail gracefully if threads are not supported.
22046 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22047 "p/c array_index("abcdef",2)" when not gcc compiled.
22048 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22049 "print func2::coremaker_local" when not gcc compiled.
22050 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22051 "ptype on opaque struct tagname (statically)",
22052 "ptype on opaque struct tagname (dynamically) 1", and
22053 "ptype on opaque struct tagname (dynamically) 2"
22054 for not compiled with gcc.
22055 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22056 backtrace when compiled with gcc.
22057 * lib/gdb.exp (runto_main): Return result of "runto main" rather
22058 than always return success.
22059
22060 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22061
22062 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22063
22064 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22065
22066 * gdb.base/structs.exp: Undo last change.
22067
22068 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22069
22070 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22071 encapsulate all the steps/nexts done during self test, starting
22072 at main, and makes them less sensitive to optimization issues.
22073 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22074 signal handler" test.
22075 * gdb.threads/pthreads.exp: Only run this for native configs.
22076 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22077 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22078 tests.
22079 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22080 for "runto test_calls(void)" test.
22081
22082 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22083
22084 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22085 and don't expect address info in breakpoint confirmations.
22086
22087 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22088
22089 * gdb.base/list.exp (test_forward_search): Increase timeout
22090 temporarily by 60 seconds for searching extremely long line,
22091 and then reset to old value when done. Increase expect input
22092 buffer to 10000.
22093
22094 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22095
22096 * gdb.base/list.exp (test_forward_search): Fix to handle very
22097 long source line without overflowing expect's input buffer.
22098
22099 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22100
22101 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22102 "buffer_full".
22103
22104 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22105 "buffer_full".
22106
22107 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22108 "buffer_full".
22109
22110 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22111 "buffer_full".
22112
22113 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22114
22115 * configure.in (configdirs): Add gdb.threads.
22116 * configure: Regenerated with autoconf.
22117 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22118 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22119 * gdb.threads/configure: New, generated with autoconf.
22120
22121 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22122
22123 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22124
22125 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22126
22127 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22128 each signal's status in the output of "handle all print".
22129 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22130 the \r\n sequence that immediately precedes the gdb prompt.
22131 * gdb.base/a1-selftest.exp: Save original timeout and restore
22132 after test.
22133
22134 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22135
22136 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22137 symbol.
22138
22139 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22140
22141 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22142
22143 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22144
22145 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22146 timeout by 60 seconds.
22147
22148 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22149
22150 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22151 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22152 error return.
22153
22154 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22155
22156 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22157 gdb initialization, also report how long dejagnu waited. Restore
22158 old timeout before doing error return. Temporarily increase timeout
22159 by 3 minutes to allow for slow startups over heavy NFS use.
22160
22161 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22162
22163 * lib/gdb.exp: Report timeout value for verbosity level 2.
22164 * config/gdbserver.exp: Ditto.
22165 * config/hppro.exp: Ditto.
22166 * config/mips-gdb.exp: Ditto.
22167 * config/monitor.exp: Ditto.
22168 * config/netware.exp: Ditto.
22169 * config/sim-gdb.exp: Ditto.
22170 * config/slite-gdb.exp: Ditto.
22171 * config/udi-gdb.exp: Ditto.
22172 * config/unix-gdb.exp: Ditto.
22173 * config/vx-gdb.exp: Ditto.
22174 * gdb.base/a1-selftest.exp: Ditto.
22175 * gdb.base/a2-run.exp: Ditto.
22176 * gdb.base/break.exp: Ditto.
22177 * gdb.base/corefile.exp: Ditto.
22178 * gdb.base/list.exp: Ditto.
22179 * gdb.base/recurse.exp: Ditto.
22180 * gdb.base/scope.exp: Ditto.
22181 * gdb.base/signals.exp: Ditto.
22182
22183 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22184
22185 * gdb.threads/Makefile.in (docdir): Removed.
22186
22187 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22188
22189 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
22190 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
22191 @srcdir@.
22192 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
22193 autoconf 2.5 or higher.
22194 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22195
22196 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22197
22198 * configure: Regenerated.
22199 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22200 avoid name clashes with SunOS headers.
22201
22202 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22203
22204 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22205
22206 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22207
22208 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22209 prototype information ends up in the compiler info file.
22210
22211 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22212
22213 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22214 attempting to regenerate it. Eliminate use of a temporary file
22215 and just generate the info file directly. Source it immediately,
22216 for consistency of use.
22217 * gdb.base/corefile.exp: Ditto
22218 * gdb.base/exprs.exp: Ditto.
22219 * gdb.base/funcargs.exp: Ditto.
22220 * gdb.base/langs.exp: Ditto.
22221 * gdb.base/list.exp: Ditto.
22222 * gdb.base/mips_pro.exp: Ditto.
22223 * gdb.base/nodebug.exp: Ditto.
22224 * gdb.base/opaque.exp: Ditto.
22225 * gdb.base/ptype.exp: Ditto.
22226 * gdb.base/scope.exp: Ditto.
22227 * gdb.base/setvar.exp: Ditto.
22228 * gdb.base/signals.exp: Ditto.
22229 * gdb.base/whatis.exp: Ditto.
22230 * gdb.c++/templates.exp: Ditto.
22231 * gdb.c++/virtfunc.exp: Ditto.
22232 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
22233 whether or not to add -lstdc++ to the compile command line args.
22234
22235 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22236
22237 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22238 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22239 Increase timeout, a lot of single stepping might be needed if the
22240 target has no hardware watchpoints.
22241
22242 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22243
22244 * gdb.base/break.exp: Ignore compiler warnings when compiling
22245 break.c.
22246 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22247 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22248 from remote-sim.
22249 * gdb.base/exprs.exp: Add h8300 xfails.
22250 * gdb.base/funcargs.exp: Likewise.
22251 * gdb.base/nodebug.exp: Likewise.
22252 * gdb.base/printcmds.exp: Likewise.
22253 * gdb.base/ptype.exp: Likewise.
22254 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22255 h8300 xfails.
22256 * gdb.base/return.exp: Handle float/double precision problems
22257 on the h8300.
22258 * gdb.base/funcargs.c: Explicitly make last constant argument to
22259 call_after_alloca_subr an unsigned long type.
22260 * gdb.base/return.c: Include stdio.h.
22261
22262 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22263
22264 * config/abug.exp: New file for the older Motorola Bug monitor
22265 that runs on the mvme13x series VME boards.
22266 * config/monitor.exp: Use the new config array for target settings
22267 if they exist.
22268
22269 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22270
22271 * sim-gdb.exp: Make the SH simulator allocate less space when
22272 it is targeted.
22273
22274 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22275
22276 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22277 test.
22278
22279 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22280
22281 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22282 "rs6000-*-*" for "list function in include file" when gcc compiled.
22283 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22284 for "p ctable1[120]".
22285 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22286 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22287 Remove setup_xfail for "rs6000-*-*" for
22288 "print 'scope0.c'::filelocal before run".
22289 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22290 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22291 since some compilers don't allow both options to be given
22292 on the same command line. Create object file and move it.
22293
22294 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22295
22296 * gdb.base/corefile.exp: Always regenerate the core file, since
22297 we always regenerate the coremaker program. Detect special case
22298 where registers cannot be read from core file.
22299
22300 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22301
22302 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22303 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22304 * gdb.c++/templates.exp: Only match on basename of file since
22305 some formats like xcoff don't encode directory information.
22306 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22307 and rs6000 AIX xcoff targets.
22308 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22309 * configure: Regenerate.
22310 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22311 here, rather than in distclean.
22312
22313 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22314
22315 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22316 defined, and use it to compile the test case with -O2. The
22317 native compilation still uses no optimization.
22318 * gdb.base/mips_pro.c: Remove inline assembly code since
22319 it is compiled PIC by default, which results in assembler
22320 warnings that make the testsuite think the compilation
22321 was unsuccessful.
22322
22323 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
22324
22325 * gdb.c++/misc.exp: Add note to message for
22326 "print s.a for foo struct" that this is a known gcc 2.7.2
22327 and earlier bug.
22328
22329 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
22330
22331 * gdb.base/break.exp: Fix pattern for matching "Delete all
22332 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
22333 setup_xfail for deleting all breakpoints test. Fix various
22334 timeout messages to include "(timeout)".
22335 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22336 for "p t_float_values2(3.14159,float_val2)".
22337 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22338 for "continue to call2g" when gcc compiled.
22339 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22340 "up to foo in langs.exp", "show language at foo in langs.exp",
22341 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22342 and "show language at fsub in langs.exp".
22343 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22344 "list line 1 in include file", "list message for lines past EOF",
22345 "list function in include file", "list list0.h:foo", and
22346 "list filename:function; nonexistant function".
22347 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22348 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22349 and "ptype t_char_array" to be for native cc only.
22350
22351 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
22352
22353 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
22354 setup_xfail for "print coremaker_bss", "print coremaker_ro",
22355 "print func2::coremaker_local", and "backtrace in corefile.exp".
22356
22357 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
22358
22359 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22360 "bt in signals.exp". This problem only appears when running
22361 the testsuite, and then only intermittently.
22362
22363 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
22364
22365 * gdb.base/return.exp (return_tests): Differentiate between
22366 two tests of continuing.
22367
22368 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
22369
22370 * */Makefile.in (maintainer-clean): Remove config.log.
22371 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22372 * gdb.c++/Makefile.in (PROGS): Add inherit.
22373 (clean): Remove *.ci.
22374
22375 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
22376
22377 * gdb.c++/misc.cc: Add test code from Mike Stump.
22378 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22379
22380 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
22381
22382 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22383 to "alpha-*-osf2*" and add comment.
22384 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
22385 setup_xfail for "step over execarg initialization" and
22386 "step over corearg initialization".
22387 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22388 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22389 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
22390 gcc compiled for "print coremaker_bss", "print coremaker_ro",
22391 "print func2::coremaker_local", and "backtrace in corefile.exp".
22392 * gdb.base/signals.exp: Build and source signals.ci.
22393 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22394 to be for gcc only.
22395 * lib/gdb.exp: Move verbose statements outside conditionals.
22396
22397 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22398
22399 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
22400 Feb 3 procfs.c change.
22401
22402 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
22403
22404 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22405
22406 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
22407
22408 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22409 from dejagnu's apparent default of 10 seconds, which gives random
22410 results when running the tests over NFS on moderately loaded systems.
22411 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22412
22413 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
22414
22415 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
22416 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
22417 result reports.
22418
22419 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
22420
22421 * configure.in (CY_AC_PATH_TCLH): Remove.
22422 * configure: Regenerate.
22423
22424 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
22425
22426 * gdb.c++/Makefile.in (clean): Add missing '{'.
22427
22428 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
22429
22430 * lib/gdb.exp: Provide a default value for noinferior.
22431
22432 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22433 Load libgloss.exp.
22434
22435 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
22436
22437 * gdb.disasm/hppa.exp: Compile directly into an executable, use
22438 the executable, not the .o to run the tests from.
22439
22440 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
22441
22442 * gdb.base/break.exp: Don't test for program exit or exit status
22443 if $noresults if nonzero.
22444 * gdb.base/langs.exp: Likewise.
22445 * gdb.base/watchpoint.exp: Likewise.
22446
22447 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22448 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22449 trying to compile the testcase.
22450
22451 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
22452
22453 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22454 * gdb.base/signals.exp (continue to handler): Likewise.
22455
22456 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
22457
22458 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
22459
22460 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
22461
22462 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
22463
22464 * gdb.base/corefile.exp: Recognize "not found" as failure
22465 when trying to determine if a core file was generated.
22466 If no core file was generate the first time, try again without
22467 the ulimit -c to work around braindamaged shells.
22468
22469 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
22470
22471 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22472 [] tests with "test" and enclose string in quotes.
22473 * gdb.stabs/configure: Rebuild
22474
22475 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
22476
22477 Changes in sync with expect:
22478 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22479 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22480 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22481 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
22482 argument to AC_REQUIRE.
22483 * configure: Regenerated.
22484
22485 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
22486
22487 * gdb.base/corefile.exp: When generating a core, discard any
22488 error messages about ulimit not found and the "core dumped"
22489 message from the shell that runs the coredumper.
22490
22491 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
22492
22493 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22494
22495 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22496 which sed script to run. Expect failure for v_comb test
22497 on PA targets too.
22498
22499 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
22500
22501 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
22502 "print func2::coremaker_local" and for "backtrace in corefile.exp"
22503
22504 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
22505
22506 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22507 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
22508 "sparc-sun-solaris*" xfails for "p v_comb".
22509 * lib/gdb.exp (default_gdb_start): Fix typo.
22510 * gdb.base/corefile.exp: Allow "Core was generated by ..."
22511 messages to not include the full program name that caused
22512 the core dump since some systems (such as solaris) apparently
22513 truncate this path to about 80 characters.
22514 When generating a core file first try increasing the core file
22515 size limit to unlimited since some systems may default it to
22516 zero, and it is harmless to try it. Move the test for failing
22517 to generate a core file to where it will actually get executed.
22518 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22519 new gdb result from g++ debug info improvements and make old
22520 pattern obsolescent. Also account for size_t differences
22521 (may be int or long).
22522 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22523 initialization before function call is placed in the delay slot
22524 and thus appears to be skipped over by commands such as "next".
22525
22526 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
22527
22528 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22529
22530 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
22531
22532 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22533 input source file; fix code to compile test to deal with this
22534 convention.
22535 * gdb.c++/*.exp: Likewise.
22536
22537 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
22538
22539 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22540 "bt in signals.exp".
22541
22542 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
22543
22544 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22545 "step over execarg initialization" and
22546 "step over corearg initialization".
22547
22548 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
22549
22550 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22551 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
22552
22553 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
22554
22555 From Rob Savoye (rob@poseidon.cygnus.com)
22556 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22557 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
22558 configure.in}, gdb.disasm/{Makefile.in, configure.in},
22559 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22560 configure.in}: Major reworking for autoconfig.
22561 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22562 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
22563 New files.
22564 * config/unix-gdb.exp: Make GDB global.
22565 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
22566 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22567 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22568 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22569 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22570 term.exp, twice.exp, watchpoint.exp, whatis.exp},
22571 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
22572 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22573 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22574 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22575 pr-8136.exp, result.exp, string.exp, tuples.exp},
22576 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
22577 to returns as necessary, arrange for test to compile own testcase
22578 executable.
22579 * lib/gdb.exp: Changes for testsuite to compile own test cases.
22580
22581 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
22582
22583 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
22584 clear_xfail at end of test which might not call either pass or fail.
22585 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22586 "backtrace through signal handler".
22587
22588 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22589
22590 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
22591 continuing from a job control stop signal.
22592 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
22593
22594 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
22595
22596 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22597 * gdb.base/corefile.exp: Likewise.
22598 * gdb.base/funcargs.exp: Likewise.
22599
22600 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
22601
22602 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
22603 * config/monitor.exp: Add support for setting baud rate.
22604
22605 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
22606
22607 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22608 i*86-*-linux* xfails for "backtrace through signal handler".
22609 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22610 "print func2::coremaker_local".
22611 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
22612 alpha-dec-osf2* xfail for
22613 "delete all breakpoints when none".
22614
22615 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
22616
22617 * gdb.base/break.exp: Change test that deletes all breakpoints
22618 when no user breakpoints are installed. A post 4.15 change
22619 causes gdb to no longer prompt in this case.
22620
22621 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
22622
22623 * gdb.base/return.exp (return_tests): Change xfail for test
22624 "correct value returned double test" to stop xfailing at
22625 Solaris 2.5. Apparently the bug has been fixed.
22626
22627 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
22628
22629 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22630 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22631
22632 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
22633
22634 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22635 * gdb.disasm/hppa.s: Corresponding changes.
22636
22637 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
22638
22639 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22640 makefile fragment.
22641 * config/mt-hpux: Deleted.
22642
22643 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
22644
22645 * Many files: When warning about suppressed tests due to a
22646 nonexistant test binary, avoid incrementing the warning count.
22647
22648 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
22649
22650 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
22651
22652 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22653
22654 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
22655 "sparc-*-solaris2*".
22656
22657 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22658
22659 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
22660 Add global and local variables and initialize them.
22661 * gdb.base/corefile.exp: Test correct mapping of corefile sections
22662 by printing variables. Remove rs6000 and powerpc xfails, BFD now
22663 extracts the file name and terminating signal from the core file.
22664 * TODO: Remove note about tests for correct mapping of corefile.
22665 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
22666 from optimizing it away.
22667 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
22668 handles common blocks.
22669
22670 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
22671
22672 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22673 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22674
22675 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
22676
22677 * Makefile.in (maintainer-clean): New target, synonym for
22678 realclean.
22679 * gdb.base/Makefile.in (maintainer-clean): Likewise.
22680 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22681 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22682 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22683 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22684 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22685
22686 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
22687
22688 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
22689 xfails when not gcc compiled for "print foo::funclocal".
22690 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22691 "print foo::funclocal at foo",
22692 "print 'scope1.c'::foo::funclocal at foo",
22693 "print foo::funclocal_bss at foo",
22694 "print 'scope1.c'::foo::funclocal_bss at foo",
22695 "print foo::funclocal_ro at foo",
22696 "print 'scope1.c'::foo::funclocal_ro at foo",
22697 "print bar::funclocal at foo" and
22698 "print 'scope1.c'::bar::funclocal at foo".
22699 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
22700 gcc compiled for "print foo::funclocal at bar".
22701 Expand all messages to ensure that they identify that
22702 the test is at bar().
22703 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22704 gcc compiled for:
22705 "ptype on opaque struct pointer (statically)",
22706 "ptype on opaque struct tagname (statically)",
22707 "ptype on opaque struct pointer (dynamically) 1",
22708 "ptype on opaque struct tagname (dynamically) 1",
22709 "ptype on opaque struct pointer (dynamically) 2" and
22710 "ptype on opaque struct tagname (dynamically) 2
22711 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22712 gcc compiled for:
22713 "p datalocal"
22714 "whatis datalocal",
22715 "ptype datalocal",
22716 "p bsslocal",
22717 "whatis bsslocal", and
22718 "ptype bsslocal".
22719 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22720 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22721 when not gcc compiled.
22722 * gdb.base/funcargs.exp (float_and_integral_args): Add
22723 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22724 compiled.
22725 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
22726 "backtrace from call6a" when not gcc compiled.
22727 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22728 "backtrace from call7a" when not gcc compiled.
22729 * gdb.base/callfuncs.exp (do_function_calls):
22730 Add "hppa*-*-hpux*" xfail when not gcc compiled for
22731 "p t_char_array_values(char_array_val2,char_array_val1)",
22732 "p t_char_array_values(char_array_val1,char_array_val2)",
22733 "p t_char_array_values("carray 1","carray 2")",
22734 "p t_char_array_values("carray 1",char_array_val2)",
22735 "p t_char_array_values(char_array_val1,"carray 2")",
22736 "p sum_args(1,{2})",
22737 "p sum_args(2,{2,3})",
22738 "p sum_args(3,{2,3,4})",
22739 "p sum_args(4,{2,3,4,5})"
22740 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22741 "backtrace in corefile.exp" when not gcc compiled.
22742
22743 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22744
22745 * gdb.base/signals.exp: Rewrite `handle all print' test as
22746 a procedure. Accept blanks or TABs as whitespace, increase
22747 timeout and expect input buffer size for the large output
22748 from the command. Remove "i*86-*-bsdi2.0" xfail.
22749
22750 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22751
22752 * gdb.base/setvar.exp: Add new testcases for truncation when
22753 assigning invalid values to bitfields.
22754
22755 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
22756
22757 * gdb.base/callfuncs.exp (do_function_calls): Remove
22758 mips-sgi-irix* xfail for
22759 "call inferior func with struct - returns char *"
22760 and fix test so that an optional (unsigned char *) cast is
22761 accepted in the result.
22762
22763 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
22764
22765 * gdb.base/funcargs.exp (float_and_integral_args): Remove
22766 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22767 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22768 * gdb.base/signals.exp: Remove duplicate "handle all print" test
22769 that accidentally got checked in.
22770
22771 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
22772
22773 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
22774 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22775 compiled test.
22776 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22777 Add mips-sgi-irix5* xfail for not gcc compiled.
22778 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
22779 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22780 "p top", "whatis top", "p middle", and "whatis middle".
22781 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22782 "whatis signed char" for not gcc compiled.
22783 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22784 "set variable signed char=-1 (-1)" and
22785 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22786 * gdb.base/funcargs.exp (float_and_integral_args):
22787 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22788 Add mips-sgi-irix* xfail when not gcc compiled for
22789 "continue to call2b".
22790 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22791 "continue to call2g".
22792 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22793 "backtrace from call6a"
22794 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22795 "backtrace from call7k".
22796 Add mips-sgi-irix5* xfail when not gcc compiled for
22797 "backtrace from call7a".
22798 (localvars_after_alloca): Fix gdb_test cmds for
22799 "print * after runto ...".
22800 Remove rs6000-*-* xfails for
22801 "print i after runto localvars_after_alloca" and
22802 "print l after runto localvars_after_alloca"
22803 for all compilers.
22804 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
22805 when not compiled with gcc, for:
22806 "print signed char == (minus)",
22807 "print signed char != (minus)",
22808 "print signed char < (minus)",
22809 "print signed char > (minus)".
22810 * gdb.base/callfuncs.exp (do_function_calls):
22811 Add mips-sgi-irix* xfail, when compiled with native compiler, for
22812 "call inferior func with struct - returns char *".
22813 * gdb.base/return.exp (return_tests): Change xfail for
22814 "correct value returned double test" to include Solaris 2.4.
22815 * gdb.base/funcargs.exp (float_and_integral_args):
22816 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22817
22818 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22819
22820 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
22821 enumeration bitfields if compiling with GNU C.
22822 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
22823 to empty' prompt.
22824
22825 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
22826
22827 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22828 test for PRO targets.
22829
22830 * gdb.base/funcargs.exp: Avoid ever setting more than 8
22831 breakpoints in the inferior at any given time by making
22832 two groups of breakpoints for call2*, call6* and call7*
22833 tests.
22834
22835 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22836
22837 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
22838 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
22839 from optimizing it away.
22840 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
22841 "call inferior func with struct".
22842
22843 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
22844
22845 * configure.in: Only configure gdb.chill for particular targets.
22846
22847 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
22848
22849 * gdb.base/Makefile.in: Add action to .c.o transformation
22850 rule that generates a .ci file for each .o file and remove
22851 explicit .c.o rules except for callfuncs.o.
22852 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
22853 generates a .ci file for each .o file and remove explicit
22854 .cc.o rules.
22855 (clean): Remove *.tmp *.ci files.
22856 (EXECUTABLES): Remove templ-info.exp.
22857 * gdb.base/compiler.c: New file.
22858 * gdb.c++/compiler.cc: New file
22859 * gdb.base/scope.exp: Source gdb.base/scope.ci.
22860 Change rs6000-*-* xfail for
22861 "print 'scope0.c'::filelocal_ro" and
22862 "print 'scope1.c'::filelocal" and
22863 "print 'scope1.c'::filelocal_bss" and
22864 "print 'scope1.c'::filelocal_ro" and
22865 "print 'scope1.c'::foo::funclocal" and
22866 "print 'scope1.c'::foo::funclocal_ro" and
22867 "print 'scope1.c'::bar::funclocal" and
22868 "print 'scope0.c'::filelocal_ro" and
22869 "print 'scope1.c'::filelocal at foo" and
22870 "print 'scope1.c'::filelocal_bss at foo" and
22871 "print 'scope1.c'::filelocal_ro at foo" and
22872 "print 'scope1.c'::foo::funclocal at foo" and
22873 "print 'scope1.c'::foo::funclocal_bss at foo" and
22874 "print 'scope1.c'::foo::funclocal_ro at foo" and
22875 "print 'scope1.c'::bar::funclocal at foo" and
22876 "print 'scope0.c'::filelocal_ro" and
22877 "print 'scope1.c'::filelocal" and
22878 "print 'scope1.c'::filelocal_bss" and
22879 "print 'scope1.c'::filelocal_ro" and
22880 "print 'scope1.c'::foo::funclocal" and
22881 "print 'scope1.c'::foo::funclocal_bss" and
22882 "print 'scope1.c'::foo::funclocal_ro" and
22883 "print 'scope1.c'::bar::funclocal" and
22884 "print 'scope1.c'::bar::funclocal_bss"
22885 to only be xfail'd when not compiled with gcc.
22886 Add rs6000-*-* xfail for
22887 "print 'scope0.c'::filelocal_bss before run"
22888 when compiled with gcc.
22889 (test_at_main): Add rs6000-*-* xfail for
22890 "print filelocal_ro in test_at_main"
22891 when compiled with gcc.
22892 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
22893 Add rs6000-*-aix* xfail for
22894 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
22895 "ptype t_char_array", not compiled with gcc.
22896 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
22897 xfail for "list foo (in include file)" when gcc compiled.
22898 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
22899 (integral_args): Add rs6000-*-* xfail for
22900 "run to call0a" if not compiled with gcc.
22901 (unsigned_integral_args): Add rs6000-*-* xfail for
22902 "run to call1a" if not compiled with gcc.
22903 (float_and_integral_args): Add rs6000-*-* xfail for
22904 "run to call2a" if not compiled with gcc and for
22905 "continue to call2b" for any compiler.
22906 Add rs6000-*-* xfail to
22907 "print f1 after run to call2a" for gcc compiled.
22908 (discard_and_shuffle): Add rs6000-*-* xfail for
22909 "run to call6a".
22910 (shuffle_round_robin): Add rs6000-*-* xfail for
22911 "backtrace from call7a" if not compiled with gcc.
22912 Add rs6000-*-* xfail for
22913 "backtrace from call7b" if compiled with gcc.
22914 (call_after_alloca): Add rs6000-*-* xfail for
22915 "print c in call_after_alloca" and
22916 "print s in call_after_alloca" and
22917 "backtrace from call_after_alloca_subr"
22918 if not compiled with gcc.
22919 (localvars_in_indirect_call): Add rs6000-*-* xfail for
22920 "print c in localvars_in_indirect_call" and
22921 "print c in localvars_in_indirect_call" and
22922 "backtrace in indirectly called function" and
22923 "stepping into indirectly called function"
22924 if not compiled with gcc.
22925 (localvars_after_alloca): Add rs6000-*-* xfail for
22926 "print c after runto localvars_after_alloca" and
22927 "print s after runto localvars_after_alloca" and
22928 "print i after runto localvars_after_alloca" and
22929 "print l after runto localvars_after_alloca"
22930 for all compilers.
22931 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
22932 than whatis-info.exp.
22933 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
22934 than opaque-info.exp.
22935 Setup rs6000-*-* xfail for
22936 "ptype on opaque struct pointer (statically)" and
22937 "ptype on opaque struct pointer (dynamically)" when
22938 not compiled with gcc.
22939 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
22940 rather than callf-info.exp.
22941 (do_function_calls): Add clear_xfail for rs6000-*-* for
22942 "p t_float_values2(3.14159,float_val2)". Seems to work
22943 fine there, both with xlc and gcc. Need to find out what
22944 it is doing right and fix other platforms.
22945 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
22946 "call inferior func with struct - returns int",
22947 "call inferior func with struct - returns long",
22948 "call inferior func with struct - returns float",
22949 "call inferior func with struct - returns double",
22950 "call inferior func with struct - returns char *",
22951 but only if not gcc compiled (presumes xlc compiled).
22952 Change rs6000-*-* xfails for
22953 "call inferior func with struct - returns char" and
22954 " call inferior func with struct - returns short" to only
22955 xfail if not using gcc.
22956 (clean mostlyclean): Remove *.ci and *.tmp files.
22957 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
22958 than templ-info.exp.
22959 * gdb.base/langs.exp: Source gdb.base/langs.ci.
22960 Add rs6000-*-* xfail for "up to foo in langs.exp"
22961 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
22962 when not gcc compiled.
22963
22964 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22965
22966 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
22967 * gdb.base/corefile.exp: Likewise.
22968 * gdb.base/list.exp: Likewise.
22969 * gdb.base/scope.exp: Likewise.
22970 * gdb.base/siganls.exp: Likewise.
22971
22972 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
22973 compiler output.
22974 * gdb.base/whatis.exp: Likewise.
22975
22976 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
22977
22978 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
22979 failure (opcode table has been fixed to match reality).
22980
22981 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
22982
22983 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
22984 "call inferior func with struct - returns char",
22985 "call inferior func with struct - returns short"
22986
22987 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
22988 "print 'scope0.c'::filelocal at main",
22989 "print 'scope0.c'::filelocal_bss in test_at_main",
22990 "print 'scope0.c'::filelocal at foo",
22991 "print 'scope0.c'::filelocal_bss in test_at_foo",
22992 "print 'scope0.c'::filelocal at bar",
22993 "print 'scope0.c'::filelocal_bss in test_at_bar"
22994
22995 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
22996 in source file 1". This bug seems to have been fixed with both
22997 gcc and native cc (was native assembler bug?).
22998
22999 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23000
23001 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23002 "backtrace through signal handler" to "i*86-*-sysv4*".
23003 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23004 continue" case. Add "known SVR4 bug" to fail message.
23005 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23006 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23007 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23008 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23009 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23010 "up to foo in langs.exp", "show language at foo in
23011 langs.exp", "up to cppsub_ in langs.exp", "show
23012 language at cppsub_ in langs.exp", "up to fsub in
23013 langs.exp", and "show language at fsub in langs.exp".
23014 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23015 "bactrace in corefile.exp".
23016 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23017 "call inferior function with struct - returns float" and
23018 "call inferior function with struct - returns double".
23019
23020 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23021
23022 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23023 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23024 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23025 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23026
23027 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23028
23029 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23030 (or overriden) "CHILL" macro rather then bare "gcc".
23031 Also look for ../../gcc/xgcc since that is what we will
23032 actually need, not "Makefile". Remove following assignment
23033 of CHILL to CHILL_FOR_TARGET because that results in
23034 recursive definition.
23035
23036 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23037
23038 * gdb.base/corefile.exp: Change xfail for backtrace in
23039 corefile.exp from linuxaout to all linux.
23040 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23041 cases where we miss the breakpoint at the signal handler
23042 for some reason. Setup xfail for linuxoldld/linuxaout and
23043 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23044 hitting SIGURG breakpoint.
23045 * gdb.base/signals.exp: Setup xfail for "next" acting like
23046 continue to add linuxoldld. Setup xfail for all linux for
23047 "next to handler in signals_tests_1", "backtrace in
23048 signals_tests_1", "continue to func1", "pass SIGUSR1",
23049 and continue to handler".
23050
23051 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23052
23053 * Update all FSF addresses except those in COPYING* files.
23054
23055 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23056
23057 * gdb.base/a2-run.exp: Change messages to be more explicit about
23058 the status of args, and quote binfile in results.
23059
23060 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23061
23062 * gdb.base/callfuncs.exp: Add tests for passing structs to
23063 inferior functions and return various types.
23064 * gdb.base/callfuncs.c: Add functions to receive a struct
23065 and return a member of the struct, in various types.
23066
23067 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23068
23069 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23070
23071 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23072
23073 * config/vxworks29k.exp: New file, sources vxworks.exp.
23074
23075 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23076
23077 * config/gdbremote.exp: New file. Testing framework using
23078 gdbserver.
23079
23080 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23081
23082 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23083 "call function when asleep" and "send end of file".
23084 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23085 for "backtrace in corefile.exp".
23086 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23087 for "backtrace through signal handler".
23088 * gdb.base/corefile.exp: Make sure we actually generate a core file
23089 before trying the core tests. Some systems allow the user to suppress
23090 generation of core files and default to that (linux for example).
23091 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23092 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23093
23094 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23095
23096 * gdb.threads: New directory with some crude multi-threaded
23097 gdb tests (step.exp and step2.exp).
23098 * config/mt-lynx (STEP_EXECUTABLE): Define.
23099 (THREADFLAGS): Define.
23100
23101 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23102
23103 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23104
23105 * gdb.base/signals.exp: Disable whole file for lynx until
23106 further notice.
23107
23108 * gdb.base/signals.exp: xfail test where "next" acts like
23109 "continue" for lynx.
23110
23111 * gdb.base/interrupt.exp: xfail test for calling function while
23112 inferior is asleep for lynx.
23113
23114 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23115 than one cr-lf after each command.
23116
23117 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23118
23119 * configure.in: Reinstate setting of stabsdirs variable, fix
23120 typo in setting up configdirs for native builds.
23121
23122 * gdb.base/return.exp: Fix typo in return double test.
23123 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23124 compiler from optimizing them away.
23125
23126 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23127
23128 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23129 sequences to be echo'd by gdb when using gdb_test.
23130 * gdb.chill/chexp.exp: Likewise.
23131 * gdb.fortran/exprs.exp: Likewise
23132
23133 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23134
23135 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23136 after the inferior gdb has started.
23137
23138 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23139 after each command.
23140 * gdb.base/funcargs.exp: Likewise.
23141 * gdb.base/gdbvars.exp: Likewise.
23142 * gdb.base/interrupt.exp: Likewise.
23143 * gdb.base/list.exp: Likewise.
23144 * gdb.base/watchpoint.exp: Likewise.
23145 * gdb.c++/demangle.exp: Likewise.
23146 * gdb.c++/inherit.exp: Likewise.
23147 * gdb.chill/chexp.exp: Likewise.
23148 * gdb.fortran/exprs.exp: Likewise.
23149
23150 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23151 test if we can't handle IO to/from the inferior.
23152
23153 * gdb.c++/misc.exp: Always check for a program already being
23154 started after sending a "run" command to gdb.
23155
23156 * gdb.base/twice.exp: Start with a fresh gdb.
23157
23158 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23159 only depend on gdb's expression code, not the chill runtime.
23160
23161 * gdb.base/return.c: Put return values into variables so we
23162 can have gdb print them rather than depending on the program
23163 to print them.
23164 * gdb.base/return.exp: Corresponding changes.
23165
23166 * lib/gdb.exp: Provide default value for noinferiorio.
23167 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23168 the inferior.
23169
23170 * gdb.base/break.exp: Always check for a program already being
23171 started after sending a "run" command to gdb.
23172 (text_next_with_recursion): Don't check the output from the
23173 program's printf statement. Instead just make sure the program
23174 exited.
23175
23176 * gdb.base/commands.exp: Protect tests which need arguments with
23177 $noargs conditionals.
23178
23179 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23180
23181 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23182 of structure member arrays to match gdb/valops.c:value_addr change.
23183
23184 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23185
23186 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23187 cases.
23188
23189 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23190
23191 * configure.in (configdirs): Remove gdb.chill from default list
23192 of subdirs and then add it back in only if doing a native build.
23193 The current chill compiler does not yet work in any cross build.
23194 * Revert all signal changes from Jul 6.
23195 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23196 for sh-hms targets, allowing these tests to link, with no other
23197 changes. Testing is suppressed by setting "nosignals" in site.exp.
23198
23199 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23200
23201 * configure.in (signaldirs): Define and add to configdirs for all
23202 targets except some specific ones that are known to not support signals.
23203 Also clean up formatting.
23204 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23205 (signals, sigall): Remove rules to build.
23206 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23207 Moved to new gdb.signals directory.
23208 * gdb.signals: New test directory.
23209 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23210 signals.c signals.exp}: New or moved files.
23211
23212 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23213
23214 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23215
23216 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23217
23218 * gdb.base/return.exp: Xfail `return double' test failure
23219 on at least Solaris 2.3 and handle future/past versions on
23220 a case by case basis as appropriate. Also update message
23221 to include i*86 failures.
23222
23223 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23224
23225 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23226
23227 * lib/gdb.exp: Fix comment which erroneously identified
23228 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23229 gdb_file_cmd not gdb_load).
23230 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23231
23232 * gdb.base/setvar.exp: Make test names consistent between pass and
23233 fail cases. Use gdb_test more.
23234
23235 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23236
23237 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23238
23239 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23240
23241 * gdb.base/help.exp: Fix expected help string for `show commands'.
23242
23243 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23244
23245 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23246
23247 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23248 of a text section.
23249
23250 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23251
23252 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23253 that loop eventually terminates. Fix Connection refused logic so
23254 that testsuite will expire nicely.
23255
23256 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23257
23258 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23259 config/rom68k.exp: New tcl glue for the appropriate monitors.
23260 These all just end up calling monitor.exp.
23261 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23262 refused' by retrying. Cleanup some timeout issues.
23263 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23264 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23265 callers don't have to set/restore global timeout variable.
23266
23267 * The following set of changes centralizes management of the global
23268 timeout variable. This way, it can be set in one target dependent
23269 place instead of dozens of places scattered throughout the test suite.
23270 If you need to lengthen a timeout, then you should either set timeout
23271 in one of the config/{target}.exp files, or multiply it by a factor.
23272 Setting it to an absolute value is always going to lose for some
23273 targets.
23274 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23275 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23276 * gdb.base/funcargs.exp: Don't set timeout.
23277 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23278 * gdb.base/printcmds.exp (test_print_string_constants
23279 test_print_array_constants): Don't set timeout.
23280 * gdb.base/ptype.exp: Don't set timeout.
23281 * gdb.base/recurse.exp: Don't set timeout.
23282 * gdb.base/return.exp: Don't set timeout.
23283 * gdb.base/watchpoint.exp: Don't set timeout.
23284 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23285 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23286
23287 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23288
23289 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23290
23291 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23292
23293 * lib/gdb.exp: Disable chill tests for irix5.
23294
23295 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23296
23297 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23298 each test pass or fail.
23299
23300 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23301
23302 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23303 xlc not gcc.
23304
23305 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23306
23307 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23308
23309 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23310
23311 * config/est.exp: Fix copyright and comments. Remove dead code.
23312 Use targetname, serialport and baud variables instead of fixed
23313 constants.
23314 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23315 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23316
23317 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23318
23319 * gdb.base/watchpoint.exp: Don't run
23320 test_watchpoint_triggered_in_syscall for sunos.
23321
23322 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23323
23324 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23325 they don't seem to exist. Do include stdio.h.
23326
23327 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23328
23329 * gdb.base/a1-selftest.exp: Add alpha xfail.
23330
23331 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23332
23333 * gdb.base/watchpoint.c (main): Prompt before calling read().
23334 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23335 Revise accordingly. Remove cruft about sending "123" several
23336 times, until it gets noticed. Clean up the "print buf[0]" stuff
23337 so that it passes or fails, and waits for prompts in the usual way.
23338
23339 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23340
23341 * gdb.base/recurse.exp: Fix comment.
23342
23343 * TODO: Remove item about printing variables in nodebug.exp. Add
23344 item about enabling tests which are only run on some targets.
23345
23346 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23347 fail, make test names unique, use new gdb_test convention
23348 regarding pattern, use gdb_test more, etc.).
23349
23350 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23351 fail, make test names unique, etc.).
23352
23353 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23354
23355 * gdb.base/nodebug.c: Change return type of top and middle to
23356 short.
23357 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
23358 are fixed by the recent mdebugread.c changes. Allow `short ()'
23359 as type for top and middle.
23360
23361 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23362
23363 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
23364 nearly as I can tell, the whole thing was an accident in Stu's
23365 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23366 to replace a send/expect pair with gdb_test, but ended up only
23367 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
23368 of 30 Mar 1995 took care of it, but left this vestigial comment
23369 which I am now nuking.
23370
23371 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23372
23373 * gdb.base/break.exp: Look for different line number for
23374 breakpoint at main depending on usestubs.
23375
23376 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23377
23378 * gdb.base/list.exp: Adjust some alternate expect patterns to
23379 match recent list0.c change. Add alternate expect pattern for
23380 output from `list default lines around main' for optimizing
23381 compilers.
23382
23383 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23384
23385 * lib/gdb.exp: If nosignals is not set, set it to 0.
23386
23387 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
23388
23389 * config/slite-gdb.exp: Responds to load symbol table prompt.
23390 * gdb.base/break.exp: Adjust line number, fix rerun.
23391 * gdb.base/langs0.c: Add #ifdef usestubs.
23392
23393 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
23394
23395 * gdb.base/list.exp: Adjust line contents after adding new lines in
23396 list0.c. Also fix a syntax error.
23397
23398 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23399 * gdb.base/break.exp: ditto.
23400 * gdb.base/list.exp: ditto.
23401 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23402 * gdb.base/run.c: ditto.
23403 * gdb.base/list0.c: ditto.
23404 * gdb.base/funcargs.c: ditto.
23405
23406 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
23407
23408 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
23409 $targetname, $serialport and $baud instead of hardwired variables.
23410 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
23411 target doesn't support signals.
23412
23413 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
23414
23415 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23416
23417 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23418
23419 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
23420 Don't rely on the value of an auto variable before it has been
23421 initialized. Use gdb_test more.
23422
23423 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23424
23425 * lib/gdb.exp (default_gdb_version): A version number must start
23426 with a digit, but other than that contains all characters up to
23427 the first whitespace character.
23428
23429 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23430
23431 * gdb.base/commands.exp (breakpoint_command_test): New tests.
23432
23433 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23434
23435 * gdb.c++/*.exp: Warn if executable does not exist. The original
23436 reason for skipping the warning was that configure.in sometimes
23437 intentionally skipped building the executables but the tcl code
23438 had no way of knowing. That (a) was always bogus with respect to
23439 error handling, (b) is no longer true (right now there is no way
23440 to skip C++ tests).
23441
23442 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23443
23444 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23445
23446 * gdb.base/list.exp: Add expect patterns for output from
23447 SunPRO compiled executables.
23448 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
23449 types.
23450
23451 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23452
23453 * gdb.base/break.exp (test_next_with_recursion): Accept any line
23454 number (we are already testing that the correct source line text
23455 gets printed).
23456
23457 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
23458 that is what is intended, but something needed to be done to get
23459 sunos4 native working again.
23460
23461 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23462
23463 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23464 apparently went with a (very) old xfail.
23465
23466 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
23467
23468 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23469 runto_main is a proc in gdb.exp that will do 'step' for target use
23470 stubs.
23471 * gdb.base/exprs.exp: ditto.
23472 * gdb.base/interrupt.exp: ditto.
23473 * gdb.base/opaque.exp: ditto.
23474 * gdb.base/printcmds.exp: ditto.
23475 * gdb.base/ptype.exp: ditto.
23476 * gdb.base/scope.exp: ditto.
23477 * gdb.base/setvar.exp: ditto.
23478 * gdb.base/signals.exp: ditto.
23479 * gdb.base/twice.exp: ditto.
23480 * gdb.c++/classes.exp: ditto.
23481 * gdb.c++/inherit.exp: ditto.
23482 * gdb.c++/templates.exp: ditto.
23483 * gdb.base/break.exp: no run and hit main for stubs. Change line
23484 numbers for breakpoints and info breakpoint.
23485 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23486 breakpoint().
23487 * gdb.base/callfuncs.c: ditto.
23488 * gdb.base/exprs: ditto.
23489 * gdb.base/interrupt.c: ditto.
23490 * gdb.base/opaque0.c: ditto.
23491 * gdb.base/printcmds.c: ditto.
23492 * gdb.base/ptype.c: ditto.
23493 * gdb.base/scope0.c: ditto.
23494 * gdb.base/setvar.c: ditto.
23495 * gdb.base/signals.c: ditto.
23496 * gdb.base/twice.c: ditto.
23497 * gdb.c++/misc.cc: ditto.
23498 * gdb.c++/templates.cc: ditto.
23499
23500 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23501
23502 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23503
23504 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23505 somewhere between `read' and `main.c'. I'm pretty sure the
23506 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23507 and it isn't particularly useful.
23508
23509 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
23510
23511 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23512
23513 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23514
23515 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
23516
23517 * config/mt-slite: add LIBS and -nostdlib.
23518 * config/slite-gdb.exp: add this new file to support sparclite target.
23519
23520 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
23521
23522 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23523
23524 * gdb.base/a2-run.exp: Change argument to istarget from
23525 "*-*-vxworks" to "*-*-vxworks*".
23526 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23527
23528 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
23529
23530 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23531 will not runto main but do a 'step' to step out of breakpoint().
23532 * config/mt-slite: add -Dusestubs.
23533
23534 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23535
23536 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23537 instead of just @.
23538
23539 * gdb.base/signals.exp: Add test for "handle all print".
23540 * TODO: Remove "handle all print". Also remove item about
23541 checking copyright date (I don't like the idea of a spurious FAIL
23542 based on when we run the tests).
23543
23544 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
23545 for SunOS4 (reason for failure not investigated). Remove
23546 redundant test for $binfile.
23547
23548 * gdb.base/nodebug.c (array_index): Call malloc.
23549
23550 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23551
23552 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
23553
23554 * gdb.base/recurse.exp: Update gdb_test invocation to use new
23555 conventions and slightly simplify the matching regexp.
23556
23557 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23558
23559 * gdb.base/break.exp: Update gdb_test invocation to use new
23560 convention.
23561
23562 * lib/gdb.exp: If noargs is not set, set it to 0.
23563
23564 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
23565 tests unique.
23566
23567 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23568
23569 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23570
23571 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23572 one argument of type "<non-float parameter>".
23573
23574 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
23575
23576 * config/rom68k.exp: New file to support Motorola IDP board.
23577 * gdb.base/a2-run.exp: Skip this file if noargs is set.
23578 * gdb.base/break.c: Change things around so that this program
23579 doesn't depend upon args. This is necessary to make remote
23580 targets work (in general, they can't take args).
23581 * gdb.base/break.exp: Don't try to send args to program. Don't
23582 expect output. Also, replace lots of code with gdb_test.
23583
23584 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23585
23586 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23587 printing of '\'' (which is what the comment says we are testing,
23588 even though we were not), not '''.
23589 (test_integer_literals_rejected): Test that printing ''' is an error.
23590
23591 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23592 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23593 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23594 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23595 Use gdb_test not test_print_accept.
23596 * lib/gdb.exp: Remove test_print_accept.
23597
23598 * gdb.base/signals.exp (signal_tests_1): Make pass message
23599 consistent with fail message.
23600
23601 * gdb.base/whatis.exp: Remove xfails for printing char vs.
23602 unsigned char; the bug (PR 1821) is fixed.
23603
23604 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23605
23606 * gdb.base/scope.exp (test_at_localscopes): Call pass for
23607 successful tests--makes xfailing them work right.
23608
23609 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23610
23611 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23612 only \r\n, not .*. The test can pass .* as the last thing in
23613 $pattern if that is what it wants. In addition to providing this
23614 flexibility, this change should speed up pattern matching in cases
23615 where the pattern already ended with .* (there were a number of
23616 them). This change also helps catch bad patterns--in the old
23617 scheme the typo "char \*" instead of "char \\*" would pass. Now
23618 it is caught.
23619 * Many .exp files: Update callers.
23620
23621 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
23622 clearer and does not spuriously match multiple ('s. Likewise for
23623 ) and *.
23624
23625 * gdb.base/nodebug.exp: Test ability to call a function and pass
23626 it a string (even with no debugging info).
23627
23628 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23629 "p '\'", which is the same as "p ''" once tcl gets done with
23630 quoting, to "p '\\'", which I suspect is what is intended (one
23631 backslash gets sent to GDB).
23632
23633 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23634
23635 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23636
23637 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
23638 1817) was fixed literally years ago.
23639
23640 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23641
23642 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
23643 test, it causes stepping out of call_after_alloca_subr with
23644 optimizing compilers.
23645 (localvars_in_indirect_call): Consume GDB prompt if `finish'
23646 fails.
23647
23648 * gdb.c++/templates.exp: Source templ-info.exp only if
23649 the templates executable exists.
23650
23651 * gdb.c++/misc.cc (class Contains_static_instance,
23652 class Contains_nested_static_instance),
23653 gdb.c++/classes.exp (test_static_members): Test printing of
23654 a class that contains a static instance of the class.
23655
23656 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23657
23658 * gdb.base/langs2.c (cppsub_): Don't prototype.
23659 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23660 only, I believe).
23661
23662 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23663
23664 * lib/gdb.exp (skip_chill_tests): New procedure.
23665
23666 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23667
23668 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
23669
23670 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23671 each expect pattern. Cuts runtime from 12 to about 4 seconds.
23672
23673 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23674
23675 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23676
23677 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23678 disassemble 8, not 16, instructions for part 4.
23679
23680 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
23681 support the latter anymore.
23682
23683 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23684 -DNO_PROTOTYPES.
23685 * gdb.base/callfuncs.c: Control use of prototypes based on
23686 NO_PROTOTYPES, not __STDC__.
23687 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23688 t_float_values2 tests if prototypes in use.
23689
23690 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23691 t_double_values): When checking differences against DELTA, check
23692 that difference is within the range (-DELTA,DELTA), not just
23693 (-infinity,DELTA).
23694
23695 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
23696
23697 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23698 'file' command firts, then 'target', then 'load', this is due to gdb
23699 target set up.
23700 * config/mips-gdb.exp: Fix a couple regular exp bugs.
23701
23702 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
23703
23704 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23705 FP load/store variants.
23706 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23707
23708 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23709
23710 * gdb.base/term.exp: Do not give a warning if not native, it is
23711 not an abnormal condition.
23712
23713 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
23714
23715 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23716 t_char_array".
23717
23718 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23719
23720 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23721 are getting the version number.
23722
23723 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23724 if not native, it is not an abnormal condition.
23725
23726 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23727
23728 * lib/gdb.exp: Just use "file exists", rather than undocumented
23729 dejagnu procedure "findfile".
23730
23731 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23732
23733 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23734 (LDFLAGS): Set to -Xlinker -Ur.
23735
23736 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23737 Removed, these values are set by lib/gdb.exp.
23738
23739 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23740
23741 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23742
23743 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23744 of replicating gdb startup code.
23745
23746 * config/mt-vxworks (LDFLAGS): Set to -r.
23747 (CFLAGS_FOR_TARGET): Removed.
23748
23749 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23750 (gdb) and gdb for vxworks uses (vxgdb).
23751
23752 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23753 executable is not in the tree and host != target, use sed and
23754 program_transform_name to determine the gdb name used by the
23755 target.
23756
23757 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23758 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23759
23760 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23761
23762 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23763 floats, chars, and shorts where there are ANSI-style function
23764 definitions.
23765
23766 * gdb.base/langs.exp, gdb.base/langs*: New test.
23767 * gdb.base/Makefile.in: Build it.
23768 * TODO: Remove item about checking that C names don't get C++
23769 demangling applied; this test tests it.
23770
23771 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23772
23773 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23774 went with the const70 xfail. The xfail went away a year ago.
23775
23776 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23777
23778 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
23779 for hp300.
23780
23781 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23782
23783 * gdb.base/a1-selftest.exp: Don't run on hp300.
23784
23785 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23786
23787 * Makefile.in (site.exp): Set host_alias and target_alias as well
23788 as host_triplet and target_triplet.
23789
23790 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23791
23792 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23793
23794 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23795 places as other ecoff systems).
23796
23797 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23798 ultrix.
23799
23800 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23801
23802 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23803 remove them.
23804 * gdb.base/nodebug.exp: Accept "function" in addition to "text
23805 variable and "variable" in addition to "data variable".
23806 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23807
23808 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23809 2.
23810 * gdb.base/list1.c (long_line): Add additional statement at start
23811 of function.
23812 * gdb.base/list.exp (test_forward_search): Update line number to
23813 reflect new statement.
23814
23815 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23816
23817 * gdb.base/signals.exp: Reinitialize searched source directories
23818 after gdb_start call.
23819
23820 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
23821
23822 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23823 * gdb.stabs/Makefile.in: Likewise.
23824
23825 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23826 change. Instead split the tests into smaller pieces.
23827 * gdb.disasm/hppa.s: Corresponding changes.
23828
23829 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23830
23831 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23832 Quote ^C when passing it to stty. For some shells ^ is a pipe.
23833
23834 * gdb.base/funcargs.exp: Modify many tests so that every test
23835 either passes or fails. Make some test names unique.
23836
23837 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23838
23839 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23840 Call stty to set interrupt character.
23841
23842 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23843 for HP assembler versus GNU assembler based on actual behavior of
23844 $(CC), rather than assuming that $(AS) is always the GNU assembler.
23845
23846 * TODO: Suggest a few more stepping tests.
23847
23848 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
23849
23850 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23851 restart GDB for h8300 after a continue.
23852 (return): Add pattern to match a29k-udi behavior.
23853 * gdb.base/nodebug.exp: Remove obsolete comment.
23854 * gdb.base/regs.exp: New file, testing of register displays.
23855 * gdb.base/return.exp: Fix typo in reference to $objdir.
23856 * gdb.base/whatis.exp: Always start with a fresh GDB.
23857
23858 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23859
23860 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
23861 higher, these tests generate a lot of output.
23862
23863 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23864
23865 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
23866 code following the catch silently ignored some errors; without the
23867 catch they should be thrown like any other tcl error. Also, the
23868 catch used "" instead of {} which meant all the callers who wanted
23869 to include one of the characters "[]$ had to quote it an extra time.
23870 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
23871 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
23872 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
23873 Remove extra quoting.
23874
23875 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
23876
23877 * gdb.base/commands.exp: Make test names unique; every test either
23878 passes or fails. Update some comments.
23879
23880 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
23881
23882 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23883
23884 The following fixes a FAIL caused by the fact that the alpha stabs
23885 configuration didn't use the ".if alpha" code in weird.def.
23886 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
23887 bit pointer, so the 32 bit version works even on the alpha.
23888 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
23889 Remove the stuff which allowed us to have separate versions for
23890 alpha and everything else.
23891
23892 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
23893 regexp which "info func operator\[\](" is supposed to match. Fix
23894 string to send to GDB. Note that GDB still doesn't work right. Add a
23895 new test for "info func .perator\[\](" which GDB does handle correctly.
23896
23897 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
23898
23899 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23900
23901 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
23902 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
23903 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
23904 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
23905 it makes the tests harder to understand and confuses test-o-matic.
23906 The preferred style is that each test provides a PASS or a FAIL,
23907 and has a unique message (e.g. "continue #54" not just "continue")
23908 which is the same for the pass and the fail.
23909 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23910 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
23911 to lib/gdb.exp.
23912 * gdb.base/printcmds.exp: Use test_print_accept. Remove
23913 prt_accept which was basically the same thing. Likewise for
23914 test_print_reject and prt_reject.
23915 * lib/gdb.exp (test_print_reject): Add some more error message
23916 patterns to match from the former printcmds.exp (prt_reject).
23917 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
23918 One defect of the passcount stuff is that some of it failed to
23919 report XPASS where appropriate.
23920 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
23921 stuff before and after arg in expected pattern.
23922 (test_paddr_operator_functions): Re-do test without print_addr_of;
23923 this is the only test which seems to want extra stuff there.
23924
23925 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23926
23927 * gdb.base/nodebug.exp: Update new tests to reflect improved
23928 wording of gdb output.
23929
23930 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
23931 and "ptype" work on variables in files compiled without -g.
23932 Replaces commented out "maint print msymbol" tests.
23933
23934 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23935
23936 * gdb.base/setvar.c (dummy): Call malloc.
23937
23938 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
23939 losing with the irix4 sed.
23940
23941 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
23942 ALRM" on irix4.
23943
23944 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23945
23946 * TODO: Remove items about corefile.exp testing new exec-file and
23947 backtrace; both are now done. Add items about printing enums.
23948
23949 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23950
23951 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
23952 "get signal $thissig" test fails.
23953
23954 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
23955
23956 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23957
23958 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
23959 compiler warning with dec alpha compiler.
23960
23961 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
23962 extra \n from gdb_test call (this explains why the prompt test
23963 that I removed yesterday was there).
23964 (user_defined_command_test): Remove extra \n and prompt test.
23965
23966 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
23967 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
23968 doesn't exist.
23969 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
23970 Also remove alpha workaround, which turns out to be because
23971 SIGABRT == SIGLOST.
23972
23973 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
23974
23975 * gdb.base/help.exp: Don't test "help show".
23976
23977 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23978
23979 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
23980 "set print address" is on.
23981 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
23982 pass prompt to gdb_test; gdb_test already looks for the prompt.
23983
23984 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
23985
23986 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
23987 was a vestige of the manual TESTSTRATEGY, and the purpose of it
23988 was to make sure that gdb can read a core file. But (a) the "read
23989 the corefile" part didn't make it to a1-selftest.exp, we just
23990 delete the corefile after creating it, and (b) we test reading
23991 corefiles in corefile.exp anyway. Also, this test left around a
23992 xgdb process on Solaris.
23993
23994 * gdb.base/corefile.exp: Also test backtrace.
23995
23996 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
23997
23998 * gdb.base/commands.exp: Test a simple user defined command with
23999 arguments and if/while statements; verify the full user command is
24000 printed by "show user".
24001
24002 * gdb.base/commands.exp: Test if/while commands as part of a
24003 breakpoint command list; verify they appear in breakpoint
24004 information.
24005
24006 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24007
24008 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24009 than by dividing by zero.
24010
24011 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24012
24013 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24014 performing an inferior call with watchpoints enabled.
24015 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24016 call.
24017
24018 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24019
24020 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24021 of "file" command.
24022
24023 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24024 Add additional pattern for when "int operator int(void);" appears
24025 in a different order.
24026
24027 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24028
24029 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24030
24031 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24032 and "signal" with ".*".
24033
24034 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24035
24036 * TODO: Add note about "handle all nostop".
24037
24038 * gdb.base/{sigall.c, sigall.exp}: New test.
24039 * gdb.base/Makefile.in: Add it.
24040
24041 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24042
24043 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24044 when invoking GDB, suppresses any windowing interface.
24045
24046 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24047
24048 * config/sim-gdb: New file, simulator testing support.
24049
24050 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24051
24052 * gdb.base/interrupt.exp: Test calling func1 twice.
24053
24054 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24055
24056 * gdb.base/list.exp (test_forward_search): Set timeout higher
24057 when we'll be getting lots of output from gdb.
24058
24059 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24060 "init_malloc" to after the expect statement. Run it if that
24061 regexp is taken, but also for two others which happen if source
24062 cannot be found.
24063
24064 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24065
24066 * gdb.base/printcmds.exp: New test, for printing register before
24067 program is running.
24068
24069 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24070
24071 * gdb.base/list.exp: Correct some alternate expect patterns
24072 to reflect changes in list1.c.
24073
24074 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24075
24076 * TODO: Add item regarding large frames.
24077
24078 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24079
24080 * TODO: Remove item about enabling return.exp; it
24081 is enabled. Suggest a few more "return" tests.
24082
24083 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24084
24085 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24086 anonymous unions.
24087
24088 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24089
24090 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24091 and pr-5646.o, so "make" is the same as "make all", not "make
24092 pr-4975.o".
24093
24094 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24095
24096 * gdb.base/list.exp: Adjust expectations to reflect changes in
24097 list1.c.
24098 (test_forward_search): New test proc.
24099 * gdb.base/list1.c (long_line): New function, has long source line.
24100
24101 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24102
24103 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24104 additional line of code that was added.
24105
24106 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24107
24108 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24109 tests so as not to overflow expect's input buffers.
24110 * gdb.disasm/hppa.exp: Corresponding changes.
24111
24112 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24113
24114 Beginnings of template debugging tests.
24115 * gdb.c++/templ-info.cc: New file to test for template
24116 debugging capability of the compiler.
24117 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24118 templ-info.cc.
24119 * gdb.c++/templates.cc: Add explicit template instantiations
24120 to enable compiling with -fno-implicit-templates. Add destructor
24121 and 'value' method to T5 class for template tests.
24122 * gdb.c++/templates.exp: Add testcases for printing of template
24123 types, setting breakpoints on template methods and calling a
24124 template method.
24125
24126 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24127
24128 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24129 branch target since some assemblers (gas-2.5) may emit a
24130 relocation for the branch instead of resolving it in the
24131 assembler.
24132
24133 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24134
24135 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24136 through signal handler.
24137
24138 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24139
24140 * configure.in (*-*-netware): Use config/mt-netware.
24141
24142 * config/mt-netware: New file.
24143 * config/mt-i386-netware: Removed, separate configs for different
24144 netware architectures are no longer needed now that we have
24145 --with-headers.
24146
24147 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24148
24149 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24150 by the recent changes to use ANSI C arithmetic conversions.
24151
24152 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24153
24154 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24155 bug involving using inferior_pid to figure out whether to select a
24156 frame.
24157
24158 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24159
24160 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24161 match the current disassembler output.
24162
24163 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24164
24165 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24166 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24167 types, expect "int" as type of integer values (for now).
24168
24169 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24170
24171 * gdb.base/commands.exp: New tests for if/while commands.
24172
24173 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24174
24175 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24176 by .*, since hex values have different syntax in Chill mode.
24177
24178 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24179
24180 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24181 linefeed from expect pattern for repeated types with indices > 9.
24182
24183 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24184
24185 First part of Fortran test suite.
24186 * gdb.fortran: New directory.
24187 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24188
24189 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24190
24191 * gdb.base/default.exp: Update expect pattern for load command
24192 without arguments.
24193
24194 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24195
24196 * configure.in: Change i386 to i[345]86.
24197 * gdb.base/configure.in: Likewise.
24198 * gdb.c++/configure.in: Likewise.
24199 * gdb.chill/configure.in: Likewise.
24200
24201 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24202
24203 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24204 patterns, since that is not a valid context for comments.
24205
24206 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24207
24208 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24209 repeated types and repeated types with indices > 9.
24210
24211 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24212
24213 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24214 2417; old bug has been fixed.
24215
24216 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24217
24218 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24219 send the newline ourselves instead of assuming gdb_test will do
24220 so when passed an empty input string.
24221
24222 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24223 stabs testcode.
24224
24225 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24226
24227 * lib/gdb.exp (gdb_test): Don't send anything if the first
24228 argument is an empty string. This makes cases where we want to
24229 match output that is already in expect's buffers (for example,
24230 matching a breakpoint after gdb_run_cmd has been called) work
24231 reliably.
24232
24233 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24234
24235 * config/netware.exp: New file.
24236
24237 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24238
24239 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24240 the -B and -L prefixes so we can find the debugging stub.
24241
24242 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24243 there and we are using the gcc from the tree.
24244
24245 * gdb.base/types.c: Removed.
24246
24247 * gdb.base/configure.in: Look for makefile fragments in ../config.
24248 Recognize i386-*-netware.
24249 * gdb.c++/configure.in: Likewise.
24250
24251 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24252
24253 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24254 the correct TCL syntax.
24255
24256 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24257
24258 * gdb.base/opaque.exp: use runto instead of messing around with
24259 breakpoints. Simplify by using gdb_test.
24260
24261 * gdb.base/bitfields.exp: restart between tests on netware targets
24262 because breakpoints aren't relocated after target death. Run
24263 processes to completion.
24264
24265 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24266
24267 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24268
24269 * Makefile.in: Remove extra tabs that confuse some versions
24270 of "make". Use the newly built gdb to test with by default,
24271 rather than the first one in the tester's search path.
24272
24273 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24274
24275 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24276
24277 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24278 condition help.
24279
24280 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24281
24282 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24283
24284 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24285 running.
24286 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24287 * gdb.base/funcargs.exp: Likewise.
24288
24289 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24290 * gdb.base/funcargs.exp: Likewise.
24291
24292 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24293 message is "".
24294
24295 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24296
24297 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24298 return,signals,twice}.exp: Handle non-existant binaries
24299 consistantly.
24300
24301 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24302 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24303 might testing a cross development system.
24304
24305 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24306
24307 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24308 runtest script is relative to ${srcdir}, not ${rootdir}.
24309
24310 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24311
24312 * gdb.base/signals.exp: Allow for optionality of breakpoint
24313 address.
24314
24315 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24316
24317 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24318
24319 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24320
24321 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24322 for size_t definition.
24323 * gdb.c++/templates.cc: Likewise
24324
24325 * config/mt-i386-netware: New file.
24326
24327 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24328 defined.
24329
24330 * gdb.base/Makefile.in: Added support for systems that name core
24331 files by appending "core" to the program name.
24332 * gdb.base/a1-selftest.exp: Likewise.
24333
24334 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24335
24336 * gdb.base/return.exp: Add comment and message for `return double'
24337 test failure on Sparc Solaris.
24338
24339 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
24340
24341 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24342
24343 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24344
24345 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
24346 from optimizing them away.
24347 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
24348 patterns to include default constructors and assignment operators,
24349 to match gcc versions beyond 2.5.8. Accept any cplus demangling
24350 character in the output of the virtual base pointer.
24351
24352 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24353
24354 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
24355 expression match in print_addr_of to avoid unintented matches.
24356 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
24357 versions up to 2.5.8.
24358
24359 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24360
24361 * gdb.base/list.exp: Tweak alternate pattern for listing of an
24362 included file to run under newer versions of expect.
24363 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
24364 consecutive >'s in templates to accomodate recent cplus-dem.c change.
24365 Remove xfail for the virtual table of BDDHookV.
24366
24367 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
24368
24369 * lib/gdb.exp (string_to_regexp): Set a default result.
24370 (default_gdb_start): Fix misleading message.
24371
24372 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
24373
24374 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24375 Remove all CC, etc definitions.
24376 * config/mt-hpux: New file.
24377 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24378 (CFLAGS, LDFLAGS): Define.
24379 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24380
24381 * Makefile.in (site.exp): Don't insert host_os, etc.
24382 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24383 (distclean): Check existence of subdir.
24384 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24385 * gdb.base/Makefile.in: General cleanup and simplification.
24386 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24387 to build executables. Use default rule to build .o files.
24388 (EXPECT, RUNTEST, CC): Fix relative pathname.
24389 (site.exp): Don't insert host_os, etc.
24390 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24391 and/or SIGUSR1 defined.
24392 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24393 * gdb.c++/Makefile.in: General cleanup and simplification.
24394 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24395 (CFLAGS): Remove.
24396 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24397
24398 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
24399
24400 * gdb.base/recurse.exp: Misc changes to get tests running again
24401 after Kung's changes to the watchpoint code.
24402 * gdb.base/watchpoint.exp: Likewise.
24403
24404 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
24405
24406 * lib/gdb.exp (string_to_regexp): Convert {\} also.
24407
24408 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
24409
24410 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24411 * lib/gdb.exp (default_gdb_start): Define.
24412 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24413 gdb.base/funcargs.exp, gdb.base/opaque.exp,
24414 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24415 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24416 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24417 Don't call gdb_target_udi in between tests.
24418
24419 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24420
24421 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24422 (which was basically just a local version of the same thing). In
24423 addition to avoiding duplication, gdb_test_exact is faster.
24424 * lib/gdb.exp (gdb_test_exact): Fix typo.
24425
24426 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24427 don't give an error.
24428
24429 * gdb.base/term.exp: Call delete_breakpoints before starting.
24430
24431 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24432 (t10): Add comment.
24433
24434 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24435
24436 Reorganization of the GDB Test Suite.
24437
24438 * gdb.base: New directory, contains all the basic tests.
24439 * gdb.c++: New directory, tests specific to C++.
24440 * gdb.chill: New directory, tests specific to Chill.
24441 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24442 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24443 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24444 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24445 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24446 t30-31 to chill).
24447 * */gdbme.*: Rename to match appropriate expect scripts.
24448 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24449 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24450 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24451 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24452 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24453 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24454 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24455 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24456 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24457 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24458 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24459 gdb.c++/virtfunc.cc: New names of C++ files.
24460 * gdb.chill/chillvars.ch: New name of Chill file.
24461 * gdb.base/configure.in, gdb.c++/configure.in,
24462 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24463 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24464 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24465 * configure.in (configdirs): Update to reflect directory changes.
24466 (target_abbrev): No longer define for any configuration.
24467 * Makefile.in: Cosmetic improvements to header comments.
24468
24469 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
24470
24471 Various changes to gdb.t31:
24472
24473 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
24474 * gdbme.ch: Make all key-words and predefineds be upper-case.
24475 * chillvars.exp: Expect key-words and predefinds in upper-case.
24476
24477 * chillvars.exp: Use gdb_test_exact many places.
24478 Change expected output for arrays (which now includes index labels).
24479
24480 * pr-5020.exp, gdme.ch (module PR_5020):
24481 New test, for PR-5020.
24482
24483 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
24484
24485 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
24486 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
24487
24488 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
24489
24490 * Makefile.in: Fix bit-rot in definitions of CHILL,
24491 CHILL_FOR_TARGET and Chill_LIB.
24492 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
24493 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
24494 CHILL, and CHILL_LIB.
24495
24496 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
24497
24498 * Revert the previous changes. Please see Rob's directory
24499 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24500
24501 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
24502
24503 * Makefile.in, configure.in, config/mips-gdb.exp,
24504 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24505 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24506 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
24507 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24508 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24509 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24510 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24511 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24512 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24513 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24514 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24515 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24516 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24517 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24518 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
24519 changes from 94Q1.
24520
24521 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
24522
24523 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24524 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24525 Rob's new testing fragments.
24526
24527 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
24528
24529 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
24530 lib/gdb.exp: Replace error proc calls with perror.
24531
24532 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24533
24534 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24535 version also, match on casted version strings, and match on
24536 gdb startup case where the line numbers might be messed up.
24537
24538 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
24539
24540 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
24541 (CFLAGS): Delete it from here.
24542
24543 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
24544
24545 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24546
24547 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
24548
24549 * Makefile.in (RUNTEST): Default to just "runtest".
24550
24551 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24552
24553 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24554 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24555 the code has been restructured.
24556
24557 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24558
24559 * gdb.t00/default.exp (set write): Allow any number of \r and/or
24560 \n, not just one of each.
24561
24562 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24563 /bin/cc gives a warning if you do.
24564
24565 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
24566
24567 * gdb.t24/demangle.exp: change expect pattern of
24568 __t10ListS_link1ZUiRCUiPT0
24569
24570 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24571
24572 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24573 on local variables in recursive functions.
24574
24575 * gdb.t07/Makefile.in: Build the new test.
24576
24577 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24578
24579 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24580 directly. Instead compare the return values from actual calls.
24581
24582 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
24583
24584 * Makefile.in (check): Set TCL_LIBRARY for runtest.
24585
24586 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24587
24588 * From Peter Schauer with minor modifications.
24589 * gdb.t15/return.exp (return_tests): Handle targets where "return"
24590 stops in mid-line in the caller. Add xfail for returning a float
24591 value on X86 targets.
24592
24593 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24594
24595 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24596 to avoid expect lossage.
24597 (fmem_LRbug_tests): Likewise.
24598 * gdb.disasm/hppa.s: Corresponding changes.
24599
24600 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24601 conditions to work with latest dejagnu/expect.
24602
24603 * gdb.t15/funcargs.exp (finish from indirect call): No longer
24604 expected to fail on the PA.
24605 (backtrace in call with trampolines): Explicitly require main
24606 to be frame #1 (no trampolines should show up in backtrace).
24607
24608 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24609 "continue -expect".
24610 * gdb.t06/break.exp: Likewise.
24611 * gdb.t07/watchpoint.exp: Likewise.
24612 * gdb.t13/bitfields.exp: Likewise.
24613 * gdb.t15/{funcargs,return}.exp: Likewise.
24614 * gdb.stabs/weird.exp: Likewise.
24615 * config/{mips,udi}-gdb.exp: Likewise.
24616
24617 * hppa.sed: Enclose comments within a sed command to avoid
24618 losing with the old OSF1 sed.
24619
24620 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24621
24622 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
24623 sequent dynix.
24624 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
24625 * gdb.t15/funcargs.exp: Conditionally step again to really
24626 finish from marker_call_with_trampolines. Handle the case where
24627 the first step from within call_with_trampolines already steps
24628 us back to main.
24629 * gdb.t15/gdbme.c: Add comment to closing brace of
24630 call_with_trampolines for funcargs.exp.
24631
24632 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24633
24634 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24635 Fix typo(s).
24636
24637 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24638
24639 * gdb.t07/gdbme.c: More code for watchpoint testing.
24640
24641 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24642 "Hardware watchpoint" throughout file.
24643 (test_watchpoint_triggered_in_syscall): New test.
24644 (test_complex_watchpoint): New test.
24645
24646 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24647
24648 * gdbme.c (call_with_trampolines): New function to try and step
24649 into. Tests trampoline problems on the PA.
24650
24651 * funcargs.exp (localvars_in_indirect_call): No longer expect
24652 stepping into indirect call to fail on PAs.
24653 (test_stepping_over_trampolines): New test.
24654
24655 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24656
24657 * TODO: Add suggestions for static member function tests, and
24658 completion tests.
24659
24660 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24661
24662 * TODO: Add suggestions for "p/a" tests.
24663
24664 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24665 (default_gdb_exit): Replace all the hair with sending "quit" to
24666 the process with a simple close.
24667
24668 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24669
24670 * TODO: Add suggestions for shared library tests.
24671
24672 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24673
24674 * TODO: Add suggestions for x/s tests.
24675
24676 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24677
24678 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24679 "enable once", and "enable breakpoints once" with ".*".
24680
24681 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24682
24683 * TODO: Add suggestions about structure passing tests.
24684
24685 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24686
24687 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
24688 the primary1 test, use work around if __GNUC__ < 2.
24689 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
24690 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
24691 Test for bad output rather than waiting for timeout. Issue
24692 second continue only if first continue failed.
24693
24694 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24695
24696 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24697 operator[] test with gdb_test because the old code didn't seem to
24698 be getting the quoting right with the new dejagnu.
24699
24700 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
24701
24702 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24703 one from the path.
24704 * Makefile.in: Use a fresh expect if there is one, use runtest
24705 from the src tree if there is one.
24706
24707 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24708
24709 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24710 next over recursive call. Revise the tests from that point on
24711 (which had been skipped) to match GDB's actual (correct) output.
24712
24713 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24714 with next over a breakpoint whose condition is false.
24715
24716 * gdb.t00/help.exp: Comment out "help set print" tests just like
24717 (and for same reason as) "help set" test.
24718
24719 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24720
24721 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24722 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24723
24724 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24725
24726 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24727 necessary gdb_target_udi.
24728
24729 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24730
24731 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24732 1838 and 2417; they are fixed.
24733
24734 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24735 gdb.t03/ptype.exp (ptype structure, ptype union):
24736 Remove xfails; the test is looser than when the xfails were added.
24737
24738 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24739 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24740
24741 * gdb.t01/run.exp: Only run shell test if isnative.
24742
24743 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24744 since "run" automatically loads if necessary. Call gdb_target_udi
24745 after the "file" since "file" kills any execution target.
24746
24747 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24748 GDB. GDB doesn't work that way (not anymore at least) on UDI.
24749 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24750 argument for UDI.
24751
24752 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24753
24754 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24755
24756 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24757
24758 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24759
24760 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24761 properly quoting regexps. This makes the second argument to
24762 demangle a fixed string, which matches the callers, instead of a
24763 shell-style pattern which is what the previous implementation
24764 used. Update some of the callers.
24765
24766 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24767
24768 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24769 (comib_nullified_tests): Fix typo.
24770 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24771 strings. No longer expected to fail.
24772
24773 * gdb.disasm/hppa.s (addib_tests): Fix typo.
24774 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24775 strings. No longer expected to fail.
24776
24777 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24778 string. No longer expected to fail.
24779
24780 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24781
24782 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24783 No longer expected to fail.
24784
24785 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24786 string. No longer expected to fail.
24787
24788 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24789
24790 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24791 only in the names (I probably got most of them). I was even
24792 generous with some which differed in underscores in names, and
24793 probably missed a few, and I *still* was able to remove almost a
24794 third of the file with almost no impact on testsuite coverage.
24795
24796 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24797
24798 * gdb.t00/default.exp: Match udi_attach error message as well as
24799 the one from child_attach.
24800
24801 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24802
24803 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24804
24805 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24806 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24807
24808 * Move test with enums and partial symbols back to
24809 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24810 Reverts the change of 26 May 93. Per today's change to
24811 stabs.texinfo, the behavior that weird.exp was expecting was
24812 unreasonable; what is important is that the compiler+gdb get
24813 things right, which happens with a recent gcc. Also fix the test
24814 to deal with native compilers which put out the stab gdb can't
24815 deal with.
24816
24817 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24818
24819 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24820 in the names. The main thing these accomplish is to slow things down.
24821 Many more such duplicates surely remain.
24822
24823 * gdb.t00/help.exp: Comment out "help support" test just like
24824 (and for same reason as) "help set" test.
24825
24826 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
24827
24828 * gdb.t06/break.exp: Remove setup_xfails for
24829 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24830 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
24831 about known bug in gcc to include up through 2.5.8.
24832 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
24833 well as "_vb$".
24834 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24835 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24836 with latest gcc and gdb.
24837 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
24838 well as "_vb$".
24839
24840 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24841
24842 * configure.in (hppa*-*-*): Also configure and build stabs-only
24843 tests.
24844
24845 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24846
24847 * gdb.t10/hppa.mt: A makefile fragment for the PA.
24848 * gdb.t10/configure.in (hppa*-*-*): Use it.
24849
24850 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24851
24852 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
24853
24854 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24855
24856 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
24857 versions prior to 1.13.5.
24858
24859 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24860
24861 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
24862 the prompt is at the start of a line.
24863
24864 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24865
24866 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
24867 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
24868 in the copr tests now.
24869 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
24870 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
24871 expected to fail.
24872
24873 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
24874
24875 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
24876 gdb.t31/chillvars.exp, lib/gdb.exp:
24877 Tweak to run under either version of expect.
24878 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
24879 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
24880 * gdb.t11/list.exp: Remove extraneous whitespace.
24881
24882 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24883
24884 * gdb.t16/printcmds.exp (test_print_strings): Accept
24885 "(unsigned char *) " before the string.
24886
24887 * TODO: Add notes about printing of fancy types and GDB expressions.
24888
24889 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
24890
24891 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
24892 * gdb.t06/configure.in: Don't try to compile signals test program
24893 if doing mips-idt-ecoff.
24894
24895 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
24896
24897 * Most .exp files: Tweak to run under either version of expect.
24898
24899 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24900
24901 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
24902 xfails; I'm not sure why they are failing, but not because of PR 1806.
24903
24904 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
24905
24906 * config/unix-gdb.exp: Remove gdb_unload cause it's already
24907 defined in lib/gdb.exp.
24908
24909 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24910
24911 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
24912 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
24913 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
24914 have to be typeless.
24915
24916 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24917
24918 * TODO: Add suggestion for copyright year test.
24919
24920 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
24921
24922 * configure.in (*-*-lynxos*): Add stabs tests.
24923
24924 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24925
24926 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
24927 so insert a tab before any assembler directive in column zero.
24928
24929 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
24930 stores.
24931 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
24932 stores.
24933 (fpu_short_memory_tests): Likewise.
24934
24935 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24936
24937 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
24938 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
24939 .stabs directives in comments.
24940
24941 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24942
24943 * TODO: New file, describing tests we could write.
24944 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
24945
24946 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24947
24948 * gdb.t06/signals.exp: Add kludge to force re-sync.
24949
24950 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
24951 to xgdb instead of gdb, get out of gdb.
24952
24953 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
24954
24955 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
24956 for info.
24957
24958 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24959
24960 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
24961 * gdb.stabs/configure.in (hppa*-*-*): Use it.
24962 * gdb.stabs/hppa.sed: New sed script for the PA.
24963
24964 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24965
24966 * gdb.stabs: Re-write weird.def and configuration to use sed
24967 instead of cpp. sed is portable and POSIX; cpp is neither.
24968
24969 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24970
24971 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
24972
24973 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24974
24975 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
24976
24977 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24978
24979 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
24980 "_vb$".
24981 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
24982 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
24983
24984 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24985
24986 * lib/gdb.exp: Comment out code which depends on non-existent
24987 `transform' procedure.
24988
24989 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
24990
24991 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
24992 * lib/gdb.exp: Transform tool name.
24993 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
24994 1.1's new error handling system.
24995
24996 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24997
24998 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
24999
25000 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25001
25002 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25003 They made pattern matching so slow that timeouts happened on
25004 heavily loaded systems. Now any output from "show print" which
25005 gets us back to the GDB prompt is a PASS.
25006
25007 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25008
25009 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25010
25011 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25012
25013 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25014
25015 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25016 It is not from PR 3220.
25017
25018 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25019
25020 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25021 just started failing because they depended on the order the
25022 subcommands are presented, or exact docstring text. This kind of
25023 test is a pain and has minimal benefit.
25024
25025 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25026
25027 * gdb.t09/corefile.exp: At end of test, use "core" command with
25028 no arguments.
25029
25030 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25031
25032 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25033 17}/Makefile.in: Make it possible to run the testsuite with Sun
25034 make and CC = cross gcc by adding explicit build rules for .o
25035 files.
25036
25037 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25038
25039 * gdb.t15/funcargs.exp: Don't put comments on same line as
25040 setup_xfail (@#$*%& tcl braindamage!).
25041
25042 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25043
25044 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25045
25046 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25047
25048 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25049 * gdb.t20/inherit.exp: remove three dumplicate entries.
25050
25051 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25052
25053 * gdb.t06/break.exp: For "next over recursive call", fail on any
25054 incorrect output, not just on "factorial (value=2)".
25055
25056 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25057
25058 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25059 working now. Add an xfail if accesing a bss variable causes
25060 a memory error if the target is not yet run.
25061
25062 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25063
25064 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25065 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25066 name of __st* demangling (2 strings). Did Kung really get the
25067 more than 95 others right without testing them?
25068
25069 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25070
25071 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25072
25073 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25074
25075 * configure.in (configdirs): Add gdb.disasm
25076 * gdb.disasm: New directory for GDB disassembler tests.
25077 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25078
25079 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25080
25081 * gdb.t00/help.exp: Don't test "help set".
25082
25083 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25084 from within expect statements. None of these happen anymore and
25085 they cause regressions to be silently unnoticed.
25086
25087 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25088 messages) about known failures with gcc cygnus-2.4.5-930417.
25089
25090 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25091 comp-info.exp so it gets built if it doesn't exist.
25092
25093 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25094 it is no longer used.
25095 * gdb.t13/comp-info.c: Removed.
25096
25097 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25098
25099 * gdb.t06/signals.exp: Add xfail for sun3.
25100
25101 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25102
25103 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25104 relevant because ^C doesn't get sent but failure can be reproduced
25105 interactively).
25106
25107 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25108
25109 * gdb.stabs/alpha.mt: New configuration file for alpha.
25110 * gdb.stabs/configure.in: Use it.
25111 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25112 sharing with alpha.mt, redefine long to word via preprocessor.
25113 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25114 for alpha.
25115 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25116 native cc.
25117 * gdb.t00/teststrategy.exp: Change expect string so that we
25118 consume the `(xgdb)' from the command echo and from the gdb prompt.
25119 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25120 gdb currently compares all values as long, so this failure probably
25121 applies to any configuration where LONGEST is bigger than a target int.
25122 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25123 with gcc.
25124 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25125 to handle opaque pointers, gcc is.
25126 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25127 as first argument. Include <sys/types.h> and change all operator
25128 new definitions to use size_t.
25129 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25130 now that we use size_t.
25131
25132 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25133
25134 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
25135 a long or float array cast all array members to the same type.
25136 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
25137 with 64 bit longs.
25138 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
25139 on alpha.
25140 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
25141
25142 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25143
25144 * gdb.t24 (demangle.exp): Constructors of templates have names like
25145 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25146 section 14.6 of the ARM.
25147
25148 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25149 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25150 accomplish little and slow down the testsuite.
25151
25152 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25153 Accept spaces various places.
25154
25155 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25156
25157 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25158 with watchpoint enabled.
25159
25160 * Makefile.in: Remove definition of CC and remove the second
25161 definition of CXX (the "CXX = gcc" one remains). These definitions
25162 were causing backquotes to be expanded within backquotes, which
25163 doesn't work.
25164
25165 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25166
25167 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25168
25169 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25170
25171 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25172 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
25173 by mips cc and contains no stabs entries.
25174
25175 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25176
25177 * config/vx-gdb.exp: Use fake device to load files rather than
25178 NFS.
25179 * lib/gdb.exp: New proc to do "file" command.
25180 * config/unix-gdb.exp: Use new "file" proc.
25181
25182 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25183
25184 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25185 Rework board rebooting slightly.
25186 (gdb_exit): Don't exit from the remote shell; there isn't one.
25187 * gdb.stabs/weird.exp: If a program is being debugged already,
25188 kill it.
25189 * gdb.t04/setvar.exp: Stop and restart gdb.
25190 * gdb.t05/expr.exp: Likewise.
25191 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25192 restart gdb and reload the program.
25193 * gdb.t08/opaque.exp: Likewise.
25194 * gdb.t12/scope.exp: Likewise.
25195 * gdb.t13/bitfields.exp: Likewise.
25196 * gdb.t15/funcargs.exp: Likewise.
25197 * gdb.t20/classes.exp: Likewise.
25198 * gdb.t03/ptype.exp: Increase timeout.
25199 * gdb.t16/printcmds.exp (test_print_string_constants,
25200 test_print_array_constants): Likewise.
25201 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25202 * gdb.t20/classes.exp (do_tests): Likewise.
25203 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25204
25205 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25206
25207 * gdb.stabs: Renamed *wierd* to *weird*.
25208
25209 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25210
25211 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25212 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25213
25214 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25215
25216 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25217 (do_tests): Remove xfail for whatis on one_var and two_var.
25218
25219 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25220
25221 * Makefile.in: Made cross building work better by adding
25222 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25223
25224 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25225
25226 * gdb.t15/{return.c,return.exp,Makefile.in}:
25227 New test, currently commented out.
25228
25229 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25230
25231 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25232 still running and removes the leftover named socket so GDb can do
25233 clean restarts.
25234
25235 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25236
25237 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25238 console, not GDB.
25239 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25240 cross testing works better with "make check"
25241 * config/unix-gdb: Use default procedures for exit and version.
25242 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25243 with the newest VxWorks.
25244
25245 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25246
25247 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25248 old form.
25249
25250 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25251 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25252
25253 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25254
25255 * config/unix-gdb.exp: Remove this version of gdb_exit
25256 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25257 Rob says he'll look at it when he gets back to testing boards.
25258
25259 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25260
25261 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25262 an expected fail for certain ptype commands.
25263
25264 * gdb.t20/classes.exp: Update expected results of "ptype class
25265 Base1" to account for the constructor that now appears in the type.
25266
25267 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25268
25269 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25270 disappeared from list.
25271 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25272 "alldone" proc with call to cleanup and exit.
25273 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25274 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25275 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25276 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25277 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25278 "alldone" proc with simple returns that suppress remaining
25279 tests. The alldone proc went away many months ago.
25280
25281 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25282
25283 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25284
25285 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25286
25287 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25288
25289 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25290 as vax gdb will display them.
25291
25292 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25293
25294 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25295 optimizers.
25296
25297 * scope.exp: Change "bad value for localval" messages so each one
25298 is unique.
25299
25300 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25301 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25302
25303 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25304
25305 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25306
25307 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25308 doesn't exist (due to optimization).
25309
25310 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25311
25312 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25313 contains \r because the filename is long.
25314
25315 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25316 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25317
25318 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25319
25320 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25321 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
25322 Ultrix.
25323 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
25324 int tests.
25325 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
25326
25327 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
25328
25329 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
25330
25331 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
25332 to match does not match the passing case but still matches the
25333 failing case.
25334
25335 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25336
25337 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25338
25339 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
25340
25341 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25342 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25343 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25344 Remove various versions of gdb_exit.
25345 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
25346 gdb_exit.
25347 * config/unix-gdb.exp: gdb_exit remains here, and should override
25348 the generic version, since it's doing a lot of wierd stuff that
25349 the other versions aren't. FIXME, fold it in, or abandon this
25350 version.
25351
25352 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25353
25354 * gdb.t24/demangle.exp: Add tests for PR 3220.
25355
25356 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25357
25358 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25359
25360 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
25361
25362 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
25363 "i386-*-*". Works for i486 as well.
25364
25365 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
25366 bug, and expand domain of xfail to all SVR4 systems, since the
25367 actual problem is likely to be in generic SVR4 /proc support.
25368
25369 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25370
25371 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25372
25373 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
25374
25375 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
25376 xfails for other systems. Match a missing 'Continuing.' as an
25377 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25378
25379 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25380 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25381 Only issue warning for missing executables if -all option is used.
25382
25383 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
25384 file if -all option is used. It's like an unpredictable XFAIL.
25385
25386 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25387
25388 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25389 for dynamically linked binaries.
25390
25391 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25392
25393 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25394
25395 * gdb.t20/inherit.exp: Change message for "print tagless struct"
25396 to state that this is a known bug in old versions of g++.
25397
25398 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25399
25400 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
25401 while waiting for `Continuing'.
25402
25403 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
25404
25405 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
25406 in text, data, and bss.
25407 * gdb.t10/nodebug.c: Add local and global test variables for
25408 initialized and uninitialized data.
25409
25410 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25411
25412 * config/unix-gdb.exp (gdb_exit): Add "wait".
25413
25414 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25415
25416 * gdb.t06/signals.exp: xfail the continue from the handler for all
25417 targets.
25418
25419 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
25420 function with watchpoints enabled, the i386 call dummy starts with
25421 a call.
25422
25423 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
25424 386 bsd names its corefiles.
25425
25426 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
25427
25428 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
25429 compilers don't grok it.
25430 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
25431 with small octal ints rather than character constants, which
25432 are signed and might not fit if first promoted to int.
25433
25434 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
25435
25436 * gdb.t09/Makefile.in (clean): Remove corefile.
25437
25438 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25439
25440 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25441
25442 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25443 and Jim Kingdon (kingdon@cygnus.com)
25444
25445 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25446 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
25447 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25448
25449 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25450
25451 * gdb.t17/interrupt.exp: Add xfail for hppa.
25452
25453 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25454
25455 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25456 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
25457 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
25458 to determine signed-ness of bitfields and use the result to setup
25459 the xfail.
25460 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
25461 * gdb.t15/funcargs.exp: Use them to step until the second indirect
25462 call line is reached if necessary.
25463
25464 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25465
25466 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25467
25468 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25469
25470 * gdb.t06/break.exp: Also test `clear' command.
25471
25472 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25473
25474 * gdb.t00/teststrategy.exp: Remove extra quote.
25475
25476 * gdb.t07/watchpoint.exp: Change xfail for calling function with
25477 watchpoint enabled to be for all non-68k machines.
25478
25479 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25480
25481 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25482
25483 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25484 targets use aout.mt instead of ecoff.mt as gas understands
25485 standard aout format.
25486
25487 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25488
25489 * lib/gdb.exp (runto): Don't insist that function we are running to
25490 was compiled with -g.
25491
25492 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25493
25494 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25495 to get back into the read system call.
25496 Accept leading newline in case where we woke it up.
25497
25498 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25499
25500 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
25501 to make the stabs test work on ecoff systems using gcc and -with-stabs.
25502 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
25503 enable ecoff configuration.
25504
25505 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25506
25507 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25508
25509 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25510
25511 * gdb.t16/printcmds.exp: Add another printf test.
25512
25513 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
25514
25515 * configure.in: If configured -with-stabs on any target, add
25516 stabsdirs to configdirs.
25517
25518 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25519
25520 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25521 fun" so pattern does not match the command itself.
25522
25523 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25524
25525 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25526
25527 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25528
25529 * gdb.t17/interrupt.exp: Test for more things.
25530
25531 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25532
25533 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25534 compiler arranges the code and line numbers.
25535
25536 * gdb.t17/interrupt.exp: Don't send \n after ^C.
25537
25538 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25539
25540 * gdb.t00/help.exp: Increase expect input buffer size.
25541
25542 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25543
25544 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25545
25546 * gdb.t07/watchpoint.exp: Add xfail for hppa.
25547
25548 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25549
25550 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25551 [0-9]*, not just [0-9].
25552
25553 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25554
25555 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25556
25557 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25558
25559 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25560
25561 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25562
25563 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25564
25565 * gdb.t06/signals.c: Add xfails for sun3.
25566
25567 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25568
25569 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
25570 test_stepping tests.
25571
25572 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25573
25574 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25575
25576 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25577
25578 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25579 rather than actually putting it through cpp twice.
25580
25581 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25582
25583 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
25584
25585 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25586 no longer needed.
25587
25588 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25589
25590 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25591
25592 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25593 C++ features prints as "struct", make it a pass, not an xfail.
25594
25595 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25596
25597 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25598 Don't require VA to print as "class" rather than "struct".
25599
25600 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
25601
25602 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25603
25604 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25605
25606 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25607
25608 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25609
25610 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
25611 order.
25612
25613 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25614
25615 * gdb.t16/printcmds.exp: Add printf tests.
25616
25617 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25618
25619 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25620
25621 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
25622
25623 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
25624 pass counts, to counteract any existing or future setup_xfails.
25625
25626 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25627
25628 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25629 {BEGIN,END}_COMMON for common block instead of STAB.
25630 * gdb.stabs/wierd.exp: Add xfail for rs6000.
25631
25632 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25633 intp_var should be N_GSYM not N_LSYM.
25634 wierd-aout.S: Use a label for the value of the N_SO.
25635 wierd.def: Remove all backslashes.
25636 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25637
25638 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25639
25640 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25641 get the expected next to inheritance3.
25642
25643 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25644
25645 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25646 now that gcc-2.4 gets it right.
25647
25648 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25649
25650 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25651
25652 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25653 generating comp-info.exp which works for cross-compilation.
25654
25655 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
25656
25657 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
25658 "*-*-sysv4.*".
25659
25660 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
25661
25662 * gdb.t01/run.exp: Start with a fresh gdb.
25663 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
25664 SVR4.x.
25665
25666 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
25667
25668 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25669 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25670 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25671 Makefile.in (distclean, realclean): Remove gdbme.c from list of
25672 things to remove.
25673
25674 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
25675
25676 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
25677 test cases from bug reports.
25678
25679 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
25680
25681 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
25682 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
25683 avoid spurious xfails.
25684 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
25685 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
25686 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
25687
25688 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
25689
25690 * gdb.t00/teststrategy.exp: Rework to provide more useful
25691 description of each test, fix problem with systems that define
25692 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25693 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
25694 results for "next over recursive call" so timeouts aren't taken
25695 by error.
25696
25697 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
25698
25699 * gdb.t12/scope.exp: Test printing of variables before run.
25700
25701 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25702 printed in wrong order due to sorting.
25703
25704 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
25705
25706 * gdb.t00/teststrategy.exp: Fix expected results for printing
25707 user entered string constant. Is array of char, prints with no
25708 address.
25709
25710 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
25711 commands.
25712 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
25713 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
25714 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
25715 of struct of char arrays.
25716 * gdb.t00/radix.exp: New tests for radix commands.
25717
25718 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
25719
25720 * gdb.t16/printcmd.exp: Print a variable before running program
25721 (with xfail for AIX).
25722
25723 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
25724
25725 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25726
25727 * gdb.t16/printcmd.exp: Don't print variables before running program.
25728
25729 * gdb.t06/break.exp: Don't require envp argument to main.
25730
25731 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25732
25733 * gdb.t02/whatis.exp, gdb.t11/list.exp:
25734 Add xfails for rs6000.
25735
25736 * gdb.t02/whatis.exp: Change other tests not to re-test something
25737 we already tested.
25738
25739 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25740 each type used has a variable of that type.
25741
25742 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
25743
25744 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25745
25746 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
25747
25748 * configure.in: change srctrigger to be a file, not a directory
25749
25750 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
25751
25752 * configure.in (mips-idt-ecoff*): Added trailing '*'.
25753
25754 * gdb.t11/list.exp: Fixed a couple of typos.
25755
25756 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
25757
25758 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
25759 is fixed and PR is closed.
25760 * gdb.t16 (gdbme.c): Add simple test string variable.
25761 * gdb.t16 (printcmds.exp): Add tests with simple test string
25762 variable, primarily for boundaries on "set print elements".
25763
25764 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
25765
25766 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25767 Make leading 0's optional and don't expect a tab in the middle
25768 of the number.
25769
25770 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25771
25772 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25773 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
25774 don't end command passed to gdb_test with newline.
25775
25776 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25777 signed keyword away, don't expect signed bitfields to be signed.
25778
25779 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25780 printing with only as many 1's as are in the field as well as printing
25781 with 32 1's (see comment).
25782
25783 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
25784
25785 * gdb.t00/default.exp: Start with a fresh gdb.
25786 * configure.in (configdirs): Remove gdb.t31 until the chill
25787 compiler works again. It no longer is able to find chillrt0
25788 since it isn't in libchill.a anymore.
25789 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
25790 wierd.o, make more modular.
25791 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
25792 spurious newlines that caused problems.
25793
25794 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25795
25796 * Move test with enums and partial symbols from gdb.t03/ptype.exp
25797 to gdb.stabs/wierd.exp since GCC has worked around the bug.
25798 gdb.stabs/wierd.{exp,def}: Many new tests.
25799
25800 * gdb.t00/default.exp: update info line for new message.
25801
25802 * gdb.t02/{whatis.exp,gdbme.c}:
25803 Test that "char *" doesn't print as "caddr_t".
25804
25805 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25806
25807 * gdb.t00/help.exp: Use .* in place of some help messages which
25808 just changed.
25809 gdb.t00/default.exp: Update "info frame" test for new message.
25810 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25811 Remove some xfails
25812
25813 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25814
25815 * gdb.t03/{gdbme.c,ptype.exp}:
25816 Add tests for typedef'd struct and union without tags.
25817 Also check "whatis" on a variable of a typedef'd enum without a tag.
25818
25819 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25820 PRMS 1823; the bug still exists but isn't reproduced by this test
25821 anymore), and remove rs6000 XFAIL (the bug is fixed).
25822
25823 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25824 duplicated from whatis.exp. For those that are left, accept
25825 "long", "long int", or "int" for long variables (whatis.exp already
25826 has an XFAIL for "int", so no need to fail it here).
25827
25828 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25829 Deal with GCC's names for types now that GDB uses the compiler's names.
25830
25831 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
25832 setup_xfail's for sunos4. If we #defined the signed keyword away,
25833 don't expect GDB to know that char it is signed.
25834
25835 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25836
25837 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
25838
25839 * configure.in (configdirs): Add gdb.t24 for C++ tests that
25840 should work on any system, regardless of debugging format.
25841 * gdb.t21/demangle.exp: Move to gdb.t24.
25842 * gdb.t24/demangle.exp: Move from gdb.t21.
25843 * gdb.t24/{Makefile.in, configure.in}: New files.
25844
25845 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25846
25847 * configure.in: Do gdb.stabs and C++ tests only for stabs.
25848 * gdb.stabs: New directory.
25849
25850 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25851
25852 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25853 not just "Quit anyway?".
25854
25855 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
25856
25857 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
25858 that all setup_xfails are immediately followed by clear_xfails.
25859
25860 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
25861
25862 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
25863 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
25864 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
25865 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
25866 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
25867 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25868 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25869 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
25870 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
25871 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
25872 gdb.t31/chillvars.exp, lib/gdb.exp:
25873 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
25874 bug-gdb@prep.ai.mit.edu.
25875
25876 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
25877
25878 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
25879 with 0.0, not integer 0.
25880
25881 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
25882
25883 * gdb.t06/break.exp: Update for "Kill the program" message change.
25884
25885 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
25886
25887 * Makefile.in (GDBFLAGS): Set to -nx.
25888 * Makefile.in (site.exp): Use GDBFLAGS.
25889
25890 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25891
25892 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
25893 Makefiles.
25894 (check): depend on just-check.
25895 (just-check): added so that tests can be run without a noop
25896 build pass.
25897
25898 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25899
25900 Switch to using configure's configdirs.
25901 * Makefile.in (Makefile): add configure.in dependency.
25902 (SUBDIRS): removed redundant assignment.
25903 * configure.in: switch subdirs assignment to configdirs.
25904 * gdb.t*/configure.in: new files.
25905
25906 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
25907
25908 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
25909 works.
25910
25911 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
25912
25913 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
25914 in explicit rules. Apparently this is not supported by some makes.
25915
25916 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
25917
25918 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
25919
25920 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25921
25922 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
25923 disappeared.
25924
25925 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
25926
25927 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
25928
25929 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
25930
25931 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
25932 watchpoint problem that is now fixed.
25933 * gdb.t30/chexp.exp: Remove setup_xfail for printing
25934 uninitialized convenience variables.
25935 * gdb.t31/chillvars.exp: Fix expected patterns for printing
25936 structures.
25937
25938 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25939
25940 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
25941 which causes expect to get out of sync with gdb on long output
25942 from help set.
25943 * gdb.t09/corefile.exp: Make expected pattern for core file
25944 failing signal and frame output format less sun specific.
25945
25946 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
25947
25948 * gdb.t31/chillvars.exp: Add and remove initial dummy
25949 breakpoint, so that symbol table is forced in.
25950 (Needed at least on Sunos4, though it seems not SVR4.)
25951 * gdb.t31/chillvars.exp: Update for changed output format.
25952
25953 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
25954
25955 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
25956
25957 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
25958
25959 * Makefile.in: Added --srcdir when invoking runtest, removed the
25960 need for a local config file. (optional now)
25961
25962 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
25963
25964 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
25965 failure count used to force early termination. Add some more
25966 expected failures for gnu style demangling.
25967
25968 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25969
25970 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
25971 pmi variable from gdb.t20/gdbme to get optimized away.
25972 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
25973 Check for written corefile upon timeout _and_ eof.
25974
25975 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25976
25977 * config/unix-gdb.exp: Add missing return 0.
25978
25979 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25980
25981 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
25982 test termination.
25983
25984 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
25985
25986 * configure.in (subdirs): Put back gdb.t17 which mysteriously
25987 disappeared.
25988
25989 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
25990
25991 * gdb.t10/crossload.exp: Disable the i860-elf test until such
25992 time as i860 support works.
25993
25994 * gdb.t15/funcargs.exp: Fix expected outputs to include
25995 "backtrace 100\r" rather than just "backtrace\r", to match last
25996 change.
25997
25998 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
25999
26000 * config/udi-gdb.exp (gdb_exit): Remove close command.
26001 (gdb_target_udi): New procedure to set the UDI target.
26002 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26003 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26004 Added waits for prompts after several question responses. Added
26005 some more responses used by a29k-amd-udi-gdb.
26006 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26007 pass different arguments, restart UDI connection after program
26008 completion.
26009 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26010 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26011 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26012 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26013 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26014 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26015 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26016 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26017 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26018 after program completion.
26019 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26020 compiled with a SELECT_VECS setting.
26021 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26022 infinite recursion.
26023
26024 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26025 Added checks for COFF results, and made them expected failures for
26026 all targets. It would be better to make them expected failures
26027 for COFF targets only.
26028
26029 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26030
26031 * Makefile.in: add null dvi target, don't bother to recurse
26032 through test directories for info and install-info; rename
26033 $(datadir) to be dejagnu instead of deja-gnu
26034
26035 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26036
26037 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26038 compiler to coredump.
26039 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26040 code.
26041
26042 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26043
26044 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26045 coredump.
26046 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26047 code.
26048
26049 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26050
26051 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26052 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26053 which in a shell. Deletes xgdb when done.
26054 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26055 Tests the return from the "set height" or "set width" commands.
26056 Added a few return codes where needed.
26057
26058 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26059
26060 * Makefile.in (SUBDIRS): Add gdb.t17.
26061 * configure.in (subdirs): Add gdb.t17.
26062 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26063 files to test gdb's calling of functions in the inferior with
26064 the correct arguments and gdb's ability to retrieve any
26065 result returned.
26066
26067 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26068
26069 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26070 may be called after gdb goes away. Previous versions of expect
26071 needed these to avoid file descriptor leaks, but they cause
26072 errors with the current revision of expect.
26073 * gdb.t00/gdbvars.exp: Use -re on expected output after
26074 setting sevenbit-strings.
26075 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26076 to set sevenbit-strings consistent across tests.
26077 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26078 set sevenbit-strings consistent across tests.
26079
26080 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26081
26082 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26083 expected output to match current "expect" expectations.
26084
26085 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26086
26087 * gdb.t00/default.exp: Change expected output for default "source"
26088 command, to match new gdb behavior which requires a filename to
26089 source.
26090
26091 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26092
26093 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26094 expected fail for i486-*-* that misses the marker2 function.
26095 * gdb.t10/crossload.exp (bfddefault): Allow successful
26096 recognition of a format to pass even if no symbols are found.
26097 Explicitly catch failures where the format is not recognized
26098 or is ambiguous, and add the reason to the fail message.
26099 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26100 the cause is and invalid target and add reason to failure message.
26101 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26102 elf32-i386, elf32-sparc, and elf32-i860.
26103 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26104 Set up expected failure for 'filename'::variable scope resolution,
26105 which is now apparently broken on all targets.
26106 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26107 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26108 gdb.t23/templates.exp: Change failure for missing binfile into
26109 just a warning.
26110 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26111 references.
26112
26113 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26114
26115 * gdb.t00/default.exp: Add expected output for default "source"
26116 command, to match new gdb behavior.
26117 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26118
26119 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26120
26121 * config/*-gdb.exp: returns an error, rather than exiting on
26122 internal errors.
26123
26124 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26125
26126 * gdb.t03/gdbme.c: Add pointer to struct variable.
26127 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26128 referencing struct members.
26129
26130 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26131
26132 * configure.in (mips-idt-ecoff): New target.
26133 * config/mips-gdb.exp: New file for remote board using MIPS remote
26134 debugging protocol.
26135
26136 * Redid configuration scheme. Removed gdb.t*/configure.in.
26137 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26138 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26139 distclean targets. Built executables via .o files. Adjusted
26140 tests to account for source files in $(srcdir) rather than
26141 $(objdir).
26142 * lib/gdb.exp (runto): Don't expect () after the function name,
26143 because it may have arguments.
26144
26145 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26146
26147 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26148 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26149 expected failures for mips-idt-* and mips-sgi-*.
26150 * gdb.t00/default.exp (attach): Kill process if requested.
26151 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26152 that does not read core files.
26153 * gdb.t01/run.exp: Removed checks for exit status code.
26154 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26155 it is linked in.
26156 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26157 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26158 appropriate, rather than doing it by hand.
26159 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26160 execution.
26161 * gdb.t10/crossload.exp: Kill existing program if needed.
26162 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26163 appropriate, rather than doing it by hand. Always increase
26164 timeout for this test, not just for VxWorks.
26165
26166 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26167
26168 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26169 of Chill STRUCT types and STRUCT values.
26170 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26171 than "char".
26172 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
26173 struct2): New struct definitions and initializations to test
26174 simple Chill STRUCT types.
26175
26176 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26177
26178 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26179 the null byte at the end of strings.
26180 * gdb.t00/default.exp: Make show version insensitive to copyright
26181 date.
26182 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26183 to avoid dependencies on target char signedness.
26184 * gdb.t16/printcmds.exp: Update expected results for explicitly
26185 unsigned char.
26186 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26187 now work.
26188 * gdb.t21/demangle.exp: Add many more patterns for template
26189 demangling, most of them being expected failures.
26190 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26191 string we are matching for, to match on the whole string.
26192 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26193 and fix a whole bunch that had incorrect expected output but were
26194 passing anyway because of the bug in "proc demangle".
26195 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26196 type.
26197 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26198
26199 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26200
26201 * gdb/testsuite: made modifications to testcases, etc., to allow
26202 them to work properly given the reorganization of deja-gnu and the
26203 relocation of the testcases from deja-gnu to a "tool" subdirectory.
26204
26205 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26206
26207 * gdb/testsuite: Initial creation of gdb/testsuite.
26208 Migrated dejagnu testcases and support files for testing nm to
26209 gdb/testsuite from deja-gnu. These files were moved "as is"
26210 with no modifications. This migration is part of a major overhaul
26211 of dejagnu. The modifications to these testcases, etc., which
26212 will allow them to work with the new version of dejagnu will be
26213 made in a future update.
26214
26215 For additional changes see gdb.mi/ChangeLog-1999-2003.
26216 \f
26217 ;; Local Variables:
26218 ;; mode: change-log
26219 ;; left-margin: 8
26220 ;; fill-column: 74
26221 ;; version-control: never
26222 ;; End:
26223
26224 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
26225 2003, 2004, 2005 Free Software Foundation, Inc.
26226 Copying and distribution of this file, with or without modification,
26227 are permitted provided the copyright notice and this notice are preserved.