gdb/testsuite/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-08-14 Yao Qi <yao@codesourcery.com>
2
3 * gdb.base/maint.exp: set data_section to ".neardata".
4 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
5 * gdb.base/savedregs.exp: Handle SIGILL.
6 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
7 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
8
9 2011-08-12 Doug Evans <dje@google.com>
10
11 * gdb.python/py-symbol.exp: Add test for symbol.type.
12
13 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
14
15 * gdb.threads/pthreads.exp: Enable on non-native configurations.
16 * gdb.mi/mi-pthreads.exp: Likewise.
17 * gdb.mi/mi2-pthreads.exp: Likewise.
18 * gdb.mi/gdb669.exp.exp: Likewise.
19
20 2011-08-09 Pedro Alves <pedro@codesourcery.com>
21
22 * lib/mi-support.exp (detect_async): Rename to...
23 (mi_detect_async): ... this.
24 * gdb.mi/mi-nonstop-exit.exp: Adjust.
25 * gdb.mi/mi-nonstop.exp: Adjust.
26 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
27 * gdb.mi/mi-nsintrall.exp: Adjust.
28 * gdb.mi/mi-nsmoribund.exp: Adjust.
29 * gdb.mi/mi-nsthrexec.exp: Adjust.
30
31 2011-08-09 Pedro Alves <pedro@codesourcery.com>
32
33 * gdb.base/display.c (do_loops): New `p_i' local.
34 * gdb.base/display.exp: Test displaying a variable that is
35 temporarily at a bad address.
36
37 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 * gdb.dwarf2/dw2-op-stack-value.S: New file.
40 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
41
42 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
43
44 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
45 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
46 (p fuNC_symtab): Permit also ppc64 leading dot.
47
48 2011-08-05 Pedro Alves <pedro@codesourcery.com>
49
50 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
51 procedure.
52 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
53
54 2011-08-05 Yao Qi <yao@codesourcery.com>
55
56 * gdb.base/callfuncs.exp: Set language after main.
57 * gdb.cp/cplusfuncs.exp: Likewise.
58 * gdb.cp/inherit.exp: Likewise.
59
60 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
61
62 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
63 * gdb.base/watch-vfork.exp: Skip on remote targets.
64
65 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
66
67 * gdb.threads/thread-find.exp: Support remote targets.
68
69 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
70
71 * gdb.base/jit.exp: Download solib_binfile to target.
72 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
73 and call dlopen without full path name.
74 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
75 dlopen without full path name.
76
77 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
78
79 * gdb.base/break-always.exp: Complete the test
80 with duplicated breakpoints and enabling/disabling them.
81
82 2011-08-02 Tom Tromey <tromey@redhat.com>
83
84 PR gdb/11289:
85 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
86
87 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
88
89 PR gdb/13045
90 * gdb.base/float.exp: Add new test case for PR gdb/13045
91 * gdb.base/float.c: New file.
92
93 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
94
95 * gdb.python/py-mi.exp: Test printers returning string hint, and
96 also not returning a value.
97 * gdb.python/py-prettyprint.c: Add testcase for above.
98 * gdb.python/py-prettyprint.py: Add test printer for above.
99
100 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
101
102 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
103 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
104 (.Ldie30) Add as field "data4".
105 (.Ldie32) Rename field "b" to "shl".
106 (abbrev4) Change for the "data4" field.
107 (abbrev5, abbrev6) Remove.
108 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
109 (p &s.shl): ... here. Add comment.
110 (p &s.data4): New.
111
112 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
113
114 Fix crash on lval_computed values.
115 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
116
117 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
118
119 * gdb.base/help.exp (help whatis): Update the expected string.
120
121 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
122
123 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
124 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
125 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
126 Change the expected string.
127
128 2011-07-26 Pedro Alves <pedro@codesourcery.com>
129
130 * gdb.base/watchpoint.exp
131 (test_disable_enable_software_watchpoint): New procedure.
132 (top level): Run it.
133
134 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
135
136 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
137 executable file "${binfile}", C++ version "${binfile}-cxx".
138 * gdb.python/py-prettyprint.exp: Likewise.
139 * gdb.python/py-symbol.exp: Likewise.
140 * gdb.python/py-type.exp: Likewise.
141 * gdb.python/py-value.exp: Likewise.
142 * gdb.python/py-template.exp (test_template_arg): Pass full executable
143 file name instead of just suffix.
144
145 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
146
147 Fix implicit pointer offsets.
148 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
149 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
150 (continue to breakpoint: continue to baz breakpoint for implptr)
151 (sanity check element 0, sanity check element 1)
152 (enter the inlined function, check element 0 for the offset)
153 (check element 1 for the offset)
154 (continue to breakpoint: ignore the second baz breakpoint): New tests.
155 (set foo breakpoint for implptr): Update the breakpoint number.
156
157 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
158
159 * gdb.python/py-mi.exp: Use different file names for different
160 versions of the executable under test.
161 * gdb.python/py-prettyprint.exp: Likewise.
162 * gdb.python/py-symbol.exp: Likewise.
163 * gdb.python/py-template.exp: Likewise.
164 * gdb.python/py-type.exp: Likewise.
165 * gdb.python/py-value.exp: Likewise.
166
167 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
168
169 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
170 flag after restarting GDB if necessary.
171
172 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
173
174 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
175
176 2011-07-22 Pedro Alves <pedro@codesourcery.com>
177
178 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
179 backend doesn't leave used debug registers behind.
180
181 2011-07-22 Tom Tromey <tromey@redhat.com>
182
183 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
184 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
185 argument.
186 * gdb.dwarf2/typeddwarf-amd64.S: New file.
187
188 2011-07-21 Matt Rice <ratmice@gmail.com>
189
190 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
191 in mostlyclean rule. Add files ending in .core.
192
193 2011-07-21 Matt Rice <ratmice@gmail.com>
194
195 PR macros/12999
196 * gdb.base/info-macros.c: New test sources.
197 * gdb.base/info-macros.exp: New tests.
198
199 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
200
201 * gdb.python/python.exp: Add prompt substitution tests.
202
203 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
204
205 Fix crash if referenced CU is aged out.
206 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
207 New.
208 * gdb.dwarf2/implptr.exp: Likewise.
209
210 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
211
212 * gdb.dwarf2/implptr.S: Rebuilt.
213 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
214 (bar): Use them for j, k, l.
215 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
216 COMPILE.
217 (print j in implptr:bar): Update for the intp typedef.
218 (print p[0].x in implptr:foo): Use more exact regex.
219
220 2011-07-18 Tom Tromey <tromey@redhat.com>
221
222 * gdb.cp/static-method.exp: Add missing single quote.
223
224 2011-07-18 Yao Qi <yao@codesourcery.com>
225
226 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
227 supported.
228 * gdb.mi/mi-nonstop-exit.exp: Likewise.
229 * gdb.mi/mi-nonstop.exp: Likewise.
230 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
231 * gdb.mi/mi-nsintrall.exp: Likewise.
232 * gdb.mi/mi-nsmoribund.exp: Likewise.
233 * gdb.mi/mi-nsthrexec.exp: Likewise.
234 * gdb.python/py-evthreads.exp: Likewise.
235
236 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
237
238 Code cleanup.
239 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
240 it. Substitute it instead of test_compiler_info everywhere.
241
242 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
243
244 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
245 remote targets as well.
246
247 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
248
249 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
250 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
251
252 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
253
254 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
255 a remote machine, not the host.
256 (gdb_compile_shlib): Set soname if target is remote.
257
258 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
259
260 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
261
262 2011-07-13 Matt Rice <ratmice@gmail.com>
263
264 * gdb.python/py-objfile-script-gdb.py: Renamed to
265 py-objfile-script-gdb.py.in.
266 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
267 py-objfile-script-gdb.py.
268 * gdb.python/py-objfile-script.exp: Update reference to
269 py-objfile-script-gdb.py.
270
271 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
272
273 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
274 reference undefined label.
275
276 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
277
278 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
279 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
280 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
281 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
282
283 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
284
285 PR python/12438
286 * gdb.python/python.exp: Add maint set/show python print-stack
287 deprecated tests. Add set/show python print-backtrace tests.
288
289 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
290
291 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
292 debug info.
293
294 2011-07-06 Matt Rice <ratmice@gmail.com>
295
296 * gdb.python/python.exp: Update filename paths.
297 * gdb.python/py-symtab.exp: Ditto.
298
299 2011-07-06 Marek Polacek <mpolacek@redhat.com>
300
301 * gdb.python/py-evthreads.exp: Add missing `$'.
302
303 2011-07-06 Jie Zhang <jie.zhang@analog.com>
304
305 * config/bfin.exp: New file.
306 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
307 * gdb.asm/bfin.inc: New file.
308
309 2011-07-06 Marek Polacek <mpolacek@redhat.com>
310
311 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
312 the whole output.
313
314 2011-07-05 Tom Tromey <tromey@redhat.com>
315
316 * gdb.java/jprint.java (jprint.hi): New field.
317 * gdb.java/jprint.exp: Print string.
318
319 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
320
321 * gdb.base/call-sc.c: Fix typos.
322 * gdb.base/ifelse.exp: Likewise.
323 * gdb.base/structs.c: Likewise.
324
325 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
326
327 * gdb.base/jit-so.exp: New test.
328 * gdb.base/jit-dlmain.c: New file.
329 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
330
331 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
332
333 * gdb.cp/m-static.exp: Call get_compiler_info.
334 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
335 * gdb.cp/pr9167.exp (p b): Likewise.
336 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
337 (test value of P in inner_m, test type of Z in inner_m): Call
338 setup_xfail for gcc <= 4.5.
339
340 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
341
342 * gdb.cp/paren-type.cc: New files.
343 * gdb.cp/paren-type.exp: New files.
344
345 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
346
347 Stop on first linespec terminator instead of eating what we can.
348 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
349 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
350 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
351 (break C::f()): ... this one.
352 (break C::operator()()): New test.
353 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
354 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
355 test.
356
357 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
358
359 Fall back linespec to minimal symbols.
360 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
361 error message.
362 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
363 * gdb.cp/minsym-fallback-main.cc: New file.
364 * gdb.cp/minsym-fallback.cc: New file.
365 * gdb.cp/minsym-fallback.exp: New file.
366 * gdb.cp/minsym-fallback.h: New file.
367
368 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
369
370 * gdb.cp/no-dmgl-verbose.cc: New file.
371 * gdb.cp/no-dmgl-verbose.exp: New file.
372
373 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
374
375 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
376 __GI_.
377 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
378 (f): New function.
379 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
380 (complete p 'func<short>(): ... here.
381 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
382 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
383 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
384 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
385 Make them KFAIL gcc/49546.
386
387 2011-07-01 Joel Brobecker <brobecker@adacore.com>
388
389 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
390
391 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
392
393 Test GCC PR debug/49546.
394 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
395 (test type of F in k3_m, test value of F in k3_m): New.
396 * gdb.cp/temargs.cc (struct S3, struct K3): New.
397 (main): New variable k3. Call k3.k3_m.
398
399 2011-07-01 Jean-Charles Delay <delay@adacore.com>
400
401 * gdb.ada/packed_array.exp: Fix expected outout.
402
403 2011-07-01 Jean-Charles Delay <delay@adacore.com>
404
405 * gdb.ada/packed_array.exp: fixed expected output.
406
407 2011-07-01 Joel Brobecker <brobecker@adacore.com>
408
409 * gdb.ada/same_enum: New testcase.
410
411 2011-07-01 Joel Brobecker <brobecker@adacore.com>
412
413 * gdb.ada/ptr_typedef: New testcase.
414
415 2011-07-01 Joel Brobecker <brobecker@adacore.com>
416
417 * gdb.ada/arrayptr.exp: Add ptype test.
418
419 2011-07-01 Joel Brobecker <brobecker@adacore.com>
420
421 * gdb.ada/char_enum: New testcase.
422
423 2011-07-01 Yao Qi <yao@codesourcery.com>
424
425 * gdb.base/dump.exp (capture_pointer_with_type): New.
426 Get value from address instead of name.
427 Start GDB once, and do `dump' and `restore'
428 tests together.
429
430 2011-06-30 Jie Zhang <jie.zhang@analog.com>
431 Mike Frysinger <vapier@gentoo.org>
432
433 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
434 helper functions for getting/setting remotetimeout variable.
435 * lib/gdb.exp (gdb_load): If the target is remote, set
436 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
437 with $loadtimeout. Set $load_ok to 0 before doing the load.
438 Instead of returning, immediately, set $load_ok to 0. Call
439 set_remotetimeout with $oldremotetimeout, and then return if
440 $load_ok is 1.
441
442 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
443
444 * gdb.python/py-template.exp: Don't run this test if the target
445 does not support c++ tests.
446
447 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
448
449 Fix non-only rename list for Fortran modules import.
450 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
451 tests.
452 * gdb.fortran/module.f90 (module moduse): New.
453 (program module): use moduse, test var_x, var_y and var_z.
454
455 2011-06-29 Tom Tromey <tromey@redhat.com>
456
457 PR testsuite/12040:
458 * gdb.fortran/array-element.exp: Use f90, not f77.
459 * gdb.fortran/complex.exp: Use f90, not f77.
460 * gdb.fortran/derived-type.exp: Use f90, not f77.
461 * gdb.fortran/library-module.exp: Use f90, not f77.
462 * gdb.fortran/logical.exp: Use f90, not f77.
463 * gdb.fortran/module.exp: Use f90, not f77.
464 * gdb.fortran/multi-dim.exp: Use f90, not f77.
465 * gdb.fortran/subarray.exp: Use f90, not f77.
466
467 2011-06-29 Tom Tromey <tromey@redhat.com>
468
469 * gdb.fortran/charset.exp: New file.
470 * gdb.fortran/charset.f90: New file.
471
472 2011-06-29 Tom Tromey <tromey@redhat.com>
473
474 PR testsuite/12040:
475 * lib/future.exp: New file, mostly extracted from ada.exp.
476 Rewrote compatibility code to use rename.
477 (gdb_find_gfortran): New proc.
478 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
479 gfortran patch.
480 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
481 Move to future.exp.
482 * lib/gdb.exp: Always load future.exp.
483
484 2011-06-28 Yao Qi <yao@codesourcery.com>
485
486 * gdb.cp/exception.cc: Don't include iostream.
487 (bar): Remove print statement.
488 (catcher): New.
489 (main): Remove print statements. Call function catcher.
490 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
491 Set breakpoint on catcher, and check the value of parameter.
492
493 2011-06-23 Yao Qi <yao@codesourcery.com>
494
495 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
496 1.2 is disabled. KFAIL for uclinux.
497
498 2011-06-23 Marek Polacek <mpolacek@redhat.com>
499
500 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
501 mi_gdb_test.
502
503 2011-06-23 Marek Polacek <mpolacek@redhat.com>
504
505 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
506
507 2011-06-23 Marek Polacek <mpolacek@redhat.com>
508
509 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
510
511 2011-06-23 Marek Polacek <mpolacek@redhat.com>
512
513 * gdb.mi/mi2-basics.exp: Fix races. Honour the
514 `test_exec_and_symbol_mi_operatons' return value.
515 (test_mi_interpreter_selection): Use mi_gdb_test instead of
516 gdb_test_multiple.
517 (test_exec_and_symbol_mi_operatons): Likewise.
518 (test_path_specification): Likewise.
519
520 2011-06-23 Yao Qi <yao@codesourcery.com>
521
522 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
523 supported.
524 * lib/gdb.exp (support_displaced_stepping): New.
525
526 2011-06-23 Yao Qi <yao@codesourcery.com>
527
528 * gdb.threads/execl.exp: Skip on remote target.
529
530 2011-06-21 Marek Polacek <mpolacek@redhat.com>
531
532 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
533 mi_gdb_test.
534
535 2011-06-20 Marek Polacek <mpolacek@redhat.com>
536
537 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
538
539 2011-06-20 Marek Polacek <mpolacek@redhat.com>
540
541 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
542 mi_gdb_test.
543
544 2011-06-20 Marek Polacek <mpolacek@redhat.com>
545
546 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
547
548 2011-06-14 Yao Qi <yao@codesourcery.com>
549
550 gdb/testsuite/
551 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
552
553 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
554
555 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
556
557 2011-06-10 Tom Tromey <tromey@redhat.com>
558
559 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
560 Add tests for pointer-to-member-function.
561 * gdb.cp/temargs.cc (S::somefunc): New function.
562 (K2): New class.
563 (main): Instantiate K2; call method.
564
565 2011-06-08 Joel Brobecker <brobecker@adacore.com>
566
567 * gdb.python/py-inferior.c (f2): Make str an array rather
568 than a pointer.
569 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
570
571 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
572
573 * gdb.base/async-shell.c: New file.
574 * gdb.base/async-shell.exp: New file.
575
576 2011-06-06 Pedro Alves <pedro@codesourcery.com>
577
578 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
579
580 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
581
582 From Stephen Kitt <steve@sk2.org>
583 * gdb.base/help.exp: Adjust following some spelling corrections
584 in GDB.
585
586 2011-06-01 Yao Qi <yao@codesourcery.com>
587
588 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
589
590 2010-05-31 Keith Seitz <keiths@redhat.com>
591
592 PR c++/12750
593 * gdb.cp/static-method.cc: New file.
594 * gdb.cp/static-method.exp: New file.
595
596 2010-05-31 Keith Seitz <keiths@redhat.com>
597
598 PR symtab/12704
599 * gdb.cp/anon-ns.cc: New file.
600 * gdb.cp/anon-ns.exp: New file.
601
602 2011-05-31 Pedro Alves <pedro@codesourcery.com>
603
604 * gdb.arch/i386-dr3-watch.c: New file.
605 * gdb.arch/i386-dr3-watch.exp: New file.
606
607 2011-05-30 Yao Qi <yao@codesourcery.com>
608
609 * gdb.base/callfuncs.c (t_structs_fc): New.
610 (t_structs_dc, t_structs_ldc): New.
611 (t_double_many_args):
612 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
613 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
614 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
615 * gdb.base/callfuncs.exp: Call new functions.
616
617 2011-05-30 Yao Qi <yao@codesourcery.com>
618
619 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
620 Call rerun_and_prepare for each test to isolate effects.
621
622 2011-05-30 Yao Qi <yao@codesourcery.com>
623
624 * gdb.base/varargs.c (find_max_float_real): New.
625 (find_max_double_real, find_max_long_double_real): New.
626 * gdb.base/varargs.exp: Call these new added functions.
627 * lib/gdb.exp (setup_kfail_for_target): New.
628
629 2011-05-30 Yao Qi <yao@codesourcery.com>
630
631 * gdb.base/funcargs.c (callca, callcb, callcc): New.
632 (callcd, callce, callcf, callc1a, callc1b): New.
633 (callc2a, callc2b): New.
634 * gdb.base/funcargs.exp (complex_args): New.
635 (complex_integral_args, complex_float_integral_args): New.
636 * lib/gdb.exp (support_complex_tests): New. Determine
637 whether to run test cases on _Complex types.
638
639 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
640
641 * gdb.threads/leader-exit.c: New file.
642 * gdb.threads/leader-exit.exp: New file.
643
644 2011-05-27 Marek Polacek <mpolacek@redhat.com>
645
646 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
647
648 2011-05-27 Marek Polacek <mpolacek@redhat.com>
649
650 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
651 remove the `supported' variable.
652 * gdb.mi/mi-nonstop.exp: Likewise.
653 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
654 * gdb.mi/mi-nsintrall.exp: Likewise.
655 * gdb.mi/mi-nsmoribund.exp: Likewise.
656 * gdb.mi/mi-nsthrexec.exp: Likewise.
657
658 2011-05-26 Pedro Alves <pedro@codesourcery.com>
659
660 * gdb.reverse/finish-reverse-bkpt.exp: New test.
661
662 2011-05-26 Pedro Alves <pedro@codesourcery.com>
663
664 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
665
666 2011-05-24 Keith Seitz <keiths@redhat.com>
667
668 PR breakpoint/12803
669 * gdb.cp/cmpd-minsyms.cc (a): New method.
670 (b): New method.
671 (c): New method.
672 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
673
674 2011-05-24 Pedro Alves <pedro@codesourcery.com>
675
676 * gdb.base/commands.exp (watchpoint_command_test): Check that the
677 watchpoint's command list didn't execute when the watchpoint went
678 out of scope.
679
680 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
681
682 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
683 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
684 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
685 * gdb.arch/i386-gnu-cfi.exp: Likewise.
686 * gdb.arch/i386-permbkpt.exp: Likewise.
687 * gdb.arch/i386-prologue.exp: Likewise.
688 * gdb.arch/i386-size-overlap.exp: Likewise.
689 * gdb.arch/i386-size.exp: Likewise.
690 * gdb.arch/i386-unwind.exp: Likewise.
691 * gdb.reverse/i386-precsave.exp: Likewise.
692 * gdb.reverse/i386-reverse.exp: Likewise.
693 * gdb.reverse/i386-sse-reverse.exp: Likewise.
694 * gdb.reverse/i387-env-reverse.exp: Likewise.
695 * gdb.reverse/i387-stack-reverse.exp: Likewise.
696
697 2011-05-24 Pedro Alves <pedro@codesourcery.com>
698
699 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
700 file doesn't error, using MI.
701
702 2011-05-23 Tom Tromey <tromey@redhat.com>
703
704 * gdb.base/charset.exp (string_display): Add tests to assign to
705 arrays.
706 * gdb.base/charset.c (short_array, int_array, long_array): New.
707
708 2011-05-20 Pedro Alves <pedro@codesourcery.com>
709
710 Cope with async mode.
711
712 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
713 into gdb_test + mi_expect_stop.
714
715 2011-05-20 Pedro Alves <pedro@codesourcery.com>
716
717 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
718 (callme): Remove printf call.
719
720 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
721
722 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
723 quote pattern to avoid problems with Cygwin/mingw expect versions.
724 * gdb.base/default.exp (show convenience): Use double
725 quote pattern for regular expressions.
726
727 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
728
729 Fix -readnow for -gdwarf-4 unused type units.
730 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
731 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
732
733 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 * gdb.base/kill-after-signal.c: New file.
736 * gdb.base/kill-after-signal.exp: New file.
737
738 2011-05-16 Pedro Alves <pedro@codesourcery.com>
739
740 * gdb.ada/start.exp: Call untested with the correct test filename.
741 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
742 test filename. Make the test's binary unique.
743 * gdb.arch/i386-signal.exp: Call untested with the correct test
744 filename.
745 * gdb.arch/i386-size-overlap.exp: Ditto.
746 * gdb.arch/Makefile.in (EXECUTABLES): Update.
747 * gdb.base/gcore-buffer-overflow.exp: Ditto.
748 * gdb.cp/call-c.exp: Ditto.
749 * gdb.mi/mi-reverse.exp: Call untested with the correct test
750 filename. Make the test's binary unique.
751 * gdb.mi/Makefile.in (EXECUTABLES): Update.
752 * gdb.python/py-mi.exp: Ditto.
753 * gdb.python/Makefile.in (EXECUTABLES): Update.
754 * gdb.reverse/i386-precsave.exp: Ditto.
755 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
756 test filename.
757 * gdb.reverse/i387-stack-reverse.exp: Ditto.
758 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
759 unique.
760 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
761 test filename.
762 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
763 * gdb.trace/tfile.exp: Ditto.
764
765 2011-05-14 Yao Qi <yao@codesourcery.com>
766
767 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
768 type.
769
770 2011-05-13 Doug Evans <dje@google.com>
771
772 * gdb.python/py-objfile-script.exp: New file.
773 * gdb.python/py-objfile-script.c: New file.
774 * gdb.python/py-objfile-script-gdb.py: New file.
775 * testsuite/gdb.python/py-section-script.exp: Test
776 "info auto-load-scripts".
777
778 2011-05-13 Tom Tromey <tromey@redhat.com>
779
780 * gdb.dwarf2/clztest.exp: New file.
781 * gdb.dwarf2/clztest.c: New file.
782 * gdb.dwarf2/clztest.S: New file.
783
784 2011-05-13 Doug Evans <dje@google.com>
785
786 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
787 String16 tests.
788
789 2011-05-13 Tom Tromey <tromey@redhat.com>
790
791 * lib/gdb.exp (is_x86_like_target): New proc.
792 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
793 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
794 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
795 -nostdlib to compiler.
796 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
797 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
798 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
799 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
800 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
801
802 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
803
804 * gdb.python/py-function.exp: Test setting a value from a function
805 which executes a command.
806
807 2011-05-12 Tom Tromey <tromey@redhat.com>
808
809 * gdb.dwarf2/typeddwarf.S: New file.
810 * gdb.dwarf2/typeddwarf.c: New file.
811 * gdb.dwarf2/typeddwarf.exp: New file.
812
813 2011-05-12 Marek Polacek <mpolacek@redhat.com>
814
815 * gdb.mi/mi-basics.exp: Fix races. Honour the
816 `test_exec_and_symbol_mi_operatons' return value.
817 (test_mi_interpreter_selection): Use mi_gdb_test instead of
818 gdb_test_multiple.
819 (test_exec_and_symbol_mi_operatons): Likewise.
820 (test_path_specification): Likewise.
821
822 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
823
824 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
825 (gdb_touch_execfile): Remove catch wrappers. New variable time.
826 Replace `file copy' and `file rename' by `file mtime'. Twice.
827
828 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
829
830 * gdb.base/readline-ask.c: New file.
831 * gdb.base/readline-ask.exp: New file.
832 * gdb.base/readline-ask.inputrc: New file.
833
834 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
835
836 * gdb.cell/bt.exp: Delete breakpoints before running to signal
837 to avoid race condition.
838 * gdb.cell/coremaker.c: Use small stack size.
839 * gdb.cell/ea-standalone.exp: Use file name without path as
840 argument to c_to.
841 * gdb.cell/fork.exp: Allow other output when continuing to end.
842
843 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
844
845 * gdb.threads/corethreads.c: New file.
846 * gdb.threads/corethreads.exp: New file.
847
848 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
849
850 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
851 Try to compile the test using -Wl,-z,norelro first.
852 (load_core): New variable libthread_db_seen, initialize it.
853 (zeroed-threads cannot be listed): Protect it by XFAIL on
854 !$libthread_db_seen.
855
856 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
857
858 PR 12573
859 * gdb.dwarf2/dw2-skip-prologue.S: New file.
860 * gdb.dwarf2/dw2-skip-prologue.c: New file.
861 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
862
863 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
864
865 * gdb.cp/psymtab-parameter.cc: New file.
866 * gdb.cp/psymtab-parameter.exp: New file.
867
868 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
869
870 Fix a race.
871 * gdb.cp/static-print-quit.exp (print c): Split to ...
872 (print c - <return>, print c - q <return>, print c - to quit):
873 ... these. Make the testfile untested on gdb-7.1.
874
875 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
876
877 * lib/gdb.exp (exec_target_file, exec_symbol_file,
878 gdb_rename_execfile, gdb_touch_execfile): New.
879 * gdb.base/reread.exp: Use new procs to handle multiple
880 exec files.
881
882 2011-05-05 Yao Qi <yao@codesourcery.com>
883
884 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
885 (test_adr_32bit, test_pop_pc): New.
886 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
887 (test_adr_32bit, test_pop_pc): New.
888
889 2011-05-04 Joseph Myers <joseph@codesourcery.com>
890
891 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
892 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
893 targets.
894 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
895 handle targets.
896
897 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
898
899 * gdb.base/completion.exp (complete help info wat): Rename to ...
900 (complete 'help info wat'): ... here.
901 Remove all `-re ".*' and `-re "^.*' redundant regexes.
902 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
903
904 2011-05-04 Pedro Alves <pedro@codesourcery.com>
905
906 * gdb.base/completion.exp: Use gdb_test_multiple instead of
907 gdb_test and explicit $gdb_prompt/timeout matches.
908
909 2011-05-04 Yao Qi <yao@codesourcery.com>
910
911 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
912 and __thumb2__.
913
914 2011-05-03 Marek Polacek <mpolacek@redhat.com>
915
916 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
917 in place of `gdb_test "delete breakpoints"'. This eliminates two
918 testcases.
919
920 2011-05-02 Pedro Alves <pedro@codesourcery.com>
921
922 PR testsuite/12649
923 Fix races.
924
925 * gdb.base/completion.exp: Remove all sleep calls. Remove
926 unnecessary regexs. Don't explicitly expect anything after the
927 prompt. Eat the prompt if necessary.
928
929 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
930
931 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
932 accept to show the caller line again as well as the line after.
933
934 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
935
936 PR mi/12531
937
938 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
939 compile target.
940 * gdb.python/py-prettyprint.exp: Add C++ object for
941 CPLUS_FAKE_CHILD test.
942
943 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
944
945 * gdb.base/signest.exp: New file.
946 * gdb.base/signest.c: Likewise.
947
948 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
949
950 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
951 thread and breakpoint notifications.
952
953 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
954
955 * gdb.base/fortran-sym-case.c: New file.
956 * gdb.base/fortran-sym-case.exp: New file.
957 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
958 * gdb.dwarf2/dw2-case-insensitive.c: New file.
959 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
960
961 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
962
963 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
964 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
965 false #1', `if true else false #2' and `if true else false #3'.
966
967 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
968
969 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
970 while delivering signal.
971
972 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
973
974 MI breakpoint notifications.
975
976 * testsuite/gdb.mi/mi-cli.exp: Adust.
977 * testsuite/gdb.mi/mi2-cli.exp: Adust.
978 * testsuite/gdb.mi/mi-watch.exp: Adust.
979 * testsuite/gdb.mi/mi2-watch.exp: Adust.
980 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
981 notifications.
982
983 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
984
985 * gdb.base/gdbindex-stabs-dwarf.c: New file.
986 * gdb.base/gdbindex-stabs.c: New file.
987 * gdb.base/gdbindex-stabs.exp: New file.
988
989 2011-04-25 Yao Qi <yao@codesourcery.com>
990
991 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
992 with /*...*/.
993 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
994
995 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
996
997 * gdb.python/py-value.exp (test_objfiles): Name the first test
998 `py-value in file.filename'.
999
1000 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1003 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1004 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1005 !gdbserver_reconnect_p..
1006 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1007
1008 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1009
1010 * gdb.cp/cpcompletion.exp (complete class methods)
1011 (complete class methods beginning with F): Move them above runto. New
1012 comment about the runto delimiter.
1013
1014 2011-04-20 Pedro Alves <pedro@codesourcery.com>
1015
1016 * gdb.base/maint.exp: Test that "maint print registers" works
1017 without a running program.
1018
1019 2011-04-20 Marek Polacek <mpolacek@redhat.com>
1020
1021 * gdb.base/setshow.exp: Fix racy tests.
1022 ($old_gdb_prompt): New variable.
1023
1024 2011-04-19 Tom Tromey <tromey@redhat.com>
1025
1026 * gdb.mi/mi-nsmoribund.exp:
1027 * gdb.hp/gdb.objdbg/objdbg01.exp:
1028 * gdb.base/structs.exp (test_struct_returns):
1029 * gdb.base/call-sc.exp (test_scalar_returns):
1030 * gdb.base/bigcore.exp: Remove duplicate words.
1031
1032 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 * gdb.base/break-interp-lib.c (v, vptr): New variables.
1035 * gdb.base/break-interp.exp (test_attach): New comment.
1036
1037 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1038
1039 * gdb.threads/gcore-thread.exp ($core0file): New variable.
1040 (clear __stack_user.next, clear stack_used.next)
1041 (save a zeroed-threads corefile): New test.
1042 Call core_load for $core0file.
1043 (zeroed-threads cannot be listed): New test.
1044
1045 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1046
1047 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
1048 filename.
1049 ($srcfile): Preserve the original value.
1050 ($testfile): Match it the .exp filename.
1051 ($corefile): New variable. Substitute it around.
1052 Use clean_restart.
1053 ($prev_timeout): Remove.
1054 (load_core): Move core loading into this proc.
1055 Fix restore of $timeout if load_core fails.
1056
1057 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1058
1059 * gdb.base/eu-strip-infcall.c: New file.
1060 * gdb.base/eu-strip-infcall.exp: New file.
1061
1062 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1063
1064 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
1065 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
1066
1067 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1068
1069 Fix Python access to inlined frames.
1070 * gdb.python/py-frame-inline.c: New file.
1071 * gdb.python/py-frame-inline.exp: New file.
1072
1073 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
1074
1075 * gdb.base/gdb1090.exp: Change breakpoint location to read the
1076 content of 's24' correctly (avoiding "optimized out").
1077 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
1078
1079 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1080
1081 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
1082
1083 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1084
1085 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
1086 expect a colon in watch -location output.
1087
1088 2011-04-13 Marek Polacek <mpolacek@redhat.com>
1089
1090 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
1091 New testcase `expect response to define backtrace'. Also remove
1092 redundant `default' block.
1093
1094 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1095
1096 * gdb.python/py-prettyprint.c (struct hint_error): New.
1097 (main): New variable hint_error.
1098 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
1099 "print hint_error".
1100 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
1101 (register_pretty_printers): Register it.
1102
1103 2011-04-04 Tom Tromey <tromey@redhat.com>
1104
1105 * gdb.cp/maint.exp (test_help): Update.
1106 (test_namespace): Likewise.
1107
1108 2011-04-01 Joel Brobecker <brobecker@adacore.com>
1109
1110 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
1111 * gdb.ada/arrayptr.exp: Add new tests.
1112
1113 2011-04-01 Joel Brobecker <brobecker@adacore.com>
1114
1115 * gdb.ada/mi_catch_ex: New testcase.
1116
1117 2011-04-01 Pedro Alves <pedro@codesourcery.com>
1118
1119 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
1120 base::overload(void) method without specifying "const".
1121
1122 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1123
1124 * gdb.arch/thumb-singlestep.S: New file.
1125 * gdb.arch/thumb-singlestep.exp: Likewise.
1126
1127 2011-03-31 Tom Tromey <tromey@redhat.com>
1128
1129 * gdb.python/py-prettyprint.py (exception_flag): New global.
1130 (NoStringContainerPrinter._iterator.next): Check it.
1131 * gdb.python/py-prettyprint.c (main): New variable nstype2.
1132 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
1133
1134 2011-03-29 Tom Tromey <tromey@redhat.com>
1135
1136 * gdb.cp/anon-struct.cc: New file.
1137 * gdb.cp/anon-struct.exp: New file.
1138
1139 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1140
1141 Test STT_GNU_IFUNC support.
1142 * gdb.base/gnu-ifunc-lib.c: New file.
1143 * gdb.base/gnu-ifunc.c: New file.
1144 * gdb.base/gnu-ifunc.exp: New file.
1145
1146 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1147
1148 Support a ring of related breakpoints.
1149 * gdb.base/watchpoint-delete.c: New file.
1150 * gdb.base/watchpoint-delete.exp: New file.
1151
1152 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1153
1154 * gdb.ada/arrayparam.exp (print first after function call): Use
1155 explicit package name. Add a comment
1156 (print lasta after function call): Rename ...
1157 (print last after function call): ... it and use explicit package
1158 name.
1159 (print length after function call): Use explicit package name.
1160 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
1161 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
1162 (multiple matches for symbol i): Rename ...
1163 (multiple matches for symbol integervar): ... it.
1164 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
1165 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
1166
1167 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
1168
1169 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
1170 environment variable to make grep output more predictable. Move
1171 all the environment setup into gdb_init so it's done once per test
1172 case rather than each time we start gdb.
1173
1174 2011-03-24 Tom Tromey <tromey@redhat.com>
1175
1176 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
1177 test.
1178
1179 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1180
1181 * gdb.dwarf2/dw2-entry-value-main.c: New file.
1182 * gdb.dwarf2/dw2-entry-value.S: New file.
1183 * gdb.dwarf2/dw2-entry-value.exp: New file.
1184
1185 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1186
1187 PR python/12183
1188
1189 * gdb.python/py-function.exp: Add GdbError tests.
1190
1191 2011-03-18 Pedro Alves <pedro@codesourcery.com>
1192
1193 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
1194 (reglocal_test_func, statlocal_test_func): New functions.
1195 (globals_test_func): Call new functions.
1196 * gdb.trace/unavailable.exp (gdb_collect_args_test)
1197 (gdb_collect_locals_test): New procedure.
1198 (gdb_trace_collection_test): Call new procedures.
1199
1200 2011-03-18 Pedro Alves <pedro@codesourcery.com>
1201
1202 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
1203 (test_register, test_register_unavailable): New procedures.
1204 (gdb_unavailable_registers_test): New procedure.
1205 (gdb_trace_collection_test): Call it.
1206
1207 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
1208
1209 PR python/12149
1210
1211 * gdb.python/python.exp: Add gdb.write tests.
1212
1213 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
1214
1215 * gdb.python/Makefile.in: Add py-objfile.
1216 * gdb.python/py-objfile.exp: New file.
1217 * gdb.python/py-objfile.c: New file.
1218 * gdb.python/py-block.exp: Add is_valid tests.
1219 * gdb.python/py-inferior.exp: Ditto.
1220 * gdb.python/py-infthread.exp: Ditto.
1221 * gdb.python/py-symbol.exp: Ditto.
1222 * gdb.python/py-symtab.exp: Ditto.
1223
1224 2011-03-16 Keith Seitz <keiths@redhat.com>
1225
1226 PR c++/12273
1227 * gdb.cp/cmpd-minsyms.exp: New test.
1228 * gdb.cp/cmpd-minsyms.cc: New file.
1229
1230 PR c++/11734
1231 * gdb.cp/ovsrch.exp: New test.
1232 * gdb.cp/ovsrch.h: New file.
1233 * gdb.cp/ovsrch1.cc: New file.
1234 * gdb.cp/ovsrch2.cc: New file.
1235 * gdb.cp/ovsrch3.cc: New file.
1236 * gdb.cp/ovsrch4.cc: New file.
1237
1238 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1239
1240 PR gdb/12528
1241 * gdb.base/Makefile.in: Adjust EXECUTABLES.
1242 * gdb.base/break-on-linker-gcd-function.exp: New test.
1243 * gdb.base/break-on-linker-gcd-function.cc: New file.
1244
1245 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
1246
1247 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
1248
1249 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
1250
1251 * lib/gdb.exp (gdb_unload): Add another termination case.
1252
1253 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1254
1255 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
1256 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
1257 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
1258 Provide a stub byte there.
1259 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
1260 DW_AT_entry_pc.
1261 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
1262
1263 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
1264
1265 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
1266 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
1267 "generic ABI, auto".
1268 (altivec_abi_tests): Accept vectors returned by reference.
1269
1270 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
1271
1272 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
1273
1274 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1275
1276 * gdb.python/py-section-script.exp: Skip test if no Python support.
1277
1278 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1279
1280 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
1281
1282 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1283
1284 * gdb.python/py-parameter.exp: Update tests to the new Python
1285 parameter API. Add "no documentation" test. Add deprecated API
1286 backward compatibility test.
1287
1288 2011-03-09 Tom Tromey <tromey@redhat.com>
1289
1290 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1291 gdb_continue_to_end.
1292
1293 2011-03-09 Mark Kettenis <kettenis@gnu.org>
1294
1295 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1296 tabs.
1297
1298 2011-03-09 Tom Tromey <tromey@redhat.com>
1299
1300 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1301 parentheses.
1302 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1303 $command.
1304 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1305 argument to gdb_continue_to_end.
1306 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1307 argument to gdb_continue_to_end.
1308 * gdb.cp/annota3.exp: Fix regex.
1309 * gdb.cp/annota2.exp: Fix regex.
1310 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1311 gdb_continue_to_end.
1312 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1313 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1314 gdb_continue_to_end.
1315
1316 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1317
1318 * gdb.server/ext-run.exp
1319 (load new file without any gdbserver inferior): New test.
1320
1321 2011-03-07 Tom Tromey <tromey@redhat.com>
1322
1323 * Makefile.in (TAGS): Rewrite.
1324
1325 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1326
1327 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1328 initial commands echo. New match for `Found trace'. Anchor all the
1329 other matches. Anchor and match for `No trace frame found' the final
1330 match.
1331
1332 2011-03-07 Tom Tromey <tromey@redhat.com>
1333
1334 * Makefile.in (TAGS): New target.
1335
1336 2011-03-07 Tom Tromey <tromey@redhat.com>
1337
1338 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1339 change.
1340 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1341 change.
1342 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1343 exit message change.
1344 (skip_altivec_tests): Update for exit message change.
1345 (skip_vsx_tests): Likewise.
1346 (gdb_continue_to_end): Likewise. Add 'command' argument.
1347 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1348 * gdb.threads/tls.exp: Update for exit message change.
1349 * gdb.threads/thread-unwindonsignal.exp: Use
1350 gdb_continue_to_end.
1351 * gdb.threads/step.exp (step_it): Update for exit message change.
1352 (continue_all): Likewise.
1353 * gdb.threads/print-threads.exp (test_all_threads): Update for
1354 exit message change.
1355 * gdb.threads/interrupted-hand-call.exp: Use
1356 gdb_continue_to_end.
1357 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1358 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1359 gdb_continue_to_end.
1360 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1361 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1362 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1363 * gdb.cp/method.exp: Update for exit message change.
1364 * gdb.cp/mb-templates.exp: Update for exit message change.
1365 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1366 * gdb.cp/annota3.exp: Update for exit message change.
1367 * gdb.cp/annota2.exp: Update for exit message change.
1368 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1369 * gdb.base/term.exp: Update for exit message change.
1370 * gdb.base/step-test.exp (test_i): Update for exit message change.
1371 * gdb.base/sigstep.exp (advance): Update for exit message change.
1372 (advancei): Likewise.
1373 * gdb.base/siginfo.exp: Update for exit message change.
1374 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1375 * gdb.base/reread.exp: Use gdb_continue_to_end.
1376 * gdb.base/langs.exp: Use gdb_continue_to_end.
1377 * gdb.base/interrupt.exp: Update for exit message change.
1378 * gdb.base/gdb1555.exp: Update for exit message change.
1379 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1380 * gdb.base/ending-run.exp: Update for exit message change.
1381 * gdb.base/chng-syms.exp: Update for exit message change.
1382 * gdb.base/checkpoint.exp: Update for exit message change.
1383 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1384 gdb_continue_to_end.
1385 (test_catch_syscall_with_wrong_args): Likewise.
1386 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1387 * gdb.base/break-interp.exp (test_ld): Update for exit message
1388 change.
1389 * gdb.base/bang.exp: Update for exit message change.
1390 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1391 (do_call_attach_tests): Likewise.
1392 * gdb.base/a2-run.exp: Update for exit message change.
1393 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1394 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1395 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1396
1397 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1398
1399 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1400
1401 2011-03-03 Tom Tromey <tromey@redhat.com>
1402
1403 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1404 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1405 * gdb.hp/gdb.aCC/configure.ac: Remove.
1406 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1407 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1408 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1409 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1410 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1411 * gdb.hp/gdb.compat/configure.ac: Remove.
1412 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1413 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1414 * gdb.hp/gdb.defects/configure.ac: Remove.
1415 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1416 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1417 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1418 * gdb.hp/configure.ac: Remove.
1419 * gdb.hp/configure: Remove.
1420 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1421 substitution.
1422 (Makefile): Remove rule.
1423 * gdb.cell/configure.ac: Remove.
1424 * gdb.cell/configure: Remove.
1425 * gdb.stabs/Makefile.in (Makefile): Remove.
1426 (distclean): Don't remove config.status or config.log.
1427 * gdb.stabs/configure (Makefile): Remove.
1428 * gdb.stabs/configure.ac: Remove.
1429 * configure: Rebuild.
1430 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1431 Remove stabs- and cell-specific logic. Test for existence of
1432 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1433 subdirectories, gdb.cell, and and gdb.stabs.
1434 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1435
1436 2011-03-03 Joel Brobecker <brobecker@adacore.com>
1437
1438 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1439 end of buffer.
1440
1441 2011-03-02 Joel Brobecker <brobecker@adacore.com>
1442
1443 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1444 gdb_test when running a test where we expected no output back.
1445
1446 2011-02-28 Michael Snyder <msnyder@vmware.com>
1447
1448 * gdb.cp/overload.cc: Change initializer value to integer.
1449
1450 2011-02-27 Michael Snyder <msnyder@vmware.com>
1451
1452 * gdb.multi/base.exp: Add test for remove-inferiors.
1453
1454 2011-02-26 Joel Brobecker <brobecker@adacore.com>
1455
1456 * gdb.python/py-frame.exp: Simplify the initialization phase
1457 using prepare_for_testing.
1458
1459 2011-02-25 Michael Snyder <msnyder@vmware.com>
1460
1461 * gdb.multi/base.exp: Add tests for info inferiors with args.
1462
1463 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1464
1465 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1466 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1467 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1468 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1469 asmfile3. Comment the STABS (#3) file compilation. Compile
1470 everything through assembler. Provide KFAIL for symtab/12497.
1471 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1472 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1473 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1474 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1475
1476 2011-02-24 Michael Snyder <msnyder@vmware.com>
1477
1478 * gdb.base/break.exp: Add tests for delete breakpoints using
1479 convenience variables and value history references.
1480
1481 2011-02-24 Michael Snyder <msnyder@vmware.com>
1482
1483 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1484 left behind in previous check-in.
1485
1486 2011-02-23 Michael Snyder <msnyder@vmware.com>
1487
1488 * gdb.base/break.exp: Add tests for "info break" with arguments.
1489 * gdb.trace/infotrace.exp: Update patterns for error and help.
1490 * gdb.base/completion.exp: Update pattern.
1491 * gdb.base/ena-dis-br.exp: Update pattern.
1492 * gdb.base/help.exp: Update patterns.
1493
1494 2011-02-23 Michael Snyder <msnyder@vmware.com>
1495
1496 * gdb.base/memattr.exp: New test.
1497 * gdb.base/memattr.c: Test load for memattr.exp.
1498
1499 2011-02-22 Doug Evans <dje@google.com>
1500
1501 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1502
1503 2011-02-22 Michael Snyder <msnyder@vmware.com>
1504
1505 * Makefile.in: Make more clean.
1506 * gdb.ada/Makefile.in: Ditto.
1507 * gdb.arch/Makefile.in: Ditto.
1508 * gdb.asm/Makefile.in: Ditto.
1509 * gdb.base/Makefile.in: Ditto.
1510 * gdb.cp/Makefile.in: Ditto.
1511 * gdb.dwarf2/Makefile.in: Ditto.
1512 * gdb.java/Makefile.in: Ditto.
1513 * gdb.mi/Makefile.in: Ditto.
1514 * gdb.modula2/Makefile.in: Ditto.
1515 * gdb.python/Makefile.in: Ditto.
1516 * gdb.server/Makefile.in: Ditto.
1517 * gdb.stabs/Makefile.in: Ditto.
1518 * gdb.threads/Makefile.in: Ditto.
1519 * gdb.trace/Makefile.in: Ditto.
1520
1521 2011-02-22 Michael Snyder <msnyder@vmware.com>
1522
1523 * gdb.threads/thread-find.exp: Add tests for bad input to
1524 info threads.
1525
1526 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1527
1528 * gdb.python/py-breakpoint.exp: Fix the expected output of
1529 one of the "maint info breakpoints" tests to accept the output
1530 generated on platforms that do not have hardware watchpoints.
1531
1532 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1533
1534 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1535 clean_restart. Be a little stricter in the expected output
1536 for one of the tests. Fix a typo in one of the comments.
1537
1538 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1539
1540 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1541 Delete variable binfile, no longer use. Add or modify test
1542 comments to make them unique.
1543
1544 2011-02-21 Michael Snyder <msnyder@vmware.com>
1545
1546 * Makefile.in: Update for make clean.
1547 * gdb.ada/Makefile.in: Ditto.
1548 * gdb.arch/Makefile.in: Ditto.
1549 * gdb.asm/Makefile.in: Ditto.
1550 * gdb.base/Makefile.in: Ditto.
1551 * gdb.cp/Makefile.in: Ditto.
1552 * gdb.dwarf2/Makefile.in: Ditto.
1553 * gdb.java/Makefile.in: Ditto.
1554 * gdb.mi/Makefile.in: Ditto.
1555 * gdb.modula2/Makefile.in: Ditto.
1556 * gdb.python/Makefile.in: Ditto.
1557 * gdb.server/Makefile.in: Ditto.
1558 * gdb.stabs/Makefile.in: Ditto.
1559 * gdb.threads/Makefile.in: Ditto.
1560 * gdb.trace/Makefile.in: Ditto.
1561
1562 2011-02-21 Michael Snyder <msnyder@vmware.com>
1563
1564 * gdb.threads/thread-find.exp: Update patterns for changes in
1565 output of "info threads" command.
1566
1567 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1568 Ulrich Weigand <uweigand@de.ibm.com>
1569
1570 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1571 (skip_hw_watchpoint_tests): Likewise.
1572 (skip_hw_watchpoint_multi_tests): Likewise.
1573
1574 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1575
1576 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1577 (skip_hw_watchpoint_tests): Likewise.
1578 (skip_hw_watchpoint_multi_tests): Likewise.
1579 (skip_hw_watchpoint_access_tests): Likewise.
1580
1581 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1582 * gdb.base/pr11022.exp: Likewise.
1583 * gdb.base/watch-read.exp: Likewise.
1584 * gdb.base/watch_thread_num.exp: Likewise.
1585 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1586 * gdb.base/watchpoint-hw.exp: Likewise.
1587 * gdb.base/watchpoint.exp: Likewise.
1588 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1589 * gdb.threads/watchthreads-reorder.exp: Likewise.
1590 * gdb.threads/watchthreads.exp: Likewise.
1591 * gdb.threads/watchthreads2.exp: Likewise.
1592
1593 2011-02-21 Joel Brobecker <brobecker@adacore.com>
1594
1595 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1596 the debugger is unable to find the array bounds.
1597
1598 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1599
1600 * gdb.cp/typedef-operator.exp: New file.
1601 * gdb.cp/typedef-operator.cc: New file.
1602
1603 2011-02-17 Michael Snyder <msnyder@vmware.com>
1604
1605 * gdb.threads/thread-find.exp: Fix regular expressions.
1606
1607 2011-02-17 Joel Brobecker <brobecker@adacore.com>
1608
1609 * gdb.ada/packed_array: Expand testcase to test printing of
1610 unconstrained packed array.
1611
1612 2011-02-17 Joel Brobecker <brobecker@adacore.com>
1613
1614 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1615
1616 2011-02-16 Pedro Alves <pedro@codesourcery.com>
1617
1618 * gdb.trace/collection.c (globalarr3): New global.
1619 (main): Initialize it before collecting, and and clear it
1620 afterwards.
1621 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1622 collecting with '{type} addr', where the addr expression is not an
1623 rvalue.
1624
1625 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
1626
1627 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1628 a bool variable. Expect correct OpenCL names for vector types. Use the
1629 uc3 variable name instead of referring to the uchar3 built-in type.
1630 Escape the asterisk at the half pointer test.
1631
1632 2011-02-16 Pedro Alves <pedro@codesourcery.com>
1633
1634 * gdb.trace/collection.c (globalarr2): New global.
1635 (main): Initialize it before collecting, and and clear it
1636 afterwards.
1637 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1638 collecting overlapping memory ranges.
1639
1640 2011-02-15 Michael Snyder <msnyder@vmware.com>
1641
1642 * gdb.base/default.exp: Add tests for thread commands.
1643 * gdb.base/help.exp: Add tests for thread commands.
1644 * gdb.threads/thread-find.exp: New test for thread find command.
1645
1646 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
1647
1648 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1649
1650 2011-02-15 Yao Qi <yao@codesourcery.com>
1651
1652 PR tdep/12352
1653 * gdb.arch/arm-disp-step.S : New test for str instruction.
1654 * gdb.arch/arm-disp-step.exp : Likewise.
1655
1656 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1657
1658 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1659 "vector_register2_vr" test strings. Test the extended floating
1660 point registers (F32~F63).
1661 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1662 IBM XL C compiler. Make the test program use a register provided
1663 by the compiler for the lxvd2x instruction.
1664
1665 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1666
1667 * gdb.trace/unavailable.cc (class Base, class Middle, class
1668 Derived): New types.
1669 (derived_unavail, derived_partial, derived_whole): New globals.
1670 (virtual_partial): New global.
1671 (virtualp): Point at virtual_partial.
1672 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1673 related to unavailable vptr.
1674
1675 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1676
1677 * gdb.trace/unavailable.cc (a, b, c): New globals.
1678 (main): Set and clear them.
1679 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1680 `a' and `c', and check that `b' isn't collected, although `a' and
1681 `c' are.
1682
1683 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1684
1685 * gdb.trace/unavailable.cc (struct Virtual): New.
1686 (virtualp): New global pointer.
1687 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1688 printing a pointer to an object whose type has a vtable, with
1689 print object on.
1690
1691 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1692
1693 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1694 value repeat handles unavailableness.
1695
1696 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1697
1698 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1699 tests for building arrays from unavailable values, subscripting
1700 non-memory rvalue unvailable arrays, and accessing fields or
1701 baseclasses of non-lazy unavailable values,
1702 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1703 struct types.
1704 (g_smallstruct, g_smallstruct_b): New globals.
1705
1706 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1707
1708 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1709
1710 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1711
1712 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1713 * gdb.cp/overload-const.exp: New file.
1714 * gdb.cp/overload-const.cc: New file.
1715
1716 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1717
1718 * gdb.opencl/callfuncs.cl: New file.
1719 * gdb.opencl/callfuncs.exp: New test.
1720 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1721
1722 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1723
1724 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1725 when computing result.
1726 * gdb.arch/altivec-abi.exp: Update expected results.
1727
1728 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1729
1730 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1731 * gdb.base/jit.exp: Likewise.
1732 * gdb.base/pie-execl.exp: Likewise.
1733 * gdb.base/solib-nodir.exp: Likewise.
1734 * gdb.base/solib-overlap.exp: Likewise.
1735
1736 2011-02-07 Pedro Alves <pedro@codesourcery.com>
1737
1738 * gdb.trace/collection.c (global_pieces): New.
1739 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1740 New procedure.
1741 (gdb_trace_collection_test): Call it.
1742
1743 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1744
1745 * gdb.python/py-evthreads.c: New file.
1746 * gdb.python/py-evthreads.exp: New file.
1747 * gdb.python/py-events.py: New file.
1748 * gdb.python/py-events.exp: New file.
1749 * gdb.python/py-events.c: New file.
1750
1751 2011-02-04 David Daney <ddaney@caviumnetworks.com>
1752
1753 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1754
1755 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
1756
1757 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1758 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1759 boundary between two compilation units.
1760
1761 2011-02-02 Pedro Alves <pedro@codesourcery.com>
1762
1763 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1764 (Virtual): New structs.
1765 (virtual_o, virtual_middle_b): New globals.
1766 * gdb.cp/virtbase.exp: New tests.
1767
1768 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1769
1770 * gdb.base/jit.exp: New file.
1771 * gdb.base/jit-main.c: New file.
1772 * gdb.base/jit-solib.c: New file.
1773
1774 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1775
1776 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1777 proceed to initial kernel entry point.
1778 * gdb.opencl/datatypes.exp: Likewise.
1779 * gdb.opencl/operators.exp: Likewise.
1780 * gdb.opencl/vec_comps.exp: Likewise.
1781
1782 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1783
1784 * gdb.cp/nsnested.cc: New.
1785 * gdb.cp/nsnested.exp: New.
1786 * gdb.cp/nsnoimports.exp: New.
1787 * gdb.cp/nsnoimports.cc: New.
1788
1789 2011-01-31 Joel Brobecker <brobecker@adacore.com>
1790
1791 * gdb.base/interact.exp: Add extra tests that verify that
1792 the value of the interactive-mode setting does not change
1793 after the script is sourced.
1794
1795 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1796
1797 * gdb.cp/noparam.exp: New file.
1798 * gdb.cp/noparam.cc: New file.
1799
1800 2011-01-28 Pedro Alves <pedro@codesourcery.com>
1801
1802 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1803 there's no stack or registers.
1804
1805 2011-01-26 Tom Tromey <tromey@redhat.com>
1806
1807 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1808 space before string output. Add test for "set print pretty off"
1809 case.
1810
1811 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1812
1813 * gdb.base/frame-args.exp: Adjust.
1814 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1815 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1816 * gdb.dwarf2/pieces.exp: Adjust.
1817 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1818 * gdb.opt/inline-locals.exp: Adjust.
1819 * gdb.threads/fork-child-threads.exp: Adjust.
1820
1821 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1822
1823 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1824 OpenCL kernel function. Add a comment as marker. Add address space
1825 qualifiers for the remaining program scope variables.
1826 * gdb.opencl/datatypes.cl: Likewise.
1827 * gdb.opencl/operators.cl: Likewise.
1828 * gdb.opencl/vec_comps.cl: Likewise.
1829 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1830 Add breakpoint at the marker comment.
1831 * gdb.opencl/datatypes.exp: Likewise.
1832 * gdb.opencl/operators.exp: Likewise.
1833 * gdb.opencl/vec_comps.exp: Likewise.
1834
1835 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1836
1837 * gdb.base/printcmds.c (some_struct): New struct and instance.
1838 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1839 procedure.
1840 <global scope>: Call it.
1841
1842 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1843
1844 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1845 argument to the gdb_compile_opencl_hostapp call.
1846
1847 2011-01-19 Yao Qi <yao@codesourcery.com>
1848
1849 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1850 positve list.
1851
1852 2011-01-19 Yao Qi <yao@codesourcery.com>
1853
1854 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1855 canonical form.
1856 Remove "xscale-*-*"
1857 * gdb.xml/tdesc-regs.exp: Likewise.
1858 * gdb.python/py-section-script.exp: Replace ARM target triplet
1859 with canonical form.
1860 Match arm*-*-symbianelf*.
1861 * gdb.base/dup-sect.exp: Likewise.
1862 * lib/dwarf.exp: New.
1863 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1864 dwarf2_support.
1865 * gdb.dwarf2/dup-psym.exp: Likewise.
1866 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1867 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1868 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1869 * gdb.dwarf2/dw2-basic.exp: Likewise.
1870 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1871 * gdb.dwarf2/dw2-const.exp: Likewise.
1872 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1873 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1874 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1875 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1876 * gdb.dwarf2/dw2-filename.exp: Likewise.
1877 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1878 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1879 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1880 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1881 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1882 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1883 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1884 * gdb.dwarf2/dw2-producer.exp: Likewise.
1885 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1886 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1887 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1888 * gdb.dwarf2/dw2-strp.exp: Likewise.
1889 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1890 * gdb.dwarf2/implptr.exp: Likewise.
1891 * gdb.dwarf2/mac-fileno.exp: Likewise.
1892 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1893 * gdb.dwarf2/pieces.exp: Likewise.
1894 * gdb.dwarf2/pr11465.exp: Likewise.
1895 * gdb.dwarf2/valop.exp: Likewise.
1896 * gdb.dwarf2/watch-notconst.exp: Likewise.
1897 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1898
1899 2011-01-19 Tom Tromey <tromey@redhat.com>
1900
1901 * gdb.python/py-infthread.exp: Add thread tests.
1902
1903 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1904
1905 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1906
1907 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1908
1909 * gdb.ada/widewide: New testcase.
1910
1911 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1912
1913 * gdb.base/interact.exp: New testcase.
1914
1915 2011-01-12 Tom Tromey <tromey@redhat.com>
1916
1917 * gdb.mi/gdb2549.exp: Update for error message changes.
1918 * gdb.mi/mi-cli.exp: Likewise.
1919 * gdb.mi/mi-disassemble.exp: Likewise.
1920 * gdb.mi/mi-pthreads.exp: Likewise.
1921 * gdb.mi/mi-regs.exp: Likewise.
1922 * gdb.mi/mi-stack.exp: Likewise.
1923 * gdb.mi/mi-var-block.exp: Likewise.
1924 * gdb.mi/mi-var-cmd.exp: Likewise.
1925 * gdb.mi/mi2-cli.exp: Likewise.
1926 * gdb.mi/mi2-disassemble.exp: Likewise.
1927 * gdb.mi/mi2-pthreads.exp: Likewise.
1928 * gdb.mi/mi2-regs.exp: Likewise.
1929 * gdb.mi/mi2-stack.exp: Likewise.
1930 * gdb.mi/mi2-var-block.exp: Likewise.
1931 * gdb.mi/mi2-var-cmd.exp: Likewise.
1932
1933 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1934 Jan Kratochvil <jan.kratochvil@redhat.com>
1935
1936 PR fortran/11104 and DWARF unbound arrays detection.
1937 * gdb.fortran/multi-dim.exp: New file.
1938 * gdb.fortran/multi-dim.f90: New file.
1939
1940 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1941
1942 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1943 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1944 add new tests for opcode dumping.
1945
1946 2011-01-11 Tom Tromey <tromey@redhat.com>
1947
1948 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1949
1950 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1951
1952 Convert hardware watchpoints to use breakpoint_ops.
1953 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1954 type is not supported.
1955 * gdb.base/foll-fork.exp: Likewise.
1956 * gdb.base/foll-vfork.exp: Likewise.
1957
1958 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1959
1960 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1961 Use load_lib gdb-python.exp.
1962 * gdb.python/python.exp: Ditto.
1963 * gdb.python/py-function.exp: Ditto.
1964
1965 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1966
1967 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1968
1969 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1970
1971 * configure: Regenerate.
1972
1973 2011-01-06 Tom Tromey <tromey@redhat.com>
1974
1975 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1976
1977 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1978
1979 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1980 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1981 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1982 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1983 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1984 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1985 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1986 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1987 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1988 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1989 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1990 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1991 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1992 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1993 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1994 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1995 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1996 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1997 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1998 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1999 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2000 gdb.ada/uninitialized_vars.exp,
2001 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2002 Simplify by using clean_restart.
2003
2004 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2005
2006 Add marker to be used as anchor for inserting breakpoints.
2007 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2008 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2009 Likewise.
2010
2011 Remove uses of gdb_start_cmd.
2012 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2013 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2014
2015 Do not run testcase if testing with GDBserver.
2016 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2017 if testing with GDBserver.
2018
2019 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2020
2021 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2022 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2023 copyright header.
2024
2025 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2026
2027 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2028 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2029 testsuite/gdb.fortran/complex.f,
2030 testsuite/gdb.fortran/derived-type.f90,
2031 testsuite/gdb.fortran/library-module-lib.f90,
2032 testsuite/gdb.fortran/library-module-main.f90,
2033 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2034 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2035 Copyright year update.
2036
2037 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2038
2039 * gdb.base/langs1.f: Add copyright header.
2040
2041 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2042
2043 * gdb.base/morestack.exp: New file.
2044 * gdb.base/morestack.c: New file.
2045
2046 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2047
2048 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2049
2050 2010-12-29 Joel Brobecker <brobecker@adacore.com>
2051
2052 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
2053 * gdb.ada/arrayptr.exp: Add test printing that new variable.
2054
2055 2010-12-29 Joel Brobecker <brobecker@adacore.com>
2056
2057 * gdb.ada/lang_switch.exp: Correct expected parameter value.
2058
2059 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
2060
2061 * gdb.threads/tls.exp: Fix typo.
2062
2063 * gdb.threads/thread-specific.exp (get_thread_list): Update.
2064 * gdb.threads/execl.exp: Update.
2065
2066 2010-12-23 Yao Qi <yao@codesourcery.com>
2067
2068 * gdb.arch/arm-disp-step.exp: New.
2069 * gdb.arch/arm-disp-step.S: New.
2070
2071 2010-12-21 Tom Tromey <tromey@redhat.com>
2072
2073 * gdb.threads/execl.exp: Update.
2074 * gdb.threads/linux-dp.exp: Update.
2075 * gdb.threads/manythreads.exp: Update.
2076 * gdb.threads/tls.exp: Update.
2077
2078 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2079
2080 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
2081 (NextOverThrowDerivates) <resumebpt>: New.
2082 (resumebpt_test): New.
2083 (main): Call resumebpt_test.
2084 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2085
2086 2010-12-12 Stan Shebs <stan@codesourcery.com>
2087
2088 * gdb.trace/tsv.exp: Test print command on trace state variables.
2089
2090 2010-12-09 Tom Tromey <tromey@redhat.com>
2091
2092 * gdb.base/interp.exp: Add regression test.
2093
2094 2010-12-09 Tom Tromey <tromey@redhat.com>
2095
2096 * gdb.java/jnpe.java: New file.
2097 * gdb.java/jnpe.exp: New file.
2098 * gdb.cp/nextoverthrow.exp: New file.
2099 * gdb.cp/nextoverthrow.cc: New file.
2100
2101 2010-12-07 Doug Evans <dje@google.com>
2102
2103 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
2104 of data-directory.
2105 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
2106 updated.
2107 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2108
2109 2010-11-29 Michael Snyder <msnyder@vmware.com>
2110
2111 * gdb.base/callfuncs.exp: Test for skip_float_tests.
2112 * gdb.base/call-sc.exp: Ditto.
2113 * gdb.base/finish.exp: Ditto.
2114 * gdb.base/return.exp: Ditto.
2115 * gdb.base/return2.exp: Ditto.
2116
2117 2010-11-30 Doug Evans <dje@google.com>
2118
2119 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
2120 (gdb_expect_list): Fix spelling errors in comments.
2121 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
2122 send_gdb/gdb_expect_list where applicable.
2123 * gdb.base/call-ar-st.exp: Ditto.
2124 * gdb.base/funcargs.exp: Ditto.
2125 * gdb.base/gcore.exp: Ditto.
2126 * gdb.base/page.exp: Ditto.
2127 * gdb.base/sigaltstack.exp: Ditto.
2128 * gdb.base/siginfo.exp: Ditto.
2129 * gdb.base/sigstep.exp: Ditto.
2130 * gdb.base/trace-commands.exp: Ditto.
2131
2132 2010-11-29 Doug Evans <dje@google.com>
2133
2134 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
2135 printer-name;subprinter-name.
2136
2137 2010-11-29 Tom Tromey <tromey@redhat.com>
2138
2139 * gdb.dwarf2/implptr.exp: New file.
2140 * gdb.dwarf2/implptr.c: New file.
2141 * gdb.dwarf2/implptr.S: New file.
2142
2143 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
2144
2145 PR python/12199
2146
2147 * gdb.python/py-breakpoint.exp: Test the delete method.
2148
2149 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2150
2151 Fix step_resume_breakpoint unsaved during an infcall.
2152 * gdb.base/step-resume-infcall.exp: New file.
2153 * gdb.base/step-resume-infcall.c: New file.
2154
2155 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
2156
2157 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2158
2159 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
2160
2161 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
2162 on ppc64's symbols; "finish" and "return" commands must accept to
2163 show the caller line again as well as the line after.
2164 * gdb.asm/powerpc64.inc: New file.
2165
2166 2010-11-23 Doug Evans <dje@google.com>
2167
2168 * lib/gdb.exp (gdb_test_sequence): New function.
2169 (gdb_expect_list): Add verbose -log call for each pattern.
2170 * gdb.base/signals.exp (test_handle_all_print): Call it.
2171 Reduce timeout increment from 6 minutes to 1 minute.
2172 * gdb.server/ext-run.exp: Call it.
2173
2174 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
2175
2176 PR python/12212
2177
2178 * gdb.python/python.exp: Check that selected_thread raises an
2179 error when no inferior is loaded.
2180
2181 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2182
2183 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
2184 * gdb.dwarf2/dw2-stack-boundary.S: New file.
2185
2186 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2187
2188 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
2189 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2190
2191 2010-11-18 Doug Evans <dje@google.com>
2192
2193 * gdb.server/ext-run.exp: Fix intermittent failures.
2194
2195 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2196
2197 * gdb.stabs/gdb11479.exp: Use runto_main.
2198
2199 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2200
2201 * gdb.base/break-entry.exp: Skip if using a stub.
2202
2203 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2204
2205 * gdb.python/py-inferior.exp: Pack values in target endianness.
2206
2207 2010-11-12 Tom Tromey <tromey@redhat.com>
2208
2209 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
2210 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
2211 MemoryError.
2212 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
2213 type.
2214 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
2215 MemoryError.
2216 (test_subscript_regression): Update exception type.
2217
2218 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
2219
2220 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
2221 breakpoint tests.
2222
2223 2010-11-09 Pedro Alves <pedro@codesourcery.com>
2224
2225 * gdb.base/watchpoint.exp: Test "watch -location" with an
2226 innacessible location.
2227
2228 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
2229 Luis Machado <luisgpm@br.ibm.com>
2230
2231 * gdb.base/maint.exp: Expect "." prefix.
2232 * gdb.base/nodebug.exp: Expect "." Likewise.
2233 * gdb.base/sepsymtab.exp: Expect "." Likewise.
2234 * gdb.base/watchpoint-cond-gone.exp: Likewise.
2235 * gdb.base/watchpoint.exp: Expect a software watch to be created for
2236 POWER server processors.
2237
2238 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
2239 Luis Machado <luisgpm@br.ibm.com>
2240
2241 * gdb.base/break-entry.exp: convert entry point for
2242 ppc64 and expect leading `.' on ppc64's symbols
2243
2244 2010-11-05 Doug Evans <dje@google.com>
2245
2246 * gdb.base/help.exp: Update expected output.
2247 * gdb.python/py-param.exp: Delete, contents moved to ...
2248 * gdb.python/py-parameter.exp: ... here. New file.
2249 Add test for gdb.parameter ("directories").
2250
2251 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
2252
2253 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
2254 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
2255 * configure: Regenerate.
2256 * gdb.opencl/Makefile.in: New File.
2257 * gdb.opencl/datatypes.exp: Likewise.
2258 * gdb.opencl/datatypes.cl: Likewise.
2259 * gdb.opencl/operators.exp: Likewise.
2260 * gdb.opencl/operators.cl: Likewise.
2261 * gdb.opencl/vec_comps.exp: Likewise.
2262 * gdb.opencl/vec_comps.cl: Likewise.
2263 * gdb.opencl/convs_casts.exp: Likewise.
2264 * gdb.opencl/convs_casts.cl: Likewise.
2265 * lib/opencl.exp: Likewise.
2266 * lib/opencl_hostapp.c: Likewise.
2267 * lib/opencl_kernel.cl: Likewise.
2268 * lib/cl_util.c: Likewise.
2269 * lib/cl_util.c: Likewise.
2270 * gdb.base/default.exp (set language): Add "opencl" to the list of
2271 languages.
2272
2273 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
2274
2275 * gdb.cp/overload.exp: Added test for inheritance overload.
2276 * gdb.cp/overload.cc: Ditto.
2277 * gdb.cp/oranking.exp: Removed releveant kfails.
2278
2279 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2280 Joel Brobecker <brobecker@adacore.com>
2281
2282 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
2283 check test_compiler_info.
2284
2285 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
2286
2287 * gdb.base/gnu_vector.exp: Adjust expect messages.
2288
2289 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
2290
2291 * gdb.base/gnu_vector.exp: Add unary operator tests.
2292
2293 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
2294
2295 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2296
2297 2010-11-02 Doug Evans <dje@google.com>
2298
2299 * gdb.python/py-pp-maint.c: New file.
2300 * gdb.python/py-pp-maint.exp: New file.
2301 * gdb.python/py-pp-maint.py: New file.
2302
2303 2010-11-02 Tom Tromey <tromey@redhat.com>
2304
2305 * gdb.base/default.exp: Remove "scheme" from language list.
2306
2307 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2308
2309 Revert:
2310 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2311 * gdb.threads/sigstep-threads.exp: New file.
2312 * gdb.threads/sigstep-threads.c: New file.
2313
2314 2010-10-20 Michael Snyder <msnyder@vmware.com>
2315
2316 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2317
2318 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2319
2320 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2321 Skip test completely if gdb,no_hardware_watchpoints.
2322
2323 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2324
2325 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2326 strict, but do not check for any particular function name within libc.
2327
2328 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2329
2330 * gdb.cp/smartp.exp: New test.
2331 * gdb.cp/smartp.cc : New test.
2332
2333 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2334
2335 * gdb.cp/converts.exp: Test pointer to bool conversion.
2336 Test pointer to long conversion.
2337 * gdb.cp/oranking.exp: Removed relevant kfail.
2338
2339 2010-10-18 Tom Tromey <tromey@redhat.com>
2340
2341 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2342 argument to lazy_string.
2343 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2344 (pp_ls.to_string): Use it.
2345 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2346 Add "estring2" local.
2347
2348 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2349
2350 Fix s390x compatibility.
2351 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2352 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2353
2354 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2355
2356 * gdb.threads/sigstep-threads.exp: New file.
2357 * gdb.threads/sigstep-threads.c: New file.
2358
2359 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2360
2361 * gdb.base/pie-execl.exp: New file.
2362 * gdb.base/pie-execl.c: New file.
2363
2364 2010-10-13 Doug Evans <dje@google.com>
2365 Jan Kratochvil <jan.kratochvil@redhat.com>
2366
2367 PR exp/12117
2368 * gdb.cp/ptype-cv-cp.cc: New file.
2369 * gdb.cp/ptype-cv-cp.exp: New file.
2370
2371 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2372
2373 * gdb.cp/converts.cc: New test program.
2374 * gdb.cp/converts.exp: New test.
2375 * gdb.cp/overload.exp: Added test for void* vs int*.
2376 * gdb.cp/overload.exp: Ditto.
2377 * gdb.cp/oranking.exp: Removed related kfail.
2378
2379 2010-10-13 Doug Evans <dje@google.com>
2380
2381 * lib/gdb-python.exp (gdb_check_python_config): New function.
2382 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2383 * gdb.python/lib-types.cc: New file.
2384 * gdb.python/lib-types.exp: New file.
2385
2386 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2387
2388 * gdb.python/py-error.exp: New file.
2389 * gdb.python/py-error.py: New file.
2390
2391 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2392
2393 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2394 gdb_test_multiple.
2395
2396 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2397
2398 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2399 * gdb.base/prelink.exp: Likewise.
2400 * gdb.base/solib-nodir.exp: Likewise.
2401 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2402 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2403 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2404
2405 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2406
2407 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2408 for the "info files" test to avoid timeouts on slow machines.
2409
2410 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2411
2412 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2413 (main): Make openlib dummy call.
2414
2415 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2416
2417 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2418 * break-interp.exp (reach): Move the core body ...
2419 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2420 (test_ld): Provide always real argument, even to the linker. Replace
2421 dl_main by _dl_debug_state.
2422
2423 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2424
2425 Fix results of prelinked PIEs on ppc*.
2426 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2427 Accept also DISPLACEMENT "PRESENT".
2428 (main): Replace "ZERO" displacements by "PRESENT".
2429
2430 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2431
2432 * gdb.cp/oranking.exp: New test.
2433 * gdb.cp/oranking.cc: New test program.
2434
2435 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
2436
2437 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2438 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2439
2440 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
2441
2442 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2443 lush, lynx) New constant.
2444 * gdb.base/constvars.exp: Test const array types.
2445 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2446
2447 2010-10-06 Doug Evans <dje@google.com>
2448
2449 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2450 of syscall staging area.
2451
2452 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
2453
2454 * gdb.base/gnu_vector.c: Add variable c4.
2455 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2456 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2457
2458 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2459
2460 * gdb.arch/altivec-abi.exp: Fix a typo.
2461
2462 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2463
2464 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2465 to match a thread ID.
2466
2467 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2468
2469 Fix s390x testcase compatibility.
2470 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2471
2472 2010-10-01 Doug Evans <dje@google.com>
2473
2474 * lib/gdb-python.exp: New file.
2475 * gdb.python/py-block.exp: Use it.
2476 * gdb.python/py-breakpoint.exp: Ditto.
2477 * gdb.python/py-frame.exp: Ditto.
2478 * gdb.python/py-inferior.exp: Ditto.
2479 * gdb.python/py-param.exp: Ditto.
2480 * gdb.python/py-prettyprint.exp: Ditto.
2481 * gdb.python/py-shared.exp: Ditto.
2482 * gdb.python/py-symbol.exp: Ditto.
2483 * gdb.python/py-symtab.exp: Ditto.
2484 * gdb.python/py-type.exp: Ditto.
2485 * gdb.python/py-value.exp: Ditto.
2486 * gdb.python/python.exp: Ditto.
2487
2488 2010-09-30 Tom Tromey <tromey@redhat.com>
2489
2490 * gdb.base/anon.exp: New file.
2491 * gdb.base/anon.c: New file.
2492
2493 2010-09-30 Tom Tromey <tromey@redhat.com>
2494
2495 * gdb.base/completion.exp: Test completion through anonymous
2496 union.
2497 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2498
2499 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2500
2501 Fix printing parameters of inlined functions.
2502 * gdb.dwarf2/dw2-inline-param.exp: New file.
2503 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2504 * gdb.dwarf2/dw2-inline-param.S: New file.
2505
2506 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2507
2508 PR corefiles/12071.
2509 * gdb.base/corefile.exp (quit with a process, no question: load core)
2510 (quit with a core file): New tests.
2511
2512 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2513
2514 Fix GDB crash on inferior calls with self-referencing classes.
2515 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2516 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2517 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2518
2519 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2520
2521 Fix lost siginfo_t for inferior calls.
2522 * gdb.base/siginfo-infcall.exp: New file.
2523 * gdb.base/siginfo-infcall.c: New file.
2524
2525 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2526
2527 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2528
2529 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2530
2531 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2532 New test.
2533 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2534
2535 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2536
2537 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2538 type of our const type.
2539
2540 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2541
2542 * gdb.cp/pr12028.cc: New.
2543 * gdb.cp/pr12028.exp: New.
2544
2545 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2546
2547 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2548
2549 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
2550 Jan Kratochvil <jan.kratochvil@redhat.com>
2551
2552 PR mi/11407
2553 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2554 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2555 * gdb.mi/dw2-ref-missing-frame.S New File.
2556 * gdb.mi/dw2-ref-missing-frame.exp New File.
2557
2558 2010-09-14 Tom Tromey <tromey@redhat.com>
2559
2560 PR symtab/8399:
2561 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2562
2563 2010-09-14 Tom Tromey <tromey@redhat.com>
2564
2565 PR exp/11803:
2566 * gdb.threads/tls.exp: Use C++.
2567 (check_thread_local): Use K::another_thread_local.
2568 * gdb.threads/tls.c (class K): New.
2569 (another_thread_local): Now a member of K.
2570 (spin): Update. No longer K&R C.
2571
2572 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2573
2574 * gdb.cp/koenig.cc: created class for testing member lookup.
2575 * gdb.cp/koenig.exp: Added test for member lookup.
2576
2577 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2578
2579 Fix false FAILs on sourcetree topdir directory containing "kill".
2580 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2581 source line matching regexp.
2582
2583 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2584
2585 * gdb.python/python.exp (set height 0, collect help from uiout)
2586 (verify help to uiout): New tests.
2587
2588 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2589
2590 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2591 is_lp64_target to check 64bit target.
2592
2593 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2594
2595 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2596 (test_ld) <powerpc64-*>: New.
2597
2598 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2599
2600 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2601
2602 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2603
2604 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2605 (FunctionArg::method): New function.
2606 (empty, arg): New variables.
2607 (main): Call arg.method.
2608 * gdb.cp/templates.exp (test_template_args): New function.
2609 (do_tests): Call it.
2610
2611 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2612
2613 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2614 of "next" to proceed over pthread_exit call.
2615
2616 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2617
2618 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2619 "maint print statistics" output to prevent expect timeouts.
2620
2621 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2622
2623 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2624 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2625 (test_float_rejected): ... here.
2626 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2627 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2628 (test_float_rejected): ... here.
2629 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2630 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2631 (test_float_rejected): ... here.
2632 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2633 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2634 (test_float_rejected): ... here.
2635
2636 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2637
2638 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2639 before disabling hardware watchpoints.
2640 (test_inaccessible_watchpoint): Check that hardware watchpoints
2641 are used. Test for watchpoints on a constant address.
2642
2643 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 * gdb.base/ui-redirect.exp: New file.
2646
2647 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2648 Joel Brobecker <brobecker@adacore.com>
2649
2650 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2651
2652 2010-08-31 Doug Evans <dje@google.com>
2653
2654 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2655
2656 2010-08-30 Tom Tromey <tromey@redhat.com>
2657
2658 PR python/11792:
2659 * gdb.python/py-value.exp (test_subscript_regression): Add
2660 dynamic_type test.
2661
2662 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2663
2664 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2665 instead of running to main. Do not test the main function.
2666 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2667 Add new main.
2668
2669 2010-08-26 Pedro Alves <pedro@codesourcery.com>
2670
2671 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2672 one test.
2673
2674 2010-08-24 Doug Evans <dje@google.com>
2675
2676 PR symtab/11942
2677 * gdb.dwarf2/dw4-sig-types.cc: New file.
2678 * gdb.dwarf2/dw4-sig-types.h: New file.
2679 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2680 * gdb.dwarf2/dw4-sig-types.exp: New file.
2681
2682 2010-08-23 Tom Tromey <tromey@redhat.com>
2683
2684 PR python/11145:
2685 * gdb.python/py-value.c (Base, Derived): New types.
2686 (base): New global.
2687 * gdb.python/py-value.exp (test_subscript_regression): Add
2688 dynamic_cast test.
2689
2690 2010-08-23 Tom Tromey <tromey@redhat.com>
2691
2692 PR python/10676:
2693 * gdb.python/py-type.exp (test_fields): Add tests for type
2694 equality.
2695
2696 2010-08-23 Tom Tromey <tromey@redhat.com>
2697
2698 PR python/11915:
2699 * gdb.python/py-type.exp (test_fields): Add tests for array.
2700
2701 2010-08-23 Keith Seitz <keiths@redhat.com>
2702
2703 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2704 have any children. Create a new abbrev for it.
2705 Add missing terminal sequence to .debug_abbrev.
2706
2707 2010-08-20 Keith Seitz <keiths@redhat.com>
2708
2709 PR symtab/11465:
2710 * gdb.dwarf2/pr11465.exp: New test.
2711 * gdb.dwarf2/pr11465.S: New file.
2712 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2713 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2714
2715 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2716
2717 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2718 registers. Update data sets with the new v2_double element in the
2719 VSX register union. Add vector_register3_vr data set for the AltiVec
2720 registers. Use gdb_test_no_output instead of send_gdb.
2721
2722 2010-08-19 Pedro Alves <pedro@codesourcery.com>
2723
2724 * gdb.python/py-shared.exp: New file, factored out from
2725 python.exp.
2726 * gdb.python/py-shared.c: New file.
2727 * gdb.python/py-shared-sl.c: New file.
2728 * gdb.python/python-1.c: New file.
2729 * gdb.python/python-sl.c: Delete.
2730 * gdb.python/python.c: Mention python-1.c.
2731 * gdb.python/python.exp: Move shared library tests to
2732 py-shared.exp.
2733 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2734 (MISCELLANEOUS): New.
2735 (clean mostlyclean): Also remove $MISCELLANEOUS.
2736
2737 2010-08-19 Doug Evans <dje@google.com>
2738
2739 PR exp/11926
2740 * gdb.base/printcmds.exp (test_float_accepted): New function.
2741 Move existing float tests there. Add tests for floats with suffixes.
2742 (test_float_rejected): New function.
2743 * gdb.java/jv-print.exp (test_float_accepted): New function.
2744 (test_float_rejected): New function.
2745 * gdb.objc/print.exp: New file.
2746 * gdb.pascal/print.exp: New file.
2747 * lib/objc.exp: New file.
2748
2749 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2750
2751 * gdb.base/default.exp (info set): Avoid full buffer error and force
2752 reading up to final gdb prompt.
2753 (show): Likewise.
2754
2755 2010-08-18 Tom Tromey <tromey@redhat.com>
2756
2757 PR symtab/11919:
2758 * gdb.base/completion.exp: Add test.
2759
2760 2010-08-18 Doug Evans <dje@google.com>
2761
2762 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2763 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2764 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2765 Simplify, early exit if runto_main fails.
2766 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2767 (set_lang_fortran): Moved to lib/fortran.exp.
2768 * gdb.fortran/types.exp: load_lib fortran.exp.
2769 (set_lang_fortran): Moved to lib/fortran.exp.
2770 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2771 * gdb.java/jprint.exp (set_lang_java): Ditto.
2772 * gdb.java/jv-exp.exp: load_lib java.exp.
2773 If set_lang_java fails, issue a warning instead of failure to be
2774 consistent with other set_lang_foo uses.
2775 (set_lang_java): Moved to lib/java.exp.
2776 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2777 If set_lang_java fails, issue a warning instead of failure to be
2778 consistent with other set_lang_foo uses.
2779 * gdb.pascal/types.exp: load_lib pascal.exp.
2780 (set_lang_pascal): Moved to lib/pascal.exp.
2781 * lib/fortran.exp: New file.
2782 * lib/java.exp (set_lang_java): New function.
2783 * lib/pascal.exp (set_lang_pascal): New function.
2784
2785 2010-08-18 Yao Qi <yao@codesourcery.com
2786
2787 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2788 func_nofb_start and func_loopfb_start, so that address of functions
2789 is equal to these labels on Thumb.
2790
2791 2010-08-18 Yao Qi <yao@codesourcery.com>
2792
2793 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2794 to reflect latest c source file.
2795
2796 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2797
2798 * gdb.cp/infcall-dlopen.exp: New file.
2799 * gdb.cp/infcall-dlopen.cc: New file.
2800 * gdb.cp/infcall-dlopen-lib.cc: New file.
2801
2802 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2803 Pedro Alves <pedro@codesourcery.com>
2804
2805 PR breakpoints/11371
2806
2807 * gdb.base/watch-cond-infcall.exp: New file.
2808 * gdb.base/watch-cond-infcall.c: New file.
2809
2810 2010-08-16 Tom Tromey <tromey@redhat.com>
2811
2812 * gdb.base/help.exp: Update.
2813 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2814 watchpoint.
2815 (test_watch_location): New proc.
2816 (test_watchpoint_in_big_blob): Delete watchpoint.
2817 * gdb.base/watchpoint.c (func5): New function.
2818 (main): Call it.
2819
2820 2010-08-16 Doug Evans <dje@google.com>
2821
2822 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2823
2824 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2825
2826 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2827 tests.
2828
2829 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2830
2831 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2832 * gdb.base/gnu_vector.c: New File.
2833 * gdb.base/gnu_vector.exp: Likewise.
2834
2835 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2836
2837 * gdb.python/python.c: New File.
2838 * gdb.python/python-sl.c: New File.
2839 * gdb.python/python.exp: Test solib_address and decode_line
2840 * functions.
2841
2842 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2843
2844 * gdb.python/python.exp (show height, set height 10)
2845 (verify pagination beforehand, verify pagination beforehand: q)
2846 (gdb.execute does not page, verify pagination afterwards)
2847 (verify pagination afterwards: q): New.
2848
2849 2010-08-02 Doug Evans <dje@google.com>
2850
2851 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2852 because of an older gcc, change test2
2853 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2854 to unsupported.
2855
2856 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2857
2858 * gdb.base/break-always.exp: Do not expect full paths to file
2859 names.
2860 * gdb.base/commands.exp: Likewise.
2861
2862 2010-07-30 Doug Evans <dje@google.com>
2863
2864 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2865 xfail them when run with older gccs.
2866
2867 * lib/gdb.exp (build_executable): Forward "c++" option to
2868 get_compiler_info.
2869
2870 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2871 "python print ttype.template_argument(1)" and
2872 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2873 if using gcc 4.4 or earlier.
2874
2875 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2876 attach-to-debugger handling.
2877
2878 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2879
2880 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2881 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2882 (main): Use copyreloc.
2883 * gdb.base/prelink.exp (split debug of executable)
2884 (.dynbss vs. .bss address shift): New tests.
2885
2886 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2887
2888 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2889 in gdb_test_multiple.
2890
2891 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2892
2893 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2894 environment.
2895
2896 2010-07-28 Tom Tromey <tromey@redhat.com>
2897
2898 PR python/11060:
2899 * gdb.python/py-type.c (Temargs): New template.
2900 (temvar): New variable.
2901 * gdb.python/py-type.exp (test_template): New proc.
2902
2903 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2904
2905 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2906 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2907
2908 2010-07-28 Tom Tromey <tromey@redhat.com>
2909
2910 PR c++/9946:
2911 * gdb.cp/temargs.exp: New file.
2912 * gdb.cp/temargs.cc: New file.
2913
2914 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2915
2916 * gdb.base/help.exp (help disassemble): Update the content.
2917
2918 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2919
2920 * gdb.threads/ia64-sigill.exp: New file.
2921 * gdb.threads/ia64-sigill.c: New file.
2922
2923 2010-07-27 Tom Tromey <tromey@redhat.com>
2924
2925 * gdb.opt/inline-cmds.c (ATTR): New define.
2926 (func1): Use it.
2927 (func2): Likewise.
2928 (func3): Likewise.
2929 (outer_inline1): Likewise.
2930 (outer_inline2): Likewise.
2931 * gdb.opt/inline-bt.c (ATTR): New define.
2932 (func1): Use it.
2933 (func2): Likewise.
2934 * gdb.opt/inline-locals.c (ATTR): New define.
2935 (func1): Use it.
2936 (func2): Likewise.
2937
2938 2010-07-27 Tom Tromey <tromey@redhat.com>
2939
2940 * gdb.stabs/gdb11479.c (hack): New function.
2941 (test): Use it.
2942 (test2): Use it.
2943 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2944 (int32_search_buf, int64_search_buf): No longer static.
2945 (x): Remove.
2946 * gdb.base/relocate.c (hack): New function.
2947
2948 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2949
2950 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2951 * gdb.python/py-value.c (func1): New function.
2952 (func2): Likewise.
2953
2954 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2955
2956 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2957 as not to clash with .data section.
2958
2959 2010-07-26 Jerome Guitton <guitton@adacore.com>
2960
2961 * gdb.base/code_elim.exp: New file.
2962 * gdb.base/code_elim1.c: New file.
2963 * gdb.base/code_elim2.c: New file.
2964
2965 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2966
2967 PR symtab/11827
2968
2969 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2970 (some_volatile_enum): New variable.
2971 * gdb.base/printcmds.exp (test_print_enums): New.
2972 <top level>: Call it.
2973
2974 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2975
2976 * gdb.cp/fpointer.cc: New test.
2977 * gdb.cp/fpointer.exp: New test.
2978
2979 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2980
2981 * gdb.base/solib-nodir.exp: New file.
2982 * lib/gdb.exp (runto): New case for a GDB internal error.
2983
2984 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2985 Ulrich Weigand <uweigand@de.ibm.com>
2986 Tom Tromey <tromey@redhat.com>
2987
2988 * gdb.base/charset-malloc.c: New file.
2989 * gdb.base/charset.c (malloc_stub): New prototype.
2990 (main): Call it instead of malloc itself.
2991 * gdb.base/charset.exp: Use only prepare_for_testing.
2992 (binfile): Remove the variable.
2993
2994 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2995
2996 Make core files the process_stratum.
2997 * gdb.base/corefile.exp (run: load core again)
2998 (run: sanity check we see the core file, run: with core)
2999 (run: core file is cleared, attach: load core again)
3000 (attach: sanity check we see the core file, attach: with core)
3001 (attach: core file is cleared): New tests.
3002 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
3003
3004 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
3005
3006 * gdb.arch/altivec-abi.exp: New tests.
3007
3008 2010-07-13 Tom Tromey <tromey@redhat.com>
3009
3010 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3011 (main): Use it.
3012 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3013
3014 2010-07-13 Tom Tromey <tromey@redhat.com>
3015
3016 * gdb.base/label.exp: New file.
3017 * gdb.base/label.c: New file.
3018
3019 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
3020 H.J. Lu <hongjiu.lu@intel.com>
3021
3022 * lib/gdb.exp (is_ilp32_target): New.
3023 (is_lp64_target): Likewise.
3024
3025 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3026 target.
3027 * gdb.arch/amd64-disp-step.exp: Likewise.
3028 * gdb.arch/amd64-dword.exp: Likewise.
3029 * gdb.arch/amd64-i386-address.exp: Likewise.
3030 * gdb.arch/amd64-word.exp: Likewise.
3031
3032 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3033 target.
3034 * gdb.arch/i386-bp_permanent.exp: Likewise.
3035 * gdb.arch/i386-byte.exp: Likewise.
3036 * gdb.arch/i386-disp-step.exp: Likewise.
3037 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3038 * gdb.arch/i386-prologue.exp: Likewise.
3039 * gdb.arch/i386-size-overlap.exp: Likewise.
3040 * gdb.arch/i386-size.exp: Likewise.
3041 * gdb.arch/i386-sse.exp: Likewise.
3042 * gdb.arch/i386-unwind.exp: Likewise.
3043 * gdb.arch/i386-word.exp: Likewise.
3044
3045 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
3046 test only when building 64-bit executables. Do not hard-code
3047 -m64 option.
3048
3049 2010-07-07 Doug Evans <dje@google.com>
3050
3051 * lib/gdb.exp (gdb_test_list_exact): New function.
3052 * gdb.base/default.exp (show convenience): Call it, add tests for
3053 $_sdata = void, $_thread = 0.
3054
3055 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3056 Joel Brobecker <brobecker@adacore.com>
3057
3058 Fix re-run of PIE executable, PR shlibs/11776.
3059 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
3060 Remove $displacement_main to match the solib-svr4.c change. New "kill"
3061 and re-"run" of the inferior.
3062
3063 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3064 Joel Brobecker <brobecker@adacore.com>
3065
3066 Cope with missing /usr/sbin/prelink.
3067 * lib/prelink-support.exp (prelink_no):
3068 <result == 1 && $output is "no such file or directory">: New.
3069 (prelink_yes): Likewise. Return on failed prelink_no.
3070
3071 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3072 Joel Brobecker <brobecker@adacore.com>
3073
3074 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
3075 build_executable by build_executable_own_libs. Replace "prelink -R"
3076 execution by a call of prelink_yes. Comment why "prelink -r" needs no
3077 change.
3078 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
3079 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
3080 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
3081 Replace build_executable by build_executable_own_libs's function
3082 build_executable_own_libs.
3083 (prelinkNO): Create new stub to call prelink_no.
3084 (prelinkYES): Create new stub to call prelink_yes.
3085 (test_attach): Rename calls of copy to file_copy.
3086 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
3087 (copy): Move to ...
3088 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
3089 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
3090 * gdb.base/prelink.exp: Disable testcase also for is_remote and
3091 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
3092 special flags by gdb_compile_shlib. Replace second gdb_compile by
3093 build_executable_own_libs. Replace "prelink -R" execution by a call of
3094 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
3095 a second call of prelink_yes. Replace restart commands by
3096 clean_restart.
3097 (prelink): Rename to ...
3098 (seen displacement message): ... this test. Extend its expectation
3099 strictness.
3100
3101 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3102
3103 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
3104 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
3105 displacement message exactly once.
3106
3107 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3108 Joel Brobecker <brobecker@adacore.com>
3109
3110 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
3111 its restore after the <$relink_args != ""> loop. new comment.
3112
3113 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3114 Joel Brobecker <brobecker@adacore.com>
3115
3116 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
3117 code for it. New variable relink_args.
3118 (prelinkYES): Call prelinkNO.
3119 (test_attach): Accept new parameter relink_args. Re-prelink the binary
3120 in such case. Move the core code to ...
3121 (test_attach_gdb): ... a new function. Send GDB command "file".
3122 Extend expected "Attaching to " string.
3123
3124 2010-07-02 Tom Tromey <tromey@redhat.com>
3125
3126 * gdb.base/bitops.exp: Remove extraneous "pass".
3127
3128 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
3129
3130 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3131
3132 2010-07-01 Pedro Alves <pedro@codesourcery.com>
3133
3134 * gdb.base/help.exp: Adjust expected output.
3135
3136 2010-07-01 Pedro Alves <pedro@codesourcery.com>
3137
3138 * gdb.base/help.exp: Adjust expected output.
3139
3140 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3141
3142 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
3143 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
3144 c++/11702.
3145
3146 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3147 Doug Evans <dje@google.com>
3148
3149 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
3150 add .dynamic entry'.
3151
3152 2010-06-29 Doug Evans <dje@google.com>
3153
3154 Test PR c++/11702.
3155 * gdb.cp/m-static.exp: Add testcase.
3156 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
3157
3158 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
3159 Tom Tromey <tromey@redhat.com>
3160 Thiago Jung Bauermann <bauerman@br.ibm.com>
3161
3162 * gdb.python/py-inferior.c: New File.
3163 * gdb.python/py-infthread.c: New File.
3164 * gdb.python/py-inferior.exp: New File.
3165 * gdb.python/py-infthread.exp: New File.
3166
3167 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3168
3169 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
3170 (ptype ::C::OtherFileClass typedefs): New.
3171 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
3172 (C::OtherFileClass::cOtherFileClassVar2): New.
3173 (C::OtherFileClass::cOtherFileClassVar_use): Use also
3174 cOtherFileClassVar2.
3175 (C::cOtherFileType2, C::cOtherFileVar2): New.
3176 (C::cOtherFileVar_use): use also cOtherFileVar2.
3177 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
3178
3179 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3180
3181 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
3182 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
3183 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
3184 (print ::C::cOtherFileVar)
3185 (whatis C::OtherFileClass::cOtherFileClassType)
3186 (whatis ::C::OtherFileClass::cOtherFileClassType)
3187 (print C::OtherFileClass::cOtherFileClassVar)
3188 (print ::cOtherFileClassVar)
3189 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
3190 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
3191 trailing content.
3192 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
3193 (C::OtherFileClass::cOtherFileClassVar)
3194 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
3195 (C::cOtherFileVar, C::cOtherFileVar_use): New.
3196
3197 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3198
3199 Test PR c++/11703 and PR gdb/1448.
3200 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
3201 gdb/1448.
3202
3203 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3204
3205 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
3206 (main) <rtti_data>: New.
3207 * gdb.cp/virtbase.exp (print rtti_data): New.
3208
3209 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3210 Joel Brobecker <brobecker@adacore.com>
3211
3212 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
3213
3214 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3215
3216 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
3217
3218 2010-06-28 Doug Evans <dje@google.com>
3219
3220 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
3221
3222 2010-06-27 Doug Evans <dje@google.com>
3223
3224 * gdb.cp/m-static.exp: Update expected test output.
3225
3226 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
3227
3228 * gdb.gdb/selftest.exp: Adjust expected message for
3229 capturing start-up runtime.
3230
3231 2010-06-25 Tom Tromey <tromey@redhat.com>
3232
3233 PR python/10808:
3234 * gdb.python/python.exp: Add new tests.
3235
3236 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
3237
3238 * gdb.cp/operator.cc: Created an import loop.
3239 * gdb.cp/operator.exp: Added testcase for import loop.
3240
3241 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3242
3243 Test PR python/11407.
3244 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
3245 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
3246 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
3247 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
3248 executable_nofb and executable_fb. New variables srcsfile, objsfile,
3249 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
3250 binfile. Call gdb_compile with clean_restart twice.
3251 (func_nofb print, func_nofb backtrace, func_loopfb print)
3252 (func_loopfb backtrace): New.
3253
3254 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3255
3256 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
3257 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
3258 by a hand made one.
3259 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
3260 i?86 requirement. Remove variables srcfile and binfile. New variable
3261 sources, executable_nofb and executable_fb. Call prepare_for_testing.
3262
3263 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3264
3265 * gdb.cell/dwarfaddr.exp: New file.
3266 * gdb.cell/dwarfaddr.S: New file.
3267
3268 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3269
3270 Test PR 9436.
3271 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
3272
3273 2010-06-24 Hui Zhu <teawater@gmail.com>
3274
3275 * gdb.base/eval.exp: New file.
3276
3277 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3278
3279 * gdb.cell/fork.exp: New file.
3280 * gdb.cell/fork.c: Likewise.
3281 * gdb.cell/fork-spu.c: Likewise.
3282
3283 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
3284
3285 * lib/gdb.exp (banned_variables_traced): New global variable.
3286 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
3287 (gdb_init): Use `trace add variable' instead of obsolete
3288 `trace variable'.
3289
3290 2010-06-21 Doug Evans <dje@google.com>
3291
3292 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3293
3294 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3295
3296 * gdb.arch/spu-ls.exp: New file.
3297 * gdb.arch/spu-ls.c: Likewise.
3298
3299 2010-06-18 Stan Shebs <stan@codesourcery.com>
3300
3301 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3302
3303 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3304
3305 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3306 * gdb.base/watch-cond.exp: Likewise.
3307 * gdb.python/py-breakpoint.exp: Likewise.
3308
3309 2010-06-18 Pedro Alves <pedro@codesourcery.com>
3310
3311 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3312 clean_restart, make sure every test has a distinct message, and
3313 that messages don't include the executable' full path.
3314
3315 2010-06-17 Doug Evans <dje@google.com>
3316
3317 * gdb.arch/i386-size.exp: Updated expected output for
3318 DISASSEMBLY_OMIT_FNAME.
3319
3320 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3321 Sergio Durigan Junior <sergiodj@redhat.com>
3322
3323 * gdb.base/watch-notconst.c: New file.
3324 * gdb.base/watch-notconst.S: New file.
3325 * gdb.base/watch-notconst2.c: New file.
3326 * gdb.base/watch-notconst2.S: New file.
3327 * gdb.base/watch-notconst.exp: New file.
3328 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3329 (func4): Add operations on `global_ptr_ptr'.
3330 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3331 routine to test watchpoints created with a constant expression.
3332 (test_inaccessible_watchpoint): Include tests for watchpoints
3333 created with a constant expression.
3334
3335 2010-06-14 Kevin Buettner <kevinb@redhat.com>
3336
3337 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3338 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3339 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3340 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3341 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3342 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3343 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3344 of `_start'.
3345
3346 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3347
3348 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3349 not supported on the target.
3350 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3351 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3352 * gdb.mi/mi-nsintrall.exp: Likewise.
3353 * gdb.mi/mi-nsmoribund.exp: Likewise.
3354 * gdb.mi/mi-nsthrexec.exp: Likewise.
3355
3356 2010-06-11 Stan Shebs <stan@codesourcery.com>
3357
3358 * gdb.base/permissions.exp: New file.
3359
3360 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3361
3362 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3363 does not support ELF executable class.
3364
3365 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3366
3367 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3368
3369 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3370
3371 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3372 (runto): Catch "The target does not support running in non-stop mode.".
3373
3374 2010-06-11 Michael Snyder <msnyder@vmware.com>
3375
3376 * gdb.base/setshow.exp (set language asm): Don't use
3377 gdb_test_no_output, fails on some targets.
3378
3379 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3380
3381 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3382 * gdb.cp/pr9167.exp: Likewise.
3383
3384 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3385
3386 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3387
3388 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3389
3390 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3391
3392 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3393
3394 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3395
3396 2010-06-11 Tom Tromey <tromey@redhat.com>
3397
3398 PR gdb/9977, PR exp/11636::
3399 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3400 (pieces_test_f6): Update expected output.
3401
3402 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3403
3404 * gdb.base/moribund-step.exp: New.
3405
3406 2010-06-08 Michael Snyder <msnyder@vmware.com>
3407
3408 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
3409 * gdb.ada/boolean_expr.exp:
3410 * gdb.ada/frame_args.exp: Ditto.
3411 * gdb.ada/lang_switch.exp: Ditto.
3412 * gdb.ada/ptype_arith_binop.exp: Ditto.
3413 * gdb.ada/ref_param.exp: Ditto.
3414 * gdb.ada/type_coercion.exp:Ditto.
3415
3416 * gdb.asm/asm-source.exp: Ditto.
3417
3418 * gdb.base/attach.exp: Ditto.
3419 * gdb.base/bitfields2.exp: Ditto.
3420 * gdb.base/call-signal-resume.exp: Ditto.
3421 * gdb.base/callfuncs.exp: Ditto.
3422 * gdb.base/commands.exp: Ditto.
3423 * gdb.base/dbx.exp: Ditto.
3424 * gdb.base/default.exp: Ditto.
3425 * gdb.base/dump.exp: Ditto.
3426 * gdb.base/exprs.exp: Ditto.
3427 * gdb.base/freebpcmd.exp: Ditto.
3428 * gdb.base/interrupt.exp: Ditto.
3429 * gdb.base/list.exp: Ditto.
3430 * gdb.base/long_long.exp: Ditto.
3431 * gdb.base/maint.exp: Ditto.
3432 * gdb.base/ptype.exp: Ditto.
3433 * gdb.base/return.exp: Ditto.
3434 * gdb.base/setshow.exp: Ditto.
3435 * gdb.base/sigbpt.exp: Ditto.
3436 * gdb.base/sigrepeat.exp: Ditto.
3437
3438 * gdb.cp/classes.exp: Ditto.
3439
3440 * gdb.dwarf2/dw2-restore.exp: Ditto.
3441
3442 * gdb.gdb/selftest.exp: Ditto.
3443
3444 * gdb.multi/base.exp: Ditto.
3445 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3446
3447 * gdb.python/py-block.exp: Ditto.
3448 * gdb.python/py-prettyprint.exp: Ditto.
3449 * gdb.python/py-template.exp: Ditto.
3450
3451 * gdb.server/ext-attach.exp: Ditto.
3452 * gdb.server/ext-run.exp: Ditto.
3453 * gdb.server/server-mon.exp: Ditto.
3454
3455 * gdb.threads/fork-thread-pending.exp: Ditto.
3456 * gdb.threads/hand-call-in-threads.exp: Ditto.
3457 * gdb.threads/interrupted-hand-call.exp: Ditto.
3458 * gdb.threads/linux-dp.exp: Ditto.
3459 * gdb.threads/manythreads.exp: Ditto.
3460 * gdb.threads/print-threads.exp: Ditto.
3461 * gdb.threads/pthreads.exp: Ditto.
3462 * gdb.threads/schedlock.exp: Ditto.
3463 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3464 * gdb.threads/threadapply.exp: Ditto.
3465
3466 2010-06-08 Michael Snyder <msnyder@vmware.com>
3467
3468 * gdb.ada/exec_changed.exp:
3469 Use ".*" instead of "" as wildcard regexp.
3470
3471 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3472 * gdb.base/call-ar-st.exp: Ditto.
3473 * gdb.base/checkpoint.exp: Ditto.
3474 * gdb.base/default.exp: Ditto.
3475 * gdb.base/dump.exp: Ditto.
3476 * gdb.base/ending-run.exp: Ditto.
3477 * gdb.base/fileio.exp: Ditto.
3478 * gdb.base/miscexprs.exp: Ditto.
3479 * gdb.base/pointers.exp: Ditto.
3480 * gdb.base/readline.exp: Ditto.
3481 * gdb.base/reread.exp: Ditto.
3482 * gdb.base/restore.exp: Ditto.
3483 * gdb.base/shlib-call.exp: Ditto.
3484 * gdb.base/valgrind-db-attach.exp: Ditto.
3485 * gdb.base/volatile.exp: Ditto.
3486 * gdb.base/watchpoints.exp: Ditto.
3487
3488 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3489
3490 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3491 * gdb.python/py-value.exp: Ditto.
3492
3493 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3494 * gdb.trace/circ.exp: Ditto.
3495 * gdb.trace/collection.exp: Ditto.
3496 * gdb.trace/packetlen.exp: Ditto.
3497 * gdb.trace/passc-dyn.exp: Ditto.
3498 * gdb.trace/report.exp: Ditto.
3499 * gdb.trace/tfile.exp: Ditto.
3500 * gdb.trace/tfind.exp: Ditto.
3501 * gdb.trace/while-dyn.exp: Ditto.
3502
3503 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3504
3505 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3506
3507 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3508
3509 Test PR 10640.
3510 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3511
3512 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3513
3514 * gdb.cp/koenig.exp: Test for ADL operators.
3515 * gdb.cp/koenig.cc: Added ADL operators.
3516 * gdb.cp/operator.exp: New test.
3517 * gdb.cp/operator.cc: New test.
3518
3519 2010-06-04 Michael Snyder <msnyder@vmware.com>
3520
3521 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3522 * gdb.base/pending.exp: Ditto.
3523
3524 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3525
3526 2010-06-04 Doug Evans <dje@google.com>
3527
3528 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3529 disabled printers.
3530 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3531 (enable_lookup_function): New function.
3532
3533 2010-06-04 Tom Tromey <tromey@redhat.com>
3534
3535 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3536 of hash and id.
3537
3538 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3539
3540 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3541 newline.
3542 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3543 (empty verbose non-noisy clear, empty verbose noisy clear)
3544 (empty non-verbose noisy clear): Likewise.
3545
3546 2010-06-03 Michael Snyder <msnyder@vmware.com>
3547
3548 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3549 * gdb.base/display.exp: Ditto.
3550 * gdb.base/find.exp: Ditto.
3551 * gdb.base/ifelse.exp: Ditto.
3552 * gdb.base/multi-forks.exp: Ditto.
3553 * gdb.base/recurse.exp: Ditto.
3554 * gdb.base/setshow.exp: Ditto.
3555 * gdb.base/value-double-free.exp: Ditto.
3556 * gdb.base/watch-vfork.exp: Ditto.
3557 * gdb.base/watch_thread_num.exp: Ditto.
3558 * gdb.base/watchpoint-solib.exp: Ditto.
3559 * gdb.base/watchpoint.exp: Ditto.
3560 * gdb.base/watchpoints.exp: Ditto.
3561
3562 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3563 * gdb.cp/overload.exp: Ditto.
3564 * gdb.cp/virtfunc.exp: Ditto.
3565
3566 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3567
3568 * gdb.reverse/watch-precsave.exp:
3569 Replace gdb_test with gdb_test_no_output.
3570
3571 * gdb.threads/attach-into-signal.exp:
3572 Replace gdb_test with gdb_test_no_output.
3573 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3574 * gdb.threads/watchthreads.exp: Ditto.
3575 * gdb.threads/watchthreads2.exp: Ditto.
3576
3577 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3578 * gdb.trace/tfind.exp: Ditto.
3579
3580 2010-06-03 Joel Brobecker <brobecker@adacore.com>
3581
3582 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3583 successful test if message is the empty string.
3584
3585 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3586
3587 * gdb.fortran/module.exp (stopped language detection): New test.
3588
3589 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3590
3591 Support DW_TAG_module as separate namespaces.
3592 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3593 gdb.fortran/library-module-lib.f90: New.
3594 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3595 (print i): Remove.
3596 (continue to breakpoint: i-is-1, print var_i value 1)
3597 (continue to breakpoint: i-is-2, print var_i value 2)
3598 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3599 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3600 (complete `modmany, complete `modmany`, complete `modmany`var)
3601 (show language, setting breakpoint at module): New tests.
3602 * gdb.fortran/module.f90 (module mod): Remove.
3603 (module mod1, module mod2, module modmany, subroutine sub1)
3604 (subroutine sub2, program module): New.
3605
3606 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3607
3608 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3609 (print value of rUC, print value of rI, print value of UI): ... here.
3610 * gdb.cp/anon-union.exp (pass): Rename to ...
3611 (print z 2): ... here.
3612
3613 2010-06-02 Michael Snyder <msnyder@vmware.com>
3614
3615 * gdb.trace/actions.exp: Use gdb_test_no_output.
3616 * gdb.trace/circ.exp: Ditto.
3617 * gdb.trace/packetlen.exp: Ditto.
3618 * gdb.trace/save-trace.exp: Ditto.
3619 * gdb.trace/tracecmd.exp: Ditto.
3620 * gdb.trace/tsv.exp: Ditto.
3621
3622 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3623 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3624 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3625 * gdb.threads/manythreads.exp: Ditto.
3626 * gdb.threads/print-threads.exp: Ditto.
3627 * gdb.threads/pthreads.exp: Ditto.
3628 * gdb.threads/schedlock.exp: Ditto.
3629 * gdb.threads/staticthreads.exp: Ditto.
3630 * gdb.threads/thread-specific.exp: Ditto.
3631 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3632 * gdb.threads/threadapply.exp: Ditto.
3633 * gdb.threads/watchthreads.exp: Ditto.
3634 * gdb.threads/watchthreads2.exp: Ditto.
3635
3636 * gdb.python/py-block.exp: Use gdb_test_no_output.
3637 * gdb.python/py-prettyprint.exp: Ditto.
3638 * gdb.python/py-template.exp: Ditto.
3639 * gdb.python/py-value.exp: Ditto.
3640
3641 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3642 * gdb.reverse/watch-reverse.exp: Ditto.
3643
3644 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3645 * gdb.server/ext-run.exp: Ditto.
3646
3647 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3648 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3649 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3650 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3651 * gdb.dwarf2/dw2-producer.exp: Ditto.
3652 * gdb.dwarf2/mac-fileno.exp: Ditto.
3653
3654 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3655 * gdb.gdb/selftest.exp: Ditto.
3656
3657 * gdb.multi/base.exp: Use gdb_test_no_output.
3658
3659 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3660
3661 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3662
3663 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3664
3665 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3666
3667 * gdb.cp/class2.exp: Use gdb_test_no_output.
3668 * gdb.cp/classes.exp: Ditto.
3669 * gdb.cp/extern-c.exp: Ditto.
3670 * gdb.cp/inherit.exp: Ditto.
3671 * gdb.cp/maint.exp: Ditto.
3672 * gdb.cp/mb-inline.exp: Ditto.
3673 * gdb.cp/mb-templates.exp: Ditto.
3674 * gdb.cp/method2.exp: Ditto.
3675 * gdb.cp/misc.exp: Ditto.
3676 * gdb.cp/ovldbreak.exp: Ditto.
3677 * gdb.cp/punctuator.exp: Ditto.
3678 * gdb.cp/templates.exp: Ditto.
3679 * gdb.cp/virtbase.exp: Ditto.
3680
3681 * gdb.threads/attach-stopped.exp:
3682 Replace uses of send_gdb / gdb_expect.
3683 * gdb.threads/attachstop-mt.exp:
3684 Replace uses of send_gdb / gdb_expect.
3685 * gdb.threads/gcore-thread.exp:
3686 Replace uses of send_gdb / gdb_expect.
3687 * gdb.threads/hand-call-in-threads.exp:
3688 Replace uses of send_gdb / gdb_expect.
3689 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
3690 * gdb.threads/print-threads.exp:
3691 Replace uses of send_gdb / gdb_expect.
3692 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3693 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3694 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3695
3696 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3697 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3698 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3699 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3700 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3701 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3702 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3703 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3704 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3705 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3706 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3707
3708 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3709
3710 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3711
3712 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3713
3714 * gdb.cp/koenig.exp: Added new test case.
3715 * gdb.cp/koenig.cc: Ditto.
3716
3717 2010-06-01 Michael Snyder <msnyder@vmware.com>
3718
3719 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3720 * gdb.base/arrayidx.exp: Ditto.
3721 * gdb.base/attach.exp: Ditto.
3722 * gdb.base/auxv.exp: Ditto.
3723 * gdb.base/bigcre.exp: Ditto.
3724 * gdb.base/break-always.exp: Ditto.
3725 * gdb.base/break-interp.exp: Ditto.
3726 * gdb.base/break.exp: Ditto.
3727 * gdb.base/breakpoint-shadow.exp: Ditto.
3728 * gdb.base/call-ar-st.exp: Ditto.
3729 * gdb.base/call-sc.exp: Ditto.
3730 * gdb.base/call-signal-resume.exp: Ditto.
3731 * gdb.base/callfuncs.exp: Ditto.
3732 * gdb.base/catch-syscall.exp: Ditto.
3733 * gdb.base/charset.exp: Ditto.
3734 * gdb.base/code-expr.exp: Ditto.
3735 * gdb.base/commands.exp: Ditto.
3736 * gdb.base/cond-expr.exp: Ditto.
3737 * gdb.base/condbreak.exp: Ditto.
3738 * gdb.base/cursal.exp: Ditto.
3739 * gdb.base/cvexpr.exp: Ditto.
3740 * gdb.base/default.exp: Ditto.
3741 * gdb.base/del.exp: Ditto.
3742 * gdb.base/detach.exp: Ditto.
3743 * gdb.base/display.exp: Ditto.
3744 * gdb.base/ena-dis-br.exp: Ditto.
3745 * gdb.base/eval-skip.exp: Ditto.
3746 * gdb.base/foll-fork.exp: Ditto.
3747 * gdb.base/foll-vfork.exp: Ditto.
3748 * gdb.base/frame-args.exp: Ditto.
3749 * gdb.base/funcargs.exp: Ditto.
3750 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3751 * gdb.base/gdbvars.exp: Ditto.
3752 * gdb.base/help.exp: Ditto.
3753 * gdb.base/ifelse.exp: Ditto.
3754 * gdb.base/included.exp: Ditto.
3755 * gdb.base/list.exp: Ditto.
3756 * gdb.base/macscp.exp: Ditto.
3757 * gdb.base/maint.exp: Ditto.
3758 * gdb.base/multi-fork.exp: Ditto.
3759 * gdb.base/overlays.exp: Ditto.
3760 * gdb.base/page.exp: Ditto.
3761 * gdb.base/pending.exp: Ditto.
3762 * gdb.base/pointers.exp: Ditto.
3763 * gdb.base/pr11022.exp: Ditto.
3764 * gdb.base/prelink.exp: Ditto.
3765 * gdb.base/printcmds.exp: Ditto.
3766 * gdb.base/psymtab.exp: Ditto.
3767 * gdb.base/randomize.exp: Ditto.
3768 * gdb.base/relational.exp: Ditto.
3769 * gdb.base/relocate.exp: Ditto.
3770 * gdb.base/remote.exp: Ditto.
3771 * gdb.base/sepdebug.exp: Ditto.
3772 * gdb.base/set-lang-auto.exp: Ditto.
3773 * gdb.base/setshow.exp: Ditto.
3774 * gdb.base/setvar.exp: Ditto.
3775 * gdb.base/signals.exp: Ditto.
3776 * gdb.base/signull.exp: Ditto.
3777 * gdb.base/sigstep.exp: Ditto.
3778 * gdb.base/sizeof.exp: Ditto.
3779 * gdb.base/solib-disc.exp: Ditto.
3780 * gdb.base/store.exp: Ditto.
3781 * gdb.base/structs.exp: Ditto.
3782 * gdb.base/structs2.exp: Ditto.
3783 * gdb.base/subst.exp: Ditto.
3784 * gdb.base/term.exp: Ditto.
3785 * gdb.base/trace-commands.exp: Ditto.
3786 * gdb.base/unwindonsignal.exp: Ditto.
3787 * gdb.base/valgrind-db-attach.exp: Ditto.
3788 * gdb.base/varargs.exp: Ditto.
3789 * gdb.base/watch-cond.exp: Ditto.
3790 * gdb.base/watch_thread_num.exp: Ditto.
3791 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3792 * gdb.base/watchpoint.exp: Ditto.
3793 * gdb.base/whatis-exp.exp: Ditto.
3794
3795 2010-06-01 Michael Snyder <msnyder@vmware.com>
3796
3797 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3798 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3799 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3800 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3801 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3802 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3803 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3804 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3805 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3806 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3807 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3808 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3809 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3810 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3811 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3812
3813 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3814
3815 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3816 trailing newline.
3817 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3818 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3819 (p *args): ... here and remove excessive trailing newline.
3820
3821 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3822
3823 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3824
3825 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3826
3827 Accept the new Linux kernel "t (tracing stop)" string.
3828 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3829 Update comment.
3830 (state_wait) <T (tracing stop)>: New.
3831 (main): Update the state_wait expect string.
3832
3833 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3834
3835 * limits.c, limits.exp: Delete files.
3836 * Makefile.in (clean mostlyclean): Adjust.
3837 * tracecmd.exp: Adjust.
3838
3839 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3840
3841 * gdb.base/tui-layout.exp: New.
3842
3843 2010-05-28 Michael Snyder <msnyder@vmware.com>
3844
3845 * gdb.reverse/break-precsave.exp:
3846 Replace uses of send_gdb / gdb_expect.
3847 * gdb.reverse/break-reverse.exp:
3848 Replace uses of send_gdb / gdb_expect.
3849 * gdb.reverse/consecutive-precsave.exp:
3850 Replace uses of send_gdb / gdb_expect.
3851 * gdb.reverse/consecutive-reverse.exp:
3852 Replace uses of send_gdb / gdb_expect.
3853 * gdb.reverse/finish-precsave.exp:
3854 Replace uses of send_gdb / gdb_expect.
3855 * gdb.reverse/finish-reverse.exp:
3856 Replace uses of send_gdb / gdb_expect.
3857 * gdb.reverse/i386-precsave.exp:
3858 Replace uses of send_gdb / gdb_expect.
3859 * gdb.reverse/i386-reverse.exp:
3860 Replace uses of send_gdb / gdb_expect.
3861 * gdb.reverse/i386-sse-reverse.exp:
3862 Replace uses of send_gdb / gdb_expect.
3863 * gdb.reverse/i387-env-reverse.exp:
3864 Replace uses of send_gdb / gdb_expect.
3865 * gdb.reverse/i387-stack-reverse.exp:
3866 Replace uses of send_gdb / gdb_expect.
3867 * gdb.reverse/machinestate-precsave.exp:
3868 Replace uses of send_gdb / gdb_expect.
3869 * gdb.reverse/machinestate.exp:
3870 Replace uses of send_gdb / gdb_expect.
3871 * gdb.reverse/sigall-precsave.exp:
3872 Replace uses of send_gdb / gdb_expect.
3873 * gdb.reverse/sigall-reverse.exp:
3874 Replace uses of send_gdb / gdb_expect.
3875 * gdb.reverse/solib-precsave.exp:
3876 Replace uses of send_gdb / gdb_expect.
3877 * gdb.reverse/solib-reverse.exp:
3878 Replace uses of send_gdb / gdb_expect.
3879 * gdb.reverse/step-precsave.exp:
3880 Replace uses of send_gdb / gdb_expect.
3881 * gdb.reverse/step-reverse.exp:
3882 Replace uses of send_gdb / gdb_expect.
3883 * gdb.reverse/until-precsave.exp:
3884 Replace uses of send_gdb / gdb_expect.
3885 * gdb.reverse/until-reverse.exp:
3886 Replace uses of send_gdb / gdb_expect.
3887 * gdb.reverse/watch-precsave.exp:
3888 Replace uses of send_gdb / gdb_expect.
3889 * gdb.reverse/watch-reverse.exp:
3890 Replace uses of send_gdb / gdb_expect.
3891
3892 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3893
3894 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3895 excessive newline.
3896
3897 2010-05-27 Michael Snyder <msnyder@vmware.com>
3898
3899 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3900 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3901 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3902 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3903 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3904 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3905 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3906 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3907 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3908 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3909 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3910 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3911 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3912 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3913 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3914 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3915 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3916 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3917 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3918
3919 2010-05-26 Michael Snyder <msnyder@vmware.com>
3920
3921 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3922 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3923
3924 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3925 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3926 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3927
3928 * gdb.reverse/consecutive-reverse.exp:
3929 Replace uses of send_gdb / gdb_expect.
3930 * gdb.reverse/consecutive-precsave.exp:
3931 Replace uses of send_gdb / gdb_expect.
3932
3933 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3934 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3935 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3936 * gdb.mi/mi-ns-stale-regcache.exp:
3937 Replace uses of send_gdb / gdb_expect.
3938 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3939 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3940 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3941 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3942 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3943 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3944 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3945 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3946 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3947
3948 2010-05-26 Michael Snyder <msnyder@vmware.com>
3949
3950 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3951
3952 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3953
3954 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3955 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3956 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3957 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3958 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3959 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3960 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3961 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3962 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3963
3964 2010-05-25 Tom Tromey <tromey@redhat.com>
3965
3966 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3967
3968 2010-05-25 Tom Tromey <tromey@redhat.com>
3969
3970 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3971 argument order.
3972 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3973 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3974 order.
3975 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3976 order.
3977 * gdb.base/call-sc.exp (setup_kfails): Remove.
3978 (setup_compiler_kfails): Remove.
3979 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3980 argument order.
3981 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3982 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3983 (advancei): Fix setup_kfail argument order.
3984 * gdb.base/radix.exp: Fix setup_kfail argument order.
3985 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3986 order.
3987 * gdb.base/structs.exp (setup_kfails): Remove.
3988 (setup_compiler_kfails): Fix setup_kfail argument order.
3989 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3990 order.
3991 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3992 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3993 setup_kfail argument order.
3994 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3995
3996 2010-05-25 Tom Tromey <tromey@redhat.com>
3997
3998 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3999
4000 2010-05-25 Michael Snyder <msnyder@vmware.com>
4001
4002 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4003 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4004 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4005 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4006 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4007 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4008 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4009 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4010 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
4011 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4012 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4013 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4014 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4015 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4016 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4017 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4018 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4019 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4020 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4021 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4022 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4023 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4024 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
4025 * gdb.base/default.exp: Replace send_gdb with gdb_test.
4026 * gdb.base/define.exp: Replace send_gdb with gdb_test.
4027 * gdb.base/display.exp: Replace send_gdb with gdb_test.
4028 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4029 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4030 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4031 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4032 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4033 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4034 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4035 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4036 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4037 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4038 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
4039 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
4040 * gdb.base/help.exp: Replace send_gdb with gdb_test.
4041 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
4042 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
4043 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
4044 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
4045 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
4046 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
4047 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
4048 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
4049 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
4050
4051 2010-05-25 Doug Evans <dje@google.com>
4052
4053 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
4054 gdb.string_to_argv.
4055
4056 2010-05-21 Tom Tromey <tromey@redhat.com>
4057
4058 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
4059 Call it.
4060 * gdb.dwarf2/pieces.S: Update.
4061 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
4062
4063 2010-05-21 Tom Tromey <tromey@redhat.com>
4064
4065 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
4066 Call it.
4067 * gdb.dwarf2/pieces.c (struct C): New.
4068 (f6): New function.
4069 * gdb.dwarf2/pieces.S: Replace.
4070
4071 2010-05-21 Tom Tromey <tromey@redhat.com>
4072
4073 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
4074 Call it.
4075
4076 2010-05-21 Tom Tromey <tromey@redhat.com>
4077
4078 * gdb.dwarf2.pieces.exp: New file.
4079 * gdb.dwarf2.pieces.S: New file.
4080 * gdb.dwarf2.pieces.c: New file.
4081
4082 2010-05-20 Pedro Alves <pedro@codesourcery.com>
4083 Joel Brobecker <brobecker@adacore.com>
4084
4085 * lib/gdb.exp (gdb_test_no_output): New function.
4086 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
4087 when testing commands that should produce no output.
4088
4089 2010-05-17 Joel Brobecker <brobecker@adacore.com>
4090
4091 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
4092 parameter that we want to watch being a constant.
4093
4094 2010-05-17 Joel Brobecker <brobecker@adacore.com>
4095
4096 * gdb.ada/cond_lang: New testcase.
4097
4098 2010-05-17 Joel Brobecker <brobecker@adacore.com>
4099
4100 * lib/gdb.exp (banned_variables): New variable/constant.
4101 (gdb_init): Add write trace on variables listed in banned_variables.
4102 (gdb_finish): Remove write traces on variables listed in
4103 banned_variables.
4104
4105 2010-05-17 Joel Brobecker <brobecker@adacore.com>
4106
4107 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
4108 * gdb.cp/koenig.exp: Likewise.
4109
4110 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
4111
4112 PR python/11482
4113
4114 * gdb.python/py-value.exp (test_value_hash): New function.
4115
4116 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
4117
4118 PR exp/11530.
4119 * gdb.base/gdb11530.c: New file.
4120 * gdb.base/gdb11530.exp: New file.
4121
4122 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4123
4124 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
4125 * gdb.dwarf2/dw2-modula2-self-type.S: New.
4126
4127 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
4128
4129 * gdb.cp/koenig.exp: New test.
4130 * gdb.cp/koenig.cc: New test program.
4131
4132 2010-05-05 Joel Brobecker <brobecker@adacore.com>
4133
4134 Remove the use of prms_id and bug_id throughout the testsuite.
4135
4136 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
4137
4138 PR exp/11349.
4139 * testsuite/gdb.cp/ref-types.exp: Add test to examine
4140 use a reference local variable.
4141
4142 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4143
4144 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
4145 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
4146 variable different_dir. Move debugfile into a full directory pathname
4147 under DIFFERENT_DIR.
4148 * lib/gdb.exp (separate_debug_filename): Remove.
4149 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
4150 variable debug_dir and mkdir of it. Update function comments.
4151
4152 2010-04-29 Pedro Alves <pedro@codesourcery.com>
4153
4154 PR gdb/11557
4155
4156 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
4157 files.
4158
4159 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
4160
4161 * gdb.python/py-param.exp: New File.
4162
4163 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
4164
4165 * gdb.base/default.exp: Fix "set language" test.
4166
4167 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
4168
4169 PR breakpoints/11531.
4170 * gdb.base/gdb11531.c: New file.
4171 * gdb.base/gdb11531.exp: New file.
4172
4173 2010-04-26 Tom Tromey <tromey@redhat.com>
4174
4175 * gdb.base/completion.exp: Add tests for completion and deprecated
4176 commands.
4177
4178 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4179
4180 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
4181 (print /x char_array): Escape curly brackets.
4182
4183 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4184
4185 Fix deadlock on looped list of loaded shared objects.
4186 * gdb.base/solib-corrupted.exp: New.
4187
4188 2010-04-23 Doug Evans <dje@google.com>
4189
4190 * gdb.python/py-section-script.c: New file.
4191 * gdb.python/py-section-script.exp: New file.
4192 * gdb.python/py-section-script.py: New file.
4193
4194 2010-04-20 Chris Moller <cmoller@redhat.com>
4195
4196 PR 10179
4197
4198 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
4199 * gdb.base/pr10179-a.c:
4200 * gdb.base/pr10179-b.c:
4201 * gdb.base/pr10179.exp: New files.
4202
4203 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4204
4205 Fix crashes on dangling display expressions.
4206 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
4207 is SEP.
4208 (lib_flags): Remove the "debug" keyword.
4209 (libsepdebug): New variable for iterating new loop.
4210 (save_pf_prefix): New variable wrapping the loop.
4211 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
4212 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
4213
4214 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4215
4216 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
4217
4218 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4219
4220 PR stabs/11479.
4221 * gdb.stabs/gdb11479.exp: New file.
4222 * gdb.stabs/gdb11479.c: New file.
4223
4224 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4225
4226 * gdb.base/charset.c (Strin16, String32): New variables.
4227 * gdb.base/charset.exp (gdb_test): Test correct display
4228 of 16 or 32 bit strings.
4229
4230 2010-04-21 Chris Moller <cmoller@redhat.com>
4231
4232 PR 9167
4233 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
4234 * gdb.cp/pr9167.cc: New file.
4235 * gdb.cp/pr9167.exp: New file.
4236
4237
4238 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
4239
4240 PR pascal/11492.
4241 * gdb.pascal/gdb11492.pas: New file.
4242 * gdb.pascal/gdb11492.exp: New file.
4243
4244 2010-04-20 Joel Brobecker <brobecker@adacore.com>
4245
4246 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
4247
4248 2010-04-20 Joel Brobecker <brobecker@adacore.com>
4249
4250 * gdb.ada/dyn_loc: New testcase.
4251
4252 2010-04-20 Chris Moller <cmoller@redhat.com>
4253
4254 PR 10867
4255
4256 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
4257 * gdb.cp/pr10687.cc: New file.
4258 * gdb.cp/pr10687.exp: New file.
4259
4260
4261 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4262 Sergio Durigan Junior <sergiodj@redhat.com>
4263
4264 * gdb.fortran/logical.exp: New testcase.
4265 * gdb.fortran/logical.f90: New file.
4266
4267 2010-04-19 Doug Evans <dje@google.com>
4268
4269 * gdb.base/help.exp (help source): Update expected output.
4270
4271 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4272
4273 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
4274 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
4275 gdb_exit and return.
4276 (executable): New variable.
4277 (binfile): Use it.
4278
4279 2010-04-19 Pedro Alves <pedro@codesourcery.com>
4280
4281 PR breakpoints/8554.
4282
4283 * gdb.trace/save-trace.exp: Adjust.
4284
4285 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
4286
4287 PR corefiles/11511
4288 * gdb.arch/system-gcore.exp: New.
4289 * gdb.arch/gcore.c: Likewise.
4290
4291 2010-04-15 Doug Evans <dje@google.com>
4292
4293 * gdb.python/py-progspace.c: New file.
4294 * gdb.python/py-progspace.exp: New file.
4295
4296 * gdb.base/source.exp: Add tests for "source -s".
4297
4298 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4299
4300 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4301 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4302 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4303 * gdb.python/py-mi.exp: New test for to_string returning None.
4304
4305 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4306
4307 * gdb.python/py-breakpoint.c: Make result global.
4308
4309 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4310
4311 Fix non-GNU make compatibility.
4312 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4313
4314 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4315
4316 * gdb.python/py-breakpoint.exp: New File.
4317 * gdb.python/py-breakpoint.C: Ditto.
4318
4319 2010-04-08 Stan Shebs <stan@codesourcery.com>
4320
4321 * gdb.trace/actions.exp: Clear default-collect.
4322 * gdb.trace/save-trace.exp: Clear default-collect.
4323
4324 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4325
4326 * gdb.python/py-value: Add null string variable.
4327 (test_lazy_string): Test zero length, NULL address lazy
4328 strings.
4329
4330 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4331
4332 * gdb.arch/i386-avx.c: New.
4333 * gdb.arch/i386-avx.exp: Likewise.
4334
4335 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4336
4337 2010-04-06 Doug Evans <dje@google.com>
4338
4339 * gdb.base/source-test.gdb: New file.
4340 * gdb.base/source.exp: Test source -v.
4341
4342 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4343
4344 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4345
4346 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4347
4348 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4349 within one line, unless it is followed by a double quote.
4350 * gdb.stabs/hppa.sed: Idem.
4351 * gdb.stabs/weird.def: Add char and String constants
4352 * gdb.stabs/weird.exp: Check for correct parsing of
4353 char and string constants.
4354 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4355 in .stabs to .stabx substitution.
4356
4357 2010-04-05 Stan Shebs <stan@codesourcery.com>
4358
4359 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4360 constant global.
4361 * gdb.trace/tfile.exp: Try to print them.
4362
4363 2010-04-04 Stan Shebs <stan@codesourcery.com>
4364
4365 * gdb.base/completion.exp: Update for new "info watchpoints".
4366 * gdb.base/default.exp: Ditto.
4367 * gdb.base/help.exp: Ditto.
4368 * gdb.base/watchpoint.exp: Ditto.
4369 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
4370
4371 2010-04-04 Stan Shebs <stan@codesourcery.com>
4372
4373 * gdb.trace/tfile.exp: Sharpen tfind test.
4374
4375 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4376
4377 * gdb.base/break-entry.exp: New.
4378
4379 2010-04-02 Hui Zhu <teawater@gmail.com>
4380 Michael Snyder <msnyder@vmware.com>
4381
4382 * gdb.reverse/i386-sse-reverse.exp: New file.
4383 * gdb.reverse/i386-sse-reverse.c: New file.
4384
4385 2010-04-02 Pedro Alves <pedro@codesourcery.com>
4386
4387 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4388
4389 2010-04-01 Stan Shebs <stan@codesourcery.com>
4390
4391 * gdb.trace/actions.exp: Tweak expected output.
4392 * gdb.trace/while-stepping.exp: Tweak expected output.
4393
4394 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4395
4396 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4397
4398 2010-04-01 Pedro Alves <pedro@codesourcery.com>
4399
4400 * gdb.base/commands.exp: Adjust.
4401 * gdb.cp/extern-c.exp: Adjust.
4402
4403 2010-04-01 Pedro Alves <pedro@codesourcery.com>
4404
4405 * gdb.trace/collection.c (local_test_func): Define a local struct,
4406 and instanciate it.
4407
4408 2010-04-01 Pedro Alves <pedro@codesourcery.com>
4409
4410 * gdb.trace/collection.exp (gdb_collect_args_test)
4411 (gdb_collect_argarray_test): XFAIL the tests that assume the
4412 argarray argument's elements are collected.
4413
4414 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4415
4416 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4417 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4418
4419 2010-03-31 Stan Shebs <stan@codesourcery.com>
4420
4421 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4422 and tracepoint conditionals.
4423 (gdb_verify_tracepoints): Delete unused return.
4424
4425 2010-03-26 Keith Seitz <keiths@redhat.com>
4426
4427 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4428 appear in the output before main.
4429 Remove KFAIL for gdb/2215 aka bz 9320.
4430
4431 2010-03-30 Doug Evans <dje@google.com>
4432
4433 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4434 by dejagnu.
4435 * gdb.arch/amd64-dword.exp: Ditto.
4436
4437 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4438 match.
4439 (break printf): Ditto.
4440
4441 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4442
4443 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4444 gcc < 4.4.
4445 * gdb.cp/shadow.exp: Ditto.
4446
4447 2010-03-29 Pedro Alves <pedro@codesourcery.com>
4448
4449 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4450 "tstart" is silent.
4451
4452 2010-03-29 Pedro Alves <pedro@codesourcery.com>
4453
4454 * gdb.trace/collection.exp (executable): New.
4455 (binfile): Use it.
4456 (fpreg, spreg, pcreg): New.
4457 (test_register): Use gdb_test_multiple. Pass /x to print.
4458 (prepare_for_trace_test): New.
4459 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4460 (gdb_collect_args_test, gdb_collect_argstruct_test)
4461 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4462 prepare_for_trace_test.
4463 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4464 fpreg, spreg and pcreg.
4465 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4466 prepare_for_trace_test.
4467 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4468 try to detect tracing support here. Don't set breakpoints at
4469 `begin' or `end' here.
4470 <global scope>: Use clean_restart. Run to main before checking
4471 for tracing support. Check for for tracing support here.
4472
4473 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4474
4475 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4476 " as $displacement" to "seen displacement message".
4477
4478 2010-03-28 Pedro Alves <pedro@codesourcery.com>
4479
4480 * gdb.trace/while-dyn.exp (executable): New variable.
4481 (binfile): Use it.
4482 (test_while_stepping): New function. Move most tests here. Call
4483 it once for each of the while-stepping, stepping and ws aliases.
4484
4485 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4486
4487 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4488 that do not provide the tagless_struct type name at all.
4489 (test_print_anon_union): Do not check value of uninitialized
4490 union member. Do not use cp_test_ptype_class, so we can accept
4491 "long" as well as "long int".
4492
4493 2010-03-26 Pedro Alves <pedro@codesourcery.com>
4494
4495 * gdb.trace/tfile.c (tohex, bin2hex): New.
4496 (write_error_trace_file): Hexify error description.
4497
4498 2010-03-25 Stan Shebs <stan@codesourcery.com>
4499
4500 * gdb.trace/tfile.c: Generate an additional trace file, improve
4501 portability.
4502 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4503 files in a better way.
4504
4505 2010-03-25 Keith Seitz <keiths@redhat.com>
4506
4507 * gdb.java/jprint.exp: XFAIL printing of static class members
4508 because of GCC debuginfo problem.
4509
4510 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4511
4512 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4513
4514 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4515
4516 * gdb.base/completion.exp: Allow long instead of long int.
4517 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4518 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4519 variable p.
4520 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4521 * gdb.base/pointers.exp: Allow long instead of long int.
4522 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4523 * gdb.base/step-line.exp: Allow a directory before the source file name.
4524
4525 2010-03-24 Tom Tromey <tromey@redhat.com>
4526
4527 PR breakpoints/9352:
4528 * gdb.base/default.exp: Update.
4529 * gdb.base/commands.exp: Update.
4530 * gdb.cp/extern-c.exp: Test setting commands on multiple
4531 breakpoints at once.
4532
4533 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4534
4535 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4536 if gdb,nosignals.
4537 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4538 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4539 exited".
4540
4541 2010-03-24 Stan Shebs <stan@codesourcery.com>
4542
4543 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4544
4545 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4546
4547 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4548 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4549 argument. Handle "short" and "long".
4550 (Top level): Pass overprototyped output for old_fptr and xptr.
4551
4552 2010-03-23 Pedro Alves <pedro@codesourcery.com>
4553
4554 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4555 format strings and add casts to avoid compiler warnings.
4556
4557 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
4558
4559 * lib/trace-support.exp (gdb_trace_setactions):
4560 Don't expect whitespace after ">" prompt.
4561 * gdb.trace/actions.exp: Adjust for output changes.
4562 * gdb.trace/while-stepping.exp: Likewise.
4563
4564 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4565
4566 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4567 and r157645).
4568
4569 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4570
4571 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4572 New.
4573
4574 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4575
4576 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4577 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4578
4579 2010-03-19 Stan Shebs <stan@codesourcery.com>
4580
4581 * gdb.trace/ax.exp: New file.
4582
4583 2010-03-19 Doug Evans <dje@google.com>
4584
4585 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4586 output from gcc.
4587
4588 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4589 named /usr/sbin/prelink<foo>.
4590
4591 2010-03-18 Stan Shebs <stan@codesourcery.com>
4592
4593 * gdb.trace/circ.exp: Test circular-trace-buffer.
4594 * gdb.trace/tfile.exp: Update tstatus test.
4595
4596 2010-03-18 Joel Brobecker <brobecker@adacore.com>
4597
4598 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4599 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4600
4601 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4602
4603 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4604
4605 2010-03-18 Pedro Alves <pedro@codesourcery.com>
4606
4607 * gdb.base/default.exp: Adjust the expected output of the finish
4608 and until commands when the inferior is not being run.
4609
4610 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4611
4612 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4613 * gdb.cp/nsusing.exp: Ditto.
4614
4615 2010-03-15 Tom Tromey <tromey@redhat.com>
4616
4617 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4618 * gdb.cp/userdef.cc (operator==): New function.
4619 (main): New locals mem1, mem2.
4620
4621 2010-03-15 Jie Zhang <jie@codesourcery.com>
4622
4623 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4624 Declare and use new loadtimeout variable.
4625
4626 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4627
4628 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4629 Use gdb_load later.
4630
4631 2010-03-14 Pedro Alves <pedro@codesourcery.com>
4632
4633 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4634 literal. Add missing endlines to prints to stderr.
4635
4636 2010-03-12 Tom Tromey <tromey@redhat.com>
4637
4638 PR c++/9708:
4639 * gdb.cp/m-static.exp: Add regression test.
4640 * gdb.cp/m-static.cc (method): New method.
4641 (main): Call it.
4642
4643 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4644
4645 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4646 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4647
4648 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4649
4650 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4651
4652 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4653
4654 * lib/gdb.exp (skip_stl_tests): New.
4655 (gdb_compile): Symbian needs -ldl.
4656 (shlib_target_file): New.
4657 (shlib_symbol_file): New.
4658 (gdb_load_shlibs): Use shlib_target_file.
4659 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4660 * gdb.cp/exception.exp: Use skip_stl_tests.
4661 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4662 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4663 * gdb.cp/mb-templates.exp: Ditto.
4664 * gdb.base/commands.exp: Relax regexes.
4665 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4666 shlib_target_file and shlib_symbol_file.
4667 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4668 sections.
4669 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4670 * gdb.base/solib-disc.exp: Use
4671 shlib_target_file and shlib_symbol_file.
4672 * gdb.base/unload.exp: Don't skip on symbian. Use
4673 shlib_target_file and shlib_symbol_file.
4674 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4675
4676 2010-03-12 Pedro Alves <pedro@codesourcery.com>
4677
4678 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4679 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4680 Issue a tfind end before looking for a tracepoint frame.
4681 * gdb.trace/tfind.exp: Adjust tstatus output.
4682 Adjust disassembly output.
4683 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4684
4685 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4686
4687 * gdb.base/break-interp.exp: Create new displacement parameter value
4688 for the test_ld calls.
4689 (reach): New parameter displacement, verify its content. New push of
4690 pf_prefix "reach-$func:". Import global expect_out.
4691 (test_core): New parameter displacement, verify its content. New push
4692 of pf_prefix "core:". New command "set verbose on". Import global
4693 expect_out.
4694 (test_attach): New parameter displacement, verify its content. New
4695 push of pf_prefix "attach:". New command "set verbose on". Import
4696 global expect_out.
4697 (test_ld): New parameter displacement, pass it to the reach, test_core
4698 and test_attach calls and verify its content in the "ld.so exit" test.
4699 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4700 (prelink): Update expected text, use gdb_test.
4701
4702 2010-03-10 Doug Evans <dje@google.com>
4703
4704 * gdb.base/checkpoint.exp: Fix comment.
4705 Lengthen timeout while doing >600 checkpoints test.
4706 Rename duplicate "kill all one" test to keep test names unique.
4707
4708 2010-03-10 Pedro Alves <pedro@codesourcery.com>
4709
4710 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4711
4712 2010-03-08 Keith Seitz <keiths@redhat.com>
4713
4714 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4715 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4716 (dm_type_long): New function.
4717 (dm_type_unsigned_short): New function.
4718 (dm_type_unsigned_long): New function.
4719 (myint): New typedef.
4720 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4721 long, unsigned shor and long, operator char*, and typedef.
4722 (test_lookup_operator_functions): Add operator char* test.
4723 (test_paddr_operator_functions): Likewise.
4724 (test_paddr_overloaded_functions): Use probe values for
4725 short, long, and unsigned short and long.
4726 (test_paddr_hairy_functions): If the demangler probe detected
4727 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4728 demangler.
4729 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4730 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4731 and "print null_pmf".
4732 Add test "ptype a.*pmf".
4733 * gdb.cp/overload.exp: Allow optional "int" to appear with
4734 "short" and "long".
4735 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4736 long expect value for men_overload1arg.
4737 Allow "int" to appear with "short" and "long".
4738 When testing "info break", add argument for main (void).
4739 Also allow "int" to appear with "short" and "long".
4740 Ditto with "unsigned" and "long long".
4741 * gdb.java/jmain.exp: Do not enclose methods names in single
4742 quotes.
4743 * gdb.java/jmisc.exp: Likewise.
4744 * gdb.java/jprint.exp: Likewise.
4745 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4746
4747 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4748 * gdb.cp/exception.exp (backtrace after first throw)
4749 (backtrace after second throw): Allow a namespace before __cxa_throw.
4750 (backtrace after first catch, backtrace after second catch): Allow
4751 a namespace before __cxa_begin_catch.
4752
4753 * gdb.cp/cpexprs.exp: New file.
4754 * gdb.cp/cpexprs.cc: New file.
4755
4756 From Daniel Jacobowitz <dan@codesourcery.com>
4757 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4758 to use string_to_regexp.
4759 (ctor, dtor): New functions. Use them to match constructor
4760 and destructor function types.
4761 (Top level): Use runto_main.
4762
4763 2010-03-05 Tom Tromey <tromey@redhat.com>
4764
4765 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4766 gdb.target_charset.
4767 (pp_ns.to_string): Likewise.
4768
4769 2010-03-04 Keith Seitz <keiths@redhat.com>
4770
4771 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4772 can be quoted. Test that both the filename and function/line
4773 portions can be quoted at the same time.
4774
4775 2010-03-04 Pedro Alves <pedro@codesourcery.com>
4776
4777 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4778
4779 2010-03-03 Doug Evans <dje@google.com>
4780
4781 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4782 libc contains libpthread.
4783
4784 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4785 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4786 of gdb_compile. Add another pattern to match android backtrace.
4787
4788 2010-03-03 Tom Tromey <tromey@redhat.com>
4789
4790 PR gdb/11345:
4791 * gdb.base/printcmds.exp (test_printf): Add test.
4792
4793 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 * gdb.arch/amd64-byte.exp: New.
4796 * gdb.arch/amd64-dword.exp: Likewise.
4797 * gdb.arch/amd64-pseudo.c: Likewise.
4798 * gdb.arch/amd64-word.exp: Likewise.
4799 * gdb.arch/i386-byte.exp: Likewise.
4800 * gdb.arch/i386-pseudo.c: Likewise.
4801 * gdb.arch/i386-word.exp: Likewise.
4802
4803 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4804
4805 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4806 types. Add structreg, bitfields, and flags registers.
4807 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4808 registers.
4809
4810 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4811
4812 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4813 (load_description): Set architecture if defined.
4814
4815 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4816
4817 * gdb.python/py-frame.exp: Add read_var block tests.
4818 * gdb.python/py-frame.c (block): New function.
4819
4820 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4821 Daniel Jacobowitz <dan@codesourcery.com>
4822
4823 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4824
4825 2010-02-25 David S. Miller <davem@davemloft.net>
4826
4827 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4828 fix logic for setting all_syscalls_numbers.
4829
4830 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4831
4832 * Makefile.in: Add py-block and py-symbol.
4833 * gdb.python/py-symbol.exp: New File.
4834 * gdb.python/py-symtab.exp: New File.
4835 * gdb.python/py-block.exp: New File.
4836 * gdb.python/py-symbol.c: New File.
4837 * gdb.python/py-block.c: New File.
4838
4839 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4840
4841 PR python/11314
4842 * lib/gdb.exp (skip_python_tests): New function.
4843 * gdb.python/py-cmd.exp: Use skip_python_tests.
4844 * gdb.python/py-frame.exp: Likewise.
4845 * gdb.python/py-function.exp: Likewise.
4846 * gdb.python/py-prettyprint.exp: Likewise.
4847 * gdb.python/py-template.exp: Likewise.
4848 * gdb.python/py-type.exp: Likewise.
4849 * gdb.python/py-value.exp: Likewise.
4850
4851 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4852
4853 PR9605
4854
4855 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4856
4857 2010-02-19 Tom Tromey <tromey@redhat.com>
4858
4859 PR c++/8693, PR c++/9496:
4860 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4861 regression tests.
4862
4863 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4864
4865 Fix compatibility with m68k as.
4866 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4867 Use only /* comments */.
4868
4869 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4870
4871 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4872 * configure: Regenerate.
4873
4874 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4875
4876 * gdb.python/py-type.exp: Check for Python support.
4877
4878 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4879
4880 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4881 `regsub' syntax available.
4882
4883 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4884
4885 * gdb.base/shmain.c (main): Remove printf call.
4886 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4887 * gdb.base/unload.c (main): Make format of fprintf a string
4888 literal. Add missing endlines to prints to stderr.
4889 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4890
4891 2010-02-17 Tom Tromey <tromey@redhat.com>
4892
4893 * gdb.java/jprint.java (jprint.props): New field.
4894 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4895
4896 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4897
4898 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4899 available.
4900
4901 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4902
4903 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4904 creation to support remote host testing.
4905
4906 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4907
4908 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4909 Recognize "command not found".
4910
4911 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4912
4913 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4914 single-stepping.
4915
4916 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4917
4918 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4919 if arguments are not supported.
4920
4921 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4922
4923 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4924 be const or non-const.
4925
4926 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4927
4928 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4929 mi_send_resuming_command to send -exec-continue.
4930
4931 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4932
4933 * gdb.base/list.exp (test_list_filename_and_function): Add test
4934 with single quotes.
4935 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4936 matching.
4937 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4938 Add KFAIL'd tests for PR gdb/11289.
4939
4940 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4941
4942 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4943
4944 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4945
4946 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4947 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4948 a temporary directory.
4949
4950 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4951
4952 * gdb.base/charset.exp: Use a single regular expression to match
4953 show host-charset and show target-charset output.
4954
4955 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4956
4957 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4958 "Illegal process-id" expect string more exact.
4959 (attach to digits-starting nonsense is prohibited): New.
4960
4961 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4962
4963 * gdb.base/prelink.exp (set verbose on): New.
4964
4965 2010-02-12 Tomas Holmberg <th@virtutech.com>
4966
4967 * mi-reverse.exp: New file. Test for reverse option to the
4968 following MI commands: exec-continue, exec-finish, exec-next,
4969 exec-step, exec-next-instruction, exec-step-instruction.
4970
4971 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4972
4973 * gdb.ada/ptype_tagged_param: New testcase.
4974
4975 2010-02-08 Tom Tromey <tromey@redhat.com>
4976
4977 PR c++/8017:
4978 * gdb.cp/overload.exp: Add tests.
4979 * gdb.cp/overload.cc (struct K): New.
4980 (namespace N): New.
4981 (main): Call new functions.
4982 (K::staticoverload): Define.
4983
4984 2010-02-08 Chris Moller <moller@mollerware.com>
4985
4986 PR gdb/10728
4987 * gdb.cp/pr10728-x.h: New file.
4988 * gdb.cp/pr10728-x.cc: New file.
4989 * gdb.cp/pr10728-y.cc: New file.
4990 * gdb.cp/pr10728.exp: New file.
4991 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4992
4993 2010-02-08 Chris Moller <moller@mollerware.com>
4994
4995 PR gdb/9067
4996 * gdb.cp/pr9067.exp: New
4997 * gdb.cp/pr9067.cc: New
4998 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4999
5000 2010-02-08 Joel Brobecker <brobecker@adacore.com>
5001
5002 * lib/gdb.exp (gdb_test_timeout): New global variable.
5003 Set it to timeout if not already set.
5004 (gdb_init): Reset the value of timeout to gdb_test_timeout.
5005
5006 2010-02-05 Doug Evans <dje@google.com>
5007
5008 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5009 user.
5010
5011 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
5012
5013 PR c++/7935:
5014 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5015
5016 2010-02-04 Tom Tromey <tromey@redhat.com>
5017
5018 * gdb.cp/virtbase.exp: Make test case names unique.
5019
5020 2010-02-02 Tom Tromey <tromey@redhat.com>
5021
5022 * gdb.cp/virtbase.exp: Add regression tests.
5023 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5024 (main): Instantiate RHC.
5025
5026 2010-02-02 Tom Tromey <tromey@redhat.com>
5027
5028 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5029 type-printing change.
5030
5031 2010-02-02 Tom Tromey <tromey@redhat.com>
5032
5033 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5034 * gdb.cp/virtbase.cc: New file.
5035 * gdb.cp/virtbase.exp: New file.
5036 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5037
5038 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5039
5040 PR libc/11214:
5041 * gdb.threads/current-lwp-dead.c: Include features.h.
5042 (HAS_NOMMU): New.
5043 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
5044
5045 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5046
5047 * gdb.base/symbol-without-target_section.exp,
5048 gdb.base/symbol-without-target_section.c: New.
5049
5050 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5051
5052 * gdb.base/bigcore.exp: Reset increased timeout.
5053 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
5054
5055 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5056
5057 * gdb.base/gcore.exp (capture_command_output): Use
5058 gdb_test_multiple.
5059
5060 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5061
5062 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
5063 * gdb.arch/thumb2-it.exp (test_it_break): New function.
5064 (Top level): Call it.
5065
5066 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5067
5068 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
5069
5070 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5071
5072 * gdb.base/call-strs.exp, gdb.base/default.exp,
5073 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
5074 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
5075 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
5076 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
5077 gdb.base/watchpoint-solib.exp: Save and restore timeout.
5078 * gdb.base/ending-run.exp: Correct restore of timeout.
5079 * gdb.base/page.exp: Remove unnecessary timeout setting.
5080
5081 2010-01-29 Joel Brobecker <brobecker@adacore.com>
5082
5083 * gdb.ada/rec_return: New testcase.
5084
5085 2010-01-29 Joel Brobecker <brobecker@adacore.com>
5086
5087 * gdb.ada/call_pn: New testcase.
5088
5089 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5090
5091 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
5092 (Top level): Use it to resume.
5093 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
5094 the Thumb mode displaced stepping error as unsupported.
5095
5096 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
5097
5098 * gdb.cp/nsusing.exp: Added more tests.
5099 * gdb.cp/nsrecurs.exp: Ditto.
5100 * gdb.cp/nsusing.cc: Added test functions.
5101 * gdb.cp/nsrecurs.cc: Ditto.
5102
5103 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5104
5105 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
5106 absolute directory pathnames in gdb.sum file.
5107
5108 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
5109
5110 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
5111 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
5112
5113 2010-01-26 Tom Tromey <tromey@redhat.com>
5114
5115 PR exp/7643:
5116 * gdb.base/printcmds.exp (test_print_string_constants): Remove
5117 setup_kfail.
5118
5119 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
5120
5121 * gdb.cp/nsrecurs.exp: New test.
5122 * gdb.cp/nsrecurs.cc: New test program.
5123 * gdb.cp/nsstress.exp: New test.
5124 * gdb.cp/nsstress.cc: New test program.
5125 * gdb.cp/nsdecl.exp: New test.
5126 * gdb.cp/nsdecl.cc: New test program.
5127
5128 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
5129
5130 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
5131 imported into file scope.
5132 Marked test as xfail.
5133 * gdb.cp/namespace-using.cc (marker5): New function.
5134 * gdb.cp/shadow.exp: New test.
5135 * gdb.cp/shadow.cc: New test program.
5136 * gdb.cp/nsimport.exp: New test.
5137 * gdb.cp/nsimport.cc: New test program.
5138
5139 2010-01-25 Tom Tromey <tromey@redhat.com>
5140
5141 PR gdb/11049:
5142 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
5143 with "set print null-stop on".
5144
5145 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
5148 Adjust it for DISASSEMBLY_OMIT_FNAME.
5149
5150 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5151
5152 PR symtab/11199:
5153 * gdb.dwarf2/member-ptr-forwardref.exp,
5154 gdb.dwarf2/member-ptr-forwardref.S: New.
5155
5156 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5157
5158 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
5159 (thread1_func): Protect thread1_tid with thread1_tid_cond by
5160 thread1_tid_mutex. Remove gdbstop_mutex handling.
5161 (thread2_func): Protect thread2_tid with thread2_tid_cond by
5162 thread2_tid_mutex. Remove gdbstop_mutex handling.
5163 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
5164 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
5165 pthread_cond_wait conditionalizations by while loops.
5166
5167 2010-01-20 Tom Tromey <tromey@redhat.com>
5168
5169 PR backtrace/10770:
5170 * gdb.dwarf2/pr10770.exp: New file.
5171 * gdb.dwarf2/pr10770.c: New file.
5172 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
5173
5174 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
5175
5176 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
5177 that target was removed, and the test always runs native anyway.
5178
5179 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5180
5181 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
5182 gdb.base/watchpoint-cond-gone-stripped.c: New.
5183
5184 2010-01-19 Tom Tromey <tromey@redhat.com>
5185
5186 PR c++/8000:
5187 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
5188 existing tests.
5189 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
5190 (main): Use AAA::SomeEnum.
5191
5192 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5193
5194 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
5195 (test_ignore_count): Declare line_callme_body global.
5196 (run to breakpoint with ignore count): Use line_callme_body.
5197 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
5198 (set line_main_hello, set line_main_return): Reindent.
5199 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
5200 New.
5201 (continue to callee4): Use line_callee4_body.
5202 (check *stopped from CLI command): Use line_callee4_next.
5203 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
5204 (set line_main_hello, set line_main_return): Reindent.
5205 (set line_callee4_head, set line_callee4_body): New.
5206 (continue to callee4): Use line_callee4_body.
5207
5208 2010-01-18 Tom Tromey <tromey@redhat.com>
5209
5210 PR c++/9680:
5211 * gdb.cp/casts.cc: Add new classes and variables.
5212 * gdb.cp/casts.exp: Test new operators.
5213
5214 2010-01-18 Tom Tromey <tromey@redhat.com>
5215 Thiago Jung Bauermann <bauerman@br.ibm.com>
5216
5217 * gdb.python/source2.py: New file.
5218 * gdb.python/source1: New file.
5219 * gdb.python/python.exp: Test "source" command.
5220
5221 2010-01-15 Stan Shebs <stan@codesourcery.com>
5222
5223 * gdb.trace/tfile.c: New file.
5224 * gdb.trace/tfile.exp: New file.
5225
5226 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
5229
5230 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5231
5232 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
5233
5234 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5235
5236 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
5237 (libfunc): New parameter action. Implement also selectable "sleep".
5238 * gdb.base/break-interp-main.c: Include assert.h.
5239 (libfunc): New parameter action.
5240 (main): New parameters argc and argv. Assert argc. Pass argv.
5241 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
5242 (test_attach): New proc.
5243 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
5244 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
5245
5246 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5247
5248 * gdb.base/break-interp.exp (test_core): New proc.
5249 (test_ld): Call it.
5250
5251 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5252
5253 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
5254 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
5255 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
5256 and gdb_compile_shlib. Use new -Wl compiler options.
5257 (dl bt, main bt): New tests.
5258
5259 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5260
5261 Support PIEs with no symfile_objfile.
5262 * gdb.base/break-interp.exp: New argument at the test_ld calls.
5263 (test_ld): New parameter trynosym.
5264 (test_ld <$trynosym>): New block.
5265
5266 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5267
5268 * gdb.base/break-interp.exp: New file.
5269
5270 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
5271
5272 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
5273 * gdb.python/py-prettyprint.py (pp_ls): New printer.
5274 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
5275 test.
5276 * gdb.python/py-prettyprint.c: Define lazystring test structure.
5277 * gdb.python/py-mi.exp: Add lazy string test.
5278
5279 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
5280
5281 * lib/mi-support.exp (mi_check_thread_states): Handle
5282 core number in thread listing.
5283
5284 2010-01-12 Joel Brobecker <brobecker@adacore.com>
5285
5286 * gdb.base/maint.exp: Adjust the expected output for the
5287 "maint print type" test. Use gdb_test_multiple instead of
5288 gdb_sent/gdb_expect.
5289
5290 2010-01-11 Doug Evans <dje@google.com>
5291
5292 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5293 from gdbserver_download. All callers updated.
5294
5295 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5296
5297 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5298
5299 Implement binary numbers parsing.
5300 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5301 (test_integer_literals_rejected): New binary tests.
5302
5303 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5304
5305 * gdb.cell/configure: Regenerate.
5306
5307 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5308
5309 * gdb.base/corefile.exp: Move the core finding block out and call it as
5310 core_find, new variable $corefile, replace corefile by $corefile and
5311 [file tail $corefile] for usage vs. test names resp.
5312 * lib/gdb.exp (core_find): Move it as a new function here. New
5313 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5314 $destcore. Return "" on error.
5315
5316 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5317
5318 Workaround PR binutils/10802.
5319 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5320 (twice).
5321
5322 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5323
5324 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5325
5326 2010-01-08 Joel Brobecker <brobecker@adacore.com>
5327
5328 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5329 call, to avoid interruption.
5330
5331 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5332
5333 * gdb.stabs/weird.def (args93): New.
5334
5335 2010-01-07 Doug Evans <dje@google.com>
5336
5337 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5338
5339 2010-01-07 Tom Tromey <tromey@redhat.com>
5340
5341 * gdb.base/source.exp: Use correct line number.
5342
5343 2010-01-05 Stan Shebs <stan@codesourcery.com>
5344
5345 * gdb.trace/tracecmd.exp: Test ftrace.
5346
5347 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5348
5349 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5350
5351 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5352
5353 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5354 "uint_for_mi_testing".
5355
5356 2010-01-01 Joel Brobecker <brobecker@adacore.com>
5357
5358 Test indented comment in file being sourced.
5359 * gdb.base/commands.exp: Test indented comment in file being sourced.
5360
5361 2010-01-01 Joel Brobecker <brobecker@adacore.com>
5362
5363 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5364 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5365 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5366 notice.
5367
5368 2010-01-01 Joel Brobecker <brobecker@adacore.com>
5369
5370 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5371 notice.
5372
5373 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5374
5375 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5376 missing $after_stopped and comma (,) expectation.
5377
5378 2009-12-31 Stan Shebs <stan@codesourcery.com>
5379
5380 * gdb.trace/actions.exp: Test teval action.
5381
5382 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5383
5384 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5385 (top level): Call test_watchpoint_in_big_blob.
5386 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5387 watchpoints.
5388 (func3): Write to buf.
5389
5390 2009-12-29 Stan Shebs <stan@codesourcery.com>
5391
5392 * gdb.trace/actions.exp: Test default-collect.
5393
5394 2009-12-28 Stan Shebs <stan@codesourcery.com>
5395
5396 * gdb.trace/tsv.exp: New file.
5397 * gdb.base/completion.exp: Update ambiguous info output.
5398
5399 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5400
5401 * gdb.base/find.c (main): Reference search buffers.
5402 * gdb.base/included.c (main): Reference integer.
5403 * gdb.base/ptype.c (charfoo): Declare.
5404 (intfoo): Call charfoo.
5405 * gdb.base/scope0.c (useitp): New function.
5406 (usestatics): Use useitp.
5407 (useit): Add a type for val.
5408 * gdb.base/scope1.c (useit1): Take a pointer argument.
5409 (usestatics1): Update calls to useit1.
5410 * gdb.cp/call-c.cc: Declare foo.
5411 (main): Call foo.
5412 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5413 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5414 (main): Call C::ensureRefs and ensureOtherRefs.
5415 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5416 variables.
5417 (ensureOtherRefs): New function.
5418 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5419 * gdb.cp/templates.cc (main): Call t5i.value.
5420
5421 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5422
5423 Fix compatibility with G++-4.5.
5424 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5425 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5426 (uncaught return): Remove.
5427
5428 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5429 Phil Muldoon <pmuldoon@redhat.com>
5430
5431 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5432 (bp_location13, bp_location14, bp_location17, bp_location18)
5433 (marker3_proto, marker4_proto): New variables.
5434 (breakpoint info): Update output.
5435 (run until breakpoint at marker3, run until breakpoint at marker4): New
5436 tests.
5437
5438 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5439
5440 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5441 Replace the printf call of Y by provided "y-set-1" label. New block
5442 for the second shared library.
5443 * gdb.base/unload.exp: Compile also the second library, call
5444 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5445 (single pending breakpoint info): Rename to ...
5446 (pending breakpoint info before run): ... this extended test.
5447 (libfile2, libname2, libsrcfile2, libsrc2)
5448 (lib_sl2): New variables.
5449 (exec_opts): Set also SHLIB_NAME2.
5450 (pending breakpoint info on first run at shrfunc1)
5451 (pending breakpoint info on second run at shrfunc1)
5452 (pending breakpoint info on second run at shrfunc2)
5453 (print y from libfile, print y from libfile2): New tests.
5454 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5455 * gdb.base/unloadshr2.c: New.
5456
5457 2009-12-22 Hui Zhu <teawater@gmail.com>
5458
5459 * gdb.reverse/sigall-reverse.exp: Adjust.
5460
5461 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5462
5463 PR gdb/10884
5464
5465 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5466 (main): Call do_bitfield_tests.
5467 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
5468
5469 2009-12-20 Joel Brobecker <brobecker@adacore.com>
5470
5471 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5472 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5473 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5474 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5475 gdb.modula2/unbounded1.c: Update copyright header.
5476
5477 2009-12-10 Chris Moller <moller@mollerware.com>
5478
5479 PR gdb/9399
5480 * gdb.cp/virtfunc2.exp: New tests
5481 * gdb.cp/virtfunc2.cc: New tests
5482 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5483
5484 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5485
5486 * gdb.reverse/i387-env-reverse.c: New file.
5487 * gdb.reverse/i387-env-reverse.exp: New file.
5488 * gdb.reverse/i387-stack-reverse.c: New file.
5489 * gdb.reverse/i387-stack-reverse.exp: New file.
5490
5491 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5492
5493 * gdb.python/py-type.exp (test_range): New test.
5494
5495 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5496
5497 PR python/10805
5498
5499 * gdb.python/py-type.exp: New file.
5500 * gdb.python/py-type.c: New file.
5501 * Makefile.in: Add py-type.
5502
5503 2009-12-03 Tom Tromey <tromey@redhat.com>
5504
5505 * gdb.python/py-value.exp (test_parse_and_eval): New
5506 function.
5507
5508 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5509
5510 PR gdb/11022
5511
5512 * gdb.base/pr11022.exp: New test.
5513 * gdb.base/pr11022.c: New test.
5514
5515 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5516
5517 Fix spurious false FAILs.
5518 * gdb.base/structs.c (chartest): New.
5519 (main): Fill-in chartest.
5520 * gdb.base/structs.exp (anychar_re, first): New.
5521 (start_structs_test): Import global anychar_re and first.
5522 New gdb_test call "set print elements 300; ${testfile}"
5523 (start_structs_test <$first>): New block.
5524 (any): Import global anychar_re. New variable ac. Use ${ac}.
5525
5526 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5527
5528 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5529
5530 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5531
5532 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5533 Force $srcfile file.
5534 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5535
5536 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5537
5538 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5539 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5540 * gdb.threads/watchthreads-reorder.exp: Likewise.
5541
5542 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5543
5544 PR gdb/8704
5545
5546 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5547 "if", and "thread". Correct matching in the previous test.
5548
5549 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5550
5551 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5552
5553 2009-11-23 Michael Snyder <msnyder@vmware.com>
5554
5555 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5556 * gdb.reverse-watch-precsave.exp: Ditto.
5557
5558 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5559
5560 * gdb.asm/asm-source.exp: Adjust.
5561 * gdb.base/help.exp: Adjust.
5562
5563 2009-11-22 Pedro Alves <pedro@codesourcery.com>
5564
5565 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5566 (do_syscall_tests_without_xml): Set data-directory to
5567 /the/path/to/nowhere.
5568
5569 2009-11-21 Pedro Alves <pedro@codesourcery.com>
5570
5571 * gdb.threads/local-watch-wrong-thread.c,
5572 gdb.threads/local-watch-wrong-thread.exp: New files.
5573
5574 2009-11-21 Pedro Alves <pedro@codesourcery.com>
5575
5576 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5577 assume new `regsub' syntax available.
5578
5579 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5580
5581 * gdb.base/watchpoint-hw-hit-once.exp,
5582 gdb.base/watchpoint-hw-hit-once.c: New.
5583
5584 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5585
5586 * gdb.threads/watchthreads-reorder.exp,
5587 gdb.threads/watchthreads-reorder.c: New.
5588
5589 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5590
5591 * gdb.xml/tdesc-regs.exp: Use for m68k.
5592
5593 2009-11-15 Pedro Alves <pedro@codesourcery.com>
5594
5595 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5596
5597 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5598
5599 * lib/gdb.exp (current_target_name): New procedure.
5600 (gdb_wrapper_target): New variable.
5601 (gdb_wrapper_init): Set gdb_wrapper_target.
5602 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5603 wrapper.
5604
5605 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5606
5607 * gdb.base/remote.exp: Delete the slowest load test.
5608 Do not load with fixed packet sizes.
5609
5610 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5611
5612 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5613
5614 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5615
5616 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5617 srcfile when setting a breakpoint.
5618
5619 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5620
5621 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5622 macros.
5623
5624 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5625
5626 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5627 to be in memory.
5628 * gdb.base/display.c (force_mem): New.
5629 (do_loops): Use it. Add breakpoint comments.
5630 (do_vars): Add a breakpoint comment.
5631 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5632 line numbers.
5633
5634 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5635
5636 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5637 instead of a bare "run".
5638
5639 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5640
5641 * gdb.python/py-prettyprint.exp: Adjust.
5642
5643 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5644
5645 * lib/cell.exp (skip_cell_tests): Clean up test files before
5646 returning.
5647
5648 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5649
5650 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5651 and the breakpoint menu. Do not call perror if a prompt is seen.
5652 Consume the following GDB prompt.
5653 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5654 * gdb.cp/namespace.exp: Use gdb_test.
5655 * gdb.cp/templates.exp: Use gdb_test.
5656 (test_template_breakpoints): Use gdb_test_multiple.
5657
5658 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5659
5660 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5661 (marker4): Reference values.
5662
5663 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5664
5665 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5666 is missing.
5667
5668 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5669
5670 * gdb.base/break.c (need_malloc): New.
5671 * gdb.base/constvars.c (main): Reference crass and crisp.
5672 * gdb.base/gdb1821.c (main): Reference bar.
5673 * gdb.cp/gdb1355.cc (main): Reference s1.
5674 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5675 (main): Call them.
5676 * gdb.cp/hang2.cc (dummy2): Define.
5677 * gdb.cp/hang3.cc (dummy3): Define.
5678 * gdb.cp/m-data.cc (main): Reference shadow.
5679
5680 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5681 Nathan Froyd <froydnj@codesourcery.com>
5682
5683 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5684 remote host.
5685
5686 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5687
5688 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5689 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5690 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5691 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5692 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5693 * gdb.dwarf2/dw2-producer.exp: Likewise.
5694 * gdb.dwarf2/mac-fileno.exp: Likewise.
5695 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5696 py-prettyprint.py to the remote host.
5697 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5698
5699 2009-11-11 Keith Seitz <keiths@redhat.com>
5700
5701 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5702 use it instead of "Foo".
5703 * gdb.cp/classes.exp (do_tests): Add a test to access
5704 a method through a typedef'd class name.
5705
5706 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5707
5708 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5709 exponents.
5710 * gdb.base/pointers.exp: Likewise.
5711 * gdb.cp/ref-types.exp: Likewise.
5712
5713 2009-11-11 Keith Seitz <keiths@redhat.com>
5714
5715 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5716 new[] and delete[].
5717 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5718 "void".
5719 (probe_demangler): Remove all single-quoting of
5720 method and variable names.
5721 (info_func_regexp): Remove the word "void" from any
5722 occurrence of "(void)".
5723 (print_addr_2): Remove all single-quoting of
5724 method names.
5725 (print_addr_2_kfail): Likewise.
5726 (print_addr): Single-quote C function names before
5727 passing to print_addr_2.
5728 (test_paddr_operator_functions): Remove single-quoting
5729 for method names.
5730 Add tests for operator new[] and operator delete[].
5731
5732 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5733
5734 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5735
5736 2009-11-09 Keith Seitz <keiths@redhat.com>
5737
5738 * gdb.cp/overload.exp: Add tests for resolving overloaded
5739 methods in expression parsing/evaluation.
5740
5741 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5742
5743 * lib/gdb.exp (default_gdb_version): Use --version instead of
5744 --command.
5745
5746 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5747
5748 * lib/gdb.exp (gdb_compile_test): New.
5749 (skip_ada_tests, skip_java_tests): New.
5750 (gdb_compile): Use gdb_compile_test for f77.
5751 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5752 * lib/java.exp (compile_java_from_source): Remove runtests check,
5753 use gdb_compile_test to record result.
5754 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5755 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5756 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5757 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5758 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5759 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5760 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5761 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5762 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5763 adjust gdb_compile invocations.
5764
5765 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5766
5767 * Makefile.in (abs_builddir): New.
5768 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5769 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5770 `$(abs_builddir)/site.exp'.
5771
5772 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5773
5774 * config/m68k-emc.exp, lib/emc-support.exp,
5775 gdb.trace/gdb_c_test.c: Delete.
5776 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5777 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5778 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5779 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5780 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5781 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5782 casing for m68k-*-elf.
5783
5784 2009-11-03 Pedro Alves <pedro@codesourcery.com>
5785
5786 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5787 * gdb.arch/i386-prologue.exp: Likewise.
5788 * gdb.arch/i386-unwind.exp: Likewise.
5789
5790 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5791
5792 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5793
5794 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5795
5796 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5797
5798 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5799
5800 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5801
5802 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5803
5804 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5805
5806 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5807
5808 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5809 * gdb.base/sepdebug2.c: New file.
5810
5811 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5812
5813 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5814 the modified warnings for catch syscall. Verify if GDB was compiled
5815 with support for lib expat, and choose which tests to run depending
5816 on this.
5817
5818 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5819
5820 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5821 that composite commands are parsed OK. And also test
5822 that breakpoint commands do work.
5823
5824 2009-10-23 Michael Snyder <msnyder@vmware.com>
5825
5826 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5827 to allow for new disassembly style.
5828
5829 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5830
5831 * gdb.asm/asm-source.exp: Adjust.
5832
5833 2009-10-22 Michael Snyder <msnyder@vmware.com>
5834
5835 * gdb.reverse/break-precsave.exp: New test.
5836 * gdb.reverse/consecutive-precsave.exp: Ditto.
5837 * gdb.reverse/finish-precsave.exp: Ditto.
5838 * gdb.reverse/i386-precsave.exp: Ditto.
5839 * gdb.reverse/machinestate-precsave.exp: Ditto.
5840 * gdb.reverse/sigall-precsave.exp: Ditto.
5841 * gdb.reverse/solilb-precsave.exp: Ditto.
5842 * gdb.reverse/step-precsave.exp: Ditto.
5843 * gdb.reverse/until-precsave.exp: Ditto.
5844 * gdb.reverse/watch-precsave.exp: Ditto.
5845
5846 2009-10-22 Michael Snyder <msnyder@vmware.com>
5847
5848 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5849 for gdb_expect. Adjust one test's expect strings for the new
5850 format of disassemble.
5851 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5852 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5853 gdb_test_multiple.
5854 * gdb.reverse/step-reverse.exp: Delete 'return'.
5855 * gdb.reverse/until-reverse.exp: Delete blank lines.
5856 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5857
5858 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5859
5860 * gdb.base/consecutive.exp: Adjust.
5861 * gdb.base/display.exp: Likewise.
5862 * gdb.base/pc-fp.exp: Likewise.
5863 * gdb.base/sigbpt.exp: Likewise.
5864
5865 2009-10-19 Michael Snyder <msnyder@vmware.com>
5866
5867 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5868 * gdb.reverse/finish-reverse.c: Ditto.
5869 * gdb.reverse/sigall-reverse.c: Ditto.
5870 * gdb.reverse/solib-reverse.c: Ditto.
5871 * gdb.reverse/step-reverse.c: Ditto.
5872 * gdb.reverse/watch-reverse.c: Ditto.
5873
5874 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5875 Stan Shebs <stan@codesourcery.com>
5876
5877 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5878 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5879 "Executing new program".
5880 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5881 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5882 left listed after having been killed.
5883 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5884 * gdb.base/maint.exp: Adjust test.
5885
5886 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5887 * gdb.multi/Makefile.in: New.
5888 * gdb.multi/base.exp: New.
5889 * gdb.multi/goodbye.c: New.
5890 * gdb.multi/hangout.c: New.
5891 * gdb.multi/hello.c: New.
5892 * gdb.multi/bkpt-multi-exec.c: New.
5893 * gdb.multi/bkpt-multi-exec.exp: New.
5894 * gdb.multi/crashme.c: New.
5895
5896 2009-10-13 Tristan Gingold <gingold@adacore.com>
5897
5898 * gdb.base/sepdebug.exp: Check debug info are found.
5899
5900 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5901
5902 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5903 bits.
5904
5905 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5906
5907 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5908
5909 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5910
5911 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5912 of the comments.
5913
5914 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5915
5916 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5917 * gdb.base/annota3.exp: Idem.
5918 * gdb.base/maint.exp: Idem.
5919
5920 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5921
5922 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5923 to default.
5924
5925 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5926
5927 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5928 mingw and cygwin targets.
5929
5930 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5931 Pedro Alves <pedro@codesourcery.com>
5932
5933 * lib/gdb.exp (gdb_compile): Avoid adding
5934 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5935
5936 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5937
5938 * gdb.base/shr1.c: Use %p in format string.
5939 * gdb.base/unload.c: Avoid warning in fprintf.
5940 * gdb.base/watchpoint-solib.c: Idem.
5941
5942 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5943
5944 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5945 long type.
5946 (test_unlink): Correct printf string.
5947 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5948 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5949
5950 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5951
5952 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5953 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5954 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5955
5956 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5957
5958 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5959 * gdb.objc/nondebug.exp: Likewise.
5960
5961 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5962
5963 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5964 target_info setting.
5965
5966 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5967 that detect new threads during "info threads".
5968
5969 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5970
5971 * gdb.threads/manythreads.c (main): Increase thread stack size
5972 to 2*PTHREAD_STACK_MIN.
5973 * gdb.threads/multi-create.c (main): Likewise.
5974 (create_function): Likewise.
5975
5976 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5977
5978 * gdb.base/dump.exp: Pass difference of pointer types instead
5979 of integer types as offset to restore in intarr3.srec case.
5980
5981 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5982
5983 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5984
5985 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5986
5987 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5988
5989 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5990
5991 New test for two watchpoints, with disabling of
5992 the first inserted.
5993 * testsuite/gdb.base/watchpoints.c: New file.
5994 * testsuite/gdb.base/watchpoints.exp: New file.
5995
5996 2009-09-25 Tom Tromey <tromey@redhat.com>
5997
5998 * gdb.base/charset.exp: Test utf-16 strings with Python.
5999
6000 2009-09-25 Tom Tromey <tromey@redhat.com>
6001
6002 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6003 UCS-4.
6004 * gdb.base/charset.c (utf_32_string): Rename.
6005 (init_utf32): Rename.
6006 (main): Update.
6007
6008 2009-09-22 Tom Tromey <tromey@redhat.com>
6009
6010 * gdb.python/py-function.exp: Add regression tests.
6011
6012 2009-09-21 Keith Seitz <keiths@redhat.com>
6013
6014 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6015 with invalid operator.
6016
6017 2009-09-21 Keith Seitz <keiths@redhat.com>
6018
6019 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6020 and destructor using typedef name of class.
6021 * gdb.cp/classes.cc (class Base1): Add a destructor.
6022 (base1): New typedef.
6023 (use_methods): Instanitate an object of type base1.
6024 * gdb.cp/templates.exp (test_template_typedef): New procedure.
6025 (do_tests): Call test_template_typedef.
6026 * gdb.cp/templates.cc (Baz::~Baz): New method.
6027 (intBazOne): New typedef.
6028 (main): Instantiate intBazOne.
6029
6030 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6031
6032 PR python/10633
6033
6034 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6035 Function.
6036 (run_lang_tests): Add print elements test.
6037
6038 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6039
6040 * gdb.python/py-value.exp (test_subscript_regression): New
6041 function. Test for invalid subscripts.
6042 * gdb.python/py-value.c (main): Add test array, and pointer to it.
6043 (ptr_ref): New function.
6044
6045 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6046
6047 * gdb.base/default.exp: Fix "show convenience".
6048
6049 2009-09-15 Tom Tromey <tromey@redhat.com>
6050
6051 * lib/mi-support.exp (mi_create_varobj): Update.
6052 (mi_create_floating_varobj): Likewise.
6053 (mi_create_dynamic_varobj): New proc.
6054 (mi_varobj_update): Update.
6055 (mi_varobj_update_with_type_change): Likewise.
6056 (mi_varobj_update_kv_helper): New proc.
6057 (mi_varobj_update_dynamic_helper): Rewrite.
6058 (mi_varobj_update_dynamic): New proc.
6059 (mi_list_varobj_children): Update.
6060 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
6061 * gdb.python/python-prettyprint.py (pp_outer): New class.
6062 (pp_nullstr): Likewise.
6063 (lookup_function): Register new printers.
6064 * gdb.python/python-prettyprint.c (struct substruct): New type.
6065 (struct outerstruct): Likewise.
6066 (substruct_test): New function.
6067 (struct nullstr): New type.
6068 (string_1, string_2): New globals.
6069 (main): Add new tests.
6070 * gdb.python/python-mi.exp: Added regression tests.
6071 * gdb.mi/mi2-var-display.exp: Update.
6072 * gdb.mi/mi2-var-cmd.exp: Update.
6073 * gdb.mi/mi2-var-child.exp: Update.
6074 * gdb.mi/mi2-var-block.exp: Update.
6075 * gdb.mi/mi-var-invalidate.exp: Update.
6076 * gdb.mi/mi-var-display.exp: Update.
6077 * gdb.mi/mi-var-cmd.exp: Update.
6078 * gdb.mi/mi-var-child.exp: Update.
6079 * gdb.mi/mi-var-block.exp: Update.
6080 * gdb.mi/mi-break.exp: Update.
6081 * gdb.mi/gdb701.exp: Update.
6082
6083 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6084
6085 * Makefile.in: Inclusion of catch-syscall object.
6086 * gdb.base/catch-syscall.c: New file.
6087 * gdb.base/catch-syscall.exp: New file.
6088
6089 2009-09-12 Michael Snyder <msnyder@vmware.com>
6090
6091 * gdb.reverse/step-reverse.exp: Explicitly check for targets
6092 that can support reverse debuggnig.
6093
6094 2009-09-11 Tom Tromey <tromey@redhat.com>
6095
6096 * gdb.dwarf2/valop.S: New file.
6097 * gdb.dwarf2/valop.exp: New file.
6098
6099 2009-09-11 Mark Kettenis <kettenis@gnu.org>
6100
6101 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
6102
6103 2009-09-10 Doug Evans <dje@google.com>
6104
6105 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
6106 Add $gdb_prompt to second breakpoint regexp.
6107
6108 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
6109
6110 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
6111 names, add missing ones.
6112 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
6113 * gdb.python/py-frame.c: Rename from python-frame.c.
6114 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
6115 testfile name.
6116 * gdb.python/py-function.exp: Rename from python-function.exp.
6117 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
6118 testfile name.
6119 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
6120 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
6121 Adjust testfile name.
6122 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
6123 * gdb.python/py-template.cc: Rename from python-template.cc.
6124 * gdb.python/py-template.exp: Rename from python-template.exp.
6125 Adjust testfile name.
6126 * gdb.python/py-value.c: Rename from python-value.c.
6127 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
6128 testfile name.
6129
6130 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6131
6132 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
6133 $bpt2address.
6134 (Second breakpoint address is valid on ia64)
6135 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
6136
6137 2009-09-03 Joseph Myers <joseph@codesourcery.com>
6138
6139 * gdb.base/ending-run.exp: Restrict regular expression matching
6140 line number to require closing brace following.
6141
6142 2009-09-03 Doug Evans <dje@google.com>
6143
6144 * gdb.base/store.exp (check_set): Fix typo in expected value message.
6145
6146 2009-09-02 Tom Tromey <tromey@redhat.com>
6147
6148 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
6149
6150 2009-09-02 Tom Tromey <tromey@redhat.com>
6151
6152 * gdb.dwarf2/callframecfa.exp: New file.
6153 * gdb.dwarf2/callframecfa.S: New file.
6154
6155 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
6158 gdb.base/solib-overlap-main.c: New.
6159
6160 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
6161
6162 PR gdb/10565
6163
6164 * gdb.base/bitfields.c (struct container, container): New.
6165 (main): Initialize it and call break5.
6166 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
6167
6168 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6169
6170 Support constant DW_AT_data_member_location by GCC PR debug/40659.
6171 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
6172
6173 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6174
6175 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
6176
6177 2009-08-26 Michael Snyder <msnyder@vmware.com>
6178
6179 * gdb.base/i386-reverse.c: New file.
6180 * gdb.base/i386-reverse.exp: New file.
6181 * gdb.base/Makefile.in: Add new files to be removed.
6182
6183 2009-08-26 Joseph Myers <joseph@codesourcery.com>
6184
6185 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
6186 environment-pwd for remote host.
6187 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
6188
6189 2009-08-24 Keith Seitz <keiths@redhat.com>
6190
6191 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
6192 Add two new C++ completer tests which limit the output to a
6193 given class.
6194
6195 2009-08-24 Michael Snyder <msnyder@vmware.com>
6196
6197 * gdb.base/del.exp: Fix typo in comment.
6198 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
6199
6200 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6201
6202 * configure: Regenerate.
6203 * gdb.hp/configure: Likewise.
6204 * gdb.hp/gdb.aCC/configure: Likewise.
6205 * gdb.hp/gdb.base-hp/configure: Likewise.
6206 * gdb.hp/gdb.compat/configure: Likewise.
6207 * gdb.hp/gdb.defects/configure: Likewise.
6208 * gdb.hp/gdb.objdbg/configure: Likewise.
6209 * gdb.stabs/configure: Likewise.
6210
6211 2009-08-19 Doug Evans <dje@google.com>
6212
6213 * gdb.base/gdbvars.c: New file.
6214 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
6215
6216 2009-08-14 Pedro Alves <pedro@codesourcery.com>
6217
6218 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6219 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
6220
6221 2009-08-13 Pedro Alves <pedro@codesourcery.com>
6222
6223 * gdb.base/default.exp: Adjust "set language test": it's now an
6224 enum command. Larger help string moved to "help set language".
6225 * gdb.base/help.exp: Adjust "help set language" expected output,
6226 now lists all known languages.
6227
6228 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
6229
6230 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
6231 all frame arguments.
6232 * gdb.arch/altivec-regs.exp: Likewise.
6233
6234 2009-08-07 Tom Tromey <tromey@redhat.com>
6235
6236 * gdb.base/setshow.exp: Add tests for changes to set language, set
6237 check range, and set check type.
6238
6239 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
6240
6241 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
6242 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
6243 Call it.
6244
6245 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6246
6247 * configure.ac: Run gdb.cell tests when appropriate.
6248 * configure: Regenerate.
6249 * lib/cell.exp: New file.
6250 * gdb.cell: New directory.
6251 * gdb.cell/configure.ac: New file.
6252 * gdb.cell/configure: New file.
6253 * gdb.cell/Makefile.in: New file.
6254 * gdb.cell/arch.exp: New file.
6255 * gdb.cell/break.c: New file.
6256 * gdb.cell/break.exp: New file.
6257 * gdb.cell/break-spu.c: New file.
6258 * gdb.cell/bt.c: New file.
6259 * gdb.cell/bt2-spu.c: New file.
6260 * gdb.cell/bt-spu.c: New file.
6261 * gdb.cell/bt.exp: New file.
6262 * gdb.cell/coremaker.c: New file.
6263 * gdb.cell/coremaker-spu.c: New file.
6264 * gdb.cell/core.exp: New file.
6265 * gdb.cell/gcore.exp: New file.
6266 * gdb.cell/data.c: New file.
6267 * gdb.cell/data.exp: New file.
6268 * gdb.cell/data-spu.c: New file.
6269 * gdb.cell/ea-cache.exp: New file.
6270 * gdb.cell/ea-cache.c: New file.
6271 * gdb.cell/ea-cache-spu.c: New file.
6272 * gdb.cell/ea-standalone.c: New file.
6273 * gdb.cell/ea-standalone.exp: New file.
6274 * gdb.cell/ea-test.c: New file.
6275 * gdb.cell/ea-test.exp: New file.
6276 * gdb.cell/f-regs.exp: New file.
6277 * gdb.cell/mem-access.c: New file.
6278 * gdb.cell/mem-access.exp: New file.
6279 * gdb.cell/mem-access-spu.c: New file.
6280 * gdb.cell/ptype.exp: New file.
6281 * gdb.cell/registers.exp: New file.
6282 * gdb.cell/size.c: New file.
6283 * gdb.cell/sizeof.exp: New file.
6284 * gdb.cell/size-spu.c: New file.
6285 * gdb.cell/solib.exp: New file.
6286 * gdb.cell/solib-symbol.exp: New file.
6287
6288 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6289
6290 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6291
6292 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6293
6294 * gdb.base/float.exp: Handle VFP registers.
6295
6296 2009-07-14 Michael Snyder <msnyder@vmware.com>
6297
6298 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6299 to bring gdb to the beginning of the calling line.
6300
6301 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6302 confusing the i386 epilogue unwinder.
6303
6304 2009-07-14 Stan Shebs <stan@codesourcery.com>
6305
6306 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6307
6308 2009-07-14 Michael Snyder <msnyder@vmware.com>
6309
6310 * gdb.reverse/step-reverse.exp (stepi into function call):
6311 Call instruction may not be first instruction in the line.
6312 (reverse stepi from a function call): Used wrong line number.
6313
6314 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6315
6316 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6317
6318 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6319
6320 Fix gdb.base/macscp.exp when using custom inputrc.
6321 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6322 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6323 env(TERM) set.
6324 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6325 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6326
6327 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6328
6329 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6330 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6331 Change the compilation target to match the testcase name.
6332 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6333 testcase name.
6334 * a2-run.exp: Use for setup prepare_for_testing. Change the
6335 compilation target to match the testcase name.
6336 * gdb.base/commands.exp: Likewise.
6337 * gdb.base/finish.exp: Likewise.
6338 * gdb.base/float.exp: Likewise.
6339 * gdb.base/info-target.exp: Likewise.
6340 * gdb.base/relational.exp: Likewise.
6341 * gdb.base/term.exp: Likewise.
6342 * gdb.base/until.exp: Likewise.
6343 * gdb.base/volatile.exp: Likewise.
6344 * gdb.base/whatis-exp.exp: Likewise.
6345
6346 2009-07-11 Hui Zhu <teawater@gmail.com>
6347
6348 * gdb.base/help.exp (disassemble): Update expected help text.
6349
6350 2009-07-09 Tom Tromey <tromey@redhat.com>
6351
6352 * lib/gdb.exp: Handle TRANSCRIPT.
6353 (remote_spawn, remote_close, send_gdb): New procs.
6354
6355 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6356
6357 * gdb.python/python-prettyprint.c: Add counted null string
6358 structure.
6359 * gdb.python/python-prettyprint.exp: Print null string. Test for
6360 embedded nulls.
6361 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6362 * gdb.python/python-value.exp (test_value_in_inferior): Add
6363 variable length string fetch tests.
6364 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6365
6366 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6367
6368 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6369
6370 2009-07-07 Tom Tromey <tromey@redhat.com>
6371
6372 * gdb.base/call-rt-st.exp: Update for change to escape output.
6373 * gdb.base/callfuncs.exp: Likewise.
6374 * gdb.base/charset.exp: Likewise.
6375 * gdb.base/constvars.exp: Likewise.
6376 * gdb.base/long_long.exp: Likewise.
6377 * gdb.base/pointers.exp: Likewise.
6378 * gdb.base/printcmds.exp: Likewise.
6379 * gdb.base/setvar.exp: Likewise.
6380 * gdb.base/store.exp: Likewise.
6381 * gdb.cp/ref-types.exp: Likewise.
6382 * gdb.mi/mi-var-child.exp: Likewise.
6383 * gdb.mi/mi-var-display.exp: Likewise.
6384 * gdb.mi/mi2-var-display.exp: Likewise.
6385 * gdb.base/charset.exp: Test octal escape sequence length.
6386 Update for change to escape output.
6387
6388 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6389
6390 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6391
6392 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6393
6394 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6395
6396 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6397
6398 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6399 gdbserver increasing $portnum if "Can't bind address" has been seen.
6400
6401 2009-07-05 Pedro Alves <pedro@codesourcery.com>
6402
6403 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6404 mingw32ce.
6405
6406 2009-07-05 Pedro Alves <pedro@codesourcery.com>
6407
6408 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6409 VFP format.
6410
6411 2009-07-02 Pedro Alves <pedro@codesourcery.com>
6412
6413 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6414 linux. Adjust to use "inferior", "info inferiors", "detach
6415 inferior" and "kill inferior" instead of "restart", "info fork",
6416 "detach fork" and "delete fork".
6417 * gdb.base/ending-run.exp: Spell out "info".
6418 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6419 the "kill" command.
6420
6421 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6422
6423 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6424 change to prefix TLS offset in hex with 0x.
6425
6426 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6427
6428 * gdb.base/default.exp: Update test case for "x" changes.
6429
6430 2009-07-01 Tristan Gingold <gingold@adacore.com>
6431
6432 * gdb.base/bigcore.exp: Make darwin untested.
6433
6434 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6435
6436 * gdb.base/completion.exp (directory completion): Create the directory.
6437 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6438 escapeuniquesub.
6439 (directory completion 2): Expect now ${escapeuniquesub}.
6440 (Glob remaining of directory test): Remove one excessive newline.
6441 Expect the real output.
6442
6443 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6444
6445 Fix `make check//%' target after `make check' has been ran.
6446 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6447 a mkdir call.
6448 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6449 (%/.dir): Remove.
6450
6451 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6452
6453 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6454 the expected result record.
6455
6456 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6457
6458 Remove racy FAILs relying just on the timeouts.
6459 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6460 (annotation_level 2): Remove racy FAILs.
6461
6462 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6463
6464 gdb/10275
6465 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6466
6467 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6468
6469 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6470
6471 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6472
6473 * gdb.mi/mi-stack.exp: Testing symbolic options
6474 to -stack-list-locals and -stack-list-arguments.
6475
6476 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6477
6478 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6479
6480 2009-06-29 Tom Tromey <tromey@redhat.com>
6481
6482 * dg-extract-results.sh: New file.
6483 * Makefile.in (FORCE_PARALLEL): New variable.
6484 (CHECK_TARGET): New conditional variable.
6485 (check): Use CHECK_TARGET.
6486 (DO_RUNTEST): New variable.
6487 (check-single): New target.
6488 (TEST_DIRS): New variable.
6489 (TEST_TARGETS): Likewise.
6490 (check-parallel): New target.
6491 (check-gdb.%): New pattern.
6492 (BASE1_FILES): New variable.
6493 (BASE2_FILES): Likewise.
6494 (check-gdb.base%): New pattern.
6495 (%/.dir): New pattern.
6496 * configure: Rebuild.
6497 * aclocal.m4 (AM_CONDITIONAL): New defun.
6498 * configure.ac: Check whether user is using GNU make.
6499 (GMAKE): New conditional.
6500
6501 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6502
6503 * gdb.cp/namespace-nested-import.cc: New test.
6504 * gdb.cp/namespace-nested-import.exp: New test.
6505
6506 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6507
6508 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6509 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6510 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6511 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6512 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6513 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6514 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6515 gdb.opt/inline-markers.c: New files.
6516 * lib/gdb.exp (skip_inline_frame_tests): New function.
6517 (skip_inline_var_tests): New function.
6518
6519 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6520
6521 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6522 backtrace.
6523
6524 2009-06-27 Michael Snyder <msnyder@vmware.com>
6525
6526 * gdb.reverse: New directory.
6527 * gdb.reverse/break-reverse.c: New test.
6528 * gdb.reverse/break-reverse.exp: New test.
6529 * gdb.reverse/consecutive-reverse.c: New test.
6530 * gdb.reverse/consecutive-reverse.exp: New test.
6531 * gdb.reverse/finish-reverse.c: New test.
6532 * gdb.reverse/finish-reverse.exp: New test.
6533 * gdb.reverse/machinestate.c: New test.
6534 * gdb.reverse/ms1.c: New test.
6535 * gdb.reverse/machinestate.exp: New test.
6536 * gdb.reverse/Makefile.in: New file.
6537 * gdb.reverse/shr2.c: New test.
6538 * gdb.reverse/solib-reverse.c: New test.
6539 * gdb.reverse/solib-reverse.exp: New test.
6540 * gdb.reverse/step-reverse.c: New test.
6541 * gdb.reverse/step-reverse.exp: New test.
6542 * gdb.reverse/until-reverse.c: New test.
6543 * gdb.reverse/ur1.c: New test.
6544 * gdb.reverse/until-reverse.exp: New test.
6545 * gdb.reverse/watch-reverse.c: New test.
6546 * gdb.reverse/watch-reverse.exp: New test.
6547 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6548 * configure: Regenerate.
6549
6550 2009-06-26 Doug Evans <dje@google.com>
6551
6552 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6553
6554 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6555
6556 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6557 windows problem for 'file delete $binfile'.
6558
6559 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6560
6561 * gdb.cp/namespace-using.exp: New test.
6562 * gdb.cp/namespace-using.cc: New test.
6563
6564 2009-05-20 Joel Brobecker <brobecker@adacore.com>
6565
6566 * gdb.ada/variant_record_packed_array: New testcase.
6567
6568 2009-06-23 Tom Tromey <tromey@redhat.com>
6569
6570 * gdb.base/charset.exp (test_combination): Regression test.
6571 * gdb.base/charset.c (my_wchar_t): New typedef.
6572 (myvar): New global.
6573 (main): Set myvar.
6574
6575 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6576
6577 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6578 target.
6579
6580 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6581
6582 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6583
6584 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6585
6586 * gdb.mi/gdb680.exp: Update test for error message.
6587
6588 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6589
6590 * gdb.base/annota1.exp: Allow multiple occurrences of the
6591 frames-invalid annotation.
6592 * gdb.cp/annota2.exp: Likewise.
6593
6594 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6595
6596 * gdb.cp/gdb2495.cc: New file.
6597 * gdb.cp/gdb2495.exp: New file.
6598
6599 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6600
6601 Report error on GDB crash during runto.
6602 * lib/gdb.exp (runto <eof>): New.
6603
6604 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6605
6606 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6607 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6608 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6609 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6610 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6611 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6612 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6613 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6614 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6615 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6616 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6617 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6618 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6619 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6620 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6621 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6622 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6623 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6624 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6625 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6626 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6627 gdb.trace/passcount.exp, gdb.trace/report.exp,
6628 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6629 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6630 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6631 executable.
6632
6633 2009-06-07 Pedro Alves <pedro@codesourcery.com>
6634
6635 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6636 defined before referencing it.
6637
6638 2009-06-03 Doug Evans <dje@google.com>
6639
6640 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6641 * gdb.arch/i386-see.c: Ditto.
6642
6643 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6644
6645 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6646 (check_macro): Return 1 if undefined.
6647 If first test fails, check if macro debug information is available,
6648 and report unsupported test if no macro information is found.
6649
6650 2009-05-29 Doug Evans <dje@google.com>
6651
6652 * gdb.threads/hand-call-in-threads.exp: New.
6653 * gdb.threads/hand-call-in-threads.c: New.
6654
6655 2009-05-29 Michael Snyder <msnyder@vmware.com>
6656
6657 * gdb.base/break-always.exp: Change "1" to "on".
6658 Add confirmation check.
6659
6660 2009-05-28 Pedro Alves <pedro@codesourcery.com>
6661
6662 * gdb.threads/threxit-hop-specific.c: New.
6663 * gdb.threads/threxit-hop-specific.exp: New.
6664 * gdb.threads/thread-execl.c: New.
6665 * gdb.threads/thread-execl.exp: New.
6666
6667 2009-05-27 Tom Tromey <tromey@redhat.com>
6668 Thiago Jung Bauermann <bauerman@br.ibm.com>
6669
6670 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6671 (mi_child_regexp): Likewise.
6672 (mi_list_varobj_children_range): Likewise.
6673 (mi_get_features): Likewise.
6674 (mi_list_varobj_children): Rewrite.
6675 * gdb.python/python-mi.exp: New file.
6676
6677 2009-05-27 Tom Tromey <tromey@redhat.com>
6678 Thiago Jung Bauermann <bauerman@br.ibm.com>
6679 Phil Muldoon <pmuldoon@redhat.com>
6680 Paul Pluzhnikov <ppluzhnikov@google.com>
6681
6682 * gdb.python/python-prettyprint.exp: New file.
6683 * gdb.python/python-prettyprint.c: New file.
6684 * gdb.python/python-prettyprint.py: New file.
6685 * gdb.base/display.exp: print/r is now valid.
6686
6687 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6688 Tom Tromey <tromey@redhat.com>
6689 Pedro Alves <pedro@codesourcery.com>
6690 Paul Pluzhnikov <ppluzhnikov@google.com>
6691
6692 * gdb.python/python-template.exp: New file.
6693 * gdb.python/python-template.cc: New file.
6694 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6695 tests.
6696 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6697 Call it.
6698 (test_value_after_death): New proc.
6699 * gdb.python/python-value.c (PTR): New typedef.
6700 (main): New variable 'x'.
6701
6702 2009-05-27 Tom Tromey <tromey@redhat.com>
6703
6704 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6705 tests.
6706 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6707 Call it.
6708
6709 2009-05-27 Pedro Alves <pedro@codesourcery.com>
6710
6711 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6712
6713 2009-05-24 Pedro Alves <pedro@codesourcery.com>
6714
6715 * gdb.threads/fork-thread-pending.c: New.
6716 * gdb.threads/fork-thread-pending.exp: New.
6717
6718 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6719
6720 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6721 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6722
6723 2009-05-18 Jon Beniston <jon@beniston.com>
6724
6725 * gdb.asm/asm-source.exp: Add lm32 target.
6726
6727 2009-05-17 Pedro Alves <pedro@codesourcery.com>
6728
6729 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6730 `gdb_get_line_number'. Call `callee' in both parent and child.
6731 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6732 `gdb_get_line_number' instead of hardcoding line numbers.
6733 (catch_fork_unpatch_child): New procedure to test detaching
6734 breakpoints from child fork.
6735 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6736 hardcoding line numbers.
6737 (do_fork_tests): Run `catch_fork_unpatch_child'.
6738
6739 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6740
6741 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6742 of structure type enters or leaves the scope, it
6743 is reported by -var-update.
6744
6745 2009-05-11 Doug Evans <dje@sebabeach.org>
6746
6747 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
6748 * gdb.threads/pending-step.c (main): Fix off-by-one error.
6749 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6750
6751 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6752
6753 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6754
6755 2009-04-30 Doug Evans <dje@google.com>
6756
6757 * gdb.threads/watchthreads2.exp: New testcase.
6758 * gdb.threads/watchthreads2.c: New testcase.
6759
6760 2009-04-29 Doug Evans <dje@google.com>
6761
6762 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6763 * gdb.cp/mb-ctor.cc: Ditto.
6764 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6765 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6766 * gdb.cp/mb-inline1.cc: Call it.
6767 * gdb.cp/mb-inline2.cc: Ditto.
6768 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6769 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6770
6771 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6772
6773 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6774 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6775 Replace all uses of `decimal' by `nonzero'.
6776 (info macro FROM_COMMANDLINE): New test.
6777
6778 2009-04-27 Tom Tromey <tromey@redhat.com>
6779
6780 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6781
6782 2009-04-27 Doug Evans <dje@google.com>
6783
6784 * gdb.threads/watchthreads.c (main): Initialize args before starting
6785 the threads. Plus formatting cleanup.
6786 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6787 biased scheduling of one thread.
6788
6789 2009-04-27 Jerome Guitton <guitton@adacore.com>
6790
6791 * gdb.cp/templates.cc (GetMax): New template.
6792 (main): Declare two instances of GetMax.
6793 * gdb.cp/templates.exp: Add new test.
6794
6795 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6796
6797 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6798
6799 2009-04-22 Joseph Myers <joseph@codesourcery.com>
6800
6801 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6802
6803 2009-04-15 Tom Tromey <tromey@redhat.com>
6804
6805 * gdb.base/charset.exp: Add regression test.
6806
6807 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6808
6809 * gdb.base/exe-lock.exp: New testcase.
6810
6811 2009-04-13 Tom Tromey <tromey@redhat.com>
6812
6813 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6814 operator on Frame.
6815
6816 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6817
6818 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6819 * gdb.server/ext-attach.exp: Likewise.
6820
6821 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6822
6823 Eliminate some sleep usage.
6824
6825 * gdb.mi/basics.c (do_nothing): New.
6826 (main): Use do_nothing instead of printf, so that
6827 not to introduce race condition between output of
6828 inferiour and output of gdb. Do not use sleep as it
6829 is not generally available on embedded targets.
6830
6831 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6832
6833 * gdb.server/ext-attach.exp: Expect an optional process id after
6834 "Detached from remote process".
6835
6836 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6837
6838 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6839 gdb.dwarf2/dw2-unresolved.exp: New.
6840
6841 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6842
6843 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6844 mi_run_to_main.
6845
6846 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6847
6848 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6849 mi_run_to_main. Skip thread exit test on remote targets.
6850 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6851 mi_run_to_main.
6852 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6853 mi_run_to_main.
6854 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6855 when expecting ^connected. Detect when the target doesn't support
6856 non-stop mode.
6857 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6858 supported. Return -1 on error, 0 on success.
6859 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6860 (mi_runto): Return mi_runto_helper's result explicitly.
6861
6862 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6863
6864 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6865
6866 2009-04-01 Tom Tromey <tromey@redhat.com>
6867
6868 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6869 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6870 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6871 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6872
6873 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6874 Jan Kratochvil <jan.kratochvil@redhat.com>
6875
6876 PR gdb/931
6877 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6878 output.
6879 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6880 for gdb/931.
6881 * dw2-strp.S (DW_AT_language): Change to C++.
6882 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6883
6884 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6885
6886 * gdb.ada/tasks: New testcase.
6887
6888 2009-03-30 Stan Shebs <stan@codesourcery.com>
6889
6890 * gdb.trace/actions.exp: Update to match new info trace format.
6891 * gdb.trace/deltrace.exp: Ditto.
6892 * gdb.trace/infotrace.exp: Ditto.
6893 * gdb.trace/passcount.exp: Ditto.
6894 * gdb.trace/save-trace.exp: Ditto.
6895 * gdb.trace/while-stepping.exp: Ditto.
6896 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6897
6898 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6899
6900 * gdb.python/python-frame.c: New file.
6901 * gdb.python/python-frame.exp: New file.
6902
6903 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6904
6905 * gdb.python/python-value.exp: Add tests for the address
6906 attribute.
6907
6908 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6909
6910 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6911
6912 2009-03-26 Doug Evans <dje@google.com>
6913
6914 * gdb.mi/mi-nonstop-exit.exp: New file.
6915 * gdb.mi/non-stop-exit.c: New file.
6916
6917 2009-03-26 Tom Tromey <tromey@redhat.com>
6918
6919 Update for change to prologue skipping:
6920 * gdb.mi/mi2-simplerun.exp: Update.
6921 * gdb.mi/mi2-break.exp: Update.
6922 * gdb.mi/mi-simplerun.exp: Update.
6923 * gdb.mi/mi-break.exp: Update.
6924 * gdb.base/ending-run.exp: Update.
6925
6926 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6927
6928 * gdb.python/python-value.exp (test_value_in_inferior): Test
6929 gdb.Value.is_optimized_out attribute.
6930
6931 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6932
6933 * gdb.dwarf2/dw2-noloc-main.c: New file.
6934 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6935 (.text): Remove.
6936 (.data): New.
6937 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6938 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6939 (DW_TAG_subprogram func_cu1, noloc): Remove.
6940 (main): New.
6941 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6942 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6943 (file_symbols): New procedure.
6944
6945 2009-03-25 Tom Tromey <tromey@redhat.com>
6946
6947 * gdb.base/charset.exp (valid_target_charset): New proc.
6948 Use it to skip tests on invalid charsets.
6949
6950 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6951
6952 * gdb.base/completion.exp: Add a test for directory completion.
6953
6954 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6955
6956 Fix a racy FAIL.
6957 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6958 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6959
6960 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6961
6962 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6963 * gdb.python/python-function.exp: Add test for function returning
6964 a GDB value.
6965
6966 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6967
6968 * gdb.python/python-function.exp: New file.
6969
6970 2009-03-20 Tom Tromey <tromey@redhat.com>
6971
6972 * gdb.base/store.exp: Update for change to escape output.
6973 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6974 to escape output.
6975 * gdb.base/pointers.exp: Update for change to escape output.
6976 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6977 to escape output.
6978 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6979 escape output.
6980 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6981 to escape output.
6982 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6983 escape output.
6984 * gdb.base/setvar.exp: Update for change to escape output.
6985 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6986 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6987 to escape output.
6988 (test_print_string_constants): Likewise.
6989 * gdb.base/charset.exp (valid_host_charset): Check size of
6990 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6991 cases. Handle "auto"-related output.
6992 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6993 (uvar, Uvar): New globals.
6994
6995 2009-03-19 Jerome Guitton <guitton@adacore.com>
6996
6997 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6998 deltas.
6999 * gdb.ada/fixed_points.exp: Ditto.
7000
7001 2009-03-18 Pedro Alves <pedro@codesourcery.com>
7002
7003 * return-nodebug.c: Don't include stdio.h.
7004 (init): Delete.
7005 (func): Delete definition and provide extern declaration.
7006 (t): New.
7007 (main): Don't call printf. Call func and store its result in t.
7008 * return-nodebug1.c: New.
7009 * return-nodebug.exp: Don't expect stdio output. Instead, print
7010 the global variable t. Drop printf formatters and cast types from
7011 foreach loop. Don't use prepare_for_testing. Compile
7012 return-nodebug.c and return-nodebug1.c in separate steps. Don't
7013 define FORMAT or CAST.
7014
7015 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7016
7017 * gdb.base/solib-display.exp: Disable test for remote targers.
7018
7019 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7020
7021 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7022
7023 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7024
7025 Fix a racy FAIL.
7026 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7027 code from `follow parent, print pids'.
7028 (`follow child, print pids', `follow parent, print pids'): Call it.
7029 Replace `gdb_test "break..."' by gdb_breakpoint.
7030
7031 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
7032
7033 * gdb.mi/mi-cli.exp: Adjust for output difference in
7034 sync and async modes.
7035
7036 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7037
7038 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
7039 that was checked in by mistake. Remove loading of ada.exp, since
7040 this is not necessary in this case.
7041
7042 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7043
7044 * gdb.ada/ptype_arith_binop.exp: New testcase.
7045
7046 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7047
7048 * gdb.ada/mod_from_name: New testcase.
7049
7050 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7051
7052 * gdb.ada/tick_last_segv: New testcase.
7053
7054 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7055
7056 * gdb.mi/mi-cli.exp: Remove debug print.
7057
7058 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7059
7060 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
7061 include the token in ^running and frame info in *stopped.
7062
7063 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7064
7065 * solib-display.exp: New file.
7066 * solib-display-main.c: New file.
7067 * solib-display-lib.c: New file.
7068
7069 2009-03-05 Pedro Alves <pedro@codesourcery.com>
7070
7071 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
7072
7073 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
7076 (list_and_check_macro): Use more specific test name.
7077 (next to definition): Make the test names unique.
7078
7079 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
7080
7081 * gdb.pascal/floats.exp: Accept approximate results everywhere.
7082
7083 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7084
7085 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
7086 notifications.
7087 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
7088 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
7089 * lib/mi-support.exp (library_loaded_re): New.
7090 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
7091
7092 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7093
7094 * gdb.gdb/observer.exp: Use test_notification observer, not
7095 normal_stop, everywhere.
7096 (test_normal_stop_notifications): Rename to...
7097 (test_notifications): ...this.
7098 (test_observer_normal_stop): Rename to...
7099 (test_observer): ...this.
7100
7101 2009-02-16 Doug Evans <dje@google.com>
7102
7103 * gdb.arch/amd64-disp-step.S (test_int3): New test.
7104 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
7105 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
7106 (test_prefixed_syscall,test_int3): New tests.
7107 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
7108 (test_prefixed_syscall,test_int3): New tests.
7109
7110 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
7111
7112 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
7113 (mi_expect_interrupt): Likewise.
7114 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
7115 response.
7116
7117 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7118
7119 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
7120 * gdb.base/pc-fp.exp (get_valueofx): Remove.
7121 Replace calls to get_valueofx by get_hexadecimal_valueof.
7122
7123 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7124
7125 * lib/gdb.exp (get_valueof): Accept anything as a return value.
7126 (get_integer_valueof): New procedure.
7127 (get_sizeof): Use new get_integer_value_of.
7128 * gdb.base/sizeof.exp: Replace all uses of get_valueof
7129 by get_integer_valueof.
7130
7131 2009-02-13 Tom Tromey <tromey@redhat.com>
7132
7133 * gdb.base/remote.exp (get_sizeof): Remove.
7134 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
7135 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
7136 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
7137 * lib/gdb.exp (get_valueof): Move from long_long.exp.
7138 (get_sizeof): Likewise.
7139
7140 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7141
7142 PR fortran/9806
7143 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
7144
7145 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7146
7147 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
7148
7149 2009-02-06 Pedro Alves <pedro@codesourcery.com>
7150
7151 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
7152
7153 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7154
7155 * gdb.python/python-cmd.exp: New file.
7156
7157 2009-02-06 Tristan Gingold <gingold@adacore.com>
7158
7159 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
7160
7161 2009-02-05 Tristan Gingold <gingold@adacore.com>
7162
7163 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
7164 pointer is dereferenced and use this signal name in regexp.
7165 * gdb.base/signull.exp: Ditto.
7166 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
7167 * gdb.base/signull.c (main): Ditto.
7168
7169 2009-02-04 Tom Tromey <tromey@redhat.com>
7170 Thiago Jung Bauermann <bauerman@br.ibm.com>
7171
7172 * gdb.python/python-value.exp: Use `gdb.history' instead of
7173 `gdb.value_from_history'.
7174 (test_value_numeric_ops): Add test for conversion of enum constant.
7175 * gdb.python/python-value.c (enum e): New type.
7176 (evalue): New global.
7177 (main): Use argv.
7178
7179 2009-02-04 Jerome Guitton <guitton@adacore.com>
7180
7181 * gdb.ada/uninitialized_vars: New test program.
7182 * gdb.ada/uninitialized_vars.exp: New testcase.
7183
7184 2009-02-02 Tom Tromey <tromey@redhat.com>
7185
7186 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
7187 * gdb.cp/pr2489.cc: Rename...
7188 * gdb.cp/pr9594.cc: ... to this.
7189
7190 2009-02-02 Tom Tromey <tromey@redhat.com>
7191
7192 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
7193 * gdb.cp/pr2489.cc: New file.
7194 * gdb.cp/cpcompletion.exp: New file.
7195
7196 2009-02-02 Tom Tromey <tromey@redhat.com>
7197
7198 PR exp/9059:
7199 * gdb.cp/call-c.exp: Add regression test.
7200 * gdb.cp/call-c.cc (FooHandle): New typedef.
7201 (main): New variable 'handle'.
7202
7203 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7204
7205 * lib/mi-support.exp (et_mi_thread_list)
7206 (check_mi_and_console_threads): Adjust for current thread in
7207 -thread-list-ids output.
7208
7209 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7210
7211 * gdb.mi/mi-break.exp (test_disabled_creation): New.
7212 Call it.
7213
7214 2009-01-28 Doug Evans <dje@google.com>
7215
7216 * gdb.arch/amd64-disp-step.S: New file.
7217 * gdb.arch/amd64-disp-step.exp: New file.
7218 * gdb.arch/i386-disp-step.S: New file.
7219 * gdb.arch/i386-disp-step.exp: New file.
7220
7221 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
7222
7223 * gdb.base/find.exp: Set newline variable
7224 using quotes instead of braces to fix cygwin failures.
7225
7226 2009-01-23 Pedro Alves <pedro@codesourcery.com>
7227
7228 * gdb.base/radix.exp: Add tests to ensure that that set
7229 input-radix 0 and set output-radix 0 are really rejected.
7230
7231 2009-01-23 Pedro Alves <pedro@codesourcery.com>
7232
7233 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
7234 copyright years.
7235
7236 2009-01-23 Pedro Alves <pedro@codesourcery.com>
7237
7238 PR gdb/9664:
7239 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
7240
7241 2009-01-22 Pedro Alves <pedro@codesourcery.com>
7242
7243 PR c++/9631:
7244 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
7245
7246 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
7247
7248 * gdb.server/file-transfer.exp: Use EXEEXT variable for
7249 binfile definition to fix Windows OS failure.
7250
7251 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7252
7253 PR gdb/9346
7254 * gdb.base/interrupt.c (sigint_handler): New.
7255 (main): Install a SIGINT handler if SIGNALS is defined. Exit
7256 on error.
7257 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
7258 Test "signal SIGINT".
7259
7260 2009-01-19 Doug Evans <dje@google.com>
7261
7262 * gdb.base/break.exp: Update expected gdb output.
7263 * gdb.base/sepdebug.exp: Ditto.
7264 * gdb.mi/mi-syn-frame.exp: Ditto.
7265 * gdb.mi/mi2-syn-frame.exp: Ditto.
7266 * gdb.base/call-signal-resume.exp: New file.
7267 * gdb.base/call-signals.c: New file.
7268 * gdb.base/unwindonsignal.exp: New file.
7269 * gdb.base/unwindonsignal.c: New file.
7270 * gdb.threads/interrupted-hand-call.exp: New file.
7271 * gdb.threads/interrupted-hand-call.c: New file.
7272 * gdb.threads/thread-unwindonsignal.exp: New file.
7273
7274 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
7275
7276 * gdb.base/define.exp: Test defining and hooking prefix commands.
7277 * gdb.python/python.exp: Update test for "show user" output.
7278
7279 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7280
7281 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
7282 now the output exactly, using less wildcards. Expect also the output
7283 of gfortran-4.3. Update for the f-valprint.c modification from
7284 2008-04-22.
7285 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
7286 Remove gdb_test test names where matching the command.
7287
7288 2009-01-01 Pedro Alves <pedro@codesourcery.com>
7289
7290 PR breakpoints/9681:
7291 * gdb.base/watchpoint.exp: Add regression test.
7292
7293 2008-12-31 Pedro Alves <pedro@codesourcery.com>
7294
7295 * gdb.threads/attach-into-signal.exp: Don't use
7296 gdb_suppress_entire_file.
7297 * gdb.threads/attach-stopped.exp: Ditto.
7298 * gdb.threads/attachstop-mt.exp: Ditto.
7299
7300 2008-12-31 Pedro Alves <pedro@codesourcery.com>
7301
7302 PR gdb/8812:
7303 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7304
7305 2008-12-29 Pedro Alves <pedro@codesourcery.com>
7306
7307 PR gdb/7536:
7308 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7309 and unsupported output radices are really rejected.
7310
7311 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7312
7313 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7314
7315 2008-12-22 Tom Tromey <tromey@redhat.com>
7316
7317 * gdb.cp/punctuator.exp: New file.
7318
7319 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7320
7321 * gdb.base/completion.exp (Completing non-existing component): New test.
7322
7323 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7324
7325 Fix for PR gdb/8648.
7326 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7327 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7328 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7329 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7330
7331 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7332
7333 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7334
7335 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
7336
7337 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7338 compiler actually generate code at the expected line number.
7339
7340 2008-12-15 Jie Zhang <jie.zhang@analog.com>
7341
7342 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7343
7344 2008-12-12 Tom Tromey <tromey@redhat.com>
7345
7346 * gdb.base/commands.exp (redefine_hook_test): New proc.
7347 Call it.
7348
7349 2008-12-11 Tom Tromey <tromey@redhat.com>
7350
7351 * gdb.base/macscp.exp: New regression test.
7352
7353 2008-12-11 Tom Tromey <tromey@redhat.com>
7354
7355 * gdb.base/macscp.exp: Print "address.addr".
7356 * gdb.base/macscp1.c (struct outer): New struct.
7357 (address): New global.
7358
7359 2008-12-09 Tom Tromey <tromey@redhat.com>
7360
7361 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7362 Call it.
7363
7364 2008-12-04 Doug Evans <dje@google.com>
7365
7366 * gdb.server/ext-run.exp: Relax regexp for init program.
7367
7368 2008-12-03 Tristan Gingold <gingold@adacore.com>
7369
7370 * gdb.base/macscp.exp: Generate an object file during compilation
7371 to work around Darwin dsymutil limitations.
7372
7373 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7374
7375 Test resolving external references to TLS variables.
7376 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7377 FILE2_THREAD_LOCAL.
7378 (testfile2, srcfile2): New variables.
7379 * gdb.threads/tls.c (file2_thread_local)
7380 (function_referencing_file2_thread_local): New.
7381 * gdb.threads/tls2.c: New file.
7382
7383 2008-11-28 Joel Brobecker <brobecker@adacore.com>
7384
7385 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
7386 rather than integer, as integer might not be big enough when
7387 on 64bit targets.
7388
7389 2008-11-27 Jerome Guitton <guitton@adacore.com>
7390
7391 * gdb.cp/formatted-ref.exp: Add equality test.
7392 * gdb.ada/formatted_ref.exp: Ditto.
7393
7394 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7395
7396 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7397 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7398
7399 2008-11-20 Andreas Schwab <schwab@suse.de>
7400
7401 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7402 matching syscall entry point.
7403 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7404 (tcatch_vfork_then_child_follow): Likewise. Finish through
7405 vfork even if we stopped at the syscall trampoline.
7406
7407 2008-11-20 Doug Evans <dje@google.com>
7408
7409 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7410
7411 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7412
7413 * gdb.arch/ppc-dfp.exp: New file.
7414 * gdb.arch/ppc-dfp.c: New file.
7415
7416 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7417
7418 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
7419
7420 2008-11-17 Doug Evans <dje@google.com>
7421
7422 * gdb.mi/mi-syn-frame.exp: Update expected output.
7423 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7424
7425 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7426
7427 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
7428 "thread N" results in =thread-selected.
7429 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7430 (mi_send_resuming_command_raw): Be prepared for
7431 =thread-selected.
7432
7433 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7434
7435 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7436 * lib/mi-support.exp: Likewise.
7437
7438 2008-11-16 Joel Brobecker <brobecker@adacore.com>
7439
7440 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7441 commands from the expected output for "help catch".
7442
7443 2008-11-15 Joel Brobecker <brobecker@adacore.com>
7444
7445 * gdb.ada/int_deref.exp: New testcase.
7446
7447 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
7448
7449 * gdb.mi/gdb2549.exp: New file.
7450
7451 2008-11-11 Doug Evans <dje@google.com>
7452
7453 * gdb.base/callexit.exp: New file.
7454 * gdb.base/callexit.c: New file.
7455
7456 2008-11-10 Doug Evans <dje@google.com>
7457
7458 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7459 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7460 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7461 (default_gdb_start,default_gdb_exit): Ditto.
7462 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7463 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7464 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7465 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7466 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7467 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7468
7469 2008-11-03 Andreas Schwab <schwab@suse.de>
7470
7471 * gdb.base/hashline2.exp: Fix typo.
7472 * gdb.base/hashline3.exp: Likewise.
7473
7474 2008-10-30 Tom Tromey <tromey@redhat.com>
7475
7476 * gdb.base/pointers.exp: Add test.
7477 * gdb.base/pointers.c (k, S): New typedefs.
7478 (instance): New global.
7479
7480 2008-10-30 Andreas Schwab <schwab@suse.de>
7481
7482 * gdb.base/args.exp: Add tests for newlines.
7483
7484 2008-10-30 Joel Brobecker <brobecker@adacore.com>
7485
7486 gdb.base/foll-exec.exp: Update the expected output of a couple
7487 of "info breakpoints" tests.
7488
7489 2008-10-28 Tom Tromey <tromey@redhat.com>
7490
7491 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7492
7493 2008-10-24 Pedro Alves <pedro@codesourcery.com>
7494
7495 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7496 gdb_start_cmd.
7497 Use runto_main before any test that requires execution.
7498
7499 2008-10-23 Pedro Alves <pedro@codesourcery.com>
7500
7501 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7502 instead of SIGINT.
7503
7504 2008-10-22 Joel Brobecker <brobecker@adacore.com>
7505
7506 * gdb.base/completion.exp: Update expected output following
7507 the addition of the "info tasks" command.
7508
7509 2008-10-22 Tom Tromey <tromey@redhat.com>
7510
7511 * gdb.base/exprs.exp (test_expr): Add test for string
7512 concatenation.
7513
7514 2008-10-19 Pedro Alves <pedro@codesourcery.com>
7515
7516 * configure.ac: Output gdb.python/Makefile.
7517 * configure: Regenerate.
7518 * gdb.python/Makefile.in: New.
7519
7520 2008-10-16 Joel Brobecker <brobecker@adacore.com>
7521
7522 * gdb.base/foll-fork.exp: Adjust the expected output to match
7523 the new description for fork/vfork catchpoints in the "info
7524 breakpoints" output.
7525
7526 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7527
7528 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7529
7530 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7531
7532 * gdb.python/python-value.c: New file.
7533 * gdb.python/python-value.exp: New file.
7534
7535 2008-10-15 Pedro Alves <pedro@codesourcery.com>
7536
7537 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7538
7539 2008-10-15 Denis Pilat <denis.pilat@st.com>
7540
7541 * gdb.cp/mb-ctor.exp: Fix a typo.
7542
7543 2008-10-09 Tom Tromey <tromey@redhat.com>
7544
7545 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7546 'fprintf' and 'stderr'.
7547
7548 2008-10-07 Joel Brobecker <brobecker@adacore.com>
7549
7550 * gdb.ada/ref_tick_size.exp: New testcase.
7551
7552 2008-10-06 Doug Evans <dje@google.com>
7553
7554 * gdb.dwarf2/dw2-cu-size.exp: New file.
7555 * gdb.dwarf2/dw2-cu-size.S: New file.
7556
7557 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7558 .Ltype_int for clarity.
7559
7560 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7561
7562 PR gdb/2384:
7563 * gdb.cp/gdb2384.exp: Extended to test more cases.
7564 * gdb.cp/gdb2384.cc: Likewise.
7565 * gdb.cp/gdb2384-base.h: Likewise.
7566 * gdb.cp/gdb2384-base.cc: Likewise.
7567
7568 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7569
7570 * gdb.base/maint.exp (maint print type): Remove printing
7571 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7572
7573 2008-09-30 Tom Tromey <tromey@redhat.com>
7574
7575 * gdb.base/macscp.exp: Add completion tests.
7576 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7577 (TWENTY_THREE): Likewise.
7578 (FORTY_EIGHT): Likewise.
7579
7580 2008-09-30 Tom Tromey <tromey@redhat.com>
7581
7582 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7583 everywhere.
7584 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7585
7586 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7587
7588 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7589 testcase is derived from. Fix racy dependency on an expected PID
7590 number. No longer support the testcase on Linux kernel 2.4.x.
7591
7592 2008-09-27 Tom Tromey <tromey@redhat.com>
7593
7594 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7595 and varargs.
7596
7597 2008-09-22 Pedro Alves <pedro@codesourcery.com>
7598
7599 * lib/mi-support.exp (mi_expect_interrupt): New.
7600 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7601 from gdb.mi/mi-nonstop.exp.
7602 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7603 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7604 lib/mi-support.exp.
7605 Use mi_check_thread_states throughout. Avoid ".*" and do not
7606 require an anchor after -exec-run.
7607
7608 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7609
7610 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7611 stop is pending. Avoid ".*" when two stops are pending.
7612 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7613 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7614 newlines in fullnames.
7615 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7616 (mi_expect_stop): Update comments. Only anchor in sync mode.
7617 Do not match newlines.
7618 (mi_send_resuming_command_raw): Always return status.
7619 (mi_get_stop_line): Do not match more than one line by accident.
7620 Only anchor in sync mode.
7621 (mi_run_inline_test): If -exec-next fails, give up.
7622
7623 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7624
7625 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7626 on SPU.
7627
7628 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7629
7630 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7631
7632 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7633
7634 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7635 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7636 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7637 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7638 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7639 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7640 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7641 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7642 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7643 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7644 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7645 Include the "= " sequence in the expected output of print tests.
7646
7647 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7648
7649 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7650 description for boolean types.
7651
7652 2008-09-09 Pedro Alves <pedro@codesourcery.com>
7653
7654 * gdb.base/hook-stop-continue.c: New.
7655 * gdb.base/hook-stop-continue.exp: New.
7656
7657 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7658
7659 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7660
7661 2008-09-08 Jerome Guitton <guitton@adacore.com>
7662
7663 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7664 (stack_check_probe_2, stack_check_probe_loop_1)
7665 (stack_check_probe_loop_2): New functions.
7666 (main): Add call to these new functions.
7667 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7668 functions, check that the breakpoint is inserted at the appropriate
7669 location.
7670 (insert_breakpoint): Slightly refine this procedure so that it can
7671 be called several times in the test.
7672
7673 2008-09-08 Jerome Guitton <guitton@adacore.com>
7674
7675 * gdb.base/stack-checking.c: New file.
7676 * gdb.base/stack-checking.exp: New file.
7677
7678 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7679
7680 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7681 * gdb.arch/altivec-regs.exp: Likewise.
7682 * gdb.arch/vsx-regs.exp: Likewise.
7683
7684 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7685
7686 * gdb.arch/ppc-fp.exp: New file.
7687 * gdb.arch/ppc-fp.c: New file.
7688
7689 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7690
7691 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7692 lest gcc-4.3.1 optimizes the whole thing away.
7693
7694 2008-09-04 Michael Snyder <msnyder@vmware.com>
7695
7696 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7697 as "at" (for non-debug functions such as _start).
7698
7699 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7700
7701 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7702 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7703 software watchpoints.
7704 * gdb.base/watch_thread_num.exp: Likewise.
7705
7706 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7707
7708 * gdb.arch/i386-bp_permanent.exp: New test.
7709
7710 2008-08-24 Tom Tromey <tromey@redhat.com>
7711
7712 * gdb.base/maint.exp: Update "maint print type".
7713
7714 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7715
7716 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7717 support. Adjust the order of "*running" notifications.
7718 * gdb.mi/non-stop.c: Don't cast from int to void* and
7719 back.
7720
7721 2008-08-20 Mark Kettenis <kettenis@gnu.org>
7722
7723 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7724 expect to find it in the "info frame" output.
7725
7726 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7727
7728 * gdb.base/interp.exp: Always consume both prompts.
7729
7730 2008-08-20 Pedro Alves <pedro@codesourcery.com>
7731
7732 * gdb.base/pending.exp: Test pending breakpoints without symbols
7733 loaded.
7734
7735 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7736
7737 * lib/mi-support.exp (mi_expect_stop): Produce
7738 more details on failures.
7739 * gdb.mi/mi-nonstop.exp: New.
7740 * gdb.mi/non-stop.c: New.
7741
7742 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7743
7744 * gdb.mi/mi-async.exp: Use 'set target-async'.
7745 * lib/mi-support.exp: Use 'set/show target-async'.
7746
7747 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7748
7749 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7750
7751 2008-08-17 Tom Tromey <tromey@redhat.com>
7752
7753 * gdb.base/help.exp (help catch): Rewrite.
7754
7755 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7756
7757 * gdb.base/define.exp: Test indented command documentation.
7758 * gdb.python/python.exp: Test indented multi-line command.
7759
7760 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
7761
7762 * testsuite/gdb.arch/vsx-regs.c: New source file.
7763 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7764 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7765
7766 2008-08-14 Tom Tromey <tromey@redhat.com>
7767
7768 * gdb.base/macscp.exp: Add regression test for "macro define" or
7769 "macro undef" with no arguments.
7770
7771 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7772
7773 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
7774
7775 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7776
7777 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7778
7779 2008-08-06 Tom Tromey <tromey@redhat.com>
7780
7781 * gdb.python/python.exp: New file.
7782
7783 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7784
7785 Fix for PR gdb/1543.
7786 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7787 $LOCATION.
7788 (location): New variable.
7789 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7790 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7791 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7792 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7793 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7794 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7795 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7796 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7797 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7798 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7799 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7800 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7801 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7802 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7803 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7804 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7805 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7806 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7807 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7808 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7809 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7810 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7811 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7812 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7813 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7814 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7815 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7816 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7817 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7818 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7819 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7820 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7821 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7822 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7823 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7824 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7825 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7826 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7827 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7828 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7829 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7830 gdb.base/type-opaque.exp, gdb.base/until.exp,
7831 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7832 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7833 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7834 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7835 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7836 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7837 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7838 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7839 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7840 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7841 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7842 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7843 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7844 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7845 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7846 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7847 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7848 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7849 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7850 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7851 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7852 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7853 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7854 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7855 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7856 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7857 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7858 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7859 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7860 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7861 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7862 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7863 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7864 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7865 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7866 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7867 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7868 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7869 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7870 to bug-gdb@prep.ai.mit.edu .
7871
7872 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7873
7874 * lib/mi-support.exp (mi_load_shlibs): New.
7875 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7876
7877 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7878
7879 * lib/mi-support.exp (get_mi_thread_list)
7880 (check_mi_and_console_threads): New, moved from ...
7881 * gdb.mi/mi-pthread.exp: ...here.
7882 * gdb.mi/gdb669.exp (get_mi_thread_list)
7883 (check_mi_and_console_threads): Delete.
7884 * gdb.mi/mi2-pthread.exp: Likewise.
7885
7886 2008-07-28 Tom Tromey <tromey@redhat.com>
7887
7888 * Makefile.in (just-check): Remove. Move body to...
7889 (check): ... here.
7890
7891 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7892
7893 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7894 Add a test for duplicated SIGINTs.
7895
7896 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7897
7898 * gdb.threads/schedlock.exp (get_args): Update to work for any
7899 value of NUM.
7900 (Top level): Report the number of threads that did not resume.
7901
7902 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7903
7904 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7905
7906 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7907
7908 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7909 non-MI prompt.
7910
7911 2008-07-26 Tom Tromey <tromey@redhat.com>
7912
7913 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7914 (function_struct, function_struct_ptr): New globals.
7915 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7916 function pointer in a struct.
7917
7918 2008-07-26 Tom Tromey <tromey@redhat.com>
7919
7920 * gdb.base/macscp.exp: Add test for macro lexing bug.
7921
7922 2008-07-18 Tom Tromey <tromey@redhat.com>
7923
7924 * gdb.base/macscp.exp: Add macro tests.
7925
7926 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7927
7928 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7929
7930 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7931
7932 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7933
7934 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7935
7936 * gdb.cp/class2.exp: fix for failure on spu-elf
7937
7938 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7939
7940 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7941
7942 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7943
7944 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7945
7946 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7947
7948 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7949
7950 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7951
7952 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7953 of regexp to account for changes made to GDB in the printing of
7954 byte vectors.
7955
7956 2008-07-11 Tom Tromey <tromey@redhat.com>
7957
7958 * gdb.base/completion.exp: Add 'help' completion test.
7959
7960 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7961
7962 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7963
7964 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7965
7966 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7967
7968 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7969
7970 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7971
7972 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7973
7974 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7975
7976 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7977
7978 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7979
7980 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7981
7982 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7983 previous commit. Add a comment.
7984
7985 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7986
7987 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7988
7989 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7990
7991 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7992
7993 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7994
7995 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7996 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7997 compiling an executable, link in an object that forces unbuffered
7998 output.
7999 * lib/set_unbuffered_mode.c: New file.
8000
8001 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8002
8003 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8004
8005 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
8006
8007 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8008 mi_expect_stop.
8009 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8010 Demand that *running is output.
8011 (detect_async): Perform checking every time.
8012 (mi_send_resuming_command): Extract everything into...
8013 (mi_send_resuming_command_raw): ...this.
8014 (mi_expect_stop): Don't accept any output before *stopped.
8015
8016 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
8017
8018 Robustify mi-simplerun.
8019 * gdb.mi/basics.c (main): Add a call to sleep.
8020 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8021 * gdb.mi/mi2-cli.exp: Likewise.
8022 * gdb.mi/mi-break.exp: Likewise.
8023
8024 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
8025
8026 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8027
8028 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8029
8030 * gdb.mi/mi-console.exp: Adjust.
8031 * gdb.mi/mi-syn-frame.exp: Adjust.
8032 * gdb.mi/mi2-console.exp: Adjust.
8033 * gdb.mi/mi2-syn-frame.exp: Adjust.
8034 * lib/mi-support.exp (mi_run_cmd): Adjust.
8035 (mi_send_resuming_command): Adjust.
8036
8037 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8038
8039 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
8040 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
8041 testing of stopped.
8042 * gdb.mi/mi2-syn-frame.exp: Likewise.
8043 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
8044 (async, detect_async): New.
8045 (mi_expect_stop, mi_continue_to_line): Adjust expectation
8046 depending on if we're running in sync or async mode.
8047
8048 2008-06-09 Tom Tromey <tromey@redhat.com>
8049
8050 * gdb.base/completion.exp: New tests for field name completion
8051 with spaces, and field name completion with '->'.
8052
8053 2008-06-06 Tom Tromey <tromey@redhat.com>
8054
8055 * gdb.base/break1.c (struct some_struct): New struct.
8056 (values): New global.
8057 * gdb.base/completion.exp: Add field name completion test.
8058
8059 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8060
8061 * gdb.cp/call-c.exp: Test for incorrect handling of reference
8062 to pointer.
8063 * gdb.cp/call-c.cc: Likewise.
8064
8065 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
8066
8067 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
8068 annotation.
8069
8070 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8071 Pedro Alves <pedro@codesourcery.com>
8072
8073 * gdb.threads/execl.c, gdb.threads/execl1.c,
8074 gdb.threads/execl.exp: New tests.
8075
8076 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
8077 Daniel Jacobowitz <dan@codesourcery.com>
8078
8079 * gdb.cp/exception.exp: Activate test, make it work with pending
8080 catchpoints.
8081
8082 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8083
8084 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
8085
8086 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
8087
8088 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
8089 now printed.
8090 * gdb.mi/mi2-var-cmd.exp: Likewise.
8091
8092 2008-05-27 Andreas Schwab <schwab@suse.de>
8093
8094 * gdb.base/frame-args.exp: Handle arguments that are optimized
8095 out.
8096
8097 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
8098
8099 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
8100 quiet for ppc32 and group options into a single variable.
8101
8102 2008-05-23 Joel Brobecker <brobecker@adacore.com>
8103
8104 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
8105 of zero-size elements.
8106 * gdb.ada/null_array.exp: Test printing this new array.
8107
8108 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8109
8110 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
8111
8112 2008-05-21 Joel Brobecker <brobecker@adacore.com>
8113
8114 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
8115 of the "finish" command.
8116
8117 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
8118
8119 * gdb.base/annota1.exp: Test for new annotation.
8120
8121 2008-05-16 Pedro Alves <pedro@codesourcery.com>
8122
8123 * gdb.base/fixsection.exp: New file.
8124 * gdb.base/fixsection0.c: New file.
8125 * gdb.base/fixsection1.c: New file.
8126
8127 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8128
8129 * gdb.base/annota1.exp: Accept printf@... in place of printf.
8130 * gdb.base/annota3.exp: Likewise.
8131
8132 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
8133
8134 * gdb.base/watch_thread_num.exp: Don't run tests that require
8135 watchpoints if the target doesn't support them.
8136
8137 2008-05-12 Doug Evans <dje@google.com>
8138
8139 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
8140
8141 2008-05-09 Joel Brobecker <brobecker@adacore.com>
8142
8143 * gdb.ada/assign_1.exp: New testcase.
8144
8145 2008-05-09 Doug Evans <dje@google.com>
8146
8147 * gdb.base/find.exp: New file.
8148 * gdb.base/find.c: New file.
8149
8150 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
8151
8152 * gdb.base/commands.exp (watchpoint_command_test): Handle
8153 gdb,no_hardware_watchpoints.
8154 * gdb.base/float.exp: Allow ARM targets without floating point.
8155 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
8156
8157 2008-05-06 Jerome Guitton <guitton@adacore.com>
8158 Joel Brobecker <brobecker@adacore.com>
8159
8160 * gdb.ada/lang_switch: New test program.
8161 * gdb.ada/lang_switch.exp: New testcase.
8162
8163 2008-05-05 Doug Evans <dje@google.com>
8164
8165 * gdb.base/help.exp (disassemble): Update expected help text.
8166
8167 2008-05-04 Pedro Alves <pedro@codesourcery.com>
8168
8169 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
8170
8171 2008-05-04 Pedro Alves <pedro@codesourcery.com>
8172
8173 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
8174 different times.
8175
8176 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8177
8178 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
8179 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
8180 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
8181 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
8182
8183 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
8184
8185 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
8186 notification to appear.
8187
8188 2008-05-04 Daniel Jacobowitz <dan@debian.org>
8189
8190 * gdb.base/fullname.c: New file.
8191 * gdb.base/fullname.exp: New file.
8192 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
8193
8194 2008-05-03 Pedro Alves <pedro@codesourcery.com>
8195
8196 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
8197 expressions with macros.
8198
8199 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8200
8201 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
8202
8203 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
8204
8205 * gdb.base/completion.exp: Handle lack of other symbols beginning
8206 with "a".
8207
8208 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
8209
8210 2008-05-02 Jim Blandy <jimb@codesourcery.com>
8211
8212 * gdb.asm/asmsrc1.s: Add scratch space.
8213
8214 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8215 Daniel Jacobowitz <dan@codesourcery.com>
8216
8217 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
8218 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
8219 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
8220
8221 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
8222
8223 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
8224
8225 2008-05-01 Joel Brobecker <brobecker@adacore.com>
8226
8227 * gdb.base/info-target.exp: New testcase.
8228
8229 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8230
8231 * gdb.cp/hang.exp: Use .cc instead of .C.
8232 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
8233 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
8234
8235 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8236
8237 * gdb.base/gdb1250.exp: Remove perror.
8238 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
8239
8240 2008-04-30 Pedro Alves <pedro@codesourcery.com>
8241
8242 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
8243 .2byte.
8244
8245 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
8246
8247 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
8248 (maybe_kfail): New.
8249
8250 2008-04-25 Pedro Alves <pedro@codesourcery.com>
8251
8252 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
8253
8254 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8255
8256 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
8257 * gdb.mi/mi2-syn-frame.exp: Likewise.
8258 * lib/mi-support.exp: Likewise.
8259
8260 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8261
8262 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
8263 to specify regexp for the location to stop at.
8264 * gdb.base/break-always.c: New.
8265 * gdb.base/break-always.exp: New.
8266
8267 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8268
8269 * lib/mi-support.exp (mi_runto_helper): Adjust
8270 for the original-location field.
8271 (mi_create_breakpoint, mi_list_breakpoints): New.
8272 * gdb.mi/mi-break.exp: Adjust.
8273 * gdb.mi/mi2-break.exp: Adjust.
8274 * gdb.mi/mi-pending.exp: Adjust.
8275 * gdb.mi/mi-simplerun.exp: Adjust.
8276 * gdb.mi/mi2-simplerun.exp: Adjust.
8277 * gdb.mi/mi-syn-frame.exp: Adjust.
8278 * gdb.mi/mi2-syn-frame.exp: Adjust.
8279 * gdb.mi/mi-until.exp: Adjust.
8280 * gdb.mi/mi2-until.exp: Adjust.
8281 * gdb.mi/mi-var-display.exp: Adjust.
8282 * gdb.mi/mi2-var-display.exp: Adjust.
8283 * gdb.mi/mi-watch.exp: Adjust.
8284 * gdb.mi/mi2-watch.exp: Adjust.
8285
8286 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
8287
8288 * aclocal.m4: Add override.m4.
8289 * configure: Regenerate.
8290
8291 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8292
8293 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8294 '-var-update --all-values' reports new value even the type
8295 of a variable object has changed.
8296
8297 2008-04-18 Craig Silverstein <csilvers@google.com>
8298
8299 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8300 files.
8301
8302 2008-04-18 Joel Brobecker <brobecker@adacore.com>
8303
8304 * gdb.ada/atomic_enum: New test program.
8305 * gdb.ada/atomic_enum.exp: New testcase.
8306
8307 2008-04-17 Doug Evans <dje@google.com>
8308
8309 * gdb.opt/Makefile.in: Fix whitespace.
8310
8311 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8312
8313 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8314
8315 2008-04-17 Doug Evans <dje@google.com>
8316
8317 * gdb.base/hashline1.exp: New testcase.
8318 * gdb.base/hashline2.exp: New testcase.
8319 * gdb.base/hashline2.exp: New testcase.
8320
8321 2008-04-17 Pedro Alves <pedro@codesourcery.com>
8322
8323 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8324
8325 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8326
8327 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8328 temporary breakpoint to match "Temporary breakpoint".
8329 * gdb.base/break.exp (delete_breakpoints): Likewise.
8330 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8331 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8332 * gdb.base/display.exp: Likewise.
8333 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8334 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8335 * gdb.base/restore.exp (restore_tests): Likewise.
8336 * gdb.base/sepdebug.exp: Likewise.
8337 * gdb.base/watchpoint.exp: Likewise.
8338 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8339 * gdb.mi/mi-pending.exp: Likewise.
8340 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8341 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8342 * gdb.mi/mi-var-cmd.exp: Likewise.
8343 * gdb.mi/mi-var-display.exp: Likewise.
8344 * gdb.mi/mi2-cli.exp: Likewise.
8345 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8346 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8347 * gdb.mi/mi2-var-display.exp: Likewise.
8348 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8349 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8350 new "disp" field.
8351 (mi_expect_stop): Move after_reason argument to be really after
8352 reason. This is to support fix for PR2424.
8353
8354 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8355
8356 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8357
8358 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8359
8360 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
8361 field. Add more floating varobj tests.
8362 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
8363 field.
8364 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8365 (main): Call do_at_tests.
8366 * lib/mi-support.exp (mi_create_floating_varobj)
8367 (mi_varobj_update_with_type_change): New.
8368
8369 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8370
8371 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8372 option of -var-evaluate-expression.
8373 * gdb.mi/mi2-var-display.exp: Likewise.
8374
8375 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8376
8377 Introduce test setup helpers.
8378 * lib/gdb.exp (build_executable, clean_restart)
8379 (prepare_for_testing): New.
8380 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8381 * gdb.base/return.exp: Likewise.
8382 * gdb.base/ending-run.exp: Likewise.
8383
8384 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
8385
8386 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8387 Interface (MI) responses.
8388
8389 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8390
8391 * gdb.cp/breakpoint.cc: New code to test conditions involving
8392 member variables.
8393 * gdb.cp/breakpoint.exp: Test condition involving member
8394 variables.
8395
8396 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8397
8398 * lib/mi-support.exp (mi_expect_stop): New.
8399 (mi_run_cmd): Change the
8400 token. Use mi_send_resuming_command, use
8401 mi_expect_stop.
8402 (mi_execute_to_helper): Rename to mi_execute_to.
8403 (mi_send_resuming_command): Add more error patterns.
8404 (mi_wait_for_stop): Renamed to...
8405 (mi_get_stop_line): ...this.
8406 (mi_run_inline_test): Adjust.
8407
8408 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8409 * gdb.mi/mi-console.exp: Likewise.
8410 * gdb.mi/mi-pending.exp: Likewise.
8411 * gdb.mi/mi-simplerun.exp: Likewise.
8412 * gdb.mi/mi-stack.exp: Likewise.
8413 * gdb.mi/mi-stepi.exp: Likewise.
8414 * gdb.mi/mi-syn-frame.exp: Add comment.
8415 * gdb.mi/mi-until.exp: Likewise.
8416 * gdb.mi/mi-var-display.exp: Likewise.
8417 * gdb.mi/mi-watch.exp: Likewise.
8418 * gdb.mi/mi2-cli.exp: Likewise.
8419 * gdb.mi/mi2-console.exp: Likewise.
8420 * gdb.mi/mi2-simplerun.exp: Likewise.
8421 * gdb.mi/mi2-stack.exp: Likewise.
8422 * gdb.mi/mi2-stepi.exp: Likewise.
8423 * gdb.mi/mi2-until.exp: Likewise.
8424 * gdb.mi/mi2-var-display.exp: Likewise.
8425 * gdb.mi/mi2-watch.exp: Likewise.
8426
8427 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8428
8429 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8430
8431 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8432
8433 2008-04-04 Pedro Alves <pedro@codesourcery.com>
8434
8435 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8436 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8437 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8438 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8439 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8440 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8441 expect an mi error duplicated in stderr.
8442
8443 2008-04-03 Joel Brobecker <brobecker@adacore.com>
8444
8445 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8446 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8447 Add a couple of tests that verify the behavior when the new setting
8448 is set to "cancel" and "all".
8449 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8450 "ask" before we start the testing.
8451
8452 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8453
8454 * gdb.cp/casts.cc: Add class reference variables.
8455 * gdb.cp/casts.exp: New test cases for up/down casting references.
8456
8457 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8458
8459 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8460 instead of beginning to make an extra test pass.
8461 * gdb.mi/mi2-var-display.exp: Likewise.
8462
8463 2008-03-31 Maciej W. Rozycki <macro@mips.com>
8464
8465 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8466
8467 2008-03-31 Markus Deuling <deuling@de.ibm.com>
8468 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8469
8470 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8471 value. Add xfail for older kernels.
8472
8473 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8474
8475 Bring mi-support in line with gdb.exp.
8476 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8477 (mi_gdb_start): New function.
8478
8479 2008-03-28 Maciej W. Rozycki <macro@mips.com>
8480
8481 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8482
8483 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8484
8485 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8486 * gdb.mi/mi2-var-display.exp: Likewise.
8487
8488 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8489
8490 * lib/mi-support.exp (mi_create_varobj_checked): New.
8491 (mi_list_varobj_children): Allow to check for a
8492 value.
8493 (mi_list_array_varobj_children): New.
8494
8495 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8496 and mi_list_varobj_children, as opposed to hardcoding
8497 expected strings.
8498 * gdb.mi/gdb701.exp: Likewise.
8499 * gdb.mi/gdb792.exp: Likewise.
8500 * gdb.mi/mi-var-block.exp: Likewise.
8501 * gdb.mi/mi-var-cmd.exp: Likewise.
8502 * gdb.mi/mi-var-invalidate.exp: Likewise.
8503 * gdb.mi/mi2-var-block.exp: Likewise.
8504 * gdb.mi/mi2-var-child.exp: Likewise.
8505 * gdb.mi/mi2-var-cmd.exp: Likewise.
8506 * gdb.mi/mi2-var-display.exp: Likewise.
8507
8508 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8509
8510 Fix random false FAILs on i386.
8511 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8512
8513 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8514
8515 PR gdb/544
8516 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8517
8518 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8519
8520 PR gdb/544
8521 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8522
8523 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8524
8525 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8526 fixed PR gdb/544.
8527
8528 2008-03-21 Pedro Alves <pedro@codesourcery.com>
8529
8530 * gdb.threads/fork-child-threads.exp: Test next over fork.
8531
8532 2008-03-21 Chris Demetriou <cgd@google.com>
8533
8534 * gdb.base/break.exp (rbreak junk): New test for rbreak
8535 "Junk at end of arguments" issue.
8536
8537 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8538
8539 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8540 *& to work on created array elements.
8541 (Top level): Test print $pc with a file. Test string operations
8542 without a target.
8543 * gdb.base/ptype.exp: Do not expect *& to work on created array
8544 elements.
8545
8546 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8547
8548 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8549 gdb.threads/staticthreads.exp: Update exit query.
8550
8551 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8552
8553 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8554
8555 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8556
8557 * gdb.base/watchpoint.c (global_ptr, func4): New.
8558 (main): Call func4.
8559 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8560 (test_inaccessible_watchpoint): New.
8561
8562 2008-02-29 Maciej W. Rozycki <macro@mips.com>
8563
8564 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8565 select the largest.
8566
8567 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8568
8569 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8570 frames-invalid annotations.
8571
8572 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8573
8574 * gdb.base/assign.exp: avoid same output for different tests.
8575
8576 2008-02-27 Doug Evans <dje@google.com>
8577
8578 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8579 for bug 1738.
8580 (breakpoint_to_handler_entry): Ditto.
8581
8582 2008-02-27 Joel Brobecker <brobecker@adacore.com>
8583
8584 * gdb.base/ending-run.exp: Use the first line of code inside
8585 function body to test breakpoints.
8586 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8587 location where the breakpoint is inserted when using the line
8588 where a function is declared. Fix typo in the description of
8589 one of the tests.
8590 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8591
8592 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8593
8594 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
8595 tests.
8596
8597 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8598
8599 * gdb.base/args.exp: avoid same output for tests
8600 with single quotes.
8601
8602 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8603
8604 * gdb.base/annota1.exp: Adjust for 'info break'
8605 format changes.
8606 * gdb.base/annota3.exp: Likewise.
8607 * gdb.base/break.exp: Likewise.
8608 * gdb.base/condbreak.exp: Likewise.
8609 * gdb.base/pending.exp: Likewise.
8610 * gdb.base/sepdebug.exp: Likewise.
8611 * gdb.base/unload.exp: Likewise.
8612 * gdb.cp/ovldbreak.exp: Likewise.
8613 * gdb.mi/mi-pending.exp: Likewise.
8614
8615 2008-02-07 Doug Evans <dje@google.com>
8616
8617 * gdb.cp/mb-inline.exp: New.
8618 * gdb.cp/mb-inline.h: New.
8619 * gdb.cp/mb-inline1.cc: New.
8620 * gdb.cp/mb-inline2.cc: New.
8621
8622 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8623
8624 * gdb.pascal/floats.pas: New test program.
8625 * gdb.pascal/floats.exp: New testcase.
8626
8627 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8628
8629 * gdb.base/callfuncs.c (t_float_many_args): New function.
8630 (t_double_many_args): New function.
8631 * gdb.base/callfuncs.exp: Add tests for exceeding float
8632 and double parameters passed through the stack.
8633
8634 2008-02-05 Joel Brobecker <brobecker@adacore.com>
8635
8636 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8637 gdb.ada/complete/foo.adb: New files.
8638 * gdb.ada/complete.exp: New testcase.
8639
8640 2008-02-03 Doug Evans <dje@google.com>
8641
8642 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8643
8644 * gdb.cp/gdb2384.exp: New file.
8645 * gdb.cp/gdb2384.cc: New file.
8646 * gdb.cp/gdb2384-base.h: New file.
8647 * gdb.cp/gdb2384-base.cc: New file.
8648
8649 2008-02-02 Doug Evans <dje@google.com>
8650
8651 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8652
8653 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8654
8655 * gdb.ada/sym_print_name: New test program.
8656 * gdb.ada/sym_print_name.exp: New testcase.
8657
8658 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8659
8660 * gdb.ada/nested/hello.adb: New file.
8661 * gdb.ada/nested.exp: New testcase.
8662 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8663
8664 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8665
8666 * gdb.mi/basic.c (return_1): New function.
8667 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8668 don't cause future evaluations of function to report
8669 creation of internal breakpoints.
8670
8671 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8672
8673 * gdb.mi/mi-break.exp (test_error): New.
8674 Call it.
8675
8676 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
8677
8678 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8679 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8680
8681 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8682
8683 * gdb.pascal/integers.pas: New test program.
8684 * gdb.pascal/integers.exp: New testcase.
8685
8686 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8687
8688 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8689
8690 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
8691
8692 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8693 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8694
8695 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8696
8697 * gdb.ada/formatted_ref: New test program.
8698 * gdb.ada/formatted_ref.exp: New testcase.
8699
8700 * gdb.cp/formatted-ref.cc: New file.
8701 * gdb.cp/formatted-ref.exp: New testcase.
8702
8703 2008-01-30 Joel Brobecker <brobecker@adacore.com>
8704
8705 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8706
8707 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
8708
8709 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8710 (test_file_list_exec_source_file): Update to new macro-info field.
8711
8712 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8713
8714 * gdb.ada/exprs: New test program.
8715 * gdb.ada/exprs.exp: New testcase.
8716
8717 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8718
8719 * dfp-test.c (DELTA, DELTA_B): New definitions.
8720 (double_val1, double_val2, double_val3, double_val4, double_val5,
8721 double_val6, double_val7, double_val8, double_val9, double_val10,
8722 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8723 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8724 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8725 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8726 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8727 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8728 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8729 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8730 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8731 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8732 dec128_val16): New global variables.
8733 (decimal_dec128_align): New function.
8734 (decimal_mixed): Likewise.
8735 (decimal_many_args_dec32): Likewise.
8736 (decimal_many_args_dec64): Likewise.
8737 (decimal_many_args_dec128): Likewise.
8738 (decimal_many_args_mixed): Likewise.
8739 * dfp-test.exp: Add tests calling new inferior functions.
8740
8741 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8742
8743 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8744 gdb.server/ext-run.exp: New files.
8745 * lib/gdbserver-support.exp (gdbserver_download): New.
8746 (gdbserver_start): New. Update gdbserver expected
8747 output.
8748 (gdbserver_spawn): Use them.
8749 (gdbserver_start_extended): New.
8750
8751 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8752
8753 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8754 Run on GNU/Linux.
8755 (do_exec_tests): Check for systems which do not support catchpoints.
8756 Do not match START.
8757 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8758 Run on GNU/Linux. Enable verbose output.
8759 (check_fork_catchpoints): New.
8760 (explicit_fork_child_follow, catch_fork_child_follow)
8761 (tcatch_fork_parent_follow): Update expected messages.
8762 (do_fork_tests): Use check_fork_catchpoints.
8763 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8764 Run on GNU/Linux. Enable verbose output.
8765 (check_vfork_catchpoints): New.
8766 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8767 expected messages.
8768 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8769
8770 2008-01-29 Jim Blandy <jimb@red-bean.com>
8771
8772 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8773 host' errors.
8774 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8775
8776 2008-01-29 Jim Blandy <jimb@red-bean.com>
8777
8778 * gdb.threads/sigthread.c: Use barriers to ensure that
8779 child_thread and child_thread_two are always initialized before we
8780 start to use them.
8781
8782 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8783
8784 * gdb.base/watchpoint-solib.exp: New.
8785 * gdb.base/watchpoint-solib.c: New.
8786 * gdb.base/watchpoint-solib-shr.c: New.
8787
8788 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8789
8790 * gdb.base/gdb1056.exp: Add unsigned integer test.
8791
8792 2008-01-28 Doug Evans <dje@google.com>
8793
8794 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8795
8796 2008-01-27 Jim Blandy <jimb@codesourcery.com>
8797
8798 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8799
8800 * gdb.base/expand-psymtabs.exp: Doc fix.
8801
8802 2008-01-26 Mark Kettenis <kettenis@gnu.org>
8803
8804 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8805
8806 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8807
8808 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8809 -var-set-format.
8810
8811 2008-01-23 Chris Demetriou <cgd@google.com>
8812
8813 * gdb.threads/thread_events.c: New testcase source file.
8814 * gdb.threads/thread_events.exp: New testcase expect file.
8815
8816 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8817
8818 * lib/gdb.exp: Add the variable octal.
8819
8820 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8821 -var-set-format.
8822
8823 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8824 Vladimir Prus <vladimir@codesourcery.com>
8825
8826 * gdb.base/float.exp: Allow missing floating point for m68k and
8827 PowerPC.
8828
8829 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8830
8831 * gdb.mi/basics.c: Setup for testing breakpoints
8832 ignore count.
8833 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8834 * gdb.mi/mi-cli.exp: Adjust.
8835 * gdb.mi/mi2-cli.exp: Adjust.
8836
8837 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8838
8839 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8840 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8841 with dummy_ptr's address.
8842 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8843 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8844 all targets.
8845 * gdb.mi/mi2-var-child.exp: Likewise.
8846
8847 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8848
8849 * gdb.ada/null_array: New test program.
8850 * gdb.ada/null_array.exp: New testcase.
8851
8852 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8853
8854 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8855 with required float modifiers.
8856
8857 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8858
8859 * gdb.ada/funcall_param: New test program.
8860 * gdb.ada/funcall_param.exp: New testcase.
8861
8862 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8863
8864 * gdb.ada/arrayparam: New test program.
8865 * gdb.ada/arrayparam.exp: New testcase.
8866
8867 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8868
8869 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8870 landed. Should also fix random failures in the test following it.
8871
8872 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8873
8874 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8875 for expressions with decimal float values.
8876 (test_dfp_conversions): New function to test casts to and from
8877 decimal float types.
8878 Call test_dfp_conversions.
8879 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8880 elements.
8881 (main): Initialize ds.float4 and ds.double8 elements.
8882 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8883 string to new error message.
8884 (d64_set_tests): Likewise.
8885 (d128_set_tests): Likewise.
8886 Add tests for expressions with decimal float variables. Add tests for
8887 conversions to and from decimal float types.
8888
8889 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8890
8891 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8892 * gdb.ada/packed_tagged.exp: New testcase.
8893
8894 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8895
8896 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8897 gdb.ada/homonym/homonym_main.adb: New files.
8898 * gdb.ada/homonym.exp: New testcase.
8899
8900 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8901
8902 * gdb.ada/packed_array.exp: Add testing of references to
8903 a packed array.
8904
8905 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8906
8907 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8908 New files.
8909 * gdb.ada/type_coercion.exp: New testcase.
8910
8911 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8912
8913 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8914 gdb.ada/tagged/foo.adb: New file.
8915 * gdb.ada/tagged.exp: New testcase.
8916
8917 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8918
8919 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8920 gdb.ada/ptype_field/foo.adb: New files.
8921 * gdb.ada/ptype_field.exp: New testcase.
8922
8923 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8924
8925 * gdb.ada/print_pc.exp: New testcase.
8926
8927 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8928
8929 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8930 gdb.ada/taft_type/p.adb: New files.
8931 * gdb.ada/taft_type.exp: New testcase.
8932
8933 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8934
8935 * gdb.ada/array_bounds/bar.adb: New file.
8936 * gdb.ada/array_bounds.exp: New testcase.
8937
8938 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8939
8940 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8941 gdb.ada/arrayptr/foo.adb: New files.
8942 * gdb.ada/arrayptr.exp: New testcase.
8943
8944 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8945
8946 * gdb.base/set-lang-auto.exp: New testcase.
8947
8948 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8949
8950 * gdb.ada/fun_addr/foo.adb: New file.
8951 * gdb.ada/fun_addr.exp: New testcase.
8952
8953 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8954
8955 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8956 New files
8957
8958 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8959
8960 * array_subscript_addr/p.adb: New file.
8961 * array_subscript_addr.exp: New testcase.
8962
8963 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8964
8965 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8966 New files.
8967 * gdb.ada/str_cmp_ref.exp: New testcase.
8968
8969 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8970
8971 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8972 gdb.ada/fun_in_declare/foo.adb: New files.
8973 * gdb.ada/fun_in_declare.exp: New testcase.
8974
8975 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8976
8977 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8978 gdb.ada/ref_param/pck.ads: New files.
8979 * gdb.ada/ref_param.exp: New testcase.
8980
8981 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8982
8983 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8984 gdb.ada/interface/foo.adb: New files.
8985 * gdb.ada/interface.exp: New testcase.
8986
8987 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8988
8989 * gdb.base/multi-forks.exp: Consume all output from child
8990 processes before proceeding to next test.
8991
8992 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8993
8994 * configure: Regenerated.
8995
8996 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8997
8998 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8999 gdb.ada/fixed_cmp/fixed.adb: New files.
9000 * gdb.ada/fixed_cmp.exp: New testcase.
9001
9002 2007-12-27 Joel Brobecker <brobecker@adacore.com>
9003
9004 * gdb.ada/boolean_expr.exp: New testcase.
9005
9006 2007-12-26 Jim Blandy <jimb@codesourcery.com>
9007
9008 * gdb.base/multi-forks.exp: Doc fix.
9009
9010 2007-12-26 Joel Brobecker <brobecker@adacore.com>
9011
9012 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9013 * gdb.ada/char_param.exp: Do not compile our test program with
9014 -gnata, this is unnecessary.
9015 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9016
9017 2007-12-24 Joel Brobecker <brobecker@adacore.com>
9018
9019 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9020 gdb.ada/print_chars/foo.adb: New files.
9021 * gdb.ada/print_chars.exp: New testcase.
9022
9023 2007-12-24 Joel Brobecker <brobecker@adacore.com>
9024
9025 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9026 gdb.ada/char_param/foo.adb: New files.
9027 * gdb.ada/char_param.exp: New testcase.
9028
9029 2007-12-22 Jim Blandy <jimb@codesourcery.com>
9030
9031 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9032 hard-coding source line numbers into the test.
9033 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9034 gdb_get_line_number to find.
9035
9036 2007-12-22 Joel Brobecker <brobecker@adacore.com>
9037
9038 * gdb.base/ptype.c (highest): New struct type.
9039 (the_highest): New variable of that type.
9040 (main): Add dummy assignment to a field of variable the_highest.
9041 * gdb.base/ptype.exp: Test type printing of our new variable.
9042
9043 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
9044
9045 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
9046 and record first explicitly generated thread number.
9047 Use that thread number for thread specific watchpoint test.
9048 Add iteration number to repetitive tests.
9049
9050 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9051 Jim Blandy <jimb@codesourcery.com>
9052
9053 * gdb.base/expand-psymtabs.c: New testcase
9054 source file.
9055 * gdb.base/expand-psymtabs.exp: New testcase
9056 expect file.
9057
9058 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
9059
9060 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
9061 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
9062
9063 2007-12-17 Joel Brobecker <brobecker@adacore.com>
9064
9065 * gdb.ada/frame_args/foo.adb: New file.
9066 * gdb.ada/frame_args/pck.ads: New file.
9067 * gdb.ada/frame_args/pck.adb: New file.
9068 * gdb.ada/frame_args.exp: New testcase.
9069
9070 2007-12-17 Joel Brobecker <brobecker@adacore.com>
9071
9072 * gdb.base/frame-args.c: New file.
9073 * gdb.base/frame-args.exp: New testcase.
9074
9075 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
9076 Joseph Myers <joseph@codesourcery.com>
9077
9078 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
9079
9080 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
9081
9082 * gdb.mi/mi-pending.exp: New.
9083 * gdb.mi/mi-pending.c: New.
9084 * gdb.mi/mi-pendshr.c: New.
9085
9086 2007-12-06 Jim Blandy <jimb@codesourcery.com>
9087
9088 * gdb.base/default.exp: Update expected output for 'info catch'.
9089
9090 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9091
9092 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
9093 must be set to binary.
9094
9095 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
9096
9097 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
9098
9099 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
9100
9101 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
9102 gdb.mi/mi-file-transfer.exp: New.
9103
9104 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9105
9106 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
9107
9108 2007-11-22 Maciej W. Rozycki <macro@mips.com>
9109
9110 * gdb.trace/backtrace.exp: Fix a typo.
9111 * gdb.trace/circ.exp: Likewise.
9112 * gdb.trace/collection.exp: Likewise.
9113 * gdb.trace/limits.exp: Likewise.
9114 * gdb.trace/report.exp: Likewise.
9115 * gdb.trace/tfind.exp: Likewise.
9116 * gdb.trace/while-dyn.exp: Likewise.
9117
9118 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
9119
9120 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
9121 objects of pointers that can't be dereferenced are now
9122 "noneditable".
9123
9124 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9125
9126 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
9127 (target_cpu): Remove.
9128
9129 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
9130
9131 * gdb.base/ending-run.exp: Expect the list of cleared
9132 breakpoint to come in natural order, not the reversed one.
9133
9134 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
9135
9136 * gdb.mi/mi-var-child.c (do_child_deletion): New.
9137 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
9138
9139 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
9140
9141 * gdb.base/printcmds.exp: New function
9142 test_printf_with_dfp.
9143
9144 2007-11-02 Doug Evans <dje@google.com>
9145
9146 * gdb.disasm/t01_mov.s: Remove carriage returns.
9147 * gdb.disasm/t02_mova.s: Ditto.
9148 * gdb.disasm/t03_add.s: Ditto.
9149 * gdb.disasm/t04_sub.s: Ditto.
9150 * gdb.disasm/t05_cmp.s: Ditto.
9151 * gdb.disasm/t06_ari2.s: Ditto.
9152 * gdb.disasm/t07_ari3.s: Ditto.
9153 * gdb.disasm/t08_or.s: Ditto.
9154 * gdb.disasm/t09_xor.s: Ditto.
9155 * gdb.disasm/t10_and.s: Ditto.
9156 * gdb.disasm/t11_logs.s: Ditto.
9157 * gdb.disasm/t12_bit.s: Ditto.
9158 * gdb.disasm/t13_otr.s: Ditto.
9159
9160 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9161
9162 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
9163
9164 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9165
9166 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
9167 provide DFP support.
9168
9169 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
9170
9171 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
9172 Test "set powerpc vector-abi". Skip auto-detection tests for old
9173 toolchains.
9174
9175 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9176
9177 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
9178 with [string compare].
9179
9180 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9181
9182 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
9183 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
9184
9185 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
9186
9187 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
9188 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
9189 * gdb.opt/Makefile.in: New makefile.
9190 * Makefile.in: Create new directory "gdb.opt".
9191 * configure.ac: Add "gdb.opt" directory.
9192 * configure: Regenerated.
9193
9194 2007-10-25 Doug Evans <dje@google.com>
9195
9196 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
9197 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
9198
9199 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
9200 Thiago Jung Bauermann <bauerman@br.ibm.com>
9201
9202 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
9203 Floating Point expressions.
9204 * gdb.base/dfp-test.exp: new file adding tests for Decimal
9205 Floating Point variables.
9206 * gdb.base/dfp-test.c: new file containing program with Decimal
9207 Floating variables, used by gdb.base/dfp-test.exp.
9208
9209 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
9210
9211 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
9212
9213 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9214
9215 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
9216 compiling test case with GCC.
9217 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
9218
9219 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9220
9221 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9222 format changes.
9223
9224 2007-10-18 Michael Snyder <msnyder@specifix.com>
9225
9226 * gdb.base/dbx.exp: Add missing "-re " operator.
9227
9228 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
9229
9230 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
9231 * configure.ac: Removed trailing spaces after backslash.
9232 * gdb.modula2: New directory.
9233 * gdb.modula2/Makefile.in: New file.
9234 * gdb.modula2/unbounded-array.exp: New file.
9235 * gdb.modula2/unbounded1.c: New file.
9236
9237 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
9238
9239 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
9240
9241 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
9242
9243 * gdb.base/sigstep.c (main): Add checks for
9244 return values for setitimer call.
9245 Call setitimer again with itimer = ITIMER_REAL
9246 if first call to setitimer fails.
9247
9248 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
9249
9250 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
9251 of $timeout.
9252
9253 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9254
9255 * gdb.server/server-run.exp: Test for dynamic linker symbols.
9256
9257 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
9258
9259 * lib/gdb.exp (gdb_run_cmd): Move comment outside
9260 of gdb_expect call, to avoid interruption.
9261
9262 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
9263
9264 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
9265 (v_unsigned_long_long, v_long_long_array)
9266 (v_signed_long_long_array, v_unsigned_long_long_array)
9267 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
9268 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
9269 [!NO_LONG_LONG]: New.
9270 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
9271 v_long_long_member.
9272
9273 (v_long_long_func, v_signed_long_long_func)
9274 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
9275 (main) [!NO_LONG_LONG]: Initialize long long variants.
9276
9277 * gdb.base/whatis.exp: If board file requests no_long_long, build
9278 test with NO_LONG_LONG defined. Test long long, signed long long,
9279 and unsigned long long variants but only if board file doesn't
9280 disable it.
9281
9282 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
9283 Daniel Jacobowitz <dan@codesourcery.com>
9284
9285 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
9286 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
9287 * configure: Regenerated.
9288 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9289 gdb.pascal/types.exp, lib/pascal.exp: New files.
9290
9291 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9292
9293 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9294 call.
9295 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9296 to return to the call.
9297 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9298 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9299 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9300 * gdb.mi/mi-until.exp (test_until): Likewise.
9301 * gdb.mi/mi2-until.exp (test_until): Likewise.
9302
9303 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9304
9305 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9306 two-char array.
9307 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9308
9309 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9310
9311 * gdb.threads/watchthreads.c (thread_function): Sleep between
9312 iterations.
9313 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9314 at once for S/390. Generate matching fails and passes.
9315
9316 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9317
9318 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9319 the 'struct_declarations' variable to zeros.
9320
9321 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9322
9323 * gdb.cp/mb-ctor.cc: New.
9324 * gdb.cp/mb-ctor.exp: New.
9325 * gdb.cp/mb-templates.cc: New.
9326 * gdb.cp/mb-templates.exp: New.
9327
9328 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9329
9330 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9331
9332 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9333
9334 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9335 targets.
9336 * configure: Regenerate.
9337
9338 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
9339
9340 * gdb.base/annota1.exp: Adjust for 'info break'
9341 format changes.
9342 * gdb.base/annota3.exp: Likewise.
9343 * gdb.base/break.exp: Likewise.
9344 * gdb.base/condbreak.exp: Likewise.
9345 * gdb.base/pending.exp: Likewise.
9346 * gdb.base/sepdebug.exp: Likewise.
9347 * gdb.base/unload.exp: Likewise.
9348 * gdb.base/ovldbreak.exp: Likewise.
9349
9350 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9351
9352 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9353 messages.
9354 * gdb.base/chng-syms.exp: Likewise.
9355 * gdb.base/unload.exp: Likewise.
9356
9357 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9358
9359 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9360
9361 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9362
9363 * schedlock.c (NUM): Change to 1.
9364 (main): Use args[0] for the main thread.
9365 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9366 regardless of the number of threads.
9367
9368 2007-09-14 Maciej W. Rozycki <macro@mips.com>
9369
9370 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9371 type down.
9372 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9373 test.
9374 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9375 watchpoint type down.
9376 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9377 test.
9378
9379 2007-09-14 Maciej W. Rozycki <macro@mips.com>
9380
9381 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9382 Move all the tests here and run them twice, once using software
9383 watchpoints and once using hardware watchpoints.
9384 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9385
9386 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9387
9388 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9389 test.
9390
9391 2007-09-10 Mark Kettenis <kettenis@gnu.org>
9392
9393 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9394 build-id.
9395
9396 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9397 know about $ORIGIN. Calculate output dir from $dest instead of
9398 using ${objdir}/{$subdir}.
9399
9400 2007-09-09 Mark Kettenis <kettenis@gnu.org>
9401
9402 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9403 gcore, before continuing with the test.
9404
9405 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9406
9407 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9408 * gdb.mi/mi-watch.exp: Likewise.
9409
9410 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9411 Jim Blandy <jimb@codesourcery.com>
9412
9413 * gdb.arch/i386-sse.exp: Do not expect character constants.
9414 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9415 * gdb.base/display.exp: Allow print/s.
9416 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9417 and unsigned char array changes.
9418
9419 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9420
9421 * gdb.base/display.exp: Add tests for printf %p.
9422
9423 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9424
9425 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9426 the dll name to unicode.
9427
9428 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9429
9430 * gdb.base/default.exp (show version): Update the version text.
9431 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9432
9433 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9434
9435 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9436 New files.
9437
9438 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9439
9440 * lib/gdb.exp (build_id_debug_filename_get): New function.
9441 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9442 Remove the generate DEBUG file for the future testcase runs.
9443 New testcase for the NT_GNU_BUILD_ID retrieval.
9444 Move the final testing step to ...
9445 (test_different_dir): ... a new function.
9446 New parameter XFAIL to XFAIL all the tests performed.
9447 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9448 New parameter TYPE to PF_PREFIX all the tests performed.
9449
9450 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9451
9452 * gdb.mi/mi-var-cp.cc (path_expression): New
9453 function.
9454 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9455
9456 2007-08-27 Markus Deuling <deuling@de.ibm.com>
9457
9458 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9459 to fit into SPU Local Store memory.
9460
9461 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9462
9463 * gdb.base/default.exp: Adjust the expected output of "info
9464 warranty" after the switch to GPLv3.
9465
9466 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9467
9468 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9469 to 30000 (from 20000).
9470
9471 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9472
9473 Switch the license of all .exp files to GPLv3.
9474 Switch the license of all .f and .f90 files to GPLv3.
9475 Switch the license of all .s and .S files to GPLv3.
9476
9477 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9478
9479 * configure.ac: Switch license to GPLv3.
9480
9481 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9482
9483 Switch the licensing to GPLv3 for all .ads and .adb files.
9484
9485 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9486
9487 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9488 and t_int_double.
9489 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9490
9491 2007-08-17 Joel Brobecker <brobecker@adacore.com>
9492
9493 * gdb.base/step-line.c: Switch license to GPL version 3, and
9494 update copyright year.
9495 * gdb.base/step-line.inp: Likewise.
9496
9497 2007-08-17 Joel Brobecker <brobecker@adacore.com>
9498
9499 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9500 changes inside gdb1555.c.
9501 * gdb.base/pending.exp: Likewise.
9502
9503 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9504
9505 * config/default.exp: New file.
9506
9507 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9508
9509 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9510 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9511
9512 2007-07-30 Maciej W. Rozycki <macro@mips.com>
9513
9514 * gdb.base/dump.exp: Force the correct endianness for binary
9515 formats not carrying this information.
9516
9517 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9518
9519 * gdb.threads/staticthreads.exp: Match .*sem_post.
9520
9521 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9522
9523 * gdb.base/readline.exp (operate_and_get_next): Match the final
9524 prompt.
9525
9526 2007-07-23 Kevin Buettner <kevinb@redhat.com>
9527
9528 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9529 to restarting SID.
9530
9531 2007-07-18 Kevin Buettner <kevinb@redhat.com>
9532
9533 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9534 prior to `gdb_start'.
9535
9536 2007-07-18 Kevin Buettner <kevinb@redhat.com>
9537
9538 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9539 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9540 Remove call to gdb_unload.
9541
9542 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9543 Daniel Jacobowitz <dan@codesourcery.com>
9544
9545 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9546 for __WIN32__.
9547 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9548 * gdb.base/unload.exp: Use shared library test routines.
9549
9550 2007-07-03 Markus Deuling <deuling@de.ibm.com>
9551
9552 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9553 * gdb.base/solib-symbol-lib.c: Likewise.
9554 * gdb.base/solib-symbol-main.c: Likewise.
9555
9556 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9557
9558 * config/gdbserver.exp (gdb_reconnect): New.
9559 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9560 gdb.base/solib-disc.exp: New files.
9561 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9562 remote debugging".
9563 (gdb_compile): Add shlib_load flag.
9564 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9565 port.
9566 (gdbserver_reconnect): New.
9567
9568 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
9569 Daniel Jacobowitz <dan@codesourcery.com>
9570
9571 * gdb.base/annota3.exp: Test for if construct.
9572
9573 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9574
9575 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9576
9577 2007-06-21 Chris Dearman <chris@mips.com>
9578 Maciej W. Rozycki <macro@mips.com>
9579
9580 * gdb.base/display.exp: Allow a newline after display/i.
9581 * gdb.base/pc-fp.exp: Likewise.
9582 * gdb.base/sigbpt.exp: Likewise.
9583
9584 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9585
9586 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9587 required features to be included.
9588
9589 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9590
9591 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9592 in info threads output.
9593
9594 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9595 Markus Deuling <deuling@de.ibm.com>
9596
9597 * gdb.arch/spu-info.exp: New testcase.
9598 * gdb.arch/spu-info.c: New file.
9599
9600 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9601
9602 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9603 tpcs_offset. Restore lr after the call.
9604 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9605
9606 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9607
9608 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9609 (gdbserver_run): Kill any running gdbserver.
9610 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9611
9612 2007-05-17 Maciej W. Rozycki <macro@mips.com>
9613
9614 * gdb.base/sigbpt.exp: Preset segv_addr.
9615
9616 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9617
9618 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9619 (gdb_compile_shlib): Likewise.
9620 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9621 (default_gdb_init): Clear cleanfiles.
9622 (gdb_finish): Delete recorded cleanfiles.
9623 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9624
9625 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9626 Do not use isnative.
9627 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9628 gdb.base/so-impl-ld.exp: Likewise.
9629 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9630 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9631 gdb_compile.
9632
9633 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9634
9635 * config/unknown.exp: Remove.
9636
9637 2007-05-15 Markus Deuling <deuling@de.ibm.com>
9638
9639 * gdb.base/info-proc.exp: Check is_remote.
9640
9641 2007-05-14 Markus Deuling <deuling@de.ibm.com>
9642
9643 * gdb.base/gcore.exp: Initialize variable core_supported.
9644
9645 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9646
9647 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9648
9649 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9650
9651 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9652 * gdb.threads/print-threads.exp (test_all_threads): Allow
9653 negative and hexadecimal thread IDs.
9654
9655 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9656
9657 * gdb.java/jprint.java (public): Avoid invalid call to static
9658 method.
9659
9660 2007-05-14 Denis Pilat <denis.pilat@st.com>
9661
9662 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9663 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9664 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9665 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9666 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9667
9668 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9669
9670 * gdb.base/overlays.exp: Add support for targets with only code
9671 overlay support, not data overlay. Support spu-*-* target in
9672 this mode.
9673 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9674 * gdb.base/spu.ld: New file.
9675
9676 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9677
9678 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9679
9680 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9681
9682 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9683
9684 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9685
9686 * gdb.java/jmain.exp: Handle demangled names with and without method
9687 signatures.
9688
9689 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9690
9691 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9692 (have_a_very_merry_interrupt): Remove calls to puts.
9693 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9694 inferior output.
9695 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9696 test names.
9697
9698 2007-04-29 Markus Deuling <deuling@de.ibm.com>
9699 Daniel Jacobowitz <dan@codesourcery.com>
9700
9701 * gdb.base/auxv.exp (core_works): Also check is_remote.
9702 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9703
9704 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
9705
9706 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9707 message, not the undefined 'module' variable.
9708 * gdb.base/siginfo.exp: Likewise.
9709 * gdb.base/sigstep.exp: Likewise.
9710 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9711 serialport.
9712 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9713
9714 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
9715
9716 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9717 target sim fails. Return 0 otherwise.
9718 (gdb_load): Return prematurely if gdb_target_sim fails.
9719
9720 2007-04-16 Denis Pilat <denis.pilat@st.com>
9721
9722 * gdb.base/setshow.exp: Reset height after having set it to 100.
9723
9724 2007-04-16 Denis Pilat <denis.pilat@st.com>
9725
9726 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9727
9728 2007-04-16 Denis Pilat <denis.pilat@st.com>
9729
9730 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9731
9732 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9733
9734 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9735 tests. Run the frozen varobjs test.
9736 * gdb.mi/var-cmd.c (do_frozen_tests): New.
9737 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
9738
9739 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9740
9741 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9742 gdb.base/type-opaque.exp: New files.
9743
9744 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
9745
9746 * gdb.mi/mi-var-child.c
9747 (do_children_tests): User char[2] instead of
9748 char so that automatic printing of pointers to char
9749 don't give unpredicable result.
9750 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9751 local variables.
9752 * gdb.mi/mi-var-child.exp: Step to right line
9753 of do_children_tests.
9754 * gdb.mi/mi2-var-child.exp: Likewise.
9755 * gdb.mi/mi-var-cmd.exp: Step to right line of
9756 do_locals_tests.
9757 (do_children_tests): User char[2] instead of
9758 char so that automatic printing of pointers to char
9759 don't give unpredicable result.
9760 * gdb.mi/mi2-var-cmd.exp: Likewise.
9761 * lib/mi-support.exp (mi_continue_to_line):
9762 Pass test name to mi_wait_for_stop.
9763
9764 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9765
9766 * gdb.asm/asm-source.exp: Remove d10v case.
9767 * lib/gdb.exp (skip_cplus_tests): Likewise.
9768 * gdb.asm/d10v.inc: Deleted.
9769
9770 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9771
9772 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9773
9774 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9775
9776 * config/netware.exp: Delete file.
9777
9778 2007-03-29 Joel Brobecker <brobecker@adacore.com>
9779
9780 * gdb.dwarf2/dw2-noloc.S: New file.
9781 * gdb.dwarf2/dw2-noloc.exp: New file.
9782
9783 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9784
9785 * gdb.cp/method2.cc: New test.
9786 * gdb.cp/method2.exp: New test.
9787 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9788
9789 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9790
9791 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9792
9793 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9794
9795 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9796
9797 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9798
9799 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9800 (gdb_load): Delete, replace with...
9801 (gdb_reload): ...this.
9802 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9803 * gdb.server/server-mon.exp: Likewise.
9804 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9805 (gdb_start_cmd): New.
9806 (gdb_file_cmd): Save the last loaded file.
9807 (gdb_reload): New.
9808 (gdb_gnu_strip_debug): Use transform.
9809 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9810 support here. Use new $last_loaded_file. Check mtime.
9811 (gdb_target_cmd): Handle ObjC failure case.
9812 (infer_host_exec): Delete.
9813 (gdbserver_load): Rename to...
9814 (gdbserver_run): ...this. Simplify.
9815 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9816 (mi_gdb_load): Move most contents to a new function...
9817 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9818 (mi_run_cmd): Use mi_gdb_target_load.
9819 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9820 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9821 Use gdb_run_cmd.
9822 * gdb.base/charsign.exp: Remove incorrect comment.
9823 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9824 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9825 gdb.base/start.exp: Use gdb_start_cmd.
9826
9827 2007-03-23 Nigel Stephens <nigel@mips.com>
9828 Maciej W. Rozycki <macro@mips.com>
9829
9830 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9831 * gdb.base/signull.exp: Similarly.
9832
9833 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9834
9835 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9836 messages available to test cases (like chng-sym.exp).
9837
9838 2007-03-14 Andreas Schwab <schwab@suse.de>
9839
9840 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9841 format changes.
9842
9843 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9844
9845 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9846 (optimized_1): New.
9847 (main): Call optimized_1.
9848 (gdb2029): Correct typos. Call gdb2029_marker.
9849 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9850 for gdb2029.
9851
9852 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9853
9854 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9855 as tabs. Remove redundant test pattern.
9856
9857 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9858
9859 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9860 for /a format output.
9861
9862 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9863
9864 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9865 collect output incrementally.
9866
9867 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9868
9869 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9870 for -var-create lpcharacter test.
9871 * gdb.mi/mi2-var-cmd.exp: Likewise.
9872
9873 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9874
9875 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9876 pass on targets where address zero is readable.
9877
9878 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9879
9880 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9881 just a single architecture.
9882
9883 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9884
9885 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9886 (fetch_all_registers): New function, uses gdb_test_multiple and
9887 exp_continue to fetch inferior output line-by-line.
9888 Replace all uses of do_get_all_registers by fetch_all_registers.
9889
9890 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9891
9892 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9893 in target_info.
9894
9895 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9896
9897 * gdb.threads/manythreads.exp: Use $message string for
9898 consistancy; add a default (timeout) case.
9899
9900 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9901
9902 * gdb.base/watchpoint.exp: Fix truncated comment.
9903
9904 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9905
9906 * Makefile.in: Remove spurious single-quotes from sed command.
9907
9908 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9909
9910 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9911 func.
9912 * gdb.mi/mi2-var-cmd.exp: Likewise.
9913
9914 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9915
9916 * gdb.dwarf2/dw2-producer.S: New file.
9917 * gdb.dwarf2/dw2-producer.exp: New testcase.
9918
9919 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9920
9921 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9922 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9923 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9924 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9925 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9926 Revert tests to use mi_gdb_test and include value field in output
9927 of -var-create.
9928
9929 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9930
9931 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9932
9933 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9934
9935 * gdb.base/maint.exp: Remove full paths from test names.
9936 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9937 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9938
9939 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9940
9941 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9942
9943 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9944
9945 * gdb.server/server-mon.exp: New test.
9946
9947 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9948
9949 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9950
9951 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9952
9953 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9954 register capitalization.
9955
9956 2007-02-13 Denis Pilat <denis.pilat@st.com>
9957
9958 * gdb.mi/mi-var-invalidate.exp: New file.
9959
9960 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9961
9962 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9963
9964 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9965
9966 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9967
9968 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9969
9970 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9971 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9972
9973 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9974
9975 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9976 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9977 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9978 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9979 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9980 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9981 Update tests to include value field in output of -var-create.
9982
9983 2007-02-08 Andreas Schwab <schwab@suse.de>
9984
9985 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9986
9987 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9988
9989 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9990 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9991
9992 2007-02-02 Denis Pilat <denis.pilat@st.com>
9993
9994 * gdb.threads/threadapply.exp: check that frame is not changed by
9995 the thread apply all command.
9996
9997 2007-01-31 Andreas Schwab <schwab@suse.de>
9998
9999 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10000
10001 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10002 in the dwarf sections.
10003 * gdb.dwarf2/mac-fileno.S: Likewise.
10004
10005 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10006 bspstore register on ia64.
10007
10008 2007-01-29 Andreas Schwab <schwab@suse.de>
10009
10010 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10011 "frame-begin" annotation.
10012
10013 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10014 number of "frames-invalid" annotations.
10015
10016 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10017
10018 * gdb.base/commands.exp: Call if_commands_test.
10019 (gdb_test_no_prompt, if_commands_test): New.
10020
10021 2007-01-28 Mark Kettenis <kettenis@gnu.org>
10022
10023 * gdb.threads/sigthread.c (NSIGS): Make bigger.
10024
10025 2007-01-27 Andreas Schwab <schwab@suse.de>
10026
10027 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10028 .short/.int/.quad in the dwarf sections.
10029 * gdb.dwarf2/dw2-intercu.S: Likewise.
10030 * gdb.dwarf2/dw2-intermix.S: Likewise.
10031
10032 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10033
10034 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
10035 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10036 array.
10037 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10038 * gdb.base/setvar.exp: Likewise.
10039
10040 2007-01-26 Andreas Schwab <schwab@suse.de>
10041
10042 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
10043 test.
10044
10045 * gdb.base/multi-forks.exp ("restart $i"): Also match
10046 __kernel_syscall_via_break.
10047
10048 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
10049
10050 * lib/mi-support.exp (mi_delete_varobj): New.
10051 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
10052 testcase.
10053 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
10054 (main): Call the above.
10055 (reference_update_test, base_in_reference_test)
10056 (reference_to_pointer): Delete the created varobjs.
10057
10058 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
10059
10060 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
10061 * configure: Regenerated.
10062 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
10063 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
10064 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
10065 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
10066 * lib/gdb.exp (gdb_skip_xml_test): New function.
10067
10068 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
10069
10070 * gdb.base/sigrepeat.exp: Correct error message.
10071
10072 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10073 Daniel Jacobowitz <dan@codesourcery.com>
10074
10075 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
10076 gdb.arch/i386-gnu-cfi-asm.S: New files.
10077
10078 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10079
10080 * lib/gdb.exp: Abort on missing `site.exp'.
10081
10082 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10083 Daniel Jacobowitz <dan@codesourcery.com>
10084
10085 * gdb.base/included.c, gdb.base/included.exp,
10086 gdb.base/included.h: New files.
10087
10088 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10089
10090 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
10091 (maximize_rlimit): Reduce limits on 64-bit systems.
10092
10093 2007-01-19 Mark Kettenis <kettenis@gnu.org>
10094
10095 From Marcus Deuling <deuling@de.ibm.com>:
10096 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
10097 every case.
10098
10099 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
10100
10101 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
10102 (test_path_specification): Use objdir instead of srcdir to always
10103 get an absolute filename.
10104
10105 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
10106
10107 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
10108
10109 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
10110
10111 * gdb.mi/mi-var-cp.cc (reference_update_tests):
10112 Make sure the variable we're using is in scope.
10113 (reference_to_pointer): Likewise.
10114
10115 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10116
10117 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
10118 has no debug information.
10119
10120 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10121
10122 * gdb.base/annota1.exp: Remove extra send_gdb.
10123
10124 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10125
10126 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
10127
10128 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10129
10130 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
10131
10132 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
10133 Daniel Jacobowitz <dan@codesourcery.com>
10134
10135 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
10136 lcharacter or linteger change. Correct duplicated test name.
10137 * gdb.mi/mi2-var-cmd.exp: Likewise.
10138
10139 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10140
10141 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
10142
10143 2007-01-05 Joel Brobecker <brobecker@adacore.com>
10144
10145 * gdb.base/nofield.c: New file.
10146 * gdb.base/nofield.exp: New testcase.
10147
10148 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
10149
10150 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
10151
10152 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
10153 test.
10154
10155 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10156
10157 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
10158
10159 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10160
10161 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
10162 when continuing.
10163
10164 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10165
10166 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
10167 Expect ".exe" extension.
10168
10169 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10170
10171 * gdb.base/charset.exp: Add explicit filename to break.
10172 * gdb.base/dbx.exp: Add explicit filename to breaks.
10173
10174 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10175
10176 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
10177 * gdb.mi/mi2-file.exp: Likewise.
10178
10179 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10180
10181 Implement specification of MI tests as comments
10182 in C and C++ sources.
10183 * lib/mi-support.exp (mi_autotest_data): New variable.
10184 (mi_autotest_source): New variable.
10185 (count_newlines, mi_prepare_inline_tests)
10186 (mi_get_inline_test, mi_continue_to_line)
10187 (mi_run_inline_test, mi_tbreak)
10188 (mi_send_resuming_command, mi_wait_for_stop): New functions.
10189 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
10190 Run inline tests.
10191 * gdb.mi/mi-var-cp.cc: Define tests here.
10192
10193 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10194
10195 Simplify usage of mi_continue_to.
10196 * lib/mi-support.exp (mi_runto_helper): Renamed
10197 from mi_runto, added new parameter 'run_or_continue'.
10198 (mi_runto): Use mi_runto_helper.
10199 (mi_continue_to): Accept just function name as parameter.
10200 Use mi_runto_helper.
10201 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
10202 * gdb.mi/mi2-var-cmd.exp: Likewise.
10203
10204 2006-01-04 Joel Brobecker <brobecker@adacore.com>
10205
10206 Make this testcase a bit more realistic. The current code
10207 is too simplistic, and allows the compiler to optimize out
10208 some of the entities we need for this testcase.
10209 * gdb.ada/null_record/bar.ads (Void_Star): New type.
10210 (Do_Nothing): Add extra parameter.
10211 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
10212 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
10213 by using a variable of type Void_Star.
10214
10215 2006-01-04 Joel Brobecker <brobecker@adacore.com>
10216
10217 * gdb.ada/catch_ex/foo.adb: New file.
10218 * gdb.ada/catch_ex.exp: New testcase.
10219
10220 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
10221
10222 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
10223 pass --image-base to linker.
10224
10225 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10226 Daniel Jacobowitz <dan@codesourcery.com>
10227
10228 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
10229 secondary prompts.
10230
10231 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10232
10233 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
10234 output. Test the types of members and member pointers.
10235 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
10236 gdb/2092.
10237 * gdb.cp/member-ptr.exp: Search for a comment instead of a
10238 statement. Enable for GCC. Update expected output for some tests
10239 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
10240 layout.
10241 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
10242 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
10243 (Diamond::vget_base): New.
10244 (main): Add new tests.
10245 * gdb.cp/printmethod.exp: Update expected output for member functions.
10246 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
10247 print pEe->D::vg().
10248
10249 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10250
10251 * gdb.threads/tls.exp: Allow stops in sem_post.
10252
10253 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
10254
10255 * gdb.base/annota1.exp: Allow .*printf in backtraces.
10256 * gdb.base/annota3.exp: Likewise.
10257 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
10258 again (instead of timing out).
10259 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
10260 GCC bug 26475.
10261 * gdb.java/jmisc.exp: Adjust to work with method signatures including
10262 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
10263 test from jmisc1.exp.
10264 * gdb.java/jmisc1.exp: Delete.
10265 * gdb.java/jprint.exp: Adjust to work with method signatures including
10266 return types.
10267 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
10268 * gdb.threads/linux-dp.exp: Don't be confused by program output.
10269 * lib/java.exp (compile_java_from_source): Pass the correct type
10270 to target_compile.
10271
10272 2006-12-31 Joel Brobecker <brobecker@adacore.com>
10273
10274 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
10275 (stack_align_edx): New function.
10276 (stack_align_eax): New function.
10277 (main): Add calls to stack_align_edx and stack_align_eax.
10278 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
10279 Add testing for the cases where the register used during a stack
10280 realignment is edx. Same for eax.
10281
10282 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
10283
10284 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
10285 and generic PE targets.
10286
10287 2006-12-29 Joel Brobecker <brobecker@adacore.com>
10288
10289 * gdb.ada/array_return.exp: Update copyright date list.
10290
10291 2006-12-27 Joel Brobecker <brobecker@adacore.com>
10292
10293 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10294 (Create_Small_Float_Vector): New function.
10295 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10296 function body.
10297 * gdb.ada/array_return/p.adb: Use new type and function from
10298 package Pck.
10299 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10300 able to print the value returned by a function returning an
10301 array of float.
10302
10303 2006-12-20 Joel Brobecker <brobecker@adacore.com>
10304
10305 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10306 The associated tests should be PASSing.
10307
10308 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10309
10310 Test for base in references.
10311 * gdb.mi/mi-var-cp.cc: Add test code.
10312 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10313 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10314 * gdb.mi/mi2-watch.exp: Likewise.
10315 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10316 (mi_list_varobj_children): New function.
10317
10318 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10319
10320 * lib/mi-support.exp
10321 (mi_runto): Accept "()" after function name.
10322 (mi_create_varobj): New function.
10323 (mi_varobj_update): New function.
10324 (mi_Check_varobj_value): New function.
10325 * gdb.mi/mi-var-cp.exp: New file.
10326 * gdb.mi/mi-var-cp.cc: New file.
10327
10328 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10329
10330 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10331 gdb.base/weaklib2.c: New files.
10332
10333 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
10334
10335 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10336 info. Adjust test names.
10337
10338 * gdb.base/break.c (main): Move position of malloc.
10339 * gdb.base/break.exp: Revert mistaken checkin.
10340
10341 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10342
10343 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10344 assignement of arrays and function pointers.
10345 * gdb.mi/var-cmd.c: Add declaration necessary for above
10346 tests.
10347
10348 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10349
10350 * gdb.base/break.c (main): Call malloc.
10351
10352 * gdb.threads/linux-dp.exp: Read thread table before and after
10353 creating each philosopher and verify it.
10354
10355 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10356 Paul Brook <paul@codesourcery.com>
10357 Daniel Jacobowitz <dan@codesourcery.com>
10358
10359 * gdb.base/ending-run.exp: Flatten expect script stepping out of
10360 main to remove duplication. Add start function of the form
10361 '_*start[1-9]*'. Add RVDS start function.
10362
10363 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10364
10365 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10366
10367 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10368
10369 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10370 * gdb.asm/spu.inc: New file.
10371 * gdb.base/term.exp: Disable if [target_info exists noargs].
10372 * gdb.gdb/complaints.exp: Disable if ![isnative].
10373 * gdb.gdb/selftest.exp: Likewise.
10374 * gdb.gdb/observer.exp: Likewise.
10375 * gdb.gdb/xfullpath.exp: Likewise.
10376 * gdb.base/attach.exp: Disable on SPU target.
10377 * gdb.cp/bs145503.exp: Likewise.
10378 * gdb.cp/exception.exp: Likewise.
10379 * gdb.cp/userdef.exp: Likewise.
10380
10381 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10382
10383 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10384
10385 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10386
10387 * gdb.base/completion.exp: Fix completion tests for
10388 'info' and 'info '.
10389 * gdb.base/help.exp (help_test_raw, test_class_help)
10390 (test_prefix_command_help): Move...
10391 * lib/gdb.exp: Here.
10392 * gdb.base/main.exp: Adjust.
10393 * gdb.cp/maint.exp: Adjust.
10394 * gdb.trace/tracecmd.exp: Use test_help_class.
10395
10396 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10397
10398 * gdb.stabs/weird.exp (print_weird_var): Use
10399 gdb_test_multiple instead of gdb_expect.
10400
10401 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10402
10403 * gdb.base/help.exp (help_test_raw): New.
10404 (test_class_help): New.
10405 (test_prefix_command_help): New.
10406 Adjust testcases.
10407
10408 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
10409
10410 * gdb.base/constvars.c (main): Write to crass and crips, so that
10411 they are allocated by the compiler.
10412
10413 2006-10-27 Andreas Schwab <schwab@suse.de>
10414
10415 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10416 "detach-fork".
10417
10418 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10419
10420 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10421 of patterns.
10422
10423 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10424
10425 * gdb.base/sepdebug.exp: Remove debug format test.
10426 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10427 Handle no-symtab.
10428 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10429
10430 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10431
10432 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10433 int to pointer or pointer to int.
10434 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10435
10436 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10437
10438 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10439
10440 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10441
10442 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10443
10444 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10445
10446 PR c++/2116
10447 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10448
10449 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10450
10451 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10452 the corresponding bug has been fixed in GDB (PR/2018).
10453
10454 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10455
10456 * gdb.base/subst.exp: New testcase.
10457
10458 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10459
10460 * gdb.ada/array_return/pck.ads: Add copyright notice.
10461 * gdb.ada/array_return/pck.adb: Likewise.
10462 * gdb.ada/array_return/p.adb: Likewise.
10463 * gdb.ada/exec_changed/first.adb: Likewise.
10464 * gdb.ada/exec_changed/second.adb: Likewise.
10465
10466 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10467
10468 * gdb.ada/watch_arg/watch.adb: New file.
10469 * gdb.ada/watch_arg.exp: New testcase.
10470
10471 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10472
10473 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
10474 via string_to_regexp.
10475 * gdb.mi/mi2-basics.exp: Likewise.
10476
10477 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
10478
10479 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10480 Remove unused / obsolete files.
10481
10482 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
10483
10484 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10485
10486 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10487
10488 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10489 HIGH_FRAME argument to -stack-list-arguments can be larger than
10490 the number of frames.
10491
10492 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10493
10494 * gdb.base/args.c (main): Add breakpoint marker.
10495 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10496 really test empty arguments.
10497 (args_load): Delete.
10498 (args_test): New.
10499
10500 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
10501
10502 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
10503 check for one file.
10504
10505 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10506
10507 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10508 HIGH_FRAME argument to -stack-list-locals can be larger than
10509 the number of frames.
10510
10511 2006-08-18 Fred Fish <fnf@specifix.com>
10512
10513 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10514 '$' in front of skip_vmx_tests_saved when setting that.
10515
10516 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10517
10518 * gdb.base/trace-commands.exp: New file.
10519
10520 2006-08-10 Joel Brobecker <brobecker@adacore.com>
10521 Daniel Jacobowitz <dan@codesourcery.com>
10522
10523 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10524 expected output of the backtrace commands.
10525
10526 2006-08-09 Joel Brobecker <brobecker@adacore.com>
10527
10528 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10529 untested followed by return combination.
10530 * gdb.arch/altivec-regs.exp: Likewise.
10531 * gdb.arch/e500-abi.exp: Likewise.
10532 * gdb.arch/e500-regs.exp: Likewise.
10533 * gdb.arch/gdb1291.exp: Likewise.
10534 * gdb.arch/gdb1431.exp: Likewise.
10535 * gdb.arch/gdb1558.exp: Likewise.
10536 * gdb.arch/i386-prologue.exp: Likewise.
10537 * gdb.arch/i386-unwind.exp: Likewise.
10538 * gdb.asm/asm-source.exp: Likewise.
10539 * gdb.base/a2-run.exp: Likewise.
10540 * gdb.base/advance.exp: Likewise.
10541 * gdb.base/all-bin.exp: Likewise.
10542 * gdb.base/annota1.exp: Likewise.
10543 * gdb.base/annota3.exp: Likewise.
10544 * gdb.base/args.exp: Likewise.
10545 * gdb.base/arithmet.exp: Likewise.
10546 * gdb.base/assign.exp: Likewise.
10547 * gdb.base/async.exp: Likewise.
10548 * gdb.base/attach.exp: Likewise.
10549 * gdb.base/bang.exp: Likewise.
10550 * gdb.base/bigcore.exp: Likewise.
10551 * gdb.base/bitfields.exp: Likewise.
10552 * gdb.base/bitfields2.exp: Likewise.
10553 * gdb.base/break.exp: Likewise.
10554 * gdb.base/call-sc.exp: Likewise.
10555 * gdb.base/call-strs.exp: Likewise.
10556 * gdb.base/callfuncs.exp: Likewise.
10557 * gdb.base/checkpoint.exp: Likewise.
10558 * gdb.base/chng-syms.exp: Likewise.
10559 * gdb.base/code-expr.exp: Likewise.
10560 * gdb.base/commands.exp: Likewise.
10561 * gdb.base/completion.exp: Likewise.
10562 * gdb.base/cond-expr.exp: Likewise.
10563 * gdb.base/condbreak.exp: Likewise.
10564 * gdb.base/consecutive.exp: Likewise.
10565 * gdb.base/constvars.exp: Likewise.
10566 * gdb.base/corefile.exp: Likewise.
10567 * gdb.base/cvexpr.exp: Likewise.
10568 * gdb.base/dbx.exp: Likewise.
10569 * gdb.base/define.exp: Likewise.
10570 * gdb.base/detach.exp: Likewise.
10571 * gdb.base/display.exp: Likewise.
10572 * gdb.base/dump.exp: Likewise.
10573 * gdb.base/ena-dis-br.exp: Likewise.
10574 * gdb.base/ending-run.exp: Likewise.
10575 * gdb.base/environ.exp: Likewise.
10576 * gdb.base/eval-skip.exp: Likewise.
10577 * gdb.base/exprs.exp: Likewise.
10578 * gdb.base/fileio.exp: Likewise.
10579 * gdb.base/finish.exp: Likewise.
10580 * gdb.base/float.exp: Likewise.
10581 * gdb.base/foll-exec.exp: Likewise.
10582 * gdb.base/foll-fork.exp: Likewise.
10583 * gdb.base/foll-vfork.exp: Likewise.
10584 * gdb.base/freebpcmd.exp: Likewise.
10585 * gdb.base/funcargs.exp: Likewise.
10586 * gdb.base/gcore.exp: Likewise.
10587 * gdb.base/gdb1090.exp: Likewise.
10588 * gdb.base/gdb1250.exp: Likewise.
10589 * gdb.base/huge.exp: Likewise.
10590 * gdb.base/info-proc.exp: Likewise.
10591 * gdb.base/interrupt.exp: Likewise.
10592 * gdb.base/jump.exp: Likewise.
10593 * gdb.base/langs.exp: Likewise.
10594 * gdb.base/lineinc.exp: Likewise.
10595 * gdb.base/list.exp: Likewise.
10596 * gdb.base/logical.exp: Likewise.
10597 * gdb.base/long_long.exp: Likewise.
10598 * gdb.base/macscp.exp: Likewise.
10599 * gdb.base/maint.exp: Likewise.
10600 * gdb.base/mips_pro.exp: Likewise.
10601 * gdb.base/miscexprs.exp: Likewise.
10602 * gdb.base/multi-forks.exp: Likewise.
10603 * gdb.base/opaque.exp: Likewise.
10604 * gdb.base/overlays.exp: Likewise.
10605 * gdb.base/pc-fp.exp: Likewise.
10606 * gdb.base/pointers.exp: Likewise.
10607 * gdb.base/printcmds.exp: Likewise.
10608 * gdb.base/psymtab.exp: Likewise.
10609 * gdb.base/ptype.exp: Likewise.
10610 * gdb.base/recurse.exp: Likewise.
10611 * gdb.base/relational.exp: Likewise.
10612 * gdb.base/relocate.exp: Likewise.
10613 * gdb.base/remote.exp: Likewise.
10614 * gdb.base/reread.exp: Likewise.
10615 * gdb.base/restore.exp: Likewise.
10616 * gdb.base/return.exp: Likewise.
10617 * gdb.base/return2.exp: Likewise.
10618 * gdb.base/scope.exp: Likewise.
10619 * gdb.base/sect-cmd.exp: Likewise.
10620 * gdb.base/sep.exp: Likewise.
10621 * gdb.base/sepdebug.exp: Likewise.
10622 * gdb.base/setshow.exp: Likewise.
10623 * gdb.base/setvar.exp: Likewise.
10624 * gdb.base/sigall.exp: Likewise.
10625 * gdb.base/sigbpt.exp: Likewise.
10626 * gdb.base/signals.exp: Likewise.
10627 * gdb.base/signull.exp: Likewise.
10628 * gdb.base/sizeof.exp: Likewise.
10629 * gdb.base/solib.exp: Likewise.
10630 * gdb.base/step-line.exp: Likewise.
10631 * gdb.base/step-test.exp: Likewise.
10632 * gdb.base/structs.exp: Likewise.
10633 * gdb.base/structs2.exp: Likewise.
10634 * gdb.base/term.exp: Likewise.
10635 * gdb.base/twice.exp: Likewise.
10636 * gdb.base/until.exp: Likewise.
10637 * gdb.base/varargs.exp: Likewise.
10638 * gdb.base/volatile.exp: Likewise.
10639 * gdb.base/watchpoint.exp: Likewise.
10640 * gdb.base/whatis-exp.exp: Likewise.
10641 * gdb.base/whatis.exp: Likewise.
10642 * gdb.cp/ambiguous.exp: Likewise.
10643 * gdb.cp/annota2.exp: Likewise.
10644 * gdb.cp/annota3.exp: Likewise.
10645 * gdb.cp/bool.exp: Likewise.
10646 * gdb.cp/breakpoint.exp: Likewise.
10647 * gdb.cp/casts.exp: Likewise.
10648 * gdb.cp/class2.exp: Likewise.
10649 * gdb.cp/classes.exp: Likewise.
10650 * gdb.cp/cplusfuncs.exp: Likewise.
10651 * gdb.cp/ctti.exp: Likewise.
10652 * gdb.cp/derivation.exp: Likewise.
10653 * gdb.cp/exception.exp: Likewise.
10654 * gdb.cp/gdb1355.exp: Likewise.
10655 * gdb.cp/hang.exp: Likewise.
10656 * gdb.cp/inherit.exp: Likewise.
10657 * gdb.cp/local.exp: Likewise.
10658 * gdb.cp/m-data.exp: Likewise.
10659 * gdb.cp/m-static.exp: Likewise.
10660 * gdb.cp/member-ptr.exp: Likewise.
10661 * gdb.cp/method.exp: Likewise.
10662 * gdb.cp/misc.exp: Likewise.
10663 * gdb.cp/namespace.exp: Likewise.
10664 * gdb.cp/overload.exp: Likewise.
10665 * gdb.cp/ovldbreak.exp: Likewise.
10666 * gdb.cp/pr-1023.exp: Likewise.
10667 * gdb.cp/pr-1210.exp: Likewise.
10668 * gdb.cp/pr-574.exp: Likewise.
10669 * gdb.cp/printmethod.exp: Likewise.
10670 * gdb.cp/psmang.exp: Likewise.
10671 * gdb.cp/ref-params.exp: Likewise.
10672 * gdb.cp/ref-types.exp: Likewise.
10673 * gdb.cp/rtti.exp: Likewise.
10674 * gdb.cp/templates.exp: Likewise.
10675 * gdb.cp/try_catch.exp: Likewise.
10676 * gdb.cp/userdef.exp: Likewise.
10677 * gdb.cp/virtfunc.exp: Likewise.
10678 * gdb.disasm/am33.exp: Likewise.
10679 * gdb.disasm/h8300s.exp: Likewise.
10680 * gdb.disasm/mn10300.exp: Likewise.
10681 * gdb.disasm/sh3.exp: Likewise.
10682 * gdb.disasm/t01_mov.exp: Likewise.
10683 * gdb.disasm/t02_mova.exp: Likewise.
10684 * gdb.disasm/t03_add.exp: Likewise.
10685 * gdb.disasm/t04_sub.exp: Likewise.
10686 * gdb.disasm/t05_cmp.exp: Likewise.
10687 * gdb.disasm/t06_ari2.exp: Likewise.
10688 * gdb.disasm/t07_ari3.exp: Likewise.
10689 * gdb.disasm/t08_or.exp: Likewise.
10690 * gdb.disasm/t09_xor.exp: Likewise.
10691 * gdb.disasm/t10_and.exp: Likewise.
10692 * gdb.disasm/t11_logs.exp: Likewise.
10693 * gdb.disasm/t12_bit.exp: Likewise.
10694 * gdb.disasm/t13_otr.exp: Likewise.
10695 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10696 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10697 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10698 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10699 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10700 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10701 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10702 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10703 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10704 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10705 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10706 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10707 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10708 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10709 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10710 * gdb.mi/gdb701.exp: Likewise.
10711 * gdb.mi/gdb792.exp: Likewise.
10712 * gdb.mi/mi-basics.exp: Likewise.
10713 * gdb.mi/mi-break.exp: Likewise.
10714 * gdb.mi/mi-cli.exp: Likewise.
10715 * gdb.mi/mi-console.exp: Likewise.
10716 * gdb.mi/mi-disassemble.exp: Likewise.
10717 * gdb.mi/mi-eval.exp: Likewise.
10718 * gdb.mi/mi-file.exp: Likewise.
10719 * gdb.mi/mi-read-memory.exp: Likewise.
10720 * gdb.mi/mi-regs.exp: Likewise.
10721 * gdb.mi/mi-return.exp: Likewise.
10722 * gdb.mi/mi-simplerun.exp: Likewise.
10723 * gdb.mi/mi-stack.exp: Likewise.
10724 * gdb.mi/mi-stepi.exp: Likewise.
10725 * gdb.mi/mi-syn-frame.exp: Likewise.
10726 * gdb.mi/mi-until.exp: Likewise.
10727 * gdb.mi/mi-var-block.exp: Likewise.
10728 * gdb.mi/mi-var-child.exp: Likewise.
10729 * gdb.mi/mi-var-cmd.exp: Likewise.
10730 * gdb.mi/mi-var-display.exp: Likewise.
10731 * gdb.mi/mi-watch.exp: Likewise.
10732 * gdb.mi/mi2-basics.exp: Likewise.
10733 * gdb.mi/mi2-break.exp: Likewise.
10734 * gdb.mi/mi2-cli.exp: Likewise.
10735 * gdb.mi/mi2-console.exp: Likewise.
10736 * gdb.mi/mi2-disassemble.exp: Likewise.
10737 * gdb.mi/mi2-eval.exp: Likewise.
10738 * gdb.mi/mi2-file.exp: Likewise.
10739 * gdb.mi/mi2-read-memory.exp: Likewise.
10740 * gdb.mi/mi2-regs.exp: Likewise.
10741 * gdb.mi/mi2-return.exp: Likewise.
10742 * gdb.mi/mi2-simplerun.exp: Likewise.
10743 * gdb.mi/mi2-stack.exp: Likewise.
10744 * gdb.mi/mi2-stepi.exp: Likewise.
10745 * gdb.mi/mi2-syn-frame.exp: Likewise.
10746 * gdb.mi/mi2-until.exp: Likewise.
10747 * gdb.mi/mi2-var-block.exp: Likewise.
10748 * gdb.mi/mi2-var-child.exp: Likewise.
10749 * gdb.mi/mi2-var-cmd.exp: Likewise.
10750 * gdb.mi/mi2-var-display.exp: Likewise.
10751 * gdb.mi/mi2-watch.exp: Likewise.
10752 * gdb.stabs/exclfwd.exp: Likewise.
10753 * gdb.stabs/weird.exp: Likewise.
10754 * gdb.threads/gcore-thread.exp: Likewise.
10755 * gdb.trace/actions.exp: Likewise.
10756 * gdb.trace/backtrace.exp: Likewise.
10757 * gdb.trace/circ.exp: Likewise.
10758 * gdb.trace/collection.exp: Likewise.
10759 * gdb.trace/deltrace.exp: Likewise.
10760 * gdb.trace/infotrace.exp: Likewise.
10761 * gdb.trace/limits.exp: Likewise.
10762 * gdb.trace/packetlen.exp: Likewise.
10763 * gdb.trace/passc-dyn.exp: Likewise.
10764 * gdb.trace/passcount.exp: Likewise.
10765 * gdb.trace/report.exp: Likewise.
10766 * gdb.trace/save-trace.exp: Likewise.
10767 * gdb.trace/tfind.exp: Likewise.
10768 * gdb.trace/tracecmd.exp: Likewise.
10769 * gdb.trace/while-dyn.exp: Likewise.
10770 * gdb.trace/while-stepping.exp: Likewise.
10771
10772 2006-08-08 Joel Brobecker <brobecker@adacore.com>
10773
10774 * gdb.base/step-bt.c: New file.
10775 * gdb.base/step-bt.exp: New testcase.
10776
10777 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10778
10779 * config/monitor.exp (gdb_load): Remove support for obsolete
10780 download-write-size.
10781 * gdb.base/remote.exp: Likewise. Update all callers of
10782 gdb_timed_load.
10783
10784 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10785
10786 * cursal.exp: Pass binfile to gdb_load.
10787
10788 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10789
10790 * gdb.base/cursal.exp: Add "" to gdb_load call.
10791
10792 2006-07-29 Mark Kettenis <kettenis@gnu.org>
10793
10794 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10795 NetBSD/ELF targets.
10796
10797 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10798
10799 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10800 operator*.
10801
10802 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10803
10804 * gdb.base/completion.exp: Update for change in "file" behavior.
10805 * gdb.stabs/weird.exp: Likewise.
10806 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10807 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10808
10809 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10810
10811 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10812 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10813
10814 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10815
10816 * gdb.base/default.exp: Update source command error message.
10817 * gdb.base/help.exp: Update 'help source' message.
10818
10819 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10820
10821 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10822 test.
10823
10824 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10825
10826 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10827
10828 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10829
10830 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10831
10832 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10833
10834 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10835
10836 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10837
10838 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10839 *-*-openbsd* from targets for wich we expect ARM FPA floating
10840 point format.
10841
10842 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10843
10844 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10845
10846 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10847
10848 * gdb.base/annota3.exp: Expect frame-begin annotation.
10849
10850 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10851
10852 * gdb.base/help.exp: Adjust "help unset" test to accept
10853 any list of unset commands.
10854
10855 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10856 Daniel Jacobowitz <dan@codesourcery.com>
10857
10858 * gdb.cp/ref-params.exp: New test.
10859 * gdb.cp/ref-params.cc: New source file.
10860 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10861
10862 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10863
10864 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10865 spaces/tabs in regular expressions since they might not be there.
10866
10867 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10868
10869 * gdb.base/ifelse.exp: New file.
10870
10871 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10872
10873 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10874 line.
10875 * gdb.base/huge.exp: Loop over compilation to find a size that
10876 is acceptable.
10877 * gdb.base/remote.exp: Correct expected strings.
10878 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10879
10880 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10881
10882 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10883
10884 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10885
10886 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10887 native.
10888
10889 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10890
10891 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10892 enable stabs testing.
10893
10894 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10895
10896 * gdb.base/auxv.exp: Intercept undefined command messages before
10897 gdb_test_multiple does.
10898
10899 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10900
10901 * Makefile.in (host_alias): Remove.
10902 (target_alias): Use @target_noncanonical@.
10903 (site.exp): Don't set host_alias.
10904 * aclocal.m4: Remove contents. Include acx.m4.
10905 * configure: Regenerated.
10906 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10907
10908 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10909
10910 * lib/gdb.exp (gdb_load_cmd): New.
10911
10912 * gdb.base/fileio.c: Add system(NULL) test.
10913 * gdb.base/fileio.exp: Check it.
10914
10915 * gdb.base/break.c: Add 10a breakpoint at }
10916 * gdb.base/break.exp: Add test for breakpoint at }
10917 * gdb.cp/anon-union.cc: Add code at end of function.
10918 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10919 * gdb.mi/var-cmd.c: Add code at end of function.
10920 * gdb.mi/mi-var-display.exp: Adjust end of next.
10921 * gdb.mi/mi2-var-display.exp: Likewise.
10922 * gdb.base/fileio.c: Add stop function and insert calls at
10923 stopping places.
10924 * gdb.base/fileio.exp: Breakpoint stop function and remove
10925 explicit line number references.
10926
10927 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10928
10929 * gdb.base/del.exp (test_delete_alias): New function.
10930 Now check that both "del" and "d" work as aliases for "delete".
10931
10932 2006-05-18 Fred Fish <fnf@specifix.com>
10933
10934 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10935 required. Check for spurious output after program exits normally.
10936
10937 2006-05-17 Fred Fish <fnf@specifix.com>
10938
10939 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10940 gdb_load, so it works in the simulator.
10941
10942 2006-05-11 Fred Fish <fnf@specifix.com>
10943
10944 * gdb.base/bang.exp: Ignore unexpected output between the
10945 "program exited normally" and the gdb prompt, as many other
10946 tests do.
10947
10948 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10949
10950 * gdb.base/help.exp: Make "delete checkpoint" part option for
10951 "help d" and "help delete" tests.
10952
10953 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10954
10955 * gdb.mi/mi-basics.exp: Add missing serial number to
10956 expected output in some mi_gdb_test statements.
10957 * gdb.mi/mi2-basics.exp: Likewise.
10958
10959 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10960
10961 * gdb.base/del.c: New file.
10962 * gdb.base/del.exp: New testcase.
10963
10964 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10965
10966 * gdb.base/break.exp: Do not assume a breakpoint on
10967 main will actually be in $srcfile when optimizing.
10968 * gdb.base/savedregs.exp: Do not require that the dummy
10969 frame location match up to a symbol and source file location.
10970 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10971 will get printed without a mi_cmd_data_list_register_values prefix.
10972 (*-data-list-register-*): Correct regular expressions to expect the new
10973 pseudo d? floating point registers.
10974 * gdb.mi/mi2-regs.exp: Likewise.
10975
10976 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10977
10978 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10979 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10980 is allocated by the compiler.
10981 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10982 anons, e, anone to force their allocation by the compiler.
10983
10984 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10985
10986 * gdb.base/help.exp: Update expected text for help d and
10987 help delete.
10988
10989 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10990
10991 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10992 NetBSD/ELF targets.
10993
10994 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10995
10996 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10997 single-step breakpoint fails; make this a KFAIL on
10998 sparc*-*-openbsd*.
10999 * gdb.base/siginfo.exp: Likewise.
11000 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11001
11002 2006-04-26 Michael Snyder <msnyder@redhat.com>
11003
11004 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11005 which may have to consume output from other forks.
11006 Add tests to make sure that "delete fork" succeeded.
11007
11008 2006-04-20 Michael Snyder <msnyder@redhat.com>
11009
11010 * 2006-03-22 Jim Blandy <jimb@redhat.com>
11011 Add support for the Renesas M32C and M16C.
11012
11013 * gdb.asm/asm-source.exp: Add m32c target.
11014 * gdb.asm/m32c.inc: Support for m32c target.
11015
11016 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
11017
11018 * gdb.base/commands.exp (recursive_source_test): New test.
11019
11020 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
11021
11022 * gdb.base/float.exp: Add pattern for sparc targets.
11023
11024 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11025
11026 * gdb.base/commands.exp (stray_arg0_test): New test.
11027
11028 2006-03-30 Paul Brook <paul@codesourcery.com>
11029
11030 * gdb.mi/mi-until.exp: kfail broken until command.
11031 * gdb.mi/mi2-until.exp: Ditto.
11032
11033 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
11034
11035 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11036
11037 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
11038
11039 * gdb.base/prelink.exp: Anchor tested-for regular expression
11040 on gdb prompt.
11041
11042 2006-03-07 Paul Brook <paul@codesourcery.com>
11043
11044 * gdb.base/assign.exp: Correct fail message.
11045
11046 2006-03-07 Paul Brook <paul@codesourcery.com>
11047
11048 * lib/compiler.c: Extract armcc version number.
11049 * lib/compiler.cc: Ditto.
11050
11051 2006-03-07 Paul Brook <paul@codesourcery.com>
11052
11053 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
11054 additional_flags=-w.
11055 * gdb.arch/altivec-regs.exp: Ditto.
11056 * gdb.arch/e500-abi.exp: Ditto.
11057 * gdb.arch/e500-regs.exp: Ditto.
11058 * gdb.base/all-bin.exp: Ditto.
11059 * gdb.base/annota1.exp: Ditto.
11060 * gdb.base/annota3.exp: Ditto.
11061 * gdb.base/args.exp: Ditto.
11062 * gdb.base/arithmet.exp: Ditto.
11063 * gdb.base/assign.exp: Ditto.
11064 * gdb.base/async.exp: Ditto.
11065 * gdb.base/bang.exp: Ditto.
11066 * gdb.base/break.exp: Ditto.
11067 * gdb.base/call-rt-st.exp: Ditto.
11068 * gdb.base/completion.exp: Ditto.
11069 * gdb.base/cond-expr.exp: Ditto.
11070 * gdb.base/condbreak.exp: Ditto.
11071 * gdb.base/consecutive.exp: Ditto.
11072 * gdb.base/define.exp: Ditto.
11073 * gdb.base/display.exp: Ditto.
11074 * gdb.base/ena-dis-br.exp: Ditto.
11075 * gdb.base/environ.exp: Ditto.
11076 * gdb.base/eval-skip.exp: Ditto.
11077 * gdb.base/info-proc.exp: Ditto.
11078 * gdb.base/jump.exp: Ditto.
11079 * gdb.base/logical.exp: Ditto.
11080 * gdb.base/long_long.exp: Ditto.
11081 * gdb.base/maint.exp: Ditto.
11082 * gdb.base/miscexprs.exp: Ditto.
11083 * gdb.base/pc-fp.exp: Ditto.
11084 * gdb.base/pointers.exp: Ditto.
11085 * gdb.base/relational.exp: Ditto.
11086 * gdb.base/reread.exp: Ditto.
11087 * gdb.base/sect-cmd.exp: Ditto.
11088 * gdb.base/sep.exp: Ditto.
11089 * gdb.base/sepdebug.exp: Ditto.
11090 * gdb.base/until.exp: Ditto.
11091 * gdb.base/whatis-exp.exp: Ditto.
11092 * gdb.cp/annota2.exp: Ditto.
11093 * gdb.cp/annota3.exp: Ditto.
11094 * gdb.trace/actions.exp: Ditto.
11095 * gdb.trace/backtrace.exp: Ditto.
11096 * gdb.trace/circ.exp: Ditto.
11097 * gdb.trace/collection.exp: Ditto.
11098 * gdb.trace/deltrace.exp: Ditto.
11099 * gdb.trace/infotrace.exp: Ditto.
11100 * gdb.trace/limits.exp: Ditto.
11101 * gdb.trace/packetlen.exp: Ditto.
11102 * gdb.trace/passc-dyn.exp: Ditto.
11103 * gdb.trace/passcount.exp: Ditto.
11104 * gdb.trace/report.exp: Ditto.
11105 * gdb.trace/save-trace.exp: Ditto.
11106 * gdb.trace/tfind.exp: Ditto.
11107 * gdb.trace/tracecmd.exp: Ditto.
11108 * gdb.trace/while-dyn.exp: Ditto.
11109 * gdb.trace/while-stepping.exp: Ditto.
11110 * lib/gdb.exp: Ditto.
11111 (gdb_compile): Handle nowarning option.
11112
11113 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
11114
11115 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
11116 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
11117 Rename executable to prelinkt. Don't re-prelink if we didn't
11118 get a core file. Test prelink -u exit status to tell whether
11119 prelinking failed. Use gdb_test_multiple.
11120
11121 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11122
11123 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
11124 (do_tests): Call it.
11125
11126 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
11127
11128 * gdb.base/prelink.exp: New test.
11129 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
11130
11131 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
11132
11133 * gdb.fortran/derived-type.f90: New file.
11134 * gdb.fortran/derived-type.exp: New testcase.
11135
11136 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
11137
11138 * gdb.base/default.exp: Allow ';' as a directory separator.
11139
11140 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11141
11142 * gdb.base/help.exp (help add-symbol-file): Update.
11143
11144 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11145
11146 * gdb.base/help.exp (help load): Update expected results.
11147
11148 2006-02-19 Fred Fish <fnf@specifix.com>
11149
11150 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
11151 specifix hex value as part of results.
11152 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
11153
11154 2006-02-16 Fred Fish <fnf@specifix.com>
11155
11156 * gdb.base/whatis.c: Define variables using typedefs char_addr,
11157 ushort_addr, and slong_addr, so the typedefs are not optimized
11158 away.
11159 * gdb.base/whatis.exp: Add tests using type name for struct type,
11160 union type, enum type, and typedef.
11161
11162 2006-02-13 Mark Kettenis <kettenis@gnu.org>
11163
11164 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
11165
11166 2006-02-13 Jim Blandy <jimb@redhat.com>
11167
11168 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
11169 case where it takes two "next" commands to skip past the init
11170 call.
11171
11172 2006-02-12 Fred Fish <fnf@specifix.com>
11173
11174 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
11175 to handle cases where it takes two "next" commands to skip
11176 past the init call.
11177
11178 2006-02-07 Joel Brobecker <brobecker@adacore.com>
11179
11180 * gdb.ada/array_return.exp: Mark the last test as expected to fail
11181 on hppa32 targets.
11182
11183 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
11184
11185 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
11186 field.
11187
11188 2006-01-29 Mark Kettenis <kettenis@gnu.org>
11189
11190 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
11191
11192 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11193
11194 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
11195 files.
11196
11197 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11198
11199 * gdb.cp/maint.exp: Set complaints to a positive value.
11200
11201 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11202
11203 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
11204 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
11205 function name.
11206
11207 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11208
11209 * gdb.base/checkpoint.c: Update copyright notice. Include
11210 <stdlib.h>.
11211
11212 2006-01-04 Jim Blandy <jimb@redhat.com>
11213
11214 * gdb.asm/asm-source.exp: Independently provide default values for
11215 asm-flags and debug-flags. Use 'string equal' to do the
11216 comparison, not the implicit expr's '==' operator. Remove
11217 now-unneeded assignments to asm-flags. In h8300 case, place
11218 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
11219
11220 2006-01-04 Michael Snyder <msnyder@redhat.com>
11221
11222 * gdb.base/checkpoint.c: New file.
11223 * gdb.base/checkpoint.exp: New file.
11224 * gdb.base/multi-fork.c: New file.
11225 * gdb.base/multi-fork.exp: New file.
11226 * gdb.base/pi.txt: New file (data for checkpoint.c test).
11227
11228 2006-01-04 Fred Fish <fnf@specifix.com>
11229
11230 * gdb.base/ptype.c (foo): Add typedef.
11231 (intfoo): Add function.
11232 * gdb.base/ptype1.c: New file.
11233 * gdb.base/ptype.exp: Handle compilation and linking with two
11234 source files. Test that proper type for "foo" is found based
11235 on source context rather than first match found in symtabs.
11236
11237 2005-12-28 Mark Kettenis <kettenis@gnu.org>
11238
11239 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
11240 * gdb.asm/openbsd.inc: Indent commands.
11241
11242 2005-12-26 Mark Kettenis <kettenis@gnu.org>
11243
11244 * gdb.base/freebpcmd.exp: Increase timeout.
11245
11246 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
11247
11248 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
11249
11250 * gdb.base/default.exp: Update check for "show version".
11251
11252 2005-12-09 Randolph Chung <tausq@debian.org>
11253
11254 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
11255 * gdb.asm/pa64.inc: New file.
11256
11257 2005-12-09 Randolph Chung <tausq@debian.org>
11258
11259 * gdb.asm/common.inc: Indent commands.
11260 * gdb.asm/asmsrc1.s: Likewise.
11261 * gdb.asm/asmsrc2.s: Likewise.
11262
11263 2005-12-09 Randolph Chung <tausq@debian.org>
11264
11265 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
11266 (get_addr_of_sym): Remove duplicate print.
11267 (gen_core): xfail hppa*-*-hpux*, update expected output.
11268 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
11269 * gdb.arch/pa64-nullify.s: New file.
11270
11271 2005-12-09 Randolph Chung <tausq@debian.org>
11272
11273 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
11274
11275 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
11276
11277 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
11278 code generation for these functions.
11279 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
11280 error message.
11281
11282 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
11283
11284 * gdb.base/help.exp (help b, help br, help bre, help brea)
11285 (help break): Update the expected message.
11286
11287 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11288
11289 * gdb.asm/m68hc11.inc: Setup the data section.
11290 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11291 script for this test.
11292 (m6812-*-*): Likewise.
11293
11294 2005-11-09 Randolph Chung <tausq@debian.org>
11295
11296 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11297
11298 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11299
11300 * gdb.base/break.exp: Fix a comment typo.
11301
11302 2005-11-03 Jim Blandy <jimb@redhat.com>
11303
11304 Checked in by Elena Zannoni <ezannoni@redhat.com>
11305
11306 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
11307
11308 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
11309
11310 * gdb.arch/gdb1558.c: Include stdio.h.
11311
11312 2005-10-31 Mark Kettenis <kettenis@gnu.org>
11313
11314 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11315
11316 2005-10-31 Mark Kettenis <kettenis@gnu.org>
11317
11318 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11319
11320 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11321
11322 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11323 vscr" tests to better match output.
11324
11325 2005-10-12 Jim Blandy <jimb@redhat.com>
11326
11327 * gdb.base/structs.exp (any): New function.
11328 (test_struct_returns): Don't make any assumptions at all about
11329 what value the function returns when GDB can't set the return
11330 value.
11331
11332 2005-10-09 Joel Brobecker <brobecker@adacore.com>
11333
11334 * gdb.ada/arrayidx/p.adb: New file.
11335 * gdb.ada/arrayidx.exp: New testcase
11336
11337 2005-10-09 Joel Brobecker <brobecker@adacore.com>
11338
11339 * gdb.ada/array_return/pck.ads: New file.
11340 * gdb.ada/array_return/pck.adb: New file.
11341 * gdb.ada/array_return/p.adb: New file.
11342 * gdb.ada/array_return.exp: New testcase.
11343
11344 2005-10-03 Joel Brobecker <brobecker@adacore.com>
11345
11346 * gdb.base/arrayidx.c: New file.
11347 * gdb.base/arrayidx.exp: New testcase.
11348
11349 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
11350
11351 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11352 frames-invalid and breakpoints-invalid are no longer generated
11353 with level 3 so don't expect them in the output.
11354
11355 2005-09-27 Bob Rossi <bob@brasko.net>
11356
11357 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
11358 from test. Escape the | in mi_gdb_test call.
11359 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11360 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11361 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11362 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11363 expected regex's in mi_gdb_test calls.
11364 * lib/mi-support.exp: Remove arbitrary .* from tests.
11365 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11366 Fully anchor GDB/MI expected results in mi_gdb_test.
11367 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11368 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11369
11370 2005-09-26 Paul Brook <paul@codesourcery.com>
11371
11372 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11373
11374 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11375
11376 * bfp-test.c: New file.
11377 * bfp-test.exp: New testcase.
11378
11379 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11380
11381 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11382 of subarray and substring variable.
11383 * gdb.fortran/subarray.f: New source file for the test of subarray
11384 and substring variable evaluation.
11385 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11386 of string constant.
11387
11388 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11389
11390 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11391 copyright dates.
11392
11393 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11394
11395 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11396 powerpc altivec' test with an almost identical 'info vector' test.
11397
11398 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11399
11400 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11401 vscr" tests to match output.
11402
11403 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11404
11405 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11406 output.
11407
11408 2005-09-11 Bob Rossi <bob@brasko.net>
11409
11410 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11411 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11412 commands that return an MI output command and an asyncronous MI output
11413 command.
11414 * gdb.mi/mi-console.exp: Ditto.
11415
11416 2005-09-11 Bob Rossi <bob@brasko.net>
11417
11418 * gdb.mi/mi-var-child.c: Include <string.h>.
11419
11420 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11421
11422 * killed.exp: Correct gdb_expect syntax.
11423
11424 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
11425
11426 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11427
11428 2005-08-02 Bob Rossi <bob@brasko.net>
11429
11430 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11431 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11432 Change tests to inferior-tty-set/show.
11433 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11434 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11435 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11436 inferior. Use mi_gdb_test to get GDB and Inferior output.
11437 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11438 descriptor.
11439 (mi_inferior_tty_name): Add inferior PTY file name.
11440 (mi_gdb_start): Add INFERIOR_PTY parameter.
11441 (mi_gdb_test): Add IPATTERN parameter.
11442
11443 2005-08-02 Bob Rossi <bob@brasko.net>
11444
11445 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11446 parameter to mi_gdb_test.
11447 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11448
11449 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11450
11451 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11452 struct_declarations.
11453 * gdb.mi/mi-var-child.exp: Step over the initialization of
11454 struct_declarations.
11455
11456 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11457
11458 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11459 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11460 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11461 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11462 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11463 file.
11464
11465 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
11466
11467 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11468 (do_children_tests): Assign values to the extra elements.
11469
11470 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11471 them for tests for "-var-update --no-values" and
11472 "-var-update --all-values".
11473 Add test for "-var-list-children --simple-values".
11474
11475 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11476
11477 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11478 "-stack-list-locals --simple-values" Improve doc strings and
11479 comments.
11480
11481 2005-07-18 Mark Kettenis <kettenis@gnu.org>
11482
11483 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11484 *-*-openbsd*.
11485 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11486
11487 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11488 sigaltsatck'.
11489
11490 2005-07-14 Bob Rossi <bob@brasko.net>
11491
11492 * gdb.base/default.exp (tty): Changed output of command.
11493 * gdb.base/help.exp (help tty): Ditto.
11494
11495 2005-07-12 Mark Kettenis <kettenis@gnu.org>
11496
11497 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11498
11499 2005-07-10 Mark Kettenis <kettenis@gnu.org>
11500
11501 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11502 -stack-select-frame without arguments.
11503 (test_stack_frame_listing): Add test for newly implemented command
11504 -stack-info-frame.
11505
11506 2005-07-06 Bob Rossi <bob@brasko.net>
11507
11508 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11509 command.
11510 (Copyright): Update copyright.
11511
11512 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11513
11514 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11515 tests to evaluate exponentiation expression.
11516
11517 2005-06-29 Andreas Schwab <schwab@suse.de>
11518
11519 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11520 main to avoid warnings.
11521
11522 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11523
11524 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
11525
11526 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11527 -stack-select-frame without arguments.
11528 (test_stack_frame_listing): Add test for newly implemented command
11529 -stack-info-frame.
11530
11531 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11532
11533 * gdb.fortran/array-element.f: New file.
11534 * gdb.fortran/array-element.exp: New testcase.
11535
11536 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11537
11538 * gdb.base/bigcore.exp: Correct checks for systems which can
11539 not dump a large core file.
11540
11541 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11542
11543 * gdb.base/relocate.c: Add a copyright notice.
11544 (dummy): Remove.
11545 * gdb.base/relocate.exp: Test printing the values of variables
11546 from a relocatable file.
11547
11548 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11549
11550 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11551 excess MI output after an error.
11552
11553 2005-05-29 Joel Brobecker <brobecker@adacore.com>
11554
11555 * gdb.arch/alpha-step.c: New file.
11556 * gdb.arch/alpha-step.exp: New testcase.
11557
11558 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11559 Dennis Brueni <dennis@slickedit.com>
11560
11561 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11562 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11563 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11564 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11565 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11566 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11567 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11568
11569 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11570 Wu Zhou <woodzltc@cn.ibm.com>
11571
11572 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11573 IBM's xlc compiler.
11574 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11575 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11576
11577 2005-05-13 Jim Blandy <jimb@redhat.com>
11578
11579 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11580 calling gdb_suppress_entire_file.
11581 * gdb.base/charset.exp: Same.
11582 * gdb.base/call-rt-st.exp: Same.
11583
11584 2005-05-05 Bob Rossi <bob_rossi@cox.net>
11585
11586 * lib/gdb.exp (fullname_syntax): Added global regex.
11587 (fullname_syntax_POSIX): Ditto.
11588 (fullname_syntax_UNC): Ditto.
11589 (fullname_syntax_DOS_CASE): Ditto.
11590 (fullname_syntax_DOS): Ditto.
11591 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11592 fullname_syntax variable to scope and use it.
11593 (test_file_list_exec_source_files): Ditto.
11594 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11595
11596 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11597
11598 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11599
11600 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11601
11602 * lib/gdb.exp (skip_altivec_tests): New function, based on
11603 check_vmx_hw_available from the GCC testsuite.
11604 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11605 * lib/gdb.arch/altivec-regs.exp: Likewise.
11606
11607 2005-05-02 Jim Blandy <jimb@redhat.com>
11608
11609 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11610 calling gdb_suppress_entire_file.
11611
11612 2005-04-30 Randolph Chung <tausq@debian.org>
11613
11614 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11615 Slightly relax "sem_post" name checking.
11616
11617 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11618
11619 * gdb.base/unload.exp: Use new shared library infrastructure.
11620
11621 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11622
11623 * gdb.base/so-impl-ld.exp: Use new shared library
11624 infrastructure.
11625
11626 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
11627
11628 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11629 * gdb.asm/h8300.inc: New file.
11630
11631 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11632
11633 * gdb.base/shlib-call.exp: Change to use new shared library
11634 infrastructure.
11635
11636 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11637
11638 * gdb.base/pending.exp: Change to use new shared library
11639 infrastructure.
11640
11641 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11642
11643 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11644 use test_compiler_info instead of gcc_compiled, and update copyright.
11645
11646 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11647
11648 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11649 shared objects being adjusted and update copyright years.
11650
11651 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11652
11653 * ChangeLog: Correct some 2003-01-13 dates.
11654 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11655 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11656 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11657 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11658 gdb.trace/tfind.exp: Update copyright years.
11659
11660 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11661 Daniel Jacobowitz <dan@codesourcery.com>
11662
11663 * lib/gdb.exp (gdb_compile): Handle shlib=.
11664 (gdb_compile_shlib): New function.
11665
11666 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11667
11668 * lib/gdb.exp (test_compiler_info): Give argument a default value.
11669
11670 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11671
11672 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11673 gdb.server.
11674 * configure.ac: Likewise.
11675 * configure: Regenerated.
11676 * gdb.gdbserver/Makefile.in: Moved to...
11677 * gdb.server/Makefile.in: ... here.
11678 * gdb.gdbserver/server.c: Moved to...
11679 * gdb.server/server.c: ... here.
11680 * gdb.gdbserver/server-run.exp: Moved to...
11681 * gdb.server/server-run.exp: ... here.
11682
11683 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11684
11685 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11686 * configure.ac: Create gdb.gdbserver/Makefile.
11687 * configure: Regenerated.
11688 * lib/gdbserver-support.exp: New file, derived from
11689 config/gdbserver.exp.
11690 * config/gdbserver.exp: Use gdbserver-support.exp.
11691 * gdb.gdbserver/Makefile.in: New file.
11692 * gdb.gdbserver/server.c: New file.
11693 * gdb.gdbserver/server-run.exp: New file.
11694
11695 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11696
11697 * lib/gdb.exp (test_compiler_info): Return compiler_info
11698 if no arguments are given.
11699
11700 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11701
11702 * gdb.arch/altivec-abi.exp: Check for compiler and set
11703 use altivec' flag accordingly.
11704 * gdb.arch/altivec-regs.exp: Likewise.
11705
11706 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11707
11708 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11709
11710 2005-03-27 Andreas Schwab <schwab@suse.de>
11711
11712 * gdb.base/bigcore.c (main): Add missing mode argument in open
11713 call.
11714
11715 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11716
11717 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11718 downloads.
11719 * config/gdbserver.exp (gdb_load): Likewise.
11720
11721 2005-03-14 Paul Brook <paul@codesourcery.com>
11722
11723 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11724 targets.
11725
11726 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11727
11728 * gdb.dwarf2/dup-psym.S: New file.
11729 * gdb.dwarf2/dup-psym.exp: New testcase.
11730
11731 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11732
11733 * gdb.ada/exec_changed/first.adb: New file.
11734 * gdb.ada/exec_changed/second.adb: New file.
11735 * gdb.ada/exec_changed.exp: New testcase.
11736
11737 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11738
11739 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11740 (A2): New class.
11741 (main): Test operator+.
11742 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11743 breakpoint test.
11744
11745 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11746 * gdb.base/signull.exp: Disable if gdb,nosignals.
11747 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11748 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11749 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11750 * gdb.mi/mi2-console.exp: Likewise.
11751 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11752 continue output at start.
11753 (gdb_collect_locals_test): Robustify regexp.
11754 * gdb.trace/passc-dyn.exp: Fix comment typo.
11755 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11756
11757 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
11758
11759 * gdb.asm/asm-source.exp: Add iq2000 case.
11760 * gdb.asm/iq2000.inc: New file.
11761
11762 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
11763
11764 * gdb.base/command.exp: Change hardcoded value to regular expression.
11765 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11766
11767 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11768
11769 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11770 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11771 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11772 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11773 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11774
11775 2005-03-05 Mark Kettenis <kettenis@gnu.org>
11776
11777 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11778 changes.
11779
11780 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11781
11782 * lib/compiler.c: Add test for IBM's xlc compiler.
11783 * lib/compiler.cc: Likewise.
11784
11785 2004-02-24 Joel Brobecker <brobecker@adacore.com>
11786
11787 * gdb.ada/fixed_points.exp: Create compilation object directory
11788 before running the test.
11789 * gdb.ada/null_record.exp: Likewise.
11790 * gdb.ada/packed_array.exp: Likewise.
11791 * gdb.ada/start.exp: Likewise.
11792
11793 2005-02-15 Joel Brobecker <brobecker@adacore.com>
11794
11795 * gdb.ada/packed_array/pa.adb: New file.
11796 * gdb.ada/packed_array.exp: New testcase.
11797
11798 2005-02-10 Mark Kettenis <kettenis@gnu.org>
11799
11800 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11801 files.
11802
11803 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11804 on *-*-openbsd*. Correctly match whitespace in regukar
11805 expressions.
11806
11807 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11808
11809 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11810 PR exp/1821
11811 * gdb.base/gdb1821.c: New test file.
11812 * gdb.base/gdb1821.exp: New test file.
11813
11814 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11815
11816 * gdb.base/start.c: New file.
11817 * gdb.base/start.exp: New testcase.
11818
11819 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11820
11821 * gdb.ada/start/dummy.adb: New file.
11822 * gdb.ada/start.exp: New testcase.
11823
11824 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11825
11826 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11827 for printing symbols and statistics.
11828 Add test for using relative pathnames in "maint print msymbols" test.
11829 Mark "maint info sections DATA" XFAIL on Cygwin.
11830 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11831 tests.
11832
11833 2005-02-09 Andreas Schwab <schwab@suse.de>
11834
11835 Committed by Andrew Cagney <cagney@gnu.org>
11836 * gdb.base/remotetimeout.exp: New file.
11837
11838 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11839
11840 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11841
11842 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11843
11844 * gdb.ada/gnat_ada.gpr: New file.
11845 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11846 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11847 * configure.ac: No longer generate gnat_ada.gpr.
11848 * configure: Regenerate.
11849 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11850 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11851 * gdb.ada/null_record/bar.ads: Likewise.
11852 * gdb.ada/null_record/bar.adb: Likewise.
11853 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11854 * gdb.ada/null_record.exp (testdir): New variable.
11855 (testfile): executable is now in testdir subdirectory.
11856 (srcfile): Use full path to the main compilation unit.
11857 * gdb.ada/fixed_points.exp: Same changes as above.
11858
11859 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11860
11861 * gdb.base/interp.exp: New test.
11862
11863 2005-01-24 Andrew Cagney <cagney@gnu.org>
11864
11865 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11866
11867 2005-01-19 Andrew Cagney <cagney@gnu.org>
11868
11869 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11870 configure.ac not configure.in.
11871
11872 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11873 of powerpc*-*-*.
11874 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11875 * gdb.base/list.exp (test_list_function)
11876 (test_list_filename_and_function): Ditto.
11877 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11878
11879 2005-01-16 Andrew Cagney <cagney@gnu.org>
11880
11881 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11882
11883 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11884
11885 2005-01-14 Andrew Cagney <cagney@gnu.org>
11886
11887 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11888 * gdb.mi/mi2-var-cmd.exp: Ditto.
11889
11890 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11891
11892 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11893
11894 2005-01-07 Andrew Cagney <cagney@gnu.org>
11895
11896 * configure.ac: Rename configure.in, require autoconf 2.59.
11897 * configure: Re-generate.
11898 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11899 * gdb.stabs/configure: Re-generate.
11900 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11901 * gdb.hp/configure: Re-generate.
11902 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11903 autoconf 2.59.
11904 * gdb.hp/gdb.objdbg/configure: Re-generate.
11905 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11906 autoconf 2.59.
11907 * gdb.hp/gdb.defects/configure: Re-generate.
11908 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11909 autoconf 2.59.
11910 * gdb.hp/gdb.compat/configure: Re-generate.
11911 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11912 autoconf 2.59.
11913 * gdb.hp/gdb.base-hp/configure: Re-generate.
11914 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11915 autoconf 2.59.
11916 * gdb.hp/gdb.aCC/configure: Re-generate.
11917
11918 2004-12-15 Jim Blandy <jimb@redhat.com>
11919
11920 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11921 under NPTL when there is debugging info available for libpthread.
11922
11923 2004-12-13 Jerome Guitton <guitton@gnat.com>
11924
11925 * gdb.ada/fixed_points.c: New file.
11926 * gdb.ada/fixed_points.exp: New file.
11927
11928 2004-12-03 Randolph Chung <tausq@debian.org>
11929
11930 * gdb.arch/pa-nullify.exp: New file.
11931 * gdb.arch/pa-nullify.s: New file.
11932
11933 2004-11-30 Randolph Chung <tausq@debian.org>
11934
11935 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11936 instead of "tbug". Fix regexp to work properly with gdb_test.
11937
11938 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11939
11940 * gdb.base/bitfields2.exp: New test.
11941 * gdb.base/bitfields2.c: New file.
11942
11943 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11944
11945 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11946
11947 2004-11-16 Randolph Chung <tausq@debian.org>
11948
11949 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11950
11951 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11952
11953 * gdb.threads/threadapply.exp: Correct "macro details" test.
11954
11955 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11956
11957 * gdb.threads/threadapply.exp: New test.
11958 * gdb.threads/threadapply.c: New file.
11959
11960 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11961
11962 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11963 frames.
11964
11965 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11966
11967 * gdb.base/cursal.exp: New file.
11968 * gdb.base/cursal.c: New file.
11969
11970 2004-11-03 Andrew Cagney <cagney@gnu.org>
11971
11972 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11973
11974 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11975
11976 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11977 NetBSD/ELF targets.
11978
11979 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11980
11981 * gdb.threads/bp_in_thread.c: New file, copied from
11982 pthread_cond_wait.c.
11983 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11984 file, rather than reusing the .c file from another testcase.
11985
11986 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11987
11988 * gdb.ada/null_record.exp: Check where we stopped after
11989 sending the start command, instead of where the associated
11990 temporary breakpoint was inserted.
11991
11992 2004-10-14 Andrew Cagney <cagney@gnu.org>
11993
11994 * gdb.mi/gdb701.c (main): Return 0.
11995
11996 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11997
11998 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11999
12000 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
12001
12002 * gdb.threads/schedlock.c: Add comment markers to use to find
12003 line numbers.
12004 * gdb.threads/schedlock.exp: Adjust regex to handle the new
12005 comments.
12006 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12007 breakpoint lines.
12008
12009 2004-10-12 Daniel Jacobowitz <dan@debian.org>
12010
12011 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12012
12013 2004-10-12 Daniel Jacobowitz <dan@debian.org>
12014
12015 * configure.in: Add gdb.dwarf2.
12016 * configure: Regenerated.
12017 * Makefile.in: Add gdb.dwarf2.
12018 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12019 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12020 gdb.dwarf2/file1.txt: New files.
12021
12022 2004-10-11 Orjan Friberg <orjanf@axis.com>
12023
12024 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
12025 of "run", since the latter doesn't work with remote targets. Adjust
12026 the breakpoint numbering accordingly.
12027 * gdb.threads/pthread_cond_wait.exp: Ditto.
12028
12029 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
12030
12031 * gdb.base/overlays.exp: Update copyright years.
12032
12033 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
12034
12035 * gdb.base/overlays.exp: Disable if target is Linux.
12036
12037 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
12038
12039 * config/gdbserver.exp (gdb_load): Use right filename on remote.
12040
12041 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
12042
12043 * gdb.asm/asm-source.exp: Add m32r-linux target.
12044 * gdb.asm/m32r-linux.inc: New file.
12045
12046 2004-09-24 Andrew Cagney <cagney@redhat.com>
12047 David Anderson <anderson@redhat.com>
12048
12049 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
12050 command fails, assume things will work.
12051 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
12052 (_GNU_SOURCE): Define.
12053 (print_unsigned, print_hex): Change parameter to "long long".
12054 (print_byte_count): New function, use to print byte counts.
12055 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
12056 O_LARGEFILE.
12057 (main): Compute an upper bound on a corefile in max_core_size.
12058 Limit memory chunk size to max_core_size. Limit total memory
12059 allocated to max_core_size.
12060
12061 2004-09-23 Andrew Cagney <cagney@gnu.org>
12062
12063 * gdb.base/bigcore.exp: Replace the code that creates a corefile
12064 from a separate process with code that creates a corefile by
12065 making the inferior dump core.
12066
12067 2004-09-23 Mark Kettenis <kettenis@gnu.org>
12068
12069 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
12070 block.
12071
12072 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
12073
12074 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
12075 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
12076 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
12077 Likewise.
12078
12079 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
12080
12081 * gdb.java/jprint.exp: New test case for java inferior call.
12082 * gdb.java/jprint.java: Ditto.
12083
12084 2004-09-15 Joel Brobecker <brobecker@gnat.com>
12085
12086 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
12087
12088 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12089
12090 * gdb.threads/killed.c: Include <stdlib.h>.
12091 * gdb.threads/pthreads.c: Likewise.
12092
12093 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12094
12095 * gdb.threads/killed.c: Add copyright notice.
12096
12097 2004-09-10 Jason Molenda (jmolenda@apple.com)
12098
12099 * gdb.base/define.exp: Two new tests to verify zero space chars
12100 after 'if' and 'while' commands in a user-defined command is correctly
12101 parsed.
12102
12103 2004-09-08 Andrew Cagney <cagney@gnu.org>
12104
12105 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
12106 delivery test with duplicate at end of file.
12107
12108 2004-09-06 Mark Kettenis <kettenis@jive.nl>
12109
12110 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
12111
12112 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12113
12114 * config/hppro.exp: Removed.
12115
12116 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12117
12118 * config/sparclet.exp: Removed.
12119
12120 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12121
12122 * config/udi.exp: Removed.
12123
12124 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
12125
12126 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
12127 of "exp_continue".
12128 (advancei): Likewise.
12129
12130 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12131
12132 * gdb.base/unload.exp: Fix so messages aren't duplicated.
12133
12134 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
12135
12136 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
12137 to check for nodebug in executable.
12138 * gdb.gdb/observer.exp (setup_test): Likewise.
12139 * gdb.gdb/selftest.exp (test_with_self): Likewise.
12140 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
12141
12142 2004-09-01 Andrew Cagney <cagney@gnu.org>
12143
12144 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12145 files.
12146
12147 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12148
12149 * gdb.base/unload.exp: Fix expected warning message to match
12150 latest format.
12151
12152 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
12153
12154 * gdb.base/call-rt-st.exp: Fix typos.
12155
12156 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
12157
12158 * gdb.threads/thread_check.exp: New testcase.
12159 * gdb.threads/thread_check.c: New testcase.
12160
12161 2004-08-31 Andrew Cagney <cagney@gnu.org>
12162
12163 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
12164 (skip_to_handler_entry): New procedures. Test stepping into a
12165 handler when the breakpoint is at the handler's entry point.
12166
12167 2004-08-30 Andrew Cagney <cagney@gnu.org>
12168
12169 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
12170 gdb/1757.
12171
12172 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12173
12174 With code from Manoj Iyer <manjo@austin.ibm.com>:
12175 * lib/gdb.exp (gdb_file_cmd): Return more information in the
12176 return value. Add an arm for "no debugging symbols found".
12177 Change a stray "error" to "perror".
12178 (gdb_run_cmd): Adapt to new return value.
12179 * gdb.base/remote.exp: Adapt to new return value.
12180 * gdb.gdb/complaints.exp: Likewise.
12181 * gdb.gdb/observer.exp: Likewise.
12182 * gdb.gdb/selftest.exp: Likewise.
12183 * gdb.gdb/xfullpath.exp: Likewise.
12184
12185 2004-08-27 Joel Brobecker <brobecker@gnat.com>
12186
12187 * gdb.threads/bp_in_thread.exp: New testcase.
12188
12189 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12190
12191 Fix PR testsuite/1735.
12192 * gdb.threads/schedlock.c (thread_function): Add a cast
12193 to suppress a gcc warning.
12194 * gdb.threads/thread-specific.c (thread_function): Likewise.
12195
12196 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12197
12198 * gdb.base/unload.c: Include <stdlib.h>.
12199
12200 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12201
12202 From Paul Gilliam <pgilliam@us.ibm.com>:
12203 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
12204 synchronized after the "return".
12205
12206 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12207
12208 * gdb.mi/basics.c: Include <stdio.h>.
12209 * gdb.mi/pthreads.c: Include <stdlib.h>.
12210 * gdb.mi/var-cmd.c: Include <stdlib.h>.
12211
12212 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12213
12214 * gdb.threads/schedlock.c: Add copyright notice.
12215
12216 2004-08-25 Andrew Cagney <cagney@gnu.org>
12217
12218 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
12219 (skip_over_handler, breakpoint_over_hander): New test procedures.
12220 (advance, advancei): Add a proper prefix, do not use
12221 rerun_to_main.
12222 * gdb.base/sigstep.c (main): Change to use an infinite loop.
12223
12224 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
12225
12226 * gdb.mi/basics.c: Add copyright notice.
12227 * gdb.mi/var-cmd.c: Add copyright notice.
12228
12229 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12230
12231 * lib/gdb.exp: Remove signed_keyword_not_used.
12232 * lib/compiler.c: Likewise.
12233 * lib/compiler.cc: Likewise.
12234
12235 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12236
12237 * gdb.base/whatis.c: Remove conditional disabling of "signed".
12238 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
12239
12240 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12241
12242 * gdb.base/whatis.c: Add copyright notice.
12243
12244 2004-08-20 Mark Kettenis <kettenis@gnu.org>
12245
12246 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
12247 it to skip the breakpoints encoded in the inline assembly.
12248
12249 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12250
12251 * Makefile.in: Add gdb.fortran.
12252
12253 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12254
12255 * gdb.base/call-sc.exp (test_scalar_returns):
12256 Fix cut-and-paste glitch in "Make fun return now".
12257
12258 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12259
12260 * configure.in: Add gdb.fortran.
12261 * configure: Regenerate.
12262 * gdb.fortran/Makefile.in: New file.
12263 * lib/gdb.exp (skip_fortran_tests): New procedure.
12264
12265 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12266
12267 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
12268 reference to bug-gnu@prep.ai.mit.edu.
12269 * gdb.mi/mi-var-child.exp: Likewise.
12270 * gdb.mi/mi-var-cmd.exp: Likewise.
12271 * gdb.mi/mi-var-display.exp: Likewise.
12272 * gdb.mi/mi2-var-block.exp: Likewise.
12273 * gdb.mi/mi2-var-child.exp: Likewise.
12274 * gdb.mi/mi2-var-cmd.exp: Likewise.
12275 * gdb.mi/mi2-var-display.exp: Likewise.
12276
12277 2004-08-15 Mark Kettenis <kettenis@gnu.org>
12278
12279 * gdb.base/unload.c (main): Make local variable msg const.
12280
12281 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12282
12283 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
12284 to bug-gnu@prep.ai.mit.edu.
12285 * gdb.mi/mi-disassemble.exp: Likewise.
12286 * gdb.mi/mi-eval.exp: Likewise.
12287 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12288 default line number.
12289 * gdb.mi/mi-return.exp: Likewise.
12290 * gdb.mi/mi-simplerun.exp: Likewise.
12291 * gdb.mi/mi-stack.exp: Likewise.
12292 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12293 number with explicit range test.
12294 * gdb.mi/mi-watch.exp: Likewise.
12295 * gdb.mi/mi2-break.exp: Likewise.
12296 * gdb.mi/mi2-cli.exp: Likewise.
12297 * gdb.mi/mi2-disassemble.exp: Likewise.
12298 * gdb.mi/mi2-eval.exp: Likewise.
12299 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12300 default line number.
12301 * gdb.mi/mi2-return.exp: Likewise.
12302 * gdb.mi/mi2-simplerun.exp: Likewise.
12303 * gdb.mi/mi2-stack.exp: Likewise.
12304 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12305 number with explicit range test.
12306 * gdb.mi/mi2-watch.exp: Likewise.
12307
12308 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12309
12310 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12311 * gdb.cp/m-static.exp: Likewise.
12312 * gdb.cp/rtti.exp: Likewise.
12313
12314 2004-08-14 Mark Kettenis <kettenis@gnu.org>
12315
12316 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12317
12318 2004-08-14 Eli Zaretskii <eliz@gnu.org>
12319
12320 * ChangeLog: Prefix Local Variables with semi-colons and indent
12321 the reference to older ChangeLog files, to fix fontification in
12322 Emacs.
12323
12324 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12325
12326 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12327 * gdb.mi/mi2-break.exp: Likewise.
12328
12329 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12330
12331 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12332
12333 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12334
12335 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12336
12337 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12338
12339 * gdb.cp/classes.exp: Remove unused declarations. Just let
12340 test names default instead of providing special names. Remove
12341 extraneous demangler test.
12342
12343 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12344
12345 * gdb.base/unload.exp: New test for breakpoints in dynamically
12346 loaded libraries.
12347 * gdb.base/unload.c: Ditto.
12348 * gdb.base/unloadshr.c: Ditto.
12349
12350 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12351
12352 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12353 cp_test_ptype_class.
12354 (test_enums): Likewise.
12355
12356 2004-08-10 Andrew Cagney <cagney@gnu.org>
12357
12358 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12359 files.
12360
12361 2004-08-10 Andrew Cagney <cagney@gnu.org>
12362
12363 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12364 init_malloc call.
12365
12366 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12367
12368 * ChangeLog: Add copyright notice. The notice is copied
12369 from emacs 21.3 top level ChangeLog.
12370
12371 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12372
12373 * lib/cp-support.exp: New file.
12374 * lib/cp-support.exp (cp_test_type_class): New function.
12375 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12376 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12377 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12378 cp_test_ptype_class.
12379
12380 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12381
12382 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12383 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12384 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12385 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12386 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12387 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12388 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12389 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12390 gdb.mi/mi2-watch.exp: Update copyright years.
12391
12392 2004-08-09 Mark Kettenis <kettenis@gnu.org>
12393
12394 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12395
12396 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12397
12398 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12399 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12400 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12401 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12402 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12403 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12404 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12405 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12406 gdb.mi/mi-watch.exp: Update copyright years.
12407
12408 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12409
12410 PR gdb/1738
12411 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12412 from a breakpoint with a pending signal.
12413
12414 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12415
12416 PR gdb/1736
12417 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12418 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12419 the prompt.
12420 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12421
12422 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12423
12424 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12425
12426 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12427
12428 PR gdb/1736
12429 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12430 for i?86-*-linux*.
12431
12432 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12433
12434 * gdb.arch/i386-prologue.exp: Compile without debug information.
12435
12436 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12437
12438 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12439 rather than asking gdb to search.
12440
12441 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12442
12443 * gdb.base/gcore.c: Include <string.h>.
12444
12445 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12446
12447 * gdb.base/gcore.c: Add copyright notice.
12448
12449 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12450
12451 * gdb.base/freebpcmd.c: Include <stdio.h>.
12452 * gdb.base/long_long.c: Include <string.h>.
12453 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12454 * gdb.base/siginfo.c: Include <string.h>.
12455 * gdb.base/sigstep.c: Include <string.h>.
12456
12457 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12458
12459 * gdb.base/complex.c: Include <stdlib.h>.
12460
12461 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12462
12463 * gdb.base/complex.c: Add copyright notice.
12464
12465 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12466
12467 * gdb.base/charset.c: Include <stdlib.h>.
12468
12469 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12470
12471 * gdb.base/auxv.c: Include <stdlib.h>.
12472
12473 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12474
12475 * gdb.base/auxv.c: Add copyright notice.
12476
12477 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12478
12479 * gdb.base/coremaker.c: Add copyright notice.
12480 * gdb.base/coremaker2.c: Add copyright notice.
12481
12482 2004-08-04 Andrew Cagney <cagney@gnu.org>
12483
12484 * gdb.base/store.exp: Update copyright.
12485 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12486 names, do not import gdb_prompt.
12487
12488 2004-08-01 Andrew Cagney <cagney@gnu.org>
12489
12490 Fix PR testsuite/1729.
12491 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12492 not use capture_value with value 4.
12493 (capture_value): Add optional test name parameter.
12494 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12495 the prefix, pass to capture_value.
12496
12497 2004-08-01 Mark Kettenis <kettenis@gnu.org>
12498
12499 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12500 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12501 (main): Call new function.
12502
12503 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12504
12505 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12506
12507 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12508
12509 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12510
12511 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12512
12513 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
12514 Accept more values of vtbl pointer. Remove some messages
12515 about "obsolete gcc or gdb".
12516
12517 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12518
12519 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12520
12521 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12522
12523 * gdb.base/asm-source.exp: Properly convert target board
12524 debug flags from gcc format to binutils format.
12525
12526 2004-07-28 Mark Kettenis <kettenis@gnu.org>
12527
12528 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12529 gdb1718". PR backtrace/1718 partially fixed.
12530
12531 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12532
12533 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12534
12535 2004-07-26 Nick Clifton <nickc@redhat.com>
12536
12537 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12538 good default value for a specific architecture is available then
12539 set it to that value. Otherwise default to the -gstabs switch.
12540 Remove the -g... switches from the asm-flags variable. Allow the
12541 target board info to override the value if it wants to. Pass the
12542 switch on the assembler command line.
12543
12544 2004-07-23 Mark Kettenis <kettenis@gnu.org>
12545
12546 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12547 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12548 (main): Call new function.
12549
12550 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12551
12552 Test for PR exp/1715.
12553 * gdb.base/radix.exp: Refactor common procedures. Make all
12554 test names unique. Change XFAIL to KFAIL.
12555
12556 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12557
12558 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12559 * gdb.ada/gnat_ada.gin: ... to here.
12560 * configure.in: Use gnat_ada.gin.
12561 * configure: Regenerate.
12562
12563 2004-07-20 Andrew Cagney <cagney@gnu.org>
12564
12565 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12566 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12567 XFAILs. Clean up test messages and comments. Check backtraces.
12568 Delete re-sync code.
12569
12570 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12571
12572 Fix PR cli/740.
12573 * gdb.base/annota1.exp: Honor gdb,nosignals.
12574 * gdb.base/annota3.exp: Likewise.
12575
12576 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12577
12578 * lib/java.exp: Update copyright notice.
12579
12580 2004-07-19 Andrew Cagney <cagney@gnu.org>
12581
12582 * gdb.base/selftest.exp: Copy file from here ...
12583 * gdb.gdb/selftest.exp: ... to here.
12584
12585 2004-07-16 Andrew Cagney <cagney@redhat.com>
12586
12587 * lib/insight-support.exp: Delete file.
12588 * lib/java.exp (java_init): Fix copyright.
12589
12590 2004-07-16 Andrew Cagney <cagney@gnu.org>
12591
12592 * gdb.base/restore.c: Append "prologue" to comments marking the a
12593 function's prologue.
12594 * gdb.base/restore.exp: Update copyright, re-indent.
12595 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12596 callerN" prefix where needed. Update patterns that match a
12597 function's prologue.
12598
12599 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12600
12601 * gdb.base/restore.c: Add copyright notice.
12602
12603 2004-07-16 Andrew Cagney <cagney@gnu.org>
12604
12605 * gdb.base/logical.exp: Update copyright.
12606 (evaluate): New procedure. Use to re-implement tests using
12607 several tables.
12608
12609 2004-07-14 Martin Hunt <hunt@redhat.com>
12610
12611 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12612 which fixes some problems where init.tcl was not found.
12613
12614 2004-07-13 Andrew Cagney <cagney@gnu.org>
12615
12616 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12617 (check_sizeof, check_valueof): Do not include the output in the
12618 test name. Use gdb_test.
12619 (get_valueof): Use gdb_test_multiple.
12620
12621 * gdb.base/step-test.exp: Update copyright. Use
12622 gdb_test_multiple. Ensure that test names do not include
12623 architecture dependent output.
12624
12625 * gdb.gdb/observer.exp: Update copyright.
12626 (setup_test): Use gdb_test_multiple.
12627 (attach_first_observer, attach_second_observer)
12628 (attach_third_observer, detach_first_observer)
12629 (detach_second_observer, detach_third_observer)
12630 (reset_counters, check_counters): Make $message a prefix.
12631 (test_normal_stop_notifications): Add "args" parameter - a list of
12632 init functions to be called. Make $message a prefix,
12633 (test_observer_normal_stop): Change the message prefixes so that
12634 they are unique, pass the attach / detach procedures to
12635 test_normal_stop_notifications.
12636
12637 * gdb.base/signull.exp (test_segv): Prefix all tests with
12638 "${name}". Clean up test messages.
12639
12640 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12641
12642 * gdb.base/ena-dis-br.exp: Update copyright.
12643 (break_at): New function. Replace send_gdb with gdb_test,
12644 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12645 ignore count, not stopped at bpt", with KFAIL.
12646
12647 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
12648
12649 * gdb.base/attach.exp: Remove cleanupfile handling.
12650
12651 2004-07-12 Andrew Cagney <cagney@gnu.org>
12652
12653 * gdb.base/annota1.exp: Cleanup corefile test name.
12654 * gdb.base/annota3.exp: Ditto.
12655
12656 2004-07-12 Andrew Cagney <cagney@gnu.org>
12657
12658 * gdb.base/signals.exp: Clean up copyright, re-indent.
12659
12660 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12661 gdb_test and gdb_test_multiple.
12662
12663 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12664
12665 * gdb.java/jmain.exp: Fix expected line number for main to
12666 break at. Set XFAIL for break at main test since gcj does not
12667 provide line number info for first statement in main.
12668
12669 2004-07-08 Andrew Cagney <cagney@gnu.org>
12670
12671 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12672
12673 * gdb.base/sigbpt.exp: Make the common part of each test name a
12674 prefix instead of suffix.
12675
12676 2004-07-07 Bob Rossi <bob_rossi@cox.net>
12677
12678 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12679 test from test_tbreak_creation_and_listing to
12680 test_file_list_exec_source_file
12681 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12682 Changed name of test from test_tbreak_creation_and_listing to
12683 test_file_list_exec_source_file
12684
12685 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12686
12687 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12688 the jmisc() constructor instead of <init>.
12689 * gdb.java/jmisc1.exp: Ditto.
12690
12691 2004-07-07 Andrew Cagney <cagney@gnu.org>
12692
12693 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12694 corrupting the PC.
12695
12696 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12697
12698 * gdb.cp/templates.exp: Accept whitespace change in demangler
12699 output.
12700
12701 2004-07-06 Andrew Cagney <cagney@gnu.org>
12702
12703 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12704
12705 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12706
12707 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12708 * lib/compiler.cc: Likewise.
12709
12710 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12711
12712 * lib/compiler.cc: Work around string preprocessing problem
12713 with old hp c++ compiler.
12714 * lib/compiler.c: Likewise.
12715
12716 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12717
12718 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12719 directives to conditionalize symbol prefixing.
12720 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12721 additional_flags handling. Add underscore prefix for Cygwin.
12722 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12723 conditionalize symbol prefixing.
12724 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12725 additional_flags handling. Add underscore prefix for Cygwin.
12726
12727 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12728
12729 * gdb.base/bigcore.exp: Skip test on Cygwin.
12730
12731 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12732
12733 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12734 formats for "info register". Use gdb_test_multiple. Fix
12735 the "invalid register" test.
12736
12737 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
12738
12739 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12740 PID for Cygwin. Add Cygwin specific strings to check for in some
12741 tests.
12742 (do_attach_tests): Add a test for user interaction when attaching
12743 to a process with no matching symbol table already loaded.
12744
12745 2004-06-26 Andrew Cagney <cagney@gnu.org>
12746
12747 Test PR java/1567 and PR java/1565.
12748 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12749 * gdb.java/jmisc2.exp: Delete file.
12750
12751 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12752
12753 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12754
12755 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
12756
12757 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12758 attach process.
12759
12760 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12761
12762 * gdb.cp/pr-1553.exp: Remove.
12763
12764 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12765
12766 * gdb.cp/pr-1553.cc: Remove.
12767 * gdb.cp/pr-1553.exp: Disable this test.
12768
12769 2004-06-20 Jim Blandy <jimb@redhat.com>
12770
12771 Fix PR testsuite/1680.
12772 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12773 regular expressions.
12774
12775 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12776
12777 Fix PR testsuite/1679.
12778 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12779 Issue an UNSUPPORTED result instead.
12780
12781 2004-06-18 Jim Blandy <jimb@redhat.com>
12782
12783 * gdb.base/charset.exp: Only send a control-C if we see a new
12784 prompt and incomplete command.
12785
12786 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12787
12788 * gdb.cp/pr-574.cc: Add copyright notice.
12789
12790 2004-06-17 Jim Blandy <jimb@redhat.com>
12791
12792 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12793 cases where the regexp has no groups; this grabs random text from
12794 the previous test suite, whatever that was.
12795
12796 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12797
12798 * gdb.cp/printmethod.cc: Add copyright notice.
12799
12800 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12801
12802 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12803
12804 2004-06-16 Andrew Cagney <cagney@gnu.org>
12805
12806 * gdb.base/signull.c: Update copyright. Include <string.h>.
12807 (bowler): Replace data_pointer with data_read
12808 and data_write cases. Add code_descriptor case.
12809 (zero, desc): New array and pointer.
12810 (data, code): Change to simple pointers.
12811 * gdb.base/signull.exp: Fix probe pattern matching a function
12812 descriptor SIGSEGV. Replace data_pointer with data_read and
12813 data_write tests.
12814
12815 2004-06-16 Andrew Cagney <cagney@gnu.org>
12816
12817 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12818
12819 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12820
12821 * gdb.base/long_long.c: Add copyright notice.
12822
12823 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12824
12825 * gdb.base/long_long.exp: Remove reference to
12826 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12827 to gdb_breakpoint and gdb_continue_to_breakpoint.
12828
12829 2004-06-14 Jim Blandy <jimb@redhat.com>
12830
12831 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12832 endian case.
12833
12834 2004-06-14 Andrew Cagney <cagney@gnu.org>
12835
12836 * gdb.base/gcore.exp (capture_command_output): Delete the always
12837 passing tests containing inferior values.
12838 * gdb.base/ending-run.exp: Do not include the breakpoint address
12839 in the test message. Update copyright.
12840 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12841 size in the test name, use gdb_test_multiple. Update copyright.
12842
12843 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12844
12845 * gdb.cp/ref-types.cc: Add copyright notice.
12846
12847 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12848
12849 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12850 hp_aCC_compiler.
12851 * lib/compiler.cc: Likewise.
12852 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12853 'set' commands. Log diagnostics for other lines. Set
12854 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12855
12856 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12857
12858 * gdb.cp/try_catch.cc: Add copyright notice.
12859
12860 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12861
12862 * gdb.cp/userdef.cc: Add copyright notice.
12863
12864 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12865
12866 * gdb.cp/virtfunc.cc: Add copyright notice.
12867
12868 2004-06-11 Randolph Chung <tausq@debian.org>
12869
12870 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12871 problem.
12872
12873 2004-06-10 Andrew Cagney <cagney@gnu.org>
12874
12875 * lib/compiler.cc, lib/compiler.c: Append either
12876 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12877 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12878 instead of gcc-3-3.
12879
12880 2004-06-09 Andrew Cagney <cagney@gnu.org>
12881
12882 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12883 gdb/1455, bug is specific to "long long" and "double".
12884
12885 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12886 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12887 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12888 fixed.
12889
12890 2004-06-09 Andrew Cagney <cagney@gnu.org>
12891
12892 * gdb.base/structs.exp (test_struct_returns): Replace
12893 "return_value_unknown" and "finish_value_unknown" by
12894 "return_value_known" and "finish_value_known". Instead of
12895 "return_value_unknown" iff "finish_value_unknown", check
12896 "return_value_known" implies "finish_value_known".
12897
12898 2004-06-08 Martin Hunt <hunt@redhat.com>
12899
12900 * gdb.base/float.exp: Add pattern for mips targets.
12901
12902 2004-06-08 Randolph Chung <tausq@debian.org>
12903
12904 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12905 message for unknown architectures more clear.
12906
12907 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12908
12909 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12910 start the execution of the program.
12911
12912 2004-06-07 Jim Blandy <jimb@redhat.com>
12913
12914 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12915 * gdb.arch/i386-cpuid.h: New helper file.
12916
12917 2004-06-07 Randolph Chung <tausq@debian.org>
12918
12919 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12920 has started.
12921
12922 2004-06-04 Roland McGrath <roland@redhat.com>
12923
12924 Fix PR gdb/1647.
12925 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12926 differently to be robust to output buffering differences.
12927
12928 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12929
12930 * gdb.threads/pthreads.exp: Update copyright years.
12931 (check_control_c): Change asynchronous 'after' to synchronous.
12932
12933 2004-06-04 Roland McGrath <roland@redhat.com>
12934
12935 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12936 next gdb prompt.
12937
12938 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12939
12940 Fix PR gdb/1636.
12941 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12942 calls to synchronous.
12943
12944 2004-05-26 Jim Blandy <jimb@redhat.com>
12945
12946 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12947
12948 2004-05-24 Randolph Chung <tausq@debian.org>
12949
12950 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12951 * gdb.asm/pa.inc: New file.
12952
12953 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12954
12955 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12956
12957 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12958 Daniel Jacobowitz <drow@mvista.com>
12959
12960 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12961 GDB prompt.
12962
12963 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12964
12965 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12966 setjmp/longjmp. Use sigaction instead of signal.
12967
12968 2004-05-19 J. Brobecker <brobecker@gnat.com>
12969 Michael Snyder <msnyder@redhat.com>
12970
12971 * gdb.threads/pthread_cond_wait.c: New file.
12972 * gdb.threads/pthread_cond_wait.exp: New testcase.
12973
12974 2004-05-13 Andrew Cagney <cagney@redhat.com>
12975
12976 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12977 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12978
12979 2004-05-11 Andrew Cagney <cagney@redhat.com>
12980
12981 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12982 fixed but revealed gdb/1639.
12983
12984 2004-05-10 Andrew Cagney <cagney@redhat.com>
12985
12986 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12987 func1" and "next to 2nd alarm", kernel bug avoided.
12988
12989 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12990
12991 PR external/1568
12992 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12993 XFAIL if it is smaller than bytes_allocated.
12994 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12995 (main): Make chunks_allocated unsigned. Correct comment.
12996
12997 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12998
12999 * gdb.arch/powerpc-aix-prologue.c: New file.
13000 * gdb.arch/powerpc-aix-prologue.exp: New file.
13001
13002 2004-05-07 Jim Blandy <jimb@redhat.com>
13003
13004 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13005 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13006
13007 2004-05-06 Joel Brobecker <brobecker@gnat.com>
13008
13009 * gdb.base/sep.exp: No longer setup_kfail when the program was
13010 built with dwarf2.
13011
13012 2004-05-05 Jim Ingham <jingham@apple.com>
13013
13014 * gdb.base/pending.exp: Make sure pending breakpoints
13015 preserve the ignore count.
13016
13017 2004-04-27 Jerome Guitton <guitton@gnat.com>
13018
13019 * i386-prologue.exp: Add testcase for jump instruction as first
13020 instruction of the real code.
13021 * i386-prologue.c (jump_at_beginning): New function.
13022
13023 2004-04-28 Mark Kettenis <kettenis@gnu.org>
13024
13025 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13026 x86_64-*-*.
13027
13028 2004-04-28 Mark Kettenis <kettenis@gnu.org>
13029
13030 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13031 i*86-*-*.
13032
13033 2004-04-25 Mark Kettenis <kettenis@gnu.org>
13034
13035 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13036 expression that checks the return type.
13037
13038 2004-04-23 Andrew Cagney <cagney@redhat.com>
13039
13040 * gdb.base/call-sc.exp: New test of scalar call/return values.
13041 * gdb.base/call-sc.c: Ditto.
13042
13043 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13044
13045 * gdb.threads/manythreads.c: Reduce thread stack size.
13046
13047 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13048
13049 * gdb.threads/manythreads.c: Add copyright notice.
13050
13051 2004-04-23 Andrew Cagney <cagney@redhat.com>
13052
13053 * gdb.base/siginfo.exp: Better handle step out of signal.
13054 * gdb.base/sigstep.exp: Ditto.
13055
13056 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
13057 Daniel Jacobowitz <drow@mvista.com>
13058
13059 * gdb.threads/manythreads.c: New testcase.
13060 * gdb.threads/manythreads.exp: Ditto.
13061
13062 2004-04-22 Jim Blandy <jimb@redhat.com>
13063
13064 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
13065 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
13066
13067 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
13068
13069 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
13070
13071 2004-04-21 Andrew Cagney <cagney@redhat.com>
13072
13073 * gdb.base/sigstep.c: New file.
13074 * gdb.base/sigstep.exp: New file.
13075
13076 2004-04-16 Joel Brobecker <brobecker@gnat.com>
13077
13078 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
13079 call to observer_notify_normal_stop.
13080
13081 2004-04-15 Andrew Cagney <cagney@redhat.com>
13082
13083 * gdb.base/siginfo.c: New file.
13084 * gdb.base/siginfo.exp: New file.
13085
13086 2004-04-12 J. Brobecker <brobecker@gnat.com>
13087
13088 * gdb.base/sep.exp: Fix typo in comment.
13089
13090 2004-04-12 J. Brobecker <brobecker@gnat.com>
13091
13092 * gdb.base/sep.c: New file.
13093 * gdb.base/sep-proc.c: New file.
13094 * gdb.base/sep.exp: New testcase.
13095
13096 2004-04-09 Mark Kettenis <kettenis@gnu.org>
13097
13098 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
13099 support.
13100
13101 2004-04-05 Andrew Cagney <cagney@redhat.com>
13102
13103 * gdb.base/sigaltstack.c: New file.
13104 * gdb.base/sigaltstack.exp: New file.
13105
13106 2004-04-04 Joel Brobecker <brobecker@gnat.com>
13107
13108 * gdb.base/foll-fork.exp: Update the expected output for
13109 "help set follow-fork-mode", to match a change that was made
13110 to the help of this variable on 2004-01-13.
13111
13112 2004-04-01 Joel Brobecker <brobecker@gnat.com>
13113
13114 * lib/ada.exp: Add copyright notice.
13115 * bar.ads: Likewise.
13116 * bar.adb: Likewise.
13117 * null_record.adb: Likewise.
13118 * null_record.exp: Likewise.
13119 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
13120
13121 2004-04-01 Joel Brobecker <brobecker@gnat.com>
13122
13123 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
13124 * configure: Regenerate.
13125
13126 2004-04-01 Joel Brobecker <brobecker@gnat.com>
13127
13128 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
13129 to build the application. Remove the message printed when in
13130 verbose mode, redundant with the UNSUPPORTED message above.
13131
13132 2004-03-31 Joel Brobecker <brobecker@gnat.com>
13133
13134 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
13135 * gdb.ada (null_record.exp): New testcase.
13136
13137 2004-03-31 Joel Brobecker <brobecker@gnat.com>
13138
13139 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
13140
13141 2004-03-31 Joel Brobecker <brobecker@gnat.com>
13142
13143 * gdb.ada: New subdirectory.
13144 * gdb.ada/Makefile.in: New file.
13145 * gdb.ada/gnat_ada.gpr.in: New file.
13146
13147 2004-03-31 Joel Brobecker <brobecker@gnat.com>
13148
13149 * lib/ada.exp: New file.
13150
13151 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
13152
13153 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
13154 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
13155
13156 2004-03-22 Andrew Cagney <cagney@redhat.com>
13157
13158 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
13159 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
13160 Problem identified by Ulrich Weigand.
13161
13162 2004-03-17 David Carlton <carlton@kealia.com>
13163
13164 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
13165 PR c++/826.
13166
13167 2004-03-16 Roland McGrath <roland@redhat.com>
13168
13169 * gdb.base/auxv.exp: New file.
13170 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
13171
13172 2004-03-12 David Carlton <carlton@kealia.com>
13173
13174 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
13175 * gdb.cp/pr-1553.cc: Ditto.
13176 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
13177 pass branch.
13178
13179 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
13180
13181 * gdb.cp/templates.exp: Accept more template types.
13182
13183 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13184
13185 From Corinna Vinschen with modifications.
13186 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
13187 local variable obj_with_enum.
13188 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
13189 results with obj_with_enum.
13190
13191 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13192
13193 * gdb.cp/classes.cc: New file, copied from misc.cc.
13194 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
13195
13196 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13197
13198 * gdb.cp/misc.cc: Add copyright notice.
13199
13200 2004-03-05 David Carlton <carlton@kealia.com>
13201
13202 * gdb.cp/rtti.exp: Add 'print *obj3' test.
13203 * gdb.cp/rtti.h: Update copyright.
13204 (namespace n2::n3): New.
13205 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
13206 (n2::n3::func3): New.
13207 (main): Call n2::n3::func3.
13208 * gdb.cp/rtti2.cc: Update copyright.
13209 (n2::create3): New.
13210
13211 2004-03-04 Mark Kettenis <kettenis@gnu.org>
13212
13213 * gdb.asm/openbsd.inc: Fix typo.
13214
13215 2004-03-03 Fred Fish <fnf@redhat.com>
13216
13217 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
13218 "val" instead of unused "size". Update copyright year.
13219
13220 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
13221
13222 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
13223 to use unsigned char.
13224 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
13225 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
13226
13227 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
13228
13229 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
13230 line of output.
13231
13232 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
13233
13234 * gdb.base/relocate.c (dummy): Initialize.
13235
13236 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
13237
13238 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
13239 a breakpoint at exit.
13240
13241 2004-02-27 Fred Fish <fnf@redhat.com>
13242
13243 * gdb.base/chng-syms.exp: Add expect condition to match failing
13244 case that isn't a timeout.
13245
13246 2004-02-27 Andrew Cagney <cagney@redhat.com>
13247
13248 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
13249 support.
13250
13251 2004-02-26 Fred Fish <fnf@redhat.com>
13252
13253 * gdb.arch/gdb1431.c: Remove.
13254 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
13255 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
13256 of "until" incorrectly.
13257
13258 2004-02-26 J. Brobecker <brobecker@gnat.com>
13259
13260 * gdb.cp/class2.cc (empty): New class.
13261 (refer): New function.
13262 (main): Declare an object of type empty and use it.
13263 * gdb.cp/class2.exp: Print the value of an object of type empty.
13264
13265 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
13266
13267 * gdb.base/langs.exp: Update query string to match the
13268 new nquery format used for pending breakpoints.
13269
13270 2004-02-26 Andrew Cagney <cagney@redhat.com>
13271
13272 Fix PR i18n/1570.
13273 * gdb.base/charset.c: Update copyright notice.
13274 (main, init_string): Remove the escape character '\e' tests.
13275 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
13276 * gdb.base/charset.exp (valid_host_charset): Ditto.
13277 * gdb.base/setvar.exp: Ditto.
13278
13279 2004-02-24 Andrew Cagney <cagney@redhat.com>
13280
13281 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
13282 mmapped data in core file" PASS and FAIL messages consistent.
13283
13284 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
13285 setting a breakpoint. Work around PR java/1565.
13286
13287 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13288
13289 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13290 new nquery format.
13291 * gdb.base/pending.exp: Ditto.
13292
13293 2004-02-22 Mark Kettenis <kettenis@gnu.org>
13294
13295 * configure.in: Run stabs tests on *BSD.
13296 * configure: Regenerated.
13297
13298 2004-02-21 Mark Kettenis <kettenis@gnu.org>
13299
13300 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13301
13302 2004-02-20 Fred Fish <fnf@redhat.com>
13303
13304 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13305 blank in test for "returns short", for consistency with other
13306 "returns xxx" tests. Update copyright year.
13307
13308 2004-02-19 Fred Fish <fnf@redhat.com>
13309
13310 New testcase for PR breakpoint/1558.
13311 * gdb.arch/gdb1558.exp: New file.
13312 * gdb.arch/gdb1558.c: New file.
13313
13314 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
13315
13316 * gdb.base/nodebug.exp: Fix typo.
13317
13318 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13319
13320 Committed by Jim Blandy <jimb@redhat.com>.
13321
13322 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13323
13324 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13325
13326 * gdb.base/float.exp: Support s390*-*-* targets.
13327
13328 2004-02-17 Adam Fedor <fedor@gnu.org>
13329
13330 * gdb.base/gdb1555.exp: New file.
13331 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13332
13333 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
13334
13335 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13336
13337 2004-02-16 Fred Fish <fnf@redhat.com>
13338
13339 * gdb.arch/gdb1291.c: Remove
13340 * gdb.arch/gdb1291.s: New test input file.
13341 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13342 fail. Test for correct result, known incorrect result, other
13343 failures and timeouts.
13344
13345 2004-02-16 Andrew Cagney <cagney@redhat.com>
13346
13347 * gdb.base/bigcore.exp: New file.
13348 * gdb.base/bigcore.c: New file.
13349
13350 2004-02-13 Andrew Cagney <cagney@redhat.com>
13351
13352 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13353 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13354 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13355 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13356 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13357 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13358 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13359 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13360 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13361 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13362
13363 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13364
13365 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13366 executed is an alloc instruction.
13367
13368 2004-02-11 David Carlton <carlton@kealia.com>
13369
13370 * gdb.cp/breakpoint.exp: New.
13371 * gdb.cp/breakpoint.cc: New.
13372
13373 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13374
13375 Partial fix for PR gdb/1543.
13376 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13377 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13378 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13379 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13380 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13381 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13382 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13383 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13384 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13385 to bug-gdb@prep.ai.mit.edu .
13386 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13387 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13388 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13389 Likewise.
13390
13391 2004-02-10 Andrew Cagney <cagney@redhat.com>
13392
13393 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13394 using gdb_internal_error_resync.
13395
13396 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
13397
13398 * gdb.threads/thread-specific.exp: Stop early if no threads are
13399 found.
13400
13401 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13402
13403 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13404
13405 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
13406
13407 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13408 breakpoints.
13409
13410 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
13411
13412 * config/sim.exp (gdb_load): Handle $arg == "".
13413 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13414 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13415
13416 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
13417
13418 * gdb.base/maint.exp: Update test to reflect
13419 obstack changes.
13420
13421 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13422
13423 * gdb.base/pendshr.c (pendfunc): New function that calls
13424 pendfunc1.
13425 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13426
13427 2004-02-04 Fred Fish <fnf@redhat.com>
13428
13429 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13430 function symbols and update copyright years.
13431 * gdb.arch/gdb1291.c: Ditto.
13432
13433 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13434
13435 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13436
13437 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13438
13439 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13440
13441 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13442
13443 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13444
13445 2004-02-02 Fred Fish <fnf@redhat.com>
13446
13447 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13448 remote targets. Update copyright years.
13449
13450 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13451
13452 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13453 support.
13454 * gdb.base/langs.exp: Fix test which attempts to create
13455 breakpoint on non-existent function to handle new pending
13456 support.
13457 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13458 a breakpoint.
13459 * gdb.base/pending.exp: New test.
13460 * gdb.base/pending.c: New file.
13461 * gdb.base/pendshr.c: Ditto.
13462
13463 2004-02-02 David Carlton <carlton@kealia.com>
13464
13465 * gdb.cp/overload.exp: Add overloadNamespace tests.
13466 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13467 (overloadNamespace, XXX): New.
13468 (main): Call XXX::marker2.
13469
13470 2004-02-01 Fred Fish <fnf@redhat.com>
13471
13472 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13473 * gdb.base/finish.exp: Ditto.
13474 * gdb.base/gcore.exp: Ditto.
13475 * gdb.base/huge.exp: Ditto.
13476 * gdb.base/info-proc.exp: Ditto.
13477 * gdb.base/return2.exp: Ditto.
13478 * gdb.threads/gcore-thread.exp: Ditto.
13479
13480 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13481
13482 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13483
13484 2004-02-01 Mark Kettenis <kettenis@gnu.org>
13485
13486 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13487 that opening the file succeeds on OpenBSD.
13488
13489 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13490
13491 * gdb.threads/thread-specific.c: New file.
13492 * gdb.threads/threads-specific.exp: New test script.
13493 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13494 to expect_out.
13495
13496 2004-02-01 Mark Kettenis <kettenis@gnu.org>
13497
13498 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13499 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13500 only on the "print_small_structs from print_long_arg_list" test.
13501
13502 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13503
13504 * gdb.base/completion.exp: Kill a stray backslash.
13505
13506 From Jim Ingham <jingham@apple.com>:
13507 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13508 agrees with the result from sending a tab.
13509
13510 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
13511
13512 * gdb.base/chng-syms.exp: Remove stray newline.
13513
13514 2004-01-31 Mark Kettenis <kettenis@gnu.org>
13515
13516 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13517 *-*-openbsd*.
13518 * gdb.asm/openbsd.inc: New file.
13519
13520 2004-01-30 Mark Kettenis <kettenis@gnu.org>
13521
13522 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13523 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13524 *-*solaris2*. Remove commented out default settings for
13525 asm-flags. Replace gdb_compile with target_link.
13526
13527 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13528
13529 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13530 for all tests. Remove old hp-ux and cygnus xfail cases.
13531
13532 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13533
13534 * gdb.base/chng-syms.exp: New file.
13535 * gdb.base/chng-syms.c: New file.
13536
13537 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13538
13539 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13540 Provide arms for current output in all my configurations.
13541
13542 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13543
13544 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13545 * lib/compiler.cc: Likewise.
13546 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13547 get the right preprocessor. Eval the output directly. Remove
13548 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13549 hp_f77_compiler and hp_f90_compiler completely.
13550 (gdb_preprocess): Delete.
13551 (get_compiler): Delete.
13552
13553 2004-01-24 Mark Kettenis <kettenis@gnu.org>
13554
13555 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13556 <string.h>.
13557
13558 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
13559
13560 * gdb.mi/mi-stack.exp: Update copyright.
13561
13562 2004-01-23 David Carlton <carlton@kealia.com>
13563
13564 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13565 test for cp_lookup_transparent_type.
13566 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13567 call them.
13568
13569 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
13570
13571 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13572 after -var-update.
13573
13574 2004-01-23 David Carlton <carlton@kealia.com>
13575
13576 * gdb.cp/namespace.cc (C::ensureRefs): New.
13577 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13578
13579 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
13580
13581 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13582 case "-stack-list-locals 2".
13583 * gdb.mi/mi-var-child.exp: Test for case
13584 "-var-list-children --all-values NAME".
13585
13586 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13587
13588 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13589
13590 2004-01-18 Mark Kettenis <kettenis@gnu.org>
13591
13592 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13593 used with gdb_test_multiple.
13594
13595 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13596 read at address 0. This fixes PR testsuite/1504.
13597
13598 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
13599
13600 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13601 Remove downloading, guessing the host executable, the calls to
13602 gdb_file_cmd and gdb_target_cmd, and "load" support.
13603 (infer_host_exec): New function broken out from gdb_load.
13604 (gdb_load): New wrapper for gdbserver_gdb_load.
13605 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13606 gdb_target_cmd. Use -target-select.
13607 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13608 Download binaries to the host. Clear last_mi_remote_file when
13609 we load a new binary.
13610 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13611 call gdbserver_gdb_load and mi_gdb_target_cmd.
13612
13613 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13614
13615 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13616 type patterns.
13617
13618 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13619
13620 * gdb.cp/templates.exp: Fix typo in test name of
13621 "print Foo<volatile char*>::foo".
13622
13623 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13624
13625 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13626
13627 2004-01-16 Ben Elliston <bje@wasabisystems.com>
13628
13629 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13630 (clean mostlyclean): Remove empty rm.
13631
13632 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13633
13634 * gdb.base/setvar.exp: Add copyright years.
13635
13636 2004-01-14 David Carlton <carlton@bactrian.org>
13637
13638 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13639 PR c++/1511 and update coment.
13640 * gdb.cp/templates.exp: Update patterns to match current output.
13641 If changes involve something other than whitespace, KFAIL
13642 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13643
13644 2004-01-14 David Carlton <carlton@kealia.com>
13645
13646 * gdb.cp/namespace.exp: Add tests involving classes defined within
13647 namespaces.
13648 * gdb.cp/namespace.cc (C::CClass): New.
13649 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13650
13651 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
13652
13653 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13654 what debug info we have. Print a better message if something goes
13655 wrong while producing the separate debug info file.
13656
13657 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13658
13659 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13660
13661 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13662
13663 * gdb.base/callfuncs.c: Add copyright notice.
13664
13665 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13666
13667 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13668 inheritance. PR gdb/1498, PR gcc/13539.
13669
13670 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
13671
13672 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13673 test specific name.
13674 * gdb.mi/gdb669.exp: Ditto.
13675 * gdb.mi/mi-pthreads.exp: Ditto.
13676 * gdb.mi/mi1-pthreads.exp: Ditto.
13677 * gdb.mi/mi2-pthreads.exp: Ditto.
13678
13679 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13680
13681 * gdb.cp/member-ptr.cc: Add copyright notice.
13682
13683 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13684
13685 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13686 some patterns for recent versions of gcc and hpacc. Delete
13687 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13688 Delete tests that access a NULL pointer-to-member-data. This
13689 script is still disabled for gcc.
13690
13691 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13692
13693 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
13694 escaped correctly.
13695
13696 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13697
13698 * gdb.base/sepdebug.exp: New file.
13699 * gdb.base/sepdebug.c: New file.
13700 * lib/gdb.exp (separate_debug_filename): New procedure.
13701 (gdb_gnu_strip_debug): New procedure.
13702
13703 2004-01-12 Andrew Cagney <cagney@redhat.com>
13704
13705 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13706 * gdb.mi/ChangeLog-1999-2003: New file.
13707
13708 2004-01-12 Andrew Cagney <cagney@redhat.com>
13709
13710 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13711 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13712 or EEXIST", treat EBUSY as an XFAIL.
13713
13714 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13715
13716 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13717 hp_cc_compiler.
13718
13719 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13720
13721 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13722 decorations.
13723
13724 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13725
13726 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13727 and "(aCC)" decorations. Remove obsolete doco about old
13728 test results.
13729
13730 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13731
13732 * gdb.cp/exception.exp: Fix typo in doco.
13733
13734 2004-01-09 Mark Kettenis <kettenis@gnu.org>
13735
13736 * gdb.base/gdb1476.exp: Fix typo.
13737
13738 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13739
13740 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13741 file.
13742
13743 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13744
13745 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13746 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13747 Use gdb_compile. Remove restriction on gcc. Add some patterns
13748 for recent version of gdb. Delete second half, which was a copy
13749 of the first half with different build flags. This test is
13750 still disabled because it is still not ready for production.
13751
13752 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13753
13754 * gdb.cp/exception.cc: Add copyright notice.
13755 * gdb.cp/exception.exp: Add a notice that this file is broken
13756 because of line number changes caused by addition of copyright
13757 notice.
13758
13759 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13760
13761 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13762 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13763
13764 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13765
13766 * gdb.cp/classes.exp: Accept gnu abi 2.
13767 * gdb.cp/derivation.exp: Likewise.
13768 * gdb.cp/overload.exp: Likewise.
13769 * gdb.cp/virtfunc.exp: Likewise.
13770
13771 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13772
13773 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13774 semicolon after end of function.
13775
13776 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13777
13778 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13779 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13780 boilerplate code for compiling and running the program under
13781 test. Add some string method tests.
13782
13783 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13784
13785 * gdb.cp/bs15503.cc: Add copyright notice.
13786 * gdb.cp/bs15503.exp: Adjust line number.
13787
13788 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13789
13790 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13791 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13792
13793 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13794
13795 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13796 hp_cc_compiler.
13797
13798 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13799
13800 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13801 * gdb.cp/ctti.exp: Use the marker instead of "next".
13802 With gcc, run further before bailing.
13803
13804 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13805
13806 * gdb.cp/cttiadd.cc: Add copyright notice.
13807 * gdb.cp/cttiadd1.cc: Likewise.
13808 * gdb.cp/cttiadd2.cc: Likewise.
13809 * gdb.cp/cttiadd3.cc: Likewise.
13810
13811 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13812
13813 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13814 Use gdb_test, gdb_test_multiple. Use floating-point values that
13815 have exact representations in IEEE-ish formats.
13816
13817 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13818
13819 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13820 compilers. Delete duplicate call to get_compiler_info.
13821 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13822 * gdb.base/volatile.exp: Likewise.
13823
13824 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13825
13826 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13827 memory at address 0.
13828
13829 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13830
13831 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13832 to test for hp-ux assembler. Fix copyright years.
13833
13834 2004-01-07 Andrew Cagney <cagney@redhat.com>
13835
13836 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13837
13838 2004-01-07 Andrew Cagney <cagney@redhat.com>
13839
13840 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13841 when creating the read-only file. From analysis by Roland McGrath
13842 and Elena Zannoni.
13843
13844 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13845
13846 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13847
13848 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13849
13850 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13851 data pointers.
13852
13853 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13854
13855 * gdb.cp/m-static.exp: Compile one source file at a time.
13856 Delete unused call to get_compiler_info.
13857
13858 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13859
13860 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13861 * gdb.base/call-rt-st.exp: Likewise.
13862 * gdb.base/nodebug.exp: Likewise.
13863 * gdb.base/volatile.exp: Likewise.
13864 * gdb.cp/ref-types.exp: Likewise.
13865 * gdb.cp/templates.exp: Likewise.
13866
13867 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13868
13869 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13870
13871 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13872
13873 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13874 hppa*-hp-hpux*.
13875
13876 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13877
13878 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13879 x86_64-*-*.
13880
13881 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13882 sparc64-*-* and sparc*-solaris2*.
13883
13884 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13885
13886 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13887 return ${tests}" test. The ${tests} already mentions the
13888 filename.
13889
13890 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13891
13892 * gdb.cp/local.exp: Accept gcc abi 2.
13893
13894 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13895
13896 * gdb.cp/templates.exp: Accept gcc abi 2.
13897
13898 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13899
13900 * lib/compiler.cc: Remove supports_template_debugging.
13901 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13902
13903 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13904
13905 * gdb.cp/namespace.exp: Accept gcc abi 2.
13906
13907 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13908
13909 * gdb.cp/method.exp: Accept gcc abi 2.
13910
13911 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13912
13913 * gdb.cp/classes.exp: Generate identical results as old version.
13914 * gdb.cp/derivation.exp: Likewise.
13915 * gdb.cp/overload.exp: Likewise.
13916 * gdb.cp/virtfunc.exp: Likewise.
13917
13918 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13919
13920 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13921 mysterious bug with sourceware version of expect.
13922
13923 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13924
13925 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13926 current versions of gcc, including gcc abi 2. Remove gratuitous
13927 restart of test program. Use gdb_test_multiple and gdb_test for
13928 all tests. Add patterns to xfail missing "const" in "const char *"
13929 and kfail PR gdb/1155.
13930
13931 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13932
13933 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13934 current versions of gcc, including gcc abi 2. Remove gratuitous
13935 restart of test program. Use gdb_test_multiple and gdb_test for
13936 all tests. Add patterns to kfail PR gdb/1498.
13937
13938 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13939
13940 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13941 current versions of gcc, including gcc abi 2. Use "breakpoint"
13942 and "continue" instead of restarting the target program. Use
13943 gdb_test_multiple and gdb_test for all tests.
13944
13945 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13946
13947 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13948 for *-*-solaris2*.
13949
13950 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13951
13952 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13953 current versions of gcc, including gcc abi 2. Use "breakpoint"
13954 and "continue" instead of restarting the target program several
13955 times. Use gdb_test_multiple and gdb_test for all tests.
13956
13957 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13958
13959 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13960 source files.
13961
13962 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13963
13964 * gdb.base/environ.exp: Handle compiling test case from multiple
13965 source files.
13966
13967 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13968
13969 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13970
13971 2003-12-17 Jim Blandy <jimb@redhat.com>
13972
13973 * gdb.base/freebpcmd.c: Add copyright notice.
13974
13975 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13976
13977 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13978
13979 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13980
13981 2003-12-13 Jim Blandy <jimb@redhat.com>
13982
13983 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13984
13985 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13986
13987 * gdb.asm/frv.inc: New file.
13988 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13989
13990 2003-12-09 Fred Fish <fnf@redhat.com>
13991
13992 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13993 functions to break1.c and leave prototypes behind. Add more
13994 "set breakpoint NN here" comments.
13995 * gdb.base/break1.c: New file.
13996
13997 * gdb.base/break.exp: Handle compiling test case from multiple
13998 source files and change source file references as needed.
13999 * gdb.base/completion.exp: Ditto.
14000 * gdb.base/condbreak.exp: Ditto.
14001 * gdb.base/define.exp: Ditto.
14002 * gdb.base/ena-dis-br.exp: Ditto.
14003 * gdb.base/info-proc.exp: Ditto.
14004 * gdb.base/maint.exp: Ditto.
14005 * gdb.base/until.exp: Ditto.
14006
14007 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14008 hardcoded line numbers.
14009 * gdb.base/define.exp: Ditto.
14010 * gdb.base/ena-dis-br.exp: Ditto.
14011 * gdb.base/maint.exp: Ditto.
14012 * gdb.base/until.exp: Ditto.
14013
14014 * gdb.base/completion.exp: Use "break1" for completion tests since
14015 "break" is no longer a unique prefix.
14016
14017 2003-12-06 Andrew Cagney <cagney@redhat.com>
14018
14019 * gdb.base/structs.exp (test_struct_returns): When applicable, set
14020 "return_value_unimplemented". When an unimplemented struct return
14021 architecture, report incorrect values as a KFAIL
14022
14023 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14024
14025 * gdb.cp/rtti.exp: Accept new wording of warning from
14026 cp_lookup_rtti_type.
14027
14028 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14029
14030 Partial fix for PR testsuite/1456.
14031 * gdb.base/scope.exp (test_at_main): Replace references to
14032 gcc_compiled with calls to test_compiler_info.
14033 (test_at_foo): Likewise.
14034 (test_at_bar): Likewise.
14035
14036 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
14037
14038 Partial fix for PR testsuite/1456.
14039 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
14040 to test_compiler_info.
14041
14042 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
14043
14044 * gdb.base/so-impl-ld.exp: Update copyright notice.
14045
14046 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
14047
14048 Partial fix for PR testsuite/1456.
14049 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
14050 to test_compiler_info.
14051
14052 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14053
14054 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
14055 from current versions of gdb. Clean up regular expressions.
14056 Delete redundant timeout case.
14057
14058 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14059
14060 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
14061 from current versions of gdb. Clean up regular expressions.
14062 Delete redundant timeout case.
14063
14064 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
14065
14066 Partial fix for PR testsuite/1456.
14067 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
14068 gcc_compiled with call to test_compiler_info.
14069
14070 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
14071
14072 Partial fix for PR testsuite/1456.
14073 * gdb.base/list.exp (test_list_function): Delete unused declaration
14074 of gcc_compiled.
14075
14076 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
14077
14078 Partial fix for PR testsuite/1456.
14079 * gdb.base/complex.exp: Replace reference to gcc_compiled with
14080 call to test_compiler_info.
14081
14082 2003-11-29 Mark Kettenis <kettenis@gnu.org>
14083
14084 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
14085 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
14086 it to create the appropriate note.inc.
14087 * gdb.asm/asmsrc1.s: Include "note.inc".
14088 * gdb.asm/netbsd.inc: New file.
14089 * gdb.asm/empty.inc: New file.
14090
14091 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14092
14093 Partial fix for PR testsuite/1456.
14094 * gdb.base/constvars.exp: Replace references to gcc_compiled with
14095 calls to test_compiler_info.
14096
14097 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
14098
14099 Partial fix for PR testsuite/1456.
14100 * gdb.base/volatile.exp: Replace references to gcc_compiled with
14101 calls to test_compiler_info.
14102
14103 2003-11-27 Mark Kettenis <kettenis@gnu.org>
14104
14105 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
14106 pattern for the KFAILs.
14107
14108 2003-11-25 Adam Fedor <fedor@gnu.org>
14109
14110 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
14111 * gdb.objc/objcdecode.m: New file.
14112
14113 2003-11-25 Adam Fedor <fedor@gnu.org>
14114
14115 * gdb.objc/nondebug.exp: Test for PR objc/1236.
14116 * gdb.objc/nondebug.m: New file.
14117
14118 2003-11-26 Ben Elliston <bje@wasabisystems.com>
14119
14120 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14121 NetBSD as it does on FreeBSD. Modelled on a similar change by
14122 Mark Kettenis on 2003-05-30.
14123 (link-flags): Set to "--entry _start" regardless of target.
14124 Special linker flags are to be appended to $link-flags.
14125 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
14126
14127 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14128
14129 * gdb.cp/method.exp: Accept output of new demangler.
14130
14131 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14132
14133 * gdb/class2.exp: New file.
14134 * gdb/class2.cc: New file.
14135
14136 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14137
14138 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
14139 of new demangler.
14140
14141 2003-11-23 Mark Kettenis <kettenis@gnu.org>
14142
14143 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
14144 of gdb_test "run".
14145
14146 2003-11-23 Mark Kettenis <kettenis@gnu.org>
14147
14148 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
14149 "continue" into "run".
14150
14151 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14152
14153 Partial fix for PR testsuite/1456.
14154 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
14155 call to test_compiler_info.
14156 * gdb.cp/ctti.exp: Likewise.
14157 * gdb.cp/derivation.exp: Likewise.
14158 * gdb.cp/member-ptr.exp: Likewise.
14159 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
14160 reference to gcc_compiled.
14161
14162 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14163
14164 Fix PR testsuite/1463.
14165 * gdb.base/structs.exp (start_structs_test): Call
14166 get_debug_format before using the debug format.
14167
14168 2003-11-22 Andrew Cagney <cagney@redhat.com>
14169
14170 * lib/gdb.exp (gdb_test_multiple): Add simple example.
14171 * gdb.base/structs.exp: Use gdb_test_multiple.
14172
14173 2003-11-20 Andrew Cagney <cagney@redhat.com>
14174
14175 * gdb.base/structs.exp: Handle and recover from internal errors.
14176 Replace "foo${n}" with "foo<n>" in test messages.
14177
14178 * gdb.base/structs.exp: Update copyright. Rewrite.
14179 * gdb.base/structs.c: Update copyright. Rewrite.
14180
14181 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
14182 resync count exceeded.
14183
14184 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
14185 from the internal error.
14186 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
14187 Original from Jim Blandy.
14188 (gdb_test_multiple): Use gdb_internal_error_resync.
14189
14190 2003-11-19 Andrew Cagney <cagney@redhat.com>
14191
14192 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
14193 KFAIL.
14194
14195 2003-11-17 Mark Kettenis <kettenis@gnu.org>
14196
14197 New testcase for PR backtrace/1435.
14198 * gdb.arch/i386-unwind.exp: New file.
14199 * gdb.arch/i386-unwind.c: New file.
14200
14201 2003-11-17 Andrew Cagney <cagney@redhat.com>
14202
14203 * lib/gdb.exp (compiler_info): New global.
14204 (test_compiler_info): New function.
14205 (get_compiler_info): Set compiler_info.
14206 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
14207 "compiler_info" to gcc-<major>-<minor>.
14208
14209 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
14210
14211 * gdb.trace/configure: Remove.
14212
14213 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
14214
14215 * gdb.base/break.c: Add comments to aid finding line numbers for
14216 breakpoints.
14217 * gdb.base/break.exp: Remove all references to explicit line
14218 numbers.
14219
14220 2003-11-11 Nick Clifton <nickc@redhat.com>
14221
14222 * gdb.base/shreloc.exp: Do not run for targets which do not
14223 support shared objects.
14224
14225 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
14226
14227 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
14228 Don't run tests if nofileio flag is given.
14229
14230 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
14231
14232 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
14233 as well as 'Watchpoint'.
14234
14235 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
14236
14237 Reported by Jim Ingham <jingham@apple.com>:
14238 * gdb.base/annota1.exp: Match at least one occurrence of the
14239 signal handler annotation.
14240
14241 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
14242
14243 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
14244 as well as 'Watchpoint'.
14245
14246 2003-11-05 Michael Chastain <mec@shout.net>
14247
14248 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
14249
14250 2003-11-03 Kris Warkentin <kewarken@qnx.com>
14251
14252 * gdb.arch/gdb1291.c: New test file.
14253 * gdb.arch/gdb1291.exp: New test script.
14254 * gdb.arch/gdb1431.c: New test file.
14255 * gdb.arch/gdb1431.exp: New test script.
14256
14257 2003-10-22 Michael Chastain <mec@shout.net>
14258
14259 * gdb.mi/pthreads.c: Add copyright notice.
14260
14261 2003-10-22 Michael Chastain <mec@shout.net>
14262
14263 * gdb.threads/pthreads.c: Add copyright notice.
14264
14265 2003-10-20 Michael Chastain <mec@shout.net>
14266
14267 * gdb.base/gdb1056.exp: New test script.
14268
14269 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
14270
14271 * gdb.threads/killed.exp: Use gdb_run_cmd.
14272
14273 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
14274
14275 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
14276 create a core file.
14277 * gdb.threads/gcore-thread.exp: Likewise.
14278
14279 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
14280
14281 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
14282 type, based on char type.
14283 (struct bit_flags_short_t): New bitfield type, based on short type.
14284 (init_bit_flags_char): New fuction.
14285 (init_bit_flags_short): Ditto.
14286 (print_bit_flags_char): Ditto.
14287 (print_bit_flags_short): Ditto.
14288 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14289
14290 2003-10-11 Michael Chastain <mec@shout.net>
14291
14292 * gdb.base/call-rt-st.exp: Update copyright year.
14293
14294 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14295
14296 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14297 * gdb.disasm/sh3.s: Ditto.
14298
14299 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
14300
14301 * gdb.threads/switch-threads.exp: New test.
14302 * gdb.threads/switch-threads.c: New source file.
14303
14304 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
14305
14306 * gdb.base/ending-run.exp: Add sh specific case.
14307
14308 2003-10-06 Andrew Cagney <cagney@redhat.com>
14309
14310 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14311 * gdb.disasm/mn10200.exp: Delete obsolete file.
14312
14313 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
14314
14315 * ChangeLog: Correct an entry command.exp -> commands.exp.
14316 * gdb.base/commands.exp (bp_deleted_in_command_test)
14317 (temporary_breakpoint_commands): Check noargs.
14318
14319 2003-09-25 David Carlton <carlton@kealia.com>
14320
14321 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14322 of some print tests, where appropriate. Add tests for C::D::cd,
14323 E::ce, F::cXfX, G::XgX.
14324 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14325
14326 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
14327
14328 * lib/java.exp (java_init): Import target_alias before using it.
14329
14330 2003-09-25 David Carlton <carlton@kealia.com>
14331
14332 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14333
14334 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
14335
14336 * gdb.base/selftest.exp: Accomodate more instruction reordering
14337 weirdness.
14338
14339 2003-09-17 Michael Chastain <mec@shout.net>
14340
14341 * gdb.cp/gdb1355.exp: New file.
14342 * gdb.cp/gdb1355.c: New file.
14343
14344 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
14345
14346 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14347 * gdb.asm/sh.inc: New file.
14348
14349 2003-09-11 David Carlton <carlton@kealia.com>
14350
14351 * gdb.cp/namespace.exp: Add tests for namespace types.
14352 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
14353 (test_namespace): New.
14354
14355 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
14356
14357 * gdb.base/relocate.exp: Handle new gdb output at startup.
14358 * gdb.stabs/weird.exp: Ditto.
14359
14360 2003-09-08 Michael Chastain <mec@shout.net>
14361
14362 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14363
14364 2003-09-07 Michael Chastain <mec@shout.net>
14365
14366 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14367 'parse error'.
14368
14369 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14370
14371 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14372
14373 2003-08-30 Michael Chastain <mec@shout.net>
14374
14375 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14376 * gdb.gdb/observer.exp: Ditto.
14377 * gdb.gdb/xfullpath.exp: Ditto.
14378
14379 2003-08-29 Mark Kettenis <kettenis@gnu.org>
14380
14381 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14382 *-*-*bsd*.
14383
14384 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14385
14386 * gdb.base/dump.exp: Skip for ia64.
14387
14388 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14389
14390 * gdb.asm/asm-source.exp: Add ia64 support.
14391 * gdb.asm/ia64.inc: New file.
14392
14393 2003-08-22 Michael Chastain <mec@shout.net>
14394
14395 * gdb.cp: New directory.
14396 * gdb.cp/*: Copy from gdb.c++/*.
14397 * gdb.c++/*: Remove.
14398 * Makefile.in: Change gdb.c++ to gdb.cp.
14399 * configure.in: Ditto.
14400 * configure: Regnerate.
14401
14402 2003-08-18 Mark Kettenis <kettenis@gnu.org>
14403
14404 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14405 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14406
14407 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
14408
14409 * mi-var-display.exp (-var-list-children weird): Accept function
14410 pointers with argument types.
14411 * mi1-var-display.exp (-var-list-children weird): Likewise.
14412 * mi2-var-display.exp (-var-list-children weird): Likewise.
14413
14414 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
14415
14416 * gdb.base/annota3.exp: Add missing newline.
14417
14418 2003-08-06 Michael Chastain <mec@shout.net>
14419
14420 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14421
14422 2003-08-12 Michael Snyder <msnyder@redhat.com>
14423
14424 * gdb.base/float.exp: Add test for SH.
14425
14426 2003-08-10 Mark Kettenis <kettenis@gnu.org>
14427
14428 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14429
14430 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14431
14432 * gdb.base/completion.exp: Remove reduntant completion test
14433 on filename.
14434
14435 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14436
14437 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14438 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14439 gdb.trace/save-trace.exp: Make sure that full pathnames are
14440 escaped correctly.
14441
14442 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14443
14444 * configure.in: Don't generate config.h from config.hin.
14445 * configure: Regenerate.
14446 * config.hin: Remove file.
14447 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14448 * gdb.threads/pthreads.c: Ditto.
14449
14450 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
14451
14452 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14453 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14454 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14455 Replace ld24 with seth/add3.
14456
14457 2003-08-02 Andrew Cagney <cagney@redhat.com>
14458
14459 * gdb.base/annota3.exp: New file.
14460 * gdb.base/annota3.c: New file.
14461 * gdb.c++/annota3.exp: New file.
14462 * gdb.c++/annota3.cc: New file.
14463
14464 2003-07-29 Michael Chastain <mec@shout.net>
14465
14466 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14467 actually failed.
14468 (do_pass): Likewise.
14469 * gdb.threads/tls.exp: Always initialize no_of_threads.
14470
14471 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
14472
14473 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14474 pattern.
14475 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14476 * gdb.threads/tls.exp: Recognize one case of the host library not
14477 supporting TLS.
14478
14479 2003-07-27 Andrew Cagney <cagney@redhat.com>
14480
14481 * gdb.base/fileio.exp: Use SH when running commands using
14482 remote_exec.
14483
14484 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
14485
14486 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14487 * gdb.base/relocate.c (dummy): New padding array.
14488
14489 2003-07-22 Michael Snyder <msnyder@redhat.com>
14490
14491 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
14492
14493 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14494 patterns to be more general, accepting old and new output.
14495 Some output chars (such as '+') also must be quoted.
14496 Some addresses are displayed numerically instead of
14497 symbolically.
14498
14499 2003-07-23 Michael Snyder <msnyder@redhat.com>
14500
14501 * gdb.base/return2.exp: Don't test long-long return.
14502
14503 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14504 * gdb.disasm/t01_mov.exp: Ditto.
14505 * gdb.disasm/t02_mova.s: Ditto.
14506 * gdb.disasm/t02_mova.exp: Ditto.
14507 * gdb.disasm/t03_add.s: Ditto.
14508 * gdb.disasm/t03_add.exp: Ditto.
14509 * gdb.disasm/t04_sub.s: Ditto.
14510 * gdb.disasm/t04_sub.exp: Ditto.
14511 * gdb.disasm/t05_cmp.s: Ditto.
14512 * gdb.disasm/t05_cmp.exp: Ditto.
14513 * gdb.disasm/t06_ari2.s: Ditto.
14514 * gdb.disasm/t06_ari2.exp: Ditto.
14515 * gdb.disasm/t07_ari3.s: Ditto.
14516 * gdb.disasm/t07_ari3.exp: Ditto.
14517 * gdb.disasm/t08_or.s: Ditto.
14518 * gdb.disasm/t08_or.exp: Ditto.
14519 * gdb.disasm/t09_xor.s: Ditto.
14520 * gdb.disasm/t09_xor.exp: Ditto.
14521 * gdb.disasm/t10_and.s: Ditto.
14522 * gdb.disasm/t10_and.exp: Ditto.
14523 * gdb.disasm/t11_logs.s: Ditto.
14524 * gdb.disasm/t11_logs.exp: Ditto.
14525 * gdb.disasm/t12_bit.s: Ditto.
14526 * gdb.disasm/t12_bit.exp: Ditto.
14527 * gdb.disasm/t13_otr.s: Ditto.
14528 * gdb.disasm/t13_otr.exp: Ditto.
14529
14530 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
14531
14532 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14533
14534 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
14535
14536 * gdb.threads/tls.c : New file.
14537 * gdb.threads/tls.exp : New file.
14538 * gdb.threads/tls-main.c : New file.
14539 * gdb.threads/tls-shared.c : New file.
14540 * gdb.threads/tls-shared.exp : New file.
14541
14542 2003-07-22 Andreas Schwab <schwab@suse.de>
14543
14544 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14545
14546 2003-07-20 Andreas Schwab <schwab@suse.de>
14547
14548 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14549 due to insn reordering.
14550
14551 2003-07-15 Andrew Cagney <cagney@redhat.com>
14552
14553 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14554
14555 2003-07-15 Michael Chastain <mec@shout.net>
14556
14557 * gdb.base/gdb1250.exp: New file.
14558 * gdb.base/gdb1250.c: New file.
14559
14560 2003-07-09 Michal Ludvig <mludvig@suse.cz>
14561
14562 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14563 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14564
14565 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
14566
14567 * gdb.threads/tls.c: New file.
14568 * gdb.threads/tls.exp: New file.
14569 * gdb.threads/tls-main.c: New file.
14570 * gdb.threads/tls-shared.c: New file.
14571 * gdb.threads/tls-shared.exp: New file.
14572
14573 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
14574
14575 * gdb.base/annota1.exp: Make sure that we properly escape the
14576 full path of the source file. Xfail more permissive patterns,
14577 due to a compiler debug info problem.
14578
14579 2003-07-07 Andreas Schwab <schwab@suse.de>
14580
14581 * gdb.asm/m68k.inc: New file.
14582 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14583
14584 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14585 arguments"): Also match negative number.
14586
14587 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14588
14589 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
14590
14591 * gdb.base/store.c (charest): New typedef.
14592 (add_char): Rename to add_charest, update.
14593 (wack_char): Rename to wack_charest, update types. Return l + r
14594 to keep r live across the call.
14595 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14596 (wack_double, wack_doublest): Return l + r to keep r live across
14597 the call.
14598 * gdb.base/store.exp: Accomodate store.c changes.
14599
14600 2003-06-30 David Carlton <carlton@kealia.com>
14601
14602 * gdb.c++/maint.exp (test_invalid_name): New.
14603 (test_first_component): Add tests for invalid names.
14604
14605 2003-06-29 Michael Chastain <mec@shout.net>
14606
14607 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14608 output of '<VTT for class>' for virtual base classes.
14609
14610 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14611
14612 * gdb.base/completion.exp: Tab-complete "complet" instead of
14613 "compl".
14614 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14615
14616 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14617
14618 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14619 * gdb.base/volatile.exp: Likewise.
14620
14621 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14622
14623 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14624 gdb/1265.
14625
14626 2003-06-28 Michael Chastain <mec@shout.net>
14627 Daniel Jacobowitz <drow@mvista.com>
14628
14629 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14630 initial line count of 'captured_main' from 26 to 32.
14631 (test_with_self): Allow xmalloc call to be interleaved with the
14632 preceding two lines.
14633
14634 2003-06-24 Joel Brobecker <brobecker@gnat.com>
14635
14636 * gdb.base/bang.exp: New testcase.
14637
14638 2003-06-23 Joel Brobecker <brobecker@gnat.com>
14639
14640 * gdb.base/langs.exp: Add some tests for the "minimal" language
14641 support.
14642
14643 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
14644
14645 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14646 the testcase.
14647
14648 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14649
14650 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14651 offset.
14652
14653 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14654
14655 * gdb.c++/pr-1210.cc: New file.
14656 * gdb.c++/pr-1210.exp: New file.
14657
14658 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
14659
14660 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14661 000-exec-continue.
14662
14663 2003-06-15 Mark Kettenis <kettenis@gnu.org>
14664
14665 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14666 on *-*-*bsd* instead of *-*-freebsd*.
14667
14668 2003-06-14 Andrew Cagney <cagney@redhat.com>
14669
14670 * gdb.base/store.exp: Test longest and doublest. Test all
14671 parameters. Weaken return statement match.
14672 * gdb.base/store.c: Add longest and doublest - aka long long and
14673 long double functions. Put all parameters into local register
14674 variables. Use negative values.
14675
14676 2003-06-14 Andrew Cagney <cagney@redhat.com>
14677
14678 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14679 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14680 exit status.
14681 * gdb.base/fileio.exp: Disable target when nointerrupts and
14682 noinferiorio, instead of limiting it to remote. Use remote_exec
14683 instead of system.
14684
14685 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14686
14687 * gdb.base/float.exp: Add ia64 support.
14688
14689 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
14690
14691 * gdb.base/fileio.exp: Run only on remote targets.
14692
14693 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
14694
14695 * gdb.base/fileio.c: New file, testing File-I/O.
14696 * gdb.base/fileio.exp: Ditto.
14697
14698 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14699
14700 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14701 shared objects after relocation at load time (gdb PR/1132).
14702 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
14703 as above, part of the shared object relocation test.
14704
14705 2003-06-08 Mark Kettenis <kettenis@gnu.org>
14706
14707 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14708 fully filled history list.
14709 * gdb.base/gdb_history: New file.
14710
14711 * gdb.base/signals.exp: XFAIL "continue to func1" on
14712 i*86-*-freebsd*.
14713
14714 * gdb.base/attach.exp: When trying to attach to a nonexistent
14715 process, make it possible to specify the PID based on the target,
14716 and do so for *-*-freebsd*.
14717
14718 2003-06-02 Richard Henderson <rth@redhat.com>
14719
14720 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14721
14722 2003-06-02 Richard Henderson <rth@redhat.com>
14723
14724 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14725
14726 2003-06-02 Richard Henderson <rth@redhat.com>
14727
14728 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14729
14730 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
14731
14732 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14733 of globalvar.
14734
14735 2003-06-01 Mark Kettenis <kettenis@gnu.org>
14736
14737 * gdb.asm/asm-source.exp: Check for memory read errors in
14738 disassembler test on *BSD too.
14739
14740 2003-06-01 Richard Henderson <rth@redhat.com>
14741
14742 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14743 for .frame.
14744 (gdbasm_call): Lose ldgp.
14745 (gdbasm_startup): Add frame information.
14746 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14747
14748 2003-05-31 Mark Kettenis <kettenis@gnu.org>
14749
14750 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14751 i?86-*-*.
14752
14753 2003-05-30 Mark Kettenis <kettenis@gnu.org>
14754
14755 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14756 FreeBSD.
14757
14758 2003-05-29 Richard Henderson <rth@redhat.com>
14759
14760 * gdb.asm/alpha.inc: New file.
14761 * gdb.asm/asm-source.exp: Use it.
14762
14763 2003-05-29 Jim Blandy <jimb@redhat.com>
14764
14765 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14766 'core.PID'.
14767
14768 2003-05-22 Jim Blandy <jimb@redhat.com>
14769
14770 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14771 backtrace.
14772
14773 2003-05-20 David Carlton <carlton@math.stanford.edu>
14774
14775 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14776 this time.
14777
14778 2003-05-19 David Carlton <carlton@bactrian.org>
14779
14780 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14781 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14782
14783 2003-05-19 David Carlton <carlton@bactrian.org>
14784
14785 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14786 namespace tests.
14787 Bump copyright date.
14788 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14789 (main): Call C::D::marker2.
14790 * gdb.c++/namespace1.cc: New file.
14791
14792 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14793
14794 Roland McGrath <roland@redhat.com>
14795 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
14796 there is no manager thread.
14797
14798 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14799
14800 * gdb.threads/schedlock.exp: Remove assumption that all threads
14801 will run in a particular small time slice. Also ensure we break
14802 in one of the child threads rather than the main thread.
14803
14804 2003-05-07 Jim Blandy <jimb@redhat.com>
14805
14806 Add support for assembly source testing on the s390x.
14807 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14808 architecture.
14809 * gdb.asm/s390x.inc: New file.
14810
14811 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14812 succession of 'if' statements.
14813
14814 2003-05-05 Andrew Cagney <cagney@redhat.com>
14815
14816 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14817
14818 2003-05-05 Andrew Cagney <cagney@redhat.com>
14819
14820 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14821 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14822
14823 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14824
14825 * gdb.base/charset.exp: Update based on new behavior of set/show
14826 charset commands.
14827
14828 2003-05-01 Andrew Cagney <cagney@redhat.com>
14829
14830 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14831 variable do not give memory errors.
14832
14833 2003-04-30 Adam Fedor <fedor@gnu.org>
14834
14835 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14836 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14837 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14838 gdb.objc/basicclass.m: : New files
14839
14840 * lib/gdb.exp (gdb_compile_objc): New procedure.
14841
14842 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14843
14844 * gdb.base/signals.exp: Make backtrace tests more specific.
14845
14846 2003-04-23 David Carlton <carlton@bactrian.org>
14847
14848 * gdb.c++/maint.exp (test_first_component): Add tests for
14849 'operator' in more locations.
14850
14851 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14852
14853 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14854
14855 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14856
14857 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14858 func marke' instead. Update test name.
14859
14860 2003-04-15 David Carlton <carlton@math.stanford.edu>
14861
14862 * gdb.c++/maint.exp: New file.
14863
14864 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14865
14866 * gdb.threads/schedlock.c: Change type of thread function argument
14867 to long, to avoid warnings on 64-bit platforms.
14868
14869 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14870
14871 * gdb.base/attach.exp: Add new message from ptrace in case of
14872 attaching to nonexistent process.
14873
14874 2003-04-11 Jim Blandy <jimb@redhat.com>
14875
14876 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14877 gdb.c++/userdef.cc: Place comments on the lines to which the
14878 marker function might return.
14879 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14880 gdb.c++/userdef.exp: Look for those comments to check that we've
14881 returned to the right place, instead of checking line numbers.
14882
14883 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14884
14885 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14886 match on sourcefile name, instead of directory name.
14887
14888 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14889
14890 * gdb.base/completion.exp: Use string_to_regexp to match the
14891 working directory name.
14892
14893 2003-04-09 Jim Blandy <jimb@redhat.com>
14894
14895 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14896 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14897 after an inferior function call, report the failure, but allow the
14898 test to continue.
14899
14900 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14901
14902 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14903 with -DPROTOTYPES.
14904
14905 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14906
14907 * gdb.base/break.exp: Revert last patch.
14908
14909 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14910
14911 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14912 with -DPROTOTYPES.
14913
14914 2003-04-02 Andrew Cagney <cagney@redhat.com>
14915
14916 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14917 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14918 matching directories by the name breakpoint.
14919 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14920 Make "continue to marker1" consistent.
14921 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14922 message consistent.
14923 * lib/gdb.exp: Put "the program is no longer running", and "the
14924 program exited" in parenthesis.
14925 * lib/mi-support.exp: Ditto.
14926
14927 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14928
14929 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14930
14931 2003-03-29 Andrew Cagney <cagney@redhat.com>
14932
14933 * gdb.base/sizeof.c (main): Print the value of '\377'.
14934 * gdb.base/sizeof.exp: Check the sign of '\377'.
14935
14936 2003-03-27 Michael Chastain <mec@shout.net>
14937
14938 * gdb.base/gdb1090.exp: New file.
14939 * gdb.base/gdb1090.cc: New file.
14940
14941 2003-03-27 J. Brobecker <brobecker@gnat.com>
14942
14943 * gdb.gdb/observer.exp: New regression test.
14944
14945 2003-03-27 Michael Chastain <mec@shout.net>
14946
14947 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14948 * gdb.base/ptype.exp: Likewise.
14949
14950 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14951
14952 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14953
14954 2003-03-26 Michael Chastain <mec@shout.net>
14955
14956 * gdb.base/ptype.exp: Actually use some typedef'd types.
14957
14958 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14959
14960 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14961 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14962
14963 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14964
14965 * gdb.base/default.exp: Fix regular expression.
14966
14967 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14968
14969 * gdb.base/args.exp: Fix regular expression.
14970
14971 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14972
14973 * gdb.base/help.exp: Allow Win32 child process.
14974
14975 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14976
14977 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14978 when stepping out of main().
14979
14980 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14981
14982 * gdb.base/default.exp: Check for win32 specific message when calling
14983 "run" without executable.
14984
14985 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14986
14987 * gdb.base/args.exp: Expect .exe in output.
14988
14989 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14990
14991 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14992 Cygwin native.
14993
14994 2003-03-17 Andrew Cagney <cagney@redhat.com>
14995
14996 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14997 vector registes.
14998 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14999 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15000
15001 2003-03-17 David Carlton <carlton@math.stanford.edu>
15002
15003 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15004 test, for PR breakpoints/38.
15005 Call test_watchpoint_and_breakpoint.
15006 * gdb.base/watchpoint.c (func3): New function.
15007 (main): Call func3.
15008
15009 2003-03-04 David Carlton <carlton@math.stanford.edu>
15010
15011 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15012 Garply<Garply<char> >:: garply".
15013 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15014 with respect to PR c++/1111; note also PR c++/1113.
15015 (test_template_breakpoints): KFAIL "constructor breakpoint" with
15016 respect to PR c++/1062.
15017 KFAIL "destructor breakpoint" with respect to PR c++/1112.
15018
15019 2003-03-03 David Carlton <carlton@math.stanford.edu>
15020
15021 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15022 with respect to PR c++/57.
15023 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15024 c++/826.
15025 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15026 respect to PR c++/57.
15027
15028 2003-03-03 David Carlton <carlton@math.stanford.edu>
15029
15030 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15031 respect to PR c++/33 into FAILs.
15032
15033 2003-03-03 Michael Chastain <mec@shout.net>
15034
15035 * configure.in: Update copyright years.
15036
15037 2003-03-03 Michael Chastain <mec@shout.net>
15038
15039 * Makefile.in: Update copyright years.
15040
15041 2003-02-28 David Carlton <carlton@math.stanford.edu>
15042
15043 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
15044 print class instead of struct and/or superfluous protection
15045 specifiers, as long as the resulting output is equivalent to the
15046 source code.
15047 Delete FIXME from end of messages on tests that don't need
15048 fixing.
15049
15050 2003-02-28 David Carlton <carlton@math.stanford.edu>
15051
15052 * gdb.c++/templates.exp (do_tests): Allow const in the two
15053 Foo<volatile char *>::foo tests.
15054
15055 2003-02-27 Michael Snyder <msnyder@redhat.com>
15056
15057 * gdb.base/restore.c (main): Return zero, so exit code
15058 will be consistant.
15059
15060 2003-02-26 David Carlton <carlton@math.stanford.edu>
15061
15062 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
15063 char *>::foo" test with respect to PR c++/33. Create a new test
15064 which is identical to that one except that it doesn't put the
15065 space between the "char" and the "*"; KFAIL it, too.
15066
15067 2003-02-26 David Carlton <carlton@math.stanford.edu>
15068
15069 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
15070 template types into either PASSes or KFAILs (corresponding to PR
15071 c++/57). Tweak indentation. Update copyright.
15072
15073 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
15074
15075 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
15076
15077 2003-02-13 Michael Chastain <mec@shout.net>
15078
15079 * gdb.base/exprs.exp: Remove i960 remnants.
15080 * gdb.base/funcargs.exp: Likewise.
15081 * gdb.base/list.exp: Likewise.
15082 * gdb.base/ptype.exp: Likewise.
15083
15084 2003-02-14 David Carlton <carlton@math.stanford.edu>
15085
15086 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
15087 pEe->D::vg()" from XFAIL to KFAIL.
15088
15089 2003-02-13 Jason Molenda (jmolenda@apple.com)
15090
15091 * gdb.base/maint.exp: Update maint print statistics regexp to include
15092 new entries.
15093
15094 2003-02-13 Michael Chastain <mec@shout.net>
15095
15096 * gdb.c++/inherit.exp: Remove call to get_debug_format.
15097
15098 2003-02-12 Michael Chastain <mec@shout.net>
15099
15100 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
15101 * gdb.c++/inherit.exp: Likewise.
15102 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
15103 * gdb.c++/templates.exp: Likewise.
15104 * gdb.c++/virtfunc.exp: Likewise.
15105
15106 2003-02-06 Jason Molenda (jason-cl@molenda.com)
15107
15108 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
15109 why the code is written that way.
15110
15111 2003-02-05 Michael Chastain <mec@shout.net>
15112
15113 * gdb.base/dump.exp: Add missing copyright line.
15114
15115 2003-02-05 Jason Molenda (jason-cl@molenda.com)
15116
15117 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
15118 at the beginning so the breakpoint doesn't get set on the loop.
15119
15120 2003-02-05 Michael Chastain <mec@shout.net>
15121
15122 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
15123 output for configurations with gcc 2.95.3.
15124
15125 2003-02-05 Keith Seitz <keiths@redhat.com>
15126 Andrew Cagney <ac131313@redhat.com>
15127
15128 * gdb.mi/mi-cli.exp: New file.
15129
15130 2003-02-04 Michael Chastain <mec@shout.net>
15131
15132 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
15133 Call perror and then continue.
15134
15135 2003-02-03 Michael Chastain <mec@shout.net>
15136
15137 * gdb.c++/pr-1023.cc: New file.
15138 * gdb.c++/pr-1023.exp: New file.
15139
15140 2003-02-05 Jim Blandy <jimb@redhat.com>
15141
15142 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
15143 it's local to foobar. Check for it there, and check that it's not
15144 present in main.
15145 * gdb.c++/local.cc (marker2): New function.
15146 (foobar): Call marker1.
15147 (main): Call marker2 instead of marker1.
15148
15149 2003-02-04 Andrew Cagney <ac131313@redhat.com>
15150
15151 * gdb.disasm/mn10200.exp: Obsolete file.
15152 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
15153 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
15154 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
15155
15156 2003-02-04 David Carlton <carlton@math.stanford.edu>
15157
15158 * gdb.c++/overload.exp: Test intToChar(1).
15159 * gdb.c++/overload.cc (intToChar): New.
15160 (main): Call intToChar.
15161
15162 2003-02-03 David Carlton <carlton@math.stanford.edu>
15163
15164 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
15165 'might_kfail' arg.
15166 KFAIL some of the continue_to_bp_overloaded calls, according to
15167 PR c++/1025.
15168
15169 2003-02-01 Michael Chastain <mec@shout.net>
15170
15171 * gdb.base/advance.c (marker1): New marker function.
15172 * gdb.base/advance.exp: When the 'advance' command lands on the
15173 return breakpoint, it can legitimately stop on either the
15174 current line or the next line. Accommodate both outcomes.
15175 * gdb.base/until.exp: Likewise.
15176
15177 2003-02-02 Andrew Cagney <ac131313@redhat.com>
15178
15179 2002-11-10 Jason Molenda (jason-cl@molenda.com):
15180 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
15181 now a list, not a tuple.
15182 * gdb.mi/mi-var-display.exp: Ditto.
15183 * gdb.mi/gdb792.exp: Ditto.
15184
15185 2003-02-01 Andrew Cagney <ac131313@redhat.com>
15186
15187 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
15188 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
15189 stack backtraces.
15190 * gdb.mi/mi-syn-frame.c: Part of same.
15191
15192 2003-02-01 Mark Kettenis <kettenis@gnu.org>
15193
15194 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15195 gdb.mi/mi1-pthreads.exp: Return instead of calling
15196 gdb_suppress_entire_file.
15197
15198 2003-02-01 Mark Salter <msalter@redhat.com>
15199
15200 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
15201
15202 2003-01-31 Mark Salter <msalter@redhat.com>
15203
15204 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
15205 Support empty arg.
15206
15207 2003-01-30 Michael Chastain <mec@shout.net>
15208
15209 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
15210 This was a workaround for a UTF-8 bug in readline 4.3. The bug
15211 has been fixed in gdb/readline on 2003-01-09.
15212
15213 2003-01-29 Michael Snyder <msnyder@redhat.com>
15214
15215 * gdb.base/maint.exp: Allow for leading underscore in symbol.
15216 * gdb.base/display.exp: Allow for leading underscore in symbol.
15217 * gdb.base/args.exp: Skip if target does not support args passing.
15218
15219 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
15220
15221 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
15222 gdb_test. Accept a list of expect arguments as the third
15223 parameter.
15224 (gdb_test): Use it.
15225
15226 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
15227
15228 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
15229 allow for different test tree configurations. Update some
15230 tescases accordingly.
15231 * gdb.arch/altivec-regs.exp: Ditto.
15232 * gdb.asm/asm-source.exp: Ditto.
15233 * gdb.base/advance.exp: Ditto.
15234 * gdb.base/display.exp: Ditto.
15235 * gdb.base/long_long.exp: Ditto.
15236 * gdb.base/mips_pro.exp: Ditto.
15237 * gdb.base/overlays.exp: Ditto.
15238 * gdb.base/relocate.exp: Ditto.
15239 * gdb.base/setshow.exp: Ditto.
15240 * gdb.base/step-line.exp: Ditto.
15241 * gdb.base/step-test.exp: Ditto.
15242 * gdb.base/until.exp: Ditto.
15243 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
15244
15245 2003-01-17 David Carlton <carlton@math.stanford.edu>
15246
15247 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
15248 corresponding to PR c++/945.
15249 Update copyright.
15250
15251 2003-01-17 David Carlton <carlton@math.stanford.edu>
15252
15253 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
15254 corresponding to PR c++/68.
15255
15256 2003-01-17 David Carlton <carlton@math.stanford.edu>
15257
15258 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
15259 (test_paddr_hairy_functions): Call print_addr_2_kfail for
15260 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
15261
15262 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
15263
15264 * gdb.base/break.exp: Fix change of default location, because of
15265 removal of until tests.
15266 * gdb.base/help.exp: Update test for new 'until' help message.
15267 Add test for help on 'advance'.
15268 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
15269
15270 2003-01-15 Mark Kettenis <kettenis@gnu.org>
15271
15272 * gdb.base/default.exp: Adapt "info float" test for recent changes
15273 to that command. Add test for "info vector".
15274 * gdb.base/float.exp: New file. Add test for "info float" that
15275 resembles the old test in gdb.base/default.exp.
15276
15277 2003-01-15 David Carlton <carlton@math.stanford.edu>
15278
15279 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
15280
15281 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
15282
15283 * gdb.base/break.exp: Move the tests of until command from here...
15284 * gdb.base/until.exp: ... to here. New file. Add other tests.
15285 * gdb.base/advance.c: New file.
15286 * gdb.base/advance.exp: New file.
15287
15288 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
15289
15290 * gdb.base/args.c: New file.
15291 * gdb.base/args.exp: New file.
15292
15293 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
15294
15295 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15296
15297 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
15298
15299 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15300
15301 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
15302
15303 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15304 dates.
15305
15306 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15307
15308 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15309
15310 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15311
15312 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15313 (ptype &*"foo").
15314 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15315
15316 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15317
15318 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15319 * gdb.mi/mi1-console.exp: Likewise.
15320
15321 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15322
15323 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15324 * gdb.mi/mi1-console.exp: Likewise.
15325
15326 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15327
15328 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15329
15330 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
15331
15332 * gdb.base/detach.exp: New test.
15333
15334 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
15335
15336 * Makefile.in (ALL_SUBDIRS): New variable.
15337 (subdirs, clean, distclean): Use it.
15338 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15339 regenerating Makefile, since it is generated from the top level.
15340 * gdb.asm/Makefile.in: Likewise.
15341 * gdb.base/Makefile.in: Likewise.
15342 * gdb.c++/Makefile.in: Likewise.
15343 * gdb.disasm/Makefile.in: Likewise.
15344 * gdb.java/Makefile.in: Likewise.
15345 * gdb.mi/Makefile.in: Likewise.
15346 * gdb.threads/Makefile.in: Likewise.
15347 * gdb.trace/Makefile.in: Likewise.
15348
15349 2003-01-09 David Carlton <carlton@math.stanford.edu>
15350
15351 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15352 Add copyright year 2003.
15353
15354 2003-01-06 Michael Chastain <mec@shout.net>
15355
15356 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15357 When selecting a thread, 'line' and 'file' are optional.
15358 * gdb.mi/mi1-pthreads.exp: Likewise.
15359
15360 2003-01-06 Andreas Schwab <schwab@suse.de>
15361
15362 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15363 failures.
15364
15365 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
15366
15367 Fix PR gdb/844
15368 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15369 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15370
15371 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15372 instead of calling gdb_suppress_entire_file.
15373 * gdb.threads/print-threads.exp: Likewise.
15374 * gdb.threads/schedlock.exp: Likewise.
15375
15376 * gdb.threads/killed.exp: Return instead of calling
15377 gdb_suppress_entire_file.
15378 * gdb.threads/linux-dp.exp: Likewise.
15379 * gdb.threads/pthreads.exp: Likewise.
15380
15381 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
15382
15383 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15384 stabs.
15385 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15386 * gdb.base/whatis.exp: Always allow (void) after function names.
15387
15388 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
15389
15390 * gdb.c++/casts.exp: Correct regexp.
15391
15392 2003-01-04 Mark Kettenis <kettenis@gnu.org>
15393
15394 * configure.in: Call AC_CONFIG_HEADER. Don't call
15395 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15396 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15397 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15398 aforementioned directories in the AC_OUPUT call.
15399 * config.hin: New file.
15400 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15401 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15402 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15403 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15404 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15405 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15406 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15407 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15408 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15409 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15410 gdb.threads/configure.in, gdb.threads/configure,
15411 gdb.threads/config.in, gdb.trace/configure.in,
15412 gdb.trace/configure: Removed.
15413
15414 2003-01-03 Michael Chastain <mec@shout.net>
15415
15416 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15417 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15418
15419 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
15420
15421 * gdb.base/store.exp: Fix regular expressions.
15422
15423 2002-12-28 Mark Kettenis <kettenis@gnu.org>
15424
15425 * configure.in: Rewrite.
15426 * configure: Regenerated.
15427
15428 2003-01-03 David Carlton <carlton@math.stanford.edu>
15429
15430 * gdb.base/psymtab.exp: New file.
15431 * gdb.base/psymtab1.c: Ditto.
15432 * gdb.base/psymtab2.c: Ditto.
15433
15434 2002-12-23 Adam Fedor <fedor@gnu.org>
15435
15436 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15437
15438 2002-12-23 David Carlton <carlton@math.stanford.edu>
15439
15440 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15441 and current_directory initialization.
15442
15443 2002-12-22 Jim Blandy <jimb@redhat.com>
15444
15445 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15446 rather than as part of the output file name.
15447
15448 * gdb.base/attach.exp: There's no need to copy the test program to
15449 /tmp; that was only ever necessary on HP/UX, and this test is
15450 entirely disabled there anyway.
15451
15452 2002-12-21 Jim Blandy <jimb@redhat.com>
15453
15454 * gdb.c++/psmang.exp: Doc fix.
15455
15456 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15457 test.
15458
15459 2002-12-20 David Carlton <carlton@math.stanford.edu>
15460
15461 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15462
15463 2002-12-18 Michael Chastain <mec@shout.net>
15464
15465 * gdb.c++/annota2.exp: Add copyright year 2002.
15466
15467 2002-12-17 David Carlton <carlton@math.stanford.edu>
15468
15469 * gdb.c++/try_catch.cc: Add marker comments.
15470 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15471 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15472 * gdb.c++/m-static.cc: Ditto.
15473 * gdb.c++/m-static1.cc: Ditto.
15474 * gdb.c++/try_catch.cc: Ditto.
15475
15476 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15477
15478 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15479 to see whether we are using the new -environment-directory
15480 command which resets via -r or the old version of the command
15481 which may prompt the user. Part of fix for gdb/741.
15482
15483 2002-12-13 Andrew Cagney <ac131313@redhat.com>
15484
15485 * gdb.fortran/types.exp: Update obsolete comment.
15486 * gdb.fortran/exprs.exp: Ditto.
15487 * lib/gdb.exp: Delete obsolete code.
15488 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15489 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15490 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15491 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15492 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15493 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15494 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15495 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15496 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15497 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15498 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15499 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15500 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15501 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15502 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15503 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15504 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15505 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15506 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15507 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15508 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15509 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15510 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15511 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15512 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15513 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15514 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15515 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15516 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15517 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15518 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15519 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15520 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15521 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15522 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15523 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15524 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15525
15526 2002-12-11 David Carlton <carlton@math.stanford.edu>
15527
15528 * gdb.c++/m-data.exp: Add test for members that shadow global
15529 variables: see PR gdb/804.
15530 * gdb.c++/m-data.cc: Ditto.
15531
15532 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
15533
15534 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15535
15536 2002-12-06 David Carlton <carlton@math.stanford.edu>
15537
15538 * gdb.base/store.c: Don't declare functions static.
15539
15540 2002-12-04 Andrew Cagney <ac131313@redhat.com>
15541
15542 * gdb.base/store.exp, gdb.base/store.c: New files.
15543
15544 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15545
15546 * gdb.base/selftest.exp: Update for current gdb.
15547
15548 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15549
15550 * gdb.base/maint.exp: Only dump symbols from one source file
15551 or objfile.
15552
15553 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15554
15555 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15556 function call.
15557
15558 2002-11-25 Jim Blandy <jimb@redhat.com>
15559
15560 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15561 function appearing in error message.
15562
15563 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
15564
15565 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15566
15567 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15568
15569 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15570 for mi1 and current mi is in correct format. New mi startup message
15571 should be in mi console format. This is part of fix for PR gdb/604.
15572
15573 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15574
15575 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15576 which explicitly prints the zero offset as "+0".
15577
15578 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
15579
15580 * gdb.threads/schedlock.c (args): Make unsigned.
15581
15582 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
15583
15584 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15585 numbers. Allow "foo2|selected stack frame".
15586 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15587 * gdb.asm/asmsrc2.s: Likewise.
15588 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15589 comments.
15590 * gdb.asm/mips.inc: New file.
15591
15592 2002-10-18 Adam Fedor <fedor@gnu.org>
15593
15594 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15595 * gdb.base/help.exp: Likewise.
15596
15597 2002-10-17 Kevin Buettner <kevinb@redhat.com>
15598
15599 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15600 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15601
15602 2002-10-02 Jim Blandy <jimb@redhat.com>
15603
15604 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15605
15606 2002-10-01 Andrew Cagney <ac131313@redhat.com>
15607
15608 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15609 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15610 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15611 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15612 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15613 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15614 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15615
15616 2002-09-29 Andrew Cagney <ac131313@redhat.com>
15617
15618 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15619 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15620 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15621 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15622 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15623 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15624 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
15625
15626 2002-09-27 Kevin Buettner <kevinb@redhat.com>
15627
15628 * gdb.base/annota1.exp (info break): Make directory components of
15629 path optional since not all compilers emit this debug information.
15630
15631 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15632 step ends up stepping out of the function instead of stopping on
15633 the epilogue.
15634
15635 2002-09-26 Keith Seitz <keiths@redhat.com>
15636
15637 * lib/insight-support.exp (gdbtk_start): Figure out where
15638 the insight executable is based on where gdb is. Use this
15639 executable to start insight instead of gdb.
15640
15641 2002-09-25 Andrew Cagney <cagney@redhat.com>
15642
15643 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15644
15645 2002-09-24 Andrew Cagney <ac131313@redhat.com>
15646
15647 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15648 test_isolated_complaints.
15649 (test_empty_complaint): New function.
15650 (test_empty_complaints): New function. Check no output when no
15651 complaints.
15652
15653 2002-09-19 Jim Blandy <jimb@redhat.com>
15654
15655 * gdb.base/charset.exp, gdb.base/charset.c: New files.
15656
15657 2002-09-19 Andrew Cagney <ac131313@redhat.com>
15658
15659 * gdb.gdb/complaints.exp: New file.
15660
15661 2002-09-18 Andrew Cagney <ac131313@redhat.com>
15662
15663 * gdb.base/maint.exp: Check `help maint internal-warning'.
15664
15665 2002-09-18 David Carlton <carlton@math.stanford.edu>
15666
15667 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15668 numbers, and replace them by a single breakpoint after the
15669 constructors are all finished.
15670 Add test 4.
15671 * gdb.c++/m-static.cc: Add test 4.
15672 * gdb.c++/m-static.h: New file.
15673 * gdb.c++/m-static1.cc: New file.
15674
15675 * gdb.c++/printmethod.exp: New file.
15676 * gdb.c++/printmethod.cc: New file.
15677
15678 * gdb.c++/pr-574.exp: New file.
15679 * gdb.c++/pr-574.cc: New file.
15680
15681 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15682
15683 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15684 embedded targets which never actually exit.
15685
15686 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15687
15688 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15689 "don't step after run" as unresolved or unsupported, instead of xfail.
15690
15691 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15692
15693 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15694 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15695 Add newline to expected string in "step out of main (status wrapper)"
15696 case.
15697
15698 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15699
15700 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15701 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15702
15703 2002-09-17 Tom Tromey <tromey@redhat.com>
15704
15705 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15706 \000, not \0, in double-quoted string.
15707
15708 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
15709
15710 * gdb.base/commands.exp: Don't expect a "Program exited normally"
15711 string after running the commands execution on breakpoint tests.
15712
15713 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
15714
15715 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15716
15717 2002-09-12 Joel Brobecker <brobecker@gnat.com>
15718
15719 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15720
15721 2002-09-10 Keith Seitz <keiths@redhat.com>
15722
15723 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15724 runto proc.
15725 (mi_run_to_main): Use mi_runto.
15726 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15727
15728 2002-09-10 Keith Seitz <keiths@redhat.com>
15729
15730 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15731 regexp for stopping at main. Could have multiple event notifications.
15732 Don't assume that main was declared with no parameters.
15733 (mi_next): Use mi_step_to.
15734 (mi_step): Use mi_next_to.
15735
15736 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
15737
15738 * gdb.base/default.exp: Fix expected string in `info float' test.
15739
15740 2002-09-09 Ben Elliston <bje@redhat.com>
15741
15742 * config/mips.exp: Update comments.
15743 * config/mips-idt.exp: Likewise.
15744 * config/nind.exp: Likewise.
15745 * config/slite.exp: Likewise.
15746 * config/sparclet.exp: Likewise.
15747 * config/udi.exp: Likewise.
15748 * config/vx.exp: Likewise.
15749 * config/vxworks29k.exp: Likewise.
15750
15751 2002-09-05 Jim Blandy <jimb@redhat.com>
15752
15753 * gdb.threads/killed.exp: Fix test failure message.
15754
15755 2002-09-04 Keith Seitz <keiths@redhat.com>
15756
15757 * lib/mi-support.exp: Update copyright.
15758 (mi_gdb_test): Increase the priority of the expected pattern
15759 so that it matches gdb_test.
15760
15761 2002-09-03 Keith Seitz <keiths@redhat.com>
15762
15763 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15764 Use integer comparison instead of string comparison for testing
15765 whether binary was built.
15766
15767 2002-09-03 Jim Blandy <jimb@redhat.com>
15768
15769 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15770
15771 2002-08-29 Jim Blandy <jimb@redhat.com>
15772
15773 * gdb.threads/pthreads.exp: Move the portable thread compilation
15774 code into a function in lib/gdb.exp, and call that from here.
15775 * lib/gdb.exp (gdb_compile_pthreads): New function.
15776
15777 2002-08-29 Keith Seitz <keiths@redhat.com>
15778
15779 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15780 expect_out so that callers can get at it.
15781
15782 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
15783
15784 * gdb.threads/print-threads.c: New file.
15785 * gdb.threads/print-threads.exp: New file.
15786 * gdb.threads/schedlock.c: New file.
15787 * gdb.threads/schedlock.exp: New file.
15788
15789 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
15790
15791 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15792 not altivec.c.
15793
15794 2002-08-17 Mark Kettenis <kettenis@gnu.org>
15795
15796 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15797 targets. The problem should be fixed now.
15798
15799 2002-08-15 Mark Kettenis <kettenis@gnu.org>
15800
15801 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15802 2002-07-24 change that removes final dots from error messages.
15803
15804 2002-08-13 Tom Tromey <tromey@redhat.com>
15805
15806 * gdb.base/readline.exp: New file.
15807
15808 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15809
15810 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15811 supress message.
15812
15813 2002-08-01 Andrew Cagney <cagney@redhat.com>
15814
15815 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15816 CHILL_FOR_TARGET and CHILL_LIB.
15817 * configure.in (configdirs): Remove gdb.chill.
15818 * configure: Regenerate.
15819 * lib/gdb.exp: Obsolete references to chill.
15820 * gdb.fortran/types.exp: Ditto.
15821 * gdb.fortran/exprs.exp: Ditto.
15822
15823 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15824
15825 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15826 set Irix-specific compile and link flags.
15827
15828 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15829
15830 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15831 source files. The ``-o'' option doesn't work with the ``-E'' option
15832 when using the Irix compiler.
15833
15834 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15835
15836 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15837 Improve support for reusing an exec file. Copy exec file
15838 to target, and run gdbserver on the target instead of on the host.
15839
15840 2002-07-18 Jim Blandy <jimb@redhat.com>
15841
15842 * gdb.base/ending-run.exp: Don't expect to see the program end in
15843 some orderly fashion when we're running on a real stand-alone
15844 board.
15845
15846 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15847 targets that don't support interrupts.
15848
15849 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15850
15851 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15852 systems.
15853 Move comments in expect statements to inside the actions, so that they
15854 don't get matched against.
15855
15856 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15857
15858 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15859 function when asleep" test.
15860
15861 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15862
15863 * gdb.base/page.exp: Rewrite to handle problems with very long
15864 `info set' output. Update copyright.
15865
15866 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15867
15868 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15869 gdb.threads-hp.
15870 * gdb.hp/configure: Regenerate.
15871 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15872 * gdb.hp/gdb.threads-hp/configure: Delete file.
15873 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15874
15875 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15876
15877 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15878 setlocale, bindtextdomain and textdomain.
15879
15880 2002-06-11 Jim Blandy <jimb@redhat.com>
15881
15882 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15883 preprocessor macro information is present.
15884
15885 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15886 tests.
15887
15888 2002-06-06 Michael Snyder <msnyder@redhat.com>
15889
15890 * gdb.base/overlays.exp: Record addresses of overlay
15891 functions in TCL variables rather than in GDB variables,
15892 to avoid having GDB convert them to pointers (with loss
15893 of information).
15894
15895 * gdb.base/d10v.ld: Merge in several years worth of
15896 default linker script changes.
15897 * gdb.base/long_long.exp: Add check for sizeof (long double).
15898
15899 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15900
15901 * gdb.asm/asm-source.exp: Add x86-64 target.
15902 * gdb.asm/x86_64.inc: New.
15903
15904 2002-05-30 Michael Chastain <mec@shout.net>
15905
15906 From Benjamin Kosnik <bkoz@redhat.com>:
15907 * gdb.c++/m-static.cc: New file.
15908 * gdb.c++/m-static.exp: New file.
15909
15910 2002-05-28 Michael Snyder <msnyder@redhat.com>
15911
15912 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15913 precision.
15914
15915 2002-05-27 Michael Chastain <mec@shout.net>
15916
15917 From Benjamin Kosnik <bkoz@redhat.com>:
15918 * gdb.c++/m-data.cc: New file.
15919 * gdb.c++/m-data.exp: New file.
15920
15921 2002-05-27 Michael Chastain <mec@shout.net>
15922
15923 From Benjamin Kosnik <bkoz@redhat.com>:
15924 * gdb.c++/try_catch.cc: New file.
15925 * gdb.c++/try_catch.exp: New file.
15926
15927 2002-05-27 Michael Chastain <mec@shout.net>
15928
15929 * gdb.c++/local.exp: Accept more nested types in output.
15930
15931 2002-05-26 Michael Chastain <mec@shout.net>
15932
15933 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15934
15935 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15936
15937 * lib/gdb.exp (gdb_wrapper_init): Just because
15938 gdb_wrapper_file exists, this does not mean that the file
15939 should not be rebuilt. That is what gdb_wrapper_initialized
15940 is for.
15941 (default_gdb_init): Reset gdb_wrapper_initialized.
15942
15943 2002-05-23 Michael Snyder <msnyder@redhat.com>
15944
15945 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15946 the precision of the floating point test results.
15947 * gdb.base/call-rt-st.exp: Ditto.
15948
15949 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15950 * gdb.base/call-rt-st.exp: Ditto.
15951
15952 2002-05-19 Michael Chastain <mec@shout.net>
15953
15954 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15955
15956 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15957
15958 * configure.in (configdirs): Add gdb.arch.
15959 * configure: Regenerate.
15960
15961 2002-05-17 Jim Blandy <jimb@redhat.com>
15962
15963 * gdb.base/completion.exp: Recognize the more detailed error
15964 messages produced by the macro expander's lexical analyzer.
15965
15966 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15967
15968 * gdb.arch/altivec-abi.c: New file.
15969 * gdb.arch/altivec-abi.exp: New file.
15970 * gdb.arch/altivec-regs.c: New file.
15971 * gdb.arch/altivec-regs.exp: New file.
15972
15973 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15974
15975 * gdb.base/maint.exp (maint print type): Update for new type
15976 structure.
15977
15978 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15979
15980 * gdb.arch: New directory.
15981 * gdb.arch/configure.in: New file.
15982 * gdb.arch/configure: New file.
15983 * gdb.arch/Makefile.in: New file.
15984
15985 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15986
15987 * gdb.asm/asm-source.exp: Add v850 as supported target.
15988 * gdb.asm/v850.inc: New file.
15989
15990 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15991
15992 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15993
15994 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15995
15996 * gdb.base/break.exp: Check 'break "marker2"'.
15997
15998 2002-05-10 Michael Snyder <msnyder@redhat.com>
15999
16000 * gdb.base/long_long.exp: Fix typo.
16001
16002 2002-05-10 Jim Blandy <jimb@redhat.com>
16003
16004 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
16005 a bug.
16006
16007 * gdb.base/printcmds.exp (test_integer_literals_rejected):
16008 Recognize more detailed error message produced by the macro
16009 expander's lexical analyzer.
16010 * lib/gdb.exp (test_print_reject): Same.
16011
16012 2002-05-09 Mark Kettenis <kettenis@gnu.org>
16013
16014 * gdb.c++/method.exp: Fix typo.
16015
16016 2002-05-08 Michael Snyder <msnyder@redhat.com>
16017
16018 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16019 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
16020 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
16021 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16022 Add iftarget clause for strongarm.
16023
16024 2002-05-06 Michael Snyder <msnyder@redhat.com>
16025
16026 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16027 (gdb_continue_to_end): Accept output from status wrapper.
16028 * gdb.base/ending-run.exp: Add case for output from status wrapper.
16029 Clean up fail messages to match pass messages.
16030
16031 Enable the "needs_status_wrapper" testsuite feature.
16032 * lib/gdb.exp (gdb_wrapper_init): New procedure.
16033 (gdb_compile): Conditionally call gdb_wrapper_init.
16034 * gdb.base/a2-run.exp: Recognize output from status wrapper.
16035 * gdb.c++/method.exp: Recognize output from status wrapper.
16036
16037 2002-05-06 Ben Elliston <bje@redhat.com>
16038 From Graydon Hoare <graydon@redhat.com>
16039
16040 * config/sid.exp: Include support for "rawsid" protocol.
16041
16042 2002-05-03 Jim Blandy <jimb@redhat.com>
16043
16044 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
16045 * gdb.c++/hang3.C: New file.
16046
16047 2002-05-04 Andrew Cagney <ac131313@redhat.com>
16048
16049 * gdb.base/default.exp: Remove obsolete code.
16050 * gdb.c++/misc.exp: Ditto. Update copyright.
16051 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
16052 * gdb.base/whatis.exp: Ditto. Update copyright.
16053 * gdb.base/scope.exp: Ditto. Update copyright.
16054 * gdb.base/ptype.exp: Ditto. Update copyright.
16055 * gdb.base/printcmds.exp: Ditto. Update copyright.
16056 * gdb.base/opaque.exp: Ditto. Update copyright.
16057 * gdb.base/list.exp: Ditto.
16058 * gdb.base/funcargs.exp: Ditto. Update copyright.
16059 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
16060 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
16061 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16062 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
16063 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
16064 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
16065
16066 2002-05-02 Michael Snyder <msnyder@redhat.com>
16067
16068 * gdb.base/watchpoint.exp: Add xscale target.
16069 * gdb.base/long_long.exp: Add xscale target.
16070 * gdb.base/default.exp: Add xscale target.
16071
16072 2002-05-01 Jim Blandy <jimb@redhat.com>
16073
16074 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
16075 gdb.c++/hang.exp: New test.
16076
16077 2002-05-01 Fred Fish <fnf@redhat.com>
16078
16079 * gdb.base/completion.exp: Handle completions of "./Make" for
16080 more than one completion possibility, as is the case when we
16081 build and test in the source tree.
16082
16083 2002-04-29 Anthony Green <green@redhat.com>
16084
16085 * gdb.java/jmisc1.exp: New file.
16086 * gdb.java/jmisc2.exp: New file.
16087
16088 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
16089
16090 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
16091
16092 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
16093
16094 * gdb.base/help.exp: Change 'help status' to allow for target
16095 dependent output differences.
16096
16097 2002-04-22 Michael Chastain <mec@shout.net>
16098
16099 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
16100
16101 2002-04-22 Michael Chastain <mec@shout.net>
16102
16103 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
16104
16105 2002-04-17 David S. Miller <davem@redhat.com>
16106
16107 * gdb.asm/sparc64.inc: New file.
16108 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
16109
16110 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
16111
16112 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
16113 instruction file directly into the build tree. Clean up at end of
16114 test.
16115
16116 2002-04-18 David S. Miller <davem@redhat.com>
16117
16118 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
16119 handle 64-bit platforms correctly.
16120 * gdb.base/maint.exp: Likewise.
16121
16122 2002-04-18 Kevin Buettner <kevinb@redhat.com>
16123
16124 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
16125 ``-fpic'' when compiling files comprising a shared library, but
16126 it does need additional linker flags in order to find shared
16127 libraries at run time.
16128
16129 2002-04-18 Kevin Buettner <kevinb@redhat.com>
16130
16131 * gdb.base/cvexpr.c (use): New function.
16132 (main): Invoke use() on all global variables to prevent
16133 some linkers from deleting these otherwise unused symbols.
16134
16135 2002-04-17 Michael Chastain <mec@shout.net>
16136 From David S. Miller <davem@redhat.com>
16137
16138 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
16139 handle 64-bit platforms correctly.
16140
16141 2002-04-12 Michael Snyder <msnyder@redhat.com>
16142 From Jim Blandy <jimb@redhat.com>
16143 * gdb.base/foo.c (foox): Remove section attribute; the linker
16144 script can handle this instead.
16145 * gdb.base/bar.c (barx): Same.
16146 * gdb.base/baz.c (bazx): Same.
16147 * gdb.base/grbx.c (grbxx): Same.
16148
16149 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
16150 manager doesn't automatically unmap overlays unnecessarily.
16151
16152 2002-04-10 Martin M. Hunt <hunt@redhat.com>
16153
16154 * gdb.base/ending-run.exp: Fix pattern for Mips targets
16155 stepping out of main.
16156
16157 2002-04-09 Michael Chastain <mec@shout.net>
16158
16159 * gdb.c++/local.cc (main): Move call to marker1() inside nested
16160 scope so that the nested scope tests will make sense.
16161 * gdb.c++/local.exp: Write patterns that actually work with gcc
16162 (the HP patterns "were never known to work with gcc").
16163 Keep the old aCC patterns too.
16164
16165 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
16166
16167 * gdb.base/attach.exp: Correct target board test.
16168
16169 2002-04-08 Michael Chastain <mec@shout.net>
16170
16171 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
16172 in a const method. Add some xfail and fail cases for configurations
16173 that do not emit the "const ...".
16174
16175 2002-04-07 Michael Chastain <mec@shout.net>
16176
16177 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
16178 Accept "A * const" and "const A * const" as type of "this".
16179 Fix spelling of getFunky throughout. Make messages uniform.
16180
16181 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
16182
16183 Work around for PR gdb/285:
16184 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
16185
16186 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
16187
16188 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
16189 instructions file at run time instead of configure time.
16190 Sometimes we run the test in a directory that is not the one we
16191 configured in.
16192 * gdb.asm/configure.in: Delete creation of symlink.
16193 * gdb.asm/configure: Regenerate.
16194
16195 2002-04-05 J. Brobecker <brobecker@gnat.com>
16196
16197 * gdb.gdb/xfullpath.exp: New test, to exercise the new
16198 xfullpath () function.
16199
16200 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
16201
16202 * gdb.asm/Makefile.in: Correct dependencies.
16203
16204 * gdb.asm/powerpc.inc: New file.
16205 * gdb.asm/asm-source.exp: Add PowerPC.
16206 * gdb.asm/configure.in: Likewise.
16207 * gdb.asm/configure: Regenerated.
16208
16209 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
16210
16211 * gdb.base/relocate.exp: New file.
16212 * gdb.base/relocate.c: New file.
16213
16214 2002-04-04 Fred Fish <fnf@redhat.com>
16215
16216 * gdb.base/step-test.exp: Update comment regarding stopping in
16217 memcpy/bcopy calls inserted as part of the compiler runtime.
16218
16219 2002-04-04 Michael Snyder <msnyder@redhat.com>
16220
16221 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
16222
16223 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
16224
16225 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
16226 (gdb_expect): Remove $notransfer hack.
16227
16228 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
16229
16230 * gdb.c++/classes.exp ("calling method for small class"): Match
16231 updated register output.
16232
16233 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
16234
16235 Fix PR gdb/452
16236 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
16237 when finished. Make gdb_file_cmd send "exec-file" when
16238 appropriate.
16239
16240 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
16241
16242 * gdb.base/attach.exp: Remove extra setup_xfail.
16243
16244 2002-03-26 Michael Snyder <msnyder@redhat.com>
16245
16246 * gdb.base/default.exp: Add tests for dump, append, and restore.
16247 * gdb.base/help.exp: Add tests for dump, append, and restore.
16248 * gdb.base/dump.exp: New file, test dump, append and restore.
16249 * gdb.base/dump.c: New file.
16250
16251 2002-03-27 Michael Snyder <msnyder@redhat.com>
16252
16253 * gdb.base/help.exp: Modify expect strings to reflect
16254 clean-ups in help messages.
16255
16256 2002-03-26 Fred Fish <fnf@redhat.com>
16257
16258 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
16259 have debugging info for those functions and the compiler uses them
16260 internally to copy structs around.
16261
16262 2002-03-26 Fred Fish <fnf@redhat.com>
16263
16264 * gdb.base/list.exp: Revert the change made yesterday and add note
16265 about why we don't list the default lines for remote targets.
16266
16267 2002-03-25 Michael Snyder <msnyder@redhat.com>
16268
16269 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
16270
16271 2002-03-25 Fred Fish <fnf@redhat.com>
16272
16273 * gdb.base/list.exp: This test works on remote targets so remove
16274 the short circuit for remote targets. Update copyright.
16275
16276 2002-03-25 Fred Fish <fnf@redhat.com>
16277
16278 * gdb.base/attach.exp: Fix logic error that was suppressing this
16279 test for all non hppa*-*-hpux* targets, instead of the hp target.
16280 Move comments closer to the suppression point. Also now need to
16281 check that we are running natively.
16282
16283 2002-03-22 Michael Snyder <msnyder@redhat.com>
16284
16285 * gdb.base/default.exp: Add test for gcore. Update copyright.
16286 * gdb.base/help.exp: Add test for gcore. Update copyright.
16287
16288 2002-03-06 Fred Fish <fnf@redhat.com>
16289
16290 * gdb.base/funcargs.c: Remove extraneous ';' character.
16291 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16292
16293 2002-03-04 Michael Chastain <mec@shout.net>
16294
16295 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16296 accommodate gcc v3 function signature.
16297 * gdb.mi/mi0-var-cmd-exp: Ditto.
16298
16299 2002-02-24 Andrew Cagney <ac131313@redhat.com>
16300
16301 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16302 ``GNU/Linux'' or ``Linux kernel''
16303 * testsuite/gdb.threads/pthreads.c: Ditto.
16304
16305 2002-02-24 Michael Chastain <mec@shout.net>
16306
16307 * gdb.threads/pthreads.c (thread1): Add a return statement.
16308 (thread2): Likewise.
16309 (foo): Likewise.
16310
16311 2002-02-23 Michael Chastain <mec@shout.net>
16312
16313 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16314 to placate gcc.
16315
16316 2002-02-23 Michael Chastain <mec@shout.net>
16317
16318 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16319 test "ptype bint". The test passes on all my stabs configurations.
16320
16321 2002-02-21 Jim Blandy <jimb@redhat.com>
16322
16323 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16324 filename at a time, and watch for the ones we want to see.
16325
16326 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16327 types of pointers to prototyped functions.
16328
16329 2002-02-20 Andrew Cagney <ac131313@redhat.com>
16330
16331 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16332 signed, unsigned and straight char.
16333 (padding_char, padding_short, padding_int, padding_long,
16334 padding_long_long, padding_float, padding_double,
16335 padding_long_double): New global variables.
16336 (fill, fill_structs): New functions.
16337
16338 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16339 for correctly sized writes. Update copyright.
16340 (get_valueof): New procedure.
16341 (get_sizeof): Call get_valueof.
16342 (check_valueof): New procedure.
16343 (check_padding): New procedure.
16344
16345 2002-02-20 Michael Chastain <mec@shout.net>
16346
16347 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16348 to setup_xfail. Document some of the remaining calls.
16349
16350 2002-02-18 Michael Chastain <mec@shout.net>
16351
16352 * gdb.c++/userdef.exp: Update copyright year.
16353
16354 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
16355
16356 * gdb.c++/userdef.exp: Test overloaded operators properly.
16357 Remove xfails.
16358
16359 2002-02-14 Michael Snyder <msnyder@redhat.com>
16360
16361 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16362
16363 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
16364
16365 * gdb.base/a2-run.exp: Check for a remote target properly.
16366 * gdb.base/annota1.exp: Likewise.
16367 * gdb.base/list.exp: Likewise.
16368 * gdb.base/reread.exp: Likewise.
16369 * gdb.base/scope.exp: Likewise.
16370 * gdb.base/shlib-call.exp: Likewise.
16371 * gdb.base/term.exp: Likewise.
16372 * gdb.c++/annota2.exp: Likewise.
16373
16374 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
16375
16376 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16377
16378 2002-02-10 Michael Chastain <mec@shout.net>
16379
16380 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16381 (call_after_alloca): Ditto.
16382
16383 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
16384
16385 * gdb.base/ending-run.exp: Guard "cont" test with
16386 gdb_skip_stdio_test.
16387
16388 2002-02-06 Jim Blandy <jimb@redhat.com>
16389
16390 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16391 from here...
16392 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16393 To here. Disable this test on non-HP platforms. Add big comment.
16394
16395 2002-02-04 Michael Snyder <msnyder@redhat.com>
16396
16397 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16398 other than d10v and m32r.
16399
16400 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
16401
16402 * gdb.base/default.exp: Rewrite test patterns to reduce time
16403 taken to match them.
16404
16405 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
16406
16407 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16408 Allow a start function above main.
16409 * gdb.threads/linux-dp.exp: Fix copyright date.
16410
16411 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
16412
16413 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16414 (check_philosopher_stack): Check for manager thread before checking
16415 for a just-starting thread.
16416
16417 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
16418
16419 From Neil Booth <neil@daikokuya.demon.co.uk>:
16420 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16421 warnings.
16422
16423 2002-01-21 Fred Fish <fnf@redhat.com>
16424
16425 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16426 not caller.
16427
16428 2002-01-21 Jim Blandy <jimb@redhat.com>
16429
16430 * gdb.base/reread.exp: Check that GDB properly re-reads the
16431 executable file when it changes while no inferior is running.
16432
16433 2002-01-21 Fred Fish <fnf@redhat.com>
16434
16435 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16436 optionally accept the "shlib events" variation.
16437
16438 2002-01-21 Jim Blandy <jimb@redhat.com>
16439
16440 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16441 call `fflush' after every `printf', so that the output is produced
16442 at predictable points, regardless of whatever buffering does (or
16443 doesn't) take place.
16444 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16445 at different points.
16446
16447 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
16448
16449 * gdb.c++/inherit.exp: Update copyright years.
16450 * gdb.c++/method.exp: Likewise.
16451
16452 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
16453
16454 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16455 artificial methods/arguments.
16456 * gdb.c++/derivation.exp: Likewise.
16457 * gdb.c++/inherit.exp: Likewise.
16458 * gdb.c++/method.exp: Likewise.
16459 * gdb.c++/virtfunc.exp: Likewise.
16460
16461 2002-01-18 Andrew Cagney <ac131313@redhat.com>
16462
16463 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16464 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16465 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16466 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16467 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16468 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16469
16470 2002-01-17 Jim Blandy <jimb@redhat.com>
16471
16472 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16473 anchoring the pattern matching the entry point symbol's name.
16474
16475 2002-01-17 Andrew Cagney <ac131313@redhat.com>
16476
16477 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16478 continue/quit query. Update copyright.
16479
16480 2002-01-14 Michael Snyder <msnyder@redhat.com>
16481
16482 * gdb.base/gcore.exp: Remove extra debugging output.
16483
16484 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
16485
16486 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16487 for slightly dubious v2 mangled string.
16488
16489 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
16490
16491 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16492
16493 2002-01-10 Jason Merrill <jason@redhat.com>
16494
16495 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
16496
16497 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16498 constructors.
16499 * gdb.c++/derivation.exp: Likewise.
16500 * gdb.c++/templates.exp: Likewise.
16501 * gdb.c++/virtfunc.exp: Likewise.
16502
16503 2002-01-10 Michael Snyder <msnyder@redhat.com>
16504
16505 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
16506
16507 2002-01-08 Michael Snyder <msnyder@redhat.com>
16508
16509 * gdb.base/gcore.exp: New test for generate-core-file command.
16510 * gdb.base/gcore.c: Testcase for above.
16511 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16512
16513 2002-01-08 Jason Merrill <jason@redhat.com>
16514
16515 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16516
16517 2002-01-07 Fred Fish <fnf@redhat.com>
16518
16519 * gdb.c++/overload.exp: Remove unconditional xfails for:
16520 print foo_instance1.overloadargs(1)
16521 print foo_instance1.overloadargs(1, 2)
16522 print foo_instance1.overloadargs(1, 2, 3)
16523 print foo_instance1.overloadargs(1, 2, 3, 4)
16524 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16525 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16526 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16527 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16528 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16529 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16530 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16531 print foo_instance1.overload1arg()
16532 print foo_instance1.overload1arg((char)arg2)
16533 print foo_instance1.overload1arg((signed char)arg3)
16534 print foo_instance1.overload1arg((unsigned char)arg4)
16535 print foo_instance1.overload1arg((int)arg7)
16536 print foo_instance1.overload1arg((unsigned int)arg8)
16537 print foo_instance1.overload1arg((float)arg11)
16538 print foo_instance1.overload1arg((double)arg12)
16539
16540 2002-01-07 Michael Snyder <msnyder@redhat.com>
16541
16542 * gdb.base/huge.exp: New test. Print a very large target data object.
16543 (skip_huge_test): New test variable. Define if you want to skip this
16544 test. The test reads an 8 megabyte data object from the target, so it
16545 might be very time consuming on remote targets with a slow connection.
16546 * gdb.base/huge.c: New file. Test case for above.
16547
16548 2002-01-07 Fred Fish <fnf@redhat.com>
16549
16550 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16551 g_instance.bfoo, and g_instance.cfoo.
16552
16553 2002-01-07 Jeffrey A Law <law@redhat.com>
16554
16555 * gdb.base/break.c (multi_line_if_conditional): New function.
16556 (multi_ilne_while_conditional): Likewise.
16557 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16558 IF or WHILE condition puts the breakpoint at the start of
16559 the condition.
16560
16561 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16562 hppa*-*-hpux* expected failure.
16563 * gdb.base/structs.exp (do_function_calls): Similarly.
16564
16565 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16566 watchpoints.
16567
16568 2002-01-06 Andrew Cagney <ac131313@redhat.com>
16569
16570 Fix PR gdb/66.
16571 * gdb.base/structs.exp: Replace skip for a29k with skip for
16572 gdb,cannot_call_functions.
16573 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16574 * gdb.base/callfuncs.exp: Ditto.
16575 * gdb.base/call-rt-st.exp: Ditto.
16576 * gdb.base/call-strs.exp: Ditto.
16577 * gdb.base/callfwmall.exp: Ditto.
16578 * gdb.base/scope.exp: Obsolete xfail a29k.
16579 * gdb.c++/misc.exp: Ditto.
16580 * gdb.c++/cplusfuncs.exp: Ditto.
16581 * gdb.base/ptype.exp: Ditto.
16582 * gdb.base/printcmds.exp: Ditto.
16583 * gdb.base/opaque.exp: Ditto.
16584 * gdb.base/list.exp: Ditto.
16585 * gdb.base/funcargs.exp: Ditto.
16586 * gdb.base/default.exp: Ditto.
16587
16588 2002-01-04 Michael Snyder <msnyder@redhat.com>
16589
16590 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
16591 * gdb.base/maint.exp: Add tests for maint info sections options.
16592
16593 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16594
16595 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16596
16597 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
16598
16599 * gdb.asm/arm.inc: New file.
16600 * gdb.asm/asm-source.exp: Add arm targets.
16601 * gdb.asm/configure.in: Ditto.
16602 * gdb.asm/configure: Recreated from configure.in.
16603
16604 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16605
16606 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16607 with HP's compiler.
16608 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16609 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16610 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16611 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16612
16613 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16614 either HP's compilers or GCC.
16615
16616 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16617 a SIGBUS or SIGSEGV.
16618
16619 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16620
16621 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16622 can be compiled with either HP's compiler or GCC.
16623
16624 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16625 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16626 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16627
16628 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16629 to match current gdb output. Update due to using auto-solib-limit
16630 for limiting instead of overloading auto-solib-add.
16631 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16632 test program.
16633
16634 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
16635 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16636 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16637 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16638 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16639 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16640 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16641 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16642 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16643 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16644 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16645 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16646 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
16647
16648 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16649 a SIGTRAP to the inferior.
16650
16651 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
16652
16653 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16654 Substitute call to target_link by call to gdb_compile.
16655
16656 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16657
16658 * gdb.base/break.exp: Fix HP specific search string when testing
16659 backtracing in a called function.
16660
16661 * gdb.base/constvars.exp: Only set lang to C++ if we're
16662 compiling the test with HP's compilers.
16663 * gdb.base/volatile.exp: Similarly.
16664
16665 2001-12-19 Jim Blandy <jimb@redhat.com>
16666
16667 * gdb.base/printcmds.exp: Expect the null character to be printed
16668 as '\0', and the '\013' to be printed as '\v'.
16669 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16670 * gdb.base/setvar.exp: Same.
16671
16672 2001-12-17 Jim Blandy <jimb@redhat.com>
16673
16674 * gdb.base/completion.exp: Rather than completing very long
16675 filenames, which can make the readline library produce output we
16676 don't recognize, cd to the directory first, and then complete
16677 using nice, short relative paths.
16678
16679 * gdb.base/completion.exp: On some systems, there is, in fact, a
16680 variable named `b' in scope, since GDB treats all static
16681 variables as being in scope. So use `no_var_named_this'
16682 instead of `b'.
16683
16684 * gdb.base/corefile.exp: Recognize the message saying that GDB
16685 can't find the core file's registers as a failure.
16686
16687 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16688
16689 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16690 test expect string more specific.
16691
16692 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
16693
16694 * gdb.asm/asm-source.exp: Add support for xstormy16.
16695 * gdb.asm/configure.in: Ditto.
16696 * gdb.asm/configure: Rebuild.
16697 * gdb.asm/xstormy16.inc: New file.
16698
16699 2001-12-10 Fred Fish <fnf@redhat.com>
16700
16701 * gdb.base/maint.exp: Update to match changes in type dumping code.
16702
16703 2001-12-10 Jim Blandy <jimb@redhat.com>
16704
16705 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
16706 matching the entry point symbol's name at the beginning of the
16707 line.
16708
16709 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16710
16711 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16712 gdb.c++/inherit.exp, gdb.c++/method.exp,
16713 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16714 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16715 and class layout support.
16716
16717 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16718
16719 * gdb.c++/classes.exp: Add test for static member function.
16720 * gdb.c++/misc.cc: Add class with static member function.
16721
16722 2001-12-07 Jim Blandy <jimb@redhat.com>
16723
16724 If GDB says it can't find the struct the function returned, report
16725 those tests as `unsupported'.
16726 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16727 Rewrite subsequent tests to use it.
16728
16729 If GDB says it can't find the struct the function returned, report
16730 those tests as `unsupported'.
16731 * gdb.base/structs.exp (call_struct_func): New function.
16732 (do_function_calls): Use call_struct_func to call the functions
16733 returning structs.
16734
16735 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16736 whether functions are prototyped or not, so we can't possibly pass
16737 arguments to t_float_values2 properly.
16738
16739 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16740 value of `timeout' for targets other than the mips*tx39-*.
16741
16742 2001-12-06 Michael Snyder <msnyder@redhat.com>
16743
16744 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
16745 and detect whether the start symbol has a leading underscore.
16746
16747 2001-12-04 Jim Blandy <jimb@redhat.com>
16748
16749 * gdb.base/completion.exp: Clarify indentation.
16750
16751 2001-12-03 Jim Blandy <jimb@redhat.com>
16752
16753 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16754 variables on the S/390, not `.word'.
16755
16756 2001-11-30 Jim Blandy <jimb@redhat.com>
16757
16758 Add assembly-source tests for s390-ibm-linux.
16759 * gdb.asm/s390.inc: New file.
16760 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16761 the S/390 architecture.
16762 * gdb.asm/configure: Regenerated.
16763
16764 2001-11-30 Michael Snyder <msnyder@redhat.com>
16765
16766 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16767 next, info source, info sources, info line, global and static
16768 variables, and static functions.
16769 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16770 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16771 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16772 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16773 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16774 (gdbasm_leave): Restore frame pointer.
16775 (gdbasm_startup): Copy stack set-up from crt0.S.
16776
16777 2001-11-26 Fernando Nasser <fnasser@redhat.com>
16778
16779 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16780 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16781 to a local (non-static) variable. Copy tstruct.a to a static buffer
16782 and return a pointer to that buffer.
16783 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16784
16785 2001-11-24 Mark Kettenis <kettenis@gnu.org>
16786
16787 * gdb.asm/configure.in: Fix recognition of ix86 target.
16788 * gdb.asm/configure: Regenerate.
16789
16790 2001-11-21 Michael Snyder <msnyder@redhat.com>
16791
16792 * gdb.asm/sparc.inc: New file.
16793 * gdb.asm/asm-source.exp: Recognize sparc target.
16794 * gdb.asm/configure.in: Recognize sparc target.
16795 * gdb.asm/configure: Regenerate.
16796
16797 2001-11-21 Michael Snyder <msnyder@redhat.com>
16798
16799 * gdb.asm/m32r.inc: New file.
16800 * gdb.asm/asm-source.exp: Recognize m32r target.
16801 * gdb.asm/configure.in: Recognize m32r target.
16802 * gdb.asm/configure: Regenerate.
16803
16804 2001-11-20 Michael Snyder <msnyder@redhat.com>
16805
16806 * gdb.asm/i386.inc: New file.
16807 * gdb.asm/asm-source.exp: Recognize ix86 target.
16808 * gdb.asm/configure.in: Recognize ix86 target.
16809 * gdb.asm/configure: Regenerate.
16810
16811 * gdb.c++/namespace.exp: Fix quotes in output messages.
16812
16813 2001-11-14 Michael Snyder <msnyder@redhat.com>
16814
16815 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16816 qualifier in a type cast expression, to designate an address
16817 in the instruction space (Harvard architecture).
16818
16819 2001-11-13 Michael Snyder <msnyder@redhat.com>
16820
16821 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16822 Tests for expressions using 'const' and 'volatile'.
16823
16824 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16825
16826 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16827
16828 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16829
16830 * lib/mi-support.exp (mi_run_to_helper): Move comments
16831 outside of gdb_expect.
16832
16833 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16834
16835 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16836 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16837 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16838 mi0_run_to): New functions.
16839 * gdb.mi/mi-simplerun.exp: Use them.
16840 * gdb.mi/mi0-simplerun.exp: Likewise.
16841 * gdb.mi/mi-var-cmd.exp: Likewise.
16842 * gdb.mi/mi0-var-cmd.exp: Likewise.
16843
16844 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16845
16846 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16847 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16848
16849 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16850
16851 * gdb.base/restore.exp: Include $expected value in restored test
16852 message.
16853
16854 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16855
16856 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16857 implemented.
16858
16859 2001-11-08 Michael Snyder <msnyder@redhat.com>
16860
16861 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16862 Add pass/fail message for stop at breakpoint in call dummy function.
16863
16864 2001-11-07 Michael Snyder <msnyder@redhat.com>
16865
16866 * gdb.c++/templates.exp (test_template_breakpoints):
16867 If we get an overload menu, but it does not match what
16868 we expect, we still need to issue the "cancel" command.
16869 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16870 making the whitespace optional. Argument for "new" may be
16871 "unsigned" as well as "unsigned int/long".
16872 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16873 making the whitespace optional. Also replace "(void) with
16874 "((void|)), making the keyword "void" optional.
16875 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16876 making the whitespace optional. Also replace "(void) with
16877 "((void|)), making the keyword "void" optional.
16878 * gdb.base/callfuncs.c (t_float_values): This function must
16879 _not_ be prototyped, and the following function (t_float_values2)
16880 must be prototyped (if the compiler supports it), so that GDB
16881 can be tested against both cases. Usually one case involves
16882 promotion of float to double, while the other does not.
16883 * gdb.base/callfwmall.c: Ditto.
16884 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16885 includes a stack frame for "start".
16886
16887 2001-11-05 Jim Blandy <jimb@redhat.com>
16888
16889 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16890 pointers are 32 bits long, and that offsets of relocs are always
16891 stored in the data (REL-style), and not in the reloc entry itself
16892 (RELA-style).
16893 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16894 stabs.
16895
16896 2001-11-01 Michael Snyder <msnyder@redhat.com>
16897
16898 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16899 and regular expression operators by using quoting.
16900
16901 2001-10-31 Michael Snyder <msnyder@redhat.com>
16902
16903 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16904 depending on what the symbol table contains.
16905 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16906 the output of the ptype command. Similarly, accept both "const &"
16907 and "const&".
16908
16909 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16910
16911 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16912 symbol `STORAGE' to allow to choose the storage class of
16913 the local datastructures.
16914 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16915 compiler directive.
16916
16917 2001-10-30 Michael Snyder <msnyder@redhat.com>
16918
16919 * gdb.base/jump.exp: Allow it to run for all targets.
16920
16921 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16922
16923 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16924 with new double_array size.
16925 (main): Change storage class of all local variables to static.
16926 Reduce size of double_array to 9.
16927 * gdb.base/call-ar-st.exp: Increase timeout value.
16928 Change expected output for double array to match new size in
16929 call-ar-st.c.
16930
16931 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16932
16933 * gdb.base/ending-run.exp: Create identical output when passing
16934 `step to end of run' case. Add regular expression branch satisfying
16935 Stormy16 target.
16936
16937 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16938
16939 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16940 that we catch the expected failure under Linux/x86.
16941
16942 2001-10-29 Orjan Friberg <orjanf@axis.com>
16943
16944 * gdb.base/setvar.exp: Escape curly braces.
16945 * gdb.stabs/weird.exp: Ditto.
16946
16947 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16948
16949 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16950 * gdm.mi/mi0-hack-cli.exp: Likewise.
16951
16952 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16953
16954 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16955 messages.
16956
16957 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16958
16959 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16960 checking MI enabled.
16961
16962 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16963
16964 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16965
16966 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16967
16968 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16969 if gdb child process crashes, just signal an error.
16970
16971 2001-10-02 Jim Blandy <jimb@redhat.com>
16972
16973 * lib/gdb.exp (test_xfail_format): Simplify.
16974
16975 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16976 front of the variable name `format'. Simplify `if'.
16977
16978 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16979
16980 * gdb.threads/pthreads.exp: Wait for output and delay
16981 before sending ^C.
16982
16983 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16984
16985 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16986 some incorrect output instead of timing out.
16987 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16988
16989 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16990
16991 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16992 check to allow additional `int'.
16993
16994 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16995
16996 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16997 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16998
16999 2001-09-27 Michael Snyder <msnyder@redhat.com>
17000
17001 * lib/gdb.exp (test_debug_format): New proc.
17002 (setup_xfail_format): Use new proc test_debug_format.
17003 * gdb.base/constvars.exp (local_compiler_xfail_check): New
17004 proc; use new service proc test_debug_format.
17005 Replace all other "gcc_compiled" tests with this test.
17006 * gdb.base/volatile.exp (local_compiler_xfail_check): New
17007 proc; use new service proc test_debug_format.
17008 Replace all other "gcc_compiled" tests with this test.
17009
17010 2001-09-27 Michael Snyder <msnyder@redhat.com>
17011
17012 * gdb.base/cvexpr.exp: New file.
17013 * gdb.base/cvexpr.c: New file
17014 Test for expressions using const and volatile keywords.
17015
17016 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
17017
17018 * gdb.base/constvars.exp: Check for different orders of keywords
17019 and additional "int" strings in output.
17020
17021 2001-09-22 Andrew Cagney <ac131313@redhat.com>
17022
17023 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17024 responses from "help maint".
17025
17026 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
17027
17028 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17029 to localhost:NNN instead of :NNN, in case Xvfb is listening
17030 only on TCP.
17031
17032 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
17033
17034 * gdb.base/recurse.exp: When checking leaving the watchpoint
17035 scope, recognize when gdb is in function's epilogue and pass.
17036
17037 2001-09-18 Keith Seitz <keiths@redhat.com>
17038
17039 * lib/insight-support.exp (_gdbtk_export_target_info): Add
17040 support for running tests against sid targets.
17041 (gdbtk_done): Ditto.
17042
17043 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
17044
17045 * gdb.base/ending-run.c (main): Set stdout buffersize
17046 to the same reasonable value for any target.
17047 * gdb.base/ending-run.exp: Add a regular expression
17048 to make testsuite happy on Sanyo Stormy16 target.
17049
17050 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
17051
17052 * gdb.base/display.c (do_loops): Add float variable `f'.
17053 Increment f in loop.
17054 * gdb.base/display.exp: Increment timeout by 60 seconds.
17055 Change float display test to use variable `f'.
17056
17057 2001-09-17 Jim Blandy <jimb@redhat.com>
17058
17059 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
17060 overflowing the limited breakpoint tables on some ROM monitors
17061 (like the ROM68K).
17062
17063 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
17064
17065 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
17066 the "-ac" (disable access control) flag.
17067
17068 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
17069
17070 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
17071 ints.
17072
17073 2001-08-30 Keith Seitz <keiths@redhat.com>
17074
17075 * lib/gdb.exp: Move all insight-related functionality into
17076 separate file.
17077 * lib/insight-support.exp: New file.
17078
17079 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
17080
17081 * config/sid.exp (sid_start): Never set sid verbosity; disable
17082 expect_background {} that consumed its stdout; tolerate </dev/null.
17083 Attempt to set endianness override in "sid" protocol mode. Cleanup.
17084
17085 2001-08-18 Andrew Cagney <ac131313@redhat.com>
17086
17087 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
17088 CLI jump command to start it.
17089 (mi_run_to_main): Fail immediatly when unexpected output.
17090
17091 2001-08-18 Andrew Cagney <ac131313@redhat.com>
17092
17093 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
17094 beginning of function. Fix PR gdb/191.
17095
17096 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
17097
17098 * config/sid.exp (sid_start): Don't warn if we cannot figure out
17099 what to force sid endianness to.
17100
17101 2001-08-15 Keith Seitz <keiths@redhat.com>
17102
17103 * lib/gdb.exp (gdbtk_start): Don't set environment
17104 variables for TCL_LIBRARY and friends. Insight will
17105 now figure these out for itself.
17106
17107 2001-08-02 Michael Snyder <msnyder@redhat.com>
17108
17109 * gdb.base/completion.exp: Remove the symbol "a64l" from
17110 the expect string; this is target-specific, and not related
17111 to what is being tested.
17112
17113 2001-08-02 Dave Brolley <brolley@redhat.com>
17114
17115 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
17116
17117 2001-07-25 Michael Snyder <msnyder@redhat.com>
17118
17119 * gdb.base/consecutive.exp: New file. Test stepping over
17120 breakpoints on consecutive instructions.
17121 * gdb.base/consecutive.c: New file.
17122
17123 * gdb.base/call-rt-st.exp: Use double-backslash to quote
17124 curly braces in regular expressions.
17125
17126 2001-07-25 Michael Snyder <msnyder@redhat.com>
17127
17128 * gdb.base/ending-run.exp: Accept "Program exited normally" as
17129 legitimate output from stepping out of main.
17130
17131 2001-07-22 Keith Seitz <keiths@redhat.com>
17132
17133 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
17134 the empty string, do not run the tests.
17135
17136 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17137
17138 * gdb.base/long_long.exp: Detect size of pointer. Take into
17139 account 2-byte pointers when testing for p/a results.
17140
17141 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17142
17143 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
17144 and defined to 1K for m68hc11.
17145 (random_data): Reduce table to 1K for embedded platforms (68hc11).
17146 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
17147 (sizeof_random_data): New variable to tell the size of the data table;
17148 don't test past this size; always run to main.
17149
17150 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17151
17152 * gdb.base/return2.exp: return of long long and double fails for
17153 68HC11; don't execute these tests on that platform.
17154 * gdb.base/return.exp: Return of a double fails for 68hc11.
17155
17156 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17157
17158 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
17159 tests that print a float.
17160 * call-rt-st.exp: Likewise.
17161
17162 2001-07-12 Mark Kettenis <kettenis@gnu.org>
17163
17164 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
17165 running this test on Linux.
17166
17167 2001-06-24 Michael Chastain <chastain@redhat.com>
17168
17169 * gdb.base/arithmet.exp: Remove some tests to make all test names
17170 unique.
17171
17172 2001-07-03 Michael Snyder <msnyder@redhat.com>
17173
17174 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
17175 the output of the ptype command.
17176
17177 2001-07-02 Michael Snyder <msnyder@redhat.com>
17178
17179 * gdb.base/completion.exp: Don't assume that break.c is the only
17180 source file that may contain functions named "marker".
17181 * gdb.base/corefile.exp: Quote the curly braces in regexp.
17182
17183 2001-06-28 Andrew Cagney <ac131313@redhat.com>
17184
17185 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
17186 of files to delete.
17187
17188 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
17189 * gdb.disasm/h8300s.exp: New file.
17190 gdb.disasm/h8300s.s: Likewise.
17191
17192 2001-06-27 Andrew Cagney <ac131313@redhat.com>
17193
17194 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
17195 empty breakpoint tables.
17196
17197 2001-06-25 Andrew Cagney <ac131313@redhat.com>
17198
17199 * lib/mi-support.exp: Update args=... part of stop-reason
17200 patterns. Accept either a list or a tuple.
17201
17202 2001-06-23 Andrew Cagney <ac131313@redhat.com>
17203
17204 * lib/mi-support.exp: Remove local emacs variable defining
17205 change-log-default-name.
17206
17207 2001-06-22 Michael Chastain <chastain@redhat.com>
17208
17209 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
17210 This is operationally compatible with the previous version.
17211
17212 2001-06-13 Jim Blandy <jimb@redhat.com>
17213
17214 * lib/gdb.exp (gdb_test): Doc fix.
17215
17216 2001-06-10 Michael Chastain <chastain@redhat.com>
17217
17218 * gdb.base/exprs.exp: Remove a duplicate test.
17219
17220 2001-06-06 Jim Blandy <jimb@redhat.com>
17221
17222 * gdb.base/return2.exp (main): Use values to test float and double
17223 returns that are not NaN's, to avoid being confused by IEEE
17224 comparison rules.
17225
17226 2001-06-04 Michael Snyder <msnyder@redhat.com>
17227
17228 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
17229 non-zero if control_c fails. Terminate the test on failure,
17230 rather than wait for 12 more tests to time out.
17231
17232 2001-06-06 Jim Blandy <jimb@redhat.com>
17233
17234 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
17235 Don't forget to match the GDB prompt.
17236
17237 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
17238
17239 2001-06-04 Jim Blandy <jimb@redhat.com>
17240
17241 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
17242 command.
17243
17244 2001-05-31 Kevin Buettner <kevinb@redhat.com>
17245
17246 * gdb.base/annota1.exp (info break): Match four or more spaces
17247 after "Address".
17248
17249 2001-05-31 Michael Chastain <chastain@redhat.com>
17250
17251 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
17252 (dm_type_int_star): Likewise.
17253 (dm_type_long_star): Likewise.
17254 (dm_type_void_star): Likewise.
17255
17256 2001-05-29 Kevin Buettner <kevinb@redhat.com>
17257
17258 * gdb.base/completion.exp (INPUTRC): Set this environment variable
17259 to a known value in order to get consistent results regardless
17260 of the setting of INPUTRC or the presence or contents of .inputrc.
17261
17262 2001-05-24 Michael Snyder <msnyder@redhat.com>
17263
17264 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
17265 Don't require that the main thread and the manager thread are the
17266 first in the list.
17267
17268 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
17269 debugging. If test fails, issue an "unsupported" not a "fail".
17270
17271 2001-05-24 Jim Blandy <jimb@redhat.com>
17272
17273 Don't assume that short is shorter than int.
17274 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
17275 assume that shorts are smaller than ints. On a 16-bit machine,
17276 this isn't true.
17277 ("print unsigned char == (~0)"): Add test that verifies that ~0,
17278 an int, is not equal to ~0 stored in an unsigned char. This tests
17279 the same thing that the previous test meant to, but works on
17280 16-bit machines, too.
17281 ("print unsigned char != (~0)"): Same test, complemented.
17282
17283 2001-05-24 Michael Snyder <msnyder@redhat.com>
17284
17285 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
17286 test for (full_coverage == 0). This makes the test run faster,
17287 and prevents dejagnu getting out of step.
17288
17289 2001-05-23 Kevin Buettner <kevinb@redhat.com>
17290
17291 * gdb.base/finish.exp (finish_void): Revise pattern for
17292 stopping on the call statement to not permit stopping at
17293 the start of the instructions comprising the call sequence.
17294
17295 2001-05-19 Michael Chastain <chastain@redhat.com>
17296
17297 * gdb.base/callfuncs.exp: Make all test names unique.
17298 * gdb.base/commands.exp: Make all test names unique.
17299 * gdb.base/condbreak.exp: Make all test names unique.
17300 * gdb.base/dbx.exp: Make all test names unique.
17301 * gdb.base/default.exp: Make all test names unique.
17302 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17303 and TIMEOUT messages to their corresponding PASS message.
17304 * gdb.base/ending-run.exp: Make all test names unique.
17305 * gdb.base/long_long.exp: Remove duplicate test.
17306
17307 2001-05-21 Kevin Buettner <kevinb@redhat.com>
17308
17309 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17310 stop on the call statement as well as the statement after the
17311 call.
17312
17313 2001-05-21 Michael Snyder <msnyder@redhat.com>
17314
17315 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17316
17317 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
17318
17319 * gdb.base/completion.exp: Revamp test. Make it execute on all
17320 platforms.
17321
17322 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
17323
17324 * config/gdbserver.exp (gdb_load): Handle the case
17325 in which the arguments to gdbserver are given in the
17326 baseboard configuration file.
17327 Also handle the case in which the server needs to do a
17328 load.
17329
17330 2001-05-07 Keith Seitz <keiths@cygnus.com>
17331
17332 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17333 set up the display for testing.
17334 (gdbtk_start): Convert all paths to paths that tcl will like.
17335 Export target information to environment.
17336 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17337 necessary.
17338 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17339 (to_tcl_path): New proc to convert a given pathname into
17340 a path acceptible as an argument to a tcl command.
17341 (_gdbtk_export_target_info): New proc to export target info
17342 into the environment for gdbtk testing.
17343 (gdbtk_done): New proc to signal end-of-test.
17344
17345 2001-05-06 Jim Blandy <jimb@redhat.com>
17346
17347 * restore.c: Make the code of caller0 correspond to its comment.
17348
17349 2001-05-03 Michael Snyder <msnyder@redhat.com>
17350
17351 * config/sid.exp (gdb_target_sid): Check for error messages.
17352 On error or timeout, don't make expect exit (which will terminate
17353 all subsequent tests); instead just make gdb exit.
17354 (gdb_load): Check for error messages. On error or timeout,
17355 return a negative value.
17356
17357 2001-04-24 Jim Blandy <jimb@redhat.com>
17358
17359 * gdb.c++/templates.exp: If we see the prompt for the overload
17360 list, but we haven't recognized any of the longer patterns,
17361 arrange for this test to fail, not hang.
17362
17363 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17364 variations.
17365
17366 2001-04-22 Michael Chastain <chastain@redhat.com>
17367
17368 * gdb.c++/local.exp: Use the 'runto' library function.
17369 * gdb.c++/namespace.exp: Likewise.
17370 * gdb.c++/overload.exp: Likewise.
17371
17372 2001-03-26 Kevin Buettner <kevinb@redhat.com>
17373
17374 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17375 * gdb.base/step-line.exp: New file. Test step/next in presence of
17376 #line directives.
17377 * gdb.base/step-line.c: New file. Test program for the above.
17378 * gdb.base/step-line.inp: New file. We pretend that this file has
17379 been transformed by some other tool into step-line.c.
17380
17381 2001-03-21 Jim Blandy <jimb@redhat.com>
17382
17383 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17384 unmangled operator names.
17385
17386 2001-03-20 Jim Blandy <jimb@redhat.com>
17387
17388 * gdb.threads/linux-dp.exp: Recognize an additional message
17389 generated by GDB when it doesn't understand how to debug threads
17390 on the target system.
17391
17392 2001-03-19 Andrew Cagney <ac131313@redhat.com>
17393
17394 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17395
17396 2001-03-12 Michael Chastain <chastain@redhat.com>
17397
17398 * gdb.c++/derivation.exp: Use the 'runto' library function.
17399
17400 2001-03-12 Michael Chastain <chastain@redhat.com>
17401
17402 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17403
17404 2001-02-24 Michael Chastain <chastain@redhat.com>
17405
17406 * gdb.c++/ref-types.exp: Change handwritten code to library
17407 function 'runto'.
17408
17409 2001-03-16 Orjan Friberg <orjanf@axis.com>
17410
17411 * gdb.base/signals.exp: Set count to 0 explicitly.
17412
17413 2001-03-15 Mark Salter <msalter@redhat.com>
17414
17415 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17416 (gdb_target_monitor): Add check of gdb_target_cmd return value.
17417 (gdb_load): Add support for additional target_info: gdb_download_size
17418 and gdb_load_timeout.
17419
17420 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17421
17422 * gdb.base/annota1.exp: Move test of isnative to earlier in the
17423 file -- to prevent failing when the compile fails but we have no
17424 intention of running the tests anyway.
17425
17426 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17427 tests if set.
17428
17429 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
17430 integers.
17431
17432 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17433 * gdb.c++/namespace.exp: Ditto.
17434
17435 2001-03-07 Orjan Friberg <orjanf@axis.com>
17436
17437 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17438 * gdb.base/pointers.exp: Relax pattern match of decimals.
17439
17440 2001-03-06 Kevin Buettner <kevinb@redhat.com>
17441
17442 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17443 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17444 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17445 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17446 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17447 config/sh.exp, config/sid.exp, config/slite.exp,
17448 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17449 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17450 config/vxworks.exp, config/vxworks29k.exp,
17451 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17452 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17453 gdb.base/arithmet.exp, gdb.base/assign.exp,
17454 gdb.base/async.exp, gdb.base/attach.exp,
17455 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17456 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17457 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17458 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17459 gdb.base/commands.exp, gdb.base/completion.exp,
17460 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17461 gdb.base/constvars.exp, gdb.base/corefile.exp,
17462 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17463 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17464 gdb.base/ending-run.exp, gdb.base/environ.exp,
17465 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17466 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17467 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17468 gdb.base/funcargs.exp, gdb.base/help.exp,
17469 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17470 gdb.base/logical.exp, gdb.base/long_long.exp,
17471 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17472 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17473 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17474 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17475 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17476 gdb.base/regs.exp, gdb.base/relational.exp,
17477 gdb.base/remote.exp, gdb.base/reread.exp,
17478 gdb.base/restore.exp, gdb.base/return2.exp,
17479 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17480 gdb.base/selftest.exp, gdb.base/setshow.exp,
17481 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17482 gdb.base/sigall.exp, gdb.base/signals.exp,
17483 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17484 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17485 gdb.base/step-test.exp, gdb.base/structs.c,
17486 gdb.base/structs.exp, gdb.base/structs2.exp,
17487 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17488 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17489 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17490 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17491 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17492 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17493 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17494 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17495 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17496 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17497 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17498 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17499 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17500 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17501 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17502 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17503 gdb.trace/circ.exp, gdb.trace/collection.exp,
17504 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17505 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17506 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17507 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17508 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17509 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17510 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17511 notices.
17512
17513 2001-02-27 Michael Snyder <msnyder@cygnus.com>
17514
17515 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17516 first arg is int not float.
17517
17518 2001-02-22 Michael Snyder <msnyder@cygnus.com>
17519
17520 * gdb.base/reread.exp: Unsupported for non-native targets;
17521 doesn't work for remote debugging.
17522
17523 2001-02-19 Fernando Nasser <fnasser@redhat.com>
17524
17525 From Drew Moseley <dmoseley@redhat.com>
17526 * gdb.base/ending-run.exp: Properly handle the BSP state when
17527 stepping past the end of main.
17528
17529 2001-02-19 John Moore <jmoore@redhat.com>
17530
17531 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17532 Converted HPUX fix for non-expected items following multiple
17533 step commands into general solution for all platforms.
17534
17535 2001-02-18 Michael Chastain <chastain@redhat.com>
17536
17537 * gdb.c++/classes.exp (do_tests): Change runto statements
17538 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17539 statements demangler agnostic.
17540 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17541 (gdb_virtfunc_restart): Likewise.
17542
17543 2001-02-14 Michael Chastain <chastain@redhat.com>
17544
17545 * gdb.c++/inherit.exp (do_tests): Change runto statements
17546 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17547 statements demangler agnostic.
17548
17549 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17550
17551 * gdb.threads/pthreads.exp: Unify pass/fail messages for
17552 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17553 before calling common_routine 15 times'' tests.
17554
17555 2001-02-11 Michael Chastain <chastain@redhat.com>
17556
17557 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17558 Helps the test script figure out which demangler is in use.
17559 (dm_type_foo_ref): Ditto.
17560 (dm_type_int_star): Ditto.
17561 (dm_type_long_star): Ditto.
17562 (dm_type_unsigned_int): Ditto.
17563 (dm_type_void): Ditto.
17564 (dm_type_void_star): Ditto.
17565 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
17566 Probe the gdb demangler and set variables to accommodate
17567 formatting differences.
17568 (info_func_regexp): New function. Same as info_func, but
17569 matches against a regexp.
17570 (info_func): Match against a literal string.
17571 (print_addr_2): New function. Match against a literal string,
17572 which can be different from the input to gdb.
17573 (print_addr): Simply call print_addr_2 with the same argument twice.
17574 (test_lookup_operator_functions): Use demangler formatting variables.
17575 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17576 the tests in the same order as the C++ class declaration.
17577 (test_paddr_operator_functions): Ditto.
17578 (test_paddr_overloaded_functions): Ditto.
17579 (test_paddr_hairy_functions): Use demangler formatting variables.
17580 Add reference to gdb/19 for related tests.
17581 (do_tests): Call probe_demangler.
17582
17583 2001-01-30 Kevin Buettner <kevinb@redhat.com>
17584
17585 * gdb.c++/templates.cc (printf): Remove unused function definition.
17586
17587 2001-01-26 Felix Lee <flee@redhat.com>
17588
17589 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17590
17591 2001-01-25 matthew green <mrg@redhat.com>
17592
17593 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17594 up sid.
17595 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17596
17597 2001-01-25 matthew green <mrg@redhat.com>
17598
17599 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
17600 Deprecate $sid_spawn_id.
17601 (sid_exit): Remove code necessary only for `spawn.'
17602
17603 2001-01-25 matthew green <mrg@redhat.com>
17604
17605 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17606
17607 2001-01-28 Michael Chastain <chastain@redhat.com>
17608
17609 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17610 to call when tests fail. It takes gdb out of the overloaded
17611 function choice menu back to the main prompt, so that the test
17612 program stays synchronized.
17613 (set_bp_overloaded): New proc to collect all the common
17614 code for setting a breakpoint on an overloaded name. Calls
17615 take_gdb_out_of_choice_menu when needed.
17616 (menu_overload1arg): New variable to collect the repeated
17617 instances of the expected menu for an overloaded name. Change
17618 the regular expression to handle changes in g++ type encoding:
17619 "void" can be either "void" or "", and "unsigned int" can be
17620 either "unsigned int" or "unsigned".
17621 (continue_to_bp_overloaded): Change regular expressions to handle
17622 changes in g++ type encoding.
17623 (no proc): Call take_gdb_out_of_choice_menu when needed.
17624 Remove redundant calls to "info break". Accept either "canceled"
17625 or "cancelled". Change regular expressions in "info break"
17626 calls to handle changes in g++ type encoding. Give all tests
17627 unique strings.
17628
17629 2001-01-17 Ben Elliston <bje@redhat.com>
17630
17631 * config/sid.exp: New file.
17632
17633 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17634
17635 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17636
17637 2000-12-21 Michael Snyder <msnyder@cygnus.com>
17638
17639 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17640 Add a RE to accept a non-ascii char if one is ever presented.
17641
17642 2000-12-20 Fernando Nasser <fnasser@redhat.com>
17643
17644 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
17645
17646 2000-12-18 Michael Snyder <msnyder@cygnus.com>
17647
17648 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
17649 in regexp. One '\' does not suffice on Linux.
17650
17651 2000-12-09 Michael Chastain <chastain@redhat.com>
17652
17653 * gdb.base/break.exp (test_clear_command): Use a marker function
17654 rather than 'main' for the test function. Also move this
17655 test to an execution point where the marker function names are
17656 guaranteed to be bound to functions. (Executing tests after a
17657 'finish' from main runs into name conflicts with local names
17658 in __libc_start_main).
17659
17660 2000-12-07 Michael Snyder <msnyder@cygnus.com>
17661
17662 * gdb.base/finish.exp: New test for gdb's "finish" command.
17663 * gdb.base/return2.exp: New test for gdb's "return" command.
17664 * gdb.base/return2.c: New source file for above.
17665
17666 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17667
17668 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17669 * gdb.base/miscexprs.exp: Ditto.
17670 * gdb.base/pointers.exp: Ditto.
17671 * gdb.c++/derivation.exp: Ditto.
17672 * gdb.c++/local.exp: Ditto.
17673 * gdb.c++/namespace.exp: Ditto.
17674 * gdb.c++/overload.exp: Ditto.
17675 * gdb.c++/ref-types.exp: Ditto.
17676
17677 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17678
17679 * gdb.base/constvars.exp: Test result of "up" command.
17680 * gdb.base/miscexprs.exp: Ditto.
17681 * gdb.base/pointers.exp: Ditto.
17682 * gdb.base/scope.exp: Ditto.
17683 * gdb.c++/derivation.exp: Ditto.
17684 * gdb.c++/local.exp: Ditto.
17685 * gdb.c++/namespace.exp: Ditto.
17686 * gdb.c++/overload.exp: Ditto.
17687 * gdb.c++/ref-types.exp: Ditto.
17688
17689 2000-11-22 Michael Chastain <chastain@redhat.com>
17690
17691 * mips_pro.exp: Accept either "middle -> top -> main" or
17692 "middle -> main" in the backtrace, because gcc can optimize
17693 tail calls to jumps. Remove setup_xfail for the hppa case.
17694 Add a comment with the original warning messages from PR 3016,
17695 which was filed in 1993, to preserve them for posterity.
17696
17697 2000-11-17 Nick Duffek <nsd@redhat.com>
17698
17699 * lib/gdb.exp (gdb_test): Override timeout with board info.
17700
17701 2000-11-17 Nick Duffek <nsd@redhat.com>
17702
17703 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17704 the second kill and detach messages.
17705
17706 2000-11-17 Nick Duffek <nsd@redhat.com>
17707
17708 * configure.in: Add AC_EXEEXT.
17709 * configure: Regenerate.
17710 * Makefile.in (just-check): Export EXEEXT.
17711 * lib/gdb.exp ($EXEEXT): Import from environment.
17712 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17713 expect "maint dump-me" on Cygwin.
17714 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17715 $EXEEXT.
17716
17717 2000-11-17 Nick Duffek <nsd@redhat.com>
17718
17719 * gdb.base/break.exp: Test backtrace and finish from called
17720 function on all platforms, not just HP-UX.
17721
17722 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17723
17724 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17725 code from gdb_target_monitor, so it can be used independantly
17726 for gdbserver. Also comment out an unnecessary PUTS.
17727
17728 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17729
17730 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17731 * gdb.base/corefile.exp: Expect the message "Program is being
17732 debugged already" when we send the "corefile" command, since
17733 the preceeding gdb_load may have connected gdb to a remote target.
17734 * gdb.base/display.exp: Disable hardware watchpoints if new
17735 board info variable "no_hardware_watchpoints" is true.
17736 Replace single-letter commands with more readable ones.
17737 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17738 if new board info variable "no_hardware_watchpoints" is true.
17739 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17740 to see if stdio (printf) testing is possible.
17741 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17742 board info variable "no_hardware_watchpoints" is true. Use new
17743 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17744
17745 2000-11-13 Fernando Nasser <fnasser@redhat.com>
17746
17747 From Orjan Friberg <orjanf@axis.com>:
17748 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17749 in array print pattern match.
17750
17751 2000-11-09 Fernando Nasser <fnasser@redhat.com>
17752
17753 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17754 spelling "cancelled" to U.S. spelling "canceled" to match changes
17755 made to gdb.
17756 * gdb.c++/ovldbreak.exp: Ditto.
17757
17758 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17759
17760 * gdb.base/callfuncs.c (main): Moved to end of file, call
17761 t_double_values to initialize the FPU before inferior calls are made.
17762 * gdb.base/callfuncs.exp: Test for register preservation after calling
17763 inferior functions. Add tests for continuining, finishing and
17764 returning from a stop in a call dummy.
17765
17766 2000-10-24 Michael Snyder <msnyder@cygnus.com>
17767
17768 * gdb.base/commands.exp: Break up long lines, and re-indent.
17769
17770 2000-10-19 Michael Snyder <msnyder@cygnus.com>
17771
17772 * config/gdbserver.exp: Rewritten from the ground up, to make it
17773 compatible with the current dejagnu tree, and to make it work with
17774 the new "gdbserver" in libremote.
17775
17776 2000-10-16 Michael Snyder <msnyder@cygnus.com>
17777
17778 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17779 * gdb.base/varargs.exp: Skip entire test if no printf support.
17780 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17781 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17782
17783 2000-10-13 Michael Snyder <msnyder@cygnus.com>
17784
17785 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17786 no floating point support.
17787 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17788 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17789 * gdb.base/call-rt-st.exp: Ditto.
17790 * gdb.base/call-strs.exp: Ditto.
17791
17792 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17793
17794 * gdb.base/sizeof.c: include <stdio.h>.
17795
17796 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
17797 'finish', otherwise uncaptured gdb_prompt would potentially
17798 throw remaining test points out of sync.
17799
17800 2000-07-26 Scott Bambrough <scottb@netwinder.org>
17801
17802 * gdb.base/recurse.exp: Run tests for all targets.
17803 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17804 gnu-oldld case on ARM.
17805 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17806 for ARM targets.
17807
17808 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17809
17810 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17811 * gdb.java/configure: Rebuild.
17812
17813 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17814
17815 * gdb.java/jv-exp.exp: New file.
17816
17817 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17818
17819 * configure: Rebuilt.
17820 * configure.in (configdirs): Add gdb.java.
17821 * gdb.java/jmisc.java: New file.
17822 * gdb.java/jmisc.exp: New file.
17823 * gdb.java/Makefile.in: New file.
17824 * gdb.java/configure: Rebuilt.
17825 * gdb.java/configure.in: New file.
17826 * lib/java.exp: New file.
17827
17828 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17829
17830 * gdb.base/exprs.exp: Test casts to a pointer including over and
17831 underflow.
17832
17833 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17834
17835 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17836 and the compilers sizes.
17837
17838 2000-07-09 Nick Duffek <nsd@redhat.com>
17839
17840 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17841 (use_methods): New function.
17842 (main): Call use_methods().
17843 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17844 (do_tests): Call test_method_param_class.
17845
17846 2000-07-09 Nick Duffek <nsd@redhat.com>
17847
17848 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17849 spelling.
17850 (test_enums): New procedure. Move enum tests from end of script
17851 to here. Set breakpoint on function name instead of line number.
17852 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17853 (enums2): New marker function.
17854 (enums1): New function.
17855 (main): Call enums1(). Move enum tests to enums1().
17856
17857 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17858
17859 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17860 compile/link program. Update line numbers.
17861 * gdb.asm/d10v.inc: Define ``startup''.
17862 * gdb.asm/asmsrc1.s: Add definition of _start.
17863
17864 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17865
17866 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17867
17868 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17869
17870 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17871 of 'help maint print' command.
17872
17873 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17874
17875 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17876 they use gdb_expect_list.
17877
17878 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17879
17880 * gdb.base/commands.exp: Use ``set remote
17881 memory-read-packet-size'' instead of ``set endian big'' to test
17882 long commands.
17883
17884 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17885
17886 * gdb.c++/templates.exp (do_tests): Make all of these work under
17887 g++, and stop skipping them.
17888
17889 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17890 work under g++.
17891
17892 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17893 initialization.
17894
17895 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17896
17897 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17898 the regular expression: accept an (almost) arbitrary sequence of
17899 "frames-invalid" and "breakpoints-invalid" messages both before
17900 and after the "starting" message.
17901
17902 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17903
17904 * gdb.c++/local.exp: This test has never been known to work with g++.
17905
17906 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17907
17908 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17909 Relax the regular expression a little, make it pass on Solaris 8.
17910
17911 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17912
17913 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17914 a call, do not require that gdb stop on the line after the call.
17915 Instead, it is permissible for gdb to stop on the line of the
17916 call itself.
17917
17918 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17919
17920 * gdb.base/break.exp (bp on small function, optimized file):
17921 Add a second pass pattern. The behavior differs here between stabs
17922 and dwarf for one-line functions. Stabs preserves two line symbols
17923 (one before the prologue and one after) with the same line number,
17924 but dwarf regards these as duplicates and discards one of them.
17925 Therefore the address after the prologue (where the breakpoint is)
17926 has no exactly matching line symbol, and GDB reports the breakpoint
17927 as if it were in the middle of a line rather than at the beginning.
17928
17929 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17930
17931 * gdb.base/interrupt.exp: Make "pass" message say "send"
17932 rather than "send_gdb" (for consistancy).
17933
17934 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17935
17936 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17937 * gdb.c++/templates.cc: Properly check for GCC version number.
17938 * lib/compiler.cc: Likewise
17939
17940 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17941
17942 * gdb.base/break.exp: When compiled with -O2 optimization,
17943 gdb may not stop at the first line of main, due to code motion.
17944
17945 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17946
17947 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17948 This test depends on parsing the printf output from the target.
17949 Since the sparclet stub doesn't do stdio, this will never work.
17950 * gdb.base/call-rt-st.exp: ditto.
17951 * gdb.base/call-strs: ditto.
17952
17953 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17954
17955 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17956
17957 * gdb.base/ending-run.exp: After connecting to a remote target,
17958 but before running, the target will appear to be in a random
17959 location. Specify both a file and a line for breakpoints.
17960 Also, the function that calls main may be called 'init'
17961 rather than 'start'.
17962
17963 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17964
17965 * gdb.base/help.exp: Update output for add-symbol-file command.
17966
17967 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17968
17969 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17970 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17971
17972 2000-04-07 J.T. Conklin <jtc@redback.com>
17973
17974 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17975
17976 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17977
17978 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17979
17980 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17981 values that can be represented exactly.
17982 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17983 above change, and to not check against the directory part of the source
17984 file name.
17985 (step into print_long_arg_list): Likewise.
17986 (print print_small_structs from print_long_arg_list): Likewise.
17987 (print print_long_arg_list): Likewise.
17988
17989 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17990
17991 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17992
17993 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17994
17995 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17996
17997 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17998
17999 * gdb.base/commands.exp (deprecated_command_test): Add test for
18000 deprecate with no arguments.
18001
18002 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
18003
18004 * gdb.base/break.exp: Add new test for setting breakpoints on
18005 optimized code so we can test breakpoints work even when function
18006 prologues may be optimized away
18007
18008 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
18009
18010 From David Whedon <dwhedon@gordian.com>
18011 * gdb.base/commands.exp : Added command deprecator tests.
18012
18013 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
18014
18015 * gdb.base/help.exp: Added test for new apropos command.
18016
18017 2000-03-21 Kevin Buettner <kevinb@redhat.com>
18018
18019 * gdb.base/pointers.c (usevar): New function.
18020 (main): Make sure that global variables v_int_pointer2, rptr,
18021 and y are all referenced someplace in the program by calling
18022 usevar() on them. [Some linkers delete symbols which are
18023 never referenced. The space remains, but there's no way to
18024 get a (symbolic) handle on the variable from the debugger.]
18025
18026 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18027
18028 * gdb.base/printcmds.c: Add typedeffed arrays.
18029
18030 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
18031 procedure to test arrays that are typedef'd.
18032
18033 2000-03-13 James Ingham <jingham@leda.cygnus.com>
18034
18035 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
18036 the library directories.
18037
18038 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
18039
18040 * configure.in (configdirs): Add sub directory gdb.mi.
18041 * configure: Re-generate.
18042
18043 * gdb.mi: New directory.
18044
18045 2000-02-25 Scott Bambrough <scottb@netwinder.org>
18046
18047 * gdb.base/long_long.exp: Correct test suite failure when printing
18048 a long long value as a double on ARM platforms.
18049
18050 2000-02-16 Jim Blandy <jimb@redhat.com>
18051
18052 * gdb.base/break.exp ("breakpoint line number"): Make sure the
18053 default source file is set properly before running this test.
18054
18055 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18056
18057 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
18058 gdbtk/library directory, not in gdbtcl2.
18059
18060 2000-02-04 Jim Blandy <jimb@redhat.com>
18061
18062 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
18063 backslash from regexp pattern.
18064
18065 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
18066 procedure. Use it to run all the "continue to bp overloaded"
18067 tests. Note that this changes the names of the tests slightly.
18068 If the breakpoint hit message includes a hex PC value, because
18069 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
18070 from the real source code, still consider that a pass.
18071
18072 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
18073 XFAIL here if the breakpoint message contains a hex address. Note
18074 similar change on 1999-11-02.
18075
18076 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
18077
18078 * gdb.base/ptype.exp: Establish a default source file before
18079 calling get_debug_format.
18080
18081 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
18082
18083 * gdb.base/watchpoint.exp: Remove duplication of test messages.
18084
18085 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18086
18087 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
18088 of successive stepi commands -- while in the prologue we should see
18089 the function entry bracket.
18090
18091 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18092
18093 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
18094 reach __change_mode() when stepping through the end of main().
18095
18096 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
18097
18098 * gdb.base/default.exp: Fix expected pattern.
18099 * gdb.base/help.exp: Same.
18100
18101 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18102
18103 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
18104 Don't use xfail's because that affects only the following test.
18105
18106 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
18107 solaris or linux.
18108
18109 * gdb.base/selftest.exp: Update to reflect changes to main.c.
18110
18111 2000-01-07 Michael Snyder <msnyder@cygnus.com>
18112
18113 * gdb.base/display.exp: Some yacc parsers like to say
18114 "A syntax error" rather than "A parse error". Accept both.
18115
18116 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
18117
18118 * gdb.base/default.exp: Remove OS dependent string from "target
18119 remote" test.
18120 * gdb.base/help.exp: Same for "help target remote" test.
18121
18122 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18123
18124 From Jim Kingdon <kingdon@redhat.com>:
18125
18126 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
18127 prompt (cleanup rather than necessity, but still might keep output
18128 from spilling to next test).
18129
18130 2000-01-02 Fred Fish <fnf@cygnus.com>
18131
18132 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
18133 AIX, which defines them in <sys/types.h>.
18134
18135 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
18136
18137 * gdb.base/default.exp: Match arm* etc instead of arm in "info
18138 float" test.
18139
18140 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
18141
18142 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
18143
18144 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
18145 outermost frame disallowed".
18146
18147 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
18148
18149 * gdb.base/setvar.exp: New tests for setting the value of a struct
18150 with a constant list.
18151
18152 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18153
18154 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
18155 require the user to type a cast before setting the value of a struct.
18156
18157 1999-12-06 Jim Blandy <jimb@cygnus.com>
18158
18159 * gdb.base/default.exp: Expect the new 'info float' command on
18160 all i386 platforms.
18161
18162 * gdb.threads/linux-dp.exp: Expand our ability to recognize
18163 LinuxThreads libraries that don't support debugging.
18164
18165 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18166
18167 * gdb.base/remote.c: Fill the buffer with truely random data.
18168 Change the buffer type to ``unsigned char'' to simplify size
18169 arithmetic.
18170
18171 * gdb.base/remote.exp: Reduce download numbers by one. Typical
18172 stub only handles 400-1 byte packets. Verify that the download
18173 worked.
18174
18175 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
18176
18177 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
18178 tests, using UNRESOLVED for the untested cases. Also, does not wait
18179 for a timeout if the prompt was received before a recognizable pattern.
18180
18181 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
18182
18183 * lib/gdb.exp (gdb_expect_list): Fix spelling.
18184
18185 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18186
18187 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
18188 watchpoints.
18189
18190 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
18191
18192 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
18193
18194 * gdb.c++/local.exp: Be more flexible in recognizing local class
18195 name mangling. Don't allow horribly truncated method names.
18196 * gdb.c++/derivation.exp: Expect protected inheritance.
18197 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
18198 * gdb.c++/virtfunc.exp: Likewise.
18199 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
18200 when printing a nested enum.
18201
18202 1999-11-22 Jim Blandy <jimb@cygnus.com>
18203
18204 * gdb.base/step-test.exp: Properly await GDB's response to setting
18205 a breakpoint on the call to large_struct_by_value.
18206
18207 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
18208 just because we have debug info for the `start' function.
18209
18210 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
18211
18212 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
18213 "Unknown signal" messages, which indicate (on LinuxThreads) that
18214 GDB doesn't know how to debug threads on this system. This is
18215 better than hanging while philosopher 0 dumps chatter into gdb.log.
18216
18217 1999-11-18 Tom Tromey <tromey@cygnus.com>
18218
18219 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
18220
18221 1999-11-18 Fred Fish <fnf@cygnus.com>
18222
18223 * gdb.base/coremaker2.c: Add sample program for generating
18224 cores that is more self contained than coremaker.c. Eventually
18225 I'll add more code to this and tie it into the testsuite.
18226
18227 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
18228
18229 * gdb.base/dollar.exp: Remove, now in gdb.hp.
18230
18231 1999-11-10 Jimmy Guo <guo@cup.hp.com>
18232
18233 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
18234 from $srcdir/lib/.
18235 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
18236 and gdb.c++/.
18237
18238 * gdb.c++/derivation.exp: remove redundant get compiler info code.
18239
18240 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
18241 'continue with watch' test point.
18242
18243 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
18244
18245 Merged from p2linux-990323-branch:
18246
18247 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
18248
18249 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
18250
18251 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
18252 {limit,fixed}''. Test ``set download-write-size''.
18253
18254 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
18255
18256 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
18257 gdb_expect_list.
18258
18259 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
18260
18261 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
18262
18263 1999-11-03 Mark Salter <msalter@cygnus.com>
18264
18265 * gdb.base/break.exp: Fix "stub continue" pattern.
18266
18267 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
18268
18269 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
18270
18271 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
18272
18273 * gdb.base/display.exp ("finish"): Add timeout clause.
18274
18275 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
18276 plain prompt clause, so this doesn't have to time out in order to
18277 fail.
18278
18279 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
18280 breakpoint hit messages include an address.
18281
18282 * gdb.base/display.exp: Don't forget to escape parens in regular
18283 expressions. Unix regexp notatation sucks.
18284
18285 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18286
18287 * gdb.base/annota1.exp: Test for annotate-signalled: change output
18288 order for 'signalled' message.
18289
18290 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18291
18292 From Jimmy Guo <guo@cup.hp.com>:
18293 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18294 * gdb.base/annota1.c: Add code for tests to work with.
18295
18296 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18297
18298 * gdb.base/remote.exp: New test for remote downloading settings.
18299 * gdb.base/remote.c: New file with large .data.
18300
18301 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18302
18303 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18304 for LinuxThreads support, merged from the Code Fusion branch.
18305
18306 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18307
18308 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
18309 containing exp_continue into a while within an expect. Don't
18310 attempt a start more than three times. Check return value from
18311 gdb_load.
18312
18313 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18314
18315 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
18316 a pass case.
18317
18318 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
18319
18320 * gdb.base/break.c (main): Added a statement that we can step
18321 off of.
18322 * gdb.base/break.exp: Added tests for setting a breakpoint
18323 at an offset and stepping onto a breakpoint.
18324
18325 1999-10-01 Fred Fish <fnf@cygnus.com>
18326
18327 * gdb.base/help.exp (help add-symbol-file): Update to match current
18328 gdb output.
18329
18330 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18331
18332 * gdb.base/break.exp: Code locations are in hex, don't forget!
18333 (For HP-UX.)
18334
18335 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18336
18337 * condbreak.exp: Use break.c as test program.
18338 * condbreak.c: Remove, redundant with break.c.
18339
18340 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18341
18342 * config/monitor.exp (gdb_target_monitor): Disable X- and
18343 Z-packets if the target needs it.
18344
18345 1999-09-13 James Ingham <jingham@leda.cygnus.com>
18346
18347 * gdb.c++/overload.exp: Added tests for listing overloaded
18348 functions with function pointers in the arg, explicitly calling
18349 out the version you want.
18350
18351 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18352
18353 * long_long.exp: Add variations of test cases that work for
18354 targets with 16-bit ints and 32-bit doubles.
18355
18356 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18357
18358 * break.c (main): Compare a possibly-uninitialized argc with an
18359 unlikely value that fits in 16 bits.
18360
18361 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18362
18363 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18364 0xfeeb, don't want negative numbers if ints are 16 bits.
18365
18366 * lib/gdb.exp (skip_cplus_tests): New proc.
18367 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18368 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18369 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18370 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18371 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18372 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18373 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18374 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
18375
18376 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18377
18378 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18379
18380 * gdb.base/corefile.exp (up): Allow a parameter to appear
18381 in the frame that we're going up to.
18382
18383 From Jim Blandy <jimb@cygnus.com>:
18384
18385 * gdb.base/default.exp (info float): Expect some output now.
18386
18387 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18388 returning floating-point values to fail on the x86.
18389 * gdb.base/callfwmall.exp (do_function_calls): Same.
18390
18391 * gdb.base/list.exp (test_listsize): Correct expectations for
18392 listing line 1 with listsize 2. Also, listing a single line
18393 works now, as does listing three lines. [Kevin's note: There
18394 were a number of other cases fixed too where the expectations
18395 differed...]
18396
18397 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18398
18399 * gdb.base/selftest.exp: Add case for when version prints as
18400 constant string instead of char pointer.
18401
18402 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18403
18404 * gdb.base/ending-run.exp: Add Solaris case for what happens when
18405 stepping out of main.
18406
18407 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18408 G++ used.
18409
18410 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
18411 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
18412
18413 * gdb.c++/ovldbreak.exp: Update match string in test that
18414 includes a warning of multiple breakpoints.
18415
18416 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18417
18418 * gdb.base/display.exp: Improve precision of step-after-finish
18419 added yesterday.
18420
18421 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
18422 test.
18423
18424 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18425 configs when using G++, not just hppa*.
18426
18427 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18428
18429 * gdb.base/async.c: New file.
18430 * gdb.base/async.exp: New file.
18431
18432 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18433
18434 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18435 PA64.
18436
18437 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18438
18439 * gdb.base/display.exp: "finish" can leave us mid-line on many
18440 targets, deal with it. Add a small constant to main, instead of
18441 1000 since main+1000 may not be a valid address in the target.
18442
18443 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18444 on hpux11.
18445
18446 * gdb.base/attach.exp: Handle another hpux11 error message variant
18447 when attaching to a process that does not exist.
18448
18449 1999-08-19 J.T. Conklin <jtc@redback.com>
18450
18451 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
18452 characters in 'continue to 1241' test.
18453
18454 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18455
18456 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18457 stop in print_long_arg_list, define and use a whitespace
18458 variable in print_small_structs test, add an XFAIL for Solaris.
18459 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18460 interested enough to fix.
18461
18462 1999-08-13 Keith Seitz <keiths@cygnus.com>
18463
18464 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18465 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18466 proc knows about targets other than the natives.
18467 (test_assign): Use "gdb_run_cmd" to "run" the target.
18468 Check that we've actually hit the breakpoint at main.
18469 When we attempt to assign a value to a local variable, check
18470 that the variable is in the current scope, i.e., don't use
18471 a test with an empty result.
18472
18473 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18474
18475 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
18476 command.
18477
18478 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18479
18480 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18481 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18482 gdb.compat, gdb.threads-hp.
18483 gdb.hp/configure, gdb.hp/configure.in: New files.
18484 gdb.hp/Makefile.in: Recurse into new subdirs.
18485 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18486 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18487 in object files.
18488 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18489
18490 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18491
18492 * gdb.base/display.exp: Help expect by putting a newline in the
18493 funky printf, remove a bogus p/a test.
18494
18495 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18496
18497 * gdb.base/display.exp: Make sure that when we say 'run', we are
18498 connected to the target. This is necessary when running not
18499 natively.
18500
18501 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18502
18503 * gdb.base/step-test.exp: Removed some extraneous messages.
18504
18505 * gdb.base/long_long.exp: Don't run memory examination tests
18506 on little-endian targets (they will need a different set of
18507 results to match).
18508
18509 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18510
18511 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18512 until somebody decides to fix GDB.
18513
18514 * gdb.base/long_long.c: Stop compiler complaint by specifying long
18515 constant as "ULL".
18516 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18517 matches for a couple x/2 commands.
18518
18519 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18520
18521 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18522 by merging in ref-types2 tests.
18523 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18524
18525 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18526 * gdb.c++/Makefile.in: Add standard actions.
18527 (EXECUTABLES): Rename from PROGS, update list.
18528 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18529 from gdb.hp.
18530 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18531 foo and bar locals.
18532 * gdb.c++/anon-union.exp: Fix tests to match.
18533 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18534 expect matches to handle output variations.
18535 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18536 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
18537 output, add HP alternatives for new and delete prints.
18538 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
18539 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
18540 * gdb.c++/demangle.exp: Use $style when reporting failure.
18541 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18542 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18543 match alternatives.
18544 * gdb.c++/local.exp: Add match alternatives or xfails for HP
18545 compilers.
18546 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18547 * gdb.c++/method.exp: Add match alternatives.
18548 * gdb.c++/misc.cc: Add bool types.
18549 * gdb.c++/misc.exp: Add tests for bool types.
18550 * gdb.c++/overload.exp: Add xfails.
18551 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18552 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18553 add some more template parameter tests (only for HP currently).
18554 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18555 * gdb.c++/virtfunc.cc: Add return type and value for main.
18556 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18557 match alternatives.
18558
18559 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18560
18561 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18562
18563 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18564
18565 * gdb.base/signals.exp: Don't expect getting a backtrace from
18566 within a signal handler to fail on Linux.
18567
18568 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18569
18570 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18571 * lib/gdb.exp: Remove some gratuitious semicolons.
18572 (delete_breakpoints): Increase timeout.
18573 (gdb_expect): Add -notransfer option.
18574 (gdb_test): Use -notransfer option.
18575 (get_compiler_info): Add f77 case.
18576 (get_compiler): New proc, split out from gdb_preprocess, add f77
18577 case.
18578 (gdb_preprocess): Call get_compiler.
18579
18580 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18581 * gdb.base/attach.exp, gdb.base/display.exp,
18582 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18583 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18584 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18585 third arg to gdb_test.
18586 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18587 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
18588 HP-UX xfails, add others.
18589 * gdb.base/completion.exp: Reflect name change of self-test.
18590 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
18591 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18592 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18593 HP failure number.
18594 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18595 useless HP-UX 10.30 references.
18596 * gdb.base/maint.exp: Loosen matches.
18597 * gdb.base/pointers.c (main): Declare more_code.
18598 * gdb.base/pointers.exp: Match on output of a `next'.
18599 * gdb.base/structs.c: Add prototypes.
18600 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18601 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18602
18603 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18604
18605 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
18606 command.
18607
18608 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18609
18610 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18611 Fix run to main failures. Watchpoint can be hardware watchpoint.
18612
18613 * gdb.base/annota1.exp: Clean up some more, in case printf has
18614 debug info. Deal with lack of signal hanlder info in stack.
18615
18616 From Jim Kingdon <kingdon@redhat.com>:
18617 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18618
18619 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18620
18621 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
18622 gdb.base/foll-vfork.exp: Don't run for crosses.
18623
18624 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18625
18626 * gdb.base/configure.in: Check for gdbvars.exp instead of
18627 a1-selftest.exp.
18628 * gdb.base/configure: Re-generate.
18629
18630 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18631
18632 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18633 in trying to run first and name is too long.
18634
18635 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18636 pointers2.c and pointers2.exp, respectively.
18637 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18638 doschk happier.
18639
18640 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18641
18642 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18643 callfuncs2.c and callfuncs2.exp.
18644
18645 * gdb.base/list.exp: Remove mistaken xfails.
18646 * gdb.base/list0.h: Add optional prototypes.
18647
18648 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18649
18650 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
18651 calling malloc.
18652 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18653 * ptype.exp: Move test for get_debug_format to before its first
18654 use.
18655
18656 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18657
18658 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18659 * gdb.base/annota2.cc, annota2.exp: Move from here.
18660 * gdb.c++/annota2.cc, annota2.exp: To here.
18661 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18662
18663 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18664
18665 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
18666 a consistent format.
18667
18668 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18669
18670 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18671 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18672 HP compilers, also set the globals $true and $false.
18673
18674 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
18675 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18676 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18677 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18678 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18679 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18680 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18681 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18682 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18683 whatis.c} Add C++ compatible function definitions and return
18684 types, add includes for library functions.
18685 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18686 * gdb.base/step-test.c (myglob): Rename from glob.
18687 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
18688 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18689 files, move here from gdb.hp.
18690 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
18691 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18692 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18693 Adjust line numbers in regexps.
18694
18695 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18696 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18697 instead of 0/1.
18698
18699 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18700 foll-vfork.exp: New files, move here from gdb.hp.
18701 * gdb.base/page.exp: New file, test of pagination command.
18702
18703 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18704 recursion test.
18705 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18706
18707 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
18708 gdb.base/solib.exp: Fix compiler invocation process.
18709
18710 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
18711 HP-UX 11, turn off overload resolution explicitly.
18712 * gdb.base/commands.exp: Set argument list explicitly, add
18713 watchpoint test.
18714 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18715 them work.
18716 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18717 expressions properly.
18718 * gdb.base/corefile.exp: Loosen the match slightly.
18719 * gdb.base/default.exp: Allow "Error accessing memory" message
18720 also.
18721 * gdb.base/display.exp: Skip over x/0 j if PA64.
18722 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18723 * gdb.base/interrupt.exp: Ditto.
18724 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18725 in use.
18726 * gdb.base/list.exp: Add xfails for HP-UX.
18727 * gdb.base/long_long.exp: Refine some of the numeric matches.
18728 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18729 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18730 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18731 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18732 * gdb.base/ptype.exp: Succeed on more varieties of output.
18733 * gdb.base/scope.exp: Add xfails for HP-UX.
18734 * gdb.base/sect-cmd.exp: Add more cases.
18735 * gdb.base/setvar.exp: Add xfails for HP-UX.
18736 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18737 * gdb.base/signals.exp: Match on void symbolically.
18738 * gdb.base/step-test.exp: Add case for PA64.
18739 * gdb.base/term.exp: Add exit and restart.
18740 * gdb.base/twice.exp: Clean up after self.
18741 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18742 * gdb.base/whatis.exp: Allow more ways to pass tests.
18743
18744 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
18745 no longer useful.
18746
18747 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18748
18749 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
18750 list of patterns.
18751 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
18752 print_double_array(double_array)", "continuing to breakpoint
18753 1018", "print print_double_array(array_d)" and "continuing to
18754 1034" tests.
18755
18756 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18757
18758 * Makefile.in: Add empty html and install-html targets.
18759
18760 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18761
18762 * config/mt-*: Remove, these haven't been used since 1996.
18763
18764 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18765
18766 * gdb.base/call-strs.c, gdb.base/ending-run.c,
18767 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
18768 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18769
18770 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18771
18772 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18773 simpler match case for the ptype of the big class.
18774
18775 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18776
18777 * gdb.exp: Fix test for gdb_prompt existence.
18778
18779 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18780
18781 * gdb.exp (gdb_test): Add fail after calls to perror.
18782
18783 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18784
18785 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18786
18787 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18788
18789 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18790
18791 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18792
18793 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
18794 malloc() is linked in.
18795
18796 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18797
18798 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18799 step at end.
18800
18801 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18802
18803 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18804
18805 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18806
18807 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18808
18809 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18810 * gdb.base/mips_pro.exp: Likewise.
18811
18812 1999-06-02 Keith Seitz <keiths@cygnus.com>
18813
18814 * gdb.c++/templates.cc: Change all "new" operators to throw
18815 an exception.
18816 * gdb.c++/cplusfuncs.cc: Likewise.
18817
18818 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18819
18820 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18821
18822 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18823 * gdb.base/ending-run.exp: When stepping out of main, accept a
18824 step into an arbitrary assembler file.
18825
18826 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18827
18828 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18829 "breakpoint-invalid" to be printed.
18830 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18831 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18832 * gdb.base/annota2.cc: Initialize a.x to 0.
18833
18834 1999-05-17 Keith Seitz <keiths@cygnus.com>
18835
18836 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18837 when "skip_float_tests" set.
18838 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18839 "print print_ten_doubles", and "step into print_long_arg_list".
18840 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18841 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18842 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18843 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18844 "skip_float_tests" is set.
18845 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18846 when "skip_float_tests" set.
18847
18848 1999-05-06 Keith Seitz <keiths@cygnus.com>
18849
18850 * gdb.base/annota2.cc: Include stdio.h.
18851
18852 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18853
18854 * gdb.base/crossload.exp: Remove, this has been disabled ever
18855 since BFD stopped including all targets, and cross-GDB gets
18856 plenty of testing anyway.
18857 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18858 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18859 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18860 * gdb.base/README: Remove, was doc for this.
18861 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18862 needed.
18863
18864 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18865
18866 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18867 output.
18868
18869 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18870 * gdb.base/annota2.exp: New file. More annotation tests.
18871 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18872 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18873
18874 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18875
18876 * config/cfdbug.exp: New file.
18877
18878 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18879
18880 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18881 Marcus Daniel's and Dale Hawkins's demangler crashes.
18882
18883 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18884 test_lucid_style_demangling, test_arm_style_demangling,
18885 test_hp_style_demangling): Try Tom Tromey's core-dumping
18886 identifier under each demangling style.
18887
18888 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18889
18890 * gdb.c++/demangle.exp: Include the current demangling style
18891 in all test names.
18892 (current_demangling_style): New global variable.
18893 (set_demangling_style, test_demangling_core, test_demangling,
18894 test_demangling_exact): New functions.
18895 (test_gnu_style_demangling, test_lucid_style_demangling,
18896 test_arm_style_demangling, test_hp_style_demangling): Use those,
18897 instead of calling gdb_test and gdb_test_exact directly.
18898 (catch_demangling_errors): New function, which reports errors
18899 signalled by the demangling test functions in an orderly way.
18900 (do_tests): Use catch_demangling_errors.
18901
18902 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18903
18904 * gdb.base/signals.exp (test_handle_all_print): Use () for
18905 grouping in expressions, not {}.
18906
18907 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18908 initialized yet.
18909
18910 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18911
18912 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18913 are listed.
18914
18915 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18916
18917 * gdb.stabs/weird.exp: Test for CC being defined before
18918 looking at its value.
18919
18920 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18921
18922 * gdb.base/call-ar-st.exp: Remove stray '#'.
18923 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18924 "short int" and "long int".
18925 * gdb.c++/overload.cc: Cast the string added in the previous
18926 change, to mollify finicky HP compiler.
18927 * gdb.hp/reg-test.exp (testfile): Fix file name.
18928 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18929
18930 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18931 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18932 alternate form of enum ptype.
18933
18934 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18935
18936 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18937 * gdb.hp/*.exp: Change all to run compiler probe only after
18938 passing skip_hp_tests, so as not to waste time on guaranteed
18939 failure.
18940
18941 * gdb.c++/overload.cc: Pass string instead of char addr, always
18942 init ccpfoo.
18943 * gdb.c++/templates.cc: Fix syntax error.
18944
18945 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18946
18947 * gdb.base/commands.exp: Add test for correct position of '>'
18948 when issuing the 'commands' command after a 'while' or 'if'
18949 command.
18950
18951 1999-03-18 James Ingham <jingham@cygnus.com>
18952
18953 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18954
18955 * gdb.c++/method.exp: It was testing an uninitialized int on the
18956 stack and assuming it was positive.
18957
18958 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18959
18960 * gdb.base/step-test.exp: Catch a case where finish is broken and
18961 keep it from killing the rest of the tests.
18962 Use gdb_continue_to_end.
18963
18964 * gdb.base/sigall.exp: use gdb_continue_to_end.
18965
18966 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18967
18968 * gdb.base/display.exp: use runto_main, not run.
18969
18970 * gdb.base/default.exp: Check for the current error message in the
18971 r abbreviation test.
18972 Add strongarm to the targets that know info float.
18973
18974 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18975 run which doesn't work with monitors.
18976
18977 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18978
18979 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18980
18981 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18982 program. Traps the case (in Cygmon) when the program never really
18983 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18984 more places, so I used my name. Sorry Mark...
18985
18986 * config/monitor.exp (gdb_target_monitor): added another
18987 target_info parameter: remotebinarydownload. This will set the
18988 remotebinarydownload flag if this is causing some boards trouble.
18989
18990 1999-03-18 Mark Salter <msalter@cygnus.com>
18991
18992 * lib/gdb.exp (continue_to_exit): New function.
18993
18994 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18995 * gdb.base/ending-run.exp: Ditto.
18996 * gdb.base/step-test.exp: Ditto.
18997
18998 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18999
19000 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19001 (suggested by Art Haas <ahaas@neosoft.com>).
19002
19003 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
19004
19005 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
19006
19007 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
19008
19009 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
19010 descriptions of types (short unsigned int vs unsigned short, etc).
19011
19012 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
19013
19014 * gdb.base/call-strs.exp: Don't assume that `step' will step over
19015 a call to strlen; sometimes we do have sources.
19016
19017 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19018
19019 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
19020 character, so GDB won't print garbage after its end.
19021
19022 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19023 breakpoint there instead. Sometimes GCC emits memcpy to handle
19024 the large structures being passed by value, so we step into that
19025 instead of sum_array_print, which obscures what we're really testing.
19026 * gdb.base/step-test.exp: However, we do want a test that notices
19027 the bizarre steps into memcpy, so do that here. Add check for
19028 stepping into function calls that pass large structures by value.
19029 ("Is that a noun clause, or are you just happy to see me?")
19030 Remove all references to specific line numbers.
19031 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19032 New type and function.
19033 (main): Call large_struct_by_value, passing it a large struct by value.
19034 * lib/gdb.exp (gdb_get_line_number): New function.
19035
19036 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
19037 more portable.
19038
19039 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19040
19041 * lib/gdb.exp: Doc fixes.
19042
19043 1999-03-05 Nick Clifton <nickc@cygnus.com>
19044
19045 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
19046
19047 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
19048
19049 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
19050 commands. They're not germane to this test, and they don't work
19051 that way on remote targets.
19052
19053 1999-03-01 James Ingham <jingham@cygnus.com>
19054
19055 * Changelog entries merged over from gdb development branch.
19056
19057 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
19058
19059 * lib/gdb.exp (gdbtk_analyze_results): Generic function
19060 for outputting results of test run.
19061
19062 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
19063
19064 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
19065
19066 1999-02-25 Felix Lee <flee@cygnus.com>
19067
19068 * lib/gdb.exp (debug_format): initialize
19069
19070 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
19071
19072 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
19073 * gdb.base/call-rt-st.c: Ditto.
19074
19075 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
19076
19077 * gdb.threads/pthreads.exp (horiz): New variable.
19078 (test_startup): Fix regexps that capture thread numbers.
19079
19080 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
19081
19082 * gdb.base/smoke.exp: Disambiguate two test case names (both
19083 called ``print'').
19084
19085 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19086
19087 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
19088 compilation.
19089
19090 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19091
19092 * gdb.base/miscexprs.exp: Change patterns to match GDB's
19093 actual output formatting.
19094 * gdb.base/smoke.exp: GDB removes leading 0's.
19095 * gdb.base/volatile.exp: Don't check type of remuneration;
19096 that variable is no longer defined in constvars.c.
19097 * gdb.base/step-test.c (main): Exit with explicit exit code.
19098 * gdb.base/step-test.exp: Remove two nexti checks--they are
19099 not portable.
19100
19101 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19102
19103 * gdb.base/help.exp ("help delete display"): Fix test to match
19104 gdb's output.
19105
19106 * gdb.base/long_long.c (known_types): Initialize values to zero.
19107 * gdb.base/long_long.exp: Step one more line
19108 so 'dec' is initialized in "get to known place". GDB removes
19109 leading zeros. Explicitly ask for hex formatting. Use
19110 unique test case names.
19111
19112 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19113
19114 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
19115
19116 * gdb.c++/method.exp: Add missing close brace.
19117
19118 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
19119
19120 * gdb.base/maint.exp: Use 'set height 0' to disable page
19121 prompting, not 'set height 400'.
19122
19123 Fix a bunch of timeouts.
19124 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
19125 four separate tests, so expect doesn't take forever to match a ton
19126 of text against a regexp with lots of .* forms.
19127 ("maint print psymbols", "maint print symbols"): Make some of
19128 these greps more selective, so that expect doesn't try to wade
19129 through huge piles of output and time out.
19130
19131 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
19132
19133 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
19134 tests: one which doesn't expect shlib events to be reported, and
19135 another which does, but is XFAIL for all platforms other than
19136 HP/UX.
19137
19138 * gdb.base/break.exp: Teach the test suite that the `catch
19139 fork', `catch vfork', and `catch exec' commands produce error
19140 messages on platforms that don't provide these features.
19141
19142 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19143
19144 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
19145 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
19146 (shortening names from solib_threshold.exp etc), won't run on
19147 anything but HP-UX for the foreseeable future.
19148 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
19149 reflect move.
19150
19151 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
19152
19153 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
19154 gdb.trace/Makefile.in (clean): Remove all test executables.
19155
19156 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
19157
19158 * gdb.base/shlib-call.exp: add test cases to verify that gdb
19159 successfully re-sets breakpoints in shared libraries.
19160 * gdb.base/shmain.c (main): return 0, don't fall off the end.
19161
19162 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19163
19164 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
19165 and compiled w/o GCC.
19166
19167 * gdb.hp/watch-cmd.exp: ditto.
19168
19169 * gdb.hp/watch-hp.exp: ditto.
19170
19171 * gdb.hp/xdb1.exp: ditto.
19172
19173 * gdb.hp/xdb2.exp: ditto.
19174
19175 * gdb.hp/dbx.exp: ditto.
19176
19177 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
19178
19179 * constvars.c: Remove C++-isms.
19180 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
19181 with GCC.
19182
19183 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
19184
19185 The following changes are part of the HP merge.
19186
19187 * gdb.base/break.exp: new tests to verify that catchpoints for
19188 fork, vfork, and exec don't trigger inappropriately.
19189
19190 * gdb.base/opaque.exp: compile one file at a time, then link.
19191
19192 * gdb.base/signals.exp: be more restrictive about which hppa
19193 systems receive a setup_xfail. new tests.
19194
19195 * gdb.base/solib_threshold.build: new file.
19196 * gdb.base/solib_threshold.exp: new file.
19197 * gdb.base/solib_threshold.link_opts: new file.
19198 * gdb.base/solib_threshold.mk: new file.
19199 * gdb.base/gen_solib_threshold.c: new file.
19200
19201 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
19202 tests. New tests for enums inside classes.
19203
19204 * gdb.c++/compiler.cc: indicate support of template debugging.
19205
19206 * gdb.c++/demangle.exp: run hp style demangling tests.
19207
19208 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
19209 tests.
19210
19211 * gdb.c++/misc.cc: changes to support new tests.
19212
19213 * gdb.c++/templates.cc: changes to support HP's compiler; changes
19214 to support new tests.
19215
19216 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
19217 gcc, then skip these tests.
19218
19219 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
19220
19221 The following files are part of the HP merge; some had longer
19222 names at HP, but have been renamed to be no more than 14
19223 characters in length.
19224
19225 * gdb.hp/ambiguous.cc: new file.
19226 * gdb.hp/ambiguous.exp: new file.
19227 * gdb.hp/attach.exp: new file.
19228 * gdb.hp/attach2.exp: new file.
19229 * gdb.hp/classes-hp.exp: new file.
19230 * gdb.hp/ctti.exp: new file.
19231 * gdb.hp/ctti-add.cc: new file.
19232 * gdb.hp/ctti-add1.cc: new file.
19233 * gdb.hp/ctti-add2.cc: new file.
19234 * gdb.hp/ctti-add3.cc: new file.
19235 * gdb.hp/dbx.exp: new file.
19236 * gdb.hp/exception.cc: new file.
19237 * gdb.hp/exception.exp: new file.
19238 * gdb.hp/foll-exec.c: new file.
19239 * gdb.hp/foll-exec.exp: new file.
19240 * gdb.hp/foll-fork.c: new file.
19241 * gdb.hp/foll-fork.exp: new file.
19242 * gdb.hp/foll-vfork.c: new file.
19243 * gdb.hp/foll-vfork.exp: new file.
19244 * gdb.hp/inherit-hp.exp: new file.
19245 * gdb.hp/more-steps.exp: new file.
19246 * gdb.hp/namespace.cc: new file.
19247 * gdb.hp/namespace.exp: new file.
19248 * gdb.hp/optimize.exp: new file.
19249 * gdb.hp/pxdb.c: new file.
19250 * gdb.hp/pxdb.exp: new file.
19251 * gdb.hp/quicksort.exp: new file.
19252 * gdb.hp/reg-test.exp: new file.
19253 * gdb.hp/reg-test.s: new file.
19254 * gdb.hp/sized-enum.c: new file.
19255 * gdb.hp/sized-enum.exp: new file.
19256 * gdb.hp/start-stop.exp: new file.
19257 * gdb.hp/templ-hp.cc: new file.
19258 * gdb.hp/templ-hp.exp: new file.
19259 * gdb.hp/thr-lib.c: new file.
19260 * gdb.hp/thr-lib.exp: new file.
19261 * gdb.hp/thr-lib.h: new file.
19262 * gdb.hp/thr-liblib.c: new file.
19263 * gdb.hp/virtfun-hp.c: new file.
19264 * gdb.hp/virtfun-hp.exp: new file.
19265 * gdb.hp/watch-cmd.exp: new file.
19266 * gdb.hp/watch-hp.exp: new file.
19267 * gdb.hp/xdb1.exp: new file.
19268 * gdb.hp/xdb2.exp: new file.
19269 * gdb.hp/xdb3.exp: new file.
19270
19271 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
19272
19273 The following files are part of the HP merge; some had longer
19274 names at HP, but have been renamed to be no more than 14
19275 characters in length.
19276
19277 * gdb.base/ss.h: new file.
19278 * gdb.base/call-ar-st.c: new file.
19279 * gdb.base/call-ar-st.exp: new file.
19280 * gdb.base/call-rt-st.c: new file.
19281 * gdb.base/call-rt-st-exp: new file.
19282 * gdb.base/call-strs.exp: new file.
19283 * gdb.base/ena-dis-br.exp: new file.
19284 * gdb.base/environ.exp: new file.
19285 * gdb.base/long_long.exp: new file.
19286 * gdb.base/sect-cmd.exp: new file.
19287 * gdb.base/shlib-cl2.exp: new file.
19288 * gdb.base/smoke.exp: new file.
19289 * gdb.base/so-impl-ld.c: new file.
19290 * gdb.base/so-impl-ld.exp: new file.
19291 * gdb.base/so-indr-cl.c: new file.
19292 * gdb.base/so-indr-cl.exp: new file.
19293 * gdb.base/varargs.exp: new file.
19294 * gdb.base/volatile.exp: new file.
19295 * gdb.base/whatis-exp.exp: new file.
19296 * gdb.base/display.exp: new file.
19297 * gdb.c++/derivation.exp: new file.
19298 * gdb.c++/local.exp: new file.
19299 * gdb.c++/member-ptr.exp: new file.
19300 * gdb.c++/overload.exp: new file.
19301 * gdb.c++/ovldbreak.exp: new file.
19302 * gdb.c++/ref-types.exp: new file.
19303 * gdb.c++/ref-types2.exp: new file.
19304 * gdb.c++/userdef.exp: new file.
19305
19306 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19307
19308 * gdb.base/default.exp: Reflect wording change in remote.c.
19309
19310 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
19311
19312 * gdb.base/help.exp: Update to reflect current text.
19313
19314 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19315
19316 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19317 they're stack variables and contain garbage.
19318 * gdb.c++/anon-union.exp: new file.
19319
19320 The following changes were made by David Taylor
19321 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19322 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19323 in changes by HP.
19324
19325 * gdb.base/bitops.exp: new file.
19326 * gdb.base/default.exp: change expected messages for catch and
19327 info catch tests to reflect HP merge changes.
19328 * gdb.base/enable-disable-break.exp
19329 * gdb.base/ending-run.c: new file.
19330 * gdb.base/long_long.c: new file.
19331 * gdb.base/maint.exp: new file.
19332 * gdb.base/pointers2.exp: new file.
19333 * gdb.base/shlib-call2.exp: new file.
19334 * gdb.base/solib.exp: new file.
19335 * gdb.base/step-test.c: new file.
19336 * gdb.c++/anon-union.cc: new file.
19337 * gdb.c++/local.cc: new file.
19338 * gdb.c++/member-pointer.cc: new file.
19339 * gdb.c++/method.cc: new file.
19340 * gdb.c++/ref-types.cc: new file.
19341 * gdb.c++/ref-types2.cc: new file.
19342 * gdb.c++/userdef.cc: new file.
19343
19344 * gdb.base/scope.exp: compile one file at a time, then link.
19345 * gdb.base/langs.exp: ditto.
19346 * gdb.base/list.exp: ditto.
19347
19348 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19349
19350 The following changes were made by David Taylor
19351 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19352 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19353 in changes by HP.
19354
19355 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19356 skip tests. When compiling pass c++ flag to gdb_compile.
19357 * gdb.c++/
19358
19359 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19360 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19361 (skip_hp_tests): new function.
19362 (gdb_preprocess): new function.
19363
19364 * configure.in (hpdir): decide whether to configure gdb.hp.
19365 * configure: regenerated.
19366
19367 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19368 to delete on clean.
19369 (EXECUTABLES): update to reflect new additions.
19370 * gdb.base/commands.exp: update message expected.
19371 * gdb.base/default.exp: add copyright notice.
19372 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19373 * gdb.base/help.exp: update messages to reflect current text.
19374 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19375 targets for recurse tests.
19376 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19377 skip this file.
19378
19379 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19380 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19381 compilation.
19382 * gdb.c++/misc.exp: ditto.
19383 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19384 run the tests. tell gdb_compile that it's a c++ compilation.
19385
19386 * gdb.threads/pthreads.exp: fix typo in message.
19387
19388 * gdb.base/all-bin.exp: new file.
19389 * gdb.base/arithmet.exp: new file.
19390 * gdb.base/assign.exp: new file.
19391 * gdb.base/completion.exp: new file.
19392 * gdb.base/cond-expr.exp: new file.
19393 * gdb.base/condbreak.exp: new file.
19394 * gdb.base/define.exp: new file.
19395 * gdb.base/dollar.exp: new file.
19396 * gdb.base/environment.exp: new file.
19397 * gdb.base/eval-skip.exp: new file.
19398 * gdb.base/jump.exp: new file.
19399 * gdb.base/logical.exp: new file.
19400 * gdb.base/pointers.exp: new file.
19401 * gdb.base/relational.exp: new file.
19402 * gdb.base/section_command.exp: new file.
19403 * gdb.base/whatis-expr.exp: new file.
19404
19405 * gdb.base/all-types.c: new file.
19406 * gdb.base/call-array-struct.c: new file.
19407 * gdb.base/call-return-struct.c: new file.
19408 * gdb.base/call-strings.c: new file.
19409 * gdb.base/callfuncs2.c: new file.
19410 * gdb.base/condbreak.c: new file.
19411 * gdb.base/constvars.c: new file.
19412 * gdb.base/display.c: new file.
19413 * gdb.base/int-type.c: new file.
19414 * gdb.base/jump.c: new file.
19415 * gdb.base/miscexprs.c: new file.
19416 * gdb.base/pointers.c: new file.
19417 * gdb.base/pointers2.c: new file.
19418 * gdb.base/shmain.c: new file.
19419 * gdb.base/shr1.c: new file.
19420 * gdb.base/shr2.c: new file.
19421 * gdb.base/solib.c: new file.
19422 * gdb.base/solib1.c: new file.
19423 * gdb.base/solib2.c: new file.
19424 * gdb.base/varargs.c: new file.
19425 * gdb.c++/derivation.cc: new file.
19426 * gdb.c++/overload.cc: new file.
19427 * gdb.c++/ovldbreak.cc: new file.
19428 * gdb.hp/attach.c: new file.
19429 * gdb.hp/attach2.c: new file.
19430 * gdb.hp/average.c: new file.
19431 * gdb.hp/compiler.c: new file.
19432 * gdb.hp/compiler.cc: new file.
19433 * gdb.hp/execd-program.c: new file.
19434 * gdb.hp/follow-exec.c: new file.
19435 * gdb.hp/follow-fork.c: new file.
19436 * gdb.hp/follow-vfork-and-exec.c: new file.
19437 * gdb.hp/misc-hp.cc: new file.
19438 * gdb.hp/more-steps.c: new file.
19439 * gdb.hp/optimize.c: new file.
19440 * gdb.hp/quicksort.c: new file.
19441 * gdb.hp/run-hp.c: new file.
19442 * gdb.hp/start-stop.c: new file.
19443 * gdb.hp/sum.c: new file.
19444 * gdb.hp/templates-hp.cc: new file.
19445 * gdb.hp/thread-local-in-lib.c: new file.
19446 * gdb.hp/thread-local-in-lib.h: new file.
19447 * gdb.hp/thread-local-in-lib.lib.c: new file.
19448 * gdb.hp/vforked-program.c: new file.
19449 * gdb.hp/virtfunc-hp.cc: new file.
19450 * gdb.hp/watchpoint-hp.c: new file.
19451 * gdb.hp/xdb.c: new file.
19452 * gdb.hp/xdb0.c: new file.
19453 * gdb.hp/xdb0.h: new file.
19454 * gdb.hp/xdb1.c: new file.
19455
19456 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19457
19458 The following change was made by Edith Epstein
19459 <eepstein@cygnus.com> as part of a project to merge in changes
19460 originally made by HP; HP did not create ChangeLog entries.
19461
19462 * gdb.c++/demangle.exp: changed the expected output for some
19463 ARM-style mangling -- removed second reference to datatype.
19464 For example, maint demangle __dt__11T1__pt__2_cFv
19465 T1<char>::~T1<char>(void)
19466 becomes,
19467 maint demangle __dt__11T1__pt__2_cFv
19468 T1<char>::~T1(void)
19469
19470 (test_hp_style_demangling): new hp specific demangling test cases.
19471
19472 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19473
19474 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19475 * gdb.trace/backtrace.exp: Likewise.
19476 * gdb.trace/circ.exp: Likewise.
19477 * gdb.trace/collection.exp: Likewise.
19478 * gdb.trace/deltrace.exp: Likewise.
19479 * gdb.trace/infotrace.exp: Likewise.
19480 * gdb.trace/limits.exp: Likewise.
19481 * gdb.trace/packetlen.exp: Likewise.
19482 * gdb.trace/passc-dyn.exp: Likewise.
19483 * gdb.trace/passcount.exp: Likewise.
19484 * gdb.trace/report.exp: Likewise.
19485 * gdb.trace/save-trace.exp: Likewise.
19486 * gdb.trace/tfind.exp: Likewise.
19487 * gdb.trace/tracecmd.exp: Likewise.
19488 * gdb.trace/while-dyn.exp: Likewise.
19489 * gdb.trace/while-stepping.exp: Likewise.
19490
19491 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19492
19493 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19494
19495 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19496
19497 From Brendan Kehoe:
19498 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19499 int return types.
19500
19501 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19502
19503 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
19504 remote dos host testing right.
19505
19506 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19507
19508 * gdb.base/corefile.exp: remove some xfails.
19509
19510 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19511
19512 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
19513 have different timestamps.
19514
19515 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19516
19517 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
19518 gdb.base/default.exp: Replace "exec" with "executable".
19519
19520 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19521
19522 * gdb.base/default.exp: Change else if to elseif from previous
19523 delta.
19524
19525 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19526
19527 * gdb.base/default.exp: Add brace missing from previous delta.
19528
19529 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19530
19531 * gdb.base/default.exp: Support test for info float for all
19532 varieties of arm toolchain.
19533
19534 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
19535
19536 * gdb.trace/*.exp: remove "remote_download" command.
19537
19538 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
19539
19540 * gdb.trace/*.exp: remove -gdwarf from compile.
19541
19542 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19543
19544 * gdb.trace/configure.in(AC_INIT): typo
19545 * gdb.trace/configure: regenerated
19546
19547 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
19548
19549 * config/m68k-emc.exp: New file.
19550 * lib/<emc-support.exp trace-support.exp}: New files.
19551 * configure.in: add new test directory gdb.trace.
19552 * gdb.trace/{configure configure.in Makefile.in}: New files.
19553 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19554 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19555 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19556 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19557 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19558 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19559 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
19560
19561 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
19562
19563 * gdb.c++/classes.exp: Change all regular expressions to match
19564 arbitrary combinations of newline/carriage-return, so that they
19565 will work equally well on Unix and Windows.
19566 * gdb.c++/inherit.exp: ditto.
19567 * gdb.c++/virtfunc.exp: ditto.
19568
19569 1998-08-11 Dawn Perchik <dawn@cygnus.com>
19570
19571 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19572
19573 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19574
19575 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19576 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19577 to use a0-a3/d0-d3 as needed.
19578
19579 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19580
19581 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19582 * gdb.disasm/am33.exp: Corresponding changes.
19583
19584 1998-07-11 Felix Lee <flee@cygnus.com>
19585
19586 * gdb.base/callfuncs.exp: add cmp10 test.
19587 * gdb.base/callfuncs.c (cmp10): new function.
19588
19589 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19590
19591 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
19592 into two parts to get around a synchronization problem in expect.
19593
19594 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19595
19596 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19597
19598 * configure.in: Add options for gdbtk testsuite.
19599
19600 * configure: Regenerate.
19601
19602 * gdb.gdbtk: New directory to hold gdbtk tests.
19603
19604 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19605
19606 * gdb.fortran/types.exp: Escape brackets in expect patterns
19607 for test_float_literal_types_accepted tests.
19608 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19609 before run test.
19610
19611 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19612
19613 * am33.exp: Just compile, do not link the testcase.
19614 * am33.s: Add ".am33" pseudoop to force am33 mode.
19615
19616 1998-06-25 Felix Lee <flee@cygnus.com>
19617
19618 * gdb.base/setshow.exp: make sure $pc is sane.
19619
19620 * gdb.stabs/weird.exp: split expect patterns properly.
19621
19622 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19623
19624 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19625 * gdb.disasm/am33.exp: Run it.
19626
19627 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
19628
19629 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19630 match processing (and eliminate spurious timeouts when running).
19631
19632 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
19633
19634 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19635 exception test, but conditionalize it on target [mach | gnu].
19636
19637 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
19638
19639 * gdb.base/overlays.exp: fixup compile line for linker script.
19640
19641 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19642
19643 * gdb.fortran/types.exp: don't guess at float size.
19644
19645 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19646
19647 * gdb.base/exprs.exp: delete test that depends on int size.
19648
19649 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19650
19651 * config/sim.exp: Removed checks for target triplets.
19652 (gdb_target_sim): Use gdb,target_sim_options.
19653
19654 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19655
19656 * gdb.base/reread.exp: New file.
19657 * gdb.base/reread1.c: New file.
19658 * gdb.base/reread2.c: New file.
19659
19660 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19661
19662 * config/sim.exp: Use 'target sim -sparclite' when running
19663 SPARClite programs.
19664
19665 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19666
19667 * gdb.base/structs2.exp: New file.
19668 * gdb.base/structs2.c: New file.
19669
19670 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19671
19672 * gdb.asm/common.inc: New file.
19673 * gdb.asm/d10v.inc: New file.
19674 * asm-source.exp: Pass -I's to gas to find .inc files.
19675 Update line numbers in expected output.
19676 * asmsrc1.s: Rewrite.
19677 * asmsrc2.s: Rewrite.
19678 * configure.in: Create arch.inc symlink.
19679 * configure: Regenerate.
19680 * Makefile.in (distclean): Delete arch.inc.
19681
19682 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19683
19684 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
19685 (t_enum_value2): ditto
19686 (t_enum_value3): ditto
19687 (main): ditto
19688 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19689
19690 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19691 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19692 change.
19693 Use gdb_test instead of send_gdb/gdb_expect sequences.
19694
19695 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19696
19697 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19698 not void.
19699
19700 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19701
19702 * gdb.base/branches.c: Code with lots of loops and
19703 subroutines. Used to test gdbs ability to single step through PC
19704 changes, especially to test mips-tdep.c:mips_next_pc
19705
19706 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19707
19708 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19709 more rigorous EGCS C++ error checking.
19710
19711 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19712
19713 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19714 tests.
19715 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19716 function when asleep.
19717 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19718 for i*86 Linux and SVR4 signal handling problems.
19719 Remove linux xfail for `next to handler in signals_tests_1', fixed
19720 by recent infrun.c change.
19721 Limit backtrace to 10 frames to avoid timeout problems with infinite
19722 stack backtraces.
19723 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19724 target.[ch] change.
19725
19726 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19727
19728 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19729 for a newline from gdb before continuing.
19730 (default_gdb_exit): Just look for y or n.
19731 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19732 it does, fail the rests of the tests in the file.
19733
19734 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19735
19736 * config/cygmon.exp: New file.
19737
19738 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19739
19740 * gdb.base/list.exp: Fix problem with "list default lines around
19741 main" test on remote targets.
19742
19743 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19744 run test on remote targets.
19745
19746 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19747
19748 * gdb.asm: New directory.
19749 * configure.in: Configure it.
19750 * configure: Regenerate.
19751 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19752 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19753
19754 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19755
19756 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19757
19758 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
19759
19760 * gdb.base/overlays (several files): Merge the two overlay
19761 managers into one. Change variables (foox, barx, bazx, grbxx)
19762 back into ints but force them to load in their proper sections.
19763
19764 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19765
19766 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
19767 on-chip insn memory and IMAP1 to upper 128k.
19768 (D10VCopy): Handle memory regions crossing 16k boundaries.
19769 (D10VCopy): Transfer data in 32 bit chunks.
19770
19771 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19772
19773 * gdb.base/overlays.c (main): Exit normally when result is
19774 correct.
19775
19776 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
19777 map. Include space for printf in .text segment.
19778
19779 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
19780 updated d10v memory VMA/LMA map.
19781 (D10VCopy): Call D10VTranslate.
19782
19783 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19784
19785 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19786
19787 * gdb.base/bar.c (barx, bar): Change variable to small array so
19788 that it won't be put into the .sdata - small data -
19789 section. Update reference.
19790 * gdb.base/baz.c (bazx, baz): Ditto.
19791 * gdb.base/foo.c (foox, foo): Ditto.
19792 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19793
19794 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
19795 to be arrays.
19796
19797 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
19798
19799 * gdb.base/overlays.exp: fix up and get working again.
19800 Add tests for backtraces from an overlay function.
19801
19802 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19803
19804 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19805 "calling function with watchpoint enabled".
19806
19807 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19808
19809 * gdb.base/break.exp (test_next_with_recursion): Remove
19810 gdb_suppress_tests for d10v-*-*.
19811 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19812 pending review of whether it is useful or not.
19813
19814 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19815
19816 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19817
19818 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19819
19820 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19821 * config/dve.exp: New file to support Densan boards.
19822
19823 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19824
19825 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19826 reads and BSD.
19827
19828 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19829
19830 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19831 response.
19832
19833 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19834
19835 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19836
19837 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19838 test.
19839
19840 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19841 target_sizeof_long and target_bigendian_p.
19842 (structs_by_value, structs_by_reference): Check values according
19843 to targets word size and endianess.
19844
19845 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19846
19847 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19848 output.
19849
19850 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19851
19852 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19853 Update test of set args help to match source change.
19854
19855 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19856
19857 * gdb.base/default.exp: Expect help system output to be in
19858 alphabetical order.
19859 * gdb.base/help.exp: Ditto.
19860
19861 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19862
19863 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19864 "i*86-pc-linux-gnu*".
19865 * gdb.base/interrupt.exp: Ditto.
19866 * gdb.base/corefile.exp: Ditto.
19867
19868 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19869 define vxworks when building the testcase.
19870
19871 * gdb.base/ptype.exp: Fix testnames to be unique.
19872 * gdb.base/radix.exp: Ditto.
19873 * gdb.base/term.exp: Ditto.
19874 * gdb.base/whatis.exp: Ditto.
19875 * gdb.c++/classes.exp: Ditto.
19876
19877 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19878
19879 * gdb.base/callfuncs.exp: Fix indentation.
19880
19881 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19882 suppress_flag has been set.
19883 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19884 target feature.
19885
19886 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19887
19888 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19889 the testcase.
19890
19891 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19892 set_debug_traps() and breakpoint().
19893 * gdb.c++/misc.cc (main): Ditto.
19894 * gdb.c++/templates.cc (main): Ditto.
19895 * gdb.c++/virtfunc.cc (main): Ditto.
19896
19897 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19898
19899 * lib/gdb.exp(gdb_step_for_stub): New function.
19900 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19901 exists, reload the executable and do a "continue" instead of
19902 doing a jump.
19903 (runto_main): Use gdb_step_for_stub.
19904
19905 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19906 tests to have unique names.
19907 * gdb.base/callfuncs.exp: Ditto.
19908 * gdb.base/commands.exp: Ditto.
19909 * gdb.base/default.exp: Ditto.
19910 * gdb.base/help.exp: Ditto.
19911 * gdb.base/list.exp: Ditto.
19912 * gdb.base/opaque.exp: Ditto.
19913 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19914 similar tests.
19915
19916 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19917 * gdb.c++/cplusfuncs.cc: Ditto.
19918 * gdb.c++/virtfunc.cc: Ditto.
19919
19920 * config/monitor.exp: Keep track of the last file we saw, rather
19921 than trying to get the info from gdb.
19922
19923 * gdb.fortran/types.exp: Move comment to previous line.
19924
19925 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19926
19927 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19928 target mode.
19929
19930 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19931
19932 From Bob Manson:
19933 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19934 string from GDB when it connects.
19935
19936 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19937
19938 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19939
19940 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19941 if we can't get a debug format from GDB (we may be testing an
19942 older GDB). Use a 10 second timeout when checking for the format.
19943
19944 * gdb.stabs/weird.exp: Fix quoting.
19945
19946 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19947
19948 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19949
19950 * config/arm-ice.exp: New file.
19951
19952 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19953
19954 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19955 until it has been modified to work with the new testsuite.
19956
19957 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19958 testcase won't compile, cause all of the testcases in the file to
19959 fail instead.
19960
19961 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19962 (gdb_clear_suppressed): New procedure.
19963 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19964 it contains a positive value.
19965
19966 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19967
19968 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19969
19970 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19971
19972 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19973
19974 * lib/gdb.exp (setup_xfail_format): New function.
19975 (get_debug_format): New function to get debug format.
19976 (debug_format): New global variable to hold last value set
19977 by get_debug_format.
19978 * gdb.base/list.exp: Call get_debug_format and expect some
19979 tests to fail for DWARF 1 and COFF formats.
19980 * gdb.c++/ptype.exp: Ditto.
19981 * gdb.c++/classes.exp: Ditto.
19982 * gdb.c++/cplusfuncs.exp: Ditto.
19983 * gdb.c++/inherit.exp: Ditto.
19984 * gdb.c++/templates.exp: Ditto.
19985 * gdb.c++/virtfunc.exp: Ditto.
19986
19987 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19988
19989 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19990 host doesn't have a currently-open connection.
19991
19992 * config/sparclet.exp: Cleanups and fixes to make it generic for
19993 any gdb stub target. Handle cases where gdb doesn't respond when
19994 interrupted in a sane fashion.
19995
19996 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19997 same thing in a totally different way.
19998
19999 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
20000 setting "timeout".
20001 (gdb_start): We set the global gdb_prompt variable in
20002 default_gdb_init now.
20003
20004 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
20005
20006 * gdb.base/printcmds.exp: Fix "check for floating addition"
20007 regexp to accept results within approx +/- .01 of exact value.
20008 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20009
20010 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
20011
20012 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
20013 properly.
20014 (gdb_expect): Add optional timeout parameter, and add timeout
20015 value to various calls.
20016 (gdb_suppress_tests): Only give one warning message per group.
20017
20018 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
20019
20020 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
20021 global variables. Handle getting a value for $timeout more
20022 gracefully.
20023
20024 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20025
20026 * lib/gdb.exp: Close connection to remote host if gdb doesn't
20027 initialize.
20028 (default_gdb_init): New procedure; allow gdb_init to be overridden
20029 by a target configuration file.
20030 (gdb_expect): Pass the timeout to remote_expect.
20031
20032 * config/monitor.exp(gdb_load): Fix typo in regexp.
20033
20034 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
20035
20036 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20037
20038 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
20039
20040 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
20041 here. Call gdb_target_exec before rebooting the target, to make
20042 sure the connection to the target is closed.
20043 (gdb_load): Pass the name of the executable to gdb_target_monitor.
20044 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
20045 Also detect "Timeout reading from remote" error.
20046
20047 * config/gdbserver.exp: Pass the executable being loaded to
20048 gdb_target_monitor. Don't call gdb_file_cmd here; let
20049 gdb_target_monitor do it.
20050
20051 * gdb.disasm/hppa.exp: Don't use exec_output.
20052
20053 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
20054
20055 * gdb.base/list.exp: If we're debugging a non-native target,
20056 try to set the pc register to point to the start of the
20057 program before doing the first list command.
20058
20059 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
20060 test_calls after restarting.
20061
20062 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
20063 reloading.
20064
20065 * gdb.base/watchpoint.exp: Fix typo.
20066
20067 * gdb.base/setshow.exp: Check for use_gdb_stub.
20068
20069 * gdb.base/break.exp: Fix continue until exit test for the gdb
20070 stub case.
20071 * gdb.base/langs.exp: Ditto.
20072
20073 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
20074 gdb_load_offset. If we weren't given a file to load, figure out
20075 what the current file is and use it.
20076
20077 * config/i386-bozo.exp: New file.
20078
20079 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
20080
20081 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
20082 feature.
20083
20084 * config/proelf.exp: New entry.
20085
20086 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
20087
20088 * lib/gdb.exp: Remove spurious .* patterns at the beginning
20089 of regexps.
20090
20091 * gdb.base/watchpoint.exp: Don't run the test_stepping
20092 tests if gdb can't call functions on the target.
20093
20094 * gdb.base/setshow.exp: Don't run the set prompt tests if
20095 the board has gdb_prompt set.
20096
20097 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
20098
20099 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
20100 * gdb.base/commands.exp: Likewise.
20101 * gdb.base/setshow.exp: Likewise.
20102
20103 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
20104
20105 * config/monitor.exp(gdb_start): Look for gdb_prompt target
20106 feature.
20107
20108 * config/i960.exp: New file.
20109
20110 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
20111
20112 * gdb.base/funcargs.exp: Check for gdb,short_int target
20113 feature instead of looking for explicit target triplets.
20114
20115 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
20116
20117 * gdb.base/printcmds.exp: add a couple more tests a la
20118 "p 123DEADBEEF", to check parse_number.
20119 * top.c: change "to enable to enable" to "to enable" in a couple
20120 of help strings.
20121
20122 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
20123
20124 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
20125 on the mn10300.
20126
20127 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
20128
20129 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
20130 where the test executable is run with explicit args.
20131 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
20132
20133 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
20134
20135 * gdb.base/run.c: Use FAKEARGV to build test executable that
20136 does not require a command line arg, since most simulators
20137 don't currently support passing such an arg into the simulated
20138 program.
20139 * gdb.base/commands.exp: Change tests to insert the proper
20140 value as the arg to the first recursive factorial call. Change
20141 compilation line to define FAKEARGV at compile time.
20142
20143 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
20144
20145 * gdb.base/recurse.exp: Enable these tests for the mn10300.
20146 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
20147 function with watchpoint enabled" test.
20148
20149 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
20150
20151 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
20152 Don't call gdb_test when the command doesn't return to a gdb prompt.
20153
20154 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
20155 "Tests restarted" messages.
20156
20157 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
20158
20159 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
20160
20161 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
20162
20163 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
20164 for INFO SYMBOL; add help tests for OVERLAY commands.
20165 * gdb.base/default.exp: add tests for INFO SYMBOL command;
20166 add tests for OVERLAY commands
20167 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
20168 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
20169 * gdb.base/sigall.c: add usestubs code frag
20170 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
20171
20172 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
20173
20174 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
20175 failures.
20176 (gdb_stop_suppressing_tests): Note that tests have restarted.
20177
20178 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
20179
20180 * config/h8300.exp: New file.
20181
20182 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
20183
20184 * gdb.base/setshow.exp: Check for the existence of a
20185 feature, not its value.
20186
20187 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
20188
20189 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
20190
20191 * gdb.base/scope.exp: It's now init0(), not init().
20192
20193 * gdb.base/scope0.c: For now, change init() to be init0().
20194
20195 * config/monitor.exp: Use gdb_serial in preference to serial
20196 or netport.
20197
20198 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
20199 and it's not already set.
20200
20201 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
20202
20203 * gdb.base/setshow.exp: Only test the run command if the target
20204 isn't using a stub and if it supports argument passing.
20205
20206 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
20207
20208 * config/udi.exp(gdb_start): Make sure UDICONF is set
20209 properly before starting gdb.
20210
20211 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
20212
20213 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
20214 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
20215 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
20216
20217 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
20218
20219 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
20220 specialized code to reboot the board, use remote_reboot instead.
20221
20222 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
20223
20224 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
20225
20226 * config/monitor.exp: Make sure we disconnect from the target.
20227 Also, try a reboot/reload cycle instead of failing if the
20228 load fails.
20229
20230 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
20231
20232 * gdb.base/default.exp: Don't set match_max.
20233 * gdb.base/help.exp: Ditto.
20234 * gdb.base/list.exp: Ditto.
20235 * gdb.base/signals.exp: Ditto.
20236
20237 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
20238 set, use remote_ld to download the testcase instead of
20239 the GDB loader.
20240
20241 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
20242
20243 * config/vr5000.exp: New file.
20244
20245 * config/monitor.exp(gdb_target_monitor): Add pattern for
20246 "Ending remote" to detect errors in connecting.
20247
20248 * gdb.base/setshow.exp: Add .* within auto language test.
20249
20250 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
20251 target feature.
20252
20253 * config/monitor.exp(gdb_load): Check for a failure when loading,
20254 and reboot the board if necessary.
20255
20256 * gdb.base/setvar.exp(test_set): Handle multiple prints within
20257 a set of tests. Remove print.* from the patterns being checked.
20258
20259 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
20260
20261 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
20262 refer to gdb_spawn_id.
20263
20264 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
20265 longer used.
20266 * config/sparclet.exp: Ditto.
20267 * config/sparclet-old.exp: Ditto.
20268 * config/slite.exp: Ditto.
20269 * config/sim.exp: Ditto.
20270 * gdb.base/funcargs.exp: Ditto.
20271
20272 * lib/gdb.exp:Remove references to gdb_spawn_id.
20273 (gdb_expect): Move to remote.exp.
20274
20275 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
20276
20277 * config/monitor.exp: Detect the "Couldn't establish connection"
20278 message from GDB.
20279
20280 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
20281
20282 * gdb.base/bitfields.exp: Use runto instead of explicit
20283 gdb_run_cmd/gdb_expect sequences.
20284
20285 * gdb.base/break.exp(text_next_with_recursion): Add match for
20286 gdb_expect call.
20287
20288 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20289 We also need to handle the "A program is being debugged already"
20290 prompt from gdb. Use gdb_test to set the baud rate.
20291
20292 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20293 to 20000. Really. I mean it.
20294
20295 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20296
20297 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
20298 fails. If suppress_flag is set, skip perror message about not
20299 being able to send to GDB.
20300 (send_gdb): If suppress_flag is set, don't try to send commands to
20301 GDB.
20302 (gdb_expect): If suppress_flag is set, always fail immediately.
20303 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20304 (gdb_init): Call gdb_stop_suppressing_tests.
20305 (default_gdb_exit): Ditto.
20306 (default_gdb_start): Ditto.
20307
20308 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
20309 gdb_stop_suppressing_tests as appropriate.
20310 * gdb.base/break.exp: Ditto.
20311 * gdb.base/callfuncs.exp: Ditto.
20312 * gdb.base/commands.exp: Ditto.
20313 * gdb.base/exprs.exp: Ditto.
20314 * gdb.base/funcargs.exp: Ditto.
20315 * gdb.base/list.exp: Ditto.
20316 * gdb.base/recurse.exp: Ditto.
20317 * gdb.base/scope.exp: Ditto.
20318 * gdb.base/structs.exp: Ditto.
20319 * gdb.c++/inherit.exp: Ditto.
20320
20321 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20322
20323 * config/vr4300.exp: New file.
20324
20325 * gdb.*/*.exp: Call gdb_expect instead of expect.
20326
20327 * lib/gdb.exp(gdb_expect): New function.
20328
20329 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20330
20331 * lib/gdb.exp(gdb_init): New function.
20332
20333 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
20334 for each individual variable set.
20335
20336 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20337 name.
20338
20339 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20340
20341 * gdb.base/scope.exp: Use gdb_test.
20342
20343 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20344 aborting; the testsuite driver will do that for us (see
20345 gdb_finish). Also, use gdb_test in a few more places.
20346
20347 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20348
20349 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20350
20351 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20352
20353 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20354 and "add_tests" are not at the same address.
20355
20356 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20357
20358 * gdb.base/ptype.exp: Use gdb_test.
20359
20360 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20361
20362 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20363 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20364 left in. No longer expect them to fail.
20365
20366 * gdb.stabs/*.mt; Deleted, no longer used.
20367 * gdb.stabs/configure.in: Remove references to target makefile
20368 frags.
20369 * gdb.stabs/configure: Rebuilt.
20370
20371 * gdb.disasm/*.mt: Deleted, no longer used.
20372 * gdb.disasm/configure.in: Remove references to target makefile
20373 frags. Use "sh3.s" as the unique filename for this directory.
20374 * gdb.disasm/configure: Rebuilt.
20375
20376 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20377 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20378 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20379
20380 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20381
20382 * config/udi.exp: Use mondfe,name instead of remote_host.
20383
20384 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20385
20386 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20387 a function with a watchpoint enabled on the mn10200.
20388
20389 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20390 before trying to create it!
20391
20392 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20393
20394 * config/vx.exp: Use hostname instead of netport.
20395
20396 * config/vxworks.exp: New file.
20397
20398 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20399
20400 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
20401 gdb before assuming everything worked. Send a ^C if a timeout
20402 occurs.
20403
20404 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20405 $gdb_spawn_id directly.
20406 (gdb_run_cmd): Try _start as well as start. Use the target feature
20407 gdb,start_symbol as the symbol to start from when jumping.
20408
20409 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20410
20411 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20412 redundant) test.
20413
20414 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20415 it doesn't lose for 16bit integer systems.
20416
20417 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20418
20419 * gdb.fortran/types.exp: If the target doesn't support "double"
20420 data types, then expect "real" types to only be 4 bytes.
20421
20422 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20423 call tests if the target doesn't support inferior function calls.
20424
20425 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20426 in printf tests.
20427
20428 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20429
20430 * gdb.base/help.exp: Disable "help set", "help show", and
20431 "help support". Simplify regexp for "help stack".
20432
20433 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20434 to 60 seconds. Temporarily set match_max to 15000 around the
20435 "info copying" test.
20436
20437 * gdb.base/nodebug.exp: Don't try to do an inferior function
20438 call if the target doesn't support them.
20439 * gdb.base/printcmds.exp: Likewise.
20440 * gdb.base/setvar.exp: Likewise.
20441 * gdb.base/structs.exp: Likewise.
20442 * gdb.c++/templates.exp: Likewise.
20443 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20444
20445 * gdb.base/recurse.exp: Enable for the mn10200.
20446
20447 * configure.in: Do configure gdb.stabs directory for *-*-elf
20448 targets.
20449 * configure: Rebuilt.
20450
20451 * gdb.base/break.exp: Check for gdb,noresults before testing
20452 exit status and/or results from the target.
20453 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20454 * lib/gdb.exp: Remove old (now bogus) initialization of
20455 noinferior, noargs, noresults and nosignals.
20456
20457 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20458
20459 * config/sh.exp: New file.
20460
20461 * config/slite.exp: Try to connect multiple times to the board
20462 before rebooting. Only send a "monitor run" if need_monitor_run
20463 is set.
20464
20465 * gdb.base/break.exp: Don't do the "stub continue" test if
20466 the target has gdb_stub set.
20467
20468 * gdb.base/callfuncs.exp: Increase the timeout.
20469
20470 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20471 if the target has gdb,noinferiorio set.
20472
20473 * gdb.base/list.exp: Increase match_max to 10000 characters.
20474
20475 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20476
20477 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20478 target.
20479
20480 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20481
20482 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20483
20484 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
20485 trying to delete the copy of gdb. Catch the file delete so we
20486 don't die if the delete fails; also, the file should be copied to
20487 the host, not to the build.
20488
20489 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20490
20491 * lib/gdb.exp(gdb_test): Surround the result pattern with
20492 parenthesis in case it contains multiple regexps separated
20493 with |.
20494
20495 * gdb.base/watchpoint.exp: Use gdb_test.
20496 * gdb.base/default.exp: Ditto.
20497
20498 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20499
20500 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
20501
20502 * gdb.base/scope.exp: Use gdb_test.
20503 * gdb.c++/classes.exp: Ditto.
20504 * gdb.c++/inherit.exp: Ditto.
20505
20506 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20507
20508 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20509 remote_exec instead.
20510 * gdb.base/corefile.exp: Don't be ridiculous.
20511 * gdb.base/*.c: Add missing stub invocations.
20512
20513 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20514
20515 * config/slite.exp: Miscellaneous fixes.
20516
20517 * lib/gdb.exp: Fix runto.
20518
20519 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20520 the target.
20521
20522 * gdb.base/watchpoint.exp: Fix regexp.
20523
20524 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20525 close and wait commands, as the descriptor may now be
20526 invalid. Always call "remote_close host".
20527
20528 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20529
20530 Major rewrite for testsuite revision.
20531
20532 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20533 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20534 instead of relying on spawn_id to always contain a valid
20535 spawn id.
20536 (get_compiler_info): New procedure to build the ${binfile}.ci
20537 file, instead of replicating this in N different places.
20538 (gdb_compile): New procedure.
20539
20540 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
20541 appropriate arguments) instead of compile. Use gdb_test in a lot
20542 more places. Use send_gdb instead of send. Always run gdb_start
20543 at the start of a testcase, as this is no longer done magically.
20544
20545 config/*-gdb.exp: Rename without the -gdb suffix.
20546
20547 config/mips.exp: Use remote_close instead of exit_remote_shell.
20548 config/monitor.exp: Use target_info instead of looking at
20549 baud, timeout, etc.
20550 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20551
20552 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20553
20554 * gdb.c++/templates.exp (test_ptype_of_templates),
20555 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20556 Update expect patterns for destructors and assignment operators
20557 to match corresponding c-typeprint.c changes.
20558 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20559 to destructor breakpoint test, GDB should be able to set the
20560 destructor breakpoint without specifying arguments.
20561
20562 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20563
20564 * gdb.threads/pthreads.exp: Change result for failure to compile due
20565 to lack of pthreads runtime support from an error to simply an
20566 unsupported test, per dejagnu standards.
20567
20568 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20569
20570 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20571 where GDB exits to reduce pattern match time.
20572 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20573
20574 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20575
20576 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
20577
20578 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20579 * gdb.base/default.exp: ditto.
20580 * gdb.base/nodebug.exp: ditto.
20581 * gdb.base/printcmds.exp: ditto.
20582 * gdb.base/ptype.exp: ditto.
20583 * gdb.base/setvar.exp: ditto.
20584 * gdb.base/structs.exp: ditto.
20585 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20586
20587 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20588
20589 * configure, */configure: Rebuild with autoconf 2.12.
20590
20591 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20592
20593 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20594 use new i*86-pc-linux*-gnu quads.
20595 * gdb.base/corefile.exp: Ditto.
20596 * gdb.base/signals.exp: Ditto.
20597 * gdb.base/sigall.exp: Ditto.
20598 * gdb.base/interrupt.exp: Ditto.
20599
20600 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20601 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20602 RedHat 4.0.
20603
20604 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
20605 linux. This allows the test case to at least compile on latest
20606 linux, but still not run due to missing the threads runtime library.
20607
20608 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20609
20610 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20611 directory to search gdb directory. Accept and step over conditional
20612 stack alignment code. Consume $prompt in failure cases.
20613 Reset timeout to $oldtimeout instead of some arbitrary value.
20614 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20615 timeout problems with infinite stack backtraces.
20616 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20617 Accept function parameters for linkfunc member.
20618
20619 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20620
20621 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20622 (CXXFLAGS): Remove, unreferenced.
20623 (B_OPTIONS): Add for -B options and add code to initialize with
20624 previous -B options and also add -B option to pick up cross compiled
20625 runtime.
20626 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20627 doing cross compiles.
20628 (target_alias): Declare global.
20629 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20630 to verify that gcc exists in build tree, and if so set CC to that
20631 gcc and to use B_OPTIONS and TARGET_INCLUDES.
20632
20633 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20634
20635 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20636 ptype test for anonymous union. Fixup testcase to match
20637 current gcc debug output.
20638
20639 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20640
20641 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20642 force argument to an unsigned long type.
20643
20644 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20645
20646 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
20647 tests and anonymous union print/ptype tests.
20648 * gdb.base/list.exp (test_forward-search): Increase timeout by
20649 5 minutes for the "search extremely long line" case.
20650 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20651 completely optional and that the pass/fail messages use the command as
20652 the message if that third arg is a null string.
20653 (gdb_test_exact): Arrange that a null string pattern means match a
20654 null string output rather than any output, which might include random
20655 errors.
20656 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20657 backtrace test.
20658 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20659 always failing and failure is now exposed by gdb.exp changes.
20660
20661 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20662
20663 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20664 weren't being noted.
20665
20666 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20667
20668 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20669 * gdb.stabs/weird.exp: Remove v_comb xfails.
20670
20671 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
20672
20673 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
20674 list.exp scope.exp watchpoint.exp]
20675 Make all timeout error msgs explicitly say "(timeout)".
20676
20677 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
20678
20679 * config/monitor.exp: Increase download timeout to 1000 seconds.
20680
20681 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
20682
20683 * config/m32r.exp: Increase timeout to 120 seconds.
20684
20685 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20686
20687 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20688 and accept older ordering as obsolescent gcc or gdb.
20689 * gdb.c++/templates.exp: Ditto.
20690 * gdb.c++/virtfunc.exp: Ditto.
20691
20692 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20693
20694 * gdb.base/coremaker.c: Add code to mmap some data so we
20695 can check that it ends up in the core file.
20696 * gdb.base/corefile.exp: Add test to read mmapped data
20697 from core file.
20698
20699 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
20700
20701 * config/m32r.exp: New file.
20702
20703 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20704
20705 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20706 that cflags can contains -gstabs, and work correctly for other tests.
20707
20708 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
20709
20710 * gdb.base/setshow.exp: New file, tests show and set.
20711 * gdb.base/setshow.c: New file, tests show and set.
20712 * gdb.base/help.exp: Add test for help set|show annotate.
20713 * gdb.base/default.exp: Add test for set|show annotate.
20714
20715 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20716
20717 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20718 errors unique.
20719 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20720 explicitly.
20721
20722 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20723
20724 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20725 and width commands. This is done elsewhere.
20726 * (gdb_start): Don't call gdb_start_sim here. That's already
20727 done in gdb_load. This fixes lots of failures in default.exp.
20728
20729 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20730
20731 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20732 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20733 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20734 in the same we we treat other failures (since it may be an expected
20735 condition), rather than as an error.
20736 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20737 old test format.
20738
20739 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20740
20741 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20742 (distclean maintainer-clean realclean): No need to remove files
20743 twice. Nuke the duplicates.
20744 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
20745 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
20746 Remove config.h along with other config files.
20747
20748 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20749
20750 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20751 "p func1 ()" and note that rests of tests are skipped.
20752 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
20753 setup_xfails for "print func2::coremaker_local".
20754 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20755 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20756 affected by the previous run test.
20757 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20758 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20759 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20760 "pass int powerset tuple" and "pass modeless int powerset tuple".
20761 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20762 "real write 4" and "real write 8".
20763 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
20764 setup_xfails for "print vs1 after tuple assign 2",
20765 "print \$i after tuple assign 2", and
20766 "print vs2 after tuple assign 2".
20767 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20768 meaningful error message and return -1 so the caller can
20769 suppress further tests and avoid a cascade of errors.
20770
20771 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20772
20773 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20774 format for printing version.
20775 * gdb.base/default.exp: Ditto.
20776 * gdb.base/interrupt.exp: Fix problem with cascade of
20777 errors if child process dies while calling a function.
20778
20779 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20780
20781 * Makefile.in (VPATH): Add
20782 * Makefile.in (Makefile, config.status): Fix rules so things get
20783 remade when necessary.
20784
20785 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20786
20787 * Makefile.in (just-check): Add path to sibling expect dir
20788 to environment variable specified by RPATH_ENVVAR.
20789
20790 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20791
20792 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20793 (just-check): Add shared library paths for libstdc++, tk,
20794 tcl, bfd, and opcodes to the environment variable specified
20795 in RPATH_ENVVAR.
20796 * configure.in: Add support to recognize --enable-shared flag
20797 and generate correct value for RPATH_ENVVAR.
20798 * configure: Regenerated with autoconf.
20799
20800 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20801
20802 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
20803 include all osf versions.
20804 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20805 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20806 when target is linux. When failing to build pthreads test
20807 executable, give more meaningful message.
20808 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20809 arg for pthread_create.
20810
20811 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20812
20813 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20814 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20815 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20816 and -lpthreads (everybody else).
20817 (test_startup): Fail gracefully if threads are not supported.
20818 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20819 "p/c array_index("abcdef",2)" when not gcc compiled.
20820 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20821 "print func2::coremaker_local" when not gcc compiled.
20822 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20823 "ptype on opaque struct tagname (statically)",
20824 "ptype on opaque struct tagname (dynamically) 1", and
20825 "ptype on opaque struct tagname (dynamically) 2"
20826 for not compiled with gcc.
20827 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20828 backtrace when compiled with gcc.
20829 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20830 than always return success.
20831
20832 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20833
20834 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20835
20836 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20837
20838 * gdb.base/structs.exp: Undo last change.
20839
20840 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20841
20842 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20843 encapsulate all the steps/nexts done during self test, starting
20844 at main, and makes them less sensitive to optimization issues.
20845 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20846 signal handler" test.
20847 * gdb.threads/pthreads.exp: Only run this for native configs.
20848 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20849 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20850 tests.
20851 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20852 for "runto test_calls(void)" test.
20853
20854 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20855
20856 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20857 and don't expect address info in breakpoint confirmations.
20858
20859 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20860
20861 * gdb.base/list.exp (test_forward_search): Increase timeout
20862 temporarily by 60 seconds for searching extremely long line,
20863 and then reset to old value when done. Increase expect input
20864 buffer to 10000.
20865
20866 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20867
20868 * gdb.base/list.exp (test_forward_search): Fix to handle very
20869 long source line without overflowing expect's input buffer.
20870
20871 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20872
20873 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20874 "buffer_full".
20875
20876 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20877 "buffer_full".
20878
20879 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20880 "buffer_full".
20881
20882 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20883 "buffer_full".
20884
20885 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20886
20887 * configure.in (configdirs): Add gdb.threads.
20888 * configure: Regenerated with autoconf.
20889 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20890 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20891 * gdb.threads/configure: New, generated with autoconf.
20892
20893 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20894
20895 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20896
20897 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20898
20899 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20900 each signal's status in the output of "handle all print".
20901 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20902 the \r\n sequence that immediately precedes the gdb prompt.
20903 * gdb.base/a1-selftest.exp: Save original timeout and restore
20904 after test.
20905
20906 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20907
20908 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20909 symbol.
20910
20911 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20912
20913 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20914
20915 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20916
20917 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20918 timeout by 60 seconds.
20919
20920 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20921
20922 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20923 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20924 error return.
20925
20926 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20927
20928 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20929 gdb initialization, also report how long dejagnu waited. Restore
20930 old timeout before doing error return. Temporarily increase timeout
20931 by 3 minutes to allow for slow startups over heavy NFS use.
20932
20933 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20934
20935 * lib/gdb.exp: Report timeout value for verbosity level 2.
20936 * config/gdbserver.exp: Ditto.
20937 * config/hppro.exp: Ditto.
20938 * config/mips-gdb.exp: Ditto.
20939 * config/monitor.exp: Ditto.
20940 * config/netware.exp: Ditto.
20941 * config/sim-gdb.exp: Ditto.
20942 * config/slite-gdb.exp: Ditto.
20943 * config/udi-gdb.exp: Ditto.
20944 * config/unix-gdb.exp: Ditto.
20945 * config/vx-gdb.exp: Ditto.
20946 * gdb.base/a1-selftest.exp: Ditto.
20947 * gdb.base/a2-run.exp: Ditto.
20948 * gdb.base/break.exp: Ditto.
20949 * gdb.base/corefile.exp: Ditto.
20950 * gdb.base/list.exp: Ditto.
20951 * gdb.base/recurse.exp: Ditto.
20952 * gdb.base/scope.exp: Ditto.
20953 * gdb.base/signals.exp: Ditto.
20954
20955 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20956
20957 * gdb.threads/Makefile.in (docdir): Removed.
20958
20959 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20960
20961 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20962 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20963 @srcdir@.
20964 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20965 autoconf 2.5 or higher.
20966 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20967
20968 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20969
20970 * configure: Regenerated.
20971 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20972 avoid name clashes with SunOS headers.
20973
20974 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20975
20976 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20977
20978 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20979
20980 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20981 prototype information ends up in the compiler info file.
20982
20983 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20984
20985 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20986 attempting to regenerate it. Eliminate use of a temporary file
20987 and just generate the info file directly. Source it immediately,
20988 for consistency of use.
20989 * gdb.base/corefile.exp: Ditto
20990 * gdb.base/exprs.exp: Ditto.
20991 * gdb.base/funcargs.exp: Ditto.
20992 * gdb.base/langs.exp: Ditto.
20993 * gdb.base/list.exp: Ditto.
20994 * gdb.base/mips_pro.exp: Ditto.
20995 * gdb.base/nodebug.exp: Ditto.
20996 * gdb.base/opaque.exp: Ditto.
20997 * gdb.base/ptype.exp: Ditto.
20998 * gdb.base/scope.exp: Ditto.
20999 * gdb.base/setvar.exp: Ditto.
21000 * gdb.base/signals.exp: Ditto.
21001 * gdb.base/whatis.exp: Ditto.
21002 * gdb.c++/templates.exp: Ditto.
21003 * gdb.c++/virtfunc.exp: Ditto.
21004 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
21005 whether or not to add -lstdc++ to the compile command line args.
21006
21007 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21008
21009 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
21010 it got fixed by the recent lookup_minimal_symbol_by_pc change.
21011 Increase timeout, a lot of single stepping might be needed if the
21012 target has no hardware watchpoints.
21013
21014 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
21015
21016 * gdb.base/break.exp: Ignore compiler warnings when compiling
21017 break.c.
21018 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21019 * gdb.base/default.exp: Add h8300 xfails. Handle messages
21020 from remote-sim.
21021 * gdb.base/exprs.exp: Add h8300 xfails.
21022 * gdb.base/funcargs.exp: Likewise.
21023 * gdb.base/nodebug.exp: Likewise.
21024 * gdb.base/printcmds.exp: Likewise.
21025 * gdb.base/ptype.exp: Likewise.
21026 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
21027 h8300 xfails.
21028 * gdb.base/return.exp: Handle float/double precision problems
21029 on the h8300.
21030 * gdb.base/funcargs.c: Explicitly make last constant argument to
21031 call_after_alloca_subr an unsigned long type.
21032 * gdb.base/return.c: Include stdio.h.
21033
21034 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
21035
21036 * config/abug.exp: New file for the older Motorola Bug monitor
21037 that runs on the mvme13x series VME boards.
21038 * config/monitor.exp: Use the new config array for target settings
21039 if they exist.
21040
21041 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
21042
21043 * sim-gdb.exp: Make the SH simulator allocate less space when
21044 it is targeted.
21045
21046 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
21047
21048 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
21049 test.
21050
21051 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
21052
21053 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
21054 "rs6000-*-*" for "list function in include file" when gcc compiled.
21055 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
21056 for "p ctable1[120]".
21057 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
21058 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
21059 Remove setup_xfail for "rs6000-*-*" for
21060 "print 'scope0.c'::filelocal before run".
21061 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
21062 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
21063 since some compilers don't allow both options to be given
21064 on the same command line. Create object file and move it.
21065
21066 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
21067
21068 * gdb.base/corefile.exp: Always regenerate the core file, since
21069 we always regenerate the coremaker program. Detect special case
21070 where registers cannot be read from core file.
21071
21072 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
21073
21074 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
21075 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
21076 * gdb.c++/templates.exp: Only match on basename of file since
21077 some formats like xcoff don't encode directory information.
21078 * gdb.stabs/weird.exp: Use the right sed script for powerpc
21079 and rs6000 AIX xcoff targets.
21080 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
21081 * configure: Regenerate.
21082 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
21083 here, rather than in distclean.
21084
21085 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
21086
21087 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
21088 defined, and use it to compile the test case with -O2. The
21089 native compilation still uses no optimization.
21090 * gdb.base/mips_pro.c: Remove inline assembly code since
21091 it is compiled PIC by default, which results in assembler
21092 warnings that make the testsuite think the compilation
21093 was unsuccessful.
21094
21095 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
21096
21097 * gdb.c++/misc.exp: Add note to message for
21098 "print s.a for foo struct" that this is a known gcc 2.7.2
21099 and earlier bug.
21100
21101 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
21102
21103 * gdb.base/break.exp: Fix pattern for matching "Delete all
21104 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
21105 setup_xfail for deleting all breakpoints test. Fix various
21106 timeout messages to include "(timeout)".
21107 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
21108 for "p t_float_values2(3.14159,float_val2)".
21109 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
21110 for "continue to call2g" when gcc compiled.
21111 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
21112 "up to foo in langs.exp", "show language at foo in langs.exp",
21113 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
21114 and "show language at fsub in langs.exp".
21115 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
21116 "list line 1 in include file", "list message for lines past EOF",
21117 "list function in include file", "list list0.h:foo", and
21118 "list filename:function; nonexistant function".
21119 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
21120 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
21121 and "ptype t_char_array" to be for native cc only.
21122
21123 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
21124
21125 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
21126 setup_xfail for "print coremaker_bss", "print coremaker_ro",
21127 "print func2::coremaker_local", and "backtrace in corefile.exp".
21128
21129 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
21130
21131 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
21132 "bt in signals.exp". This problem only appears when running
21133 the testsuite, and then only intermittently.
21134
21135 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
21136
21137 * gdb.base/return.exp (return_tests): Differentiate between
21138 two tests of continuing.
21139
21140 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
21141
21142 * */Makefile.in (maintainer-clean): Remove config.log.
21143 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
21144 * gdb.c++/Makefile.in (PROGS): Add inherit.
21145 (clean): Remove *.ci.
21146
21147 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
21148
21149 * gdb.c++/misc.cc: Add test code from Mike Stump.
21150 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
21151
21152 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
21153
21154 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
21155 to "alpha-*-osf2*" and add comment.
21156 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
21157 setup_xfail for "step over execarg initialization" and
21158 "step over corearg initialization".
21159 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
21160 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
21161 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
21162 gcc compiled for "print coremaker_bss", "print coremaker_ro",
21163 "print func2::coremaker_local", and "backtrace in corefile.exp".
21164 * gdb.base/signals.exp: Build and source signals.ci.
21165 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
21166 to be for gcc only.
21167 * lib/gdb.exp: Move verbose statements outside conditionals.
21168
21169 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21170
21171 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
21172 Feb 3 procfs.c change.
21173
21174 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
21175
21176 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
21177
21178 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
21179
21180 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
21181 from dejagnu's apparent default of 10 seconds, which gives random
21182 results when running the tests over NFS on moderately loaded systems.
21183 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
21184
21185 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
21186
21187 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
21188 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
21189 result reports.
21190
21191 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
21192
21193 * configure.in (CY_AC_PATH_TCLH): Remove.
21194 * configure: Regenerate.
21195
21196 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
21197
21198 * gdb.c++/Makefile.in (clean): Add missing '{'.
21199
21200 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
21201
21202 * lib/gdb.exp: Provide a default value for noinferior.
21203
21204 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
21205 Load libgloss.exp.
21206
21207 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
21208
21209 * gdb.disasm/hppa.exp: Compile directly into an executable, use
21210 the executable, not the .o to run the tests from.
21211
21212 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
21213
21214 * gdb.base/break.exp: Don't test for program exit or exit status
21215 if $noresults if nonzero.
21216 * gdb.base/langs.exp: Likewise.
21217 * gdb.base/watchpoint.exp: Likewise.
21218
21219 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
21220 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
21221 trying to compile the testcase.
21222
21223 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
21224
21225 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
21226 * gdb.base/signals.exp (continue to handler): Likewise.
21227
21228 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
21229
21230 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
21231
21232 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
21233
21234 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
21235
21236 * gdb.base/corefile.exp: Recognize "not found" as failure
21237 when trying to determine if a core file was generated.
21238 If no core file was generate the first time, try again without
21239 the ulimit -c to work around braindamaged shells.
21240
21241 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
21242
21243 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
21244 [] tests with "test" and enclose string in quotes.
21245 * gdb.stabs/configure: Rebuild
21246
21247 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
21248
21249 Changes in sync with expect:
21250 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
21251 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
21252 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
21253 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
21254 argument to AC_REQUIRE.
21255 * configure: Regenerated.
21256
21257 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
21258
21259 * gdb.base/corefile.exp: When generating a core, discard any
21260 error messages about ulimit not found and the "core dumped"
21261 message from the shell that runs the coredumper.
21262
21263 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
21264
21265 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
21266
21267 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
21268 which sed script to run. Expect failure for v_comb test
21269 on PA targets too.
21270
21271 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
21272
21273 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
21274 "print func2::coremaker_local" and for "backtrace in corefile.exp"
21275
21276 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
21277
21278 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
21279 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
21280 "sparc-sun-solaris*" xfails for "p v_comb".
21281 * lib/gdb.exp (default_gdb_start): Fix typo.
21282 * gdb.base/corefile.exp: Allow "Core was generated by ..."
21283 messages to not include the full program name that caused
21284 the core dump since some systems (such as solaris) apparently
21285 truncate this path to about 80 characters.
21286 When generating a core file first try increasing the core file
21287 size limit to unlimited since some systems may default it to
21288 zero, and it is harmless to try it. Move the test for failing
21289 to generate a core file to where it will actually get executed.
21290 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21291 new gdb result from g++ debug info improvements and make old
21292 pattern obsolescent. Also account for size_t differences
21293 (may be int or long).
21294 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21295 initialization before function call is placed in the delay slot
21296 and thus appears to be skipped over by commands such as "next".
21297
21298 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21299
21300 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21301
21302 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21303
21304 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21305 input source file; fix code to compile test to deal with this
21306 convention.
21307 * gdb.c++/*.exp: Likewise.
21308
21309 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21310
21311 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21312 "bt in signals.exp".
21313
21314 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21315
21316 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21317 "step over execarg initialization" and
21318 "step over corearg initialization".
21319
21320 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21321
21322 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21323 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21324
21325 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21326
21327 From Rob Savoye (rob@poseidon.cygnus.com)
21328 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21329 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
21330 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21331 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21332 configure.in}: Major reworking for autoconfig.
21333 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21334 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
21335 New files.
21336 * config/unix-gdb.exp: Make GDB global.
21337 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
21338 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21339 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21340 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21341 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21342 term.exp, twice.exp, watchpoint.exp, whatis.exp},
21343 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
21344 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21345 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21346 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21347 pr-8136.exp, result.exp, string.exp, tuples.exp},
21348 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
21349 to returns as necessary, arrange for test to compile own testcase
21350 executable.
21351 * lib/gdb.exp: Changes for testsuite to compile own test cases.
21352
21353 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21354
21355 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
21356 clear_xfail at end of test which might not call either pass or fail.
21357 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21358 "backtrace through signal handler".
21359
21360 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21361
21362 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21363 continuing from a job control stop signal.
21364 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21365
21366 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21367
21368 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21369 * gdb.base/corefile.exp: Likewise.
21370 * gdb.base/funcargs.exp: Likewise.
21371
21372 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21373
21374 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21375 * config/monitor.exp: Add support for setting baud rate.
21376
21377 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21378
21379 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21380 i*86-*-linux* xfails for "backtrace through signal handler".
21381 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21382 "print func2::coremaker_local".
21383 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
21384 alpha-dec-osf2* xfail for
21385 "delete all breakpoints when none".
21386
21387 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21388
21389 * gdb.base/break.exp: Change test that deletes all breakpoints
21390 when no user breakpoints are installed. A post 4.15 change
21391 causes gdb to no longer prompt in this case.
21392
21393 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21394
21395 * gdb.base/return.exp (return_tests): Change xfail for test
21396 "correct value returned double test" to stop xfailing at
21397 Solaris 2.5. Apparently the bug has been fixed.
21398
21399 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21400
21401 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21402 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21403
21404 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21405
21406 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21407 * gdb.disasm/hppa.s: Corresponding changes.
21408
21409 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21410
21411 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21412 makefile fragment.
21413 * config/mt-hpux: Deleted.
21414
21415 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21416
21417 * Many files: When warning about suppressed tests due to a
21418 nonexistant test binary, avoid incrementing the warning count.
21419
21420 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21421
21422 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
21423
21424 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21425
21426 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21427 "sparc-*-solaris2*".
21428
21429 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21430
21431 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21432 Add global and local variables and initialize them.
21433 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21434 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21435 extracts the file name and terminating signal from the core file.
21436 * TODO: Remove note about tests for correct mapping of corefile.
21437 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21438 from optimizing it away.
21439 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21440 handles common blocks.
21441
21442 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21443
21444 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21445 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21446
21447 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21448
21449 * Makefile.in (maintainer-clean): New target, synonym for
21450 realclean.
21451 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21452 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21453 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21454 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21455 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21456 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21457
21458 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21459
21460 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21461 xfails when not gcc compiled for "print foo::funclocal".
21462 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21463 "print foo::funclocal at foo",
21464 "print 'scope1.c'::foo::funclocal at foo",
21465 "print foo::funclocal_bss at foo",
21466 "print 'scope1.c'::foo::funclocal_bss at foo",
21467 "print foo::funclocal_ro at foo",
21468 "print 'scope1.c'::foo::funclocal_ro at foo",
21469 "print bar::funclocal at foo" and
21470 "print 'scope1.c'::bar::funclocal at foo".
21471 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21472 gcc compiled for "print foo::funclocal at bar".
21473 Expand all messages to ensure that they identify that
21474 the test is at bar().
21475 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21476 gcc compiled for:
21477 "ptype on opaque struct pointer (statically)",
21478 "ptype on opaque struct tagname (statically)",
21479 "ptype on opaque struct pointer (dynamically) 1",
21480 "ptype on opaque struct tagname (dynamically) 1",
21481 "ptype on opaque struct pointer (dynamically) 2" and
21482 "ptype on opaque struct tagname (dynamically) 2
21483 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21484 gcc compiled for:
21485 "p datalocal"
21486 "whatis datalocal",
21487 "ptype datalocal",
21488 "p bsslocal",
21489 "whatis bsslocal", and
21490 "ptype bsslocal".
21491 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21492 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21493 when not gcc compiled.
21494 * gdb.base/funcargs.exp (float_and_integral_args): Add
21495 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21496 compiled.
21497 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21498 "backtrace from call6a" when not gcc compiled.
21499 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21500 "backtrace from call7a" when not gcc compiled.
21501 * gdb.base/callfuncs.exp (do_function_calls):
21502 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21503 "p t_char_array_values(char_array_val2,char_array_val1)",
21504 "p t_char_array_values(char_array_val1,char_array_val2)",
21505 "p t_char_array_values("carray 1","carray 2")",
21506 "p t_char_array_values("carray 1",char_array_val2)",
21507 "p t_char_array_values(char_array_val1,"carray 2")",
21508 "p sum_args(1,{2})",
21509 "p sum_args(2,{2,3})",
21510 "p sum_args(3,{2,3,4})",
21511 "p sum_args(4,{2,3,4,5})"
21512 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21513 "backtrace in corefile.exp" when not gcc compiled.
21514
21515 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21516
21517 * gdb.base/signals.exp: Rewrite `handle all print' test as
21518 a procedure. Accept blanks or TABs as whitespace, increase
21519 timeout and expect input buffer size for the large output
21520 from the command. Remove "i*86-*-bsdi2.0" xfail.
21521
21522 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21523
21524 * gdb.base/setvar.exp: Add new testcases for truncation when
21525 assigning invalid values to bitfields.
21526
21527 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21528
21529 * gdb.base/callfuncs.exp (do_function_calls): Remove
21530 mips-sgi-irix* xfail for
21531 "call inferior func with struct - returns char *"
21532 and fix test so that an optional (unsigned char *) cast is
21533 accepted in the result.
21534
21535 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21536
21537 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21538 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21539 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21540 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21541 that accidentally got checked in.
21542
21543 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21544
21545 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
21546 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21547 compiled test.
21548 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21549 Add mips-sgi-irix5* xfail for not gcc compiled.
21550 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21551 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21552 "p top", "whatis top", "p middle", and "whatis middle".
21553 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21554 "whatis signed char" for not gcc compiled.
21555 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21556 "set variable signed char=-1 (-1)" and
21557 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21558 * gdb.base/funcargs.exp (float_and_integral_args):
21559 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21560 Add mips-sgi-irix* xfail when not gcc compiled for
21561 "continue to call2b".
21562 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21563 "continue to call2g".
21564 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21565 "backtrace from call6a"
21566 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21567 "backtrace from call7k".
21568 Add mips-sgi-irix5* xfail when not gcc compiled for
21569 "backtrace from call7a".
21570 (localvars_after_alloca): Fix gdb_test cmds for
21571 "print * after runto ...".
21572 Remove rs6000-*-* xfails for
21573 "print i after runto localvars_after_alloca" and
21574 "print l after runto localvars_after_alloca"
21575 for all compilers.
21576 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
21577 when not compiled with gcc, for:
21578 "print signed char == (minus)",
21579 "print signed char != (minus)",
21580 "print signed char < (minus)",
21581 "print signed char > (minus)".
21582 * gdb.base/callfuncs.exp (do_function_calls):
21583 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21584 "call inferior func with struct - returns char *".
21585 * gdb.base/return.exp (return_tests): Change xfail for
21586 "correct value returned double test" to include Solaris 2.4.
21587 * gdb.base/funcargs.exp (float_and_integral_args):
21588 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21589
21590 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21591
21592 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21593 enumeration bitfields if compiling with GNU C.
21594 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21595 to empty' prompt.
21596
21597 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21598
21599 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21600 test for PRO targets.
21601
21602 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21603 breakpoints in the inferior at any given time by making
21604 two groups of breakpoints for call2*, call6* and call7*
21605 tests.
21606
21607 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21608
21609 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21610 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21611 from optimizing it away.
21612 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21613 "call inferior func with struct".
21614
21615 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21616
21617 * configure.in: Only configure gdb.chill for particular targets.
21618
21619 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21620
21621 * gdb.base/Makefile.in: Add action to .c.o transformation
21622 rule that generates a .ci file for each .o file and remove
21623 explicit .c.o rules except for callfuncs.o.
21624 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21625 generates a .ci file for each .o file and remove explicit
21626 .cc.o rules.
21627 (clean): Remove *.tmp *.ci files.
21628 (EXECUTABLES): Remove templ-info.exp.
21629 * gdb.base/compiler.c: New file.
21630 * gdb.c++/compiler.cc: New file
21631 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21632 Change rs6000-*-* xfail for
21633 "print 'scope0.c'::filelocal_ro" and
21634 "print 'scope1.c'::filelocal" and
21635 "print 'scope1.c'::filelocal_bss" and
21636 "print 'scope1.c'::filelocal_ro" and
21637 "print 'scope1.c'::foo::funclocal" and
21638 "print 'scope1.c'::foo::funclocal_ro" and
21639 "print 'scope1.c'::bar::funclocal" and
21640 "print 'scope0.c'::filelocal_ro" and
21641 "print 'scope1.c'::filelocal at foo" and
21642 "print 'scope1.c'::filelocal_bss at foo" and
21643 "print 'scope1.c'::filelocal_ro at foo" and
21644 "print 'scope1.c'::foo::funclocal at foo" and
21645 "print 'scope1.c'::foo::funclocal_bss at foo" and
21646 "print 'scope1.c'::foo::funclocal_ro at foo" and
21647 "print 'scope1.c'::bar::funclocal at foo" and
21648 "print 'scope0.c'::filelocal_ro" and
21649 "print 'scope1.c'::filelocal" and
21650 "print 'scope1.c'::filelocal_bss" and
21651 "print 'scope1.c'::filelocal_ro" and
21652 "print 'scope1.c'::foo::funclocal" and
21653 "print 'scope1.c'::foo::funclocal_bss" and
21654 "print 'scope1.c'::foo::funclocal_ro" and
21655 "print 'scope1.c'::bar::funclocal" and
21656 "print 'scope1.c'::bar::funclocal_bss"
21657 to only be xfail'd when not compiled with gcc.
21658 Add rs6000-*-* xfail for
21659 "print 'scope0.c'::filelocal_bss before run"
21660 when compiled with gcc.
21661 (test_at_main): Add rs6000-*-* xfail for
21662 "print filelocal_ro in test_at_main"
21663 when compiled with gcc.
21664 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
21665 Add rs6000-*-aix* xfail for
21666 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21667 "ptype t_char_array", not compiled with gcc.
21668 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21669 xfail for "list foo (in include file)" when gcc compiled.
21670 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
21671 (integral_args): Add rs6000-*-* xfail for
21672 "run to call0a" if not compiled with gcc.
21673 (unsigned_integral_args): Add rs6000-*-* xfail for
21674 "run to call1a" if not compiled with gcc.
21675 (float_and_integral_args): Add rs6000-*-* xfail for
21676 "run to call2a" if not compiled with gcc and for
21677 "continue to call2b" for any compiler.
21678 Add rs6000-*-* xfail to
21679 "print f1 after run to call2a" for gcc compiled.
21680 (discard_and_shuffle): Add rs6000-*-* xfail for
21681 "run to call6a".
21682 (shuffle_round_robin): Add rs6000-*-* xfail for
21683 "backtrace from call7a" if not compiled with gcc.
21684 Add rs6000-*-* xfail for
21685 "backtrace from call7b" if compiled with gcc.
21686 (call_after_alloca): Add rs6000-*-* xfail for
21687 "print c in call_after_alloca" and
21688 "print s in call_after_alloca" and
21689 "backtrace from call_after_alloca_subr"
21690 if not compiled with gcc.
21691 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21692 "print c in localvars_in_indirect_call" and
21693 "print c in localvars_in_indirect_call" and
21694 "backtrace in indirectly called function" and
21695 "stepping into indirectly called function"
21696 if not compiled with gcc.
21697 (localvars_after_alloca): Add rs6000-*-* xfail for
21698 "print c after runto localvars_after_alloca" and
21699 "print s after runto localvars_after_alloca" and
21700 "print i after runto localvars_after_alloca" and
21701 "print l after runto localvars_after_alloca"
21702 for all compilers.
21703 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21704 than whatis-info.exp.
21705 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21706 than opaque-info.exp.
21707 Setup rs6000-*-* xfail for
21708 "ptype on opaque struct pointer (statically)" and
21709 "ptype on opaque struct pointer (dynamically)" when
21710 not compiled with gcc.
21711 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21712 rather than callf-info.exp.
21713 (do_function_calls): Add clear_xfail for rs6000-*-* for
21714 "p t_float_values2(3.14159,float_val2)". Seems to work
21715 fine there, both with xlc and gcc. Need to find out what
21716 it is doing right and fix other platforms.
21717 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21718 "call inferior func with struct - returns int",
21719 "call inferior func with struct - returns long",
21720 "call inferior func with struct - returns float",
21721 "call inferior func with struct - returns double",
21722 "call inferior func with struct - returns char *",
21723 but only if not gcc compiled (presumes xlc compiled).
21724 Change rs6000-*-* xfails for
21725 "call inferior func with struct - returns char" and
21726 " call inferior func with struct - returns short" to only
21727 xfail if not using gcc.
21728 (clean mostlyclean): Remove *.ci and *.tmp files.
21729 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21730 than templ-info.exp.
21731 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21732 Add rs6000-*-* xfail for "up to foo in langs.exp"
21733 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
21734 when not gcc compiled.
21735
21736 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21737
21738 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21739 * gdb.base/corefile.exp: Likewise.
21740 * gdb.base/list.exp: Likewise.
21741 * gdb.base/scope.exp: Likewise.
21742 * gdb.base/siganls.exp: Likewise.
21743
21744 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21745 compiler output.
21746 * gdb.base/whatis.exp: Likewise.
21747
21748 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21749
21750 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21751 failure (opcode table has been fixed to match reality).
21752
21753 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21754
21755 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21756 "call inferior func with struct - returns char",
21757 "call inferior func with struct - returns short"
21758
21759 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21760 "print 'scope0.c'::filelocal at main",
21761 "print 'scope0.c'::filelocal_bss in test_at_main",
21762 "print 'scope0.c'::filelocal at foo",
21763 "print 'scope0.c'::filelocal_bss in test_at_foo",
21764 "print 'scope0.c'::filelocal at bar",
21765 "print 'scope0.c'::filelocal_bss in test_at_bar"
21766
21767 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21768 in source file 1". This bug seems to have been fixed with both
21769 gcc and native cc (was native assembler bug?).
21770
21771 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21772
21773 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21774 "backtrace through signal handler" to "i*86-*-sysv4*".
21775 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21776 continue" case. Add "known SVR4 bug" to fail message.
21777 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21778 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21779 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21780 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21781 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21782 "up to foo in langs.exp", "show language at foo in
21783 langs.exp", "up to cppsub_ in langs.exp", "show
21784 language at cppsub_ in langs.exp", "up to fsub in
21785 langs.exp", and "show language at fsub in langs.exp".
21786 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21787 "bactrace in corefile.exp".
21788 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21789 "call inferior function with struct - returns float" and
21790 "call inferior function with struct - returns double".
21791
21792 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21793
21794 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21795 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21796 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21797 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21798
21799 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21800
21801 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21802 (or overriden) "CHILL" macro rather then bare "gcc".
21803 Also look for ../../gcc/xgcc since that is what we will
21804 actually need, not "Makefile". Remove following assignment
21805 of CHILL to CHILL_FOR_TARGET because that results in
21806 recursive definition.
21807
21808 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21809
21810 * gdb.base/corefile.exp: Change xfail for backtrace in
21811 corefile.exp from linuxaout to all linux.
21812 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21813 cases where we miss the breakpoint at the signal handler
21814 for some reason. Setup xfail for linuxoldld/linuxaout and
21815 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21816 hitting SIGURG breakpoint.
21817 * gdb.base/signals.exp: Setup xfail for "next" acting like
21818 continue to add linuxoldld. Setup xfail for all linux for
21819 "next to handler in signals_tests_1", "backtrace in
21820 signals_tests_1", "continue to func1", "pass SIGUSR1",
21821 and continue to handler".
21822
21823 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21824
21825 * Update all FSF addresses except those in COPYING* files.
21826
21827 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21828
21829 * gdb.base/a2-run.exp: Change messages to be more explicit about
21830 the status of args, and quote binfile in results.
21831
21832 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21833
21834 * gdb.base/callfuncs.exp: Add tests for passing structs to
21835 inferior functions and return various types.
21836 * gdb.base/callfuncs.c: Add functions to receive a struct
21837 and return a member of the struct, in various types.
21838
21839 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21840
21841 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21842
21843 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21844
21845 * config/vxworks29k.exp: New file, sources vxworks.exp.
21846
21847 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21848
21849 * config/gdbremote.exp: New file. Testing framework using
21850 gdbserver.
21851
21852 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21853
21854 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21855 "call function when asleep" and "send end of file".
21856 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21857 for "backtrace in corefile.exp".
21858 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21859 for "backtrace through signal handler".
21860 * gdb.base/corefile.exp: Make sure we actually generate a core file
21861 before trying the core tests. Some systems allow the user to suppress
21862 generation of core files and default to that (linux for example).
21863 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21864 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21865
21866 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21867
21868 * gdb.threads: New directory with some crude multi-threaded
21869 gdb tests (step.exp and step2.exp).
21870 * config/mt-lynx (STEP_EXECUTABLE): Define.
21871 (THREADFLAGS): Define.
21872
21873 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21874
21875 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21876
21877 * gdb.base/signals.exp: Disable whole file for lynx until
21878 further notice.
21879
21880 * gdb.base/signals.exp: xfail test where "next" acts like
21881 "continue" for lynx.
21882
21883 * gdb.base/interrupt.exp: xfail test for calling function while
21884 inferior is asleep for lynx.
21885
21886 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21887 than one cr-lf after each command.
21888
21889 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21890
21891 * configure.in: Reinstate setting of stabsdirs variable, fix
21892 typo in setting up configdirs for native builds.
21893
21894 * gdb.base/return.exp: Fix typo in return double test.
21895 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21896 compiler from optimizing them away.
21897
21898 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21899
21900 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21901 sequences to be echo'd by gdb when using gdb_test.
21902 * gdb.chill/chexp.exp: Likewise.
21903 * gdb.fortran/exprs.exp: Likewise
21904
21905 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21906
21907 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21908 after the inferior gdb has started.
21909
21910 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21911 after each command.
21912 * gdb.base/funcargs.exp: Likewise.
21913 * gdb.base/gdbvars.exp: Likewise.
21914 * gdb.base/interrupt.exp: Likewise.
21915 * gdb.base/list.exp: Likewise.
21916 * gdb.base/watchpoint.exp: Likewise.
21917 * gdb.c++/demangle.exp: Likewise.
21918 * gdb.c++/inherit.exp: Likewise.
21919 * gdb.chill/chexp.exp: Likewise.
21920 * gdb.fortran/exprs.exp: Likewise.
21921
21922 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21923 test if we can't handle IO to/from the inferior.
21924
21925 * gdb.c++/misc.exp: Always check for a program already being
21926 started after sending a "run" command to gdb.
21927
21928 * gdb.base/twice.exp: Start with a fresh gdb.
21929
21930 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21931 only depend on gdb's expression code, not the chill runtime.
21932
21933 * gdb.base/return.c: Put return values into variables so we
21934 can have gdb print them rather than depending on the program
21935 to print them.
21936 * gdb.base/return.exp: Corresponding changes.
21937
21938 * lib/gdb.exp: Provide default value for noinferiorio.
21939 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21940 the inferior.
21941
21942 * gdb.base/break.exp: Always check for a program already being
21943 started after sending a "run" command to gdb.
21944 (text_next_with_recursion): Don't check the output from the
21945 program's printf statement. Instead just make sure the program
21946 exited.
21947
21948 * gdb.base/commands.exp: Protect tests which need arguments with
21949 $noargs conditionals.
21950
21951 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21952
21953 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21954 of structure member arrays to match gdb/valops.c:value_addr change.
21955
21956 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21957
21958 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21959 cases.
21960
21961 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21962
21963 * configure.in (configdirs): Remove gdb.chill from default list
21964 of subdirs and then add it back in only if doing a native build.
21965 The current chill compiler does not yet work in any cross build.
21966 * Revert all signal changes from Jul 6.
21967 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21968 for sh-hms targets, allowing these tests to link, with no other
21969 changes. Testing is suppressed by setting "nosignals" in site.exp.
21970
21971 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21972
21973 * configure.in (signaldirs): Define and add to configdirs for all
21974 targets except some specific ones that are known to not support signals.
21975 Also clean up formatting.
21976 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21977 (signals, sigall): Remove rules to build.
21978 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21979 Moved to new gdb.signals directory.
21980 * gdb.signals: New test directory.
21981 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21982 signals.c signals.exp}: New or moved files.
21983
21984 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21985
21986 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21987
21988 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21989
21990 * gdb.base/return.exp: Xfail `return double' test failure
21991 on at least Solaris 2.3 and handle future/past versions on
21992 a case by case basis as appropriate. Also update message
21993 to include i*86 failures.
21994
21995 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21996
21997 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21998
21999 * lib/gdb.exp: Fix comment which erroneously identified
22000 gdb_file_cmd as gdb_load (the 19 May change was in fact to
22001 gdb_file_cmd not gdb_load).
22002 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22003
22004 * gdb.base/setvar.exp: Make test names consistent between pass and
22005 fail cases. Use gdb_test more.
22006
22007 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22008
22009 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22010
22011 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22012
22013 * gdb.base/help.exp: Fix expected help string for `show commands'.
22014
22015 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
22016
22017 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22018
22019 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22020 of a text section.
22021
22022 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
22023
22024 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
22025 that loop eventually terminates. Fix Connection refused logic so
22026 that testsuite will expire nicely.
22027
22028 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
22029
22030 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22031 config/rom68k.exp: New tcl glue for the appropriate monitors.
22032 These all just end up calling monitor.exp.
22033 * config/monitor.exp (gdb_target_monitor): Handle `Connection
22034 refused' by retrying. Cleanup some timeout issues.
22035 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
22036 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
22037 callers don't have to set/restore global timeout variable.
22038
22039 * The following set of changes centralizes management of the global
22040 timeout variable. This way, it can be set in one target dependent
22041 place instead of dozens of places scattered throughout the test suite.
22042 If you need to lengthen a timeout, then you should either set timeout
22043 in one of the config/{target}.exp files, or multiply it by a factor.
22044 Setting it to an absolute value is always going to lose for some
22045 targets.
22046 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
22047 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
22048 * gdb.base/funcargs.exp: Don't set timeout.
22049 * gdb.base/list.exp (test_forward_search): Only use local timeout.
22050 * gdb.base/printcmds.exp (test_print_string_constants
22051 test_print_array_constants): Don't set timeout.
22052 * gdb.base/ptype.exp: Don't set timeout.
22053 * gdb.base/recurse.exp: Don't set timeout.
22054 * gdb.base/return.exp: Don't set timeout.
22055 * gdb.base/watchpoint.exp: Don't set timeout.
22056 * gdb.c++/classes.exp (do_tests): Don't set timeout.
22057 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
22058
22059 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
22060
22061 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
22062
22063 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22064
22065 * lib/gdb.exp: Disable chill tests for irix5.
22066
22067 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22068
22069 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
22070 each test pass or fail.
22071
22072 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22073
22074 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
22075 xlc not gcc.
22076
22077 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
22078
22079 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
22080
22081 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
22082
22083 * config/est.exp: Fix copyright and comments. Remove dead code.
22084 Use targetname, serialport and baud variables instead of fixed
22085 constants.
22086 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
22087 * config/cpu32bug.exp: New file to support cpu32bug monitors.
22088
22089 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22090
22091 * gdb.base/watchpoint.exp: Don't run
22092 test_watchpoint_triggered_in_syscall for sunos.
22093
22094 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22095
22096 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
22097 they don't seem to exist. Do include stdio.h.
22098
22099 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22100
22101 * gdb.base/a1-selftest.exp: Add alpha xfail.
22102
22103 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22104
22105 * gdb.base/watchpoint.c (main): Prompt before calling read().
22106 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22107 Revise accordingly. Remove cruft about sending "123" several
22108 times, until it gets noticed. Clean up the "print buf[0]" stuff
22109 so that it passes or fails, and waits for prompts in the usual way.
22110
22111 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22112
22113 * gdb.base/recurse.exp: Fix comment.
22114
22115 * TODO: Remove item about printing variables in nodebug.exp. Add
22116 item about enabling tests which are only run on some targets.
22117
22118 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
22119 fail, make test names unique, use new gdb_test convention
22120 regarding pattern, use gdb_test more, etc.).
22121
22122 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
22123 fail, make test names unique, etc.).
22124
22125 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22126
22127 * gdb.base/nodebug.c: Change return type of top and middle to
22128 short.
22129 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
22130 are fixed by the recent mdebugread.c changes. Allow `short ()'
22131 as type for top and middle.
22132
22133 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22134
22135 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
22136 nearly as I can tell, the whole thing was an accident in Stu's
22137 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
22138 to replace a send/expect pair with gdb_test, but ended up only
22139 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
22140 of 30 Mar 1995 took care of it, but left this vestigial comment
22141 which I am now nuking.
22142
22143 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22144
22145 * gdb.base/break.exp: Look for different line number for
22146 breakpoint at main depending on usestubs.
22147
22148 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22149
22150 * gdb.base/list.exp: Adjust some alternate expect patterns to
22151 match recent list0.c change. Add alternate expect pattern for
22152 output from `list default lines around main' for optimizing
22153 compilers.
22154
22155 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22156
22157 * lib/gdb.exp: If nosignals is not set, set it to 0.
22158
22159 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
22160
22161 * config/slite-gdb.exp: Responds to load symbol table prompt.
22162 * gdb.base/break.exp: Adjust line number, fix rerun.
22163 * gdb.base/langs0.c: Add #ifdef usestubs.
22164
22165 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
22166
22167 * gdb.base/list.exp: Adjust line contents after adding new lines in
22168 list0.c. Also fix a syntax error.
22169
22170 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
22171 * gdb.base/break.exp: ditto.
22172 * gdb.base/list.exp: ditto.
22173 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
22174 * gdb.base/run.c: ditto.
22175 * gdb.base/list0.c: ditto.
22176 * gdb.base/funcargs.c: ditto.
22177
22178 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
22179
22180 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
22181 $targetname, $serialport and $baud instead of hardwired variables.
22182 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
22183 target doesn't support signals.
22184
22185 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
22186
22187 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
22188
22189 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22190
22191 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
22192 Don't rely on the value of an auto variable before it has been
22193 initialized. Use gdb_test more.
22194
22195 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22196
22197 * lib/gdb.exp (default_gdb_version): A version number must start
22198 with a digit, but other than that contains all characters up to
22199 the first whitespace character.
22200
22201 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22202
22203 * gdb.base/commands.exp (breakpoint_command_test): New tests.
22204
22205 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22206
22207 * gdb.c++/*.exp: Warn if executable does not exist. The original
22208 reason for skipping the warning was that configure.in sometimes
22209 intentionally skipped building the executables but the tcl code
22210 had no way of knowing. That (a) was always bogus with respect to
22211 error handling, (b) is no longer true (right now there is no way
22212 to skip C++ tests).
22213
22214 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
22215
22216 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22217
22218 * gdb.base/list.exp: Add expect patterns for output from
22219 SunPRO compiled executables.
22220 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
22221 types.
22222
22223 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22224
22225 * gdb.base/break.exp (test_next_with_recursion): Accept any line
22226 number (we are already testing that the correct source line text
22227 gets printed).
22228
22229 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
22230 that is what is intended, but something needed to be done to get
22231 sunos4 native working again.
22232
22233 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
22234
22235 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
22236 apparently went with a (very) old xfail.
22237
22238 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
22239
22240 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
22241 runto_main is a proc in gdb.exp that will do 'step' for target use
22242 stubs.
22243 * gdb.base/exprs.exp: ditto.
22244 * gdb.base/interrupt.exp: ditto.
22245 * gdb.base/opaque.exp: ditto.
22246 * gdb.base/printcmds.exp: ditto.
22247 * gdb.base/ptype.exp: ditto.
22248 * gdb.base/scope.exp: ditto.
22249 * gdb.base/setvar.exp: ditto.
22250 * gdb.base/signals.exp: ditto.
22251 * gdb.base/twice.exp: ditto.
22252 * gdb.c++/classes.exp: ditto.
22253 * gdb.c++/inherit.exp: ditto.
22254 * gdb.c++/templates.exp: ditto.
22255 * gdb.base/break.exp: no run and hit main for stubs. Change line
22256 numbers for breakpoints and info breakpoint.
22257 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
22258 breakpoint().
22259 * gdb.base/callfuncs.c: ditto.
22260 * gdb.base/exprs: ditto.
22261 * gdb.base/interrupt.c: ditto.
22262 * gdb.base/opaque0.c: ditto.
22263 * gdb.base/printcmds.c: ditto.
22264 * gdb.base/ptype.c: ditto.
22265 * gdb.base/scope0.c: ditto.
22266 * gdb.base/setvar.c: ditto.
22267 * gdb.base/signals.c: ditto.
22268 * gdb.base/twice.c: ditto.
22269 * gdb.c++/misc.cc: ditto.
22270 * gdb.c++/templates.cc: ditto.
22271
22272 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22273
22274 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
22275
22276 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
22277 somewhere between `read' and `main.c'. I'm pretty sure the
22278 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
22279 and it isn't particularly useful.
22280
22281 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
22282
22283 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22284
22285 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
22286
22287 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22288
22289 * config/mt-slite: add LIBS and -nostdlib.
22290 * config/slite-gdb.exp: add this new file to support sparclite target.
22291
22292 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22293
22294 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22295
22296 * gdb.base/a2-run.exp: Change argument to istarget from
22297 "*-*-vxworks" to "*-*-vxworks*".
22298 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22299
22300 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22301
22302 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22303 will not runto main but do a 'step' to step out of breakpoint().
22304 * config/mt-slite: add -Dusestubs.
22305
22306 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22307
22308 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22309 instead of just @.
22310
22311 * gdb.base/signals.exp: Add test for "handle all print".
22312 * TODO: Remove "handle all print". Also remove item about
22313 checking copyright date (I don't like the idea of a spurious FAIL
22314 based on when we run the tests).
22315
22316 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22317 for SunOS4 (reason for failure not investigated). Remove
22318 redundant test for $binfile.
22319
22320 * gdb.base/nodebug.c (array_index): Call malloc.
22321
22322 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22323
22324 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22325
22326 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22327 conventions and slightly simplify the matching regexp.
22328
22329 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22330
22331 * gdb.base/break.exp: Update gdb_test invocation to use new
22332 convention.
22333
22334 * lib/gdb.exp: If noargs is not set, set it to 0.
22335
22336 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22337 tests unique.
22338
22339 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22340
22341 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22342
22343 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22344 one argument of type "<non-float parameter>".
22345
22346 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22347
22348 * config/rom68k.exp: New file to support Motorola IDP board.
22349 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22350 * gdb.base/break.c: Change things around so that this program
22351 doesn't depend upon args. This is necessary to make remote
22352 targets work (in general, they can't take args).
22353 * gdb.base/break.exp: Don't try to send args to program. Don't
22354 expect output. Also, replace lots of code with gdb_test.
22355
22356 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22357
22358 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22359 printing of '\'' (which is what the comment says we are testing,
22360 even though we were not), not '''.
22361 (test_integer_literals_rejected): Test that printing ''' is an error.
22362
22363 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22364 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22365 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22366 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22367 Use gdb_test not test_print_accept.
22368 * lib/gdb.exp: Remove test_print_accept.
22369
22370 * gdb.base/signals.exp (signal_tests_1): Make pass message
22371 consistent with fail message.
22372
22373 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22374 unsigned char; the bug (PR 1821) is fixed.
22375
22376 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22377
22378 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22379 successful tests--makes xfailing them work right.
22380
22381 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22382
22383 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22384 only \r\n, not .*. The test can pass .* as the last thing in
22385 $pattern if that is what it wants. In addition to providing this
22386 flexibility, this change should speed up pattern matching in cases
22387 where the pattern already ended with .* (there were a number of
22388 them). This change also helps catch bad patterns--in the old
22389 scheme the typo "char \*" instead of "char \\*" would pass. Now
22390 it is caught.
22391 * Many .exp files: Update callers.
22392
22393 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22394 clearer and does not spuriously match multiple ('s. Likewise for
22395 ) and *.
22396
22397 * gdb.base/nodebug.exp: Test ability to call a function and pass
22398 it a string (even with no debugging info).
22399
22400 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22401 "p '\'", which is the same as "p ''" once tcl gets done with
22402 quoting, to "p '\\'", which I suspect is what is intended (one
22403 backslash gets sent to GDB).
22404
22405 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22406
22407 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22408
22409 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22410 1817) was fixed literally years ago.
22411
22412 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22413
22414 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22415 test, it causes stepping out of call_after_alloca_subr with
22416 optimizing compilers.
22417 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22418 fails.
22419
22420 * gdb.c++/templates.exp: Source templ-info.exp only if
22421 the templates executable exists.
22422
22423 * gdb.c++/misc.cc (class Contains_static_instance,
22424 class Contains_nested_static_instance),
22425 gdb.c++/classes.exp (test_static_members): Test printing of
22426 a class that contains a static instance of the class.
22427
22428 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22429
22430 * gdb.base/langs2.c (cppsub_): Don't prototype.
22431 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22432 only, I believe).
22433
22434 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22435
22436 * lib/gdb.exp (skip_chill_tests): New procedure.
22437
22438 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22439
22440 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22441
22442 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22443 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22444
22445 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22446
22447 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22448
22449 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22450 disassemble 8, not 16, instructions for part 4.
22451
22452 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22453 support the latter anymore.
22454
22455 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22456 -DNO_PROTOTYPES.
22457 * gdb.base/callfuncs.c: Control use of prototypes based on
22458 NO_PROTOTYPES, not __STDC__.
22459 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22460 t_float_values2 tests if prototypes in use.
22461
22462 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22463 t_double_values): When checking differences against DELTA, check
22464 that difference is within the range (-DELTA,DELTA), not just
22465 (-infinity,DELTA).
22466
22467 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22468
22469 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22470 'file' command firts, then 'target', then 'load', this is due to gdb
22471 target set up.
22472 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22473
22474 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22475
22476 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22477 FP load/store variants.
22478 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22479
22480 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22481
22482 * gdb.base/term.exp: Do not give a warning if not native, it is
22483 not an abnormal condition.
22484
22485 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22486
22487 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22488 t_char_array".
22489
22490 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22491
22492 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22493 are getting the version number.
22494
22495 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22496 if not native, it is not an abnormal condition.
22497
22498 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22499
22500 * lib/gdb.exp: Just use "file exists", rather than undocumented
22501 dejagnu procedure "findfile".
22502
22503 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22504
22505 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22506 (LDFLAGS): Set to -Xlinker -Ur.
22507
22508 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22509 Removed, these values are set by lib/gdb.exp.
22510
22511 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22512
22513 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22514
22515 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22516 of replicating gdb startup code.
22517
22518 * config/mt-vxworks (LDFLAGS): Set to -r.
22519 (CFLAGS_FOR_TARGET): Removed.
22520
22521 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22522 (gdb) and gdb for vxworks uses (vxgdb).
22523
22524 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22525 executable is not in the tree and host != target, use sed and
22526 program_transform_name to determine the gdb name used by the
22527 target.
22528
22529 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22530 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22531
22532 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22533
22534 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22535 floats, chars, and shorts where there are ANSI-style function
22536 definitions.
22537
22538 * gdb.base/langs.exp, gdb.base/langs*: New test.
22539 * gdb.base/Makefile.in: Build it.
22540 * TODO: Remove item about checking that C names don't get C++
22541 demangling applied; this test tests it.
22542
22543 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22544
22545 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22546 went with the const70 xfail. The xfail went away a year ago.
22547
22548 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22549
22550 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22551 for hp300.
22552
22553 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22554
22555 * gdb.base/a1-selftest.exp: Don't run on hp300.
22556
22557 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22558
22559 * Makefile.in (site.exp): Set host_alias and target_alias as well
22560 as host_triplet and target_triplet.
22561
22562 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22563
22564 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22565
22566 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22567 places as other ecoff systems).
22568
22569 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22570 ultrix.
22571
22572 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22573
22574 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22575 remove them.
22576 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22577 variable and "variable" in addition to "data variable".
22578 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22579
22580 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22581 2.
22582 * gdb.base/list1.c (long_line): Add additional statement at start
22583 of function.
22584 * gdb.base/list.exp (test_forward_search): Update line number to
22585 reflect new statement.
22586
22587 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22588
22589 * gdb.base/signals.exp: Reinitialize searched source directories
22590 after gdb_start call.
22591
22592 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22593
22594 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22595 * gdb.stabs/Makefile.in: Likewise.
22596
22597 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22598 change. Instead split the tests into smaller pieces.
22599 * gdb.disasm/hppa.s: Corresponding changes.
22600
22601 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22602
22603 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22604 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22605
22606 * gdb.base/funcargs.exp: Modify many tests so that every test
22607 either passes or fails. Make some test names unique.
22608
22609 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22610
22611 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22612 Call stty to set interrupt character.
22613
22614 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22615 for HP assembler versus GNU assembler based on actual behavior of
22616 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22617
22618 * TODO: Suggest a few more stepping tests.
22619
22620 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22621
22622 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22623 restart GDB for h8300 after a continue.
22624 (return): Add pattern to match a29k-udi behavior.
22625 * gdb.base/nodebug.exp: Remove obsolete comment.
22626 * gdb.base/regs.exp: New file, testing of register displays.
22627 * gdb.base/return.exp: Fix typo in reference to $objdir.
22628 * gdb.base/whatis.exp: Always start with a fresh GDB.
22629
22630 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22631
22632 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22633 higher, these tests generate a lot of output.
22634
22635 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22636
22637 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22638 code following the catch silently ignored some errors; without the
22639 catch they should be thrown like any other tcl error. Also, the
22640 catch used "" instead of {} which meant all the callers who wanted
22641 to include one of the characters "[]$ had to quote it an extra time.
22642 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22643 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22644 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22645 Remove extra quoting.
22646
22647 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22648
22649 * gdb.base/commands.exp: Make test names unique; every test either
22650 passes or fails. Update some comments.
22651
22652 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22653
22654 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22655
22656 The following fixes a FAIL caused by the fact that the alpha stabs
22657 configuration didn't use the ".if alpha" code in weird.def.
22658 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22659 bit pointer, so the 32 bit version works even on the alpha.
22660 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22661 Remove the stuff which allowed us to have separate versions for
22662 alpha and everything else.
22663
22664 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22665 regexp which "info func operator\[\](" is supposed to match. Fix
22666 string to send to GDB. Note that GDB still doesn't work right. Add a
22667 new test for "info func .perator\[\](" which GDB does handle correctly.
22668
22669 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22670
22671 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22672
22673 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22674 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22675 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22676 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22677 it makes the tests harder to understand and confuses test-o-matic.
22678 The preferred style is that each test provides a PASS or a FAIL,
22679 and has a unique message (e.g. "continue #54" not just "continue")
22680 which is the same for the pass and the fail.
22681 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22682 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22683 to lib/gdb.exp.
22684 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22685 prt_accept which was basically the same thing. Likewise for
22686 test_print_reject and prt_reject.
22687 * lib/gdb.exp (test_print_reject): Add some more error message
22688 patterns to match from the former printcmds.exp (prt_reject).
22689 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22690 One defect of the passcount stuff is that some of it failed to
22691 report XPASS where appropriate.
22692 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22693 stuff before and after arg in expected pattern.
22694 (test_paddr_operator_functions): Re-do test without print_addr_of;
22695 this is the only test which seems to want extra stuff there.
22696
22697 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22698
22699 * gdb.base/nodebug.exp: Update new tests to reflect improved
22700 wording of gdb output.
22701
22702 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22703 and "ptype" work on variables in files compiled without -g.
22704 Replaces commented out "maint print msymbol" tests.
22705
22706 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22707
22708 * gdb.base/setvar.c (dummy): Call malloc.
22709
22710 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22711 losing with the irix4 sed.
22712
22713 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22714 ALRM" on irix4.
22715
22716 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22717
22718 * TODO: Remove items about corefile.exp testing new exec-file and
22719 backtrace; both are now done. Add items about printing enums.
22720
22721 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22722
22723 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22724 "get signal $thissig" test fails.
22725
22726 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22727
22728 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22729
22730 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22731 compiler warning with dec alpha compiler.
22732
22733 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22734 extra \n from gdb_test call (this explains why the prompt test
22735 that I removed yesterday was there).
22736 (user_defined_command_test): Remove extra \n and prompt test.
22737
22738 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22739 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22740 doesn't exist.
22741 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22742 Also remove alpha workaround, which turns out to be because
22743 SIGABRT == SIGLOST.
22744
22745 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22746
22747 * gdb.base/help.exp: Don't test "help show".
22748
22749 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22750
22751 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22752 "set print address" is on.
22753 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22754 pass prompt to gdb_test; gdb_test already looks for the prompt.
22755
22756 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22757
22758 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22759 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22760 was to make sure that gdb can read a core file. But (a) the "read
22761 the corefile" part didn't make it to a1-selftest.exp, we just
22762 delete the corefile after creating it, and (b) we test reading
22763 corefiles in corefile.exp anyway. Also, this test left around a
22764 xgdb process on Solaris.
22765
22766 * gdb.base/corefile.exp: Also test backtrace.
22767
22768 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22769
22770 * gdb.base/commands.exp: Test a simple user defined command with
22771 arguments and if/while statements; verify the full user command is
22772 printed by "show user".
22773
22774 * gdb.base/commands.exp: Test if/while commands as part of a
22775 breakpoint command list; verify they appear in breakpoint
22776 information.
22777
22778 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22779
22780 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22781 than by dividing by zero.
22782
22783 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22784
22785 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22786 performing an inferior call with watchpoints enabled.
22787 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22788 call.
22789
22790 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22791
22792 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22793 of "file" command.
22794
22795 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22796 Add additional pattern for when "int operator int(void);" appears
22797 in a different order.
22798
22799 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22800
22801 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22802
22803 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22804 and "signal" with ".*".
22805
22806 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22807
22808 * TODO: Add note about "handle all nostop".
22809
22810 * gdb.base/{sigall.c, sigall.exp}: New test.
22811 * gdb.base/Makefile.in: Add it.
22812
22813 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22814
22815 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22816 when invoking GDB, suppresses any windowing interface.
22817
22818 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22819
22820 * config/sim-gdb: New file, simulator testing support.
22821
22822 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22823
22824 * gdb.base/interrupt.exp: Test calling func1 twice.
22825
22826 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22827
22828 * gdb.base/list.exp (test_forward_search): Set timeout higher
22829 when we'll be getting lots of output from gdb.
22830
22831 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22832 "init_malloc" to after the expect statement. Run it if that
22833 regexp is taken, but also for two others which happen if source
22834 cannot be found.
22835
22836 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22837
22838 * gdb.base/printcmds.exp: New test, for printing register before
22839 program is running.
22840
22841 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22842
22843 * gdb.base/list.exp: Correct some alternate expect patterns
22844 to reflect changes in list1.c.
22845
22846 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22847
22848 * TODO: Add item regarding large frames.
22849
22850 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22851
22852 * TODO: Remove item about enabling return.exp; it
22853 is enabled. Suggest a few more "return" tests.
22854
22855 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22856
22857 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22858 anonymous unions.
22859
22860 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22861
22862 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22863 and pr-5646.o, so "make" is the same as "make all", not "make
22864 pr-4975.o".
22865
22866 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22867
22868 * gdb.base/list.exp: Adjust expectations to reflect changes in
22869 list1.c.
22870 (test_forward_search): New test proc.
22871 * gdb.base/list1.c (long_line): New function, has long source line.
22872
22873 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22874
22875 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22876 additional line of code that was added.
22877
22878 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22879
22880 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22881 tests so as not to overflow expect's input buffers.
22882 * gdb.disasm/hppa.exp: Corresponding changes.
22883
22884 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22885
22886 Beginnings of template debugging tests.
22887 * gdb.c++/templ-info.cc: New file to test for template
22888 debugging capability of the compiler.
22889 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22890 templ-info.cc.
22891 * gdb.c++/templates.cc: Add explicit template instantiations
22892 to enable compiling with -fno-implicit-templates. Add destructor
22893 and 'value' method to T5 class for template tests.
22894 * gdb.c++/templates.exp: Add testcases for printing of template
22895 types, setting breakpoints on template methods and calling a
22896 template method.
22897
22898 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22899
22900 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22901 branch target since some assemblers (gas-2.5) may emit a
22902 relocation for the branch instead of resolving it in the
22903 assembler.
22904
22905 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22906
22907 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22908 through signal handler.
22909
22910 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22911
22912 * configure.in (*-*-netware): Use config/mt-netware.
22913
22914 * config/mt-netware: New file.
22915 * config/mt-i386-netware: Removed, separate configs for different
22916 netware architectures are no longer needed now that we have
22917 --with-headers.
22918
22919 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22920
22921 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22922 by the recent changes to use ANSI C arithmetic conversions.
22923
22924 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22925
22926 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22927 bug involving using inferior_pid to figure out whether to select a
22928 frame.
22929
22930 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22931
22932 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22933 match the current disassembler output.
22934
22935 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22936
22937 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22938 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22939 types, expect "int" as type of integer values (for now).
22940
22941 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22942
22943 * gdb.base/commands.exp: New tests for if/while commands.
22944
22945 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22946
22947 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22948 by .*, since hex values have different syntax in Chill mode.
22949
22950 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22951
22952 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22953 linefeed from expect pattern for repeated types with indices > 9.
22954
22955 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22956
22957 First part of Fortran test suite.
22958 * gdb.fortran: New directory.
22959 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22960
22961 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22962
22963 * gdb.base/default.exp: Update expect pattern for load command
22964 without arguments.
22965
22966 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22967
22968 * configure.in: Change i386 to i[345]86.
22969 * gdb.base/configure.in: Likewise.
22970 * gdb.c++/configure.in: Likewise.
22971 * gdb.chill/configure.in: Likewise.
22972
22973 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22974
22975 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22976 patterns, since that is not a valid context for comments.
22977
22978 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22979
22980 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22981 repeated types and repeated types with indices > 9.
22982
22983 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22984
22985 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22986 2417; old bug has been fixed.
22987
22988 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22989
22990 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22991 send the newline ourselves instead of assuming gdb_test will do
22992 so when passed an empty input string.
22993
22994 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22995 stabs testcode.
22996
22997 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22998
22999 * lib/gdb.exp (gdb_test): Don't send anything if the first
23000 argument is an empty string. This makes cases where we want to
23001 match output that is already in expect's buffers (for example,
23002 matching a breakpoint after gdb_run_cmd has been called) work
23003 reliably.
23004
23005 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23006
23007 * config/netware.exp: New file.
23008
23009 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23010
23011 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23012 the -B and -L prefixes so we can find the debugging stub.
23013
23014 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23015 there and we are using the gcc from the tree.
23016
23017 * gdb.base/types.c: Removed.
23018
23019 * gdb.base/configure.in: Look for makefile fragments in ../config.
23020 Recognize i386-*-netware.
23021 * gdb.c++/configure.in: Likewise.
23022
23023 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23024
23025 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
23026 the correct TCL syntax.
23027
23028 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23029
23030 * gdb.base/opaque.exp: use runto instead of messing around with
23031 breakpoints. Simplify by using gdb_test.
23032
23033 * gdb.base/bitfields.exp: restart between tests on netware targets
23034 because breakpoints aren't relocated after target death. Run
23035 processes to completion.
23036
23037 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
23038
23039 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
23040
23041 * Makefile.in: Remove extra tabs that confuse some versions
23042 of "make". Use the newly built gdb to test with by default,
23043 rather than the first one in the tester's search path.
23044
23045 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
23046
23047 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
23048
23049 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
23050 condition help.
23051
23052 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23053
23054 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
23055
23056 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
23057 running.
23058 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
23059 * gdb.base/funcargs.exp: Likewise.
23060
23061 * gdb.base/bitfields.exp: Simplify by using gdb_test.
23062 * gdb.base/funcargs.exp: Likewise.
23063
23064 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
23065 message is "".
23066
23067 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23068
23069 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
23070 return,signals,twice}.exp: Handle non-existant binaries
23071 consistantly.
23072
23073 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
23074 * gdb.base/Makefile.in: Don't try to generate a core dump, we
23075 might testing a cross development system.
23076
23077 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23078
23079 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
23080 runtest script is relative to ${srcdir}, not ${rootdir}.
23081
23082 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
23083
23084 * gdb.base/signals.exp: Allow for optionality of breakpoint
23085 address.
23086
23087 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23088
23089 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
23090
23091 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23092
23093 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
23094 for size_t definition.
23095 * gdb.c++/templates.cc: Likewise
23096
23097 * config/mt-i386-netware: New file.
23098
23099 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
23100 defined.
23101
23102 * gdb.base/Makefile.in: Added support for systems that name core
23103 files by appending "core" to the program name.
23104 * gdb.base/a1-selftest.exp: Likewise.
23105
23106 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23107
23108 * gdb.base/return.exp: Add comment and message for `return double'
23109 test failure on Sparc Solaris.
23110
23111 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
23112
23113 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
23114
23115 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23116
23117 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
23118 from optimizing them away.
23119 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
23120 patterns to include default constructors and assignment operators,
23121 to match gcc versions beyond 2.5.8. Accept any cplus demangling
23122 character in the output of the virtual base pointer.
23123
23124 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23125
23126 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
23127 expression match in print_addr_of to avoid unintented matches.
23128 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
23129 versions up to 2.5.8.
23130
23131 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23132
23133 * gdb.base/list.exp: Tweak alternate pattern for listing of an
23134 included file to run under newer versions of expect.
23135 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
23136 consecutive >'s in templates to accomodate recent cplus-dem.c change.
23137 Remove xfail for the virtual table of BDDHookV.
23138
23139 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
23140
23141 * lib/gdb.exp (string_to_regexp): Set a default result.
23142 (default_gdb_start): Fix misleading message.
23143
23144 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
23145
23146 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
23147 Remove all CC, etc definitions.
23148 * config/mt-hpux: New file.
23149 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
23150 (CFLAGS, LDFLAGS): Define.
23151 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
23152
23153 * Makefile.in (site.exp): Don't insert host_os, etc.
23154 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
23155 (distclean): Check existence of subdir.
23156 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
23157 * gdb.base/Makefile.in: General cleanup and simplification.
23158 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23159 to build executables. Use default rule to build .o files.
23160 (EXPECT, RUNTEST, CC): Fix relative pathname.
23161 (site.exp): Don't insert host_os, etc.
23162 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
23163 and/or SIGUSR1 defined.
23164 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
23165 * gdb.c++/Makefile.in: General cleanup and simplification.
23166 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23167 (CFLAGS): Remove.
23168 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
23169
23170 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
23171
23172 * gdb.base/recurse.exp: Misc changes to get tests running again
23173 after Kung's changes to the watchpoint code.
23174 * gdb.base/watchpoint.exp: Likewise.
23175
23176 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
23177
23178 * lib/gdb.exp (string_to_regexp): Convert {\} also.
23179
23180 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
23181
23182 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
23183 * lib/gdb.exp (default_gdb_start): Define.
23184 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
23185 gdb.base/funcargs.exp, gdb.base/opaque.exp,
23186 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
23187 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
23188 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
23189 Don't call gdb_target_udi in between tests.
23190
23191 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23192
23193 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
23194 (which was basically just a local version of the same thing). In
23195 addition to avoiding duplication, gdb_test_exact is faster.
23196 * lib/gdb.exp (gdb_test_exact): Fix typo.
23197
23198 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
23199 don't give an error.
23200
23201 * gdb.base/term.exp: Call delete_breakpoints before starting.
23202
23203 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
23204 (t10): Add comment.
23205
23206 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23207
23208 Reorganization of the GDB Test Suite.
23209
23210 * gdb.base: New directory, contains all the basic tests.
23211 * gdb.c++: New directory, tests specific to C++.
23212 * gdb.chill: New directory, tests specific to Chill.
23213 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
23214 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
23215 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
23216 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
23217 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
23218 t30-31 to chill).
23219 * */gdbme.*: Rename to match appropriate expect scripts.
23220 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
23221 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
23222 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
23223 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
23224 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
23225 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
23226 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
23227 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
23228 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
23229 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
23230 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
23231 gdb.c++/virtfunc.cc: New names of C++ files.
23232 * gdb.chill/chillvars.ch: New name of Chill file.
23233 * gdb.base/configure.in, gdb.c++/configure.in,
23234 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
23235 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
23236 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
23237 * configure.in (configdirs): Update to reflect directory changes.
23238 (target_abbrev): No longer define for any configuration.
23239 * Makefile.in: Cosmetic improvements to header comments.
23240
23241 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
23242
23243 Various changes to gdb.t31:
23244
23245 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
23246 * gdbme.ch: Make all key-words and predefineds be upper-case.
23247 * chillvars.exp: Expect key-words and predefinds in upper-case.
23248
23249 * chillvars.exp: Use gdb_test_exact many places.
23250 Change expected output for arrays (which now includes index labels).
23251
23252 * pr-5020.exp, gdme.ch (module PR_5020):
23253 New test, for PR-5020.
23254
23255 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
23256
23257 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
23258 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
23259
23260 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
23261
23262 * Makefile.in: Fix bit-rot in definitions of CHILL,
23263 CHILL_FOR_TARGET and Chill_LIB.
23264 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
23265 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
23266 CHILL, and CHILL_LIB.
23267
23268 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
23269
23270 * Revert the previous changes. Please see Rob's directory
23271 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
23272
23273 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
23274
23275 * Makefile.in, configure.in, config/mips-gdb.exp,
23276 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
23277 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
23278 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
23279 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
23280 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
23281 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
23282 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
23283 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
23284 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
23285 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
23286 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
23287 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23288 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23289 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23290 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23291 changes from 94Q1.
23292
23293 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23294
23295 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23296 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23297 Rob's new testing fragments.
23298
23299 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23300
23301 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
23302 lib/gdb.exp: Replace error proc calls with perror.
23303
23304 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23305
23306 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23307 version also, match on casted version strings, and match on
23308 gdb startup case where the line numbers might be messed up.
23309
23310 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23311
23312 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
23313 (CFLAGS): Delete it from here.
23314
23315 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23316
23317 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23318
23319 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23320
23321 * Makefile.in (RUNTEST): Default to just "runtest".
23322
23323 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23324
23325 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23326 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23327 the code has been restructured.
23328
23329 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23330
23331 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23332 \n, not just one of each.
23333
23334 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23335 /bin/cc gives a warning if you do.
23336
23337 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23338
23339 * gdb.t24/demangle.exp: change expect pattern of
23340 __t10ListS_link1ZUiRCUiPT0
23341
23342 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23343
23344 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23345 on local variables in recursive functions.
23346
23347 * gdb.t07/Makefile.in: Build the new test.
23348
23349 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23350
23351 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23352 directly. Instead compare the return values from actual calls.
23353
23354 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23355
23356 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23357
23358 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23359
23360 * From Peter Schauer with minor modifications.
23361 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23362 stops in mid-line in the caller. Add xfail for returning a float
23363 value on X86 targets.
23364
23365 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23366
23367 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23368 to avoid expect lossage.
23369 (fmem_LRbug_tests): Likewise.
23370 * gdb.disasm/hppa.s: Corresponding changes.
23371
23372 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23373 conditions to work with latest dejagnu/expect.
23374
23375 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23376 expected to fail on the PA.
23377 (backtrace in call with trampolines): Explicitly require main
23378 to be frame #1 (no trampolines should show up in backtrace).
23379
23380 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23381 "continue -expect".
23382 * gdb.t06/break.exp: Likewise.
23383 * gdb.t07/watchpoint.exp: Likewise.
23384 * gdb.t13/bitfields.exp: Likewise.
23385 * gdb.t15/{funcargs,return}.exp: Likewise.
23386 * gdb.stabs/weird.exp: Likewise.
23387 * config/{mips,udi}-gdb.exp: Likewise.
23388
23389 * hppa.sed: Enclose comments within a sed command to avoid
23390 losing with the old OSF1 sed.
23391
23392 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23393
23394 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23395 sequent dynix.
23396 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23397 * gdb.t15/funcargs.exp: Conditionally step again to really
23398 finish from marker_call_with_trampolines. Handle the case where
23399 the first step from within call_with_trampolines already steps
23400 us back to main.
23401 * gdb.t15/gdbme.c: Add comment to closing brace of
23402 call_with_trampolines for funcargs.exp.
23403
23404 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23405
23406 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23407 Fix typo(s).
23408
23409 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23410
23411 * gdb.t07/gdbme.c: More code for watchpoint testing.
23412
23413 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23414 "Hardware watchpoint" throughout file.
23415 (test_watchpoint_triggered_in_syscall): New test.
23416 (test_complex_watchpoint): New test.
23417
23418 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23419
23420 * gdbme.c (call_with_trampolines): New function to try and step
23421 into. Tests trampoline problems on the PA.
23422
23423 * funcargs.exp (localvars_in_indirect_call): No longer expect
23424 stepping into indirect call to fail on PAs.
23425 (test_stepping_over_trampolines): New test.
23426
23427 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23428
23429 * TODO: Add suggestions for static member function tests, and
23430 completion tests.
23431
23432 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23433
23434 * TODO: Add suggestions for "p/a" tests.
23435
23436 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23437 (default_gdb_exit): Replace all the hair with sending "quit" to
23438 the process with a simple close.
23439
23440 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23441
23442 * TODO: Add suggestions for shared library tests.
23443
23444 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23445
23446 * TODO: Add suggestions for x/s tests.
23447
23448 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23449
23450 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23451 "enable once", and "enable breakpoints once" with ".*".
23452
23453 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23454
23455 * TODO: Add suggestions about structure passing tests.
23456
23457 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23458
23459 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23460 the primary1 test, use work around if __GNUC__ < 2.
23461 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23462 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23463 Test for bad output rather than waiting for timeout. Issue
23464 second continue only if first continue failed.
23465
23466 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23467
23468 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23469 operator[] test with gdb_test because the old code didn't seem to
23470 be getting the quoting right with the new dejagnu.
23471
23472 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23473
23474 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23475 one from the path.
23476 * Makefile.in: Use a fresh expect if there is one, use runtest
23477 from the src tree if there is one.
23478
23479 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23480
23481 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23482 next over recursive call. Revise the tests from that point on
23483 (which had been skipped) to match GDB's actual (correct) output.
23484
23485 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23486 with next over a breakpoint whose condition is false.
23487
23488 * gdb.t00/help.exp: Comment out "help set print" tests just like
23489 (and for same reason as) "help set" test.
23490
23491 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23492
23493 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23494 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23495
23496 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23497
23498 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23499 necessary gdb_target_udi.
23500
23501 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23502
23503 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23504 1838 and 2417; they are fixed.
23505
23506 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23507 gdb.t03/ptype.exp (ptype structure, ptype union):
23508 Remove xfails; the test is looser than when the xfails were added.
23509
23510 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23511 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23512
23513 * gdb.t01/run.exp: Only run shell test if isnative.
23514
23515 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23516 since "run" automatically loads if necessary. Call gdb_target_udi
23517 after the "file" since "file" kills any execution target.
23518
23519 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23520 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23521 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23522 argument for UDI.
23523
23524 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23525
23526 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23527
23528 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23529
23530 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23531
23532 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23533 properly quoting regexps. This makes the second argument to
23534 demangle a fixed string, which matches the callers, instead of a
23535 shell-style pattern which is what the previous implementation
23536 used. Update some of the callers.
23537
23538 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23539
23540 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23541 (comib_nullified_tests): Fix typo.
23542 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23543 strings. No longer expected to fail.
23544
23545 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23546 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23547 strings. No longer expected to fail.
23548
23549 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23550 string. No longer expected to fail.
23551
23552 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23553
23554 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23555 No longer expected to fail.
23556
23557 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23558 string. No longer expected to fail.
23559
23560 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23561
23562 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23563 only in the names (I probably got most of them). I was even
23564 generous with some which differed in underscores in names, and
23565 probably missed a few, and I *still* was able to remove almost a
23566 third of the file with almost no impact on testsuite coverage.
23567
23568 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23569
23570 * gdb.t00/default.exp: Match udi_attach error message as well as
23571 the one from child_attach.
23572
23573 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23574
23575 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23576
23577 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23578 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23579
23580 * Move test with enums and partial symbols back to
23581 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23582 Reverts the change of 26 May 93. Per today's change to
23583 stabs.texinfo, the behavior that weird.exp was expecting was
23584 unreasonable; what is important is that the compiler+gdb get
23585 things right, which happens with a recent gcc. Also fix the test
23586 to deal with native compilers which put out the stab gdb can't
23587 deal with.
23588
23589 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23590
23591 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23592 in the names. The main thing these accomplish is to slow things down.
23593 Many more such duplicates surely remain.
23594
23595 * gdb.t00/help.exp: Comment out "help support" test just like
23596 (and for same reason as) "help set" test.
23597
23598 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23599
23600 * gdb.t06/break.exp: Remove setup_xfails for
23601 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23602 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23603 about known bug in gcc to include up through 2.5.8.
23604 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23605 well as "_vb$".
23606 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23607 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23608 with latest gcc and gdb.
23609 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23610 well as "_vb$".
23611
23612 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23613
23614 * configure.in (hppa*-*-*): Also configure and build stabs-only
23615 tests.
23616
23617 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23618
23619 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23620 * gdb.t10/configure.in (hppa*-*-*): Use it.
23621
23622 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23623
23624 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23625
23626 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23627
23628 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23629 versions prior to 1.13.5.
23630
23631 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23632
23633 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23634 the prompt is at the start of a line.
23635
23636 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23637
23638 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23639 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23640 in the copr tests now.
23641 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23642 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23643 expected to fail.
23644
23645 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23646
23647 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23648 gdb.t31/chillvars.exp, lib/gdb.exp:
23649 Tweak to run under either version of expect.
23650 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23651 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23652 * gdb.t11/list.exp: Remove extraneous whitespace.
23653
23654 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23655
23656 * gdb.t16/printcmds.exp (test_print_strings): Accept
23657 "(unsigned char *) " before the string.
23658
23659 * TODO: Add notes about printing of fancy types and GDB expressions.
23660
23661 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23662
23663 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23664 * gdb.t06/configure.in: Don't try to compile signals test program
23665 if doing mips-idt-ecoff.
23666
23667 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23668
23669 * Most .exp files: Tweak to run under either version of expect.
23670
23671 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23672
23673 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23674 xfails; I'm not sure why they are failing, but not because of PR 1806.
23675
23676 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23677
23678 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23679 defined in lib/gdb.exp.
23680
23681 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23682
23683 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23684 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23685 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23686 have to be typeless.
23687
23688 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23689
23690 * TODO: Add suggestion for copyright year test.
23691
23692 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23693
23694 * configure.in (*-*-lynxos*): Add stabs tests.
23695
23696 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23697
23698 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23699 so insert a tab before any assembler directive in column zero.
23700
23701 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23702 stores.
23703 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23704 stores.
23705 (fpu_short_memory_tests): Likewise.
23706
23707 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23708
23709 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23710 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23711 .stabs directives in comments.
23712
23713 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23714
23715 * TODO: New file, describing tests we could write.
23716 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23717
23718 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23719
23720 * gdb.t06/signals.exp: Add kludge to force re-sync.
23721
23722 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23723 to xgdb instead of gdb, get out of gdb.
23724
23725 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23726
23727 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23728 for info.
23729
23730 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23731
23732 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23733 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23734 * gdb.stabs/hppa.sed: New sed script for the PA.
23735
23736 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23737
23738 * gdb.stabs: Re-write weird.def and configuration to use sed
23739 instead of cpp. sed is portable and POSIX; cpp is neither.
23740
23741 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23742
23743 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23744
23745 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23746
23747 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23748
23749 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23750
23751 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23752 "_vb$".
23753 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23754 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23755
23756 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23757
23758 * lib/gdb.exp: Comment out code which depends on non-existent
23759 `transform' procedure.
23760
23761 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23762
23763 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23764 * lib/gdb.exp: Transform tool name.
23765 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23766 1.1's new error handling system.
23767
23768 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23769
23770 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23771
23772 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23773
23774 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23775 They made pattern matching so slow that timeouts happened on
23776 heavily loaded systems. Now any output from "show print" which
23777 gets us back to the GDB prompt is a PASS.
23778
23779 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23780
23781 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23782
23783 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23784
23785 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23786
23787 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23788 It is not from PR 3220.
23789
23790 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23791
23792 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23793 just started failing because they depended on the order the
23794 subcommands are presented, or exact docstring text. This kind of
23795 test is a pain and has minimal benefit.
23796
23797 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23798
23799 * gdb.t09/corefile.exp: At end of test, use "core" command with
23800 no arguments.
23801
23802 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23803
23804 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23805 17}/Makefile.in: Make it possible to run the testsuite with Sun
23806 make and CC = cross gcc by adding explicit build rules for .o
23807 files.
23808
23809 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23810
23811 * gdb.t15/funcargs.exp: Don't put comments on same line as
23812 setup_xfail (@#$*%& tcl braindamage!).
23813
23814 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23815
23816 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23817
23818 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23819
23820 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23821 * gdb.t20/inherit.exp: remove three dumplicate entries.
23822
23823 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23824
23825 * gdb.t06/break.exp: For "next over recursive call", fail on any
23826 incorrect output, not just on "factorial (value=2)".
23827
23828 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23829
23830 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23831 working now. Add an xfail if accesing a bss variable causes
23832 a memory error if the target is not yet run.
23833
23834 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23835
23836 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23837 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23838 name of __st* demangling (2 strings). Did Kung really get the
23839 more than 95 others right without testing them?
23840
23841 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23842
23843 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23844
23845 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23846
23847 * configure.in (configdirs): Add gdb.disasm
23848 * gdb.disasm: New directory for GDB disassembler tests.
23849 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23850
23851 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23852
23853 * gdb.t00/help.exp: Don't test "help set".
23854
23855 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23856 from within expect statements. None of these happen anymore and
23857 they cause regressions to be silently unnoticed.
23858
23859 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23860 messages) about known failures with gcc cygnus-2.4.5-930417.
23861
23862 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23863 comp-info.exp so it gets built if it doesn't exist.
23864
23865 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23866 it is no longer used.
23867 * gdb.t13/comp-info.c: Removed.
23868
23869 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23870
23871 * gdb.t06/signals.exp: Add xfail for sun3.
23872
23873 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23874
23875 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23876 relevant because ^C doesn't get sent but failure can be reproduced
23877 interactively).
23878
23879 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23880
23881 * gdb.stabs/alpha.mt: New configuration file for alpha.
23882 * gdb.stabs/configure.in: Use it.
23883 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23884 sharing with alpha.mt, redefine long to word via preprocessor.
23885 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23886 for alpha.
23887 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23888 native cc.
23889 * gdb.t00/teststrategy.exp: Change expect string so that we
23890 consume the `(xgdb)' from the command echo and from the gdb prompt.
23891 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23892 gdb currently compares all values as long, so this failure probably
23893 applies to any configuration where LONGEST is bigger than a target int.
23894 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23895 with gcc.
23896 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23897 to handle opaque pointers, gcc is.
23898 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23899 as first argument. Include <sys/types.h> and change all operator
23900 new definitions to use size_t.
23901 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23902 now that we use size_t.
23903
23904 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23905
23906 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23907 a long or float array cast all array members to the same type.
23908 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23909 with 64 bit longs.
23910 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23911 on alpha.
23912 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23913
23914 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23915
23916 * gdb.t24 (demangle.exp): Constructors of templates have names like
23917 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23918 section 14.6 of the ARM.
23919
23920 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23921 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23922 accomplish little and slow down the testsuite.
23923
23924 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23925 Accept spaces various places.
23926
23927 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23928
23929 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23930 with watchpoint enabled.
23931
23932 * Makefile.in: Remove definition of CC and remove the second
23933 definition of CXX (the "CXX = gcc" one remains). These definitions
23934 were causing backquotes to be expanded within backquotes, which
23935 doesn't work.
23936
23937 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23938
23939 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23940
23941 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23942
23943 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23944 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23945 by mips cc and contains no stabs entries.
23946
23947 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23948
23949 * config/vx-gdb.exp: Use fake device to load files rather than
23950 NFS.
23951 * lib/gdb.exp: New proc to do "file" command.
23952 * config/unix-gdb.exp: Use new "file" proc.
23953
23954 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23955
23956 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23957 Rework board rebooting slightly.
23958 (gdb_exit): Don't exit from the remote shell; there isn't one.
23959 * gdb.stabs/weird.exp: If a program is being debugged already,
23960 kill it.
23961 * gdb.t04/setvar.exp: Stop and restart gdb.
23962 * gdb.t05/expr.exp: Likewise.
23963 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23964 restart gdb and reload the program.
23965 * gdb.t08/opaque.exp: Likewise.
23966 * gdb.t12/scope.exp: Likewise.
23967 * gdb.t13/bitfields.exp: Likewise.
23968 * gdb.t15/funcargs.exp: Likewise.
23969 * gdb.t20/classes.exp: Likewise.
23970 * gdb.t03/ptype.exp: Increase timeout.
23971 * gdb.t16/printcmds.exp (test_print_string_constants,
23972 test_print_array_constants): Likewise.
23973 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23974 * gdb.t20/classes.exp (do_tests): Likewise.
23975 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23976
23977 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23978
23979 * gdb.stabs: Renamed *wierd* to *weird*.
23980
23981 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23982
23983 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23984 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23985
23986 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23987
23988 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23989 (do_tests): Remove xfail for whatis on one_var and two_var.
23990
23991 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23992
23993 * Makefile.in: Made cross building work better by adding
23994 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23995
23996 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23997
23998 * gdb.t15/{return.c,return.exp,Makefile.in}:
23999 New test, currently commented out.
24000
24001 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
24002
24003 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24004 still running and removes the leftover named socket so GDb can do
24005 clean restarts.
24006
24007 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
24008
24009 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24010 console, not GDB.
24011 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24012 cross testing works better with "make check"
24013 * config/unix-gdb: Use default procedures for exit and version.
24014 * config/vx-gdb.exp: Cleaned up and massaged back to working order
24015 with the newest VxWorks.
24016
24017 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24018
24019 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24020 old form.
24021
24022 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24023 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24024
24025 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24026
24027 * config/unix-gdb.exp: Remove this version of gdb_exit
24028 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24029 Rob says he'll look at it when he gets back to testing boards.
24030
24031 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
24032
24033 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
24034 an expected fail for certain ptype commands.
24035
24036 * gdb.t20/classes.exp: Update expected results of "ptype class
24037 Base1" to account for the constructor that now appears in the type.
24038
24039 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
24040
24041 * configure.in (configdirs): Restore gdb.t04, which mysteriously
24042 disappeared from list.
24043 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
24044 "alldone" proc with call to cleanup and exit.
24045 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
24046 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
24047 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
24048 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
24049 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
24050 "alldone" proc with simple returns that suppress remaining
24051 tests. The alldone proc went away many months ago.
24052
24053 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24054
24055 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
24056
24057 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
24058
24059 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24060
24061 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
24062 as vax gdb will display them.
24063
24064 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24065
24066 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
24067 optimizers.
24068
24069 * scope.exp: Change "bad value for localval" messages so each one
24070 is unique.
24071
24072 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
24073 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
24074
24075 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
24076
24077 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24078
24079 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
24080 doesn't exist (due to optimization).
24081
24082 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24083
24084 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
24085 contains \r because the filename is long.
24086
24087 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
24088 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
24089
24090 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24091
24092 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
24093 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
24094 Ultrix.
24095 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
24096 int tests.
24097 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
24098
24099 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
24100
24101 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
24102
24103 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
24104 to match does not match the passing case but still matches the
24105 failing case.
24106
24107 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24108
24109 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24110
24111 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
24112
24113 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
24114 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
24115 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
24116 Remove various versions of gdb_exit.
24117 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
24118 gdb_exit.
24119 * config/unix-gdb.exp: gdb_exit remains here, and should override
24120 the generic version, since it's doing a lot of wierd stuff that
24121 the other versions aren't. FIXME, fold it in, or abandon this
24122 version.
24123
24124 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24125
24126 * gdb.t24/demangle.exp: Add tests for PR 3220.
24127
24128 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24129
24130 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
24131
24132 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
24133
24134 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
24135 "i386-*-*". Works for i486 as well.
24136
24137 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
24138 bug, and expand domain of xfail to all SVR4 systems, since the
24139 actual problem is likely to be in generic SVR4 /proc support.
24140
24141 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24142
24143 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
24144
24145 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
24146
24147 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
24148 xfails for other systems. Match a missing 'Continuing.' as an
24149 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
24150
24151 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
24152 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
24153 Only issue warning for missing executables if -all option is used.
24154
24155 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
24156 file if -all option is used. It's like an unpredictable XFAIL.
24157
24158 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24159
24160 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
24161 for dynamically linked binaries.
24162
24163 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
24164
24165 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24166
24167 * gdb.t20/inherit.exp: Change message for "print tagless struct"
24168 to state that this is a known bug in old versions of g++.
24169
24170 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24171
24172 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
24173 while waiting for `Continuing'.
24174
24175 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
24176
24177 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
24178 in text, data, and bss.
24179 * gdb.t10/nodebug.c: Add local and global test variables for
24180 initialized and uninitialized data.
24181
24182 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24183
24184 * config/unix-gdb.exp (gdb_exit): Add "wait".
24185
24186 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24187
24188 * gdb.t06/signals.exp: xfail the continue from the handler for all
24189 targets.
24190
24191 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
24192 function with watchpoints enabled, the i386 call dummy starts with
24193 a call.
24194
24195 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
24196 386 bsd names its corefiles.
24197
24198 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
24199
24200 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
24201 compilers don't grok it.
24202 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
24203 with small octal ints rather than character constants, which
24204 are signed and might not fit if first promoted to int.
24205
24206 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
24207
24208 * gdb.t09/Makefile.in (clean): Remove corefile.
24209
24210 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24211
24212 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
24213
24214 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24215 and Jim Kingdon (kingdon@cygnus.com)
24216
24217 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
24218 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
24219 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
24220
24221 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24222
24223 * gdb.t17/interrupt.exp: Add xfail for hppa.
24224
24225 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24226
24227 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
24228 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
24229 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
24230 to determine signed-ness of bitfields and use the result to setup
24231 the xfail.
24232 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
24233 * gdb.t15/funcargs.exp: Use them to step until the second indirect
24234 call line is reached if necessary.
24235
24236 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24237
24238 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
24239
24240 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24241
24242 * gdb.t06/break.exp: Also test `clear' command.
24243
24244 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24245
24246 * gdb.t00/teststrategy.exp: Remove extra quote.
24247
24248 * gdb.t07/watchpoint.exp: Change xfail for calling function with
24249 watchpoint enabled to be for all non-68k machines.
24250
24251 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
24252
24253 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24254
24255 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
24256 targets use aout.mt instead of ecoff.mt as gas understands
24257 standard aout format.
24258
24259 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24260
24261 * lib/gdb.exp (runto): Don't insist that function we are running to
24262 was compiled with -g.
24263
24264 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
24265
24266 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
24267 to get back into the read system call.
24268 Accept leading newline in case where we woke it up.
24269
24270 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24271
24272 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
24273 to make the stabs test work on ecoff systems using gcc and -with-stabs.
24274 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
24275 enable ecoff configuration.
24276
24277 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24278
24279 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
24280
24281 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24282
24283 * gdb.t16/printcmds.exp: Add another printf test.
24284
24285 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
24286
24287 * configure.in: If configured -with-stabs on any target, add
24288 stabsdirs to configdirs.
24289
24290 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24291
24292 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24293 fun" so pattern does not match the command itself.
24294
24295 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24296
24297 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24298
24299 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24300
24301 * gdb.t17/interrupt.exp: Test for more things.
24302
24303 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24304
24305 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24306 compiler arranges the code and line numbers.
24307
24308 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24309
24310 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24311
24312 * gdb.t00/help.exp: Increase expect input buffer size.
24313
24314 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24315
24316 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24317
24318 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24319
24320 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24321
24322 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24323 [0-9]*, not just [0-9].
24324
24325 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24326
24327 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24328
24329 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24330
24331 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24332
24333 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24334
24335 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24336
24337 * gdb.t06/signals.c: Add xfails for sun3.
24338
24339 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24340
24341 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24342 test_stepping tests.
24343
24344 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24345
24346 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24347
24348 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24349
24350 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24351 rather than actually putting it through cpp twice.
24352
24353 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24354
24355 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24356
24357 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24358 no longer needed.
24359
24360 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24361
24362 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24363
24364 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24365 C++ features prints as "struct", make it a pass, not an xfail.
24366
24367 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24368
24369 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24370 Don't require VA to print as "class" rather than "struct".
24371
24372 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24373
24374 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24375
24376 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24377
24378 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24379
24380 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24381
24382 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24383 order.
24384
24385 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24386
24387 * gdb.t16/printcmds.exp: Add printf tests.
24388
24389 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24390
24391 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24392
24393 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24394
24395 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24396 pass counts, to counteract any existing or future setup_xfails.
24397
24398 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24399
24400 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24401 {BEGIN,END}_COMMON for common block instead of STAB.
24402 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24403
24404 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24405 intp_var should be N_GSYM not N_LSYM.
24406 wierd-aout.S: Use a label for the value of the N_SO.
24407 wierd.def: Remove all backslashes.
24408 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24409
24410 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24411
24412 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24413 get the expected next to inheritance3.
24414
24415 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24416
24417 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24418 now that gcc-2.4 gets it right.
24419
24420 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24421
24422 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24423
24424 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24425 generating comp-info.exp which works for cross-compilation.
24426
24427 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24428
24429 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24430 "*-*-sysv4.*".
24431
24432 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24433
24434 * gdb.t01/run.exp: Start with a fresh gdb.
24435 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24436 SVR4.x.
24437
24438 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24439
24440 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24441 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24442 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24443 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24444 things to remove.
24445
24446 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24447
24448 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24449 test cases from bug reports.
24450
24451 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24452
24453 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24454 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24455 avoid spurious xfails.
24456 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24457 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24458 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24459
24460 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24461
24462 * gdb.t00/teststrategy.exp: Rework to provide more useful
24463 description of each test, fix problem with systems that define
24464 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24465 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24466 results for "next over recursive call" so timeouts aren't taken
24467 by error.
24468
24469 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24470
24471 * gdb.t12/scope.exp: Test printing of variables before run.
24472
24473 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24474 printed in wrong order due to sorting.
24475
24476 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24477
24478 * gdb.t00/teststrategy.exp: Fix expected results for printing
24479 user entered string constant. Is array of char, prints with no
24480 address.
24481
24482 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24483 commands.
24484 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24485 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24486 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24487 of struct of char arrays.
24488 * gdb.t00/radix.exp: New tests for radix commands.
24489
24490 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24491
24492 * gdb.t16/printcmd.exp: Print a variable before running program
24493 (with xfail for AIX).
24494
24495 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24496
24497 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24498
24499 * gdb.t16/printcmd.exp: Don't print variables before running program.
24500
24501 * gdb.t06/break.exp: Don't require envp argument to main.
24502
24503 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24504
24505 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24506 Add xfails for rs6000.
24507
24508 * gdb.t02/whatis.exp: Change other tests not to re-test something
24509 we already tested.
24510
24511 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24512 each type used has a variable of that type.
24513
24514 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24515
24516 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24517
24518 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24519
24520 * configure.in: change srctrigger to be a file, not a directory
24521
24522 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24523
24524 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24525
24526 * gdb.t11/list.exp: Fixed a couple of typos.
24527
24528 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24529
24530 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24531 is fixed and PR is closed.
24532 * gdb.t16 (gdbme.c): Add simple test string variable.
24533 * gdb.t16 (printcmds.exp): Add tests with simple test string
24534 variable, primarily for boundaries on "set print elements".
24535
24536 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24537
24538 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24539 Make leading 0's optional and don't expect a tab in the middle
24540 of the number.
24541
24542 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24543
24544 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24545 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24546 don't end command passed to gdb_test with newline.
24547
24548 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24549 signed keyword away, don't expect signed bitfields to be signed.
24550
24551 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24552 printing with only as many 1's as are in the field as well as printing
24553 with 32 1's (see comment).
24554
24555 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24556
24557 * gdb.t00/default.exp: Start with a fresh gdb.
24558 * configure.in (configdirs): Remove gdb.t31 until the chill
24559 compiler works again. It no longer is able to find chillrt0
24560 since it isn't in libchill.a anymore.
24561 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24562 wierd.o, make more modular.
24563 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24564 spurious newlines that caused problems.
24565
24566 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24567
24568 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24569 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24570 gdb.stabs/wierd.{exp,def}: Many new tests.
24571
24572 * gdb.t00/default.exp: update info line for new message.
24573
24574 * gdb.t02/{whatis.exp,gdbme.c}:
24575 Test that "char *" doesn't print as "caddr_t".
24576
24577 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24578
24579 * gdb.t00/help.exp: Use .* in place of some help messages which
24580 just changed.
24581 gdb.t00/default.exp: Update "info frame" test for new message.
24582 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24583 Remove some xfails
24584
24585 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24586
24587 * gdb.t03/{gdbme.c,ptype.exp}:
24588 Add tests for typedef'd struct and union without tags.
24589 Also check "whatis" on a variable of a typedef'd enum without a tag.
24590
24591 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24592 PRMS 1823; the bug still exists but isn't reproduced by this test
24593 anymore), and remove rs6000 XFAIL (the bug is fixed).
24594
24595 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24596 duplicated from whatis.exp. For those that are left, accept
24597 "long", "long int", or "int" for long variables (whatis.exp already
24598 has an XFAIL for "int", so no need to fail it here).
24599
24600 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24601 Deal with GCC's names for types now that GDB uses the compiler's names.
24602
24603 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24604 setup_xfail's for sunos4. If we #defined the signed keyword away,
24605 don't expect GDB to know that char it is signed.
24606
24607 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24608
24609 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24610
24611 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24612 should work on any system, regardless of debugging format.
24613 * gdb.t21/demangle.exp: Move to gdb.t24.
24614 * gdb.t24/demangle.exp: Move from gdb.t21.
24615 * gdb.t24/{Makefile.in, configure.in}: New files.
24616
24617 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24618
24619 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24620 * gdb.stabs: New directory.
24621
24622 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24623
24624 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24625 not just "Quit anyway?".
24626
24627 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24628
24629 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24630 that all setup_xfails are immediately followed by clear_xfails.
24631
24632 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24633
24634 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24635 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24636 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24637 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24638 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24639 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24640 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24641 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24642 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24643 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24644 gdb.t31/chillvars.exp, lib/gdb.exp:
24645 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24646 bug-gdb@prep.ai.mit.edu.
24647
24648 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24649
24650 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24651 with 0.0, not integer 0.
24652
24653 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24654
24655 * gdb.t06/break.exp: Update for "Kill the program" message change.
24656
24657 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24658
24659 * Makefile.in (GDBFLAGS): Set to -nx.
24660 * Makefile.in (site.exp): Use GDBFLAGS.
24661
24662 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24663
24664 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24665 Makefiles.
24666 (check): depend on just-check.
24667 (just-check): added so that tests can be run without a noop
24668 build pass.
24669
24670 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24671
24672 Switch to using configure's configdirs.
24673 * Makefile.in (Makefile): add configure.in dependency.
24674 (SUBDIRS): removed redundant assignment.
24675 * configure.in: switch subdirs assignment to configdirs.
24676 * gdb.t*/configure.in: new files.
24677
24678 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24679
24680 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24681 works.
24682
24683 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24684
24685 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24686 in explicit rules. Apparently this is not supported by some makes.
24687
24688 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24689
24690 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24691
24692 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24693
24694 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24695 disappeared.
24696
24697 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24698
24699 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24700
24701 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24702
24703 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24704 watchpoint problem that is now fixed.
24705 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24706 uninitialized convenience variables.
24707 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24708 structures.
24709
24710 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24711
24712 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24713 which causes expect to get out of sync with gdb on long output
24714 from help set.
24715 * gdb.t09/corefile.exp: Make expected pattern for core file
24716 failing signal and frame output format less sun specific.
24717
24718 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24719
24720 * gdb.t31/chillvars.exp: Add and remove initial dummy
24721 breakpoint, so that symbol table is forced in.
24722 (Needed at least on Sunos4, though it seems not SVR4.)
24723 * gdb.t31/chillvars.exp: Update for changed output format.
24724
24725 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24726
24727 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
24728
24729 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24730
24731 * Makefile.in: Added --srcdir when invoking runtest, removed the
24732 need for a local config file. (optional now)
24733
24734 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24735
24736 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24737 failure count used to force early termination. Add some more
24738 expected failures for gnu style demangling.
24739
24740 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24741
24742 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24743 pmi variable from gdb.t20/gdbme to get optimized away.
24744 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24745 Check for written corefile upon timeout _and_ eof.
24746
24747 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24748
24749 * config/unix-gdb.exp: Add missing return 0.
24750
24751 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24752
24753 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24754 test termination.
24755
24756 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24757
24758 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24759 disappeared.
24760
24761 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24762
24763 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24764 time as i860 support works.
24765
24766 * gdb.t15/funcargs.exp: Fix expected outputs to include
24767 "backtrace 100\r" rather than just "backtrace\r", to match last
24768 change.
24769
24770 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24771
24772 * config/udi-gdb.exp (gdb_exit): Remove close command.
24773 (gdb_target_udi): New procedure to set the UDI target.
24774 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24775 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24776 Added waits for prompts after several question responses. Added
24777 some more responses used by a29k-amd-udi-gdb.
24778 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24779 pass different arguments, restart UDI connection after program
24780 completion.
24781 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24782 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24783 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24784 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24785 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24786 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24787 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24788 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24789 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24790 after program completion.
24791 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24792 compiled with a SELECT_VECS setting.
24793 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24794 infinite recursion.
24795
24796 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24797 Added checks for COFF results, and made them expected failures for
24798 all targets. It would be better to make them expected failures
24799 for COFF targets only.
24800
24801 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24802
24803 * Makefile.in: add null dvi target, don't bother to recurse
24804 through test directories for info and install-info; rename
24805 $(datadir) to be dejagnu instead of deja-gnu
24806
24807 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24808
24809 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24810 compiler to coredump.
24811 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24812 code.
24813
24814 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24815
24816 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24817 coredump.
24818 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24819 code.
24820
24821 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24822
24823 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24824 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24825 which in a shell. Deletes xgdb when done.
24826 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24827 Tests the return from the "set height" or "set width" commands.
24828 Added a few return codes where needed.
24829
24830 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24831
24832 * Makefile.in (SUBDIRS): Add gdb.t17.
24833 * configure.in (subdirs): Add gdb.t17.
24834 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24835 files to test gdb's calling of functions in the inferior with
24836 the correct arguments and gdb's ability to retrieve any
24837 result returned.
24838
24839 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24840
24841 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24842 may be called after gdb goes away. Previous versions of expect
24843 needed these to avoid file descriptor leaks, but they cause
24844 errors with the current revision of expect.
24845 * gdb.t00/gdbvars.exp: Use -re on expected output after
24846 setting sevenbit-strings.
24847 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24848 to set sevenbit-strings consistent across tests.
24849 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24850 set sevenbit-strings consistent across tests.
24851
24852 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24853
24854 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24855 expected output to match current "expect" expectations.
24856
24857 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24858
24859 * gdb.t00/default.exp: Change expected output for default "source"
24860 command, to match new gdb behavior which requires a filename to
24861 source.
24862
24863 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24864
24865 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24866 expected fail for i486-*-* that misses the marker2 function.
24867 * gdb.t10/crossload.exp (bfddefault): Allow successful
24868 recognition of a format to pass even if no symbols are found.
24869 Explicitly catch failures where the format is not recognized
24870 or is ambiguous, and add the reason to the fail message.
24871 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24872 the cause is and invalid target and add reason to failure message.
24873 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24874 elf32-i386, elf32-sparc, and elf32-i860.
24875 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24876 Set up expected failure for 'filename'::variable scope resolution,
24877 which is now apparently broken on all targets.
24878 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24879 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24880 gdb.t23/templates.exp: Change failure for missing binfile into
24881 just a warning.
24882 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24883 references.
24884
24885 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24886
24887 * gdb.t00/default.exp: Add expected output for default "source"
24888 command, to match new gdb behavior.
24889 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24890
24891 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24892
24893 * config/*-gdb.exp: returns an error, rather than exiting on
24894 internal errors.
24895
24896 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24897
24898 * gdb.t03/gdbme.c: Add pointer to struct variable.
24899 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24900 referencing struct members.
24901
24902 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24903
24904 * configure.in (mips-idt-ecoff): New target.
24905 * config/mips-gdb.exp: New file for remote board using MIPS remote
24906 debugging protocol.
24907
24908 * Redid configuration scheme. Removed gdb.t*/configure.in.
24909 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24910 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24911 distclean targets. Built executables via .o files. Adjusted
24912 tests to account for source files in $(srcdir) rather than
24913 $(objdir).
24914 * lib/gdb.exp (runto): Don't expect () after the function name,
24915 because it may have arguments.
24916
24917 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24918
24919 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24920 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24921 expected failures for mips-idt-* and mips-sgi-*.
24922 * gdb.t00/default.exp (attach): Kill process if requested.
24923 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24924 that does not read core files.
24925 * gdb.t01/run.exp: Removed checks for exit status code.
24926 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24927 it is linked in.
24928 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24929 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24930 appropriate, rather than doing it by hand.
24931 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24932 execution.
24933 * gdb.t10/crossload.exp: Kill existing program if needed.
24934 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24935 appropriate, rather than doing it by hand. Always increase
24936 timeout for this test, not just for VxWorks.
24937
24938 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24939
24940 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24941 of Chill STRUCT types and STRUCT values.
24942 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24943 than "char".
24944 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24945 struct2): New struct definitions and initializations to test
24946 simple Chill STRUCT types.
24947
24948 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24949
24950 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24951 the null byte at the end of strings.
24952 * gdb.t00/default.exp: Make show version insensitive to copyright
24953 date.
24954 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24955 to avoid dependencies on target char signedness.
24956 * gdb.t16/printcmds.exp: Update expected results for explicitly
24957 unsigned char.
24958 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24959 now work.
24960 * gdb.t21/demangle.exp: Add many more patterns for template
24961 demangling, most of them being expected failures.
24962 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24963 string we are matching for, to match on the whole string.
24964 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24965 and fix a whole bunch that had incorrect expected output but were
24966 passing anyway because of the bug in "proc demangle".
24967 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24968 type.
24969 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24970
24971 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24972
24973 * gdb/testsuite: made modifications to testcases, etc., to allow
24974 them to work properly given the reorganization of deja-gnu and the
24975 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24976
24977 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24978
24979 * gdb/testsuite: Initial creation of gdb/testsuite.
24980 Migrated dejagnu testcases and support files for testing nm to
24981 gdb/testsuite from deja-gnu. These files were moved "as is"
24982 with no modifications. This migration is part of a major overhaul
24983 of dejagnu. The modifications to these testcases, etc., which
24984 will allow them to work with the new version of dejagnu will be
24985 made in a future update.
24986
24987 For additional changes see gdb.mi/ChangeLog-1999-2003.
24988 \f
24989 ;; Local Variables:
24990 ;; mode: change-log
24991 ;; left-margin: 8
24992 ;; fill-column: 74
24993 ;; version-control: never
24994 ;; End:
24995
24996 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24997 2003, 2004, 2005 Free Software Foundation, Inc.
24998 Copying and distribution of this file, with or without modification,
24999 are permitted provided the copyright notice and this notice are preserved.
This page took 0.647685 seconds and 5 git commands to generate.