464bef5560ce81afd3f998ad6576865b15fd037c
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * dw2-ifort-parameter-debug.S: New file.
4 * dw2-ifort-parameter.c: New file.
5 * dw2-ifort-parameter.exp: New file.
6
7 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8
9 * gdb.base/commands.exp (error_clears_commands_left): New function.
10 (): Call it.
11
12 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13
14 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
15 (C): Initialize `a'.
16 * gdb.mi/mi-inheritance-syntax-error.exp
17 (-data-evaluate-expression $path): Expect `a' as 5.
18
19 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
20
21 PR mi/11912
22 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
23 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
24 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
25 keyword in output of -var-info-path-expression.
26
27 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
28
29 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
30 * gdb.trace/collection.exp: Likewise.
31 * gdb.trace/report.exp: Likewise.
32 * gdb.trace/unavailable.exp: Likewise.
33 * gdb.trace/while-dyn.exp: Likewise.
34
35 2011-08-18 Keith Seitz <keiths@redhat.com>
36
37 PR c++/12266
38 * gdb.cp/meth-typedefs.cc: New file.
39 * gdb.cp/meth-typedefs.exp: New file.
40
41 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
42
43 * gdb.python/python.exp: Add extended-prompt tests.
44
45 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
46
47 * gdb.arch/i386-dr3-watch.exp
48 (watchpoint on gap1 does not fit debug registers)
49 (delete all watchpoints): Fix racy expect strings.
50
51 2011-08-14 Yao Qi <yao@codesourcery.com>
52
53 * gdb.base/maint.exp: set data_section to ".neardata".
54 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
55 * gdb.base/savedregs.exp: Handle SIGILL.
56 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
57 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
58
59 2011-08-12 Doug Evans <dje@google.com>
60
61 * gdb.python/py-symbol.exp: Add test for symbol.type.
62
63 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
64
65 * gdb.threads/pthreads.exp: Enable on non-native configurations.
66 * gdb.mi/mi-pthreads.exp: Likewise.
67 * gdb.mi/mi2-pthreads.exp: Likewise.
68 * gdb.mi/gdb669.exp.exp: Likewise.
69
70 2011-08-09 Pedro Alves <pedro@codesourcery.com>
71
72 * lib/mi-support.exp (detect_async): Rename to...
73 (mi_detect_async): ... this.
74 * gdb.mi/mi-nonstop-exit.exp: Adjust.
75 * gdb.mi/mi-nonstop.exp: Adjust.
76 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
77 * gdb.mi/mi-nsintrall.exp: Adjust.
78 * gdb.mi/mi-nsmoribund.exp: Adjust.
79 * gdb.mi/mi-nsthrexec.exp: Adjust.
80
81 2011-08-09 Pedro Alves <pedro@codesourcery.com>
82
83 * gdb.base/display.c (do_loops): New `p_i' local.
84 * gdb.base/display.exp: Test displaying a variable that is
85 temporarily at a bad address.
86
87 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
88
89 * gdb.dwarf2/dw2-op-stack-value.S: New file.
90 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
91
92 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
93
94 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
95 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
96 (p fuNC_symtab): Permit also ppc64 leading dot.
97
98 2011-08-05 Pedro Alves <pedro@codesourcery.com>
99
100 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
101 procedure.
102 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
103
104 2011-08-05 Yao Qi <yao@codesourcery.com>
105
106 * gdb.base/callfuncs.exp: Set language after main.
107 * gdb.cp/cplusfuncs.exp: Likewise.
108 * gdb.cp/inherit.exp: Likewise.
109
110 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
111
112 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
113 * gdb.base/watch-vfork.exp: Skip on remote targets.
114
115 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
116
117 * gdb.threads/thread-find.exp: Support remote targets.
118
119 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
120
121 * gdb.base/jit.exp: Download solib_binfile to target.
122 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
123 and call dlopen without full path name.
124 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
125 dlopen without full path name.
126
127 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
128
129 * gdb.base/break-always.exp: Complete the test
130 with duplicated breakpoints and enabling/disabling them.
131
132 2011-08-02 Tom Tromey <tromey@redhat.com>
133
134 PR gdb/11289:
135 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
136
137 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
138
139 PR gdb/13045
140 * gdb.base/float.exp: Add new test case for PR gdb/13045
141 * gdb.base/float.c: New file.
142
143 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
144
145 * gdb.python/py-mi.exp: Test printers returning string hint, and
146 also not returning a value.
147 * gdb.python/py-prettyprint.c: Add testcase for above.
148 * gdb.python/py-prettyprint.py: Add test printer for above.
149
150 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
151
152 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
153 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
154 (.Ldie30) Add as field "data4".
155 (.Ldie32) Rename field "b" to "shl".
156 (abbrev4) Change for the "data4" field.
157 (abbrev5, abbrev6) Remove.
158 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
159 (p &s.shl): ... here. Add comment.
160 (p &s.data4): New.
161
162 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
163
164 Fix crash on lval_computed values.
165 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
166
167 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
168
169 * gdb.base/help.exp (help whatis): Update the expected string.
170
171 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
172
173 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
174 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
175 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
176 Change the expected string.
177
178 2011-07-26 Pedro Alves <pedro@codesourcery.com>
179
180 * gdb.base/watchpoint.exp
181 (test_disable_enable_software_watchpoint): New procedure.
182 (top level): Run it.
183
184 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
185
186 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
187 executable file "${binfile}", C++ version "${binfile}-cxx".
188 * gdb.python/py-prettyprint.exp: Likewise.
189 * gdb.python/py-symbol.exp: Likewise.
190 * gdb.python/py-type.exp: Likewise.
191 * gdb.python/py-value.exp: Likewise.
192 * gdb.python/py-template.exp (test_template_arg): Pass full executable
193 file name instead of just suffix.
194
195 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
196
197 Fix implicit pointer offsets.
198 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
199 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
200 (continue to breakpoint: continue to baz breakpoint for implptr)
201 (sanity check element 0, sanity check element 1)
202 (enter the inlined function, check element 0 for the offset)
203 (check element 1 for the offset)
204 (continue to breakpoint: ignore the second baz breakpoint): New tests.
205 (set foo breakpoint for implptr): Update the breakpoint number.
206
207 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
208
209 * gdb.python/py-mi.exp: Use different file names for different
210 versions of the executable under test.
211 * gdb.python/py-prettyprint.exp: Likewise.
212 * gdb.python/py-symbol.exp: Likewise.
213 * gdb.python/py-template.exp: Likewise.
214 * gdb.python/py-type.exp: Likewise.
215 * gdb.python/py-value.exp: Likewise.
216
217 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
218
219 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
220 flag after restarting GDB if necessary.
221
222 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
223
224 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
225
226 2011-07-22 Pedro Alves <pedro@codesourcery.com>
227
228 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
229 backend doesn't leave used debug registers behind.
230
231 2011-07-22 Tom Tromey <tromey@redhat.com>
232
233 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
234 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
235 argument.
236 * gdb.dwarf2/typeddwarf-amd64.S: New file.
237
238 2011-07-21 Matt Rice <ratmice@gmail.com>
239
240 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
241 in mostlyclean rule. Add files ending in .core.
242
243 2011-07-21 Matt Rice <ratmice@gmail.com>
244
245 PR macros/12999
246 * gdb.base/info-macros.c: New test sources.
247 * gdb.base/info-macros.exp: New tests.
248
249 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
250
251 * gdb.python/python.exp: Add prompt substitution tests.
252
253 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
254
255 Fix crash if referenced CU is aged out.
256 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
257 New.
258 * gdb.dwarf2/implptr.exp: Likewise.
259
260 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
261
262 * gdb.dwarf2/implptr.S: Rebuilt.
263 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
264 (bar): Use them for j, k, l.
265 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
266 COMPILE.
267 (print j in implptr:bar): Update for the intp typedef.
268 (print p[0].x in implptr:foo): Use more exact regex.
269
270 2011-07-18 Tom Tromey <tromey@redhat.com>
271
272 * gdb.cp/static-method.exp: Add missing single quote.
273
274 2011-07-18 Yao Qi <yao@codesourcery.com>
275
276 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
277 supported.
278 * gdb.mi/mi-nonstop-exit.exp: Likewise.
279 * gdb.mi/mi-nonstop.exp: Likewise.
280 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
281 * gdb.mi/mi-nsintrall.exp: Likewise.
282 * gdb.mi/mi-nsmoribund.exp: Likewise.
283 * gdb.mi/mi-nsthrexec.exp: Likewise.
284 * gdb.python/py-evthreads.exp: Likewise.
285
286 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
287
288 Code cleanup.
289 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
290 it. Substitute it instead of test_compiler_info everywhere.
291
292 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
293
294 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
295 remote targets as well.
296
297 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
298
299 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
300 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
301
302 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
303
304 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
305 a remote machine, not the host.
306 (gdb_compile_shlib): Set soname if target is remote.
307
308 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
309
310 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
311
312 2011-07-13 Matt Rice <ratmice@gmail.com>
313
314 * gdb.python/py-objfile-script-gdb.py: Renamed to
315 py-objfile-script-gdb.py.in.
316 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
317 py-objfile-script-gdb.py.
318 * gdb.python/py-objfile-script.exp: Update reference to
319 py-objfile-script-gdb.py.
320
321 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
322
323 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
324 reference undefined label.
325
326 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
327
328 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
329 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
330 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
331 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
332
333 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
334
335 PR python/12438
336 * gdb.python/python.exp: Add maint set/show python print-stack
337 deprecated tests. Add set/show python print-backtrace tests.
338
339 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
340
341 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
342 debug info.
343
344 2011-07-06 Matt Rice <ratmice@gmail.com>
345
346 * gdb.python/python.exp: Update filename paths.
347 * gdb.python/py-symtab.exp: Ditto.
348
349 2011-07-06 Marek Polacek <mpolacek@redhat.com>
350
351 * gdb.python/py-evthreads.exp: Add missing `$'.
352
353 2011-07-06 Jie Zhang <jie.zhang@analog.com>
354
355 * config/bfin.exp: New file.
356 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
357 * gdb.asm/bfin.inc: New file.
358
359 2011-07-06 Marek Polacek <mpolacek@redhat.com>
360
361 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
362 the whole output.
363
364 2011-07-05 Tom Tromey <tromey@redhat.com>
365
366 * gdb.java/jprint.java (jprint.hi): New field.
367 * gdb.java/jprint.exp: Print string.
368
369 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
370
371 * gdb.base/call-sc.c: Fix typos.
372 * gdb.base/ifelse.exp: Likewise.
373 * gdb.base/structs.c: Likewise.
374
375 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
376
377 * gdb.base/jit-so.exp: New test.
378 * gdb.base/jit-dlmain.c: New file.
379 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
380
381 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
382
383 * gdb.cp/m-static.exp: Call get_compiler_info.
384 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
385 * gdb.cp/pr9167.exp (p b): Likewise.
386 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
387 (test value of P in inner_m, test type of Z in inner_m): Call
388 setup_xfail for gcc <= 4.5.
389
390 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
391
392 * gdb.cp/paren-type.cc: New files.
393 * gdb.cp/paren-type.exp: New files.
394
395 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
396
397 Stop on first linespec terminator instead of eating what we can.
398 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
399 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
400 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
401 (break C::f()): ... this one.
402 (break C::operator()()): New test.
403 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
404 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
405 test.
406
407 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
408
409 Fall back linespec to minimal symbols.
410 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
411 error message.
412 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
413 * gdb.cp/minsym-fallback-main.cc: New file.
414 * gdb.cp/minsym-fallback.cc: New file.
415 * gdb.cp/minsym-fallback.exp: New file.
416 * gdb.cp/minsym-fallback.h: New file.
417
418 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
419
420 * gdb.cp/no-dmgl-verbose.cc: New file.
421 * gdb.cp/no-dmgl-verbose.exp: New file.
422
423 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
424
425 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
426 __GI_.
427 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
428 (f): New function.
429 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
430 (complete p 'func<short>(): ... here.
431 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
432 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
433 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
434 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
435 Make them KFAIL gcc/49546.
436
437 2011-07-01 Joel Brobecker <brobecker@adacore.com>
438
439 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
440
441 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
442
443 Test GCC PR debug/49546.
444 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
445 (test type of F in k3_m, test value of F in k3_m): New.
446 * gdb.cp/temargs.cc (struct S3, struct K3): New.
447 (main): New variable k3. Call k3.k3_m.
448
449 2011-07-01 Jean-Charles Delay <delay@adacore.com>
450
451 * gdb.ada/packed_array.exp: Fix expected outout.
452
453 2011-07-01 Jean-Charles Delay <delay@adacore.com>
454
455 * gdb.ada/packed_array.exp: fixed expected output.
456
457 2011-07-01 Joel Brobecker <brobecker@adacore.com>
458
459 * gdb.ada/same_enum: New testcase.
460
461 2011-07-01 Joel Brobecker <brobecker@adacore.com>
462
463 * gdb.ada/ptr_typedef: New testcase.
464
465 2011-07-01 Joel Brobecker <brobecker@adacore.com>
466
467 * gdb.ada/arrayptr.exp: Add ptype test.
468
469 2011-07-01 Joel Brobecker <brobecker@adacore.com>
470
471 * gdb.ada/char_enum: New testcase.
472
473 2011-07-01 Yao Qi <yao@codesourcery.com>
474
475 * gdb.base/dump.exp (capture_pointer_with_type): New.
476 Get value from address instead of name.
477 Start GDB once, and do `dump' and `restore'
478 tests together.
479
480 2011-06-30 Jie Zhang <jie.zhang@analog.com>
481 Mike Frysinger <vapier@gentoo.org>
482
483 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
484 helper functions for getting/setting remotetimeout variable.
485 * lib/gdb.exp (gdb_load): If the target is remote, set
486 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
487 with $loadtimeout. Set $load_ok to 0 before doing the load.
488 Instead of returning, immediately, set $load_ok to 0. Call
489 set_remotetimeout with $oldremotetimeout, and then return if
490 $load_ok is 1.
491
492 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
493
494 * gdb.python/py-template.exp: Don't run this test if the target
495 does not support c++ tests.
496
497 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
498
499 Fix non-only rename list for Fortran modules import.
500 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
501 tests.
502 * gdb.fortran/module.f90 (module moduse): New.
503 (program module): use moduse, test var_x, var_y and var_z.
504
505 2011-06-29 Tom Tromey <tromey@redhat.com>
506
507 PR testsuite/12040:
508 * gdb.fortran/array-element.exp: Use f90, not f77.
509 * gdb.fortran/complex.exp: Use f90, not f77.
510 * gdb.fortran/derived-type.exp: Use f90, not f77.
511 * gdb.fortran/library-module.exp: Use f90, not f77.
512 * gdb.fortran/logical.exp: Use f90, not f77.
513 * gdb.fortran/module.exp: Use f90, not f77.
514 * gdb.fortran/multi-dim.exp: Use f90, not f77.
515 * gdb.fortran/subarray.exp: Use f90, not f77.
516
517 2011-06-29 Tom Tromey <tromey@redhat.com>
518
519 * gdb.fortran/charset.exp: New file.
520 * gdb.fortran/charset.f90: New file.
521
522 2011-06-29 Tom Tromey <tromey@redhat.com>
523
524 PR testsuite/12040:
525 * lib/future.exp: New file, mostly extracted from ada.exp.
526 Rewrote compatibility code to use rename.
527 (gdb_find_gfortran): New proc.
528 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
529 gfortran patch.
530 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
531 Move to future.exp.
532 * lib/gdb.exp: Always load future.exp.
533
534 2011-06-28 Yao Qi <yao@codesourcery.com>
535
536 * gdb.cp/exception.cc: Don't include iostream.
537 (bar): Remove print statement.
538 (catcher): New.
539 (main): Remove print statements. Call function catcher.
540 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
541 Set breakpoint on catcher, and check the value of parameter.
542
543 2011-06-23 Yao Qi <yao@codesourcery.com>
544
545 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
546 1.2 is disabled. KFAIL for uclinux.
547
548 2011-06-23 Marek Polacek <mpolacek@redhat.com>
549
550 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
551 mi_gdb_test.
552
553 2011-06-23 Marek Polacek <mpolacek@redhat.com>
554
555 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
556
557 2011-06-23 Marek Polacek <mpolacek@redhat.com>
558
559 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
560
561 2011-06-23 Marek Polacek <mpolacek@redhat.com>
562
563 * gdb.mi/mi2-basics.exp: Fix races. Honour the
564 `test_exec_and_symbol_mi_operatons' return value.
565 (test_mi_interpreter_selection): Use mi_gdb_test instead of
566 gdb_test_multiple.
567 (test_exec_and_symbol_mi_operatons): Likewise.
568 (test_path_specification): Likewise.
569
570 2011-06-23 Yao Qi <yao@codesourcery.com>
571
572 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
573 supported.
574 * lib/gdb.exp (support_displaced_stepping): New.
575
576 2011-06-23 Yao Qi <yao@codesourcery.com>
577
578 * gdb.threads/execl.exp: Skip on remote target.
579
580 2011-06-21 Marek Polacek <mpolacek@redhat.com>
581
582 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
583 mi_gdb_test.
584
585 2011-06-20 Marek Polacek <mpolacek@redhat.com>
586
587 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
588
589 2011-06-20 Marek Polacek <mpolacek@redhat.com>
590
591 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
592 mi_gdb_test.
593
594 2011-06-20 Marek Polacek <mpolacek@redhat.com>
595
596 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
597
598 2011-06-14 Yao Qi <yao@codesourcery.com>
599
600 gdb/testsuite/
601 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
602
603 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
604
605 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
606
607 2011-06-10 Tom Tromey <tromey@redhat.com>
608
609 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
610 Add tests for pointer-to-member-function.
611 * gdb.cp/temargs.cc (S::somefunc): New function.
612 (K2): New class.
613 (main): Instantiate K2; call method.
614
615 2011-06-08 Joel Brobecker <brobecker@adacore.com>
616
617 * gdb.python/py-inferior.c (f2): Make str an array rather
618 than a pointer.
619 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
620
621 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
622
623 * gdb.base/async-shell.c: New file.
624 * gdb.base/async-shell.exp: New file.
625
626 2011-06-06 Pedro Alves <pedro@codesourcery.com>
627
628 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
629
630 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
631
632 From Stephen Kitt <steve@sk2.org>
633 * gdb.base/help.exp: Adjust following some spelling corrections
634 in GDB.
635
636 2011-06-01 Yao Qi <yao@codesourcery.com>
637
638 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
639
640 2010-05-31 Keith Seitz <keiths@redhat.com>
641
642 PR c++/12750
643 * gdb.cp/static-method.cc: New file.
644 * gdb.cp/static-method.exp: New file.
645
646 2010-05-31 Keith Seitz <keiths@redhat.com>
647
648 PR symtab/12704
649 * gdb.cp/anon-ns.cc: New file.
650 * gdb.cp/anon-ns.exp: New file.
651
652 2011-05-31 Pedro Alves <pedro@codesourcery.com>
653
654 * gdb.arch/i386-dr3-watch.c: New file.
655 * gdb.arch/i386-dr3-watch.exp: New file.
656
657 2011-05-30 Yao Qi <yao@codesourcery.com>
658
659 * gdb.base/callfuncs.c (t_structs_fc): New.
660 (t_structs_dc, t_structs_ldc): New.
661 (t_double_many_args):
662 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
663 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
664 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
665 * gdb.base/callfuncs.exp: Call new functions.
666
667 2011-05-30 Yao Qi <yao@codesourcery.com>
668
669 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
670 Call rerun_and_prepare for each test to isolate effects.
671
672 2011-05-30 Yao Qi <yao@codesourcery.com>
673
674 * gdb.base/varargs.c (find_max_float_real): New.
675 (find_max_double_real, find_max_long_double_real): New.
676 * gdb.base/varargs.exp: Call these new added functions.
677 * lib/gdb.exp (setup_kfail_for_target): New.
678
679 2011-05-30 Yao Qi <yao@codesourcery.com>
680
681 * gdb.base/funcargs.c (callca, callcb, callcc): New.
682 (callcd, callce, callcf, callc1a, callc1b): New.
683 (callc2a, callc2b): New.
684 * gdb.base/funcargs.exp (complex_args): New.
685 (complex_integral_args, complex_float_integral_args): New.
686 * lib/gdb.exp (support_complex_tests): New. Determine
687 whether to run test cases on _Complex types.
688
689 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
690
691 * gdb.threads/leader-exit.c: New file.
692 * gdb.threads/leader-exit.exp: New file.
693
694 2011-05-27 Marek Polacek <mpolacek@redhat.com>
695
696 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
697
698 2011-05-27 Marek Polacek <mpolacek@redhat.com>
699
700 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
701 remove the `supported' variable.
702 * gdb.mi/mi-nonstop.exp: Likewise.
703 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
704 * gdb.mi/mi-nsintrall.exp: Likewise.
705 * gdb.mi/mi-nsmoribund.exp: Likewise.
706 * gdb.mi/mi-nsthrexec.exp: Likewise.
707
708 2011-05-26 Pedro Alves <pedro@codesourcery.com>
709
710 * gdb.reverse/finish-reverse-bkpt.exp: New test.
711
712 2011-05-26 Pedro Alves <pedro@codesourcery.com>
713
714 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
715
716 2011-05-24 Keith Seitz <keiths@redhat.com>
717
718 PR breakpoint/12803
719 * gdb.cp/cmpd-minsyms.cc (a): New method.
720 (b): New method.
721 (c): New method.
722 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
723
724 2011-05-24 Pedro Alves <pedro@codesourcery.com>
725
726 * gdb.base/commands.exp (watchpoint_command_test): Check that the
727 watchpoint's command list didn't execute when the watchpoint went
728 out of scope.
729
730 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
731
732 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
733 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
734 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
735 * gdb.arch/i386-gnu-cfi.exp: Likewise.
736 * gdb.arch/i386-permbkpt.exp: Likewise.
737 * gdb.arch/i386-prologue.exp: Likewise.
738 * gdb.arch/i386-size-overlap.exp: Likewise.
739 * gdb.arch/i386-size.exp: Likewise.
740 * gdb.arch/i386-unwind.exp: Likewise.
741 * gdb.reverse/i386-precsave.exp: Likewise.
742 * gdb.reverse/i386-reverse.exp: Likewise.
743 * gdb.reverse/i386-sse-reverse.exp: Likewise.
744 * gdb.reverse/i387-env-reverse.exp: Likewise.
745 * gdb.reverse/i387-stack-reverse.exp: Likewise.
746
747 2011-05-24 Pedro Alves <pedro@codesourcery.com>
748
749 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
750 file doesn't error, using MI.
751
752 2011-05-23 Tom Tromey <tromey@redhat.com>
753
754 * gdb.base/charset.exp (string_display): Add tests to assign to
755 arrays.
756 * gdb.base/charset.c (short_array, int_array, long_array): New.
757
758 2011-05-20 Pedro Alves <pedro@codesourcery.com>
759
760 Cope with async mode.
761
762 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
763 into gdb_test + mi_expect_stop.
764
765 2011-05-20 Pedro Alves <pedro@codesourcery.com>
766
767 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
768 (callme): Remove printf call.
769
770 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
771
772 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
773 quote pattern to avoid problems with Cygwin/mingw expect versions.
774 * gdb.base/default.exp (show convenience): Use double
775 quote pattern for regular expressions.
776
777 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
778
779 Fix -readnow for -gdwarf-4 unused type units.
780 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
781 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
782
783 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
784
785 * gdb.base/kill-after-signal.c: New file.
786 * gdb.base/kill-after-signal.exp: New file.
787
788 2011-05-16 Pedro Alves <pedro@codesourcery.com>
789
790 * gdb.ada/start.exp: Call untested with the correct test filename.
791 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
792 test filename. Make the test's binary unique.
793 * gdb.arch/i386-signal.exp: Call untested with the correct test
794 filename.
795 * gdb.arch/i386-size-overlap.exp: Ditto.
796 * gdb.arch/Makefile.in (EXECUTABLES): Update.
797 * gdb.base/gcore-buffer-overflow.exp: Ditto.
798 * gdb.cp/call-c.exp: Ditto.
799 * gdb.mi/mi-reverse.exp: Call untested with the correct test
800 filename. Make the test's binary unique.
801 * gdb.mi/Makefile.in (EXECUTABLES): Update.
802 * gdb.python/py-mi.exp: Ditto.
803 * gdb.python/Makefile.in (EXECUTABLES): Update.
804 * gdb.reverse/i386-precsave.exp: Ditto.
805 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
806 test filename.
807 * gdb.reverse/i387-stack-reverse.exp: Ditto.
808 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
809 unique.
810 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
811 test filename.
812 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
813 * gdb.trace/tfile.exp: Ditto.
814
815 2011-05-14 Yao Qi <yao@codesourcery.com>
816
817 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
818 type.
819
820 2011-05-13 Doug Evans <dje@google.com>
821
822 * gdb.python/py-objfile-script.exp: New file.
823 * gdb.python/py-objfile-script.c: New file.
824 * gdb.python/py-objfile-script-gdb.py: New file.
825 * testsuite/gdb.python/py-section-script.exp: Test
826 "info auto-load-scripts".
827
828 2011-05-13 Tom Tromey <tromey@redhat.com>
829
830 * gdb.dwarf2/clztest.exp: New file.
831 * gdb.dwarf2/clztest.c: New file.
832 * gdb.dwarf2/clztest.S: New file.
833
834 2011-05-13 Doug Evans <dje@google.com>
835
836 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
837 String16 tests.
838
839 2011-05-13 Tom Tromey <tromey@redhat.com>
840
841 * lib/gdb.exp (is_x86_like_target): New proc.
842 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
843 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
844 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
845 -nostdlib to compiler.
846 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
847 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
848 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
849 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
850 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
851
852 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
853
854 * gdb.python/py-function.exp: Test setting a value from a function
855 which executes a command.
856
857 2011-05-12 Tom Tromey <tromey@redhat.com>
858
859 * gdb.dwarf2/typeddwarf.S: New file.
860 * gdb.dwarf2/typeddwarf.c: New file.
861 * gdb.dwarf2/typeddwarf.exp: New file.
862
863 2011-05-12 Marek Polacek <mpolacek@redhat.com>
864
865 * gdb.mi/mi-basics.exp: Fix races. Honour the
866 `test_exec_and_symbol_mi_operatons' return value.
867 (test_mi_interpreter_selection): Use mi_gdb_test instead of
868 gdb_test_multiple.
869 (test_exec_and_symbol_mi_operatons): Likewise.
870 (test_path_specification): Likewise.
871
872 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
873
874 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
875 (gdb_touch_execfile): Remove catch wrappers. New variable time.
876 Replace `file copy' and `file rename' by `file mtime'. Twice.
877
878 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
879
880 * gdb.base/readline-ask.c: New file.
881 * gdb.base/readline-ask.exp: New file.
882 * gdb.base/readline-ask.inputrc: New file.
883
884 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
885
886 * gdb.cell/bt.exp: Delete breakpoints before running to signal
887 to avoid race condition.
888 * gdb.cell/coremaker.c: Use small stack size.
889 * gdb.cell/ea-standalone.exp: Use file name without path as
890 argument to c_to.
891 * gdb.cell/fork.exp: Allow other output when continuing to end.
892
893 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
894
895 * gdb.threads/corethreads.c: New file.
896 * gdb.threads/corethreads.exp: New file.
897
898 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
899
900 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
901 Try to compile the test using -Wl,-z,norelro first.
902 (load_core): New variable libthread_db_seen, initialize it.
903 (zeroed-threads cannot be listed): Protect it by XFAIL on
904 !$libthread_db_seen.
905
906 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
907
908 PR 12573
909 * gdb.dwarf2/dw2-skip-prologue.S: New file.
910 * gdb.dwarf2/dw2-skip-prologue.c: New file.
911 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
912
913 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
914
915 * gdb.cp/psymtab-parameter.cc: New file.
916 * gdb.cp/psymtab-parameter.exp: New file.
917
918 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
919
920 Fix a race.
921 * gdb.cp/static-print-quit.exp (print c): Split to ...
922 (print c - <return>, print c - q <return>, print c - to quit):
923 ... these. Make the testfile untested on gdb-7.1.
924
925 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
926
927 * lib/gdb.exp (exec_target_file, exec_symbol_file,
928 gdb_rename_execfile, gdb_touch_execfile): New.
929 * gdb.base/reread.exp: Use new procs to handle multiple
930 exec files.
931
932 2011-05-05 Yao Qi <yao@codesourcery.com>
933
934 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
935 (test_adr_32bit, test_pop_pc): New.
936 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
937 (test_adr_32bit, test_pop_pc): New.
938
939 2011-05-04 Joseph Myers <joseph@codesourcery.com>
940
941 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
942 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
943 targets.
944 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
945 handle targets.
946
947 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
948
949 * gdb.base/completion.exp (complete help info wat): Rename to ...
950 (complete 'help info wat'): ... here.
951 Remove all `-re ".*' and `-re "^.*' redundant regexes.
952 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
953
954 2011-05-04 Pedro Alves <pedro@codesourcery.com>
955
956 * gdb.base/completion.exp: Use gdb_test_multiple instead of
957 gdb_test and explicit $gdb_prompt/timeout matches.
958
959 2011-05-04 Yao Qi <yao@codesourcery.com>
960
961 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
962 and __thumb2__.
963
964 2011-05-03 Marek Polacek <mpolacek@redhat.com>
965
966 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
967 in place of `gdb_test "delete breakpoints"'. This eliminates two
968 testcases.
969
970 2011-05-02 Pedro Alves <pedro@codesourcery.com>
971
972 PR testsuite/12649
973 Fix races.
974
975 * gdb.base/completion.exp: Remove all sleep calls. Remove
976 unnecessary regexs. Don't explicitly expect anything after the
977 prompt. Eat the prompt if necessary.
978
979 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
980
981 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
982 accept to show the caller line again as well as the line after.
983
984 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
985
986 PR mi/12531
987
988 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
989 compile target.
990 * gdb.python/py-prettyprint.exp: Add C++ object for
991 CPLUS_FAKE_CHILD test.
992
993 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
994
995 * gdb.base/signest.exp: New file.
996 * gdb.base/signest.c: Likewise.
997
998 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
999
1000 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
1001 thread and breakpoint notifications.
1002
1003 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1004
1005 * gdb.base/fortran-sym-case.c: New file.
1006 * gdb.base/fortran-sym-case.exp: New file.
1007 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
1008 * gdb.dwarf2/dw2-case-insensitive.c: New file.
1009 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
1010
1011 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1012
1013 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
1014 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
1015 false #1', `if true else false #2' and `if true else false #3'.
1016
1017 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
1018
1019 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
1020 while delivering signal.
1021
1022 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
1023
1024 MI breakpoint notifications.
1025
1026 * testsuite/gdb.mi/mi-cli.exp: Adust.
1027 * testsuite/gdb.mi/mi2-cli.exp: Adust.
1028 * testsuite/gdb.mi/mi-watch.exp: Adust.
1029 * testsuite/gdb.mi/mi2-watch.exp: Adust.
1030 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
1031 notifications.
1032
1033 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1034
1035 * gdb.base/gdbindex-stabs-dwarf.c: New file.
1036 * gdb.base/gdbindex-stabs.c: New file.
1037 * gdb.base/gdbindex-stabs.exp: New file.
1038
1039 2011-04-25 Yao Qi <yao@codesourcery.com>
1040
1041 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
1042 with /*...*/.
1043 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1044
1045 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1046
1047 * gdb.python/py-value.exp (test_objfiles): Name the first test
1048 `py-value in file.filename'.
1049
1050 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1051
1052 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1053 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1054 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1055 !gdbserver_reconnect_p..
1056 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1057
1058 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1059
1060 * gdb.cp/cpcompletion.exp (complete class methods)
1061 (complete class methods beginning with F): Move them above runto. New
1062 comment about the runto delimiter.
1063
1064 2011-04-20 Pedro Alves <pedro@codesourcery.com>
1065
1066 * gdb.base/maint.exp: Test that "maint print registers" works
1067 without a running program.
1068
1069 2011-04-20 Marek Polacek <mpolacek@redhat.com>
1070
1071 * gdb.base/setshow.exp: Fix racy tests.
1072 ($old_gdb_prompt): New variable.
1073
1074 2011-04-19 Tom Tromey <tromey@redhat.com>
1075
1076 * gdb.mi/mi-nsmoribund.exp:
1077 * gdb.hp/gdb.objdbg/objdbg01.exp:
1078 * gdb.base/structs.exp (test_struct_returns):
1079 * gdb.base/call-sc.exp (test_scalar_returns):
1080 * gdb.base/bigcore.exp: Remove duplicate words.
1081
1082 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1083
1084 * gdb.base/break-interp-lib.c (v, vptr): New variables.
1085 * gdb.base/break-interp.exp (test_attach): New comment.
1086
1087 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1088
1089 * gdb.threads/gcore-thread.exp ($core0file): New variable.
1090 (clear __stack_user.next, clear stack_used.next)
1091 (save a zeroed-threads corefile): New test.
1092 Call core_load for $core0file.
1093 (zeroed-threads cannot be listed): New test.
1094
1095 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1096
1097 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
1098 filename.
1099 ($srcfile): Preserve the original value.
1100 ($testfile): Match it the .exp filename.
1101 ($corefile): New variable. Substitute it around.
1102 Use clean_restart.
1103 ($prev_timeout): Remove.
1104 (load_core): Move core loading into this proc.
1105 Fix restore of $timeout if load_core fails.
1106
1107 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1108
1109 * gdb.base/eu-strip-infcall.c: New file.
1110 * gdb.base/eu-strip-infcall.exp: New file.
1111
1112 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1113
1114 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
1115 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
1116
1117 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1118
1119 Fix Python access to inlined frames.
1120 * gdb.python/py-frame-inline.c: New file.
1121 * gdb.python/py-frame-inline.exp: New file.
1122
1123 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
1124
1125 * gdb.base/gdb1090.exp: Change breakpoint location to read the
1126 content of 's24' correctly (avoiding "optimized out").
1127 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
1128
1129 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1130
1131 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
1132
1133 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1134
1135 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
1136 expect a colon in watch -location output.
1137
1138 2011-04-13 Marek Polacek <mpolacek@redhat.com>
1139
1140 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
1141 New testcase `expect response to define backtrace'. Also remove
1142 redundant `default' block.
1143
1144 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1145
1146 * gdb.python/py-prettyprint.c (struct hint_error): New.
1147 (main): New variable hint_error.
1148 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
1149 "print hint_error".
1150 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
1151 (register_pretty_printers): Register it.
1152
1153 2011-04-04 Tom Tromey <tromey@redhat.com>
1154
1155 * gdb.cp/maint.exp (test_help): Update.
1156 (test_namespace): Likewise.
1157
1158 2011-04-01 Joel Brobecker <brobecker@adacore.com>
1159
1160 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
1161 * gdb.ada/arrayptr.exp: Add new tests.
1162
1163 2011-04-01 Joel Brobecker <brobecker@adacore.com>
1164
1165 * gdb.ada/mi_catch_ex: New testcase.
1166
1167 2011-04-01 Pedro Alves <pedro@codesourcery.com>
1168
1169 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
1170 base::overload(void) method without specifying "const".
1171
1172 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1173
1174 * gdb.arch/thumb-singlestep.S: New file.
1175 * gdb.arch/thumb-singlestep.exp: Likewise.
1176
1177 2011-03-31 Tom Tromey <tromey@redhat.com>
1178
1179 * gdb.python/py-prettyprint.py (exception_flag): New global.
1180 (NoStringContainerPrinter._iterator.next): Check it.
1181 * gdb.python/py-prettyprint.c (main): New variable nstype2.
1182 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
1183
1184 2011-03-29 Tom Tromey <tromey@redhat.com>
1185
1186 * gdb.cp/anon-struct.cc: New file.
1187 * gdb.cp/anon-struct.exp: New file.
1188
1189 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1190
1191 Test STT_GNU_IFUNC support.
1192 * gdb.base/gnu-ifunc-lib.c: New file.
1193 * gdb.base/gnu-ifunc.c: New file.
1194 * gdb.base/gnu-ifunc.exp: New file.
1195
1196 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1197
1198 Support a ring of related breakpoints.
1199 * gdb.base/watchpoint-delete.c: New file.
1200 * gdb.base/watchpoint-delete.exp: New file.
1201
1202 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1203
1204 * gdb.ada/arrayparam.exp (print first after function call): Use
1205 explicit package name. Add a comment
1206 (print lasta after function call): Rename ...
1207 (print last after function call): ... it and use explicit package
1208 name.
1209 (print length after function call): Use explicit package name.
1210 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
1211 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
1212 (multiple matches for symbol i): Rename ...
1213 (multiple matches for symbol integervar): ... it.
1214 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
1215 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
1216
1217 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
1218
1219 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
1220 environment variable to make grep output more predictable. Move
1221 all the environment setup into gdb_init so it's done once per test
1222 case rather than each time we start gdb.
1223
1224 2011-03-24 Tom Tromey <tromey@redhat.com>
1225
1226 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
1227 test.
1228
1229 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1230
1231 * gdb.dwarf2/dw2-entry-value-main.c: New file.
1232 * gdb.dwarf2/dw2-entry-value.S: New file.
1233 * gdb.dwarf2/dw2-entry-value.exp: New file.
1234
1235 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1236
1237 PR python/12183
1238
1239 * gdb.python/py-function.exp: Add GdbError tests.
1240
1241 2011-03-18 Pedro Alves <pedro@codesourcery.com>
1242
1243 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
1244 (reglocal_test_func, statlocal_test_func): New functions.
1245 (globals_test_func): Call new functions.
1246 * gdb.trace/unavailable.exp (gdb_collect_args_test)
1247 (gdb_collect_locals_test): New procedure.
1248 (gdb_trace_collection_test): Call new procedures.
1249
1250 2011-03-18 Pedro Alves <pedro@codesourcery.com>
1251
1252 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
1253 (test_register, test_register_unavailable): New procedures.
1254 (gdb_unavailable_registers_test): New procedure.
1255 (gdb_trace_collection_test): Call it.
1256
1257 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
1258
1259 PR python/12149
1260
1261 * gdb.python/python.exp: Add gdb.write tests.
1262
1263 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
1264
1265 * gdb.python/Makefile.in: Add py-objfile.
1266 * gdb.python/py-objfile.exp: New file.
1267 * gdb.python/py-objfile.c: New file.
1268 * gdb.python/py-block.exp: Add is_valid tests.
1269 * gdb.python/py-inferior.exp: Ditto.
1270 * gdb.python/py-infthread.exp: Ditto.
1271 * gdb.python/py-symbol.exp: Ditto.
1272 * gdb.python/py-symtab.exp: Ditto.
1273
1274 2011-03-16 Keith Seitz <keiths@redhat.com>
1275
1276 PR c++/12273
1277 * gdb.cp/cmpd-minsyms.exp: New test.
1278 * gdb.cp/cmpd-minsyms.cc: New file.
1279
1280 PR c++/11734
1281 * gdb.cp/ovsrch.exp: New test.
1282 * gdb.cp/ovsrch.h: New file.
1283 * gdb.cp/ovsrch1.cc: New file.
1284 * gdb.cp/ovsrch2.cc: New file.
1285 * gdb.cp/ovsrch3.cc: New file.
1286 * gdb.cp/ovsrch4.cc: New file.
1287
1288 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1289
1290 PR gdb/12528
1291 * gdb.base/Makefile.in: Adjust EXECUTABLES.
1292 * gdb.base/break-on-linker-gcd-function.exp: New test.
1293 * gdb.base/break-on-linker-gcd-function.cc: New file.
1294
1295 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
1296
1297 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
1298
1299 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
1300
1301 * lib/gdb.exp (gdb_unload): Add another termination case.
1302
1303 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1304
1305 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
1306 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
1307 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
1308 Provide a stub byte there.
1309 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
1310 DW_AT_entry_pc.
1311 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
1312
1313 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
1314
1315 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
1316 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
1317 "generic ABI, auto".
1318 (altivec_abi_tests): Accept vectors returned by reference.
1319
1320 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
1321
1322 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
1323
1324 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
1325
1326 * gdb.python/py-section-script.exp: Skip test if no Python support.
1327
1328 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
1329
1330 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
1331
1332 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1333
1334 * gdb.python/py-parameter.exp: Update tests to the new Python
1335 parameter API. Add "no documentation" test. Add deprecated API
1336 backward compatibility test.
1337
1338 2011-03-09 Tom Tromey <tromey@redhat.com>
1339
1340 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
1341 gdb_continue_to_end.
1342
1343 2011-03-09 Mark Kettenis <kettenis@gnu.org>
1344
1345 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
1346 tabs.
1347
1348 2011-03-09 Tom Tromey <tromey@redhat.com>
1349
1350 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
1351 parentheses.
1352 (gdb_continue_to_end): Add "allow_extra" parameter. Use
1353 $command.
1354 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
1355 argument to gdb_continue_to_end.
1356 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
1357 argument to gdb_continue_to_end.
1358 * gdb.cp/annota3.exp: Fix regex.
1359 * gdb.cp/annota2.exp: Fix regex.
1360 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
1361 gdb_continue_to_end.
1362 * gdb.base/call-signal-resume.exp: Revert earlier patch.
1363 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
1364 gdb_continue_to_end.
1365
1366 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1367
1368 * gdb.server/ext-run.exp
1369 (load new file without any gdbserver inferior): New test.
1370
1371 2011-03-07 Tom Tromey <tromey@redhat.com>
1372
1373 * Makefile.in (TAGS): Rewrite.
1374
1375 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1376
1377 * gdb.trace/report.exp (12.1: trace report #1): New match for the
1378 initial commands echo. New match for `Found trace'. Anchor all the
1379 other matches. Anchor and match for `No trace frame found' the final
1380 match.
1381
1382 2011-03-07 Tom Tromey <tromey@redhat.com>
1383
1384 * Makefile.in (TAGS): New target.
1385
1386 2011-03-07 Tom Tromey <tromey@redhat.com>
1387
1388 * lib/opencl.exp (skip_opencl_tests): Update for exit message
1389 change.
1390 * lib/mi-support.exp (mi_gdb_test): Update for exit message
1391 change.
1392 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
1393 exit message change.
1394 (skip_altivec_tests): Update for exit message change.
1395 (skip_vsx_tests): Likewise.
1396 (gdb_continue_to_end): Likewise. Add 'command' argument.
1397 * lib/cell.exp (skip_cell_tests): Update for exit message change.
1398 * gdb.threads/tls.exp: Update for exit message change.
1399 * gdb.threads/thread-unwindonsignal.exp: Use
1400 gdb_continue_to_end.
1401 * gdb.threads/step.exp (step_it): Update for exit message change.
1402 (continue_all): Likewise.
1403 * gdb.threads/print-threads.exp (test_all_threads): Update for
1404 exit message change.
1405 * gdb.threads/interrupted-hand-call.exp: Use
1406 gdb_continue_to_end.
1407 * gdb.threads/execl.exp: Use gdb_continue_to_end.
1408 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
1409 gdb_continue_to_end.
1410 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
1411 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
1412 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
1413 * gdb.cp/method.exp: Update for exit message change.
1414 * gdb.cp/mb-templates.exp: Update for exit message change.
1415 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
1416 * gdb.cp/annota3.exp: Update for exit message change.
1417 * gdb.cp/annota2.exp: Update for exit message change.
1418 * gdb.cell/fork.exp: Use gdb_continue_to_end.
1419 * gdb.base/term.exp: Update for exit message change.
1420 * gdb.base/step-test.exp (test_i): Update for exit message change.
1421 * gdb.base/sigstep.exp (advance): Update for exit message change.
1422 (advancei): Likewise.
1423 * gdb.base/siginfo.exp: Update for exit message change.
1424 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
1425 * gdb.base/reread.exp: Use gdb_continue_to_end.
1426 * gdb.base/langs.exp: Use gdb_continue_to_end.
1427 * gdb.base/interrupt.exp: Update for exit message change.
1428 * gdb.base/gdb1555.exp: Update for exit message change.
1429 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
1430 * gdb.base/ending-run.exp: Update for exit message change.
1431 * gdb.base/chng-syms.exp: Update for exit message change.
1432 * gdb.base/checkpoint.exp: Update for exit message change.
1433 * gdb.base/catch-syscall.exp (check_for_program_end): Use
1434 gdb_continue_to_end.
1435 (test_catch_syscall_with_wrong_args): Likewise.
1436 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
1437 * gdb.base/break-interp.exp (test_ld): Update for exit message
1438 change.
1439 * gdb.base/bang.exp: Update for exit message change.
1440 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
1441 (do_call_attach_tests): Likewise.
1442 * gdb.base/a2-run.exp: Update for exit message change.
1443 * gdb.arch/ppc-dfp.exp: Update for exit message change.
1444 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
1445 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
1446
1447 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1448
1449 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
1450
1451 2011-03-03 Tom Tromey <tromey@redhat.com>
1452
1453 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
1454 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
1455 * gdb.hp/gdb.aCC/configure.ac: Remove.
1456 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
1457 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
1458 * gdb.hp/gdb.base-hp/configure.ac: Remove.
1459 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
1460 * gdb.hp/gdb.compat/configure (Makefile): Remove.
1461 * gdb.hp/gdb.compat/configure.ac: Remove.
1462 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
1463 * gdb.hp/gdb.defects/configure (Makefile): Remove.
1464 * gdb.hp/gdb.defects/configure.ac: Remove.
1465 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
1466 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
1467 * gdb.hp/gdb.objdbg/configure.ac: Remove.
1468 * gdb.hp/configure.ac: Remove.
1469 * gdb.hp/configure: Remove.
1470 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
1471 substitution.
1472 (Makefile): Remove rule.
1473 * gdb.cell/configure.ac: Remove.
1474 * gdb.cell/configure: Remove.
1475 * gdb.stabs/Makefile.in (Makefile): Remove.
1476 (distclean): Don't remove config.status or config.log.
1477 * gdb.stabs/configure (Makefile): Remove.
1478 * gdb.stabs/configure.ac: Remove.
1479 * configure: Rebuild.
1480 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
1481 Remove stabs- and cell-specific logic. Test for existence of
1482 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
1483 subdirectories, gdb.cell, and and gdb.stabs.
1484 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
1485
1486 2011-03-03 Joel Brobecker <brobecker@adacore.com>
1487
1488 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
1489 end of buffer.
1490
1491 2011-03-02 Joel Brobecker <brobecker@adacore.com>
1492
1493 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
1494 gdb_test when running a test where we expected no output back.
1495
1496 2011-02-28 Michael Snyder <msnyder@vmware.com>
1497
1498 * gdb.cp/overload.cc: Change initializer value to integer.
1499
1500 2011-02-27 Michael Snyder <msnyder@vmware.com>
1501
1502 * gdb.multi/base.exp: Add test for remove-inferiors.
1503
1504 2011-02-26 Joel Brobecker <brobecker@adacore.com>
1505
1506 * gdb.python/py-frame.exp: Simplify the initialization phase
1507 using prepare_for_testing.
1508
1509 2011-02-25 Michael Snyder <msnyder@vmware.com>
1510
1511 * gdb.multi/base.exp: Add tests for info inferiors with args.
1512
1513 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1514
1515 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1516 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1517 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1518 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1519 asmfile3. Comment the STABS (#3) file compilation. Compile
1520 everything through assembler. Provide KFAIL for symtab/12497.
1521 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1522 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1523 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1524 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1525
1526 2011-02-24 Michael Snyder <msnyder@vmware.com>
1527
1528 * gdb.base/break.exp: Add tests for delete breakpoints using
1529 convenience variables and value history references.
1530
1531 2011-02-24 Michael Snyder <msnyder@vmware.com>
1532
1533 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1534 left behind in previous check-in.
1535
1536 2011-02-23 Michael Snyder <msnyder@vmware.com>
1537
1538 * gdb.base/break.exp: Add tests for "info break" with arguments.
1539 * gdb.trace/infotrace.exp: Update patterns for error and help.
1540 * gdb.base/completion.exp: Update pattern.
1541 * gdb.base/ena-dis-br.exp: Update pattern.
1542 * gdb.base/help.exp: Update patterns.
1543
1544 2011-02-23 Michael Snyder <msnyder@vmware.com>
1545
1546 * gdb.base/memattr.exp: New test.
1547 * gdb.base/memattr.c: Test load for memattr.exp.
1548
1549 2011-02-22 Doug Evans <dje@google.com>
1550
1551 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1552
1553 2011-02-22 Michael Snyder <msnyder@vmware.com>
1554
1555 * Makefile.in: Make more clean.
1556 * gdb.ada/Makefile.in: Ditto.
1557 * gdb.arch/Makefile.in: Ditto.
1558 * gdb.asm/Makefile.in: Ditto.
1559 * gdb.base/Makefile.in: Ditto.
1560 * gdb.cp/Makefile.in: Ditto.
1561 * gdb.dwarf2/Makefile.in: Ditto.
1562 * gdb.java/Makefile.in: Ditto.
1563 * gdb.mi/Makefile.in: Ditto.
1564 * gdb.modula2/Makefile.in: Ditto.
1565 * gdb.python/Makefile.in: Ditto.
1566 * gdb.server/Makefile.in: Ditto.
1567 * gdb.stabs/Makefile.in: Ditto.
1568 * gdb.threads/Makefile.in: Ditto.
1569 * gdb.trace/Makefile.in: Ditto.
1570
1571 2011-02-22 Michael Snyder <msnyder@vmware.com>
1572
1573 * gdb.threads/thread-find.exp: Add tests for bad input to
1574 info threads.
1575
1576 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1577
1578 * gdb.python/py-breakpoint.exp: Fix the expected output of
1579 one of the "maint info breakpoints" tests to accept the output
1580 generated on platforms that do not have hardware watchpoints.
1581
1582 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1583
1584 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1585 clean_restart. Be a little stricter in the expected output
1586 for one of the tests. Fix a typo in one of the comments.
1587
1588 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1589
1590 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1591 Delete variable binfile, no longer use. Add or modify test
1592 comments to make them unique.
1593
1594 2011-02-21 Michael Snyder <msnyder@vmware.com>
1595
1596 * Makefile.in: Update for make clean.
1597 * gdb.ada/Makefile.in: Ditto.
1598 * gdb.arch/Makefile.in: Ditto.
1599 * gdb.asm/Makefile.in: Ditto.
1600 * gdb.base/Makefile.in: Ditto.
1601 * gdb.cp/Makefile.in: Ditto.
1602 * gdb.dwarf2/Makefile.in: Ditto.
1603 * gdb.java/Makefile.in: Ditto.
1604 * gdb.mi/Makefile.in: Ditto.
1605 * gdb.modula2/Makefile.in: Ditto.
1606 * gdb.python/Makefile.in: Ditto.
1607 * gdb.server/Makefile.in: Ditto.
1608 * gdb.stabs/Makefile.in: Ditto.
1609 * gdb.threads/Makefile.in: Ditto.
1610 * gdb.trace/Makefile.in: Ditto.
1611
1612 2011-02-21 Michael Snyder <msnyder@vmware.com>
1613
1614 * gdb.threads/thread-find.exp: Update patterns for changes in
1615 output of "info threads" command.
1616
1617 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1618 Ulrich Weigand <uweigand@de.ibm.com>
1619
1620 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1621 (skip_hw_watchpoint_tests): Likewise.
1622 (skip_hw_watchpoint_multi_tests): Likewise.
1623
1624 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1625
1626 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1627 (skip_hw_watchpoint_tests): Likewise.
1628 (skip_hw_watchpoint_multi_tests): Likewise.
1629 (skip_hw_watchpoint_access_tests): Likewise.
1630
1631 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1632 * gdb.base/pr11022.exp: Likewise.
1633 * gdb.base/watch-read.exp: Likewise.
1634 * gdb.base/watch_thread_num.exp: Likewise.
1635 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1636 * gdb.base/watchpoint-hw.exp: Likewise.
1637 * gdb.base/watchpoint.exp: Likewise.
1638 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1639 * gdb.threads/watchthreads-reorder.exp: Likewise.
1640 * gdb.threads/watchthreads.exp: Likewise.
1641 * gdb.threads/watchthreads2.exp: Likewise.
1642
1643 2011-02-21 Joel Brobecker <brobecker@adacore.com>
1644
1645 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1646 the debugger is unable to find the array bounds.
1647
1648 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1649
1650 * gdb.cp/typedef-operator.exp: New file.
1651 * gdb.cp/typedef-operator.cc: New file.
1652
1653 2011-02-17 Michael Snyder <msnyder@vmware.com>
1654
1655 * gdb.threads/thread-find.exp: Fix regular expressions.
1656
1657 2011-02-17 Joel Brobecker <brobecker@adacore.com>
1658
1659 * gdb.ada/packed_array: Expand testcase to test printing of
1660 unconstrained packed array.
1661
1662 2011-02-17 Joel Brobecker <brobecker@adacore.com>
1663
1664 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1665
1666 2011-02-16 Pedro Alves <pedro@codesourcery.com>
1667
1668 * gdb.trace/collection.c (globalarr3): New global.
1669 (main): Initialize it before collecting, and and clear it
1670 afterwards.
1671 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1672 collecting with '{type} addr', where the addr expression is not an
1673 rvalue.
1674
1675 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
1676
1677 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1678 a bool variable. Expect correct OpenCL names for vector types. Use the
1679 uc3 variable name instead of referring to the uchar3 built-in type.
1680 Escape the asterisk at the half pointer test.
1681
1682 2011-02-16 Pedro Alves <pedro@codesourcery.com>
1683
1684 * gdb.trace/collection.c (globalarr2): New global.
1685 (main): Initialize it before collecting, and and clear it
1686 afterwards.
1687 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1688 collecting overlapping memory ranges.
1689
1690 2011-02-15 Michael Snyder <msnyder@vmware.com>
1691
1692 * gdb.base/default.exp: Add tests for thread commands.
1693 * gdb.base/help.exp: Add tests for thread commands.
1694 * gdb.threads/thread-find.exp: New test for thread find command.
1695
1696 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
1697
1698 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1699
1700 2011-02-15 Yao Qi <yao@codesourcery.com>
1701
1702 PR tdep/12352
1703 * gdb.arch/arm-disp-step.S : New test for str instruction.
1704 * gdb.arch/arm-disp-step.exp : Likewise.
1705
1706 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1707
1708 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1709 "vector_register2_vr" test strings. Test the extended floating
1710 point registers (F32~F63).
1711 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1712 IBM XL C compiler. Make the test program use a register provided
1713 by the compiler for the lxvd2x instruction.
1714
1715 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1716
1717 * gdb.trace/unavailable.cc (class Base, class Middle, class
1718 Derived): New types.
1719 (derived_unavail, derived_partial, derived_whole): New globals.
1720 (virtual_partial): New global.
1721 (virtualp): Point at virtual_partial.
1722 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1723 related to unavailable vptr.
1724
1725 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1726
1727 * gdb.trace/unavailable.cc (a, b, c): New globals.
1728 (main): Set and clear them.
1729 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1730 `a' and `c', and check that `b' isn't collected, although `a' and
1731 `c' are.
1732
1733 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1734
1735 * gdb.trace/unavailable.cc (struct Virtual): New.
1736 (virtualp): New global pointer.
1737 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1738 printing a pointer to an object whose type has a vtable, with
1739 print object on.
1740
1741 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1742
1743 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1744 value repeat handles unavailableness.
1745
1746 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1747
1748 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1749 tests for building arrays from unavailable values, subscripting
1750 non-memory rvalue unvailable arrays, and accessing fields or
1751 baseclasses of non-lazy unavailable values,
1752 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1753 struct types.
1754 (g_smallstruct, g_smallstruct_b): New globals.
1755
1756 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1757
1758 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1759
1760 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1761
1762 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1763 * gdb.cp/overload-const.exp: New file.
1764 * gdb.cp/overload-const.cc: New file.
1765
1766 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1767
1768 * gdb.opencl/callfuncs.cl: New file.
1769 * gdb.opencl/callfuncs.exp: New test.
1770 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1771
1772 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1773
1774 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1775 when computing result.
1776 * gdb.arch/altivec-abi.exp: Update expected results.
1777
1778 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1779
1780 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1781 * gdb.base/jit.exp: Likewise.
1782 * gdb.base/pie-execl.exp: Likewise.
1783 * gdb.base/solib-nodir.exp: Likewise.
1784 * gdb.base/solib-overlap.exp: Likewise.
1785
1786 2011-02-07 Pedro Alves <pedro@codesourcery.com>
1787
1788 * gdb.trace/collection.c (global_pieces): New.
1789 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1790 New procedure.
1791 (gdb_trace_collection_test): Call it.
1792
1793 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1794
1795 * gdb.python/py-evthreads.c: New file.
1796 * gdb.python/py-evthreads.exp: New file.
1797 * gdb.python/py-events.py: New file.
1798 * gdb.python/py-events.exp: New file.
1799 * gdb.python/py-events.c: New file.
1800
1801 2011-02-04 David Daney <ddaney@caviumnetworks.com>
1802
1803 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1804
1805 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
1806
1807 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1808 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1809 boundary between two compilation units.
1810
1811 2011-02-02 Pedro Alves <pedro@codesourcery.com>
1812
1813 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1814 (Virtual): New structs.
1815 (virtual_o, virtual_middle_b): New globals.
1816 * gdb.cp/virtbase.exp: New tests.
1817
1818 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1819
1820 * gdb.base/jit.exp: New file.
1821 * gdb.base/jit-main.c: New file.
1822 * gdb.base/jit-solib.c: New file.
1823
1824 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1825
1826 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1827 proceed to initial kernel entry point.
1828 * gdb.opencl/datatypes.exp: Likewise.
1829 * gdb.opencl/operators.exp: Likewise.
1830 * gdb.opencl/vec_comps.exp: Likewise.
1831
1832 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1833
1834 * gdb.cp/nsnested.cc: New.
1835 * gdb.cp/nsnested.exp: New.
1836 * gdb.cp/nsnoimports.exp: New.
1837 * gdb.cp/nsnoimports.cc: New.
1838
1839 2011-01-31 Joel Brobecker <brobecker@adacore.com>
1840
1841 * gdb.base/interact.exp: Add extra tests that verify that
1842 the value of the interactive-mode setting does not change
1843 after the script is sourced.
1844
1845 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1846
1847 * gdb.cp/noparam.exp: New file.
1848 * gdb.cp/noparam.cc: New file.
1849
1850 2011-01-28 Pedro Alves <pedro@codesourcery.com>
1851
1852 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1853 there's no stack or registers.
1854
1855 2011-01-26 Tom Tromey <tromey@redhat.com>
1856
1857 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1858 space before string output. Add test for "set print pretty off"
1859 case.
1860
1861 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1862
1863 * gdb.base/frame-args.exp: Adjust.
1864 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1865 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1866 * gdb.dwarf2/pieces.exp: Adjust.
1867 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1868 * gdb.opt/inline-locals.exp: Adjust.
1869 * gdb.threads/fork-child-threads.exp: Adjust.
1870
1871 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1872
1873 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1874 OpenCL kernel function. Add a comment as marker. Add address space
1875 qualifiers for the remaining program scope variables.
1876 * gdb.opencl/datatypes.cl: Likewise.
1877 * gdb.opencl/operators.cl: Likewise.
1878 * gdb.opencl/vec_comps.cl: Likewise.
1879 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1880 Add breakpoint at the marker comment.
1881 * gdb.opencl/datatypes.exp: Likewise.
1882 * gdb.opencl/operators.exp: Likewise.
1883 * gdb.opencl/vec_comps.exp: Likewise.
1884
1885 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1886
1887 * gdb.base/printcmds.c (some_struct): New struct and instance.
1888 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1889 procedure.
1890 <global scope>: Call it.
1891
1892 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1893
1894 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1895 argument to the gdb_compile_opencl_hostapp call.
1896
1897 2011-01-19 Yao Qi <yao@codesourcery.com>
1898
1899 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1900 positve list.
1901
1902 2011-01-19 Yao Qi <yao@codesourcery.com>
1903
1904 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1905 canonical form.
1906 Remove "xscale-*-*"
1907 * gdb.xml/tdesc-regs.exp: Likewise.
1908 * gdb.python/py-section-script.exp: Replace ARM target triplet
1909 with canonical form.
1910 Match arm*-*-symbianelf*.
1911 * gdb.base/dup-sect.exp: Likewise.
1912 * lib/dwarf.exp: New.
1913 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1914 dwarf2_support.
1915 * gdb.dwarf2/dup-psym.exp: Likewise.
1916 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1917 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1918 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1919 * gdb.dwarf2/dw2-basic.exp: Likewise.
1920 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1921 * gdb.dwarf2/dw2-const.exp: Likewise.
1922 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1923 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1924 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1925 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1926 * gdb.dwarf2/dw2-filename.exp: Likewise.
1927 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1928 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1929 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1930 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1931 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1932 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1933 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1934 * gdb.dwarf2/dw2-producer.exp: Likewise.
1935 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1936 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1937 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1938 * gdb.dwarf2/dw2-strp.exp: Likewise.
1939 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1940 * gdb.dwarf2/implptr.exp: Likewise.
1941 * gdb.dwarf2/mac-fileno.exp: Likewise.
1942 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1943 * gdb.dwarf2/pieces.exp: Likewise.
1944 * gdb.dwarf2/pr11465.exp: Likewise.
1945 * gdb.dwarf2/valop.exp: Likewise.
1946 * gdb.dwarf2/watch-notconst.exp: Likewise.
1947 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1948
1949 2011-01-19 Tom Tromey <tromey@redhat.com>
1950
1951 * gdb.python/py-infthread.exp: Add thread tests.
1952
1953 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1954
1955 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1956
1957 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1958
1959 * gdb.ada/widewide: New testcase.
1960
1961 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1962
1963 * gdb.base/interact.exp: New testcase.
1964
1965 2011-01-12 Tom Tromey <tromey@redhat.com>
1966
1967 * gdb.mi/gdb2549.exp: Update for error message changes.
1968 * gdb.mi/mi-cli.exp: Likewise.
1969 * gdb.mi/mi-disassemble.exp: Likewise.
1970 * gdb.mi/mi-pthreads.exp: Likewise.
1971 * gdb.mi/mi-regs.exp: Likewise.
1972 * gdb.mi/mi-stack.exp: Likewise.
1973 * gdb.mi/mi-var-block.exp: Likewise.
1974 * gdb.mi/mi-var-cmd.exp: Likewise.
1975 * gdb.mi/mi2-cli.exp: Likewise.
1976 * gdb.mi/mi2-disassemble.exp: Likewise.
1977 * gdb.mi/mi2-pthreads.exp: Likewise.
1978 * gdb.mi/mi2-regs.exp: Likewise.
1979 * gdb.mi/mi2-stack.exp: Likewise.
1980 * gdb.mi/mi2-var-block.exp: Likewise.
1981 * gdb.mi/mi2-var-cmd.exp: Likewise.
1982
1983 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1984 Jan Kratochvil <jan.kratochvil@redhat.com>
1985
1986 PR fortran/11104 and DWARF unbound arrays detection.
1987 * gdb.fortran/multi-dim.exp: New file.
1988 * gdb.fortran/multi-dim.f90: New file.
1989
1990 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1991
1992 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1993 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1994 add new tests for opcode dumping.
1995
1996 2011-01-11 Tom Tromey <tromey@redhat.com>
1997
1998 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1999
2000 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
2001
2002 Convert hardware watchpoints to use breakpoint_ops.
2003 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
2004 type is not supported.
2005 * gdb.base/foll-fork.exp: Likewise.
2006 * gdb.base/foll-vfork.exp: Likewise.
2007
2008 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
2009
2010 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
2011 Use load_lib gdb-python.exp.
2012 * gdb.python/python.exp: Ditto.
2013 * gdb.python/py-function.exp: Ditto.
2014
2015 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2016
2017 * gdb.threads/tls.exp ("info address me"): Fix expected output.
2018
2019 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2020
2021 * configure: Regenerate.
2022
2023 2011-01-06 Tom Tromey <tromey@redhat.com>
2024
2025 * gdb.python/py-frame.exp: Test gdb.newest_frame.
2026
2027 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2028
2029 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
2030 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
2031 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
2032 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
2033 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
2034 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
2035 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
2036 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
2037 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
2038 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
2039 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
2040 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
2041 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
2042 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2043 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2044 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
2045 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
2046 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
2047 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2048 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
2049 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2050 gdb.ada/uninitialized_vars.exp,
2051 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2052 Simplify by using clean_restart.
2053
2054 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2055
2056 Add marker to be used as anchor for inserting breakpoints.
2057 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2058 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2059 Likewise.
2060
2061 Remove uses of gdb_start_cmd.
2062 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2063 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2064
2065 Do not run testcase if testing with GDBserver.
2066 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2067 if testing with GDBserver.
2068
2069 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2070
2071 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2072 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2073 copyright header.
2074
2075 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2076
2077 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2078 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2079 testsuite/gdb.fortran/complex.f,
2080 testsuite/gdb.fortran/derived-type.f90,
2081 testsuite/gdb.fortran/library-module-lib.f90,
2082 testsuite/gdb.fortran/library-module-main.f90,
2083 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2084 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2085 Copyright year update.
2086
2087 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2088
2089 * gdb.base/langs1.f: Add copyright header.
2090
2091 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2092
2093 * gdb.base/morestack.exp: New file.
2094 * gdb.base/morestack.c: New file.
2095
2096 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2097
2098 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2099
2100 2010-12-29 Joel Brobecker <brobecker@adacore.com>
2101
2102 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
2103 * gdb.ada/arrayptr.exp: Add test printing that new variable.
2104
2105 2010-12-29 Joel Brobecker <brobecker@adacore.com>
2106
2107 * gdb.ada/lang_switch.exp: Correct expected parameter value.
2108
2109 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
2110
2111 * gdb.threads/tls.exp: Fix typo.
2112
2113 * gdb.threads/thread-specific.exp (get_thread_list): Update.
2114 * gdb.threads/execl.exp: Update.
2115
2116 2010-12-23 Yao Qi <yao@codesourcery.com>
2117
2118 * gdb.arch/arm-disp-step.exp: New.
2119 * gdb.arch/arm-disp-step.S: New.
2120
2121 2010-12-21 Tom Tromey <tromey@redhat.com>
2122
2123 * gdb.threads/execl.exp: Update.
2124 * gdb.threads/linux-dp.exp: Update.
2125 * gdb.threads/manythreads.exp: Update.
2126 * gdb.threads/tls.exp: Update.
2127
2128 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2129
2130 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
2131 (NextOverThrowDerivates) <resumebpt>: New.
2132 (resumebpt_test): New.
2133 (main): Call resumebpt_test.
2134 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2135
2136 2010-12-12 Stan Shebs <stan@codesourcery.com>
2137
2138 * gdb.trace/tsv.exp: Test print command on trace state variables.
2139
2140 2010-12-09 Tom Tromey <tromey@redhat.com>
2141
2142 * gdb.base/interp.exp: Add regression test.
2143
2144 2010-12-09 Tom Tromey <tromey@redhat.com>
2145
2146 * gdb.java/jnpe.java: New file.
2147 * gdb.java/jnpe.exp: New file.
2148 * gdb.cp/nextoverthrow.exp: New file.
2149 * gdb.cp/nextoverthrow.cc: New file.
2150
2151 2010-12-07 Doug Evans <dje@google.com>
2152
2153 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
2154 of data-directory.
2155 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
2156 updated.
2157 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2158
2159 2010-11-29 Michael Snyder <msnyder@vmware.com>
2160
2161 * gdb.base/callfuncs.exp: Test for skip_float_tests.
2162 * gdb.base/call-sc.exp: Ditto.
2163 * gdb.base/finish.exp: Ditto.
2164 * gdb.base/return.exp: Ditto.
2165 * gdb.base/return2.exp: Ditto.
2166
2167 2010-11-30 Doug Evans <dje@google.com>
2168
2169 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
2170 (gdb_expect_list): Fix spelling errors in comments.
2171 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
2172 send_gdb/gdb_expect_list where applicable.
2173 * gdb.base/call-ar-st.exp: Ditto.
2174 * gdb.base/funcargs.exp: Ditto.
2175 * gdb.base/gcore.exp: Ditto.
2176 * gdb.base/page.exp: Ditto.
2177 * gdb.base/sigaltstack.exp: Ditto.
2178 * gdb.base/siginfo.exp: Ditto.
2179 * gdb.base/sigstep.exp: Ditto.
2180 * gdb.base/trace-commands.exp: Ditto.
2181
2182 2010-11-29 Doug Evans <dje@google.com>
2183
2184 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
2185 printer-name;subprinter-name.
2186
2187 2010-11-29 Tom Tromey <tromey@redhat.com>
2188
2189 * gdb.dwarf2/implptr.exp: New file.
2190 * gdb.dwarf2/implptr.c: New file.
2191 * gdb.dwarf2/implptr.S: New file.
2192
2193 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
2194
2195 PR python/12199
2196
2197 * gdb.python/py-breakpoint.exp: Test the delete method.
2198
2199 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2200
2201 Fix step_resume_breakpoint unsaved during an infcall.
2202 * gdb.base/step-resume-infcall.exp: New file.
2203 * gdb.base/step-resume-infcall.c: New file.
2204
2205 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
2206
2207 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2208
2209 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
2210
2211 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
2212 on ppc64's symbols; "finish" and "return" commands must accept to
2213 show the caller line again as well as the line after.
2214 * gdb.asm/powerpc64.inc: New file.
2215
2216 2010-11-23 Doug Evans <dje@google.com>
2217
2218 * lib/gdb.exp (gdb_test_sequence): New function.
2219 (gdb_expect_list): Add verbose -log call for each pattern.
2220 * gdb.base/signals.exp (test_handle_all_print): Call it.
2221 Reduce timeout increment from 6 minutes to 1 minute.
2222 * gdb.server/ext-run.exp: Call it.
2223
2224 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
2225
2226 PR python/12212
2227
2228 * gdb.python/python.exp: Check that selected_thread raises an
2229 error when no inferior is loaded.
2230
2231 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2232
2233 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
2234 * gdb.dwarf2/dw2-stack-boundary.S: New file.
2235
2236 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2237
2238 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
2239 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2240
2241 2010-11-18 Doug Evans <dje@google.com>
2242
2243 * gdb.server/ext-run.exp: Fix intermittent failures.
2244
2245 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2246
2247 * gdb.stabs/gdb11479.exp: Use runto_main.
2248
2249 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2250
2251 * gdb.base/break-entry.exp: Skip if using a stub.
2252
2253 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
2254
2255 * gdb.python/py-inferior.exp: Pack values in target endianness.
2256
2257 2010-11-12 Tom Tromey <tromey@redhat.com>
2258
2259 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
2260 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
2261 MemoryError.
2262 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
2263 type.
2264 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
2265 MemoryError.
2266 (test_subscript_regression): Update exception type.
2267
2268 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
2269
2270 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
2271 breakpoint tests.
2272
2273 2010-11-09 Pedro Alves <pedro@codesourcery.com>
2274
2275 * gdb.base/watchpoint.exp: Test "watch -location" with an
2276 innacessible location.
2277
2278 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
2279 Luis Machado <luisgpm@br.ibm.com>
2280
2281 * gdb.base/maint.exp: Expect "." prefix.
2282 * gdb.base/nodebug.exp: Expect "." Likewise.
2283 * gdb.base/sepsymtab.exp: Expect "." Likewise.
2284 * gdb.base/watchpoint-cond-gone.exp: Likewise.
2285 * gdb.base/watchpoint.exp: Expect a software watch to be created for
2286 POWER server processors.
2287
2288 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
2289 Luis Machado <luisgpm@br.ibm.com>
2290
2291 * gdb.base/break-entry.exp: convert entry point for
2292 ppc64 and expect leading `.' on ppc64's symbols
2293
2294 2010-11-05 Doug Evans <dje@google.com>
2295
2296 * gdb.base/help.exp: Update expected output.
2297 * gdb.python/py-param.exp: Delete, contents moved to ...
2298 * gdb.python/py-parameter.exp: ... here. New file.
2299 Add test for gdb.parameter ("directories").
2300
2301 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
2302
2303 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
2304 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
2305 * configure: Regenerate.
2306 * gdb.opencl/Makefile.in: New File.
2307 * gdb.opencl/datatypes.exp: Likewise.
2308 * gdb.opencl/datatypes.cl: Likewise.
2309 * gdb.opencl/operators.exp: Likewise.
2310 * gdb.opencl/operators.cl: Likewise.
2311 * gdb.opencl/vec_comps.exp: Likewise.
2312 * gdb.opencl/vec_comps.cl: Likewise.
2313 * gdb.opencl/convs_casts.exp: Likewise.
2314 * gdb.opencl/convs_casts.cl: Likewise.
2315 * lib/opencl.exp: Likewise.
2316 * lib/opencl_hostapp.c: Likewise.
2317 * lib/opencl_kernel.cl: Likewise.
2318 * lib/cl_util.c: Likewise.
2319 * lib/cl_util.c: Likewise.
2320 * gdb.base/default.exp (set language): Add "opencl" to the list of
2321 languages.
2322
2323 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
2324
2325 * gdb.cp/overload.exp: Added test for inheritance overload.
2326 * gdb.cp/overload.cc: Ditto.
2327 * gdb.cp/oranking.exp: Removed releveant kfails.
2328
2329 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2330 Joel Brobecker <brobecker@adacore.com>
2331
2332 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
2333 check test_compiler_info.
2334
2335 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
2336
2337 * gdb.base/gnu_vector.exp: Adjust expect messages.
2338
2339 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
2340
2341 * gdb.base/gnu_vector.exp: Add unary operator tests.
2342
2343 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
2344
2345 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2346
2347 2010-11-02 Doug Evans <dje@google.com>
2348
2349 * gdb.python/py-pp-maint.c: New file.
2350 * gdb.python/py-pp-maint.exp: New file.
2351 * gdb.python/py-pp-maint.py: New file.
2352
2353 2010-11-02 Tom Tromey <tromey@redhat.com>
2354
2355 * gdb.base/default.exp: Remove "scheme" from language list.
2356
2357 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2358
2359 Revert:
2360 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2361 * gdb.threads/sigstep-threads.exp: New file.
2362 * gdb.threads/sigstep-threads.c: New file.
2363
2364 2010-10-20 Michael Snyder <msnyder@vmware.com>
2365
2366 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
2367
2368 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2369
2370 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
2371 Skip test completely if gdb,no_hardware_watchpoints.
2372
2373 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
2374
2375 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
2376 strict, but do not check for any particular function name within libc.
2377
2378 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2379
2380 * gdb.cp/smartp.exp: New test.
2381 * gdb.cp/smartp.cc : New test.
2382
2383 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
2384
2385 * gdb.cp/converts.exp: Test pointer to bool conversion.
2386 Test pointer to long conversion.
2387 * gdb.cp/oranking.exp: Removed relevant kfail.
2388
2389 2010-10-18 Tom Tromey <tromey@redhat.com>
2390
2391 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
2392 argument to lazy_string.
2393 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
2394 (pp_ls.to_string): Use it.
2395 * gdb.python/py-prettyprint.c (main): Move declarations to top.
2396 Add "estring2" local.
2397
2398 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2399
2400 Fix s390x compatibility.
2401 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
2402 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2403
2404 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2405
2406 * gdb.threads/sigstep-threads.exp: New file.
2407 * gdb.threads/sigstep-threads.c: New file.
2408
2409 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2410
2411 * gdb.base/pie-execl.exp: New file.
2412 * gdb.base/pie-execl.c: New file.
2413
2414 2010-10-13 Doug Evans <dje@google.com>
2415 Jan Kratochvil <jan.kratochvil@redhat.com>
2416
2417 PR exp/12117
2418 * gdb.cp/ptype-cv-cp.cc: New file.
2419 * gdb.cp/ptype-cv-cp.exp: New file.
2420
2421 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
2422
2423 * gdb.cp/converts.cc: New test program.
2424 * gdb.cp/converts.exp: New test.
2425 * gdb.cp/overload.exp: Added test for void* vs int*.
2426 * gdb.cp/overload.exp: Ditto.
2427 * gdb.cp/oranking.exp: Removed related kfail.
2428
2429 2010-10-13 Doug Evans <dje@google.com>
2430
2431 * lib/gdb-python.exp (gdb_check_python_config): New function.
2432 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
2433 * gdb.python/lib-types.cc: New file.
2434 * gdb.python/lib-types.exp: New file.
2435
2436 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2437
2438 * gdb.python/py-error.exp: New file.
2439 * gdb.python/py-error.py: New file.
2440
2441 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2442
2443 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
2444 gdb_test_multiple.
2445
2446 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2447
2448 * gdb.base/break-interp.exp: Use ldlags for linking flags.
2449 * gdb.base/prelink.exp: Likewise.
2450 * gdb.base/solib-nodir.exp: Likewise.
2451 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
2452 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
2453 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
2454
2455 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
2456
2457 * break-interp.exp (test_ld): Use two separate gdb_expect statements
2458 for the "info files" test to avoid timeouts on slow machines.
2459
2460 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2461
2462 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
2463 (main): Make openlib dummy call.
2464
2465 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2466
2467 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
2468 * break-interp.exp (reach): Move the core body ...
2469 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
2470 (test_ld): Provide always real argument, even to the linker. Replace
2471 dl_main by _dl_debug_state.
2472
2473 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2474
2475 Fix results of prelinked PIEs on ppc*.
2476 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
2477 Accept also DISPLACEMENT "PRESENT".
2478 (main): Replace "ZERO" displacements by "PRESENT".
2479
2480 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
2481
2482 * gdb.cp/oranking.exp: New test.
2483 * gdb.cp/oranking.cc: New test program.
2484
2485 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
2486
2487 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
2488 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2489
2490 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
2491
2492 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
2493 lush, lynx) New constant.
2494 * gdb.base/constvars.exp: Test const array types.
2495 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2496
2497 2010-10-06 Doug Evans <dje@google.com>
2498
2499 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
2500 of syscall staging area.
2501
2502 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
2503
2504 * gdb.base/gnu_vector.c: Add variable c4.
2505 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
2506 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2507
2508 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2509
2510 * gdb.arch/altivec-abi.exp: Fix a typo.
2511
2512 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
2513
2514 * lib/mi-support.exp (thread_selected_re): Correct pattern used
2515 to match a thread ID.
2516
2517 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2518
2519 Fix s390x testcase compatibility.
2520 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2521
2522 2010-10-01 Doug Evans <dje@google.com>
2523
2524 * lib/gdb-python.exp: New file.
2525 * gdb.python/py-block.exp: Use it.
2526 * gdb.python/py-breakpoint.exp: Ditto.
2527 * gdb.python/py-frame.exp: Ditto.
2528 * gdb.python/py-inferior.exp: Ditto.
2529 * gdb.python/py-param.exp: Ditto.
2530 * gdb.python/py-prettyprint.exp: Ditto.
2531 * gdb.python/py-shared.exp: Ditto.
2532 * gdb.python/py-symbol.exp: Ditto.
2533 * gdb.python/py-symtab.exp: Ditto.
2534 * gdb.python/py-type.exp: Ditto.
2535 * gdb.python/py-value.exp: Ditto.
2536 * gdb.python/python.exp: Ditto.
2537
2538 2010-09-30 Tom Tromey <tromey@redhat.com>
2539
2540 * gdb.base/anon.exp: New file.
2541 * gdb.base/anon.c: New file.
2542
2543 2010-09-30 Tom Tromey <tromey@redhat.com>
2544
2545 * gdb.base/completion.exp: Test completion through anonymous
2546 union.
2547 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2548
2549 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2550
2551 Fix printing parameters of inlined functions.
2552 * gdb.dwarf2/dw2-inline-param.exp: New file.
2553 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2554 * gdb.dwarf2/dw2-inline-param.S: New file.
2555
2556 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2557
2558 PR corefiles/12071.
2559 * gdb.base/corefile.exp (quit with a process, no question: load core)
2560 (quit with a core file): New tests.
2561
2562 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2563
2564 Fix GDB crash on inferior calls with self-referencing classes.
2565 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2566 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2567 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2568
2569 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2570
2571 Fix lost siginfo_t for inferior calls.
2572 * gdb.base/siginfo-infcall.exp: New file.
2573 * gdb.base/siginfo-infcall.c: New file.
2574
2575 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2576
2577 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2578
2579 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2580
2581 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2582 New test.
2583 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2584
2585 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2586
2587 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2588 type of our const type.
2589
2590 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2591
2592 * gdb.cp/pr12028.cc: New.
2593 * gdb.cp/pr12028.exp: New.
2594
2595 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2596
2597 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2598
2599 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
2600 Jan Kratochvil <jan.kratochvil@redhat.com>
2601
2602 PR mi/11407
2603 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2604 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2605 * gdb.mi/dw2-ref-missing-frame.S New File.
2606 * gdb.mi/dw2-ref-missing-frame.exp New File.
2607
2608 2010-09-14 Tom Tromey <tromey@redhat.com>
2609
2610 PR symtab/8399:
2611 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2612
2613 2010-09-14 Tom Tromey <tromey@redhat.com>
2614
2615 PR exp/11803:
2616 * gdb.threads/tls.exp: Use C++.
2617 (check_thread_local): Use K::another_thread_local.
2618 * gdb.threads/tls.c (class K): New.
2619 (another_thread_local): Now a member of K.
2620 (spin): Update. No longer K&R C.
2621
2622 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2623
2624 * gdb.cp/koenig.cc: created class for testing member lookup.
2625 * gdb.cp/koenig.exp: Added test for member lookup.
2626
2627 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2628
2629 Fix false FAILs on sourcetree topdir directory containing "kill".
2630 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2631 source line matching regexp.
2632
2633 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2634
2635 * gdb.python/python.exp (set height 0, collect help from uiout)
2636 (verify help to uiout): New tests.
2637
2638 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2639
2640 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2641 is_lp64_target to check 64bit target.
2642
2643 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2646 (test_ld) <powerpc64-*>: New.
2647
2648 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2649
2650 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2651
2652 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2653
2654 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2655 (FunctionArg::method): New function.
2656 (empty, arg): New variables.
2657 (main): Call arg.method.
2658 * gdb.cp/templates.exp (test_template_args): New function.
2659 (do_tests): Call it.
2660
2661 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2662
2663 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2664 of "next" to proceed over pthread_exit call.
2665
2666 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2667
2668 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2669 "maint print statistics" output to prevent expect timeouts.
2670
2671 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2672
2673 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2674 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2675 (test_float_rejected): ... here.
2676 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2677 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2678 (test_float_rejected): ... here.
2679 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2680 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2681 (test_float_rejected): ... here.
2682 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2683 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2684 (test_float_rejected): ... here.
2685
2686 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2687
2688 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2689 before disabling hardware watchpoints.
2690 (test_inaccessible_watchpoint): Check that hardware watchpoints
2691 are used. Test for watchpoints on a constant address.
2692
2693 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2694
2695 * gdb.base/ui-redirect.exp: New file.
2696
2697 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2698 Joel Brobecker <brobecker@adacore.com>
2699
2700 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2701
2702 2010-08-31 Doug Evans <dje@google.com>
2703
2704 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2705
2706 2010-08-30 Tom Tromey <tromey@redhat.com>
2707
2708 PR python/11792:
2709 * gdb.python/py-value.exp (test_subscript_regression): Add
2710 dynamic_type test.
2711
2712 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2713
2714 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2715 instead of running to main. Do not test the main function.
2716 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2717 Add new main.
2718
2719 2010-08-26 Pedro Alves <pedro@codesourcery.com>
2720
2721 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2722 one test.
2723
2724 2010-08-24 Doug Evans <dje@google.com>
2725
2726 PR symtab/11942
2727 * gdb.dwarf2/dw4-sig-types.cc: New file.
2728 * gdb.dwarf2/dw4-sig-types.h: New file.
2729 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2730 * gdb.dwarf2/dw4-sig-types.exp: New file.
2731
2732 2010-08-23 Tom Tromey <tromey@redhat.com>
2733
2734 PR python/11145:
2735 * gdb.python/py-value.c (Base, Derived): New types.
2736 (base): New global.
2737 * gdb.python/py-value.exp (test_subscript_regression): Add
2738 dynamic_cast test.
2739
2740 2010-08-23 Tom Tromey <tromey@redhat.com>
2741
2742 PR python/10676:
2743 * gdb.python/py-type.exp (test_fields): Add tests for type
2744 equality.
2745
2746 2010-08-23 Tom Tromey <tromey@redhat.com>
2747
2748 PR python/11915:
2749 * gdb.python/py-type.exp (test_fields): Add tests for array.
2750
2751 2010-08-23 Keith Seitz <keiths@redhat.com>
2752
2753 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2754 have any children. Create a new abbrev for it.
2755 Add missing terminal sequence to .debug_abbrev.
2756
2757 2010-08-20 Keith Seitz <keiths@redhat.com>
2758
2759 PR symtab/11465:
2760 * gdb.dwarf2/pr11465.exp: New test.
2761 * gdb.dwarf2/pr11465.S: New file.
2762 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2763 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2764
2765 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2766
2767 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2768 registers. Update data sets with the new v2_double element in the
2769 VSX register union. Add vector_register3_vr data set for the AltiVec
2770 registers. Use gdb_test_no_output instead of send_gdb.
2771
2772 2010-08-19 Pedro Alves <pedro@codesourcery.com>
2773
2774 * gdb.python/py-shared.exp: New file, factored out from
2775 python.exp.
2776 * gdb.python/py-shared.c: New file.
2777 * gdb.python/py-shared-sl.c: New file.
2778 * gdb.python/python-1.c: New file.
2779 * gdb.python/python-sl.c: Delete.
2780 * gdb.python/python.c: Mention python-1.c.
2781 * gdb.python/python.exp: Move shared library tests to
2782 py-shared.exp.
2783 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2784 (MISCELLANEOUS): New.
2785 (clean mostlyclean): Also remove $MISCELLANEOUS.
2786
2787 2010-08-19 Doug Evans <dje@google.com>
2788
2789 PR exp/11926
2790 * gdb.base/printcmds.exp (test_float_accepted): New function.
2791 Move existing float tests there. Add tests for floats with suffixes.
2792 (test_float_rejected): New function.
2793 * gdb.java/jv-print.exp (test_float_accepted): New function.
2794 (test_float_rejected): New function.
2795 * gdb.objc/print.exp: New file.
2796 * gdb.pascal/print.exp: New file.
2797 * lib/objc.exp: New file.
2798
2799 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2800
2801 * gdb.base/default.exp (info set): Avoid full buffer error and force
2802 reading up to final gdb prompt.
2803 (show): Likewise.
2804
2805 2010-08-18 Tom Tromey <tromey@redhat.com>
2806
2807 PR symtab/11919:
2808 * gdb.base/completion.exp: Add test.
2809
2810 2010-08-18 Doug Evans <dje@google.com>
2811
2812 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2813 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2814 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2815 Simplify, early exit if runto_main fails.
2816 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2817 (set_lang_fortran): Moved to lib/fortran.exp.
2818 * gdb.fortran/types.exp: load_lib fortran.exp.
2819 (set_lang_fortran): Moved to lib/fortran.exp.
2820 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2821 * gdb.java/jprint.exp (set_lang_java): Ditto.
2822 * gdb.java/jv-exp.exp: load_lib java.exp.
2823 If set_lang_java fails, issue a warning instead of failure to be
2824 consistent with other set_lang_foo uses.
2825 (set_lang_java): Moved to lib/java.exp.
2826 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2827 If set_lang_java fails, issue a warning instead of failure to be
2828 consistent with other set_lang_foo uses.
2829 * gdb.pascal/types.exp: load_lib pascal.exp.
2830 (set_lang_pascal): Moved to lib/pascal.exp.
2831 * lib/fortran.exp: New file.
2832 * lib/java.exp (set_lang_java): New function.
2833 * lib/pascal.exp (set_lang_pascal): New function.
2834
2835 2010-08-18 Yao Qi <yao@codesourcery.com
2836
2837 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2838 func_nofb_start and func_loopfb_start, so that address of functions
2839 is equal to these labels on Thumb.
2840
2841 2010-08-18 Yao Qi <yao@codesourcery.com>
2842
2843 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2844 to reflect latest c source file.
2845
2846 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2847
2848 * gdb.cp/infcall-dlopen.exp: New file.
2849 * gdb.cp/infcall-dlopen.cc: New file.
2850 * gdb.cp/infcall-dlopen-lib.cc: New file.
2851
2852 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2853 Pedro Alves <pedro@codesourcery.com>
2854
2855 PR breakpoints/11371
2856
2857 * gdb.base/watch-cond-infcall.exp: New file.
2858 * gdb.base/watch-cond-infcall.c: New file.
2859
2860 2010-08-16 Tom Tromey <tromey@redhat.com>
2861
2862 * gdb.base/help.exp: Update.
2863 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2864 watchpoint.
2865 (test_watch_location): New proc.
2866 (test_watchpoint_in_big_blob): Delete watchpoint.
2867 * gdb.base/watchpoint.c (func5): New function.
2868 (main): Call it.
2869
2870 2010-08-16 Doug Evans <dje@google.com>
2871
2872 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2873
2874 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2875
2876 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2877 tests.
2878
2879 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2880
2881 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2882 * gdb.base/gnu_vector.c: New File.
2883 * gdb.base/gnu_vector.exp: Likewise.
2884
2885 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2886
2887 * gdb.python/python.c: New File.
2888 * gdb.python/python-sl.c: New File.
2889 * gdb.python/python.exp: Test solib_address and decode_line
2890 * functions.
2891
2892 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2893
2894 * gdb.python/python.exp (show height, set height 10)
2895 (verify pagination beforehand, verify pagination beforehand: q)
2896 (gdb.execute does not page, verify pagination afterwards)
2897 (verify pagination afterwards: q): New.
2898
2899 2010-08-02 Doug Evans <dje@google.com>
2900
2901 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2902 because of an older gcc, change test2
2903 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2904 to unsupported.
2905
2906 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2907
2908 * gdb.base/break-always.exp: Do not expect full paths to file
2909 names.
2910 * gdb.base/commands.exp: Likewise.
2911
2912 2010-07-30 Doug Evans <dje@google.com>
2913
2914 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2915 xfail them when run with older gccs.
2916
2917 * lib/gdb.exp (build_executable): Forward "c++" option to
2918 get_compiler_info.
2919
2920 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2921 "python print ttype.template_argument(1)" and
2922 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2923 if using gcc 4.4 or earlier.
2924
2925 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2926 attach-to-debugger handling.
2927
2928 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2929
2930 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2931 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2932 (main): Use copyreloc.
2933 * gdb.base/prelink.exp (split debug of executable)
2934 (.dynbss vs. .bss address shift): New tests.
2935
2936 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2937
2938 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2939 in gdb_test_multiple.
2940
2941 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2942
2943 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2944 environment.
2945
2946 2010-07-28 Tom Tromey <tromey@redhat.com>
2947
2948 PR python/11060:
2949 * gdb.python/py-type.c (Temargs): New template.
2950 (temvar): New variable.
2951 * gdb.python/py-type.exp (test_template): New proc.
2952
2953 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2954
2955 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2956 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2957
2958 2010-07-28 Tom Tromey <tromey@redhat.com>
2959
2960 PR c++/9946:
2961 * gdb.cp/temargs.exp: New file.
2962 * gdb.cp/temargs.cc: New file.
2963
2964 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2965
2966 * gdb.base/help.exp (help disassemble): Update the content.
2967
2968 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2969
2970 * gdb.threads/ia64-sigill.exp: New file.
2971 * gdb.threads/ia64-sigill.c: New file.
2972
2973 2010-07-27 Tom Tromey <tromey@redhat.com>
2974
2975 * gdb.opt/inline-cmds.c (ATTR): New define.
2976 (func1): Use it.
2977 (func2): Likewise.
2978 (func3): Likewise.
2979 (outer_inline1): Likewise.
2980 (outer_inline2): Likewise.
2981 * gdb.opt/inline-bt.c (ATTR): New define.
2982 (func1): Use it.
2983 (func2): Likewise.
2984 * gdb.opt/inline-locals.c (ATTR): New define.
2985 (func1): Use it.
2986 (func2): Likewise.
2987
2988 2010-07-27 Tom Tromey <tromey@redhat.com>
2989
2990 * gdb.stabs/gdb11479.c (hack): New function.
2991 (test): Use it.
2992 (test2): Use it.
2993 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2994 (int32_search_buf, int64_search_buf): No longer static.
2995 (x): Remove.
2996 * gdb.base/relocate.c (hack): New function.
2997
2998 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2999
3000 * gdb.python/py-value.exp (test_inferior_function_call): New function.
3001 * gdb.python/py-value.c (func1): New function.
3002 (func2): Likewise.
3003
3004 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
3005
3006 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
3007 as not to clash with .data section.
3008
3009 2010-07-26 Jerome Guitton <guitton@adacore.com>
3010
3011 * gdb.base/code_elim.exp: New file.
3012 * gdb.base/code_elim1.c: New file.
3013 * gdb.base/code_elim2.c: New file.
3014
3015 2010-07-21 Pedro Alves <pedro@codesourcery.com>
3016
3017 PR symtab/11827
3018
3019 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
3020 (some_volatile_enum): New variable.
3021 * gdb.base/printcmds.exp (test_print_enums): New.
3022 <top level>: Call it.
3023
3024 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
3025
3026 * gdb.cp/fpointer.cc: New test.
3027 * gdb.cp/fpointer.exp: New test.
3028
3029 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3030
3031 * gdb.base/solib-nodir.exp: New file.
3032 * lib/gdb.exp (runto): New case for a GDB internal error.
3033
3034 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3035 Ulrich Weigand <uweigand@de.ibm.com>
3036 Tom Tromey <tromey@redhat.com>
3037
3038 * gdb.base/charset-malloc.c: New file.
3039 * gdb.base/charset.c (malloc_stub): New prototype.
3040 (main): Call it instead of malloc itself.
3041 * gdb.base/charset.exp: Use only prepare_for_testing.
3042 (binfile): Remove the variable.
3043
3044 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3045
3046 Make core files the process_stratum.
3047 * gdb.base/corefile.exp (run: load core again)
3048 (run: sanity check we see the core file, run: with core)
3049 (run: core file is cleared, attach: load core again)
3050 (attach: sanity check we see the core file, attach: with core)
3051 (attach: core file is cleared): New tests.
3052 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
3053
3054 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
3055
3056 * gdb.arch/altivec-abi.exp: New tests.
3057
3058 2010-07-13 Tom Tromey <tromey@redhat.com>
3059
3060 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3061 (main): Use it.
3062 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3063
3064 2010-07-13 Tom Tromey <tromey@redhat.com>
3065
3066 * gdb.base/label.exp: New file.
3067 * gdb.base/label.c: New file.
3068
3069 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
3070 H.J. Lu <hongjiu.lu@intel.com>
3071
3072 * lib/gdb.exp (is_ilp32_target): New.
3073 (is_lp64_target): Likewise.
3074
3075 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3076 target.
3077 * gdb.arch/amd64-disp-step.exp: Likewise.
3078 * gdb.arch/amd64-dword.exp: Likewise.
3079 * gdb.arch/amd64-i386-address.exp: Likewise.
3080 * gdb.arch/amd64-word.exp: Likewise.
3081
3082 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3083 target.
3084 * gdb.arch/i386-bp_permanent.exp: Likewise.
3085 * gdb.arch/i386-byte.exp: Likewise.
3086 * gdb.arch/i386-disp-step.exp: Likewise.
3087 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3088 * gdb.arch/i386-prologue.exp: Likewise.
3089 * gdb.arch/i386-size-overlap.exp: Likewise.
3090 * gdb.arch/i386-size.exp: Likewise.
3091 * gdb.arch/i386-sse.exp: Likewise.
3092 * gdb.arch/i386-unwind.exp: Likewise.
3093 * gdb.arch/i386-word.exp: Likewise.
3094
3095 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
3096 test only when building 64-bit executables. Do not hard-code
3097 -m64 option.
3098
3099 2010-07-07 Doug Evans <dje@google.com>
3100
3101 * lib/gdb.exp (gdb_test_list_exact): New function.
3102 * gdb.base/default.exp (show convenience): Call it, add tests for
3103 $_sdata = void, $_thread = 0.
3104
3105 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3106 Joel Brobecker <brobecker@adacore.com>
3107
3108 Fix re-run of PIE executable, PR shlibs/11776.
3109 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
3110 Remove $displacement_main to match the solib-svr4.c change. New "kill"
3111 and re-"run" of the inferior.
3112
3113 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3114 Joel Brobecker <brobecker@adacore.com>
3115
3116 Cope with missing /usr/sbin/prelink.
3117 * lib/prelink-support.exp (prelink_no):
3118 <result == 1 && $output is "no such file or directory">: New.
3119 (prelink_yes): Likewise. Return on failed prelink_no.
3120
3121 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3122 Joel Brobecker <brobecker@adacore.com>
3123
3124 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
3125 build_executable by build_executable_own_libs. Replace "prelink -R"
3126 execution by a call of prelink_yes. Comment why "prelink -r" needs no
3127 change.
3128 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
3129 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
3130 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
3131 Replace build_executable by build_executable_own_libs's function
3132 build_executable_own_libs.
3133 (prelinkNO): Create new stub to call prelink_no.
3134 (prelinkYES): Create new stub to call prelink_yes.
3135 (test_attach): Rename calls of copy to file_copy.
3136 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
3137 (copy): Move to ...
3138 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
3139 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
3140 * gdb.base/prelink.exp: Disable testcase also for is_remote and
3141 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
3142 special flags by gdb_compile_shlib. Replace second gdb_compile by
3143 build_executable_own_libs. Replace "prelink -R" execution by a call of
3144 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
3145 a second call of prelink_yes. Replace restart commands by
3146 clean_restart.
3147 (prelink): Rename to ...
3148 (seen displacement message): ... this test. Extend its expectation
3149 strictness.
3150
3151 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3152
3153 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
3154 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
3155 displacement message exactly once.
3156
3157 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3158 Joel Brobecker <brobecker@adacore.com>
3159
3160 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
3161 its restore after the <$relink_args != ""> loop. new comment.
3162
3163 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3164 Joel Brobecker <brobecker@adacore.com>
3165
3166 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
3167 code for it. New variable relink_args.
3168 (prelinkYES): Call prelinkNO.
3169 (test_attach): Accept new parameter relink_args. Re-prelink the binary
3170 in such case. Move the core code to ...
3171 (test_attach_gdb): ... a new function. Send GDB command "file".
3172 Extend expected "Attaching to " string.
3173
3174 2010-07-02 Tom Tromey <tromey@redhat.com>
3175
3176 * gdb.base/bitops.exp: Remove extraneous "pass".
3177
3178 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
3179
3180 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3181
3182 2010-07-01 Pedro Alves <pedro@codesourcery.com>
3183
3184 * gdb.base/help.exp: Adjust expected output.
3185
3186 2010-07-01 Pedro Alves <pedro@codesourcery.com>
3187
3188 * gdb.base/help.exp: Adjust expected output.
3189
3190 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3191
3192 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
3193 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
3194 c++/11702.
3195
3196 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3197 Doug Evans <dje@google.com>
3198
3199 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
3200 add .dynamic entry'.
3201
3202 2010-06-29 Doug Evans <dje@google.com>
3203
3204 Test PR c++/11702.
3205 * gdb.cp/m-static.exp: Add testcase.
3206 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
3207
3208 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
3209 Tom Tromey <tromey@redhat.com>
3210 Thiago Jung Bauermann <bauerman@br.ibm.com>
3211
3212 * gdb.python/py-inferior.c: New File.
3213 * gdb.python/py-infthread.c: New File.
3214 * gdb.python/py-inferior.exp: New File.
3215 * gdb.python/py-infthread.exp: New File.
3216
3217 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3218
3219 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
3220 (ptype ::C::OtherFileClass typedefs): New.
3221 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
3222 (C::OtherFileClass::cOtherFileClassVar2): New.
3223 (C::OtherFileClass::cOtherFileClassVar_use): Use also
3224 cOtherFileClassVar2.
3225 (C::cOtherFileType2, C::cOtherFileVar2): New.
3226 (C::cOtherFileVar_use): use also cOtherFileVar2.
3227 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
3228
3229 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3230
3231 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
3232 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
3233 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
3234 (print ::C::cOtherFileVar)
3235 (whatis C::OtherFileClass::cOtherFileClassType)
3236 (whatis ::C::OtherFileClass::cOtherFileClassType)
3237 (print C::OtherFileClass::cOtherFileClassVar)
3238 (print ::cOtherFileClassVar)
3239 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
3240 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
3241 trailing content.
3242 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
3243 (C::OtherFileClass::cOtherFileClassVar)
3244 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
3245 (C::cOtherFileVar, C::cOtherFileVar_use): New.
3246
3247 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3248
3249 Test PR c++/11703 and PR gdb/1448.
3250 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
3251 gdb/1448.
3252
3253 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3254
3255 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
3256 (main) <rtti_data>: New.
3257 * gdb.cp/virtbase.exp (print rtti_data): New.
3258
3259 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3260 Joel Brobecker <brobecker@adacore.com>
3261
3262 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
3263
3264 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3265
3266 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
3267
3268 2010-06-28 Doug Evans <dje@google.com>
3269
3270 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
3271
3272 2010-06-27 Doug Evans <dje@google.com>
3273
3274 * gdb.cp/m-static.exp: Update expected test output.
3275
3276 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
3277
3278 * gdb.gdb/selftest.exp: Adjust expected message for
3279 capturing start-up runtime.
3280
3281 2010-06-25 Tom Tromey <tromey@redhat.com>
3282
3283 PR python/10808:
3284 * gdb.python/python.exp: Add new tests.
3285
3286 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
3287
3288 * gdb.cp/operator.cc: Created an import loop.
3289 * gdb.cp/operator.exp: Added testcase for import loop.
3290
3291 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3292
3293 Test PR python/11407.
3294 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
3295 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
3296 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
3297 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
3298 executable_nofb and executable_fb. New variables srcsfile, objsfile,
3299 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
3300 binfile. Call gdb_compile with clean_restart twice.
3301 (func_nofb print, func_nofb backtrace, func_loopfb print)
3302 (func_loopfb backtrace): New.
3303
3304 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3305
3306 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
3307 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
3308 by a hand made one.
3309 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
3310 i?86 requirement. Remove variables srcfile and binfile. New variable
3311 sources, executable_nofb and executable_fb. Call prepare_for_testing.
3312
3313 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3314
3315 * gdb.cell/dwarfaddr.exp: New file.
3316 * gdb.cell/dwarfaddr.S: New file.
3317
3318 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3319
3320 Test PR 9436.
3321 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
3322
3323 2010-06-24 Hui Zhu <teawater@gmail.com>
3324
3325 * gdb.base/eval.exp: New file.
3326
3327 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3328
3329 * gdb.cell/fork.exp: New file.
3330 * gdb.cell/fork.c: Likewise.
3331 * gdb.cell/fork-spu.c: Likewise.
3332
3333 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
3334
3335 * lib/gdb.exp (banned_variables_traced): New global variable.
3336 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
3337 (gdb_init): Use `trace add variable' instead of obsolete
3338 `trace variable'.
3339
3340 2010-06-21 Doug Evans <dje@google.com>
3341
3342 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
3343
3344 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3345
3346 * gdb.arch/spu-ls.exp: New file.
3347 * gdb.arch/spu-ls.c: Likewise.
3348
3349 2010-06-18 Stan Shebs <stan@codesourcery.com>
3350
3351 * gdb.threads/thread-specific.exp: Add tests of $_thread.
3352
3353 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3354
3355 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
3356 * gdb.base/watch-cond.exp: Likewise.
3357 * gdb.python/py-breakpoint.exp: Likewise.
3358
3359 2010-06-18 Pedro Alves <pedro@codesourcery.com>
3360
3361 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
3362 clean_restart, make sure every test has a distinct message, and
3363 that messages don't include the executable' full path.
3364
3365 2010-06-17 Doug Evans <dje@google.com>
3366
3367 * gdb.arch/i386-size.exp: Updated expected output for
3368 DISASSEMBLY_OMIT_FNAME.
3369
3370 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3371 Sergio Durigan Junior <sergiodj@redhat.com>
3372
3373 * gdb.base/watch-notconst.c: New file.
3374 * gdb.base/watch-notconst.S: New file.
3375 * gdb.base/watch-notconst2.c: New file.
3376 * gdb.base/watch-notconst2.S: New file.
3377 * gdb.base/watch-notconst.exp: New file.
3378 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
3379 (func4): Add operations on `global_ptr_ptr'.
3380 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
3381 routine to test watchpoints created with a constant expression.
3382 (test_inaccessible_watchpoint): Include tests for watchpoints
3383 created with a constant expression.
3384
3385 2010-06-14 Kevin Buettner <kevinb@redhat.com>
3386
3387 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
3388 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
3389 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
3390 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
3391 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
3392 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
3393 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
3394 of `_start'.
3395
3396 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3397
3398 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
3399 not supported on the target.
3400 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3401 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3402 * gdb.mi/mi-nsintrall.exp: Likewise.
3403 * gdb.mi/mi-nsmoribund.exp: Likewise.
3404 * gdb.mi/mi-nsthrexec.exp: Likewise.
3405
3406 2010-06-11 Stan Shebs <stan@codesourcery.com>
3407
3408 * gdb.base/permissions.exp: New file.
3409
3410 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3411
3412 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
3413 does not support ELF executable class.
3414
3415 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3416
3417 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
3418
3419 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3420
3421 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
3422 (runto): Catch "The target does not support running in non-stop mode.".
3423
3424 2010-06-11 Michael Snyder <msnyder@vmware.com>
3425
3426 * gdb.base/setshow.exp (set language asm): Don't use
3427 gdb_test_no_output, fails on some targets.
3428
3429 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3430
3431 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
3432 * gdb.cp/pr9167.exp: Likewise.
3433
3434 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3435
3436 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
3437
3438 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3439
3440 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
3441
3442 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3443
3444 * gdb.base/charset.c (main): Make sure malloc gets linked in.
3445
3446 2010-06-11 Tom Tromey <tromey@redhat.com>
3447
3448 PR gdb/9977, PR exp/11636::
3449 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
3450 (pieces_test_f6): Update expected output.
3451
3452 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3453
3454 * gdb.base/moribund-step.exp: New.
3455
3456 2010-06-08 Michael Snyder <msnyder@vmware.com>
3457
3458 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
3459 * gdb.ada/boolean_expr.exp:
3460 * gdb.ada/frame_args.exp: Ditto.
3461 * gdb.ada/lang_switch.exp: Ditto.
3462 * gdb.ada/ptype_arith_binop.exp: Ditto.
3463 * gdb.ada/ref_param.exp: Ditto.
3464 * gdb.ada/type_coercion.exp:Ditto.
3465
3466 * gdb.asm/asm-source.exp: Ditto.
3467
3468 * gdb.base/attach.exp: Ditto.
3469 * gdb.base/bitfields2.exp: Ditto.
3470 * gdb.base/call-signal-resume.exp: Ditto.
3471 * gdb.base/callfuncs.exp: Ditto.
3472 * gdb.base/commands.exp: Ditto.
3473 * gdb.base/dbx.exp: Ditto.
3474 * gdb.base/default.exp: Ditto.
3475 * gdb.base/dump.exp: Ditto.
3476 * gdb.base/exprs.exp: Ditto.
3477 * gdb.base/freebpcmd.exp: Ditto.
3478 * gdb.base/interrupt.exp: Ditto.
3479 * gdb.base/list.exp: Ditto.
3480 * gdb.base/long_long.exp: Ditto.
3481 * gdb.base/maint.exp: Ditto.
3482 * gdb.base/ptype.exp: Ditto.
3483 * gdb.base/return.exp: Ditto.
3484 * gdb.base/setshow.exp: Ditto.
3485 * gdb.base/sigbpt.exp: Ditto.
3486 * gdb.base/sigrepeat.exp: Ditto.
3487
3488 * gdb.cp/classes.exp: Ditto.
3489
3490 * gdb.dwarf2/dw2-restore.exp: Ditto.
3491
3492 * gdb.gdb/selftest.exp: Ditto.
3493
3494 * gdb.multi/base.exp: Ditto.
3495 * gdb.multi/bkpt-multi-exec.exp: Ditto.
3496
3497 * gdb.python/py-block.exp: Ditto.
3498 * gdb.python/py-prettyprint.exp: Ditto.
3499 * gdb.python/py-template.exp: Ditto.
3500
3501 * gdb.server/ext-attach.exp: Ditto.
3502 * gdb.server/ext-run.exp: Ditto.
3503 * gdb.server/server-mon.exp: Ditto.
3504
3505 * gdb.threads/fork-thread-pending.exp: Ditto.
3506 * gdb.threads/hand-call-in-threads.exp: Ditto.
3507 * gdb.threads/interrupted-hand-call.exp: Ditto.
3508 * gdb.threads/linux-dp.exp: Ditto.
3509 * gdb.threads/manythreads.exp: Ditto.
3510 * gdb.threads/print-threads.exp: Ditto.
3511 * gdb.threads/pthreads.exp: Ditto.
3512 * gdb.threads/schedlock.exp: Ditto.
3513 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3514 * gdb.threads/threadapply.exp: Ditto.
3515
3516 2010-06-08 Michael Snyder <msnyder@vmware.com>
3517
3518 * gdb.ada/exec_changed.exp:
3519 Use ".*" instead of "" as wildcard regexp.
3520
3521 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3522 * gdb.base/call-ar-st.exp: Ditto.
3523 * gdb.base/checkpoint.exp: Ditto.
3524 * gdb.base/default.exp: Ditto.
3525 * gdb.base/dump.exp: Ditto.
3526 * gdb.base/ending-run.exp: Ditto.
3527 * gdb.base/fileio.exp: Ditto.
3528 * gdb.base/miscexprs.exp: Ditto.
3529 * gdb.base/pointers.exp: Ditto.
3530 * gdb.base/readline.exp: Ditto.
3531 * gdb.base/reread.exp: Ditto.
3532 * gdb.base/restore.exp: Ditto.
3533 * gdb.base/shlib-call.exp: Ditto.
3534 * gdb.base/valgrind-db-attach.exp: Ditto.
3535 * gdb.base/volatile.exp: Ditto.
3536 * gdb.base/watchpoints.exp: Ditto.
3537
3538 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3539
3540 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3541 * gdb.python/py-value.exp: Ditto.
3542
3543 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3544 * gdb.trace/circ.exp: Ditto.
3545 * gdb.trace/collection.exp: Ditto.
3546 * gdb.trace/packetlen.exp: Ditto.
3547 * gdb.trace/passc-dyn.exp: Ditto.
3548 * gdb.trace/report.exp: Ditto.
3549 * gdb.trace/tfile.exp: Ditto.
3550 * gdb.trace/tfind.exp: Ditto.
3551 * gdb.trace/while-dyn.exp: Ditto.
3552
3553 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3554
3555 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3556
3557 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3558
3559 Test PR 10640.
3560 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3561
3562 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3563
3564 * gdb.cp/koenig.exp: Test for ADL operators.
3565 * gdb.cp/koenig.cc: Added ADL operators.
3566 * gdb.cp/operator.exp: New test.
3567 * gdb.cp/operator.cc: New test.
3568
3569 2010-06-04 Michael Snyder <msnyder@vmware.com>
3570
3571 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3572 * gdb.base/pending.exp: Ditto.
3573
3574 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3575
3576 2010-06-04 Doug Evans <dje@google.com>
3577
3578 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3579 disabled printers.
3580 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3581 (enable_lookup_function): New function.
3582
3583 2010-06-04 Tom Tromey <tromey@redhat.com>
3584
3585 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3586 of hash and id.
3587
3588 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3589
3590 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3591 newline.
3592 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3593 (empty verbose non-noisy clear, empty verbose noisy clear)
3594 (empty non-verbose noisy clear): Likewise.
3595
3596 2010-06-03 Michael Snyder <msnyder@vmware.com>
3597
3598 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3599 * gdb.base/display.exp: Ditto.
3600 * gdb.base/find.exp: Ditto.
3601 * gdb.base/ifelse.exp: Ditto.
3602 * gdb.base/multi-forks.exp: Ditto.
3603 * gdb.base/recurse.exp: Ditto.
3604 * gdb.base/setshow.exp: Ditto.
3605 * gdb.base/value-double-free.exp: Ditto.
3606 * gdb.base/watch-vfork.exp: Ditto.
3607 * gdb.base/watch_thread_num.exp: Ditto.
3608 * gdb.base/watchpoint-solib.exp: Ditto.
3609 * gdb.base/watchpoint.exp: Ditto.
3610 * gdb.base/watchpoints.exp: Ditto.
3611
3612 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3613 * gdb.cp/overload.exp: Ditto.
3614 * gdb.cp/virtfunc.exp: Ditto.
3615
3616 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3617
3618 * gdb.reverse/watch-precsave.exp:
3619 Replace gdb_test with gdb_test_no_output.
3620
3621 * gdb.threads/attach-into-signal.exp:
3622 Replace gdb_test with gdb_test_no_output.
3623 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3624 * gdb.threads/watchthreads.exp: Ditto.
3625 * gdb.threads/watchthreads2.exp: Ditto.
3626
3627 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3628 * gdb.trace/tfind.exp: Ditto.
3629
3630 2010-06-03 Joel Brobecker <brobecker@adacore.com>
3631
3632 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3633 successful test if message is the empty string.
3634
3635 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3636
3637 * gdb.fortran/module.exp (stopped language detection): New test.
3638
3639 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3640
3641 Support DW_TAG_module as separate namespaces.
3642 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3643 gdb.fortran/library-module-lib.f90: New.
3644 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3645 (print i): Remove.
3646 (continue to breakpoint: i-is-1, print var_i value 1)
3647 (continue to breakpoint: i-is-2, print var_i value 2)
3648 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3649 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3650 (complete `modmany, complete `modmany`, complete `modmany`var)
3651 (show language, setting breakpoint at module): New tests.
3652 * gdb.fortran/module.f90 (module mod): Remove.
3653 (module mod1, module mod2, module modmany, subroutine sub1)
3654 (subroutine sub2, program module): New.
3655
3656 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3657
3658 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3659 (print value of rUC, print value of rI, print value of UI): ... here.
3660 * gdb.cp/anon-union.exp (pass): Rename to ...
3661 (print z 2): ... here.
3662
3663 2010-06-02 Michael Snyder <msnyder@vmware.com>
3664
3665 * gdb.trace/actions.exp: Use gdb_test_no_output.
3666 * gdb.trace/circ.exp: Ditto.
3667 * gdb.trace/packetlen.exp: Ditto.
3668 * gdb.trace/save-trace.exp: Ditto.
3669 * gdb.trace/tracecmd.exp: Ditto.
3670 * gdb.trace/tsv.exp: Ditto.
3671
3672 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3673 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3674 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3675 * gdb.threads/manythreads.exp: Ditto.
3676 * gdb.threads/print-threads.exp: Ditto.
3677 * gdb.threads/pthreads.exp: Ditto.
3678 * gdb.threads/schedlock.exp: Ditto.
3679 * gdb.threads/staticthreads.exp: Ditto.
3680 * gdb.threads/thread-specific.exp: Ditto.
3681 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3682 * gdb.threads/threadapply.exp: Ditto.
3683 * gdb.threads/watchthreads.exp: Ditto.
3684 * gdb.threads/watchthreads2.exp: Ditto.
3685
3686 * gdb.python/py-block.exp: Use gdb_test_no_output.
3687 * gdb.python/py-prettyprint.exp: Ditto.
3688 * gdb.python/py-template.exp: Ditto.
3689 * gdb.python/py-value.exp: Ditto.
3690
3691 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3692 * gdb.reverse/watch-reverse.exp: Ditto.
3693
3694 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3695 * gdb.server/ext-run.exp: Ditto.
3696
3697 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3698 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3699 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3700 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3701 * gdb.dwarf2/dw2-producer.exp: Ditto.
3702 * gdb.dwarf2/mac-fileno.exp: Ditto.
3703
3704 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3705 * gdb.gdb/selftest.exp: Ditto.
3706
3707 * gdb.multi/base.exp: Use gdb_test_no_output.
3708
3709 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3710
3711 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3712
3713 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3714
3715 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3716
3717 * gdb.cp/class2.exp: Use gdb_test_no_output.
3718 * gdb.cp/classes.exp: Ditto.
3719 * gdb.cp/extern-c.exp: Ditto.
3720 * gdb.cp/inherit.exp: Ditto.
3721 * gdb.cp/maint.exp: Ditto.
3722 * gdb.cp/mb-inline.exp: Ditto.
3723 * gdb.cp/mb-templates.exp: Ditto.
3724 * gdb.cp/method2.exp: Ditto.
3725 * gdb.cp/misc.exp: Ditto.
3726 * gdb.cp/ovldbreak.exp: Ditto.
3727 * gdb.cp/punctuator.exp: Ditto.
3728 * gdb.cp/templates.exp: Ditto.
3729 * gdb.cp/virtbase.exp: Ditto.
3730
3731 * gdb.threads/attach-stopped.exp:
3732 Replace uses of send_gdb / gdb_expect.
3733 * gdb.threads/attachstop-mt.exp:
3734 Replace uses of send_gdb / gdb_expect.
3735 * gdb.threads/gcore-thread.exp:
3736 Replace uses of send_gdb / gdb_expect.
3737 * gdb.threads/hand-call-in-threads.exp:
3738 Replace uses of send_gdb / gdb_expect.
3739 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
3740 * gdb.threads/print-threads.exp:
3741 Replace uses of send_gdb / gdb_expect.
3742 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3743 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3744 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3745
3746 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3747 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3748 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3749 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3750 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3751 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3752 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3753 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3754 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3755 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3756 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3757
3758 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3759
3760 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3761
3762 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3763
3764 * gdb.cp/koenig.exp: Added new test case.
3765 * gdb.cp/koenig.cc: Ditto.
3766
3767 2010-06-01 Michael Snyder <msnyder@vmware.com>
3768
3769 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3770 * gdb.base/arrayidx.exp: Ditto.
3771 * gdb.base/attach.exp: Ditto.
3772 * gdb.base/auxv.exp: Ditto.
3773 * gdb.base/bigcre.exp: Ditto.
3774 * gdb.base/break-always.exp: Ditto.
3775 * gdb.base/break-interp.exp: Ditto.
3776 * gdb.base/break.exp: Ditto.
3777 * gdb.base/breakpoint-shadow.exp: Ditto.
3778 * gdb.base/call-ar-st.exp: Ditto.
3779 * gdb.base/call-sc.exp: Ditto.
3780 * gdb.base/call-signal-resume.exp: Ditto.
3781 * gdb.base/callfuncs.exp: Ditto.
3782 * gdb.base/catch-syscall.exp: Ditto.
3783 * gdb.base/charset.exp: Ditto.
3784 * gdb.base/code-expr.exp: Ditto.
3785 * gdb.base/commands.exp: Ditto.
3786 * gdb.base/cond-expr.exp: Ditto.
3787 * gdb.base/condbreak.exp: Ditto.
3788 * gdb.base/cursal.exp: Ditto.
3789 * gdb.base/cvexpr.exp: Ditto.
3790 * gdb.base/default.exp: Ditto.
3791 * gdb.base/del.exp: Ditto.
3792 * gdb.base/detach.exp: Ditto.
3793 * gdb.base/display.exp: Ditto.
3794 * gdb.base/ena-dis-br.exp: Ditto.
3795 * gdb.base/eval-skip.exp: Ditto.
3796 * gdb.base/foll-fork.exp: Ditto.
3797 * gdb.base/foll-vfork.exp: Ditto.
3798 * gdb.base/frame-args.exp: Ditto.
3799 * gdb.base/funcargs.exp: Ditto.
3800 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3801 * gdb.base/gdbvars.exp: Ditto.
3802 * gdb.base/help.exp: Ditto.
3803 * gdb.base/ifelse.exp: Ditto.
3804 * gdb.base/included.exp: Ditto.
3805 * gdb.base/list.exp: Ditto.
3806 * gdb.base/macscp.exp: Ditto.
3807 * gdb.base/maint.exp: Ditto.
3808 * gdb.base/multi-fork.exp: Ditto.
3809 * gdb.base/overlays.exp: Ditto.
3810 * gdb.base/page.exp: Ditto.
3811 * gdb.base/pending.exp: Ditto.
3812 * gdb.base/pointers.exp: Ditto.
3813 * gdb.base/pr11022.exp: Ditto.
3814 * gdb.base/prelink.exp: Ditto.
3815 * gdb.base/printcmds.exp: Ditto.
3816 * gdb.base/psymtab.exp: Ditto.
3817 * gdb.base/randomize.exp: Ditto.
3818 * gdb.base/relational.exp: Ditto.
3819 * gdb.base/relocate.exp: Ditto.
3820 * gdb.base/remote.exp: Ditto.
3821 * gdb.base/sepdebug.exp: Ditto.
3822 * gdb.base/set-lang-auto.exp: Ditto.
3823 * gdb.base/setshow.exp: Ditto.
3824 * gdb.base/setvar.exp: Ditto.
3825 * gdb.base/signals.exp: Ditto.
3826 * gdb.base/signull.exp: Ditto.
3827 * gdb.base/sigstep.exp: Ditto.
3828 * gdb.base/sizeof.exp: Ditto.
3829 * gdb.base/solib-disc.exp: Ditto.
3830 * gdb.base/store.exp: Ditto.
3831 * gdb.base/structs.exp: Ditto.
3832 * gdb.base/structs2.exp: Ditto.
3833 * gdb.base/subst.exp: Ditto.
3834 * gdb.base/term.exp: Ditto.
3835 * gdb.base/trace-commands.exp: Ditto.
3836 * gdb.base/unwindonsignal.exp: Ditto.
3837 * gdb.base/valgrind-db-attach.exp: Ditto.
3838 * gdb.base/varargs.exp: Ditto.
3839 * gdb.base/watch-cond.exp: Ditto.
3840 * gdb.base/watch_thread_num.exp: Ditto.
3841 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3842 * gdb.base/watchpoint.exp: Ditto.
3843 * gdb.base/whatis-exp.exp: Ditto.
3844
3845 2010-06-01 Michael Snyder <msnyder@vmware.com>
3846
3847 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3848 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3849 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3850 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3851 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3852 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3853 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3854 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3855 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3856 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3857 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3858 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3859 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3860 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3861 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3862
3863 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3864
3865 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3866 trailing newline.
3867 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3868 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3869 (p *args): ... here and remove excessive trailing newline.
3870
3871 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3872
3873 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3874
3875 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3876
3877 Accept the new Linux kernel "t (tracing stop)" string.
3878 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3879 Update comment.
3880 (state_wait) <T (tracing stop)>: New.
3881 (main): Update the state_wait expect string.
3882
3883 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3884
3885 * limits.c, limits.exp: Delete files.
3886 * Makefile.in (clean mostlyclean): Adjust.
3887 * tracecmd.exp: Adjust.
3888
3889 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3890
3891 * gdb.base/tui-layout.exp: New.
3892
3893 2010-05-28 Michael Snyder <msnyder@vmware.com>
3894
3895 * gdb.reverse/break-precsave.exp:
3896 Replace uses of send_gdb / gdb_expect.
3897 * gdb.reverse/break-reverse.exp:
3898 Replace uses of send_gdb / gdb_expect.
3899 * gdb.reverse/consecutive-precsave.exp:
3900 Replace uses of send_gdb / gdb_expect.
3901 * gdb.reverse/consecutive-reverse.exp:
3902 Replace uses of send_gdb / gdb_expect.
3903 * gdb.reverse/finish-precsave.exp:
3904 Replace uses of send_gdb / gdb_expect.
3905 * gdb.reverse/finish-reverse.exp:
3906 Replace uses of send_gdb / gdb_expect.
3907 * gdb.reverse/i386-precsave.exp:
3908 Replace uses of send_gdb / gdb_expect.
3909 * gdb.reverse/i386-reverse.exp:
3910 Replace uses of send_gdb / gdb_expect.
3911 * gdb.reverse/i386-sse-reverse.exp:
3912 Replace uses of send_gdb / gdb_expect.
3913 * gdb.reverse/i387-env-reverse.exp:
3914 Replace uses of send_gdb / gdb_expect.
3915 * gdb.reverse/i387-stack-reverse.exp:
3916 Replace uses of send_gdb / gdb_expect.
3917 * gdb.reverse/machinestate-precsave.exp:
3918 Replace uses of send_gdb / gdb_expect.
3919 * gdb.reverse/machinestate.exp:
3920 Replace uses of send_gdb / gdb_expect.
3921 * gdb.reverse/sigall-precsave.exp:
3922 Replace uses of send_gdb / gdb_expect.
3923 * gdb.reverse/sigall-reverse.exp:
3924 Replace uses of send_gdb / gdb_expect.
3925 * gdb.reverse/solib-precsave.exp:
3926 Replace uses of send_gdb / gdb_expect.
3927 * gdb.reverse/solib-reverse.exp:
3928 Replace uses of send_gdb / gdb_expect.
3929 * gdb.reverse/step-precsave.exp:
3930 Replace uses of send_gdb / gdb_expect.
3931 * gdb.reverse/step-reverse.exp:
3932 Replace uses of send_gdb / gdb_expect.
3933 * gdb.reverse/until-precsave.exp:
3934 Replace uses of send_gdb / gdb_expect.
3935 * gdb.reverse/until-reverse.exp:
3936 Replace uses of send_gdb / gdb_expect.
3937 * gdb.reverse/watch-precsave.exp:
3938 Replace uses of send_gdb / gdb_expect.
3939 * gdb.reverse/watch-reverse.exp:
3940 Replace uses of send_gdb / gdb_expect.
3941
3942 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3943
3944 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3945 excessive newline.
3946
3947 2010-05-27 Michael Snyder <msnyder@vmware.com>
3948
3949 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3950 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3951 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3952 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3953 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3954 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3955 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3956 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3957 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3958 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3959 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3960 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3961 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3962 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3963 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3964 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3965 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3966 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3967 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3968
3969 2010-05-26 Michael Snyder <msnyder@vmware.com>
3970
3971 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3972 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3973
3974 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3975 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3976 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3977
3978 * gdb.reverse/consecutive-reverse.exp:
3979 Replace uses of send_gdb / gdb_expect.
3980 * gdb.reverse/consecutive-precsave.exp:
3981 Replace uses of send_gdb / gdb_expect.
3982
3983 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3984 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3985 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3986 * gdb.mi/mi-ns-stale-regcache.exp:
3987 Replace uses of send_gdb / gdb_expect.
3988 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3989 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3990 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3991 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3992 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3993 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3994 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3995 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3996 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3997
3998 2010-05-26 Michael Snyder <msnyder@vmware.com>
3999
4000 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
4001
4002 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
4003
4004 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
4005 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
4006 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
4007 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
4008 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
4009 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
4010 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
4011 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
4012 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
4013
4014 2010-05-25 Tom Tromey <tromey@redhat.com>
4015
4016 * gdb.base/macscp.exp: Add missing space after setup_kfail.
4017
4018 2010-05-25 Tom Tromey <tromey@redhat.com>
4019
4020 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
4021 argument order.
4022 * gdb.base/macscp.exp: Fix setup_kfail argument order.
4023 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
4024 order.
4025 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
4026 order.
4027 * gdb.base/call-sc.exp (setup_kfails): Remove.
4028 (setup_compiler_kfails): Remove.
4029 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
4030 argument order.
4031 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
4032 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
4033 (advancei): Fix setup_kfail argument order.
4034 * gdb.base/radix.exp: Fix setup_kfail argument order.
4035 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
4036 order.
4037 * gdb.base/structs.exp (setup_kfails): Remove.
4038 (setup_compiler_kfails): Fix setup_kfail argument order.
4039 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
4040 order.
4041 * gdb.java/jmain.exp: Fix setup_kfail argument order.
4042 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
4043 setup_kfail argument order.
4044 * gdb.cp/overload.exp: Fix setup_kfail argument order.
4045
4046 2010-05-25 Tom Tromey <tromey@redhat.com>
4047
4048 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
4049
4050 2010-05-25 Michael Snyder <msnyder@vmware.com>
4051
4052 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4053 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4054 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4055 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4056 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4057 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4058 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4059 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4060 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
4061 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4062 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4063 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4064 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4065 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4066 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4067 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4068 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4069 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4070 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4071 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4072 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4073 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4074 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
4075 * gdb.base/default.exp: Replace send_gdb with gdb_test.
4076 * gdb.base/define.exp: Replace send_gdb with gdb_test.
4077 * gdb.base/display.exp: Replace send_gdb with gdb_test.
4078 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4079 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4080 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4081 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4082 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4083 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4084 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4085 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4086 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4087 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4088 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
4089 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
4090 * gdb.base/help.exp: Replace send_gdb with gdb_test.
4091 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
4092 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
4093 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
4094 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
4095 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
4096 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
4097 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
4098 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
4099 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
4100
4101 2010-05-25 Doug Evans <dje@google.com>
4102
4103 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
4104 gdb.string_to_argv.
4105
4106 2010-05-21 Tom Tromey <tromey@redhat.com>
4107
4108 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
4109 Call it.
4110 * gdb.dwarf2/pieces.S: Update.
4111 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
4112
4113 2010-05-21 Tom Tromey <tromey@redhat.com>
4114
4115 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
4116 Call it.
4117 * gdb.dwarf2/pieces.c (struct C): New.
4118 (f6): New function.
4119 * gdb.dwarf2/pieces.S: Replace.
4120
4121 2010-05-21 Tom Tromey <tromey@redhat.com>
4122
4123 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
4124 Call it.
4125
4126 2010-05-21 Tom Tromey <tromey@redhat.com>
4127
4128 * gdb.dwarf2.pieces.exp: New file.
4129 * gdb.dwarf2.pieces.S: New file.
4130 * gdb.dwarf2.pieces.c: New file.
4131
4132 2010-05-20 Pedro Alves <pedro@codesourcery.com>
4133 Joel Brobecker <brobecker@adacore.com>
4134
4135 * lib/gdb.exp (gdb_test_no_output): New function.
4136 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
4137 when testing commands that should produce no output.
4138
4139 2010-05-17 Joel Brobecker <brobecker@adacore.com>
4140
4141 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
4142 parameter that we want to watch being a constant.
4143
4144 2010-05-17 Joel Brobecker <brobecker@adacore.com>
4145
4146 * gdb.ada/cond_lang: New testcase.
4147
4148 2010-05-17 Joel Brobecker <brobecker@adacore.com>
4149
4150 * lib/gdb.exp (banned_variables): New variable/constant.
4151 (gdb_init): Add write trace on variables listed in banned_variables.
4152 (gdb_finish): Remove write traces on variables listed in
4153 banned_variables.
4154
4155 2010-05-17 Joel Brobecker <brobecker@adacore.com>
4156
4157 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
4158 * gdb.cp/koenig.exp: Likewise.
4159
4160 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
4161
4162 PR python/11482
4163
4164 * gdb.python/py-value.exp (test_value_hash): New function.
4165
4166 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
4167
4168 PR exp/11530.
4169 * gdb.base/gdb11530.c: New file.
4170 * gdb.base/gdb11530.exp: New file.
4171
4172 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4173
4174 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
4175 * gdb.dwarf2/dw2-modula2-self-type.S: New.
4176
4177 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
4178
4179 * gdb.cp/koenig.exp: New test.
4180 * gdb.cp/koenig.cc: New test program.
4181
4182 2010-05-05 Joel Brobecker <brobecker@adacore.com>
4183
4184 Remove the use of prms_id and bug_id throughout the testsuite.
4185
4186 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
4187
4188 PR exp/11349.
4189 * testsuite/gdb.cp/ref-types.exp: Add test to examine
4190 use a reference local variable.
4191
4192 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4193
4194 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
4195 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
4196 variable different_dir. Move debugfile into a full directory pathname
4197 under DIFFERENT_DIR.
4198 * lib/gdb.exp (separate_debug_filename): Remove.
4199 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
4200 variable debug_dir and mkdir of it. Update function comments.
4201
4202 2010-04-29 Pedro Alves <pedro@codesourcery.com>
4203
4204 PR gdb/11557
4205
4206 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
4207 files.
4208
4209 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
4210
4211 * gdb.python/py-param.exp: New File.
4212
4213 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
4214
4215 * gdb.base/default.exp: Fix "set language" test.
4216
4217 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
4218
4219 PR breakpoints/11531.
4220 * gdb.base/gdb11531.c: New file.
4221 * gdb.base/gdb11531.exp: New file.
4222
4223 2010-04-26 Tom Tromey <tromey@redhat.com>
4224
4225 * gdb.base/completion.exp: Add tests for completion and deprecated
4226 commands.
4227
4228 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4229
4230 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
4231 (print /x char_array): Escape curly brackets.
4232
4233 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4234
4235 Fix deadlock on looped list of loaded shared objects.
4236 * gdb.base/solib-corrupted.exp: New.
4237
4238 2010-04-23 Doug Evans <dje@google.com>
4239
4240 * gdb.python/py-section-script.c: New file.
4241 * gdb.python/py-section-script.exp: New file.
4242 * gdb.python/py-section-script.py: New file.
4243
4244 2010-04-20 Chris Moller <cmoller@redhat.com>
4245
4246 PR 10179
4247
4248 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
4249 * gdb.base/pr10179-a.c:
4250 * gdb.base/pr10179-b.c:
4251 * gdb.base/pr10179.exp: New files.
4252
4253 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4254
4255 Fix crashes on dangling display expressions.
4256 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
4257 is SEP.
4258 (lib_flags): Remove the "debug" keyword.
4259 (libsepdebug): New variable for iterating new loop.
4260 (save_pf_prefix): New variable wrapping the loop.
4261 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
4262 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
4263
4264 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4265
4266 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
4267
4268 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4269
4270 PR stabs/11479.
4271 * gdb.stabs/gdb11479.exp: New file.
4272 * gdb.stabs/gdb11479.c: New file.
4273
4274 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
4275
4276 * gdb.base/charset.c (Strin16, String32): New variables.
4277 * gdb.base/charset.exp (gdb_test): Test correct display
4278 of 16 or 32 bit strings.
4279
4280 2010-04-21 Chris Moller <cmoller@redhat.com>
4281
4282 PR 9167
4283 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
4284 * gdb.cp/pr9167.cc: New file.
4285 * gdb.cp/pr9167.exp: New file.
4286
4287
4288 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
4289
4290 PR pascal/11492.
4291 * gdb.pascal/gdb11492.pas: New file.
4292 * gdb.pascal/gdb11492.exp: New file.
4293
4294 2010-04-20 Joel Brobecker <brobecker@adacore.com>
4295
4296 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
4297
4298 2010-04-20 Joel Brobecker <brobecker@adacore.com>
4299
4300 * gdb.ada/dyn_loc: New testcase.
4301
4302 2010-04-20 Chris Moller <cmoller@redhat.com>
4303
4304 PR 10867
4305
4306 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
4307 * gdb.cp/pr10687.cc: New file.
4308 * gdb.cp/pr10687.exp: New file.
4309
4310
4311 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4312 Sergio Durigan Junior <sergiodj@redhat.com>
4313
4314 * gdb.fortran/logical.exp: New testcase.
4315 * gdb.fortran/logical.f90: New file.
4316
4317 2010-04-19 Doug Evans <dje@google.com>
4318
4319 * gdb.base/help.exp (help source): Update expected output.
4320
4321 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4322
4323 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
4324 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
4325 gdb_exit and return.
4326 (executable): New variable.
4327 (binfile): Use it.
4328
4329 2010-04-19 Pedro Alves <pedro@codesourcery.com>
4330
4331 PR breakpoints/8554.
4332
4333 * gdb.trace/save-trace.exp: Adjust.
4334
4335 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
4336
4337 PR corefiles/11511
4338 * gdb.arch/system-gcore.exp: New.
4339 * gdb.arch/gcore.c: Likewise.
4340
4341 2010-04-15 Doug Evans <dje@google.com>
4342
4343 * gdb.python/py-progspace.c: New file.
4344 * gdb.python/py-progspace.exp: New file.
4345
4346 * gdb.base/source.exp: Add tests for "source -s".
4347
4348 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
4349
4350 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
4351 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
4352 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
4353 * gdb.python/py-mi.exp: New test for to_string returning None.
4354
4355 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
4356
4357 * gdb.python/py-breakpoint.c: Make result global.
4358
4359 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4360
4361 Fix non-GNU make compatibility.
4362 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
4363
4364 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
4365
4366 * gdb.python/py-breakpoint.exp: New File.
4367 * gdb.python/py-breakpoint.C: Ditto.
4368
4369 2010-04-08 Stan Shebs <stan@codesourcery.com>
4370
4371 * gdb.trace/actions.exp: Clear default-collect.
4372 * gdb.trace/save-trace.exp: Clear default-collect.
4373
4374 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
4375
4376 * gdb.python/py-value: Add null string variable.
4377 (test_lazy_string): Test zero length, NULL address lazy
4378 strings.
4379
4380 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
4381
4382 * gdb.arch/i386-avx.c: New.
4383 * gdb.arch/i386-avx.exp: Likewise.
4384
4385 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
4386
4387 2010-04-06 Doug Evans <dje@google.com>
4388
4389 * gdb.base/source-test.gdb: New file.
4390 * gdb.base/source.exp: Test source -v.
4391
4392 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4393
4394 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
4395
4396 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
4397
4398 * gdb.stabs/aout.sed: Convert all backslash to double backslash
4399 within one line, unless it is followed by a double quote.
4400 * gdb.stabs/hppa.sed: Idem.
4401 * gdb.stabs/weird.def: Add char and String constants
4402 * gdb.stabs/weird.exp: Check for correct parsing of
4403 char and string constants.
4404 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
4405 in .stabs to .stabx substitution.
4406
4407 2010-04-05 Stan Shebs <stan@codesourcery.com>
4408
4409 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
4410 constant global.
4411 * gdb.trace/tfile.exp: Try to print them.
4412
4413 2010-04-04 Stan Shebs <stan@codesourcery.com>
4414
4415 * gdb.base/completion.exp: Update for new "info watchpoints".
4416 * gdb.base/default.exp: Ditto.
4417 * gdb.base/help.exp: Ditto.
4418 * gdb.base/watchpoint.exp: Ditto.
4419 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
4420
4421 2010-04-04 Stan Shebs <stan@codesourcery.com>
4422
4423 * gdb.trace/tfile.exp: Sharpen tfind test.
4424
4425 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4426
4427 * gdb.base/break-entry.exp: New.
4428
4429 2010-04-02 Hui Zhu <teawater@gmail.com>
4430 Michael Snyder <msnyder@vmware.com>
4431
4432 * gdb.reverse/i386-sse-reverse.exp: New file.
4433 * gdb.reverse/i386-sse-reverse.c: New file.
4434
4435 2010-04-02 Pedro Alves <pedro@codesourcery.com>
4436
4437 * gdb.trace/tfind.exp: Adjust expected disassembly output.
4438
4439 2010-04-01 Stan Shebs <stan@codesourcery.com>
4440
4441 * gdb.trace/actions.exp: Tweak expected output.
4442 * gdb.trace/while-stepping.exp: Tweak expected output.
4443
4444 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
4445
4446 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
4447
4448 2010-04-01 Pedro Alves <pedro@codesourcery.com>
4449
4450 * gdb.base/commands.exp: Adjust.
4451 * gdb.cp/extern-c.exp: Adjust.
4452
4453 2010-04-01 Pedro Alves <pedro@codesourcery.com>
4454
4455 * gdb.trace/collection.c (local_test_func): Define a local struct,
4456 and instanciate it.
4457
4458 2010-04-01 Pedro Alves <pedro@codesourcery.com>
4459
4460 * gdb.trace/collection.exp (gdb_collect_args_test)
4461 (gdb_collect_argarray_test): XFAIL the tests that assume the
4462 argarray argument's elements are collected.
4463
4464 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4465
4466 * gdb.dwarf2/dw2-bad-parameter-type.exp,
4467 gdb.dwarf2/dw2-bad-parameter-type.S: New.
4468
4469 2010-03-31 Stan Shebs <stan@codesourcery.com>
4470
4471 * gdb.trace/save-trace.exp: Test save/restore of default-collect
4472 and tracepoint conditionals.
4473 (gdb_verify_tracepoints): Delete unused return.
4474
4475 2010-03-26 Keith Seitz <keiths@redhat.com>
4476
4477 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
4478 appear in the output before main.
4479 Remove KFAIL for gdb/2215 aka bz 9320.
4480
4481 2010-03-30 Doug Evans <dje@google.com>
4482
4483 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
4484 by dejagnu.
4485 * gdb.arch/amd64-dword.exp: Ditto.
4486
4487 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
4488 match.
4489 (break printf): Ditto.
4490
4491 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
4492
4493 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
4494 gcc < 4.4.
4495 * gdb.cp/shadow.exp: Ditto.
4496
4497 2010-03-29 Pedro Alves <pedro@codesourcery.com>
4498
4499 * gdb.trace/collection.exp (run_trace_experiment): Make sure
4500 "tstart" is silent.
4501
4502 2010-03-29 Pedro Alves <pedro@codesourcery.com>
4503
4504 * gdb.trace/collection.exp (executable): New.
4505 (binfile): Use it.
4506 (fpreg, spreg, pcreg): New.
4507 (test_register): Use gdb_test_multiple. Pass /x to print.
4508 (prepare_for_trace_test): New.
4509 (run_trace_experiment): Use "continue", not gdb_run_cmd.
4510 (gdb_collect_args_test, gdb_collect_argstruct_test)
4511 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
4512 prepare_for_trace_test.
4513 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
4514 fpreg, spreg and pcreg.
4515 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4516 prepare_for_trace_test.
4517 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4518 try to detect tracing support here. Don't set breakpoints at
4519 `begin' or `end' here.
4520 <global scope>: Use clean_restart. Run to main before checking
4521 for tracing support. Check for for tracing support here.
4522
4523 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4524
4525 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4526 " as $displacement" to "seen displacement message".
4527
4528 2010-03-28 Pedro Alves <pedro@codesourcery.com>
4529
4530 * gdb.trace/while-dyn.exp (executable): New variable.
4531 (binfile): Use it.
4532 (test_while_stepping): New function. Move most tests here. Call
4533 it once for each of the while-stepping, stepping and ws aliases.
4534
4535 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4536
4537 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4538 that do not provide the tagless_struct type name at all.
4539 (test_print_anon_union): Do not check value of uninitialized
4540 union member. Do not use cp_test_ptype_class, so we can accept
4541 "long" as well as "long int".
4542
4543 2010-03-26 Pedro Alves <pedro@codesourcery.com>
4544
4545 * gdb.trace/tfile.c (tohex, bin2hex): New.
4546 (write_error_trace_file): Hexify error description.
4547
4548 2010-03-25 Stan Shebs <stan@codesourcery.com>
4549
4550 * gdb.trace/tfile.c: Generate an additional trace file, improve
4551 portability.
4552 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4553 files in a better way.
4554
4555 2010-03-25 Keith Seitz <keiths@redhat.com>
4556
4557 * gdb.java/jprint.exp: XFAIL printing of static class members
4558 because of GCC debuginfo problem.
4559
4560 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4561
4562 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4563
4564 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4565
4566 * gdb.base/completion.exp: Allow long instead of long int.
4567 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4568 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4569 variable p.
4570 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4571 * gdb.base/pointers.exp: Allow long instead of long int.
4572 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4573 * gdb.base/step-line.exp: Allow a directory before the source file name.
4574
4575 2010-03-24 Tom Tromey <tromey@redhat.com>
4576
4577 PR breakpoints/9352:
4578 * gdb.base/default.exp: Update.
4579 * gdb.base/commands.exp: Update.
4580 * gdb.cp/extern-c.exp: Test setting commands on multiple
4581 breakpoints at once.
4582
4583 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4584
4585 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4586 if gdb,nosignals.
4587 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4588 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4589 exited".
4590
4591 2010-03-24 Stan Shebs <stan@codesourcery.com>
4592
4593 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4594
4595 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4596
4597 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4598 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4599 argument. Handle "short" and "long".
4600 (Top level): Pass overprototyped output for old_fptr and xptr.
4601
4602 2010-03-23 Pedro Alves <pedro@codesourcery.com>
4603
4604 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4605 format strings and add casts to avoid compiler warnings.
4606
4607 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
4608
4609 * lib/trace-support.exp (gdb_trace_setactions):
4610 Don't expect whitespace after ">" prompt.
4611 * gdb.trace/actions.exp: Adjust for output changes.
4612 * gdb.trace/while-stepping.exp: Likewise.
4613
4614 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4615
4616 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4617 and r157645).
4618
4619 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4620
4621 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4622 New.
4623
4624 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4625
4626 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4627 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4628
4629 2010-03-19 Stan Shebs <stan@codesourcery.com>
4630
4631 * gdb.trace/ax.exp: New file.
4632
4633 2010-03-19 Doug Evans <dje@google.com>
4634
4635 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4636 output from gcc.
4637
4638 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4639 named /usr/sbin/prelink<foo>.
4640
4641 2010-03-18 Stan Shebs <stan@codesourcery.com>
4642
4643 * gdb.trace/circ.exp: Test circular-trace-buffer.
4644 * gdb.trace/tfile.exp: Update tstatus test.
4645
4646 2010-03-18 Joel Brobecker <brobecker@adacore.com>
4647
4648 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4649 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4650
4651 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4652
4653 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4654
4655 2010-03-18 Pedro Alves <pedro@codesourcery.com>
4656
4657 * gdb.base/default.exp: Adjust the expected output of the finish
4658 and until commands when the inferior is not being run.
4659
4660 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4661
4662 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4663 * gdb.cp/nsusing.exp: Ditto.
4664
4665 2010-03-15 Tom Tromey <tromey@redhat.com>
4666
4667 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4668 * gdb.cp/userdef.cc (operator==): New function.
4669 (main): New locals mem1, mem2.
4670
4671 2010-03-15 Jie Zhang <jie@codesourcery.com>
4672
4673 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4674 Declare and use new loadtimeout variable.
4675
4676 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4677
4678 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4679 Use gdb_load later.
4680
4681 2010-03-14 Pedro Alves <pedro@codesourcery.com>
4682
4683 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4684 literal. Add missing endlines to prints to stderr.
4685
4686 2010-03-12 Tom Tromey <tromey@redhat.com>
4687
4688 PR c++/9708:
4689 * gdb.cp/m-static.exp: Add regression test.
4690 * gdb.cp/m-static.cc (method): New method.
4691 (main): Call it.
4692
4693 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4694
4695 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4696 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4697
4698 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4699
4700 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4701
4702 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4703
4704 * lib/gdb.exp (skip_stl_tests): New.
4705 (gdb_compile): Symbian needs -ldl.
4706 (shlib_target_file): New.
4707 (shlib_symbol_file): New.
4708 (gdb_load_shlibs): Use shlib_target_file.
4709 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4710 * gdb.cp/exception.exp: Use skip_stl_tests.
4711 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4712 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4713 * gdb.cp/mb-templates.exp: Ditto.
4714 * gdb.base/commands.exp: Relax regexes.
4715 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4716 shlib_target_file and shlib_symbol_file.
4717 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4718 sections.
4719 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4720 * gdb.base/solib-disc.exp: Use
4721 shlib_target_file and shlib_symbol_file.
4722 * gdb.base/unload.exp: Don't skip on symbian. Use
4723 shlib_target_file and shlib_symbol_file.
4724 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4725
4726 2010-03-12 Pedro Alves <pedro@codesourcery.com>
4727
4728 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4729 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4730 Issue a tfind end before looking for a tracepoint frame.
4731 * gdb.trace/tfind.exp: Adjust tstatus output.
4732 Adjust disassembly output.
4733 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4734
4735 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4736
4737 * gdb.base/break-interp.exp: Create new displacement parameter value
4738 for the test_ld calls.
4739 (reach): New parameter displacement, verify its content. New push of
4740 pf_prefix "reach-$func:". Import global expect_out.
4741 (test_core): New parameter displacement, verify its content. New push
4742 of pf_prefix "core:". New command "set verbose on". Import global
4743 expect_out.
4744 (test_attach): New parameter displacement, verify its content. New
4745 push of pf_prefix "attach:". New command "set verbose on". Import
4746 global expect_out.
4747 (test_ld): New parameter displacement, pass it to the reach, test_core
4748 and test_attach calls and verify its content in the "ld.so exit" test.
4749 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4750 (prelink): Update expected text, use gdb_test.
4751
4752 2010-03-10 Doug Evans <dje@google.com>
4753
4754 * gdb.base/checkpoint.exp: Fix comment.
4755 Lengthen timeout while doing >600 checkpoints test.
4756 Rename duplicate "kill all one" test to keep test names unique.
4757
4758 2010-03-10 Pedro Alves <pedro@codesourcery.com>
4759
4760 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4761
4762 2010-03-08 Keith Seitz <keiths@redhat.com>
4763
4764 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4765 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4766 (dm_type_long): New function.
4767 (dm_type_unsigned_short): New function.
4768 (dm_type_unsigned_long): New function.
4769 (myint): New typedef.
4770 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4771 long, unsigned shor and long, operator char*, and typedef.
4772 (test_lookup_operator_functions): Add operator char* test.
4773 (test_paddr_operator_functions): Likewise.
4774 (test_paddr_overloaded_functions): Use probe values for
4775 short, long, and unsigned short and long.
4776 (test_paddr_hairy_functions): If the demangler probe detected
4777 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4778 demangler.
4779 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4780 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4781 and "print null_pmf".
4782 Add test "ptype a.*pmf".
4783 * gdb.cp/overload.exp: Allow optional "int" to appear with
4784 "short" and "long".
4785 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4786 long expect value for men_overload1arg.
4787 Allow "int" to appear with "short" and "long".
4788 When testing "info break", add argument for main (void).
4789 Also allow "int" to appear with "short" and "long".
4790 Ditto with "unsigned" and "long long".
4791 * gdb.java/jmain.exp: Do not enclose methods names in single
4792 quotes.
4793 * gdb.java/jmisc.exp: Likewise.
4794 * gdb.java/jprint.exp: Likewise.
4795 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4796
4797 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4798 * gdb.cp/exception.exp (backtrace after first throw)
4799 (backtrace after second throw): Allow a namespace before __cxa_throw.
4800 (backtrace after first catch, backtrace after second catch): Allow
4801 a namespace before __cxa_begin_catch.
4802
4803 * gdb.cp/cpexprs.exp: New file.
4804 * gdb.cp/cpexprs.cc: New file.
4805
4806 From Daniel Jacobowitz <dan@codesourcery.com>
4807 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4808 to use string_to_regexp.
4809 (ctor, dtor): New functions. Use them to match constructor
4810 and destructor function types.
4811 (Top level): Use runto_main.
4812
4813 2010-03-05 Tom Tromey <tromey@redhat.com>
4814
4815 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4816 gdb.target_charset.
4817 (pp_ns.to_string): Likewise.
4818
4819 2010-03-04 Keith Seitz <keiths@redhat.com>
4820
4821 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4822 can be quoted. Test that both the filename and function/line
4823 portions can be quoted at the same time.
4824
4825 2010-03-04 Pedro Alves <pedro@codesourcery.com>
4826
4827 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4828
4829 2010-03-03 Doug Evans <dje@google.com>
4830
4831 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4832 libc contains libpthread.
4833
4834 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4835 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4836 of gdb_compile. Add another pattern to match android backtrace.
4837
4838 2010-03-03 Tom Tromey <tromey@redhat.com>
4839
4840 PR gdb/11345:
4841 * gdb.base/printcmds.exp (test_printf): Add test.
4842
4843 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4844
4845 * gdb.arch/amd64-byte.exp: New.
4846 * gdb.arch/amd64-dword.exp: Likewise.
4847 * gdb.arch/amd64-pseudo.c: Likewise.
4848 * gdb.arch/amd64-word.exp: Likewise.
4849 * gdb.arch/i386-byte.exp: Likewise.
4850 * gdb.arch/i386-pseudo.c: Likewise.
4851 * gdb.arch/i386-word.exp: Likewise.
4852
4853 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4854
4855 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4856 types. Add structreg, bitfields, and flags registers.
4857 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4858 registers.
4859
4860 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4861
4862 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4863 (load_description): Set architecture if defined.
4864
4865 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4866
4867 * gdb.python/py-frame.exp: Add read_var block tests.
4868 * gdb.python/py-frame.c (block): New function.
4869
4870 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4871 Daniel Jacobowitz <dan@codesourcery.com>
4872
4873 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4874
4875 2010-02-25 David S. Miller <davem@davemloft.net>
4876
4877 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4878 fix logic for setting all_syscalls_numbers.
4879
4880 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4881
4882 * Makefile.in: Add py-block and py-symbol.
4883 * gdb.python/py-symbol.exp: New File.
4884 * gdb.python/py-symtab.exp: New File.
4885 * gdb.python/py-block.exp: New File.
4886 * gdb.python/py-symbol.c: New File.
4887 * gdb.python/py-block.c: New File.
4888
4889 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4890
4891 PR python/11314
4892 * lib/gdb.exp (skip_python_tests): New function.
4893 * gdb.python/py-cmd.exp: Use skip_python_tests.
4894 * gdb.python/py-frame.exp: Likewise.
4895 * gdb.python/py-function.exp: Likewise.
4896 * gdb.python/py-prettyprint.exp: Likewise.
4897 * gdb.python/py-template.exp: Likewise.
4898 * gdb.python/py-type.exp: Likewise.
4899 * gdb.python/py-value.exp: Likewise.
4900
4901 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4902
4903 PR9605
4904
4905 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4906
4907 2010-02-19 Tom Tromey <tromey@redhat.com>
4908
4909 PR c++/8693, PR c++/9496:
4910 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4911 regression tests.
4912
4913 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4914
4915 Fix compatibility with m68k as.
4916 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4917 Use only /* comments */.
4918
4919 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4920
4921 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4922 * configure: Regenerate.
4923
4924 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4925
4926 * gdb.python/py-type.exp: Check for Python support.
4927
4928 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4929
4930 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4931 `regsub' syntax available.
4932
4933 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4934
4935 * gdb.base/shmain.c (main): Remove printf call.
4936 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4937 * gdb.base/unload.c (main): Make format of fprintf a string
4938 literal. Add missing endlines to prints to stderr.
4939 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4940
4941 2010-02-17 Tom Tromey <tromey@redhat.com>
4942
4943 * gdb.java/jprint.java (jprint.props): New field.
4944 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4945
4946 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4947
4948 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4949 available.
4950
4951 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4952
4953 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4954 creation to support remote host testing.
4955
4956 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4957
4958 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4959 Recognize "command not found".
4960
4961 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4962
4963 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4964 single-stepping.
4965
4966 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4967
4968 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4969 if arguments are not supported.
4970
4971 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4972
4973 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4974 be const or non-const.
4975
4976 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4977
4978 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4979 mi_send_resuming_command to send -exec-continue.
4980
4981 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4982
4983 * gdb.base/list.exp (test_list_filename_and_function): Add test
4984 with single quotes.
4985 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4986 matching.
4987 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4988 Add KFAIL'd tests for PR gdb/11289.
4989
4990 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4991
4992 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4993
4994 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4995
4996 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4997 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4998 a temporary directory.
4999
5000 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5001
5002 * gdb.base/charset.exp: Use a single regular expression to match
5003 show host-charset and show target-charset output.
5004
5005 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5006
5007 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
5008 "Illegal process-id" expect string more exact.
5009 (attach to digits-starting nonsense is prohibited): New.
5010
5011 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5012
5013 * gdb.base/prelink.exp (set verbose on): New.
5014
5015 2010-02-12 Tomas Holmberg <th@virtutech.com>
5016
5017 * mi-reverse.exp: New file. Test for reverse option to the
5018 following MI commands: exec-continue, exec-finish, exec-next,
5019 exec-step, exec-next-instruction, exec-step-instruction.
5020
5021 2010-02-09 Joel Brobecker <brobecker@adacore.com>
5022
5023 * gdb.ada/ptype_tagged_param: New testcase.
5024
5025 2010-02-08 Tom Tromey <tromey@redhat.com>
5026
5027 PR c++/8017:
5028 * gdb.cp/overload.exp: Add tests.
5029 * gdb.cp/overload.cc (struct K): New.
5030 (namespace N): New.
5031 (main): Call new functions.
5032 (K::staticoverload): Define.
5033
5034 2010-02-08 Chris Moller <moller@mollerware.com>
5035
5036 PR gdb/10728
5037 * gdb.cp/pr10728-x.h: New file.
5038 * gdb.cp/pr10728-x.cc: New file.
5039 * gdb.cp/pr10728-y.cc: New file.
5040 * gdb.cp/pr10728.exp: New file.
5041 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
5042
5043 2010-02-08 Chris Moller <moller@mollerware.com>
5044
5045 PR gdb/9067
5046 * gdb.cp/pr9067.exp: New
5047 * gdb.cp/pr9067.cc: New
5048 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
5049
5050 2010-02-08 Joel Brobecker <brobecker@adacore.com>
5051
5052 * lib/gdb.exp (gdb_test_timeout): New global variable.
5053 Set it to timeout if not already set.
5054 (gdb_init): Reset the value of timeout to gdb_test_timeout.
5055
5056 2010-02-05 Doug Evans <dje@google.com>
5057
5058 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5059 user.
5060
5061 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
5062
5063 PR c++/7935:
5064 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5065
5066 2010-02-04 Tom Tromey <tromey@redhat.com>
5067
5068 * gdb.cp/virtbase.exp: Make test case names unique.
5069
5070 2010-02-02 Tom Tromey <tromey@redhat.com>
5071
5072 * gdb.cp/virtbase.exp: Add regression tests.
5073 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5074 (main): Instantiate RHC.
5075
5076 2010-02-02 Tom Tromey <tromey@redhat.com>
5077
5078 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5079 type-printing change.
5080
5081 2010-02-02 Tom Tromey <tromey@redhat.com>
5082
5083 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5084 * gdb.cp/virtbase.cc: New file.
5085 * gdb.cp/virtbase.exp: New file.
5086 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5087
5088 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5089
5090 PR libc/11214:
5091 * gdb.threads/current-lwp-dead.c: Include features.h.
5092 (HAS_NOMMU): New.
5093 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
5094
5095 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5096
5097 * gdb.base/symbol-without-target_section.exp,
5098 gdb.base/symbol-without-target_section.c: New.
5099
5100 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5101
5102 * gdb.base/bigcore.exp: Reset increased timeout.
5103 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
5104
5105 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5106
5107 * gdb.base/gcore.exp (capture_command_output): Use
5108 gdb_test_multiple.
5109
5110 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5111
5112 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
5113 * gdb.arch/thumb2-it.exp (test_it_break): New function.
5114 (Top level): Call it.
5115
5116 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
5117
5118 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
5119
5120 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5121
5122 * gdb.base/call-strs.exp, gdb.base/default.exp,
5123 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
5124 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
5125 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
5126 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
5127 gdb.base/watchpoint-solib.exp: Save and restore timeout.
5128 * gdb.base/ending-run.exp: Correct restore of timeout.
5129 * gdb.base/page.exp: Remove unnecessary timeout setting.
5130
5131 2010-01-29 Joel Brobecker <brobecker@adacore.com>
5132
5133 * gdb.ada/rec_return: New testcase.
5134
5135 2010-01-29 Joel Brobecker <brobecker@adacore.com>
5136
5137 * gdb.ada/call_pn: New testcase.
5138
5139 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5140
5141 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
5142 (Top level): Use it to resume.
5143 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
5144 the Thumb mode displaced stepping error as unsupported.
5145
5146 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
5147
5148 * gdb.cp/nsusing.exp: Added more tests.
5149 * gdb.cp/nsrecurs.exp: Ditto.
5150 * gdb.cp/nsusing.cc: Added test functions.
5151 * gdb.cp/nsrecurs.cc: Ditto.
5152
5153 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5154
5155 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
5156 absolute directory pathnames in gdb.sum file.
5157
5158 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
5159
5160 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
5161 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
5162
5163 2010-01-26 Tom Tromey <tromey@redhat.com>
5164
5165 PR exp/7643:
5166 * gdb.base/printcmds.exp (test_print_string_constants): Remove
5167 setup_kfail.
5168
5169 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
5170
5171 * gdb.cp/nsrecurs.exp: New test.
5172 * gdb.cp/nsrecurs.cc: New test program.
5173 * gdb.cp/nsstress.exp: New test.
5174 * gdb.cp/nsstress.cc: New test program.
5175 * gdb.cp/nsdecl.exp: New test.
5176 * gdb.cp/nsdecl.cc: New test program.
5177
5178 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
5179
5180 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
5181 imported into file scope.
5182 Marked test as xfail.
5183 * gdb.cp/namespace-using.cc (marker5): New function.
5184 * gdb.cp/shadow.exp: New test.
5185 * gdb.cp/shadow.cc: New test program.
5186 * gdb.cp/nsimport.exp: New test.
5187 * gdb.cp/nsimport.cc: New test program.
5188
5189 2010-01-25 Tom Tromey <tromey@redhat.com>
5190
5191 PR gdb/11049:
5192 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
5193 with "set print null-stop on".
5194
5195 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
5198 Adjust it for DISASSEMBLY_OMIT_FNAME.
5199
5200 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5201
5202 PR symtab/11199:
5203 * gdb.dwarf2/member-ptr-forwardref.exp,
5204 gdb.dwarf2/member-ptr-forwardref.S: New.
5205
5206 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5207
5208 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
5209 (thread1_func): Protect thread1_tid with thread1_tid_cond by
5210 thread1_tid_mutex. Remove gdbstop_mutex handling.
5211 (thread2_func): Protect thread2_tid with thread2_tid_cond by
5212 thread2_tid_mutex. Remove gdbstop_mutex handling.
5213 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
5214 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
5215 pthread_cond_wait conditionalizations by while loops.
5216
5217 2010-01-20 Tom Tromey <tromey@redhat.com>
5218
5219 PR backtrace/10770:
5220 * gdb.dwarf2/pr10770.exp: New file.
5221 * gdb.dwarf2/pr10770.c: New file.
5222 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
5223
5224 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
5225
5226 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
5227 that target was removed, and the test always runs native anyway.
5228
5229 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5230
5231 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
5232 gdb.base/watchpoint-cond-gone-stripped.c: New.
5233
5234 2010-01-19 Tom Tromey <tromey@redhat.com>
5235
5236 PR c++/8000:
5237 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
5238 existing tests.
5239 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
5240 (main): Use AAA::SomeEnum.
5241
5242 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5243
5244 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
5245 (test_ignore_count): Declare line_callme_body global.
5246 (run to breakpoint with ignore count): Use line_callme_body.
5247 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
5248 (set line_main_hello, set line_main_return): Reindent.
5249 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
5250 New.
5251 (continue to callee4): Use line_callee4_body.
5252 (check *stopped from CLI command): Use line_callee4_next.
5253 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
5254 (set line_main_hello, set line_main_return): Reindent.
5255 (set line_callee4_head, set line_callee4_body): New.
5256 (continue to callee4): Use line_callee4_body.
5257
5258 2010-01-18 Tom Tromey <tromey@redhat.com>
5259
5260 PR c++/9680:
5261 * gdb.cp/casts.cc: Add new classes and variables.
5262 * gdb.cp/casts.exp: Test new operators.
5263
5264 2010-01-18 Tom Tromey <tromey@redhat.com>
5265 Thiago Jung Bauermann <bauerman@br.ibm.com>
5266
5267 * gdb.python/source2.py: New file.
5268 * gdb.python/source1: New file.
5269 * gdb.python/python.exp: Test "source" command.
5270
5271 2010-01-15 Stan Shebs <stan@codesourcery.com>
5272
5273 * gdb.trace/tfile.c: New file.
5274 * gdb.trace/tfile.exp: New file.
5275
5276 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5277
5278 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
5279
5280 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5281
5282 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
5283
5284 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5285
5286 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
5287 (libfunc): New parameter action. Implement also selectable "sleep".
5288 * gdb.base/break-interp-main.c: Include assert.h.
5289 (libfunc): New parameter action.
5290 (main): New parameters argc and argv. Assert argc. Pass argv.
5291 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
5292 (test_attach): New proc.
5293 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
5294 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
5295
5296 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5297
5298 * gdb.base/break-interp.exp (test_core): New proc.
5299 (test_ld): Call it.
5300
5301 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5302
5303 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
5304 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
5305 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
5306 and gdb_compile_shlib. Use new -Wl compiler options.
5307 (dl bt, main bt): New tests.
5308
5309 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5310
5311 Support PIEs with no symfile_objfile.
5312 * gdb.base/break-interp.exp: New argument at the test_ld calls.
5313 (test_ld): New parameter trynosym.
5314 (test_ld <$trynosym>): New block.
5315
5316 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5317
5318 * gdb.base/break-interp.exp: New file.
5319
5320 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
5321
5322 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
5323 * gdb.python/py-prettyprint.py (pp_ls): New printer.
5324 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
5325 test.
5326 * gdb.python/py-prettyprint.c: Define lazystring test structure.
5327 * gdb.python/py-mi.exp: Add lazy string test.
5328
5329 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
5330
5331 * lib/mi-support.exp (mi_check_thread_states): Handle
5332 core number in thread listing.
5333
5334 2010-01-12 Joel Brobecker <brobecker@adacore.com>
5335
5336 * gdb.base/maint.exp: Adjust the expected output for the
5337 "maint print type" test. Use gdb_test_multiple instead of
5338 gdb_sent/gdb_expect.
5339
5340 2010-01-11 Doug Evans <dje@google.com>
5341
5342 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
5343 from gdbserver_download. All callers updated.
5344
5345 * gdb.server/ext-run.exp: "info os processes" requires xml support.
5346
5347 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5348
5349 Implement binary numbers parsing.
5350 * gdb.base/printcmds.exp (test_integer_literals_accepted)
5351 (test_integer_literals_rejected): New binary tests.
5352
5353 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5354
5355 * gdb.cell/configure: Regenerate.
5356
5357 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5358
5359 * gdb.base/corefile.exp: Move the core finding block out and call it as
5360 core_find, new variable $corefile, replace corefile by $corefile and
5361 [file tail $corefile] for usage vs. test names resp.
5362 * lib/gdb.exp (core_find): Move it as a new function here. New
5363 parameter binfile and deletefiles. New variable $destcore. Pre-delete
5364 $destcore. Return "" on error.
5365
5366 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5367
5368 Workaround PR binutils/10802.
5369 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
5370 (twice).
5371
5372 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5373
5374 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
5375
5376 2010-01-08 Joel Brobecker <brobecker@adacore.com>
5377
5378 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
5379 call, to avoid interruption.
5380
5381 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5382
5383 * gdb.stabs/weird.def (args93): New.
5384
5385 2010-01-07 Doug Evans <dje@google.com>
5386
5387 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
5388
5389 2010-01-07 Tom Tromey <tromey@redhat.com>
5390
5391 * gdb.base/source.exp: Use correct line number.
5392
5393 2010-01-05 Stan Shebs <stan@codesourcery.com>
5394
5395 * gdb.trace/tracecmd.exp: Test ftrace.
5396
5397 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5398
5399 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
5400
5401 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5402
5403 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
5404 "uint_for_mi_testing".
5405
5406 2010-01-01 Joel Brobecker <brobecker@adacore.com>
5407
5408 Test indented comment in file being sourced.
5409 * gdb.base/commands.exp: Test indented comment in file being sourced.
5410
5411 2010-01-01 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
5414 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
5415 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
5416 notice.
5417
5418 2010-01-01 Joel Brobecker <brobecker@adacore.com>
5419
5420 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
5421 notice.
5422
5423 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5424
5425 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
5426 missing $after_stopped and comma (,) expectation.
5427
5428 2009-12-31 Stan Shebs <stan@codesourcery.com>
5429
5430 * gdb.trace/actions.exp: Test teval action.
5431
5432 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5433
5434 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
5435 (top level): Call test_watchpoint_in_big_blob.
5436 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
5437 watchpoints.
5438 (func3): Write to buf.
5439
5440 2009-12-29 Stan Shebs <stan@codesourcery.com>
5441
5442 * gdb.trace/actions.exp: Test default-collect.
5443
5444 2009-12-28 Stan Shebs <stan@codesourcery.com>
5445
5446 * gdb.trace/tsv.exp: New file.
5447 * gdb.base/completion.exp: Update ambiguous info output.
5448
5449 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
5450
5451 * gdb.base/find.c (main): Reference search buffers.
5452 * gdb.base/included.c (main): Reference integer.
5453 * gdb.base/ptype.c (charfoo): Declare.
5454 (intfoo): Call charfoo.
5455 * gdb.base/scope0.c (useitp): New function.
5456 (usestatics): Use useitp.
5457 (useit): Add a type for val.
5458 * gdb.base/scope1.c (useit1): Take a pointer argument.
5459 (usestatics1): Update calls to useit1.
5460 * gdb.cp/call-c.cc: Declare foo.
5461 (main): Call foo.
5462 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
5463 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
5464 (main): Call C::ensureRefs and ensureOtherRefs.
5465 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
5466 variables.
5467 (ensureOtherRefs): New function.
5468 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
5469 * gdb.cp/templates.cc (main): Call t5i.value.
5470
5471 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5472
5473 Fix compatibility with G++-4.5.
5474 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
5475 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
5476 (uncaught return): Remove.
5477
5478 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5479 Phil Muldoon <pmuldoon@redhat.com>
5480
5481 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
5482 (bp_location13, bp_location14, bp_location17, bp_location18)
5483 (marker3_proto, marker4_proto): New variables.
5484 (breakpoint info): Update output.
5485 (run until breakpoint at marker3, run until breakpoint at marker4): New
5486 tests.
5487
5488 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5489
5490 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
5491 Replace the printf call of Y by provided "y-set-1" label. New block
5492 for the second shared library.
5493 * gdb.base/unload.exp: Compile also the second library, call
5494 gdb_load_shlibs also for it. Use now gdb_breakpoint.
5495 (single pending breakpoint info): Rename to ...
5496 (pending breakpoint info before run): ... this extended test.
5497 (libfile2, libname2, libsrcfile2, libsrc2)
5498 (lib_sl2): New variables.
5499 (exec_opts): Set also SHLIB_NAME2.
5500 (pending breakpoint info on first run at shrfunc1)
5501 (pending breakpoint info on second run at shrfunc1)
5502 (pending breakpoint info on second run at shrfunc2)
5503 (print y from libfile, print y from libfile2): New tests.
5504 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
5505 * gdb.base/unloadshr2.c: New.
5506
5507 2009-12-22 Hui Zhu <teawater@gmail.com>
5508
5509 * gdb.reverse/sigall-reverse.exp: Adjust.
5510
5511 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
5512
5513 PR gdb/10884
5514
5515 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5516 (main): Call do_bitfield_tests.
5517 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
5518
5519 2009-12-20 Joel Brobecker <brobecker@adacore.com>
5520
5521 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5522 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5523 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5524 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5525 gdb.modula2/unbounded1.c: Update copyright header.
5526
5527 2009-12-10 Chris Moller <moller@mollerware.com>
5528
5529 PR gdb/9399
5530 * gdb.cp/virtfunc2.exp: New tests
5531 * gdb.cp/virtfunc2.cc: New tests
5532 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5533
5534 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5535
5536 * gdb.reverse/i387-env-reverse.c: New file.
5537 * gdb.reverse/i387-env-reverse.exp: New file.
5538 * gdb.reverse/i387-stack-reverse.c: New file.
5539 * gdb.reverse/i387-stack-reverse.exp: New file.
5540
5541 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5542
5543 * gdb.python/py-type.exp (test_range): New test.
5544
5545 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5546
5547 PR python/10805
5548
5549 * gdb.python/py-type.exp: New file.
5550 * gdb.python/py-type.c: New file.
5551 * Makefile.in: Add py-type.
5552
5553 2009-12-03 Tom Tromey <tromey@redhat.com>
5554
5555 * gdb.python/py-value.exp (test_parse_and_eval): New
5556 function.
5557
5558 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5559
5560 PR gdb/11022
5561
5562 * gdb.base/pr11022.exp: New test.
5563 * gdb.base/pr11022.c: New test.
5564
5565 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5566
5567 Fix spurious false FAILs.
5568 * gdb.base/structs.c (chartest): New.
5569 (main): Fill-in chartest.
5570 * gdb.base/structs.exp (anychar_re, first): New.
5571 (start_structs_test): Import global anychar_re and first.
5572 New gdb_test call "set print elements 300; ${testfile}"
5573 (start_structs_test <$first>): New block.
5574 (any): Import global anychar_re. New variable ac. Use ${ac}.
5575
5576 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5577
5578 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5579
5580 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5581
5582 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5583 Force $srcfile file.
5584 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5585
5586 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5587
5588 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5589 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5590 * gdb.threads/watchthreads-reorder.exp: Likewise.
5591
5592 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5593
5594 PR gdb/8704
5595
5596 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5597 "if", and "thread". Correct matching in the previous test.
5598
5599 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5600
5601 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5602
5603 2009-11-23 Michael Snyder <msnyder@vmware.com>
5604
5605 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5606 * gdb.reverse-watch-precsave.exp: Ditto.
5607
5608 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5609
5610 * gdb.asm/asm-source.exp: Adjust.
5611 * gdb.base/help.exp: Adjust.
5612
5613 2009-11-22 Pedro Alves <pedro@codesourcery.com>
5614
5615 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5616 (do_syscall_tests_without_xml): Set data-directory to
5617 /the/path/to/nowhere.
5618
5619 2009-11-21 Pedro Alves <pedro@codesourcery.com>
5620
5621 * gdb.threads/local-watch-wrong-thread.c,
5622 gdb.threads/local-watch-wrong-thread.exp: New files.
5623
5624 2009-11-21 Pedro Alves <pedro@codesourcery.com>
5625
5626 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5627 assume new `regsub' syntax available.
5628
5629 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5630
5631 * gdb.base/watchpoint-hw-hit-once.exp,
5632 gdb.base/watchpoint-hw-hit-once.c: New.
5633
5634 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5635
5636 * gdb.threads/watchthreads-reorder.exp,
5637 gdb.threads/watchthreads-reorder.c: New.
5638
5639 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5640
5641 * gdb.xml/tdesc-regs.exp: Use for m68k.
5642
5643 2009-11-15 Pedro Alves <pedro@codesourcery.com>
5644
5645 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5646
5647 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5648
5649 * lib/gdb.exp (current_target_name): New procedure.
5650 (gdb_wrapper_target): New variable.
5651 (gdb_wrapper_init): Set gdb_wrapper_target.
5652 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5653 wrapper.
5654
5655 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5656
5657 * gdb.base/remote.exp: Delete the slowest load test.
5658 Do not load with fixed packet sizes.
5659
5660 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5661
5662 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5663
5664 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5665
5666 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5667 srcfile when setting a breakpoint.
5668
5669 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5670
5671 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5672 macros.
5673
5674 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5675
5676 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5677 to be in memory.
5678 * gdb.base/display.c (force_mem): New.
5679 (do_loops): Use it. Add breakpoint comments.
5680 (do_vars): Add a breakpoint comment.
5681 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5682 line numbers.
5683
5684 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5685
5686 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5687 instead of a bare "run".
5688
5689 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5690
5691 * gdb.python/py-prettyprint.exp: Adjust.
5692
5693 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5694
5695 * lib/cell.exp (skip_cell_tests): Clean up test files before
5696 returning.
5697
5698 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5699
5700 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5701 and the breakpoint menu. Do not call perror if a prompt is seen.
5702 Consume the following GDB prompt.
5703 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5704 * gdb.cp/namespace.exp: Use gdb_test.
5705 * gdb.cp/templates.exp: Use gdb_test.
5706 (test_template_breakpoints): Use gdb_test_multiple.
5707
5708 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5709
5710 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5711 (marker4): Reference values.
5712
5713 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5714
5715 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5716 is missing.
5717
5718 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5719
5720 * gdb.base/break.c (need_malloc): New.
5721 * gdb.base/constvars.c (main): Reference crass and crisp.
5722 * gdb.base/gdb1821.c (main): Reference bar.
5723 * gdb.cp/gdb1355.cc (main): Reference s1.
5724 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5725 (main): Call them.
5726 * gdb.cp/hang2.cc (dummy2): Define.
5727 * gdb.cp/hang3.cc (dummy3): Define.
5728 * gdb.cp/m-data.cc (main): Reference shadow.
5729
5730 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5731 Nathan Froyd <froydnj@codesourcery.com>
5732
5733 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5734 remote host.
5735
5736 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5737
5738 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5739 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5740 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5741 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5742 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5743 * gdb.dwarf2/dw2-producer.exp: Likewise.
5744 * gdb.dwarf2/mac-fileno.exp: Likewise.
5745 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5746 py-prettyprint.py to the remote host.
5747 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5748
5749 2009-11-11 Keith Seitz <keiths@redhat.com>
5750
5751 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5752 use it instead of "Foo".
5753 * gdb.cp/classes.exp (do_tests): Add a test to access
5754 a method through a typedef'd class name.
5755
5756 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5757
5758 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5759 exponents.
5760 * gdb.base/pointers.exp: Likewise.
5761 * gdb.cp/ref-types.exp: Likewise.
5762
5763 2009-11-11 Keith Seitz <keiths@redhat.com>
5764
5765 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5766 new[] and delete[].
5767 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5768 "void".
5769 (probe_demangler): Remove all single-quoting of
5770 method and variable names.
5771 (info_func_regexp): Remove the word "void" from any
5772 occurrence of "(void)".
5773 (print_addr_2): Remove all single-quoting of
5774 method names.
5775 (print_addr_2_kfail): Likewise.
5776 (print_addr): Single-quote C function names before
5777 passing to print_addr_2.
5778 (test_paddr_operator_functions): Remove single-quoting
5779 for method names.
5780 Add tests for operator new[] and operator delete[].
5781
5782 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5783
5784 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5785
5786 2009-11-09 Keith Seitz <keiths@redhat.com>
5787
5788 * gdb.cp/overload.exp: Add tests for resolving overloaded
5789 methods in expression parsing/evaluation.
5790
5791 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5792
5793 * lib/gdb.exp (default_gdb_version): Use --version instead of
5794 --command.
5795
5796 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5797
5798 * lib/gdb.exp (gdb_compile_test): New.
5799 (skip_ada_tests, skip_java_tests): New.
5800 (gdb_compile): Use gdb_compile_test for f77.
5801 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5802 * lib/java.exp (compile_java_from_source): Remove runtests check,
5803 use gdb_compile_test to record result.
5804 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5805 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5806 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5807 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5808 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5809 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5810 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5811 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5812 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5813 adjust gdb_compile invocations.
5814
5815 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5816
5817 * Makefile.in (abs_builddir): New.
5818 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5819 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5820 `$(abs_builddir)/site.exp'.
5821
5822 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5823
5824 * config/m68k-emc.exp, lib/emc-support.exp,
5825 gdb.trace/gdb_c_test.c: Delete.
5826 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5827 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5828 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5829 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5830 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5831 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5832 casing for m68k-*-elf.
5833
5834 2009-11-03 Pedro Alves <pedro@codesourcery.com>
5835
5836 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5837 * gdb.arch/i386-prologue.exp: Likewise.
5838 * gdb.arch/i386-unwind.exp: Likewise.
5839
5840 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5841
5842 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5843
5844 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5845
5846 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5847
5848 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5849
5850 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5851
5852 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5853
5854 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5855
5856 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5857
5858 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5859 * gdb.base/sepdebug2.c: New file.
5860
5861 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5862
5863 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5864 the modified warnings for catch syscall. Verify if GDB was compiled
5865 with support for lib expat, and choose which tests to run depending
5866 on this.
5867
5868 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5869
5870 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5871 that composite commands are parsed OK. And also test
5872 that breakpoint commands do work.
5873
5874 2009-10-23 Michael Snyder <msnyder@vmware.com>
5875
5876 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5877 to allow for new disassembly style.
5878
5879 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5880
5881 * gdb.asm/asm-source.exp: Adjust.
5882
5883 2009-10-22 Michael Snyder <msnyder@vmware.com>
5884
5885 * gdb.reverse/break-precsave.exp: New test.
5886 * gdb.reverse/consecutive-precsave.exp: Ditto.
5887 * gdb.reverse/finish-precsave.exp: Ditto.
5888 * gdb.reverse/i386-precsave.exp: Ditto.
5889 * gdb.reverse/machinestate-precsave.exp: Ditto.
5890 * gdb.reverse/sigall-precsave.exp: Ditto.
5891 * gdb.reverse/solilb-precsave.exp: Ditto.
5892 * gdb.reverse/step-precsave.exp: Ditto.
5893 * gdb.reverse/until-precsave.exp: Ditto.
5894 * gdb.reverse/watch-precsave.exp: Ditto.
5895
5896 2009-10-22 Michael Snyder <msnyder@vmware.com>
5897
5898 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5899 for gdb_expect. Adjust one test's expect strings for the new
5900 format of disassemble.
5901 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5902 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5903 gdb_test_multiple.
5904 * gdb.reverse/step-reverse.exp: Delete 'return'.
5905 * gdb.reverse/until-reverse.exp: Delete blank lines.
5906 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5907
5908 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5909
5910 * gdb.base/consecutive.exp: Adjust.
5911 * gdb.base/display.exp: Likewise.
5912 * gdb.base/pc-fp.exp: Likewise.
5913 * gdb.base/sigbpt.exp: Likewise.
5914
5915 2009-10-19 Michael Snyder <msnyder@vmware.com>
5916
5917 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5918 * gdb.reverse/finish-reverse.c: Ditto.
5919 * gdb.reverse/sigall-reverse.c: Ditto.
5920 * gdb.reverse/solib-reverse.c: Ditto.
5921 * gdb.reverse/step-reverse.c: Ditto.
5922 * gdb.reverse/watch-reverse.c: Ditto.
5923
5924 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5925 Stan Shebs <stan@codesourcery.com>
5926
5927 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5928 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5929 "Executing new program".
5930 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5931 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5932 left listed after having been killed.
5933 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5934 * gdb.base/maint.exp: Adjust test.
5935
5936 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5937 * gdb.multi/Makefile.in: New.
5938 * gdb.multi/base.exp: New.
5939 * gdb.multi/goodbye.c: New.
5940 * gdb.multi/hangout.c: New.
5941 * gdb.multi/hello.c: New.
5942 * gdb.multi/bkpt-multi-exec.c: New.
5943 * gdb.multi/bkpt-multi-exec.exp: New.
5944 * gdb.multi/crashme.c: New.
5945
5946 2009-10-13 Tristan Gingold <gingold@adacore.com>
5947
5948 * gdb.base/sepdebug.exp: Check debug info are found.
5949
5950 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5951
5952 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5953 bits.
5954
5955 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5956
5957 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5958
5959 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5960
5961 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5962 of the comments.
5963
5964 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5965
5966 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5967 * gdb.base/annota3.exp: Idem.
5968 * gdb.base/maint.exp: Idem.
5969
5970 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5971
5972 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5973 to default.
5974
5975 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5976
5977 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5978 mingw and cygwin targets.
5979
5980 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5981 Pedro Alves <pedro@codesourcery.com>
5982
5983 * lib/gdb.exp (gdb_compile): Avoid adding
5984 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5985
5986 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5987
5988 * gdb.base/shr1.c: Use %p in format string.
5989 * gdb.base/unload.c: Avoid warning in fprintf.
5990 * gdb.base/watchpoint-solib.c: Idem.
5991
5992 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5993
5994 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5995 long type.
5996 (test_unlink): Correct printf string.
5997 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5998 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5999
6000 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6001
6002 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
6003 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
6004 * gdb.arch/ia64-breakpoint-shadow.S: New file.
6005
6006 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6007
6008 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
6009 * gdb.objc/nondebug.exp: Likewise.
6010
6011 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6012
6013 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
6014 target_info setting.
6015
6016 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
6017 that detect new threads during "info threads".
6018
6019 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6020
6021 * gdb.threads/manythreads.c (main): Increase thread stack size
6022 to 2*PTHREAD_STACK_MIN.
6023 * gdb.threads/multi-create.c (main): Likewise.
6024 (create_function): Likewise.
6025
6026 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6027
6028 * gdb.base/dump.exp: Pass difference of pointer types instead
6029 of integer types as offset to restore in intarr3.srec case.
6030
6031 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6032
6033 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
6034
6035 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6036
6037 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
6038
6039 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
6040
6041 New test for two watchpoints, with disabling of
6042 the first inserted.
6043 * testsuite/gdb.base/watchpoints.c: New file.
6044 * testsuite/gdb.base/watchpoints.exp: New file.
6045
6046 2009-09-25 Tom Tromey <tromey@redhat.com>
6047
6048 * gdb.base/charset.exp: Test utf-16 strings with Python.
6049
6050 2009-09-25 Tom Tromey <tromey@redhat.com>
6051
6052 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6053 UCS-4.
6054 * gdb.base/charset.c (utf_32_string): Rename.
6055 (init_utf32): Rename.
6056 (main): Update.
6057
6058 2009-09-22 Tom Tromey <tromey@redhat.com>
6059
6060 * gdb.python/py-function.exp: Add regression tests.
6061
6062 2009-09-21 Keith Seitz <keiths@redhat.com>
6063
6064 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6065 with invalid operator.
6066
6067 2009-09-21 Keith Seitz <keiths@redhat.com>
6068
6069 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6070 and destructor using typedef name of class.
6071 * gdb.cp/classes.cc (class Base1): Add a destructor.
6072 (base1): New typedef.
6073 (use_methods): Instanitate an object of type base1.
6074 * gdb.cp/templates.exp (test_template_typedef): New procedure.
6075 (do_tests): Call test_template_typedef.
6076 * gdb.cp/templates.cc (Baz::~Baz): New method.
6077 (intBazOne): New typedef.
6078 (main): Instantiate intBazOne.
6079
6080 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6081
6082 PR python/10633
6083
6084 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6085 Function.
6086 (run_lang_tests): Add print elements test.
6087
6088 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6089
6090 * gdb.python/py-value.exp (test_subscript_regression): New
6091 function. Test for invalid subscripts.
6092 * gdb.python/py-value.c (main): Add test array, and pointer to it.
6093 (ptr_ref): New function.
6094
6095 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6096
6097 * gdb.base/default.exp: Fix "show convenience".
6098
6099 2009-09-15 Tom Tromey <tromey@redhat.com>
6100
6101 * lib/mi-support.exp (mi_create_varobj): Update.
6102 (mi_create_floating_varobj): Likewise.
6103 (mi_create_dynamic_varobj): New proc.
6104 (mi_varobj_update): Update.
6105 (mi_varobj_update_with_type_change): Likewise.
6106 (mi_varobj_update_kv_helper): New proc.
6107 (mi_varobj_update_dynamic_helper): Rewrite.
6108 (mi_varobj_update_dynamic): New proc.
6109 (mi_list_varobj_children): Update.
6110 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
6111 * gdb.python/python-prettyprint.py (pp_outer): New class.
6112 (pp_nullstr): Likewise.
6113 (lookup_function): Register new printers.
6114 * gdb.python/python-prettyprint.c (struct substruct): New type.
6115 (struct outerstruct): Likewise.
6116 (substruct_test): New function.
6117 (struct nullstr): New type.
6118 (string_1, string_2): New globals.
6119 (main): Add new tests.
6120 * gdb.python/python-mi.exp: Added regression tests.
6121 * gdb.mi/mi2-var-display.exp: Update.
6122 * gdb.mi/mi2-var-cmd.exp: Update.
6123 * gdb.mi/mi2-var-child.exp: Update.
6124 * gdb.mi/mi2-var-block.exp: Update.
6125 * gdb.mi/mi-var-invalidate.exp: Update.
6126 * gdb.mi/mi-var-display.exp: Update.
6127 * gdb.mi/mi-var-cmd.exp: Update.
6128 * gdb.mi/mi-var-child.exp: Update.
6129 * gdb.mi/mi-var-block.exp: Update.
6130 * gdb.mi/mi-break.exp: Update.
6131 * gdb.mi/gdb701.exp: Update.
6132
6133 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6134
6135 * Makefile.in: Inclusion of catch-syscall object.
6136 * gdb.base/catch-syscall.c: New file.
6137 * gdb.base/catch-syscall.exp: New file.
6138
6139 2009-09-12 Michael Snyder <msnyder@vmware.com>
6140
6141 * gdb.reverse/step-reverse.exp: Explicitly check for targets
6142 that can support reverse debuggnig.
6143
6144 2009-09-11 Tom Tromey <tromey@redhat.com>
6145
6146 * gdb.dwarf2/valop.S: New file.
6147 * gdb.dwarf2/valop.exp: New file.
6148
6149 2009-09-11 Mark Kettenis <kettenis@gnu.org>
6150
6151 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
6152
6153 2009-09-10 Doug Evans <dje@google.com>
6154
6155 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
6156 Add $gdb_prompt to second breakpoint regexp.
6157
6158 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
6159
6160 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
6161 names, add missing ones.
6162 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
6163 * gdb.python/py-frame.c: Rename from python-frame.c.
6164 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
6165 testfile name.
6166 * gdb.python/py-function.exp: Rename from python-function.exp.
6167 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
6168 testfile name.
6169 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
6170 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
6171 Adjust testfile name.
6172 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
6173 * gdb.python/py-template.cc: Rename from python-template.cc.
6174 * gdb.python/py-template.exp: Rename from python-template.exp.
6175 Adjust testfile name.
6176 * gdb.python/py-value.c: Rename from python-value.c.
6177 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
6178 testfile name.
6179
6180 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6181
6182 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
6183 $bpt2address.
6184 (Second breakpoint address is valid on ia64)
6185 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
6186
6187 2009-09-03 Joseph Myers <joseph@codesourcery.com>
6188
6189 * gdb.base/ending-run.exp: Restrict regular expression matching
6190 line number to require closing brace following.
6191
6192 2009-09-03 Doug Evans <dje@google.com>
6193
6194 * gdb.base/store.exp (check_set): Fix typo in expected value message.
6195
6196 2009-09-02 Tom Tromey <tromey@redhat.com>
6197
6198 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
6199
6200 2009-09-02 Tom Tromey <tromey@redhat.com>
6201
6202 * gdb.dwarf2/callframecfa.exp: New file.
6203 * gdb.dwarf2/callframecfa.S: New file.
6204
6205 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6206
6207 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
6208 gdb.base/solib-overlap-main.c: New.
6209
6210 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
6211
6212 PR gdb/10565
6213
6214 * gdb.base/bitfields.c (struct container, container): New.
6215 (main): Initialize it and call break5.
6216 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
6217
6218 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6219
6220 Support constant DW_AT_data_member_location by GCC PR debug/40659.
6221 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
6222
6223 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6224
6225 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
6226
6227 2009-08-26 Michael Snyder <msnyder@vmware.com>
6228
6229 * gdb.base/i386-reverse.c: New file.
6230 * gdb.base/i386-reverse.exp: New file.
6231 * gdb.base/Makefile.in: Add new files to be removed.
6232
6233 2009-08-26 Joseph Myers <joseph@codesourcery.com>
6234
6235 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
6236 environment-pwd for remote host.
6237 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
6238
6239 2009-08-24 Keith Seitz <keiths@redhat.com>
6240
6241 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
6242 Add two new C++ completer tests which limit the output to a
6243 given class.
6244
6245 2009-08-24 Michael Snyder <msnyder@vmware.com>
6246
6247 * gdb.base/del.exp: Fix typo in comment.
6248 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
6249
6250 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6251
6252 * configure: Regenerate.
6253 * gdb.hp/configure: Likewise.
6254 * gdb.hp/gdb.aCC/configure: Likewise.
6255 * gdb.hp/gdb.base-hp/configure: Likewise.
6256 * gdb.hp/gdb.compat/configure: Likewise.
6257 * gdb.hp/gdb.defects/configure: Likewise.
6258 * gdb.hp/gdb.objdbg/configure: Likewise.
6259 * gdb.stabs/configure: Likewise.
6260
6261 2009-08-19 Doug Evans <dje@google.com>
6262
6263 * gdb.base/gdbvars.c: New file.
6264 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
6265
6266 2009-08-14 Pedro Alves <pedro@codesourcery.com>
6267
6268 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6269 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
6270
6271 2009-08-13 Pedro Alves <pedro@codesourcery.com>
6272
6273 * gdb.base/default.exp: Adjust "set language test": it's now an
6274 enum command. Larger help string moved to "help set language".
6275 * gdb.base/help.exp: Adjust "help set language" expected output,
6276 now lists all known languages.
6277
6278 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
6279
6280 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
6281 all frame arguments.
6282 * gdb.arch/altivec-regs.exp: Likewise.
6283
6284 2009-08-07 Tom Tromey <tromey@redhat.com>
6285
6286 * gdb.base/setshow.exp: Add tests for changes to set language, set
6287 check range, and set check type.
6288
6289 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
6290
6291 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
6292 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
6293 Call it.
6294
6295 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6296
6297 * configure.ac: Run gdb.cell tests when appropriate.
6298 * configure: Regenerate.
6299 * lib/cell.exp: New file.
6300 * gdb.cell: New directory.
6301 * gdb.cell/configure.ac: New file.
6302 * gdb.cell/configure: New file.
6303 * gdb.cell/Makefile.in: New file.
6304 * gdb.cell/arch.exp: New file.
6305 * gdb.cell/break.c: New file.
6306 * gdb.cell/break.exp: New file.
6307 * gdb.cell/break-spu.c: New file.
6308 * gdb.cell/bt.c: New file.
6309 * gdb.cell/bt2-spu.c: New file.
6310 * gdb.cell/bt-spu.c: New file.
6311 * gdb.cell/bt.exp: New file.
6312 * gdb.cell/coremaker.c: New file.
6313 * gdb.cell/coremaker-spu.c: New file.
6314 * gdb.cell/core.exp: New file.
6315 * gdb.cell/gcore.exp: New file.
6316 * gdb.cell/data.c: New file.
6317 * gdb.cell/data.exp: New file.
6318 * gdb.cell/data-spu.c: New file.
6319 * gdb.cell/ea-cache.exp: New file.
6320 * gdb.cell/ea-cache.c: New file.
6321 * gdb.cell/ea-cache-spu.c: New file.
6322 * gdb.cell/ea-standalone.c: New file.
6323 * gdb.cell/ea-standalone.exp: New file.
6324 * gdb.cell/ea-test.c: New file.
6325 * gdb.cell/ea-test.exp: New file.
6326 * gdb.cell/f-regs.exp: New file.
6327 * gdb.cell/mem-access.c: New file.
6328 * gdb.cell/mem-access.exp: New file.
6329 * gdb.cell/mem-access-spu.c: New file.
6330 * gdb.cell/ptype.exp: New file.
6331 * gdb.cell/registers.exp: New file.
6332 * gdb.cell/size.c: New file.
6333 * gdb.cell/sizeof.exp: New file.
6334 * gdb.cell/size-spu.c: New file.
6335 * gdb.cell/solib.exp: New file.
6336 * gdb.cell/solib-symbol.exp: New file.
6337
6338 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6339
6340 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
6341
6342 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6343
6344 * gdb.base/float.exp: Handle VFP registers.
6345
6346 2009-07-14 Michael Snyder <msnyder@vmware.com>
6347
6348 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
6349 to bring gdb to the beginning of the calling line.
6350
6351 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
6352 confusing the i386 epilogue unwinder.
6353
6354 2009-07-14 Stan Shebs <stan@codesourcery.com>
6355
6356 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
6357
6358 2009-07-14 Michael Snyder <msnyder@vmware.com>
6359
6360 * gdb.reverse/step-reverse.exp (stepi into function call):
6361 Call instruction may not be first instruction in the line.
6362 (reverse stepi from a function call): Used wrong line number.
6363
6364 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6365
6366 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
6367
6368 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6369
6370 Fix gdb.base/macscp.exp when using custom inputrc.
6371 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
6372 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
6373 env(TERM) set.
6374 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
6375 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
6376
6377 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6378
6379 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
6380 * gdb.base/annota1.exp (thread_test): Import global $testfile.
6381 Change the compilation target to match the testcase name.
6382 * gdb.base/sect-cmd.exp: Change the compilation target to match the
6383 testcase name.
6384 * a2-run.exp: Use for setup prepare_for_testing. Change the
6385 compilation target to match the testcase name.
6386 * gdb.base/commands.exp: Likewise.
6387 * gdb.base/finish.exp: Likewise.
6388 * gdb.base/float.exp: Likewise.
6389 * gdb.base/info-target.exp: Likewise.
6390 * gdb.base/relational.exp: Likewise.
6391 * gdb.base/term.exp: Likewise.
6392 * gdb.base/until.exp: Likewise.
6393 * gdb.base/volatile.exp: Likewise.
6394 * gdb.base/whatis-exp.exp: Likewise.
6395
6396 2009-07-11 Hui Zhu <teawater@gmail.com>
6397
6398 * gdb.base/help.exp (disassemble): Update expected help text.
6399
6400 2009-07-09 Tom Tromey <tromey@redhat.com>
6401
6402 * lib/gdb.exp: Handle TRANSCRIPT.
6403 (remote_spawn, remote_close, send_gdb): New procs.
6404
6405 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
6406
6407 * gdb.python/python-prettyprint.c: Add counted null string
6408 structure.
6409 * gdb.python/python-prettyprint.exp: Print null string. Test for
6410 embedded nulls.
6411 * gdb.python/python-prettyprint.py (pp_ns): New Function.
6412 * gdb.python/python-value.exp (test_value_in_inferior): Add
6413 variable length string fetch tests.
6414 * gdb.python/python-value.c (main): Add strings for string fetch tests.
6415
6416 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6417
6418 * gdb.base/dump.exp (inaccessible memory is reported): New test.
6419
6420 2009-07-07 Tom Tromey <tromey@redhat.com>
6421
6422 * gdb.base/call-rt-st.exp: Update for change to escape output.
6423 * gdb.base/callfuncs.exp: Likewise.
6424 * gdb.base/charset.exp: Likewise.
6425 * gdb.base/constvars.exp: Likewise.
6426 * gdb.base/long_long.exp: Likewise.
6427 * gdb.base/pointers.exp: Likewise.
6428 * gdb.base/printcmds.exp: Likewise.
6429 * gdb.base/setvar.exp: Likewise.
6430 * gdb.base/store.exp: Likewise.
6431 * gdb.cp/ref-types.exp: Likewise.
6432 * gdb.mi/mi-var-child.exp: Likewise.
6433 * gdb.mi/mi-var-display.exp: Likewise.
6434 * gdb.mi/mi2-var-display.exp: Likewise.
6435 * gdb.base/charset.exp: Test octal escape sequence length.
6436 Update for change to escape output.
6437
6438 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6439
6440 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
6441
6442 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
6443
6444 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
6445
6446 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6447
6448 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
6449 gdbserver increasing $portnum if "Can't bind address" has been seen.
6450
6451 2009-07-05 Pedro Alves <pedro@codesourcery.com>
6452
6453 * gdb.base/ending-run.exp: Add "step out of main" pattern for
6454 mingw32ce.
6455
6456 2009-07-05 Pedro Alves <pedro@codesourcery.com>
6457
6458 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
6459 VFP format.
6460
6461 2009-07-02 Pedro Alves <pedro@codesourcery.com>
6462
6463 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
6464 linux. Adjust to use "inferior", "info inferiors", "detach
6465 inferior" and "kill inferior" instead of "restart", "info fork",
6466 "detach fork" and "delete fork".
6467 * gdb.base/ending-run.exp: Spell out "info".
6468 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
6469 the "kill" command.
6470
6471 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6472
6473 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
6474 change to prefix TLS offset in hex with 0x.
6475
6476 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6477
6478 * gdb.base/default.exp: Update test case for "x" changes.
6479
6480 2009-07-01 Tristan Gingold <gingold@adacore.com>
6481
6482 * gdb.base/bigcore.exp: Make darwin untested.
6483
6484 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6485
6486 * gdb.base/completion.exp (directory completion): Create the directory.
6487 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
6488 escapeuniquesub.
6489 (directory completion 2): Expect now ${escapeuniquesub}.
6490 (Glob remaining of directory test): Remove one excessive newline.
6491 Expect the real output.
6492
6493 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6494
6495 Fix `make check//%' target after `make check' has been ran.
6496 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
6497 a mkdir call.
6498 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
6499 (%/.dir): Remove.
6500
6501 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6502
6503 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
6504 the expected result record.
6505
6506 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6507
6508 Remove racy FAILs relying just on the timeouts.
6509 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
6510 (annotation_level 2): Remove racy FAILs.
6511
6512 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
6513
6514 gdb/10275
6515 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6516
6517 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6518
6519 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6520
6521 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6522
6523 * gdb.mi/mi-stack.exp: Testing symbolic options
6524 to -stack-list-locals and -stack-list-arguments.
6525
6526 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6527
6528 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6529
6530 2009-06-29 Tom Tromey <tromey@redhat.com>
6531
6532 * dg-extract-results.sh: New file.
6533 * Makefile.in (FORCE_PARALLEL): New variable.
6534 (CHECK_TARGET): New conditional variable.
6535 (check): Use CHECK_TARGET.
6536 (DO_RUNTEST): New variable.
6537 (check-single): New target.
6538 (TEST_DIRS): New variable.
6539 (TEST_TARGETS): Likewise.
6540 (check-parallel): New target.
6541 (check-gdb.%): New pattern.
6542 (BASE1_FILES): New variable.
6543 (BASE2_FILES): Likewise.
6544 (check-gdb.base%): New pattern.
6545 (%/.dir): New pattern.
6546 * configure: Rebuild.
6547 * aclocal.m4 (AM_CONDITIONAL): New defun.
6548 * configure.ac: Check whether user is using GNU make.
6549 (GMAKE): New conditional.
6550
6551 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6552
6553 * gdb.cp/namespace-nested-import.cc: New test.
6554 * gdb.cp/namespace-nested-import.exp: New test.
6555
6556 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6557
6558 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6559 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6560 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6561 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6562 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6563 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6564 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6565 gdb.opt/inline-markers.c: New files.
6566 * lib/gdb.exp (skip_inline_frame_tests): New function.
6567 (skip_inline_var_tests): New function.
6568
6569 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6570
6571 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6572 backtrace.
6573
6574 2009-06-27 Michael Snyder <msnyder@vmware.com>
6575
6576 * gdb.reverse: New directory.
6577 * gdb.reverse/break-reverse.c: New test.
6578 * gdb.reverse/break-reverse.exp: New test.
6579 * gdb.reverse/consecutive-reverse.c: New test.
6580 * gdb.reverse/consecutive-reverse.exp: New test.
6581 * gdb.reverse/finish-reverse.c: New test.
6582 * gdb.reverse/finish-reverse.exp: New test.
6583 * gdb.reverse/machinestate.c: New test.
6584 * gdb.reverse/ms1.c: New test.
6585 * gdb.reverse/machinestate.exp: New test.
6586 * gdb.reverse/Makefile.in: New file.
6587 * gdb.reverse/shr2.c: New test.
6588 * gdb.reverse/solib-reverse.c: New test.
6589 * gdb.reverse/solib-reverse.exp: New test.
6590 * gdb.reverse/step-reverse.c: New test.
6591 * gdb.reverse/step-reverse.exp: New test.
6592 * gdb.reverse/until-reverse.c: New test.
6593 * gdb.reverse/ur1.c: New test.
6594 * gdb.reverse/until-reverse.exp: New test.
6595 * gdb.reverse/watch-reverse.c: New test.
6596 * gdb.reverse/watch-reverse.exp: New test.
6597 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6598 * configure: Regenerate.
6599
6600 2009-06-26 Doug Evans <dje@google.com>
6601
6602 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6603
6604 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6605
6606 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6607 windows problem for 'file delete $binfile'.
6608
6609 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6610
6611 * gdb.cp/namespace-using.exp: New test.
6612 * gdb.cp/namespace-using.cc: New test.
6613
6614 2009-05-20 Joel Brobecker <brobecker@adacore.com>
6615
6616 * gdb.ada/variant_record_packed_array: New testcase.
6617
6618 2009-06-23 Tom Tromey <tromey@redhat.com>
6619
6620 * gdb.base/charset.exp (test_combination): Regression test.
6621 * gdb.base/charset.c (my_wchar_t): New typedef.
6622 (myvar): New global.
6623 (main): Set myvar.
6624
6625 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6626
6627 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6628 target.
6629
6630 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6631
6632 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6633
6634 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6635
6636 * gdb.mi/gdb680.exp: Update test for error message.
6637
6638 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6639
6640 * gdb.base/annota1.exp: Allow multiple occurrences of the
6641 frames-invalid annotation.
6642 * gdb.cp/annota2.exp: Likewise.
6643
6644 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6645
6646 * gdb.cp/gdb2495.cc: New file.
6647 * gdb.cp/gdb2495.exp: New file.
6648
6649 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6650
6651 Report error on GDB crash during runto.
6652 * lib/gdb.exp (runto <eof>): New.
6653
6654 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6655
6656 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6657 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6658 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6659 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6660 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6661 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6662 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6663 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6664 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6665 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6666 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6667 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6668 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6669 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6670 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6671 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6672 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6673 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6674 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6675 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6676 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6677 gdb.trace/passcount.exp, gdb.trace/report.exp,
6678 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6679 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6680 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6681 executable.
6682
6683 2009-06-07 Pedro Alves <pedro@codesourcery.com>
6684
6685 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6686 defined before referencing it.
6687
6688 2009-06-03 Doug Evans <dje@google.com>
6689
6690 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6691 * gdb.arch/i386-see.c: Ditto.
6692
6693 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6694
6695 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6696 (check_macro): Return 1 if undefined.
6697 If first test fails, check if macro debug information is available,
6698 and report unsupported test if no macro information is found.
6699
6700 2009-05-29 Doug Evans <dje@google.com>
6701
6702 * gdb.threads/hand-call-in-threads.exp: New.
6703 * gdb.threads/hand-call-in-threads.c: New.
6704
6705 2009-05-29 Michael Snyder <msnyder@vmware.com>
6706
6707 * gdb.base/break-always.exp: Change "1" to "on".
6708 Add confirmation check.
6709
6710 2009-05-28 Pedro Alves <pedro@codesourcery.com>
6711
6712 * gdb.threads/threxit-hop-specific.c: New.
6713 * gdb.threads/threxit-hop-specific.exp: New.
6714 * gdb.threads/thread-execl.c: New.
6715 * gdb.threads/thread-execl.exp: New.
6716
6717 2009-05-27 Tom Tromey <tromey@redhat.com>
6718 Thiago Jung Bauermann <bauerman@br.ibm.com>
6719
6720 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6721 (mi_child_regexp): Likewise.
6722 (mi_list_varobj_children_range): Likewise.
6723 (mi_get_features): Likewise.
6724 (mi_list_varobj_children): Rewrite.
6725 * gdb.python/python-mi.exp: New file.
6726
6727 2009-05-27 Tom Tromey <tromey@redhat.com>
6728 Thiago Jung Bauermann <bauerman@br.ibm.com>
6729 Phil Muldoon <pmuldoon@redhat.com>
6730 Paul Pluzhnikov <ppluzhnikov@google.com>
6731
6732 * gdb.python/python-prettyprint.exp: New file.
6733 * gdb.python/python-prettyprint.c: New file.
6734 * gdb.python/python-prettyprint.py: New file.
6735 * gdb.base/display.exp: print/r is now valid.
6736
6737 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6738 Tom Tromey <tromey@redhat.com>
6739 Pedro Alves <pedro@codesourcery.com>
6740 Paul Pluzhnikov <ppluzhnikov@google.com>
6741
6742 * gdb.python/python-template.exp: New file.
6743 * gdb.python/python-template.cc: New file.
6744 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6745 tests.
6746 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6747 Call it.
6748 (test_value_after_death): New proc.
6749 * gdb.python/python-value.c (PTR): New typedef.
6750 (main): New variable 'x'.
6751
6752 2009-05-27 Tom Tromey <tromey@redhat.com>
6753
6754 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6755 tests.
6756 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6757 Call it.
6758
6759 2009-05-27 Pedro Alves <pedro@codesourcery.com>
6760
6761 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6762
6763 2009-05-24 Pedro Alves <pedro@codesourcery.com>
6764
6765 * gdb.threads/fork-thread-pending.c: New.
6766 * gdb.threads/fork-thread-pending.exp: New.
6767
6768 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6769
6770 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6771 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6772
6773 2009-05-18 Jon Beniston <jon@beniston.com>
6774
6775 * gdb.asm/asm-source.exp: Add lm32 target.
6776
6777 2009-05-17 Pedro Alves <pedro@codesourcery.com>
6778
6779 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6780 `gdb_get_line_number'. Call `callee' in both parent and child.
6781 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6782 `gdb_get_line_number' instead of hardcoding line numbers.
6783 (catch_fork_unpatch_child): New procedure to test detaching
6784 breakpoints from child fork.
6785 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6786 hardcoding line numbers.
6787 (do_fork_tests): Run `catch_fork_unpatch_child'.
6788
6789 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6790
6791 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6792 of structure type enters or leaves the scope, it
6793 is reported by -var-update.
6794
6795 2009-05-11 Doug Evans <dje@sebabeach.org>
6796
6797 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
6798 * gdb.threads/pending-step.c (main): Fix off-by-one error.
6799 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6800
6801 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6802
6803 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6804
6805 2009-04-30 Doug Evans <dje@google.com>
6806
6807 * gdb.threads/watchthreads2.exp: New testcase.
6808 * gdb.threads/watchthreads2.c: New testcase.
6809
6810 2009-04-29 Doug Evans <dje@google.com>
6811
6812 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6813 * gdb.cp/mb-ctor.cc: Ditto.
6814 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6815 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6816 * gdb.cp/mb-inline1.cc: Call it.
6817 * gdb.cp/mb-inline2.cc: Ditto.
6818 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6819 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6820
6821 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6822
6823 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6824 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6825 Replace all uses of `decimal' by `nonzero'.
6826 (info macro FROM_COMMANDLINE): New test.
6827
6828 2009-04-27 Tom Tromey <tromey@redhat.com>
6829
6830 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6831
6832 2009-04-27 Doug Evans <dje@google.com>
6833
6834 * gdb.threads/watchthreads.c (main): Initialize args before starting
6835 the threads. Plus formatting cleanup.
6836 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6837 biased scheduling of one thread.
6838
6839 2009-04-27 Jerome Guitton <guitton@adacore.com>
6840
6841 * gdb.cp/templates.cc (GetMax): New template.
6842 (main): Declare two instances of GetMax.
6843 * gdb.cp/templates.exp: Add new test.
6844
6845 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6846
6847 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6848
6849 2009-04-22 Joseph Myers <joseph@codesourcery.com>
6850
6851 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6852
6853 2009-04-15 Tom Tromey <tromey@redhat.com>
6854
6855 * gdb.base/charset.exp: Add regression test.
6856
6857 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6858
6859 * gdb.base/exe-lock.exp: New testcase.
6860
6861 2009-04-13 Tom Tromey <tromey@redhat.com>
6862
6863 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6864 operator on Frame.
6865
6866 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6867
6868 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6869 * gdb.server/ext-attach.exp: Likewise.
6870
6871 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6872
6873 Eliminate some sleep usage.
6874
6875 * gdb.mi/basics.c (do_nothing): New.
6876 (main): Use do_nothing instead of printf, so that
6877 not to introduce race condition between output of
6878 inferiour and output of gdb. Do not use sleep as it
6879 is not generally available on embedded targets.
6880
6881 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6882
6883 * gdb.server/ext-attach.exp: Expect an optional process id after
6884 "Detached from remote process".
6885
6886 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6887
6888 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6889 gdb.dwarf2/dw2-unresolved.exp: New.
6890
6891 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6892
6893 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6894 mi_run_to_main.
6895
6896 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6897
6898 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6899 mi_run_to_main. Skip thread exit test on remote targets.
6900 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6901 mi_run_to_main.
6902 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6903 mi_run_to_main.
6904 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6905 when expecting ^connected. Detect when the target doesn't support
6906 non-stop mode.
6907 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6908 supported. Return -1 on error, 0 on success.
6909 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6910 (mi_runto): Return mi_runto_helper's result explicitly.
6911
6912 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6913
6914 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6915
6916 2009-04-01 Tom Tromey <tromey@redhat.com>
6917
6918 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6919 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6920 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6921 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6922
6923 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6924 Jan Kratochvil <jan.kratochvil@redhat.com>
6925
6926 PR gdb/931
6927 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6928 output.
6929 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6930 for gdb/931.
6931 * dw2-strp.S (DW_AT_language): Change to C++.
6932 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6933
6934 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6935
6936 * gdb.ada/tasks: New testcase.
6937
6938 2009-03-30 Stan Shebs <stan@codesourcery.com>
6939
6940 * gdb.trace/actions.exp: Update to match new info trace format.
6941 * gdb.trace/deltrace.exp: Ditto.
6942 * gdb.trace/infotrace.exp: Ditto.
6943 * gdb.trace/passcount.exp: Ditto.
6944 * gdb.trace/save-trace.exp: Ditto.
6945 * gdb.trace/while-stepping.exp: Ditto.
6946 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6947
6948 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6949
6950 * gdb.python/python-frame.c: New file.
6951 * gdb.python/python-frame.exp: New file.
6952
6953 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6954
6955 * gdb.python/python-value.exp: Add tests for the address
6956 attribute.
6957
6958 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6959
6960 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6961
6962 2009-03-26 Doug Evans <dje@google.com>
6963
6964 * gdb.mi/mi-nonstop-exit.exp: New file.
6965 * gdb.mi/non-stop-exit.c: New file.
6966
6967 2009-03-26 Tom Tromey <tromey@redhat.com>
6968
6969 Update for change to prologue skipping:
6970 * gdb.mi/mi2-simplerun.exp: Update.
6971 * gdb.mi/mi2-break.exp: Update.
6972 * gdb.mi/mi-simplerun.exp: Update.
6973 * gdb.mi/mi-break.exp: Update.
6974 * gdb.base/ending-run.exp: Update.
6975
6976 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6977
6978 * gdb.python/python-value.exp (test_value_in_inferior): Test
6979 gdb.Value.is_optimized_out attribute.
6980
6981 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6982
6983 * gdb.dwarf2/dw2-noloc-main.c: New file.
6984 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6985 (.text): Remove.
6986 (.data): New.
6987 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6988 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6989 (DW_TAG_subprogram func_cu1, noloc): Remove.
6990 (main): New.
6991 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6992 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6993 (file_symbols): New procedure.
6994
6995 2009-03-25 Tom Tromey <tromey@redhat.com>
6996
6997 * gdb.base/charset.exp (valid_target_charset): New proc.
6998 Use it to skip tests on invalid charsets.
6999
7000 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
7001
7002 * gdb.base/completion.exp: Add a test for directory completion.
7003
7004 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7005
7006 Fix a racy FAIL.
7007 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
7008 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
7009
7010 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
7011
7012 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
7013 * gdb.python/python-function.exp: Add test for function returning
7014 a GDB value.
7015
7016 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
7017
7018 * gdb.python/python-function.exp: New file.
7019
7020 2009-03-20 Tom Tromey <tromey@redhat.com>
7021
7022 * gdb.base/store.exp: Update for change to escape output.
7023 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
7024 to escape output.
7025 * gdb.base/pointers.exp: Update for change to escape output.
7026 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
7027 to escape output.
7028 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
7029 escape output.
7030 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
7031 to escape output.
7032 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
7033 escape output.
7034 * gdb.base/setvar.exp: Update for change to escape output.
7035 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
7036 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
7037 to escape output.
7038 (test_print_string_constants): Likewise.
7039 * gdb.base/charset.exp (valid_host_charset): Check size of
7040 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
7041 cases. Handle "auto"-related output.
7042 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
7043 (uvar, Uvar): New globals.
7044
7045 2009-03-19 Jerome Guitton <guitton@adacore.com>
7046
7047 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
7048 deltas.
7049 * gdb.ada/fixed_points.exp: Ditto.
7050
7051 2009-03-18 Pedro Alves <pedro@codesourcery.com>
7052
7053 * return-nodebug.c: Don't include stdio.h.
7054 (init): Delete.
7055 (func): Delete definition and provide extern declaration.
7056 (t): New.
7057 (main): Don't call printf. Call func and store its result in t.
7058 * return-nodebug1.c: New.
7059 * return-nodebug.exp: Don't expect stdio output. Instead, print
7060 the global variable t. Drop printf formatters and cast types from
7061 foreach loop. Don't use prepare_for_testing. Compile
7062 return-nodebug.c and return-nodebug1.c in separate steps. Don't
7063 define FORMAT or CAST.
7064
7065 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7066
7067 * gdb.base/solib-display.exp: Disable test for remote targers.
7068
7069 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7070
7071 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7072
7073 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 Fix a racy FAIL.
7076 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7077 code from `follow parent, print pids'.
7078 (`follow child, print pids', `follow parent, print pids'): Call it.
7079 Replace `gdb_test "break..."' by gdb_breakpoint.
7080
7081 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
7082
7083 * gdb.mi/mi-cli.exp: Adjust for output difference in
7084 sync and async modes.
7085
7086 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7087
7088 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
7089 that was checked in by mistake. Remove loading of ada.exp, since
7090 this is not necessary in this case.
7091
7092 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7093
7094 * gdb.ada/ptype_arith_binop.exp: New testcase.
7095
7096 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7097
7098 * gdb.ada/mod_from_name: New testcase.
7099
7100 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7101
7102 * gdb.ada/tick_last_segv: New testcase.
7103
7104 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7105
7106 * gdb.mi/mi-cli.exp: Remove debug print.
7107
7108 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
7109
7110 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
7111 include the token in ^running and frame info in *stopped.
7112
7113 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7114
7115 * solib-display.exp: New file.
7116 * solib-display-main.c: New file.
7117 * solib-display-lib.c: New file.
7118
7119 2009-03-05 Pedro Alves <pedro@codesourcery.com>
7120
7121 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
7122
7123 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7124
7125 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
7126 (list_and_check_macro): Use more specific test name.
7127 (next to definition): Make the test names unique.
7128
7129 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
7130
7131 * gdb.pascal/floats.exp: Accept approximate results everywhere.
7132
7133 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7134
7135 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
7136 notifications.
7137 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
7138 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
7139 * lib/mi-support.exp (library_loaded_re): New.
7140 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
7141
7142 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
7143
7144 * gdb.gdb/observer.exp: Use test_notification observer, not
7145 normal_stop, everywhere.
7146 (test_normal_stop_notifications): Rename to...
7147 (test_notifications): ...this.
7148 (test_observer_normal_stop): Rename to...
7149 (test_observer): ...this.
7150
7151 2009-02-16 Doug Evans <dje@google.com>
7152
7153 * gdb.arch/amd64-disp-step.S (test_int3): New test.
7154 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
7155 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
7156 (test_prefixed_syscall,test_int3): New tests.
7157 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
7158 (test_prefixed_syscall,test_int3): New tests.
7159
7160 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
7161
7162 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
7163 (mi_expect_interrupt): Likewise.
7164 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
7165 response.
7166
7167 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7168
7169 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
7170 * gdb.base/pc-fp.exp (get_valueofx): Remove.
7171 Replace calls to get_valueofx by get_hexadecimal_valueof.
7172
7173 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
7174
7175 * lib/gdb.exp (get_valueof): Accept anything as a return value.
7176 (get_integer_valueof): New procedure.
7177 (get_sizeof): Use new get_integer_value_of.
7178 * gdb.base/sizeof.exp: Replace all uses of get_valueof
7179 by get_integer_valueof.
7180
7181 2009-02-13 Tom Tromey <tromey@redhat.com>
7182
7183 * gdb.base/remote.exp (get_sizeof): Remove.
7184 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
7185 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
7186 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
7187 * lib/gdb.exp (get_valueof): Move from long_long.exp.
7188 (get_sizeof): Likewise.
7189
7190 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7191
7192 PR fortran/9806
7193 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
7194
7195 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7196
7197 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
7198
7199 2009-02-06 Pedro Alves <pedro@codesourcery.com>
7200
7201 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
7202
7203 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7204
7205 * gdb.python/python-cmd.exp: New file.
7206
7207 2009-02-06 Tristan Gingold <gingold@adacore.com>
7208
7209 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
7210
7211 2009-02-05 Tristan Gingold <gingold@adacore.com>
7212
7213 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
7214 pointer is dereferenced and use this signal name in regexp.
7215 * gdb.base/signull.exp: Ditto.
7216 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
7217 * gdb.base/signull.c (main): Ditto.
7218
7219 2009-02-04 Tom Tromey <tromey@redhat.com>
7220 Thiago Jung Bauermann <bauerman@br.ibm.com>
7221
7222 * gdb.python/python-value.exp: Use `gdb.history' instead of
7223 `gdb.value_from_history'.
7224 (test_value_numeric_ops): Add test for conversion of enum constant.
7225 * gdb.python/python-value.c (enum e): New type.
7226 (evalue): New global.
7227 (main): Use argv.
7228
7229 2009-02-04 Jerome Guitton <guitton@adacore.com>
7230
7231 * gdb.ada/uninitialized_vars: New test program.
7232 * gdb.ada/uninitialized_vars.exp: New testcase.
7233
7234 2009-02-02 Tom Tromey <tromey@redhat.com>
7235
7236 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
7237 * gdb.cp/pr2489.cc: Rename...
7238 * gdb.cp/pr9594.cc: ... to this.
7239
7240 2009-02-02 Tom Tromey <tromey@redhat.com>
7241
7242 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
7243 * gdb.cp/pr2489.cc: New file.
7244 * gdb.cp/cpcompletion.exp: New file.
7245
7246 2009-02-02 Tom Tromey <tromey@redhat.com>
7247
7248 PR exp/9059:
7249 * gdb.cp/call-c.exp: Add regression test.
7250 * gdb.cp/call-c.cc (FooHandle): New typedef.
7251 (main): New variable 'handle'.
7252
7253 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7254
7255 * lib/mi-support.exp (et_mi_thread_list)
7256 (check_mi_and_console_threads): Adjust for current thread in
7257 -thread-list-ids output.
7258
7259 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
7260
7261 * gdb.mi/mi-break.exp (test_disabled_creation): New.
7262 Call it.
7263
7264 2009-01-28 Doug Evans <dje@google.com>
7265
7266 * gdb.arch/amd64-disp-step.S: New file.
7267 * gdb.arch/amd64-disp-step.exp: New file.
7268 * gdb.arch/i386-disp-step.S: New file.
7269 * gdb.arch/i386-disp-step.exp: New file.
7270
7271 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
7272
7273 * gdb.base/find.exp: Set newline variable
7274 using quotes instead of braces to fix cygwin failures.
7275
7276 2009-01-23 Pedro Alves <pedro@codesourcery.com>
7277
7278 * gdb.base/radix.exp: Add tests to ensure that that set
7279 input-radix 0 and set output-radix 0 are really rejected.
7280
7281 2009-01-23 Pedro Alves <pedro@codesourcery.com>
7282
7283 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
7284 copyright years.
7285
7286 2009-01-23 Pedro Alves <pedro@codesourcery.com>
7287
7288 PR gdb/9664:
7289 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
7290
7291 2009-01-22 Pedro Alves <pedro@codesourcery.com>
7292
7293 PR c++/9631:
7294 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
7295
7296 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
7297
7298 * gdb.server/file-transfer.exp: Use EXEEXT variable for
7299 binfile definition to fix Windows OS failure.
7300
7301 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7302
7303 PR gdb/9346
7304 * gdb.base/interrupt.c (sigint_handler): New.
7305 (main): Install a SIGINT handler if SIGNALS is defined. Exit
7306 on error.
7307 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
7308 Test "signal SIGINT".
7309
7310 2009-01-19 Doug Evans <dje@google.com>
7311
7312 * gdb.base/break.exp: Update expected gdb output.
7313 * gdb.base/sepdebug.exp: Ditto.
7314 * gdb.mi/mi-syn-frame.exp: Ditto.
7315 * gdb.mi/mi2-syn-frame.exp: Ditto.
7316 * gdb.base/call-signal-resume.exp: New file.
7317 * gdb.base/call-signals.c: New file.
7318 * gdb.base/unwindonsignal.exp: New file.
7319 * gdb.base/unwindonsignal.c: New file.
7320 * gdb.threads/interrupted-hand-call.exp: New file.
7321 * gdb.threads/interrupted-hand-call.c: New file.
7322 * gdb.threads/thread-unwindonsignal.exp: New file.
7323
7324 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
7325
7326 * gdb.base/define.exp: Test defining and hooking prefix commands.
7327 * gdb.python/python.exp: Update test for "show user" output.
7328
7329 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7330
7331 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
7332 now the output exactly, using less wildcards. Expect also the output
7333 of gfortran-4.3. Update for the f-valprint.c modification from
7334 2008-04-22.
7335 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
7336 Remove gdb_test test names where matching the command.
7337
7338 2009-01-01 Pedro Alves <pedro@codesourcery.com>
7339
7340 PR breakpoints/9681:
7341 * gdb.base/watchpoint.exp: Add regression test.
7342
7343 2008-12-31 Pedro Alves <pedro@codesourcery.com>
7344
7345 * gdb.threads/attach-into-signal.exp: Don't use
7346 gdb_suppress_entire_file.
7347 * gdb.threads/attach-stopped.exp: Ditto.
7348 * gdb.threads/attachstop-mt.exp: Ditto.
7349
7350 2008-12-31 Pedro Alves <pedro@codesourcery.com>
7351
7352 PR gdb/8812:
7353 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
7354
7355 2008-12-29 Pedro Alves <pedro@codesourcery.com>
7356
7357 PR gdb/7536:
7358 * gdb.base/radix.exp: Add tests to ensure invalid input radices
7359 and unsupported output radices are really rejected.
7360
7361 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7362
7363 * gdb.cp/punctuator.exp: Backslash the '$' signs.
7364
7365 2008-12-22 Tom Tromey <tromey@redhat.com>
7366
7367 * gdb.cp/punctuator.exp: New file.
7368
7369 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7370
7371 * gdb.base/completion.exp (Completing non-existing component): New test.
7372
7373 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7374
7375 Fix for PR gdb/8648.
7376 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
7377 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
7378 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
7379 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
7380
7381 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7382
7383 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
7384
7385 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
7386
7387 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
7388 compiler actually generate code at the expected line number.
7389
7390 2008-12-15 Jie Zhang <jie.zhang@analog.com>
7391
7392 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
7393
7394 2008-12-12 Tom Tromey <tromey@redhat.com>
7395
7396 * gdb.base/commands.exp (redefine_hook_test): New proc.
7397 Call it.
7398
7399 2008-12-11 Tom Tromey <tromey@redhat.com>
7400
7401 * gdb.base/macscp.exp: New regression test.
7402
7403 2008-12-11 Tom Tromey <tromey@redhat.com>
7404
7405 * gdb.base/macscp.exp: Print "address.addr".
7406 * gdb.base/macscp1.c (struct outer): New struct.
7407 (address): New global.
7408
7409 2008-12-09 Tom Tromey <tromey@redhat.com>
7410
7411 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
7412 Call it.
7413
7414 2008-12-04 Doug Evans <dje@google.com>
7415
7416 * gdb.server/ext-run.exp: Relax regexp for init program.
7417
7418 2008-12-03 Tristan Gingold <gingold@adacore.com>
7419
7420 * gdb.base/macscp.exp: Generate an object file during compilation
7421 to work around Darwin dsymutil limitations.
7422
7423 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7424
7425 Test resolving external references to TLS variables.
7426 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
7427 FILE2_THREAD_LOCAL.
7428 (testfile2, srcfile2): New variables.
7429 * gdb.threads/tls.c (file2_thread_local)
7430 (function_referencing_file2_thread_local): New.
7431 * gdb.threads/tls2.c: New file.
7432
7433 2008-11-28 Joel Brobecker <brobecker@adacore.com>
7434
7435 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
7436 rather than integer, as integer might not be big enough when
7437 on 64bit targets.
7438
7439 2008-11-27 Jerome Guitton <guitton@adacore.com>
7440
7441 * gdb.cp/formatted-ref.exp: Add equality test.
7442 * gdb.ada/formatted_ref.exp: Ditto.
7443
7444 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7445
7446 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
7447 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
7448
7449 2008-11-20 Andreas Schwab <schwab@suse.de>
7450
7451 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
7452 matching syscall entry point.
7453 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7454 (tcatch_vfork_then_child_follow): Likewise. Finish through
7455 vfork even if we stopped at the syscall trampoline.
7456
7457 2008-11-20 Doug Evans <dje@google.com>
7458
7459 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
7460
7461 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
7462
7463 * gdb.arch/ppc-dfp.exp: New file.
7464 * gdb.arch/ppc-dfp.c: New file.
7465
7466 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7467
7468 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
7469
7470 2008-11-17 Doug Evans <dje@google.com>
7471
7472 * gdb.mi/mi-syn-frame.exp: Update expected output.
7473 * gdb.mi/mi2-syn-frame.exp: Update expected output.
7474
7475 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7476
7477 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
7478 "thread N" results in =thread-selected.
7479 * lib/mi-support (mi_run_cmd, mi_expect_stop)
7480 (mi_send_resuming_command_raw): Be prepared for
7481 =thread-selected.
7482
7483 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
7484
7485 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
7486 * lib/mi-support.exp: Likewise.
7487
7488 2008-11-16 Joel Brobecker <brobecker@adacore.com>
7489
7490 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
7491 commands from the expected output for "help catch".
7492
7493 2008-11-15 Joel Brobecker <brobecker@adacore.com>
7494
7495 * gdb.ada/int_deref.exp: New testcase.
7496
7497 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
7498
7499 * gdb.mi/gdb2549.exp: New file.
7500
7501 2008-11-11 Doug Evans <dje@google.com>
7502
7503 * gdb.base/callexit.exp: New file.
7504 * gdb.base/callexit.c: New file.
7505
7506 2008-11-10 Doug Evans <dje@google.com>
7507
7508 * lib/gdb.exp (GDBFLAGS): Move -nx ...
7509 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
7510 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
7511 (default_gdb_start,default_gdb_exit): Ditto.
7512 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
7513 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
7514 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
7515 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7516 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7517 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7518
7519 2008-11-03 Andreas Schwab <schwab@suse.de>
7520
7521 * gdb.base/hashline2.exp: Fix typo.
7522 * gdb.base/hashline3.exp: Likewise.
7523
7524 2008-10-30 Tom Tromey <tromey@redhat.com>
7525
7526 * gdb.base/pointers.exp: Add test.
7527 * gdb.base/pointers.c (k, S): New typedefs.
7528 (instance): New global.
7529
7530 2008-10-30 Andreas Schwab <schwab@suse.de>
7531
7532 * gdb.base/args.exp: Add tests for newlines.
7533
7534 2008-10-30 Joel Brobecker <brobecker@adacore.com>
7535
7536 gdb.base/foll-exec.exp: Update the expected output of a couple
7537 of "info breakpoints" tests.
7538
7539 2008-10-28 Tom Tromey <tromey@redhat.com>
7540
7541 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7542
7543 2008-10-24 Pedro Alves <pedro@codesourcery.com>
7544
7545 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7546 gdb_start_cmd.
7547 Use runto_main before any test that requires execution.
7548
7549 2008-10-23 Pedro Alves <pedro@codesourcery.com>
7550
7551 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7552 instead of SIGINT.
7553
7554 2008-10-22 Joel Brobecker <brobecker@adacore.com>
7555
7556 * gdb.base/completion.exp: Update expected output following
7557 the addition of the "info tasks" command.
7558
7559 2008-10-22 Tom Tromey <tromey@redhat.com>
7560
7561 * gdb.base/exprs.exp (test_expr): Add test for string
7562 concatenation.
7563
7564 2008-10-19 Pedro Alves <pedro@codesourcery.com>
7565
7566 * configure.ac: Output gdb.python/Makefile.
7567 * configure: Regenerate.
7568 * gdb.python/Makefile.in: New.
7569
7570 2008-10-16 Joel Brobecker <brobecker@adacore.com>
7571
7572 * gdb.base/foll-fork.exp: Adjust the expected output to match
7573 the new description for fork/vfork catchpoints in the "info
7574 breakpoints" output.
7575
7576 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7577
7578 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7579
7580 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7581
7582 * gdb.python/python-value.c: New file.
7583 * gdb.python/python-value.exp: New file.
7584
7585 2008-10-15 Pedro Alves <pedro@codesourcery.com>
7586
7587 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7588
7589 2008-10-15 Denis Pilat <denis.pilat@st.com>
7590
7591 * gdb.cp/mb-ctor.exp: Fix a typo.
7592
7593 2008-10-09 Tom Tromey <tromey@redhat.com>
7594
7595 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7596 'fprintf' and 'stderr'.
7597
7598 2008-10-07 Joel Brobecker <brobecker@adacore.com>
7599
7600 * gdb.ada/ref_tick_size.exp: New testcase.
7601
7602 2008-10-06 Doug Evans <dje@google.com>
7603
7604 * gdb.dwarf2/dw2-cu-size.exp: New file.
7605 * gdb.dwarf2/dw2-cu-size.S: New file.
7606
7607 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7608 .Ltype_int for clarity.
7609
7610 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7611
7612 PR gdb/2384:
7613 * gdb.cp/gdb2384.exp: Extended to test more cases.
7614 * gdb.cp/gdb2384.cc: Likewise.
7615 * gdb.cp/gdb2384-base.h: Likewise.
7616 * gdb.cp/gdb2384-base.cc: Likewise.
7617
7618 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7619
7620 * gdb.base/maint.exp (maint print type): Remove printing
7621 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7622
7623 2008-09-30 Tom Tromey <tromey@redhat.com>
7624
7625 * gdb.base/macscp.exp: Add completion tests.
7626 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7627 (TWENTY_THREE): Likewise.
7628 (FORTY_EIGHT): Likewise.
7629
7630 2008-09-30 Tom Tromey <tromey@redhat.com>
7631
7632 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7633 everywhere.
7634 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7635
7636 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7637
7638 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7639 testcase is derived from. Fix racy dependency on an expected PID
7640 number. No longer support the testcase on Linux kernel 2.4.x.
7641
7642 2008-09-27 Tom Tromey <tromey@redhat.com>
7643
7644 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7645 and varargs.
7646
7647 2008-09-22 Pedro Alves <pedro@codesourcery.com>
7648
7649 * lib/mi-support.exp (mi_expect_interrupt): New.
7650 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7651 from gdb.mi/mi-nonstop.exp.
7652 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7653 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7654 lib/mi-support.exp.
7655 Use mi_check_thread_states throughout. Avoid ".*" and do not
7656 require an anchor after -exec-run.
7657
7658 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7659
7660 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7661 stop is pending. Avoid ".*" when two stops are pending.
7662 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7663 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7664 newlines in fullnames.
7665 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7666 (mi_expect_stop): Update comments. Only anchor in sync mode.
7667 Do not match newlines.
7668 (mi_send_resuming_command_raw): Always return status.
7669 (mi_get_stop_line): Do not match more than one line by accident.
7670 Only anchor in sync mode.
7671 (mi_run_inline_test): If -exec-next fails, give up.
7672
7673 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7674
7675 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7676 on SPU.
7677
7678 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7679
7680 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7681
7682 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7683
7684 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7685 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7686 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7687 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7688 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7689 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7690 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7691 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7692 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7693 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7694 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7695 Include the "= " sequence in the expected output of print tests.
7696
7697 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7698
7699 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7700 description for boolean types.
7701
7702 2008-09-09 Pedro Alves <pedro@codesourcery.com>
7703
7704 * gdb.base/hook-stop-continue.c: New.
7705 * gdb.base/hook-stop-continue.exp: New.
7706
7707 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7708
7709 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7710
7711 2008-09-08 Jerome Guitton <guitton@adacore.com>
7712
7713 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7714 (stack_check_probe_2, stack_check_probe_loop_1)
7715 (stack_check_probe_loop_2): New functions.
7716 (main): Add call to these new functions.
7717 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7718 functions, check that the breakpoint is inserted at the appropriate
7719 location.
7720 (insert_breakpoint): Slightly refine this procedure so that it can
7721 be called several times in the test.
7722
7723 2008-09-08 Jerome Guitton <guitton@adacore.com>
7724
7725 * gdb.base/stack-checking.c: New file.
7726 * gdb.base/stack-checking.exp: New file.
7727
7728 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7729
7730 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7731 * gdb.arch/altivec-regs.exp: Likewise.
7732 * gdb.arch/vsx-regs.exp: Likewise.
7733
7734 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7735
7736 * gdb.arch/ppc-fp.exp: New file.
7737 * gdb.arch/ppc-fp.c: New file.
7738
7739 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7740
7741 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7742 lest gcc-4.3.1 optimizes the whole thing away.
7743
7744 2008-09-04 Michael Snyder <msnyder@vmware.com>
7745
7746 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7747 as "at" (for non-debug functions such as _start).
7748
7749 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7750
7751 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7752 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7753 software watchpoints.
7754 * gdb.base/watch_thread_num.exp: Likewise.
7755
7756 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7757
7758 * gdb.arch/i386-bp_permanent.exp: New test.
7759
7760 2008-08-24 Tom Tromey <tromey@redhat.com>
7761
7762 * gdb.base/maint.exp: Update "maint print type".
7763
7764 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7765
7766 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7767 support. Adjust the order of "*running" notifications.
7768 * gdb.mi/non-stop.c: Don't cast from int to void* and
7769 back.
7770
7771 2008-08-20 Mark Kettenis <kettenis@gnu.org>
7772
7773 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7774 expect to find it in the "info frame" output.
7775
7776 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7777
7778 * gdb.base/interp.exp: Always consume both prompts.
7779
7780 2008-08-20 Pedro Alves <pedro@codesourcery.com>
7781
7782 * gdb.base/pending.exp: Test pending breakpoints without symbols
7783 loaded.
7784
7785 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7786
7787 * lib/mi-support.exp (mi_expect_stop): Produce
7788 more details on failures.
7789 * gdb.mi/mi-nonstop.exp: New.
7790 * gdb.mi/non-stop.c: New.
7791
7792 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7793
7794 * gdb.mi/mi-async.exp: Use 'set target-async'.
7795 * lib/mi-support.exp: Use 'set/show target-async'.
7796
7797 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7798
7799 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7800
7801 2008-08-17 Tom Tromey <tromey@redhat.com>
7802
7803 * gdb.base/help.exp (help catch): Rewrite.
7804
7805 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7806
7807 * gdb.base/define.exp: Test indented command documentation.
7808 * gdb.python/python.exp: Test indented multi-line command.
7809
7810 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
7811
7812 * testsuite/gdb.arch/vsx-regs.c: New source file.
7813 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7814 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7815
7816 2008-08-14 Tom Tromey <tromey@redhat.com>
7817
7818 * gdb.base/macscp.exp: Add regression test for "macro define" or
7819 "macro undef" with no arguments.
7820
7821 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7822
7823 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
7824
7825 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7826
7827 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7828
7829 2008-08-06 Tom Tromey <tromey@redhat.com>
7830
7831 * gdb.python/python.exp: New file.
7832
7833 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7834
7835 Fix for PR gdb/1543.
7836 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7837 $LOCATION.
7838 (location): New variable.
7839 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7840 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7841 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7842 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7843 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7844 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7845 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7846 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7847 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7848 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7849 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7850 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7851 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7852 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7853 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7854 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7855 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7856 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7857 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7858 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7859 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7860 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7861 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7862 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7863 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7864 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7865 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7866 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7867 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7868 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7869 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7870 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7871 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7872 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7873 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7874 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7875 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7876 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7877 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7878 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7879 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7880 gdb.base/type-opaque.exp, gdb.base/until.exp,
7881 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7882 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7883 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7884 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7885 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7886 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7887 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7888 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7889 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7890 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7891 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7892 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7893 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7894 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7895 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7896 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7897 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7898 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7899 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7900 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7901 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7902 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7903 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7904 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7905 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7906 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7907 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7908 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7909 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7910 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7911 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7912 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7913 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7914 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7915 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7916 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7917 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7918 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7919 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7920 to bug-gdb@prep.ai.mit.edu .
7921
7922 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7923
7924 * lib/mi-support.exp (mi_load_shlibs): New.
7925 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7926
7927 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7928
7929 * lib/mi-support.exp (get_mi_thread_list)
7930 (check_mi_and_console_threads): New, moved from ...
7931 * gdb.mi/mi-pthread.exp: ...here.
7932 * gdb.mi/gdb669.exp (get_mi_thread_list)
7933 (check_mi_and_console_threads): Delete.
7934 * gdb.mi/mi2-pthread.exp: Likewise.
7935
7936 2008-07-28 Tom Tromey <tromey@redhat.com>
7937
7938 * Makefile.in (just-check): Remove. Move body to...
7939 (check): ... here.
7940
7941 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7942
7943 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7944 Add a test for duplicated SIGINTs.
7945
7946 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7947
7948 * gdb.threads/schedlock.exp (get_args): Update to work for any
7949 value of NUM.
7950 (Top level): Report the number of threads that did not resume.
7951
7952 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7953
7954 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7955
7956 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7957
7958 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7959 non-MI prompt.
7960
7961 2008-07-26 Tom Tromey <tromey@redhat.com>
7962
7963 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7964 (function_struct, function_struct_ptr): New globals.
7965 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7966 function pointer in a struct.
7967
7968 2008-07-26 Tom Tromey <tromey@redhat.com>
7969
7970 * gdb.base/macscp.exp: Add test for macro lexing bug.
7971
7972 2008-07-18 Tom Tromey <tromey@redhat.com>
7973
7974 * gdb.base/macscp.exp: Add macro tests.
7975
7976 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7977
7978 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7979
7980 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7981
7982 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7983
7984 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7985
7986 * gdb.cp/class2.exp: fix for failure on spu-elf
7987
7988 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7989
7990 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7991
7992 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7993
7994 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7995
7996 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7997
7998 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7999
8000 2008-07-11 Kevin Buettner <kevinb@redhat.com>
8001
8002 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
8003 of regexp to account for changes made to GDB in the printing of
8004 byte vectors.
8005
8006 2008-07-11 Tom Tromey <tromey@redhat.com>
8007
8008 * gdb.base/completion.exp: Add 'help' completion test.
8009
8010 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8011
8012 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
8013
8014 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8015
8016 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
8017
8018 2008-07-09 Pedro Alves <pedro@codesourcery.com>
8019
8020 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
8021
8022 2008-07-09 Pedro Alves <pedro@codesourcery.com>
8023
8024 * gdb.base/fullname.exp: Restore pwd if compiling failed.
8025
8026 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8027
8028 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
8029
8030 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8031
8032 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
8033 previous commit. Add a comment.
8034
8035 2008-06-28 Pedro Alves <pedro@codesourcery.com>
8036
8037 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
8038
8039 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8040
8041 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
8042
8043 2008-06-27 Pedro Alves <pedro@codesourcery.com>
8044
8045 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
8046 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
8047 compiling an executable, link in an object that forces unbuffered
8048 output.
8049 * lib/set_unbuffered_mode.c: New file.
8050
8051 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8052
8053 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8054
8055 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
8056
8057 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8058 mi_expect_stop.
8059 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8060 Demand that *running is output.
8061 (detect_async): Perform checking every time.
8062 (mi_send_resuming_command): Extract everything into...
8063 (mi_send_resuming_command_raw): ...this.
8064 (mi_expect_stop): Don't accept any output before *stopped.
8065
8066 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
8067
8068 Robustify mi-simplerun.
8069 * gdb.mi/basics.c (main): Add a call to sleep.
8070 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8071 * gdb.mi/mi2-cli.exp: Likewise.
8072 * gdb.mi/mi-break.exp: Likewise.
8073
8074 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
8075
8076 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8077
8078 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8079
8080 * gdb.mi/mi-console.exp: Adjust.
8081 * gdb.mi/mi-syn-frame.exp: Adjust.
8082 * gdb.mi/mi2-console.exp: Adjust.
8083 * gdb.mi/mi2-syn-frame.exp: Adjust.
8084 * lib/mi-support.exp (mi_run_cmd): Adjust.
8085 (mi_send_resuming_command): Adjust.
8086
8087 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8088
8089 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
8090 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
8091 testing of stopped.
8092 * gdb.mi/mi2-syn-frame.exp: Likewise.
8093 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
8094 (async, detect_async): New.
8095 (mi_expect_stop, mi_continue_to_line): Adjust expectation
8096 depending on if we're running in sync or async mode.
8097
8098 2008-06-09 Tom Tromey <tromey@redhat.com>
8099
8100 * gdb.base/completion.exp: New tests for field name completion
8101 with spaces, and field name completion with '->'.
8102
8103 2008-06-06 Tom Tromey <tromey@redhat.com>
8104
8105 * gdb.base/break1.c (struct some_struct): New struct.
8106 (values): New global.
8107 * gdb.base/completion.exp: Add field name completion test.
8108
8109 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8110
8111 * gdb.cp/call-c.exp: Test for incorrect handling of reference
8112 to pointer.
8113 * gdb.cp/call-c.cc: Likewise.
8114
8115 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
8116
8117 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
8118 annotation.
8119
8120 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8121 Pedro Alves <pedro@codesourcery.com>
8122
8123 * gdb.threads/execl.c, gdb.threads/execl1.c,
8124 gdb.threads/execl.exp: New tests.
8125
8126 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
8127 Daniel Jacobowitz <dan@codesourcery.com>
8128
8129 * gdb.cp/exception.exp: Activate test, make it work with pending
8130 catchpoints.
8131
8132 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8133
8134 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
8135
8136 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
8137
8138 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
8139 now printed.
8140 * gdb.mi/mi2-var-cmd.exp: Likewise.
8141
8142 2008-05-27 Andreas Schwab <schwab@suse.de>
8143
8144 * gdb.base/frame-args.exp: Handle arguments that are optimized
8145 out.
8146
8147 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
8148
8149 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
8150 quiet for ppc32 and group options into a single variable.
8151
8152 2008-05-23 Joel Brobecker <brobecker@adacore.com>
8153
8154 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
8155 of zero-size elements.
8156 * gdb.ada/null_array.exp: Test printing this new array.
8157
8158 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8159
8160 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
8161
8162 2008-05-21 Joel Brobecker <brobecker@adacore.com>
8163
8164 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
8165 of the "finish" command.
8166
8167 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
8168
8169 * gdb.base/annota1.exp: Test for new annotation.
8170
8171 2008-05-16 Pedro Alves <pedro@codesourcery.com>
8172
8173 * gdb.base/fixsection.exp: New file.
8174 * gdb.base/fixsection0.c: New file.
8175 * gdb.base/fixsection1.c: New file.
8176
8177 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8178
8179 * gdb.base/annota1.exp: Accept printf@... in place of printf.
8180 * gdb.base/annota3.exp: Likewise.
8181
8182 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
8183
8184 * gdb.base/watch_thread_num.exp: Don't run tests that require
8185 watchpoints if the target doesn't support them.
8186
8187 2008-05-12 Doug Evans <dje@google.com>
8188
8189 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
8190
8191 2008-05-09 Joel Brobecker <brobecker@adacore.com>
8192
8193 * gdb.ada/assign_1.exp: New testcase.
8194
8195 2008-05-09 Doug Evans <dje@google.com>
8196
8197 * gdb.base/find.exp: New file.
8198 * gdb.base/find.c: New file.
8199
8200 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
8201
8202 * gdb.base/commands.exp (watchpoint_command_test): Handle
8203 gdb,no_hardware_watchpoints.
8204 * gdb.base/float.exp: Allow ARM targets without floating point.
8205 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
8206
8207 2008-05-06 Jerome Guitton <guitton@adacore.com>
8208 Joel Brobecker <brobecker@adacore.com>
8209
8210 * gdb.ada/lang_switch: New test program.
8211 * gdb.ada/lang_switch.exp: New testcase.
8212
8213 2008-05-05 Doug Evans <dje@google.com>
8214
8215 * gdb.base/help.exp (disassemble): Update expected help text.
8216
8217 2008-05-04 Pedro Alves <pedro@codesourcery.com>
8218
8219 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
8220
8221 2008-05-04 Pedro Alves <pedro@codesourcery.com>
8222
8223 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
8224 different times.
8225
8226 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8227
8228 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
8229 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
8230 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
8231 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
8232
8233 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
8234
8235 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
8236 notification to appear.
8237
8238 2008-05-04 Daniel Jacobowitz <dan@debian.org>
8239
8240 * gdb.base/fullname.c: New file.
8241 * gdb.base/fullname.exp: New file.
8242 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
8243
8244 2008-05-03 Pedro Alves <pedro@codesourcery.com>
8245
8246 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
8247 expressions with macros.
8248
8249 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8250
8251 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
8252
8253 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
8254
8255 * gdb.base/completion.exp: Handle lack of other symbols beginning
8256 with "a".
8257
8258 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
8259
8260 2008-05-02 Jim Blandy <jimb@codesourcery.com>
8261
8262 * gdb.asm/asmsrc1.s: Add scratch space.
8263
8264 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8265 Daniel Jacobowitz <dan@codesourcery.com>
8266
8267 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
8268 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
8269 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
8270
8271 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
8272
8273 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
8274
8275 2008-05-01 Joel Brobecker <brobecker@adacore.com>
8276
8277 * gdb.base/info-target.exp: New testcase.
8278
8279 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8280
8281 * gdb.cp/hang.exp: Use .cc instead of .C.
8282 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
8283 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
8284
8285 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
8286
8287 * gdb.base/gdb1250.exp: Remove perror.
8288 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
8289
8290 2008-04-30 Pedro Alves <pedro@codesourcery.com>
8291
8292 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
8293 .2byte.
8294
8295 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
8296
8297 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
8298 (maybe_kfail): New.
8299
8300 2008-04-25 Pedro Alves <pedro@codesourcery.com>
8301
8302 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
8303
8304 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8305
8306 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
8307 * gdb.mi/mi2-syn-frame.exp: Likewise.
8308 * lib/mi-support.exp: Likewise.
8309
8310 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8311
8312 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
8313 to specify regexp for the location to stop at.
8314 * gdb.base/break-always.c: New.
8315 * gdb.base/break-always.exp: New.
8316
8317 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
8318
8319 * lib/mi-support.exp (mi_runto_helper): Adjust
8320 for the original-location field.
8321 (mi_create_breakpoint, mi_list_breakpoints): New.
8322 * gdb.mi/mi-break.exp: Adjust.
8323 * gdb.mi/mi2-break.exp: Adjust.
8324 * gdb.mi/mi-pending.exp: Adjust.
8325 * gdb.mi/mi-simplerun.exp: Adjust.
8326 * gdb.mi/mi2-simplerun.exp: Adjust.
8327 * gdb.mi/mi-syn-frame.exp: Adjust.
8328 * gdb.mi/mi2-syn-frame.exp: Adjust.
8329 * gdb.mi/mi-until.exp: Adjust.
8330 * gdb.mi/mi2-until.exp: Adjust.
8331 * gdb.mi/mi-var-display.exp: Adjust.
8332 * gdb.mi/mi2-var-display.exp: Adjust.
8333 * gdb.mi/mi-watch.exp: Adjust.
8334 * gdb.mi/mi2-watch.exp: Adjust.
8335
8336 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
8337
8338 * aclocal.m4: Add override.m4.
8339 * configure: Regenerate.
8340
8341 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
8342
8343 * gdb.mi/var-cmd.c (do_at_tests): Verify that
8344 '-var-update --all-values' reports new value even the type
8345 of a variable object has changed.
8346
8347 2008-04-18 Craig Silverstein <csilvers@google.com>
8348
8349 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
8350 files.
8351
8352 2008-04-18 Joel Brobecker <brobecker@adacore.com>
8353
8354 * gdb.ada/atomic_enum: New test program.
8355 * gdb.ada/atomic_enum.exp: New testcase.
8356
8357 2008-04-17 Doug Evans <dje@google.com>
8358
8359 * gdb.opt/Makefile.in: Fix whitespace.
8360
8361 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
8362
8363 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
8364
8365 2008-04-17 Doug Evans <dje@google.com>
8366
8367 * gdb.base/hashline1.exp: New testcase.
8368 * gdb.base/hashline2.exp: New testcase.
8369 * gdb.base/hashline2.exp: New testcase.
8370
8371 2008-04-17 Pedro Alves <pedro@codesourcery.com>
8372
8373 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
8374
8375 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
8376
8377 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
8378 temporary breakpoint to match "Temporary breakpoint".
8379 * gdb.base/break.exp (delete_breakpoints): Likewise.
8380 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
8381 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
8382 * gdb.base/display.exp: Likewise.
8383 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
8384 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
8385 * gdb.base/restore.exp (restore_tests): Likewise.
8386 * gdb.base/sepdebug.exp: Likewise.
8387 * gdb.base/watchpoint.exp: Likewise.
8388 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
8389 * gdb.mi/mi-pending.exp: Likewise.
8390 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
8391 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
8392 * gdb.mi/mi-var-cmd.exp: Likewise.
8393 * gdb.mi/mi-var-display.exp: Likewise.
8394 * gdb.mi/mi2-cli.exp: Likewise.
8395 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
8396 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
8397 * gdb.mi/mi2-var-display.exp: Likewise.
8398 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
8399 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
8400 new "disp" field.
8401 (mi_expect_stop): Move after_reason argument to be really after
8402 reason. This is to support fix for PR2424.
8403
8404 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8405
8406 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
8407
8408 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
8409
8410 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
8411 field. Add more floating varobj tests.
8412 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
8413 field.
8414 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
8415 (main): Call do_at_tests.
8416 * lib/mi-support.exp (mi_create_floating_varobj)
8417 (mi_varobj_update_with_type_change): New.
8418
8419 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
8420
8421 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
8422 option of -var-evaluate-expression.
8423 * gdb.mi/mi2-var-display.exp: Likewise.
8424
8425 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
8426
8427 Introduce test setup helpers.
8428 * lib/gdb.exp (build_executable, clean_restart)
8429 (prepare_for_testing): New.
8430 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
8431 * gdb.base/return.exp: Likewise.
8432 * gdb.base/ending-run.exp: Likewise.
8433
8434 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
8435
8436 * gdb.mi/mi-async.exp: New test for asynchronous Machine
8437 Interface (MI) responses.
8438
8439 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
8440
8441 * gdb.cp/breakpoint.cc: New code to test conditions involving
8442 member variables.
8443 * gdb.cp/breakpoint.exp: Test condition involving member
8444 variables.
8445
8446 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
8447
8448 * lib/mi-support.exp (mi_expect_stop): New.
8449 (mi_run_cmd): Change the
8450 token. Use mi_send_resuming_command, use
8451 mi_expect_stop.
8452 (mi_execute_to_helper): Rename to mi_execute_to.
8453 (mi_send_resuming_command): Add more error patterns.
8454 (mi_wait_for_stop): Renamed to...
8455 (mi_get_stop_line): ...this.
8456 (mi_run_inline_test): Adjust.
8457
8458 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
8459 * gdb.mi/mi-console.exp: Likewise.
8460 * gdb.mi/mi-pending.exp: Likewise.
8461 * gdb.mi/mi-simplerun.exp: Likewise.
8462 * gdb.mi/mi-stack.exp: Likewise.
8463 * gdb.mi/mi-stepi.exp: Likewise.
8464 * gdb.mi/mi-syn-frame.exp: Add comment.
8465 * gdb.mi/mi-until.exp: Likewise.
8466 * gdb.mi/mi-var-display.exp: Likewise.
8467 * gdb.mi/mi-watch.exp: Likewise.
8468 * gdb.mi/mi2-cli.exp: Likewise.
8469 * gdb.mi/mi2-console.exp: Likewise.
8470 * gdb.mi/mi2-simplerun.exp: Likewise.
8471 * gdb.mi/mi2-stack.exp: Likewise.
8472 * gdb.mi/mi2-stepi.exp: Likewise.
8473 * gdb.mi/mi2-until.exp: Likewise.
8474 * gdb.mi/mi2-var-display.exp: Likewise.
8475 * gdb.mi/mi2-watch.exp: Likewise.
8476
8477 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8478
8479 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
8480
8481 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
8482
8483 2008-04-04 Pedro Alves <pedro@codesourcery.com>
8484
8485 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
8486 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
8487 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
8488 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
8489 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
8490 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
8491 expect an mi error duplicated in stderr.
8492
8493 2008-04-03 Joel Brobecker <brobecker@adacore.com>
8494
8495 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
8496 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
8497 Add a couple of tests that verify the behavior when the new setting
8498 is set to "cancel" and "all".
8499 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
8500 "ask" before we start the testing.
8501
8502 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
8503
8504 * gdb.cp/casts.cc: Add class reference variables.
8505 * gdb.cp/casts.exp: New test cases for up/down casting references.
8506
8507 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
8508
8509 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
8510 instead of beginning to make an extra test pass.
8511 * gdb.mi/mi2-var-display.exp: Likewise.
8512
8513 2008-03-31 Maciej W. Rozycki <macro@mips.com>
8514
8515 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8516
8517 2008-03-31 Markus Deuling <deuling@de.ibm.com>
8518 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8519
8520 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8521 value. Add xfail for older kernels.
8522
8523 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8524
8525 Bring mi-support in line with gdb.exp.
8526 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8527 (mi_gdb_start): New function.
8528
8529 2008-03-28 Maciej W. Rozycki <macro@mips.com>
8530
8531 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8532
8533 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8534
8535 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8536 * gdb.mi/mi2-var-display.exp: Likewise.
8537
8538 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8539
8540 * lib/mi-support.exp (mi_create_varobj_checked): New.
8541 (mi_list_varobj_children): Allow to check for a
8542 value.
8543 (mi_list_array_varobj_children): New.
8544
8545 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8546 and mi_list_varobj_children, as opposed to hardcoding
8547 expected strings.
8548 * gdb.mi/gdb701.exp: Likewise.
8549 * gdb.mi/gdb792.exp: Likewise.
8550 * gdb.mi/mi-var-block.exp: Likewise.
8551 * gdb.mi/mi-var-cmd.exp: Likewise.
8552 * gdb.mi/mi-var-invalidate.exp: Likewise.
8553 * gdb.mi/mi2-var-block.exp: Likewise.
8554 * gdb.mi/mi2-var-child.exp: Likewise.
8555 * gdb.mi/mi2-var-cmd.exp: Likewise.
8556 * gdb.mi/mi2-var-display.exp: Likewise.
8557
8558 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8559
8560 Fix random false FAILs on i386.
8561 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8562
8563 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8564
8565 PR gdb/544
8566 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8567
8568 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8569
8570 PR gdb/544
8571 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8572
8573 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8574
8575 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8576 fixed PR gdb/544.
8577
8578 2008-03-21 Pedro Alves <pedro@codesourcery.com>
8579
8580 * gdb.threads/fork-child-threads.exp: Test next over fork.
8581
8582 2008-03-21 Chris Demetriou <cgd@google.com>
8583
8584 * gdb.base/break.exp (rbreak junk): New test for rbreak
8585 "Junk at end of arguments" issue.
8586
8587 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8588
8589 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8590 *& to work on created array elements.
8591 (Top level): Test print $pc with a file. Test string operations
8592 without a target.
8593 * gdb.base/ptype.exp: Do not expect *& to work on created array
8594 elements.
8595
8596 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8597
8598 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8599 gdb.threads/staticthreads.exp: Update exit query.
8600
8601 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8602
8603 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8604
8605 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8606
8607 * gdb.base/watchpoint.c (global_ptr, func4): New.
8608 (main): Call func4.
8609 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8610 (test_inaccessible_watchpoint): New.
8611
8612 2008-02-29 Maciej W. Rozycki <macro@mips.com>
8613
8614 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8615 select the largest.
8616
8617 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8618
8619 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8620 frames-invalid annotations.
8621
8622 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8623
8624 * gdb.base/assign.exp: avoid same output for different tests.
8625
8626 2008-02-27 Doug Evans <dje@google.com>
8627
8628 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8629 for bug 1738.
8630 (breakpoint_to_handler_entry): Ditto.
8631
8632 2008-02-27 Joel Brobecker <brobecker@adacore.com>
8633
8634 * gdb.base/ending-run.exp: Use the first line of code inside
8635 function body to test breakpoints.
8636 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8637 location where the breakpoint is inserted when using the line
8638 where a function is declared. Fix typo in the description of
8639 one of the tests.
8640 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8641
8642 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8643
8644 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
8645 tests.
8646
8647 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8648
8649 * gdb.base/args.exp: avoid same output for tests
8650 with single quotes.
8651
8652 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8653
8654 * gdb.base/annota1.exp: Adjust for 'info break'
8655 format changes.
8656 * gdb.base/annota3.exp: Likewise.
8657 * gdb.base/break.exp: Likewise.
8658 * gdb.base/condbreak.exp: Likewise.
8659 * gdb.base/pending.exp: Likewise.
8660 * gdb.base/sepdebug.exp: Likewise.
8661 * gdb.base/unload.exp: Likewise.
8662 * gdb.cp/ovldbreak.exp: Likewise.
8663 * gdb.mi/mi-pending.exp: Likewise.
8664
8665 2008-02-07 Doug Evans <dje@google.com>
8666
8667 * gdb.cp/mb-inline.exp: New.
8668 * gdb.cp/mb-inline.h: New.
8669 * gdb.cp/mb-inline1.cc: New.
8670 * gdb.cp/mb-inline2.cc: New.
8671
8672 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8673
8674 * gdb.pascal/floats.pas: New test program.
8675 * gdb.pascal/floats.exp: New testcase.
8676
8677 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8678
8679 * gdb.base/callfuncs.c (t_float_many_args): New function.
8680 (t_double_many_args): New function.
8681 * gdb.base/callfuncs.exp: Add tests for exceeding float
8682 and double parameters passed through the stack.
8683
8684 2008-02-05 Joel Brobecker <brobecker@adacore.com>
8685
8686 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8687 gdb.ada/complete/foo.adb: New files.
8688 * gdb.ada/complete.exp: New testcase.
8689
8690 2008-02-03 Doug Evans <dje@google.com>
8691
8692 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8693
8694 * gdb.cp/gdb2384.exp: New file.
8695 * gdb.cp/gdb2384.cc: New file.
8696 * gdb.cp/gdb2384-base.h: New file.
8697 * gdb.cp/gdb2384-base.cc: New file.
8698
8699 2008-02-02 Doug Evans <dje@google.com>
8700
8701 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8702
8703 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8704
8705 * gdb.ada/sym_print_name: New test program.
8706 * gdb.ada/sym_print_name.exp: New testcase.
8707
8708 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8709
8710 * gdb.ada/nested/hello.adb: New file.
8711 * gdb.ada/nested.exp: New testcase.
8712 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8713
8714 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8715
8716 * gdb.mi/basic.c (return_1): New function.
8717 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8718 don't cause future evaluations of function to report
8719 creation of internal breakpoints.
8720
8721 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8722
8723 * gdb.mi/mi-break.exp (test_error): New.
8724 Call it.
8725
8726 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
8727
8728 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8729 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8730
8731 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8732
8733 * gdb.pascal/integers.pas: New test program.
8734 * gdb.pascal/integers.exp: New testcase.
8735
8736 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8737
8738 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8739
8740 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
8741
8742 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8743 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8744
8745 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8746
8747 * gdb.ada/formatted_ref: New test program.
8748 * gdb.ada/formatted_ref.exp: New testcase.
8749
8750 * gdb.cp/formatted-ref.cc: New file.
8751 * gdb.cp/formatted-ref.exp: New testcase.
8752
8753 2008-01-30 Joel Brobecker <brobecker@adacore.com>
8754
8755 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8756
8757 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
8758
8759 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8760 (test_file_list_exec_source_file): Update to new macro-info field.
8761
8762 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8763
8764 * gdb.ada/exprs: New test program.
8765 * gdb.ada/exprs.exp: New testcase.
8766
8767 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8768
8769 * dfp-test.c (DELTA, DELTA_B): New definitions.
8770 (double_val1, double_val2, double_val3, double_val4, double_val5,
8771 double_val6, double_val7, double_val8, double_val9, double_val10,
8772 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8773 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8774 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8775 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8776 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8777 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8778 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8779 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8780 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8781 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8782 dec128_val16): New global variables.
8783 (decimal_dec128_align): New function.
8784 (decimal_mixed): Likewise.
8785 (decimal_many_args_dec32): Likewise.
8786 (decimal_many_args_dec64): Likewise.
8787 (decimal_many_args_dec128): Likewise.
8788 (decimal_many_args_mixed): Likewise.
8789 * dfp-test.exp: Add tests calling new inferior functions.
8790
8791 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8792
8793 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8794 gdb.server/ext-run.exp: New files.
8795 * lib/gdbserver-support.exp (gdbserver_download): New.
8796 (gdbserver_start): New. Update gdbserver expected
8797 output.
8798 (gdbserver_spawn): Use them.
8799 (gdbserver_start_extended): New.
8800
8801 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8802
8803 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8804 Run on GNU/Linux.
8805 (do_exec_tests): Check for systems which do not support catchpoints.
8806 Do not match START.
8807 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8808 Run on GNU/Linux. Enable verbose output.
8809 (check_fork_catchpoints): New.
8810 (explicit_fork_child_follow, catch_fork_child_follow)
8811 (tcatch_fork_parent_follow): Update expected messages.
8812 (do_fork_tests): Use check_fork_catchpoints.
8813 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8814 Run on GNU/Linux. Enable verbose output.
8815 (check_vfork_catchpoints): New.
8816 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8817 expected messages.
8818 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8819
8820 2008-01-29 Jim Blandy <jimb@red-bean.com>
8821
8822 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8823 host' errors.
8824 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8825
8826 2008-01-29 Jim Blandy <jimb@red-bean.com>
8827
8828 * gdb.threads/sigthread.c: Use barriers to ensure that
8829 child_thread and child_thread_two are always initialized before we
8830 start to use them.
8831
8832 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8833
8834 * gdb.base/watchpoint-solib.exp: New.
8835 * gdb.base/watchpoint-solib.c: New.
8836 * gdb.base/watchpoint-solib-shr.c: New.
8837
8838 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8839
8840 * gdb.base/gdb1056.exp: Add unsigned integer test.
8841
8842 2008-01-28 Doug Evans <dje@google.com>
8843
8844 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8845
8846 2008-01-27 Jim Blandy <jimb@codesourcery.com>
8847
8848 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8849
8850 * gdb.base/expand-psymtabs.exp: Doc fix.
8851
8852 2008-01-26 Mark Kettenis <kettenis@gnu.org>
8853
8854 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8855
8856 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8857
8858 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8859 -var-set-format.
8860
8861 2008-01-23 Chris Demetriou <cgd@google.com>
8862
8863 * gdb.threads/thread_events.c: New testcase source file.
8864 * gdb.threads/thread_events.exp: New testcase expect file.
8865
8866 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8867
8868 * lib/gdb.exp: Add the variable octal.
8869
8870 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8871 -var-set-format.
8872
8873 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8874 Vladimir Prus <vladimir@codesourcery.com>
8875
8876 * gdb.base/float.exp: Allow missing floating point for m68k and
8877 PowerPC.
8878
8879 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8880
8881 * gdb.mi/basics.c: Setup for testing breakpoints
8882 ignore count.
8883 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8884 * gdb.mi/mi-cli.exp: Adjust.
8885 * gdb.mi/mi2-cli.exp: Adjust.
8886
8887 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8888
8889 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8890 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8891 with dummy_ptr's address.
8892 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8893 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8894 all targets.
8895 * gdb.mi/mi2-var-child.exp: Likewise.
8896
8897 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8898
8899 * gdb.ada/null_array: New test program.
8900 * gdb.ada/null_array.exp: New testcase.
8901
8902 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8903
8904 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8905 with required float modifiers.
8906
8907 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8908
8909 * gdb.ada/funcall_param: New test program.
8910 * gdb.ada/funcall_param.exp: New testcase.
8911
8912 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8913
8914 * gdb.ada/arrayparam: New test program.
8915 * gdb.ada/arrayparam.exp: New testcase.
8916
8917 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8918
8919 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8920 landed. Should also fix random failures in the test following it.
8921
8922 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8923
8924 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8925 for expressions with decimal float values.
8926 (test_dfp_conversions): New function to test casts to and from
8927 decimal float types.
8928 Call test_dfp_conversions.
8929 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8930 elements.
8931 (main): Initialize ds.float4 and ds.double8 elements.
8932 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8933 string to new error message.
8934 (d64_set_tests): Likewise.
8935 (d128_set_tests): Likewise.
8936 Add tests for expressions with decimal float variables. Add tests for
8937 conversions to and from decimal float types.
8938
8939 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8940
8941 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8942 * gdb.ada/packed_tagged.exp: New testcase.
8943
8944 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8945
8946 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8947 gdb.ada/homonym/homonym_main.adb: New files.
8948 * gdb.ada/homonym.exp: New testcase.
8949
8950 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8951
8952 * gdb.ada/packed_array.exp: Add testing of references to
8953 a packed array.
8954
8955 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8956
8957 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8958 New files.
8959 * gdb.ada/type_coercion.exp: New testcase.
8960
8961 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8962
8963 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8964 gdb.ada/tagged/foo.adb: New file.
8965 * gdb.ada/tagged.exp: New testcase.
8966
8967 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8968
8969 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8970 gdb.ada/ptype_field/foo.adb: New files.
8971 * gdb.ada/ptype_field.exp: New testcase.
8972
8973 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8974
8975 * gdb.ada/print_pc.exp: New testcase.
8976
8977 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8978
8979 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8980 gdb.ada/taft_type/p.adb: New files.
8981 * gdb.ada/taft_type.exp: New testcase.
8982
8983 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8984
8985 * gdb.ada/array_bounds/bar.adb: New file.
8986 * gdb.ada/array_bounds.exp: New testcase.
8987
8988 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8989
8990 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8991 gdb.ada/arrayptr/foo.adb: New files.
8992 * gdb.ada/arrayptr.exp: New testcase.
8993
8994 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8995
8996 * gdb.base/set-lang-auto.exp: New testcase.
8997
8998 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8999
9000 * gdb.ada/fun_addr/foo.adb: New file.
9001 * gdb.ada/fun_addr.exp: New testcase.
9002
9003 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9004
9005 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
9006 New files
9007
9008 2008-01-02 Joel Brobecker <brobecker@adacore.com>
9009
9010 * array_subscript_addr/p.adb: New file.
9011 * array_subscript_addr.exp: New testcase.
9012
9013 2008-01-02 Joel Brobecker <brobecker@adacore.com>
9014
9015 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
9016 New files.
9017 * gdb.ada/str_cmp_ref.exp: New testcase.
9018
9019 2008-01-01 Joel Brobecker <brobecker@adacore.com>
9020
9021 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
9022 gdb.ada/fun_in_declare/foo.adb: New files.
9023 * gdb.ada/fun_in_declare.exp: New testcase.
9024
9025 2008-01-01 Joel Brobecker <brobecker@adacore.com>
9026
9027 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
9028 gdb.ada/ref_param/pck.ads: New files.
9029 * gdb.ada/ref_param.exp: New testcase.
9030
9031 2008-01-01 Joel Brobecker <brobecker@adacore.com>
9032
9033 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
9034 gdb.ada/interface/foo.adb: New files.
9035 * gdb.ada/interface.exp: New testcase.
9036
9037 2007-12-31 Jim Blandy <jimb@codesourcery.com>
9038
9039 * gdb.base/multi-forks.exp: Consume all output from child
9040 processes before proceeding to next test.
9041
9042 2007-12-29 Jim Blandy <jimb@codesourcery.com>
9043
9044 * configure: Regenerated.
9045
9046 2007-12-27 Joel Brobecker <brobecker@adacore.com>
9047
9048 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
9049 gdb.ada/fixed_cmp/fixed.adb: New files.
9050 * gdb.ada/fixed_cmp.exp: New testcase.
9051
9052 2007-12-27 Joel Brobecker <brobecker@adacore.com>
9053
9054 * gdb.ada/boolean_expr.exp: New testcase.
9055
9056 2007-12-26 Jim Blandy <jimb@codesourcery.com>
9057
9058 * gdb.base/multi-forks.exp: Doc fix.
9059
9060 2007-12-26 Joel Brobecker <brobecker@adacore.com>
9061
9062 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9063 * gdb.ada/char_param.exp: Do not compile our test program with
9064 -gnata, this is unnecessary.
9065 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9066
9067 2007-12-24 Joel Brobecker <brobecker@adacore.com>
9068
9069 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9070 gdb.ada/print_chars/foo.adb: New files.
9071 * gdb.ada/print_chars.exp: New testcase.
9072
9073 2007-12-24 Joel Brobecker <brobecker@adacore.com>
9074
9075 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9076 gdb.ada/char_param/foo.adb: New files.
9077 * gdb.ada/char_param.exp: New testcase.
9078
9079 2007-12-22 Jim Blandy <jimb@codesourcery.com>
9080
9081 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9082 hard-coding source line numbers into the test.
9083 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9084 gdb_get_line_number to find.
9085
9086 2007-12-22 Joel Brobecker <brobecker@adacore.com>
9087
9088 * gdb.base/ptype.c (highest): New struct type.
9089 (the_highest): New variable of that type.
9090 (main): Add dummy assignment to a field of variable the_highest.
9091 * gdb.base/ptype.exp: Test type printing of our new variable.
9092
9093 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
9094
9095 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
9096 and record first explicitly generated thread number.
9097 Use that thread number for thread specific watchpoint test.
9098 Add iteration number to repetitive tests.
9099
9100 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9101 Jim Blandy <jimb@codesourcery.com>
9102
9103 * gdb.base/expand-psymtabs.c: New testcase
9104 source file.
9105 * gdb.base/expand-psymtabs.exp: New testcase
9106 expect file.
9107
9108 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
9109
9110 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
9111 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
9112
9113 2007-12-17 Joel Brobecker <brobecker@adacore.com>
9114
9115 * gdb.ada/frame_args/foo.adb: New file.
9116 * gdb.ada/frame_args/pck.ads: New file.
9117 * gdb.ada/frame_args/pck.adb: New file.
9118 * gdb.ada/frame_args.exp: New testcase.
9119
9120 2007-12-17 Joel Brobecker <brobecker@adacore.com>
9121
9122 * gdb.base/frame-args.c: New file.
9123 * gdb.base/frame-args.exp: New testcase.
9124
9125 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
9126 Joseph Myers <joseph@codesourcery.com>
9127
9128 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
9129
9130 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
9131
9132 * gdb.mi/mi-pending.exp: New.
9133 * gdb.mi/mi-pending.c: New.
9134 * gdb.mi/mi-pendshr.c: New.
9135
9136 2007-12-06 Jim Blandy <jimb@codesourcery.com>
9137
9138 * gdb.base/default.exp: Update expected output for 'info catch'.
9139
9140 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9141
9142 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
9143 must be set to binary.
9144
9145 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
9146
9147 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
9148
9149 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
9150
9151 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
9152 gdb.mi/mi-file-transfer.exp: New.
9153
9154 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9155
9156 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
9157
9158 2007-11-22 Maciej W. Rozycki <macro@mips.com>
9159
9160 * gdb.trace/backtrace.exp: Fix a typo.
9161 * gdb.trace/circ.exp: Likewise.
9162 * gdb.trace/collection.exp: Likewise.
9163 * gdb.trace/limits.exp: Likewise.
9164 * gdb.trace/report.exp: Likewise.
9165 * gdb.trace/tfind.exp: Likewise.
9166 * gdb.trace/while-dyn.exp: Likewise.
9167
9168 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
9169
9170 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
9171 objects of pointers that can't be dereferenced are now
9172 "noneditable".
9173
9174 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9175
9176 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
9177 (target_cpu): Remove.
9178
9179 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
9180
9181 * gdb.base/ending-run.exp: Expect the list of cleared
9182 breakpoint to come in natural order, not the reversed one.
9183
9184 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
9185
9186 * gdb.mi/mi-var-child.c (do_child_deletion): New.
9187 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
9188
9189 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
9190
9191 * gdb.base/printcmds.exp: New function
9192 test_printf_with_dfp.
9193
9194 2007-11-02 Doug Evans <dje@google.com>
9195
9196 * gdb.disasm/t01_mov.s: Remove carriage returns.
9197 * gdb.disasm/t02_mova.s: Ditto.
9198 * gdb.disasm/t03_add.s: Ditto.
9199 * gdb.disasm/t04_sub.s: Ditto.
9200 * gdb.disasm/t05_cmp.s: Ditto.
9201 * gdb.disasm/t06_ari2.s: Ditto.
9202 * gdb.disasm/t07_ari3.s: Ditto.
9203 * gdb.disasm/t08_or.s: Ditto.
9204 * gdb.disasm/t09_xor.s: Ditto.
9205 * gdb.disasm/t10_and.s: Ditto.
9206 * gdb.disasm/t11_logs.s: Ditto.
9207 * gdb.disasm/t12_bit.s: Ditto.
9208 * gdb.disasm/t13_otr.s: Ditto.
9209
9210 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9211
9212 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
9213
9214 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9215
9216 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
9217 provide DFP support.
9218
9219 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
9220
9221 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
9222 Test "set powerpc vector-abi". Skip auto-detection tests for old
9223 toolchains.
9224
9225 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9226
9227 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
9228 with [string compare].
9229
9230 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
9231
9232 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
9233 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
9234
9235 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
9236
9237 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
9238 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
9239 * gdb.opt/Makefile.in: New makefile.
9240 * Makefile.in: Create new directory "gdb.opt".
9241 * configure.ac: Add "gdb.opt" directory.
9242 * configure: Regenerated.
9243
9244 2007-10-25 Doug Evans <dje@google.com>
9245
9246 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
9247 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
9248
9249 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
9250 Thiago Jung Bauermann <bauerman@br.ibm.com>
9251
9252 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
9253 Floating Point expressions.
9254 * gdb.base/dfp-test.exp: new file adding tests for Decimal
9255 Floating Point variables.
9256 * gdb.base/dfp-test.c: new file containing program with Decimal
9257 Floating variables, used by gdb.base/dfp-test.exp.
9258
9259 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
9260
9261 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
9262
9263 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9264
9265 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
9266 compiling test case with GCC.
9267 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
9268
9269 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9270
9271 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9272 format changes.
9273
9274 2007-10-18 Michael Snyder <msnyder@specifix.com>
9275
9276 * gdb.base/dbx.exp: Add missing "-re " operator.
9277
9278 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
9279
9280 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
9281 * configure.ac: Removed trailing spaces after backslash.
9282 * gdb.modula2: New directory.
9283 * gdb.modula2/Makefile.in: New file.
9284 * gdb.modula2/unbounded-array.exp: New file.
9285 * gdb.modula2/unbounded1.c: New file.
9286
9287 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
9288
9289 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
9290
9291 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
9292
9293 * gdb.base/sigstep.c (main): Add checks for
9294 return values for setitimer call.
9295 Call setitimer again with itimer = ITIMER_REAL
9296 if first call to setitimer fails.
9297
9298 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
9299
9300 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
9301 of $timeout.
9302
9303 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9304
9305 * gdb.server/server-run.exp: Test for dynamic linker symbols.
9306
9307 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
9308
9309 * lib/gdb.exp (gdb_run_cmd): Move comment outside
9310 of gdb_expect call, to avoid interruption.
9311
9312 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
9313
9314 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
9315 (v_unsigned_long_long, v_long_long_array)
9316 (v_signed_long_long_array, v_unsigned_long_long_array)
9317 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
9318 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
9319 [!NO_LONG_LONG]: New.
9320 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
9321 v_long_long_member.
9322
9323 (v_long_long_func, v_signed_long_long_func)
9324 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
9325 (main) [!NO_LONG_LONG]: Initialize long long variants.
9326
9327 * gdb.base/whatis.exp: If board file requests no_long_long, build
9328 test with NO_LONG_LONG defined. Test long long, signed long long,
9329 and unsigned long long variants but only if board file doesn't
9330 disable it.
9331
9332 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
9333 Daniel Jacobowitz <dan@codesourcery.com>
9334
9335 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
9336 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
9337 * configure: Regenerated.
9338 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
9339 gdb.pascal/types.exp, lib/pascal.exp: New files.
9340
9341 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
9342
9343 * gdb.cp/classes.exp (do_tests): Always step to the line after the
9344 call.
9345 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
9346 to return to the call.
9347 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
9348 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
9349 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
9350 * gdb.mi/mi-until.exp (test_until): Likewise.
9351 * gdb.mi/mi2-until.exp (test_until): Likewise.
9352
9353 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
9354
9355 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
9356 two-char array.
9357 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
9358
9359 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
9360
9361 * gdb.threads/watchthreads.c (thread_function): Sleep between
9362 iterations.
9363 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
9364 at once for S/390. Generate matching fails and passes.
9365
9366 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
9367
9368 * gdb.mi/var-cmd.c (do_children_tests): Initialize
9369 the 'struct_declarations' variable to zeros.
9370
9371 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
9372
9373 * gdb.cp/mb-ctor.cc: New.
9374 * gdb.cp/mb-ctor.exp: New.
9375 * gdb.cp/mb-templates.cc: New.
9376 * gdb.cp/mb-templates.exp: New.
9377
9378 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
9379
9380 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
9381
9382 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
9383
9384 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
9385 targets.
9386 * configure: Regenerate.
9387
9388 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
9389
9390 * gdb.base/annota1.exp: Adjust for 'info break'
9391 format changes.
9392 * gdb.base/annota3.exp: Likewise.
9393 * gdb.base/break.exp: Likewise.
9394 * gdb.base/condbreak.exp: Likewise.
9395 * gdb.base/pending.exp: Likewise.
9396 * gdb.base/sepdebug.exp: Likewise.
9397 * gdb.base/unload.exp: Likewise.
9398 * gdb.base/ovldbreak.exp: Likewise.
9399
9400 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
9401
9402 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
9403 messages.
9404 * gdb.base/chng-syms.exp: Likewise.
9405 * gdb.base/unload.exp: Likewise.
9406
9407 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
9408
9409 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
9410
9411 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
9412
9413 * schedlock.c (NUM): Change to 1.
9414 (main): Use args[0] for the main thread.
9415 * schedlock.exp: Only expect two threads. Only issue one pass or fail
9416 regardless of the number of threads.
9417
9418 2007-09-14 Maciej W. Rozycki <macro@mips.com>
9419
9420 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
9421 type down.
9422 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9423 test.
9424 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
9425 watchpoint type down.
9426 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
9427 test.
9428
9429 2007-09-14 Maciej W. Rozycki <macro@mips.com>
9430
9431 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
9432 Move all the tests here and run them twice, once using software
9433 watchpoints and once using hardware watchpoints.
9434 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
9435
9436 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
9437
9438 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
9439 test.
9440
9441 2007-09-10 Mark Kettenis <kettenis@gnu.org>
9442
9443 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
9444 build-id.
9445
9446 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
9447 know about $ORIGIN. Calculate output dir from $dest instead of
9448 using ${objdir}/{$subdir}.
9449
9450 2007-09-09 Mark Kettenis <kettenis@gnu.org>
9451
9452 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
9453 gcore, before continuing with the test.
9454
9455 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
9456
9457 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
9458 * gdb.mi/mi-watch.exp: Likewise.
9459
9460 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9461 Jim Blandy <jimb@codesourcery.com>
9462
9463 * gdb.arch/i386-sse.exp: Do not expect character constants.
9464 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
9465 * gdb.base/display.exp: Allow print/s.
9466 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
9467 and unsigned char array changes.
9468
9469 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
9470
9471 * gdb.base/display.exp: Add tests for printf %p.
9472
9473 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
9474
9475 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
9476 the dll name to unicode.
9477
9478 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 * gdb.base/default.exp (show version): Update the version text.
9481 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
9482
9483 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9484
9485 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
9486 New files.
9487
9488 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9489
9490 * lib/gdb.exp (build_id_debug_filename_get): New function.
9491 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
9492 Remove the generate DEBUG file for the future testcase runs.
9493 New testcase for the NT_GNU_BUILD_ID retrieval.
9494 Move the final testing step to ...
9495 (test_different_dir): ... a new function.
9496 New parameter XFAIL to XFAIL all the tests performed.
9497 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
9498 New parameter TYPE to PF_PREFIX all the tests performed.
9499
9500 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
9501
9502 * gdb.mi/mi-var-cp.cc (path_expression): New
9503 function.
9504 * gdb.mi/mi-var-cp.exp: Run path exression tests.
9505
9506 2007-08-27 Markus Deuling <deuling@de.ibm.com>
9507
9508 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
9509 to fit into SPU Local Store memory.
9510
9511 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9512
9513 * gdb.base/default.exp: Adjust the expected output of "info
9514 warranty" after the switch to GPLv3.
9515
9516 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9517
9518 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9519 to 30000 (from 20000).
9520
9521 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9522
9523 Switch the license of all .exp files to GPLv3.
9524 Switch the license of all .f and .f90 files to GPLv3.
9525 Switch the license of all .s and .S files to GPLv3.
9526
9527 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9528
9529 * configure.ac: Switch license to GPLv3.
9530
9531 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9532
9533 Switch the licensing to GPLv3 for all .ads and .adb files.
9534
9535 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9536
9537 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9538 and t_int_double.
9539 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9540
9541 2007-08-17 Joel Brobecker <brobecker@adacore.com>
9542
9543 * gdb.base/step-line.c: Switch license to GPL version 3, and
9544 update copyright year.
9545 * gdb.base/step-line.inp: Likewise.
9546
9547 2007-08-17 Joel Brobecker <brobecker@adacore.com>
9548
9549 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9550 changes inside gdb1555.c.
9551 * gdb.base/pending.exp: Likewise.
9552
9553 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9554
9555 * config/default.exp: New file.
9556
9557 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9558
9559 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9560 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9561
9562 2007-07-30 Maciej W. Rozycki <macro@mips.com>
9563
9564 * gdb.base/dump.exp: Force the correct endianness for binary
9565 formats not carrying this information.
9566
9567 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9568
9569 * gdb.threads/staticthreads.exp: Match .*sem_post.
9570
9571 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9572
9573 * gdb.base/readline.exp (operate_and_get_next): Match the final
9574 prompt.
9575
9576 2007-07-23 Kevin Buettner <kevinb@redhat.com>
9577
9578 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9579 to restarting SID.
9580
9581 2007-07-18 Kevin Buettner <kevinb@redhat.com>
9582
9583 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9584 prior to `gdb_start'.
9585
9586 2007-07-18 Kevin Buettner <kevinb@redhat.com>
9587
9588 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9589 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9590 Remove call to gdb_unload.
9591
9592 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9593 Daniel Jacobowitz <dan@codesourcery.com>
9594
9595 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9596 for __WIN32__.
9597 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9598 * gdb.base/unload.exp: Use shared library test routines.
9599
9600 2007-07-03 Markus Deuling <deuling@de.ibm.com>
9601
9602 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9603 * gdb.base/solib-symbol-lib.c: Likewise.
9604 * gdb.base/solib-symbol-main.c: Likewise.
9605
9606 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9607
9608 * config/gdbserver.exp (gdb_reconnect): New.
9609 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9610 gdb.base/solib-disc.exp: New files.
9611 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9612 remote debugging".
9613 (gdb_compile): Add shlib_load flag.
9614 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9615 port.
9616 (gdbserver_reconnect): New.
9617
9618 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
9619 Daniel Jacobowitz <dan@codesourcery.com>
9620
9621 * gdb.base/annota3.exp: Test for if construct.
9622
9623 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9624
9625 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9626
9627 2007-06-21 Chris Dearman <chris@mips.com>
9628 Maciej W. Rozycki <macro@mips.com>
9629
9630 * gdb.base/display.exp: Allow a newline after display/i.
9631 * gdb.base/pc-fp.exp: Likewise.
9632 * gdb.base/sigbpt.exp: Likewise.
9633
9634 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9635
9636 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9637 required features to be included.
9638
9639 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9640
9641 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9642 in info threads output.
9643
9644 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9645 Markus Deuling <deuling@de.ibm.com>
9646
9647 * gdb.arch/spu-info.exp: New testcase.
9648 * gdb.arch/spu-info.c: New file.
9649
9650 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9651
9652 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9653 tpcs_offset. Restore lr after the call.
9654 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9655
9656 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9657
9658 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9659 (gdbserver_run): Kill any running gdbserver.
9660 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9661
9662 2007-05-17 Maciej W. Rozycki <macro@mips.com>
9663
9664 * gdb.base/sigbpt.exp: Preset segv_addr.
9665
9666 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9667
9668 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9669 (gdb_compile_shlib): Likewise.
9670 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9671 (default_gdb_init): Clear cleanfiles.
9672 (gdb_finish): Delete recorded cleanfiles.
9673 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9674
9675 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9676 Do not use isnative.
9677 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9678 gdb.base/so-impl-ld.exp: Likewise.
9679 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9680 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9681 gdb_compile.
9682
9683 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9684
9685 * config/unknown.exp: Remove.
9686
9687 2007-05-15 Markus Deuling <deuling@de.ibm.com>
9688
9689 * gdb.base/info-proc.exp: Check is_remote.
9690
9691 2007-05-14 Markus Deuling <deuling@de.ibm.com>
9692
9693 * gdb.base/gcore.exp: Initialize variable core_supported.
9694
9695 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9696
9697 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9698
9699 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9700
9701 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9702 * gdb.threads/print-threads.exp (test_all_threads): Allow
9703 negative and hexadecimal thread IDs.
9704
9705 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9706
9707 * gdb.java/jprint.java (public): Avoid invalid call to static
9708 method.
9709
9710 2007-05-14 Denis Pilat <denis.pilat@st.com>
9711
9712 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9713 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9714 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9715 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9716 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9717
9718 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9719
9720 * gdb.base/overlays.exp: Add support for targets with only code
9721 overlay support, not data overlay. Support spu-*-* target in
9722 this mode.
9723 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9724 * gdb.base/spu.ld: New file.
9725
9726 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9727
9728 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9729
9730 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9731
9732 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9733
9734 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9735
9736 * gdb.java/jmain.exp: Handle demangled names with and without method
9737 signatures.
9738
9739 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9740
9741 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9742 (have_a_very_merry_interrupt): Remove calls to puts.
9743 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9744 inferior output.
9745 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9746 test names.
9747
9748 2007-04-29 Markus Deuling <deuling@de.ibm.com>
9749 Daniel Jacobowitz <dan@codesourcery.com>
9750
9751 * gdb.base/auxv.exp (core_works): Also check is_remote.
9752 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9753
9754 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
9755
9756 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9757 message, not the undefined 'module' variable.
9758 * gdb.base/siginfo.exp: Likewise.
9759 * gdb.base/sigstep.exp: Likewise.
9760 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9761 serialport.
9762 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9763
9764 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
9765
9766 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9767 target sim fails. Return 0 otherwise.
9768 (gdb_load): Return prematurely if gdb_target_sim fails.
9769
9770 2007-04-16 Denis Pilat <denis.pilat@st.com>
9771
9772 * gdb.base/setshow.exp: Reset height after having set it to 100.
9773
9774 2007-04-16 Denis Pilat <denis.pilat@st.com>
9775
9776 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9777
9778 2007-04-16 Denis Pilat <denis.pilat@st.com>
9779
9780 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9781
9782 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9783
9784 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9785 tests. Run the frozen varobjs test.
9786 * gdb.mi/var-cmd.c (do_frozen_tests): New.
9787 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
9788
9789 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9790
9791 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9792 gdb.base/type-opaque.exp: New files.
9793
9794 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
9795
9796 * gdb.mi/mi-var-child.c
9797 (do_children_tests): User char[2] instead of
9798 char so that automatic printing of pointers to char
9799 don't give unpredicable result.
9800 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9801 local variables.
9802 * gdb.mi/mi-var-child.exp: Step to right line
9803 of do_children_tests.
9804 * gdb.mi/mi2-var-child.exp: Likewise.
9805 * gdb.mi/mi-var-cmd.exp: Step to right line of
9806 do_locals_tests.
9807 (do_children_tests): User char[2] instead of
9808 char so that automatic printing of pointers to char
9809 don't give unpredicable result.
9810 * gdb.mi/mi2-var-cmd.exp: Likewise.
9811 * lib/mi-support.exp (mi_continue_to_line):
9812 Pass test name to mi_wait_for_stop.
9813
9814 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9815
9816 * gdb.asm/asm-source.exp: Remove d10v case.
9817 * lib/gdb.exp (skip_cplus_tests): Likewise.
9818 * gdb.asm/d10v.inc: Deleted.
9819
9820 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9821
9822 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9823
9824 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9825
9826 * config/netware.exp: Delete file.
9827
9828 2007-03-29 Joel Brobecker <brobecker@adacore.com>
9829
9830 * gdb.dwarf2/dw2-noloc.S: New file.
9831 * gdb.dwarf2/dw2-noloc.exp: New file.
9832
9833 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9834
9835 * gdb.cp/method2.cc: New test.
9836 * gdb.cp/method2.exp: New test.
9837 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9838
9839 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9840
9841 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9842
9843 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9844
9845 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9846
9847 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9848
9849 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9850 (gdb_load): Delete, replace with...
9851 (gdb_reload): ...this.
9852 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9853 * gdb.server/server-mon.exp: Likewise.
9854 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9855 (gdb_start_cmd): New.
9856 (gdb_file_cmd): Save the last loaded file.
9857 (gdb_reload): New.
9858 (gdb_gnu_strip_debug): Use transform.
9859 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9860 support here. Use new $last_loaded_file. Check mtime.
9861 (gdb_target_cmd): Handle ObjC failure case.
9862 (infer_host_exec): Delete.
9863 (gdbserver_load): Rename to...
9864 (gdbserver_run): ...this. Simplify.
9865 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9866 (mi_gdb_load): Move most contents to a new function...
9867 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9868 (mi_run_cmd): Use mi_gdb_target_load.
9869 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9870 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9871 Use gdb_run_cmd.
9872 * gdb.base/charsign.exp: Remove incorrect comment.
9873 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9874 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9875 gdb.base/start.exp: Use gdb_start_cmd.
9876
9877 2007-03-23 Nigel Stephens <nigel@mips.com>
9878 Maciej W. Rozycki <macro@mips.com>
9879
9880 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9881 * gdb.base/signull.exp: Similarly.
9882
9883 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9884
9885 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9886 messages available to test cases (like chng-sym.exp).
9887
9888 2007-03-14 Andreas Schwab <schwab@suse.de>
9889
9890 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9891 format changes.
9892
9893 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9894
9895 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9896 (optimized_1): New.
9897 (main): Call optimized_1.
9898 (gdb2029): Correct typos. Call gdb2029_marker.
9899 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9900 for gdb2029.
9901
9902 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9903
9904 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9905 as tabs. Remove redundant test pattern.
9906
9907 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9908
9909 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9910 for /a format output.
9911
9912 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9913
9914 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9915 collect output incrementally.
9916
9917 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9918
9919 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9920 for -var-create lpcharacter test.
9921 * gdb.mi/mi2-var-cmd.exp: Likewise.
9922
9923 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9924
9925 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9926 pass on targets where address zero is readable.
9927
9928 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9929
9930 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9931 just a single architecture.
9932
9933 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9934
9935 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9936 (fetch_all_registers): New function, uses gdb_test_multiple and
9937 exp_continue to fetch inferior output line-by-line.
9938 Replace all uses of do_get_all_registers by fetch_all_registers.
9939
9940 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9941
9942 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9943 in target_info.
9944
9945 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9946
9947 * gdb.threads/manythreads.exp: Use $message string for
9948 consistancy; add a default (timeout) case.
9949
9950 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9951
9952 * gdb.base/watchpoint.exp: Fix truncated comment.
9953
9954 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9955
9956 * Makefile.in: Remove spurious single-quotes from sed command.
9957
9958 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9959
9960 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9961 func.
9962 * gdb.mi/mi2-var-cmd.exp: Likewise.
9963
9964 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9965
9966 * gdb.dwarf2/dw2-producer.S: New file.
9967 * gdb.dwarf2/dw2-producer.exp: New testcase.
9968
9969 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9970
9971 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9972 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9973 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9974 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9975 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9976 Revert tests to use mi_gdb_test and include value field in output
9977 of -var-create.
9978
9979 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9980
9981 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9982
9983 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9984
9985 * gdb.base/maint.exp: Remove full paths from test names.
9986 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9987 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9988
9989 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9990
9991 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9992
9993 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9994
9995 * gdb.server/server-mon.exp: New test.
9996
9997 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9998
9999 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
10000
10001 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10002
10003 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
10004 register capitalization.
10005
10006 2007-02-13 Denis Pilat <denis.pilat@st.com>
10007
10008 * gdb.mi/mi-var-invalidate.exp: New file.
10009
10010 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10011
10012 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
10013
10014 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10015
10016 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
10017
10018 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10019
10020 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
10021 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
10022
10023 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
10024
10025 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10026 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10027 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10028 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10029 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10030 * gdb.mi/gdb792.exp, lib/mi-support.exp:
10031 Update tests to include value field in output of -var-create.
10032
10033 2007-02-08 Andreas Schwab <schwab@suse.de>
10034
10035 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
10036
10037 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
10038
10039 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
10040 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
10041
10042 2007-02-02 Denis Pilat <denis.pilat@st.com>
10043
10044 * gdb.threads/threadapply.exp: check that frame is not changed by
10045 the thread apply all command.
10046
10047 2007-01-31 Andreas Schwab <schwab@suse.de>
10048
10049 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10050
10051 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10052 in the dwarf sections.
10053 * gdb.dwarf2/mac-fileno.S: Likewise.
10054
10055 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10056 bspstore register on ia64.
10057
10058 2007-01-29 Andreas Schwab <schwab@suse.de>
10059
10060 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10061 "frame-begin" annotation.
10062
10063 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10064 number of "frames-invalid" annotations.
10065
10066 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10067
10068 * gdb.base/commands.exp: Call if_commands_test.
10069 (gdb_test_no_prompt, if_commands_test): New.
10070
10071 2007-01-28 Mark Kettenis <kettenis@gnu.org>
10072
10073 * gdb.threads/sigthread.c (NSIGS): Make bigger.
10074
10075 2007-01-27 Andreas Schwab <schwab@suse.de>
10076
10077 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10078 .short/.int/.quad in the dwarf sections.
10079 * gdb.dwarf2/dw2-intercu.S: Likewise.
10080 * gdb.dwarf2/dw2-intermix.S: Likewise.
10081
10082 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10083
10084 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
10085 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10086 array.
10087 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10088 * gdb.base/setvar.exp: Likewise.
10089
10090 2007-01-26 Andreas Schwab <schwab@suse.de>
10091
10092 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
10093 test.
10094
10095 * gdb.base/multi-forks.exp ("restart $i"): Also match
10096 __kernel_syscall_via_break.
10097
10098 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
10099
10100 * lib/mi-support.exp (mi_delete_varobj): New.
10101 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
10102 testcase.
10103 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
10104 (main): Call the above.
10105 (reference_update_test, base_in_reference_test)
10106 (reference_to_pointer): Delete the created varobjs.
10107
10108 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
10109
10110 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
10111 * configure: Regenerated.
10112 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
10113 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
10114 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
10115 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
10116 * lib/gdb.exp (gdb_skip_xml_test): New function.
10117
10118 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
10119
10120 * gdb.base/sigrepeat.exp: Correct error message.
10121
10122 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10123 Daniel Jacobowitz <dan@codesourcery.com>
10124
10125 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
10126 gdb.arch/i386-gnu-cfi-asm.S: New files.
10127
10128 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10129
10130 * lib/gdb.exp: Abort on missing `site.exp'.
10131
10132 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10133 Daniel Jacobowitz <dan@codesourcery.com>
10134
10135 * gdb.base/included.c, gdb.base/included.exp,
10136 gdb.base/included.h: New files.
10137
10138 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10139
10140 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
10141 (maximize_rlimit): Reduce limits on 64-bit systems.
10142
10143 2007-01-19 Mark Kettenis <kettenis@gnu.org>
10144
10145 From Marcus Deuling <deuling@de.ibm.com>:
10146 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
10147 every case.
10148
10149 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
10150
10151 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
10152 (test_path_specification): Use objdir instead of srcdir to always
10153 get an absolute filename.
10154
10155 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
10156
10157 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
10158
10159 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
10160
10161 * gdb.mi/mi-var-cp.cc (reference_update_tests):
10162 Make sure the variable we're using is in scope.
10163 (reference_to_pointer): Likewise.
10164
10165 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10166
10167 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
10168 has no debug information.
10169
10170 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
10171
10172 * gdb.base/annota1.exp: Remove extra send_gdb.
10173
10174 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10175
10176 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
10177
10178 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10179
10180 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
10181
10182 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
10183 Daniel Jacobowitz <dan@codesourcery.com>
10184
10185 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
10186 lcharacter or linteger change. Correct duplicated test name.
10187 * gdb.mi/mi2-var-cmd.exp: Likewise.
10188
10189 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
10190
10191 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
10192
10193 2007-01-05 Joel Brobecker <brobecker@adacore.com>
10194
10195 * gdb.base/nofield.c: New file.
10196 * gdb.base/nofield.exp: New testcase.
10197
10198 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
10199
10200 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
10201
10202 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
10203 test.
10204
10205 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10206
10207 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
10208
10209 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10210
10211 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
10212 when continuing.
10213
10214 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10215
10216 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
10217 Expect ".exe" extension.
10218
10219 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10220
10221 * gdb.base/charset.exp: Add explicit filename to break.
10222 * gdb.base/dbx.exp: Add explicit filename to breaks.
10223
10224 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
10225
10226 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
10227 * gdb.mi/mi2-file.exp: Likewise.
10228
10229 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10230
10231 Implement specification of MI tests as comments
10232 in C and C++ sources.
10233 * lib/mi-support.exp (mi_autotest_data): New variable.
10234 (mi_autotest_source): New variable.
10235 (count_newlines, mi_prepare_inline_tests)
10236 (mi_get_inline_test, mi_continue_to_line)
10237 (mi_run_inline_test, mi_tbreak)
10238 (mi_send_resuming_command, mi_wait_for_stop): New functions.
10239 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
10240 Run inline tests.
10241 * gdb.mi/mi-var-cp.cc: Define tests here.
10242
10243 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
10244
10245 Simplify usage of mi_continue_to.
10246 * lib/mi-support.exp (mi_runto_helper): Renamed
10247 from mi_runto, added new parameter 'run_or_continue'.
10248 (mi_runto): Use mi_runto_helper.
10249 (mi_continue_to): Accept just function name as parameter.
10250 Use mi_runto_helper.
10251 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
10252 * gdb.mi/mi2-var-cmd.exp: Likewise.
10253
10254 2006-01-04 Joel Brobecker <brobecker@adacore.com>
10255
10256 Make this testcase a bit more realistic. The current code
10257 is too simplistic, and allows the compiler to optimize out
10258 some of the entities we need for this testcase.
10259 * gdb.ada/null_record/bar.ads (Void_Star): New type.
10260 (Do_Nothing): Add extra parameter.
10261 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
10262 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
10263 by using a variable of type Void_Star.
10264
10265 2006-01-04 Joel Brobecker <brobecker@adacore.com>
10266
10267 * gdb.ada/catch_ex/foo.adb: New file.
10268 * gdb.ada/catch_ex.exp: New testcase.
10269
10270 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
10271
10272 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
10273 pass --image-base to linker.
10274
10275 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10276 Daniel Jacobowitz <dan@codesourcery.com>
10277
10278 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
10279 secondary prompts.
10280
10281 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10282
10283 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
10284 output. Test the types of members and member pointers.
10285 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
10286 gdb/2092.
10287 * gdb.cp/member-ptr.exp: Search for a comment instead of a
10288 statement. Enable for GCC. Update expected output for some tests
10289 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
10290 layout.
10291 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
10292 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
10293 (Diamond::vget_base): New.
10294 (main): Add new tests.
10295 * gdb.cp/printmethod.exp: Update expected output for member functions.
10296 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
10297 print pEe->D::vg().
10298
10299 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10300
10301 * gdb.threads/tls.exp: Allow stops in sem_post.
10302
10303 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
10304
10305 * gdb.base/annota1.exp: Allow .*printf in backtraces.
10306 * gdb.base/annota3.exp: Likewise.
10307 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
10308 again (instead of timing out).
10309 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
10310 GCC bug 26475.
10311 * gdb.java/jmisc.exp: Adjust to work with method signatures including
10312 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
10313 test from jmisc1.exp.
10314 * gdb.java/jmisc1.exp: Delete.
10315 * gdb.java/jprint.exp: Adjust to work with method signatures including
10316 return types.
10317 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
10318 * gdb.threads/linux-dp.exp: Don't be confused by program output.
10319 * lib/java.exp (compile_java_from_source): Pass the correct type
10320 to target_compile.
10321
10322 2006-12-31 Joel Brobecker <brobecker@adacore.com>
10323
10324 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
10325 (stack_align_edx): New function.
10326 (stack_align_eax): New function.
10327 (main): Add calls to stack_align_edx and stack_align_eax.
10328 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
10329 Add testing for the cases where the register used during a stack
10330 realignment is edx. Same for eax.
10331
10332 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
10333
10334 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
10335 and generic PE targets.
10336
10337 2006-12-29 Joel Brobecker <brobecker@adacore.com>
10338
10339 * gdb.ada/array_return.exp: Update copyright date list.
10340
10341 2006-12-27 Joel Brobecker <brobecker@adacore.com>
10342
10343 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
10344 (Create_Small_Float_Vector): New function.
10345 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
10346 function body.
10347 * gdb.ada/array_return/p.adb: Use new type and function from
10348 package Pck.
10349 * gdb.ada/array_return.exp: Add a test verifying that GDB is
10350 able to print the value returned by a function returning an
10351 array of float.
10352
10353 2006-12-20 Joel Brobecker <brobecker@adacore.com>
10354
10355 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
10356 The associated tests should be PASSing.
10357
10358 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10359
10360 Test for base in references.
10361 * gdb.mi/mi-var-cp.cc: Add test code.
10362 * gdb.mi/mi-var-cp.exp: Test for bases in references.
10363 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
10364 * gdb.mi/mi2-watch.exp: Likewise.
10365 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
10366 (mi_list_varobj_children): New function.
10367
10368 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
10369
10370 * lib/mi-support.exp
10371 (mi_runto): Accept "()" after function name.
10372 (mi_create_varobj): New function.
10373 (mi_varobj_update): New function.
10374 (mi_Check_varobj_value): New function.
10375 * gdb.mi/mi-var-cp.exp: New file.
10376 * gdb.mi/mi-var-cp.cc: New file.
10377
10378 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
10379
10380 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
10381 gdb.base/weaklib2.c: New files.
10382
10383 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
10384
10385 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
10386 info. Adjust test names.
10387
10388 * gdb.base/break.c (main): Move position of malloc.
10389 * gdb.base/break.exp: Revert mistaken checkin.
10390
10391 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
10392
10393 * gdb.mi/mi-var-cmd.exp: Check -var-update after
10394 assignement of arrays and function pointers.
10395 * gdb.mi/var-cmd.c: Add declaration necessary for above
10396 tests.
10397
10398 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10399
10400 * gdb.base/break.c (main): Call malloc.
10401
10402 * gdb.threads/linux-dp.exp: Read thread table before and after
10403 creating each philosopher and verify it.
10404
10405 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
10406 Paul Brook <paul@codesourcery.com>
10407 Daniel Jacobowitz <dan@codesourcery.com>
10408
10409 * gdb.base/ending-run.exp: Flatten expect script stepping out of
10410 main to remove duplication. Add start function of the form
10411 '_*start[1-9]*'. Add RVDS start function.
10412
10413 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10414
10415 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
10416
10417 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10418
10419 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
10420 * gdb.asm/spu.inc: New file.
10421 * gdb.base/term.exp: Disable if [target_info exists noargs].
10422 * gdb.gdb/complaints.exp: Disable if ![isnative].
10423 * gdb.gdb/selftest.exp: Likewise.
10424 * gdb.gdb/observer.exp: Likewise.
10425 * gdb.gdb/xfullpath.exp: Likewise.
10426 * gdb.base/attach.exp: Disable on SPU target.
10427 * gdb.cp/bs145503.exp: Likewise.
10428 * gdb.cp/exception.exp: Likewise.
10429 * gdb.cp/userdef.exp: Likewise.
10430
10431 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
10432
10433 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
10434
10435 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
10436
10437 * gdb.base/completion.exp: Fix completion tests for
10438 'info' and 'info '.
10439 * gdb.base/help.exp (help_test_raw, test_class_help)
10440 (test_prefix_command_help): Move...
10441 * lib/gdb.exp: Here.
10442 * gdb.base/main.exp: Adjust.
10443 * gdb.cp/maint.exp: Adjust.
10444 * gdb.trace/tracecmd.exp: Use test_help_class.
10445
10446 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10447
10448 * gdb.stabs/weird.exp (print_weird_var): Use
10449 gdb_test_multiple instead of gdb_expect.
10450
10451 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
10452
10453 * gdb.base/help.exp (help_test_raw): New.
10454 (test_class_help): New.
10455 (test_prefix_command_help): New.
10456 Adjust testcases.
10457
10458 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
10459
10460 * gdb.base/constvars.c (main): Write to crass and crips, so that
10461 they are allocated by the compiler.
10462
10463 2006-10-27 Andreas Schwab <schwab@suse.de>
10464
10465 * gdb.base/multi-forks.exp: Use "detach fork" instead of
10466 "detach-fork".
10467
10468 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
10469
10470 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
10471 of patterns.
10472
10473 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10474
10475 * gdb.base/sepdebug.exp: Remove debug format test.
10476 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
10477 Handle no-symtab.
10478 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
10479
10480 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
10481
10482 * gdb.threads/manythreads.c (thread_function, main): Don't cast
10483 int to pointer or pointer to int.
10484 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
10485
10486 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
10487
10488 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
10489
10490 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10491
10492 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
10493
10494 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10495
10496 PR c++/2116
10497 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
10498
10499 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10500
10501 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
10502 the corresponding bug has been fixed in GDB (PR/2018).
10503
10504 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10505
10506 * gdb.base/subst.exp: New testcase.
10507
10508 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10509
10510 * gdb.ada/array_return/pck.ads: Add copyright notice.
10511 * gdb.ada/array_return/pck.adb: Likewise.
10512 * gdb.ada/array_return/p.adb: Likewise.
10513 * gdb.ada/exec_changed/first.adb: Likewise.
10514 * gdb.ada/exec_changed/second.adb: Likewise.
10515
10516 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10517
10518 * gdb.ada/watch_arg/watch.adb: New file.
10519 * gdb.ada/watch_arg.exp: New testcase.
10520
10521 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10522
10523 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
10524 via string_to_regexp.
10525 * gdb.mi/mi2-basics.exp: Likewise.
10526
10527 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
10528
10529 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10530 Remove unused / obsolete files.
10531
10532 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
10533
10534 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10535
10536 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10537
10538 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10539 HIGH_FRAME argument to -stack-list-arguments can be larger than
10540 the number of frames.
10541
10542 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10543
10544 * gdb.base/args.c (main): Add breakpoint marker.
10545 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10546 really test empty arguments.
10547 (args_load): Delete.
10548 (args_test): New.
10549
10550 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
10551
10552 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
10553 check for one file.
10554
10555 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10556
10557 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10558 HIGH_FRAME argument to -stack-list-locals can be larger than
10559 the number of frames.
10560
10561 2006-08-18 Fred Fish <fnf@specifix.com>
10562
10563 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10564 '$' in front of skip_vmx_tests_saved when setting that.
10565
10566 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10567
10568 * gdb.base/trace-commands.exp: New file.
10569
10570 2006-08-10 Joel Brobecker <brobecker@adacore.com>
10571 Daniel Jacobowitz <dan@codesourcery.com>
10572
10573 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10574 expected output of the backtrace commands.
10575
10576 2006-08-09 Joel Brobecker <brobecker@adacore.com>
10577
10578 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10579 untested followed by return combination.
10580 * gdb.arch/altivec-regs.exp: Likewise.
10581 * gdb.arch/e500-abi.exp: Likewise.
10582 * gdb.arch/e500-regs.exp: Likewise.
10583 * gdb.arch/gdb1291.exp: Likewise.
10584 * gdb.arch/gdb1431.exp: Likewise.
10585 * gdb.arch/gdb1558.exp: Likewise.
10586 * gdb.arch/i386-prologue.exp: Likewise.
10587 * gdb.arch/i386-unwind.exp: Likewise.
10588 * gdb.asm/asm-source.exp: Likewise.
10589 * gdb.base/a2-run.exp: Likewise.
10590 * gdb.base/advance.exp: Likewise.
10591 * gdb.base/all-bin.exp: Likewise.
10592 * gdb.base/annota1.exp: Likewise.
10593 * gdb.base/annota3.exp: Likewise.
10594 * gdb.base/args.exp: Likewise.
10595 * gdb.base/arithmet.exp: Likewise.
10596 * gdb.base/assign.exp: Likewise.
10597 * gdb.base/async.exp: Likewise.
10598 * gdb.base/attach.exp: Likewise.
10599 * gdb.base/bang.exp: Likewise.
10600 * gdb.base/bigcore.exp: Likewise.
10601 * gdb.base/bitfields.exp: Likewise.
10602 * gdb.base/bitfields2.exp: Likewise.
10603 * gdb.base/break.exp: Likewise.
10604 * gdb.base/call-sc.exp: Likewise.
10605 * gdb.base/call-strs.exp: Likewise.
10606 * gdb.base/callfuncs.exp: Likewise.
10607 * gdb.base/checkpoint.exp: Likewise.
10608 * gdb.base/chng-syms.exp: Likewise.
10609 * gdb.base/code-expr.exp: Likewise.
10610 * gdb.base/commands.exp: Likewise.
10611 * gdb.base/completion.exp: Likewise.
10612 * gdb.base/cond-expr.exp: Likewise.
10613 * gdb.base/condbreak.exp: Likewise.
10614 * gdb.base/consecutive.exp: Likewise.
10615 * gdb.base/constvars.exp: Likewise.
10616 * gdb.base/corefile.exp: Likewise.
10617 * gdb.base/cvexpr.exp: Likewise.
10618 * gdb.base/dbx.exp: Likewise.
10619 * gdb.base/define.exp: Likewise.
10620 * gdb.base/detach.exp: Likewise.
10621 * gdb.base/display.exp: Likewise.
10622 * gdb.base/dump.exp: Likewise.
10623 * gdb.base/ena-dis-br.exp: Likewise.
10624 * gdb.base/ending-run.exp: Likewise.
10625 * gdb.base/environ.exp: Likewise.
10626 * gdb.base/eval-skip.exp: Likewise.
10627 * gdb.base/exprs.exp: Likewise.
10628 * gdb.base/fileio.exp: Likewise.
10629 * gdb.base/finish.exp: Likewise.
10630 * gdb.base/float.exp: Likewise.
10631 * gdb.base/foll-exec.exp: Likewise.
10632 * gdb.base/foll-fork.exp: Likewise.
10633 * gdb.base/foll-vfork.exp: Likewise.
10634 * gdb.base/freebpcmd.exp: Likewise.
10635 * gdb.base/funcargs.exp: Likewise.
10636 * gdb.base/gcore.exp: Likewise.
10637 * gdb.base/gdb1090.exp: Likewise.
10638 * gdb.base/gdb1250.exp: Likewise.
10639 * gdb.base/huge.exp: Likewise.
10640 * gdb.base/info-proc.exp: Likewise.
10641 * gdb.base/interrupt.exp: Likewise.
10642 * gdb.base/jump.exp: Likewise.
10643 * gdb.base/langs.exp: Likewise.
10644 * gdb.base/lineinc.exp: Likewise.
10645 * gdb.base/list.exp: Likewise.
10646 * gdb.base/logical.exp: Likewise.
10647 * gdb.base/long_long.exp: Likewise.
10648 * gdb.base/macscp.exp: Likewise.
10649 * gdb.base/maint.exp: Likewise.
10650 * gdb.base/mips_pro.exp: Likewise.
10651 * gdb.base/miscexprs.exp: Likewise.
10652 * gdb.base/multi-forks.exp: Likewise.
10653 * gdb.base/opaque.exp: Likewise.
10654 * gdb.base/overlays.exp: Likewise.
10655 * gdb.base/pc-fp.exp: Likewise.
10656 * gdb.base/pointers.exp: Likewise.
10657 * gdb.base/printcmds.exp: Likewise.
10658 * gdb.base/psymtab.exp: Likewise.
10659 * gdb.base/ptype.exp: Likewise.
10660 * gdb.base/recurse.exp: Likewise.
10661 * gdb.base/relational.exp: Likewise.
10662 * gdb.base/relocate.exp: Likewise.
10663 * gdb.base/remote.exp: Likewise.
10664 * gdb.base/reread.exp: Likewise.
10665 * gdb.base/restore.exp: Likewise.
10666 * gdb.base/return.exp: Likewise.
10667 * gdb.base/return2.exp: Likewise.
10668 * gdb.base/scope.exp: Likewise.
10669 * gdb.base/sect-cmd.exp: Likewise.
10670 * gdb.base/sep.exp: Likewise.
10671 * gdb.base/sepdebug.exp: Likewise.
10672 * gdb.base/setshow.exp: Likewise.
10673 * gdb.base/setvar.exp: Likewise.
10674 * gdb.base/sigall.exp: Likewise.
10675 * gdb.base/sigbpt.exp: Likewise.
10676 * gdb.base/signals.exp: Likewise.
10677 * gdb.base/signull.exp: Likewise.
10678 * gdb.base/sizeof.exp: Likewise.
10679 * gdb.base/solib.exp: Likewise.
10680 * gdb.base/step-line.exp: Likewise.
10681 * gdb.base/step-test.exp: Likewise.
10682 * gdb.base/structs.exp: Likewise.
10683 * gdb.base/structs2.exp: Likewise.
10684 * gdb.base/term.exp: Likewise.
10685 * gdb.base/twice.exp: Likewise.
10686 * gdb.base/until.exp: Likewise.
10687 * gdb.base/varargs.exp: Likewise.
10688 * gdb.base/volatile.exp: Likewise.
10689 * gdb.base/watchpoint.exp: Likewise.
10690 * gdb.base/whatis-exp.exp: Likewise.
10691 * gdb.base/whatis.exp: Likewise.
10692 * gdb.cp/ambiguous.exp: Likewise.
10693 * gdb.cp/annota2.exp: Likewise.
10694 * gdb.cp/annota3.exp: Likewise.
10695 * gdb.cp/bool.exp: Likewise.
10696 * gdb.cp/breakpoint.exp: Likewise.
10697 * gdb.cp/casts.exp: Likewise.
10698 * gdb.cp/class2.exp: Likewise.
10699 * gdb.cp/classes.exp: Likewise.
10700 * gdb.cp/cplusfuncs.exp: Likewise.
10701 * gdb.cp/ctti.exp: Likewise.
10702 * gdb.cp/derivation.exp: Likewise.
10703 * gdb.cp/exception.exp: Likewise.
10704 * gdb.cp/gdb1355.exp: Likewise.
10705 * gdb.cp/hang.exp: Likewise.
10706 * gdb.cp/inherit.exp: Likewise.
10707 * gdb.cp/local.exp: Likewise.
10708 * gdb.cp/m-data.exp: Likewise.
10709 * gdb.cp/m-static.exp: Likewise.
10710 * gdb.cp/member-ptr.exp: Likewise.
10711 * gdb.cp/method.exp: Likewise.
10712 * gdb.cp/misc.exp: Likewise.
10713 * gdb.cp/namespace.exp: Likewise.
10714 * gdb.cp/overload.exp: Likewise.
10715 * gdb.cp/ovldbreak.exp: Likewise.
10716 * gdb.cp/pr-1023.exp: Likewise.
10717 * gdb.cp/pr-1210.exp: Likewise.
10718 * gdb.cp/pr-574.exp: Likewise.
10719 * gdb.cp/printmethod.exp: Likewise.
10720 * gdb.cp/psmang.exp: Likewise.
10721 * gdb.cp/ref-params.exp: Likewise.
10722 * gdb.cp/ref-types.exp: Likewise.
10723 * gdb.cp/rtti.exp: Likewise.
10724 * gdb.cp/templates.exp: Likewise.
10725 * gdb.cp/try_catch.exp: Likewise.
10726 * gdb.cp/userdef.exp: Likewise.
10727 * gdb.cp/virtfunc.exp: Likewise.
10728 * gdb.disasm/am33.exp: Likewise.
10729 * gdb.disasm/h8300s.exp: Likewise.
10730 * gdb.disasm/mn10300.exp: Likewise.
10731 * gdb.disasm/sh3.exp: Likewise.
10732 * gdb.disasm/t01_mov.exp: Likewise.
10733 * gdb.disasm/t02_mova.exp: Likewise.
10734 * gdb.disasm/t03_add.exp: Likewise.
10735 * gdb.disasm/t04_sub.exp: Likewise.
10736 * gdb.disasm/t05_cmp.exp: Likewise.
10737 * gdb.disasm/t06_ari2.exp: Likewise.
10738 * gdb.disasm/t07_ari3.exp: Likewise.
10739 * gdb.disasm/t08_or.exp: Likewise.
10740 * gdb.disasm/t09_xor.exp: Likewise.
10741 * gdb.disasm/t10_and.exp: Likewise.
10742 * gdb.disasm/t11_logs.exp: Likewise.
10743 * gdb.disasm/t12_bit.exp: Likewise.
10744 * gdb.disasm/t13_otr.exp: Likewise.
10745 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10746 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10747 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10748 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10749 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10750 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10751 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10752 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10753 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10754 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10755 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10756 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10757 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10758 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10759 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10760 * gdb.mi/gdb701.exp: Likewise.
10761 * gdb.mi/gdb792.exp: Likewise.
10762 * gdb.mi/mi-basics.exp: Likewise.
10763 * gdb.mi/mi-break.exp: Likewise.
10764 * gdb.mi/mi-cli.exp: Likewise.
10765 * gdb.mi/mi-console.exp: Likewise.
10766 * gdb.mi/mi-disassemble.exp: Likewise.
10767 * gdb.mi/mi-eval.exp: Likewise.
10768 * gdb.mi/mi-file.exp: Likewise.
10769 * gdb.mi/mi-read-memory.exp: Likewise.
10770 * gdb.mi/mi-regs.exp: Likewise.
10771 * gdb.mi/mi-return.exp: Likewise.
10772 * gdb.mi/mi-simplerun.exp: Likewise.
10773 * gdb.mi/mi-stack.exp: Likewise.
10774 * gdb.mi/mi-stepi.exp: Likewise.
10775 * gdb.mi/mi-syn-frame.exp: Likewise.
10776 * gdb.mi/mi-until.exp: Likewise.
10777 * gdb.mi/mi-var-block.exp: Likewise.
10778 * gdb.mi/mi-var-child.exp: Likewise.
10779 * gdb.mi/mi-var-cmd.exp: Likewise.
10780 * gdb.mi/mi-var-display.exp: Likewise.
10781 * gdb.mi/mi-watch.exp: Likewise.
10782 * gdb.mi/mi2-basics.exp: Likewise.
10783 * gdb.mi/mi2-break.exp: Likewise.
10784 * gdb.mi/mi2-cli.exp: Likewise.
10785 * gdb.mi/mi2-console.exp: Likewise.
10786 * gdb.mi/mi2-disassemble.exp: Likewise.
10787 * gdb.mi/mi2-eval.exp: Likewise.
10788 * gdb.mi/mi2-file.exp: Likewise.
10789 * gdb.mi/mi2-read-memory.exp: Likewise.
10790 * gdb.mi/mi2-regs.exp: Likewise.
10791 * gdb.mi/mi2-return.exp: Likewise.
10792 * gdb.mi/mi2-simplerun.exp: Likewise.
10793 * gdb.mi/mi2-stack.exp: Likewise.
10794 * gdb.mi/mi2-stepi.exp: Likewise.
10795 * gdb.mi/mi2-syn-frame.exp: Likewise.
10796 * gdb.mi/mi2-until.exp: Likewise.
10797 * gdb.mi/mi2-var-block.exp: Likewise.
10798 * gdb.mi/mi2-var-child.exp: Likewise.
10799 * gdb.mi/mi2-var-cmd.exp: Likewise.
10800 * gdb.mi/mi2-var-display.exp: Likewise.
10801 * gdb.mi/mi2-watch.exp: Likewise.
10802 * gdb.stabs/exclfwd.exp: Likewise.
10803 * gdb.stabs/weird.exp: Likewise.
10804 * gdb.threads/gcore-thread.exp: Likewise.
10805 * gdb.trace/actions.exp: Likewise.
10806 * gdb.trace/backtrace.exp: Likewise.
10807 * gdb.trace/circ.exp: Likewise.
10808 * gdb.trace/collection.exp: Likewise.
10809 * gdb.trace/deltrace.exp: Likewise.
10810 * gdb.trace/infotrace.exp: Likewise.
10811 * gdb.trace/limits.exp: Likewise.
10812 * gdb.trace/packetlen.exp: Likewise.
10813 * gdb.trace/passc-dyn.exp: Likewise.
10814 * gdb.trace/passcount.exp: Likewise.
10815 * gdb.trace/report.exp: Likewise.
10816 * gdb.trace/save-trace.exp: Likewise.
10817 * gdb.trace/tfind.exp: Likewise.
10818 * gdb.trace/tracecmd.exp: Likewise.
10819 * gdb.trace/while-dyn.exp: Likewise.
10820 * gdb.trace/while-stepping.exp: Likewise.
10821
10822 2006-08-08 Joel Brobecker <brobecker@adacore.com>
10823
10824 * gdb.base/step-bt.c: New file.
10825 * gdb.base/step-bt.exp: New testcase.
10826
10827 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10828
10829 * config/monitor.exp (gdb_load): Remove support for obsolete
10830 download-write-size.
10831 * gdb.base/remote.exp: Likewise. Update all callers of
10832 gdb_timed_load.
10833
10834 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10835
10836 * cursal.exp: Pass binfile to gdb_load.
10837
10838 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10839
10840 * gdb.base/cursal.exp: Add "" to gdb_load call.
10841
10842 2006-07-29 Mark Kettenis <kettenis@gnu.org>
10843
10844 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10845 NetBSD/ELF targets.
10846
10847 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10848
10849 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10850 operator*.
10851
10852 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10853
10854 * gdb.base/completion.exp: Update for change in "file" behavior.
10855 * gdb.stabs/weird.exp: Likewise.
10856 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10857 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10858
10859 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10860
10861 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10862 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10863
10864 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10865
10866 * gdb.base/default.exp: Update source command error message.
10867 * gdb.base/help.exp: Update 'help source' message.
10868
10869 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10870
10871 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10872 test.
10873
10874 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10875
10876 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10877
10878 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10879
10880 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10881
10882 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10883
10884 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10885
10886 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10887
10888 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10889 *-*-openbsd* from targets for wich we expect ARM FPA floating
10890 point format.
10891
10892 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10893
10894 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10895
10896 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10897
10898 * gdb.base/annota3.exp: Expect frame-begin annotation.
10899
10900 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10901
10902 * gdb.base/help.exp: Adjust "help unset" test to accept
10903 any list of unset commands.
10904
10905 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10906 Daniel Jacobowitz <dan@codesourcery.com>
10907
10908 * gdb.cp/ref-params.exp: New test.
10909 * gdb.cp/ref-params.cc: New source file.
10910 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10911
10912 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10913
10914 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10915 spaces/tabs in regular expressions since they might not be there.
10916
10917 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10918
10919 * gdb.base/ifelse.exp: New file.
10920
10921 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10922
10923 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10924 line.
10925 * gdb.base/huge.exp: Loop over compilation to find a size that
10926 is acceptable.
10927 * gdb.base/remote.exp: Correct expected strings.
10928 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10929
10930 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10931
10932 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10933
10934 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10935
10936 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10937 native.
10938
10939 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10940
10941 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10942 enable stabs testing.
10943
10944 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10945
10946 * gdb.base/auxv.exp: Intercept undefined command messages before
10947 gdb_test_multiple does.
10948
10949 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10950
10951 * Makefile.in (host_alias): Remove.
10952 (target_alias): Use @target_noncanonical@.
10953 (site.exp): Don't set host_alias.
10954 * aclocal.m4: Remove contents. Include acx.m4.
10955 * configure: Regenerated.
10956 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10957
10958 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10959
10960 * lib/gdb.exp (gdb_load_cmd): New.
10961
10962 * gdb.base/fileio.c: Add system(NULL) test.
10963 * gdb.base/fileio.exp: Check it.
10964
10965 * gdb.base/break.c: Add 10a breakpoint at }
10966 * gdb.base/break.exp: Add test for breakpoint at }
10967 * gdb.cp/anon-union.cc: Add code at end of function.
10968 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10969 * gdb.mi/var-cmd.c: Add code at end of function.
10970 * gdb.mi/mi-var-display.exp: Adjust end of next.
10971 * gdb.mi/mi2-var-display.exp: Likewise.
10972 * gdb.base/fileio.c: Add stop function and insert calls at
10973 stopping places.
10974 * gdb.base/fileio.exp: Breakpoint stop function and remove
10975 explicit line number references.
10976
10977 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10978
10979 * gdb.base/del.exp (test_delete_alias): New function.
10980 Now check that both "del" and "d" work as aliases for "delete".
10981
10982 2006-05-18 Fred Fish <fnf@specifix.com>
10983
10984 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10985 required. Check for spurious output after program exits normally.
10986
10987 2006-05-17 Fred Fish <fnf@specifix.com>
10988
10989 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10990 gdb_load, so it works in the simulator.
10991
10992 2006-05-11 Fred Fish <fnf@specifix.com>
10993
10994 * gdb.base/bang.exp: Ignore unexpected output between the
10995 "program exited normally" and the gdb prompt, as many other
10996 tests do.
10997
10998 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10999
11000 * gdb.base/help.exp: Make "delete checkpoint" part option for
11001 "help d" and "help delete" tests.
11002
11003 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11004
11005 * gdb.mi/mi-basics.exp: Add missing serial number to
11006 expected output in some mi_gdb_test statements.
11007 * gdb.mi/mi2-basics.exp: Likewise.
11008
11009 2006-05-05 Joel Brobecker <brobecker@adacore.com>
11010
11011 * gdb.base/del.c: New file.
11012 * gdb.base/del.exp: New testcase.
11013
11014 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
11015
11016 * gdb.base/break.exp: Do not assume a breakpoint on
11017 main will actually be in $srcfile when optimizing.
11018 * gdb.base/savedregs.exp: Do not require that the dummy
11019 frame location match up to a symbol and source file location.
11020 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
11021 will get printed without a mi_cmd_data_list_register_values prefix.
11022 (*-data-list-register-*): Correct regular expressions to expect the new
11023 pseudo d? floating point registers.
11024 * gdb.mi/mi2-regs.exp: Likewise.
11025
11026 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
11027
11028 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
11029 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
11030 is allocated by the compiler.
11031 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
11032 anons, e, anone to force their allocation by the compiler.
11033
11034 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
11035
11036 * gdb.base/help.exp: Update expected text for help d and
11037 help delete.
11038
11039 2006-05-02 Mark Kettenis <kettenis@gnu.org>
11040
11041 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
11042 NetBSD/ELF targets.
11043
11044 2006-04-30 Mark Kettenis <kettenis@gnu.org>
11045
11046 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
11047 single-step breakpoint fails; make this a KFAIL on
11048 sparc*-*-openbsd*.
11049 * gdb.base/siginfo.exp: Likewise.
11050 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11051
11052 2006-04-26 Michael Snyder <msnyder@redhat.com>
11053
11054 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11055 which may have to consume output from other forks.
11056 Add tests to make sure that "delete fork" succeeded.
11057
11058 2006-04-20 Michael Snyder <msnyder@redhat.com>
11059
11060 * 2006-03-22 Jim Blandy <jimb@redhat.com>
11061 Add support for the Renesas M32C and M16C.
11062
11063 * gdb.asm/asm-source.exp: Add m32c target.
11064 * gdb.asm/m32c.inc: Support for m32c target.
11065
11066 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
11067
11068 * gdb.base/commands.exp (recursive_source_test): New test.
11069
11070 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
11071
11072 * gdb.base/float.exp: Add pattern for sparc targets.
11073
11074 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11075
11076 * gdb.base/commands.exp (stray_arg0_test): New test.
11077
11078 2006-03-30 Paul Brook <paul@codesourcery.com>
11079
11080 * gdb.mi/mi-until.exp: kfail broken until command.
11081 * gdb.mi/mi2-until.exp: Ditto.
11082
11083 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
11084
11085 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11086
11087 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
11088
11089 * gdb.base/prelink.exp: Anchor tested-for regular expression
11090 on gdb prompt.
11091
11092 2006-03-07 Paul Brook <paul@codesourcery.com>
11093
11094 * gdb.base/assign.exp: Correct fail message.
11095
11096 2006-03-07 Paul Brook <paul@codesourcery.com>
11097
11098 * lib/compiler.c: Extract armcc version number.
11099 * lib/compiler.cc: Ditto.
11100
11101 2006-03-07 Paul Brook <paul@codesourcery.com>
11102
11103 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
11104 additional_flags=-w.
11105 * gdb.arch/altivec-regs.exp: Ditto.
11106 * gdb.arch/e500-abi.exp: Ditto.
11107 * gdb.arch/e500-regs.exp: Ditto.
11108 * gdb.base/all-bin.exp: Ditto.
11109 * gdb.base/annota1.exp: Ditto.
11110 * gdb.base/annota3.exp: Ditto.
11111 * gdb.base/args.exp: Ditto.
11112 * gdb.base/arithmet.exp: Ditto.
11113 * gdb.base/assign.exp: Ditto.
11114 * gdb.base/async.exp: Ditto.
11115 * gdb.base/bang.exp: Ditto.
11116 * gdb.base/break.exp: Ditto.
11117 * gdb.base/call-rt-st.exp: Ditto.
11118 * gdb.base/completion.exp: Ditto.
11119 * gdb.base/cond-expr.exp: Ditto.
11120 * gdb.base/condbreak.exp: Ditto.
11121 * gdb.base/consecutive.exp: Ditto.
11122 * gdb.base/define.exp: Ditto.
11123 * gdb.base/display.exp: Ditto.
11124 * gdb.base/ena-dis-br.exp: Ditto.
11125 * gdb.base/environ.exp: Ditto.
11126 * gdb.base/eval-skip.exp: Ditto.
11127 * gdb.base/info-proc.exp: Ditto.
11128 * gdb.base/jump.exp: Ditto.
11129 * gdb.base/logical.exp: Ditto.
11130 * gdb.base/long_long.exp: Ditto.
11131 * gdb.base/maint.exp: Ditto.
11132 * gdb.base/miscexprs.exp: Ditto.
11133 * gdb.base/pc-fp.exp: Ditto.
11134 * gdb.base/pointers.exp: Ditto.
11135 * gdb.base/relational.exp: Ditto.
11136 * gdb.base/reread.exp: Ditto.
11137 * gdb.base/sect-cmd.exp: Ditto.
11138 * gdb.base/sep.exp: Ditto.
11139 * gdb.base/sepdebug.exp: Ditto.
11140 * gdb.base/until.exp: Ditto.
11141 * gdb.base/whatis-exp.exp: Ditto.
11142 * gdb.cp/annota2.exp: Ditto.
11143 * gdb.cp/annota3.exp: Ditto.
11144 * gdb.trace/actions.exp: Ditto.
11145 * gdb.trace/backtrace.exp: Ditto.
11146 * gdb.trace/circ.exp: Ditto.
11147 * gdb.trace/collection.exp: Ditto.
11148 * gdb.trace/deltrace.exp: Ditto.
11149 * gdb.trace/infotrace.exp: Ditto.
11150 * gdb.trace/limits.exp: Ditto.
11151 * gdb.trace/packetlen.exp: Ditto.
11152 * gdb.trace/passc-dyn.exp: Ditto.
11153 * gdb.trace/passcount.exp: Ditto.
11154 * gdb.trace/report.exp: Ditto.
11155 * gdb.trace/save-trace.exp: Ditto.
11156 * gdb.trace/tfind.exp: Ditto.
11157 * gdb.trace/tracecmd.exp: Ditto.
11158 * gdb.trace/while-dyn.exp: Ditto.
11159 * gdb.trace/while-stepping.exp: Ditto.
11160 * lib/gdb.exp: Ditto.
11161 (gdb_compile): Handle nowarning option.
11162
11163 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
11164
11165 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
11166 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
11167 Rename executable to prelinkt. Don't re-prelink if we didn't
11168 get a core file. Test prelink -u exit status to tell whether
11169 prelinking failed. Use gdb_test_multiple.
11170
11171 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
11172
11173 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
11174 (do_tests): Call it.
11175
11176 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
11177
11178 * gdb.base/prelink.exp: New test.
11179 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
11180
11181 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
11182
11183 * gdb.fortran/derived-type.f90: New file.
11184 * gdb.fortran/derived-type.exp: New testcase.
11185
11186 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
11187
11188 * gdb.base/default.exp: Allow ';' as a directory separator.
11189
11190 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11191
11192 * gdb.base/help.exp (help add-symbol-file): Update.
11193
11194 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
11195
11196 * gdb.base/help.exp (help load): Update expected results.
11197
11198 2006-02-19 Fred Fish <fnf@specifix.com>
11199
11200 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
11201 specifix hex value as part of results.
11202 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
11203
11204 2006-02-16 Fred Fish <fnf@specifix.com>
11205
11206 * gdb.base/whatis.c: Define variables using typedefs char_addr,
11207 ushort_addr, and slong_addr, so the typedefs are not optimized
11208 away.
11209 * gdb.base/whatis.exp: Add tests using type name for struct type,
11210 union type, enum type, and typedef.
11211
11212 2006-02-13 Mark Kettenis <kettenis@gnu.org>
11213
11214 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
11215
11216 2006-02-13 Jim Blandy <jimb@redhat.com>
11217
11218 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
11219 case where it takes two "next" commands to skip past the init
11220 call.
11221
11222 2006-02-12 Fred Fish <fnf@specifix.com>
11223
11224 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
11225 to handle cases where it takes two "next" commands to skip
11226 past the init call.
11227
11228 2006-02-07 Joel Brobecker <brobecker@adacore.com>
11229
11230 * gdb.ada/array_return.exp: Mark the last test as expected to fail
11231 on hppa32 targets.
11232
11233 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
11234
11235 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
11236 field.
11237
11238 2006-01-29 Mark Kettenis <kettenis@gnu.org>
11239
11240 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
11241
11242 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
11243
11244 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
11245 files.
11246
11247 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11248
11249 * gdb.cp/maint.exp: Set complaints to a positive value.
11250
11251 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11252
11253 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
11254 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
11255 function name.
11256
11257 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
11258
11259 * gdb.base/checkpoint.c: Update copyright notice. Include
11260 <stdlib.h>.
11261
11262 2006-01-04 Jim Blandy <jimb@redhat.com>
11263
11264 * gdb.asm/asm-source.exp: Independently provide default values for
11265 asm-flags and debug-flags. Use 'string equal' to do the
11266 comparison, not the implicit expr's '==' operator. Remove
11267 now-unneeded assignments to asm-flags. In h8300 case, place
11268 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
11269
11270 2006-01-04 Michael Snyder <msnyder@redhat.com>
11271
11272 * gdb.base/checkpoint.c: New file.
11273 * gdb.base/checkpoint.exp: New file.
11274 * gdb.base/multi-fork.c: New file.
11275 * gdb.base/multi-fork.exp: New file.
11276 * gdb.base/pi.txt: New file (data for checkpoint.c test).
11277
11278 2006-01-04 Fred Fish <fnf@specifix.com>
11279
11280 * gdb.base/ptype.c (foo): Add typedef.
11281 (intfoo): Add function.
11282 * gdb.base/ptype1.c: New file.
11283 * gdb.base/ptype.exp: Handle compilation and linking with two
11284 source files. Test that proper type for "foo" is found based
11285 on source context rather than first match found in symtabs.
11286
11287 2005-12-28 Mark Kettenis <kettenis@gnu.org>
11288
11289 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
11290 * gdb.asm/openbsd.inc: Indent commands.
11291
11292 2005-12-26 Mark Kettenis <kettenis@gnu.org>
11293
11294 * gdb.base/freebpcmd.exp: Increase timeout.
11295
11296 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
11297
11298 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
11299
11300 * gdb.base/default.exp: Update check for "show version".
11301
11302 2005-12-09 Randolph Chung <tausq@debian.org>
11303
11304 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
11305 * gdb.asm/pa64.inc: New file.
11306
11307 2005-12-09 Randolph Chung <tausq@debian.org>
11308
11309 * gdb.asm/common.inc: Indent commands.
11310 * gdb.asm/asmsrc1.s: Likewise.
11311 * gdb.asm/asmsrc2.s: Likewise.
11312
11313 2005-12-09 Randolph Chung <tausq@debian.org>
11314
11315 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
11316 (get_addr_of_sym): Remove duplicate print.
11317 (gen_core): xfail hppa*-*-hpux*, update expected output.
11318 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
11319 * gdb.arch/pa64-nullify.s: New file.
11320
11321 2005-12-09 Randolph Chung <tausq@debian.org>
11322
11323 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
11324
11325 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
11326
11327 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
11328 code generation for these functions.
11329 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
11330 error message.
11331
11332 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
11333
11334 * gdb.base/help.exp (help b, help br, help bre, help brea)
11335 (help break): Update the expected message.
11336
11337 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
11338
11339 * gdb.asm/m68hc11.inc: Setup the data section.
11340 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
11341 script for this test.
11342 (m6812-*-*): Likewise.
11343
11344 2005-11-09 Randolph Chung <tausq@debian.org>
11345
11346 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
11347
11348 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
11349
11350 * gdb.base/break.exp: Fix a comment typo.
11351
11352 2005-11-03 Jim Blandy <jimb@redhat.com>
11353
11354 Checked in by Elena Zannoni <ezannoni@redhat.com>
11355
11356 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
11357
11358 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
11359
11360 * gdb.arch/gdb1558.c: Include stdio.h.
11361
11362 2005-10-31 Mark Kettenis <kettenis@gnu.org>
11363
11364 * gdb.asm/asm-source.exp: Use -e instead of --entry.
11365
11366 2005-10-31 Mark Kettenis <kettenis@gnu.org>
11367
11368 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
11369
11370 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
11371
11372 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11373 vscr" tests to better match output.
11374
11375 2005-10-12 Jim Blandy <jimb@redhat.com>
11376
11377 * gdb.base/structs.exp (any): New function.
11378 (test_struct_returns): Don't make any assumptions at all about
11379 what value the function returns when GDB can't set the return
11380 value.
11381
11382 2005-10-09 Joel Brobecker <brobecker@adacore.com>
11383
11384 * gdb.ada/arrayidx/p.adb: New file.
11385 * gdb.ada/arrayidx.exp: New testcase
11386
11387 2005-10-09 Joel Brobecker <brobecker@adacore.com>
11388
11389 * gdb.ada/array_return/pck.ads: New file.
11390 * gdb.ada/array_return/pck.adb: New file.
11391 * gdb.ada/array_return/p.adb: New file.
11392 * gdb.ada/array_return.exp: New testcase.
11393
11394 2005-10-03 Joel Brobecker <brobecker@adacore.com>
11395
11396 * gdb.base/arrayidx.c: New file.
11397 * gdb.base/arrayidx.exp: New testcase.
11398
11399 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
11400
11401 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
11402 frames-invalid and breakpoints-invalid are no longer generated
11403 with level 3 so don't expect them in the output.
11404
11405 2005-09-27 Bob Rossi <bob@brasko.net>
11406
11407 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
11408 from test. Escape the | in mi_gdb_test call.
11409 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
11410 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
11411 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
11412 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
11413 expected regex's in mi_gdb_test calls.
11414 * lib/mi-support.exp: Remove arbitrary .* from tests.
11415 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
11416 Fully anchor GDB/MI expected results in mi_gdb_test.
11417 * lib/gdb.exp (string_to_regexp): Escape the ] character.
11418 * gdb.base/sizeof.exp: Remove escape character. Correct test.
11419
11420 2005-09-26 Paul Brook <paul@codesourcery.com>
11421
11422 * long_long.exp: Exclude eabi targets from arm FPA float format test.
11423
11424 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11425
11426 * bfp-test.c: New file.
11427 * bfp-test.exp: New testcase.
11428
11429 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
11430
11431 * gdb.fortran/subarray.exp: New testcase to test the evaluation
11432 of subarray and substring variable.
11433 * gdb.fortran/subarray.f: New source file for the test of subarray
11434 and substring variable evaluation.
11435 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
11436 of string constant.
11437
11438 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
11439
11440 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
11441 copyright dates.
11442
11443 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
11444
11445 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
11446 powerpc altivec' test with an almost identical 'info vector' test.
11447
11448 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11449
11450 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
11451 vscr" tests to match output.
11452
11453 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
11454
11455 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
11456 output.
11457
11458 2005-09-11 Bob Rossi <bob@brasko.net>
11459
11460 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
11461 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
11462 commands that return an MI output command and an asyncronous MI output
11463 command.
11464 * gdb.mi/mi-console.exp: Ditto.
11465
11466 2005-09-11 Bob Rossi <bob@brasko.net>
11467
11468 * gdb.mi/mi-var-child.c: Include <string.h>.
11469
11470 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
11471
11472 * killed.exp: Correct gdb_expect syntax.
11473
11474 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
11475
11476 * lib/mi-support.exp (mi_gdb_load): Fix typo.
11477
11478 2005-08-02 Bob Rossi <bob@brasko.net>
11479
11480 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
11481 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
11482 Change tests to inferior-tty-set/show.
11483 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
11484 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
11485 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
11486 inferior. Use mi_gdb_test to get GDB and Inferior output.
11487 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
11488 descriptor.
11489 (mi_inferior_tty_name): Add inferior PTY file name.
11490 (mi_gdb_start): Add INFERIOR_PTY parameter.
11491 (mi_gdb_test): Add IPATTERN parameter.
11492
11493 2005-08-02 Bob Rossi <bob@brasko.net>
11494
11495 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
11496 parameter to mi_gdb_test.
11497 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
11498
11499 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11500
11501 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
11502 struct_declarations.
11503 * gdb.mi/mi-var-child.exp: Step over the initialization of
11504 struct_declarations.
11505
11506 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11507
11508 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
11509 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
11510 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
11511 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
11512 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
11513 file.
11514
11515 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
11516
11517 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11518 (do_children_tests): Assign values to the extra elements.
11519
11520 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11521 them for tests for "-var-update --no-values" and
11522 "-var-update --all-values".
11523 Add test for "-var-list-children --simple-values".
11524
11525 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11526
11527 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11528 "-stack-list-locals --simple-values" Improve doc strings and
11529 comments.
11530
11531 2005-07-18 Mark Kettenis <kettenis@gnu.org>
11532
11533 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11534 *-*-openbsd*.
11535 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11536
11537 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11538 sigaltsatck'.
11539
11540 2005-07-14 Bob Rossi <bob@brasko.net>
11541
11542 * gdb.base/default.exp (tty): Changed output of command.
11543 * gdb.base/help.exp (help tty): Ditto.
11544
11545 2005-07-12 Mark Kettenis <kettenis@gnu.org>
11546
11547 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11548
11549 2005-07-10 Mark Kettenis <kettenis@gnu.org>
11550
11551 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11552 -stack-select-frame without arguments.
11553 (test_stack_frame_listing): Add test for newly implemented command
11554 -stack-info-frame.
11555
11556 2005-07-06 Bob Rossi <bob@brasko.net>
11557
11558 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11559 command.
11560 (Copyright): Update copyright.
11561
11562 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11563
11564 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11565 tests to evaluate exponentiation expression.
11566
11567 2005-06-29 Andreas Schwab <schwab@suse.de>
11568
11569 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11570 main to avoid warnings.
11571
11572 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11573
11574 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
11575
11576 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11577 -stack-select-frame without arguments.
11578 (test_stack_frame_listing): Add test for newly implemented command
11579 -stack-info-frame.
11580
11581 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11582
11583 * gdb.fortran/array-element.f: New file.
11584 * gdb.fortran/array-element.exp: New testcase.
11585
11586 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11587
11588 * gdb.base/bigcore.exp: Correct checks for systems which can
11589 not dump a large core file.
11590
11591 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11592
11593 * gdb.base/relocate.c: Add a copyright notice.
11594 (dummy): Remove.
11595 * gdb.base/relocate.exp: Test printing the values of variables
11596 from a relocatable file.
11597
11598 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11599
11600 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11601 excess MI output after an error.
11602
11603 2005-05-29 Joel Brobecker <brobecker@adacore.com>
11604
11605 * gdb.arch/alpha-step.c: New file.
11606 * gdb.arch/alpha-step.exp: New testcase.
11607
11608 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11609 Dennis Brueni <dennis@slickedit.com>
11610
11611 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11612 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11613 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11614 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11615 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11616 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11617 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11618
11619 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11620 Wu Zhou <woodzltc@cn.ibm.com>
11621
11622 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11623 IBM's xlc compiler.
11624 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11625 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11626
11627 2005-05-13 Jim Blandy <jimb@redhat.com>
11628
11629 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11630 calling gdb_suppress_entire_file.
11631 * gdb.base/charset.exp: Same.
11632 * gdb.base/call-rt-st.exp: Same.
11633
11634 2005-05-05 Bob Rossi <bob_rossi@cox.net>
11635
11636 * lib/gdb.exp (fullname_syntax): Added global regex.
11637 (fullname_syntax_POSIX): Ditto.
11638 (fullname_syntax_UNC): Ditto.
11639 (fullname_syntax_DOS_CASE): Ditto.
11640 (fullname_syntax_DOS): Ditto.
11641 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11642 fullname_syntax variable to scope and use it.
11643 (test_file_list_exec_source_files): Ditto.
11644 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11645
11646 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11647
11648 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11649
11650 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11651
11652 * lib/gdb.exp (skip_altivec_tests): New function, based on
11653 check_vmx_hw_available from the GCC testsuite.
11654 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11655 * lib/gdb.arch/altivec-regs.exp: Likewise.
11656
11657 2005-05-02 Jim Blandy <jimb@redhat.com>
11658
11659 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11660 calling gdb_suppress_entire_file.
11661
11662 2005-04-30 Randolph Chung <tausq@debian.org>
11663
11664 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11665 Slightly relax "sem_post" name checking.
11666
11667 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11668
11669 * gdb.base/unload.exp: Use new shared library infrastructure.
11670
11671 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11672
11673 * gdb.base/so-impl-ld.exp: Use new shared library
11674 infrastructure.
11675
11676 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
11677
11678 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11679 * gdb.asm/h8300.inc: New file.
11680
11681 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11682
11683 * gdb.base/shlib-call.exp: Change to use new shared library
11684 infrastructure.
11685
11686 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11687
11688 * gdb.base/pending.exp: Change to use new shared library
11689 infrastructure.
11690
11691 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11692
11693 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11694 use test_compiler_info instead of gcc_compiled, and update copyright.
11695
11696 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11697
11698 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11699 shared objects being adjusted and update copyright years.
11700
11701 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11702
11703 * ChangeLog: Correct some 2003-01-13 dates.
11704 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11705 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11706 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11707 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11708 gdb.trace/tfind.exp: Update copyright years.
11709
11710 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11711 Daniel Jacobowitz <dan@codesourcery.com>
11712
11713 * lib/gdb.exp (gdb_compile): Handle shlib=.
11714 (gdb_compile_shlib): New function.
11715
11716 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11717
11718 * lib/gdb.exp (test_compiler_info): Give argument a default value.
11719
11720 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11721
11722 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11723 gdb.server.
11724 * configure.ac: Likewise.
11725 * configure: Regenerated.
11726 * gdb.gdbserver/Makefile.in: Moved to...
11727 * gdb.server/Makefile.in: ... here.
11728 * gdb.gdbserver/server.c: Moved to...
11729 * gdb.server/server.c: ... here.
11730 * gdb.gdbserver/server-run.exp: Moved to...
11731 * gdb.server/server-run.exp: ... here.
11732
11733 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11734
11735 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11736 * configure.ac: Create gdb.gdbserver/Makefile.
11737 * configure: Regenerated.
11738 * lib/gdbserver-support.exp: New file, derived from
11739 config/gdbserver.exp.
11740 * config/gdbserver.exp: Use gdbserver-support.exp.
11741 * gdb.gdbserver/Makefile.in: New file.
11742 * gdb.gdbserver/server.c: New file.
11743 * gdb.gdbserver/server-run.exp: New file.
11744
11745 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11746
11747 * lib/gdb.exp (test_compiler_info): Return compiler_info
11748 if no arguments are given.
11749
11750 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11751
11752 * gdb.arch/altivec-abi.exp: Check for compiler and set
11753 use altivec' flag accordingly.
11754 * gdb.arch/altivec-regs.exp: Likewise.
11755
11756 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11757
11758 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11759
11760 2005-03-27 Andreas Schwab <schwab@suse.de>
11761
11762 * gdb.base/bigcore.c (main): Add missing mode argument in open
11763 call.
11764
11765 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11766
11767 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11768 downloads.
11769 * config/gdbserver.exp (gdb_load): Likewise.
11770
11771 2005-03-14 Paul Brook <paul@codesourcery.com>
11772
11773 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11774 targets.
11775
11776 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11777
11778 * gdb.dwarf2/dup-psym.S: New file.
11779 * gdb.dwarf2/dup-psym.exp: New testcase.
11780
11781 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11782
11783 * gdb.ada/exec_changed/first.adb: New file.
11784 * gdb.ada/exec_changed/second.adb: New file.
11785 * gdb.ada/exec_changed.exp: New testcase.
11786
11787 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11788
11789 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11790 (A2): New class.
11791 (main): Test operator+.
11792 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11793 breakpoint test.
11794
11795 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11796 * gdb.base/signull.exp: Disable if gdb,nosignals.
11797 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11798 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11799 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11800 * gdb.mi/mi2-console.exp: Likewise.
11801 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11802 continue output at start.
11803 (gdb_collect_locals_test): Robustify regexp.
11804 * gdb.trace/passc-dyn.exp: Fix comment typo.
11805 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11806
11807 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
11808
11809 * gdb.asm/asm-source.exp: Add iq2000 case.
11810 * gdb.asm/iq2000.inc: New file.
11811
11812 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
11813
11814 * gdb.base/command.exp: Change hardcoded value to regular expression.
11815 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11816
11817 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11818
11819 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11820 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11821 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11822 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11823 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11824
11825 2005-03-05 Mark Kettenis <kettenis@gnu.org>
11826
11827 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11828 changes.
11829
11830 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11831
11832 * lib/compiler.c: Add test for IBM's xlc compiler.
11833 * lib/compiler.cc: Likewise.
11834
11835 2004-02-24 Joel Brobecker <brobecker@adacore.com>
11836
11837 * gdb.ada/fixed_points.exp: Create compilation object directory
11838 before running the test.
11839 * gdb.ada/null_record.exp: Likewise.
11840 * gdb.ada/packed_array.exp: Likewise.
11841 * gdb.ada/start.exp: Likewise.
11842
11843 2005-02-15 Joel Brobecker <brobecker@adacore.com>
11844
11845 * gdb.ada/packed_array/pa.adb: New file.
11846 * gdb.ada/packed_array.exp: New testcase.
11847
11848 2005-02-10 Mark Kettenis <kettenis@gnu.org>
11849
11850 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11851 files.
11852
11853 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11854 on *-*-openbsd*. Correctly match whitespace in regukar
11855 expressions.
11856
11857 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11858
11859 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11860 PR exp/1821
11861 * gdb.base/gdb1821.c: New test file.
11862 * gdb.base/gdb1821.exp: New test file.
11863
11864 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11865
11866 * gdb.base/start.c: New file.
11867 * gdb.base/start.exp: New testcase.
11868
11869 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11870
11871 * gdb.ada/start/dummy.adb: New file.
11872 * gdb.ada/start.exp: New testcase.
11873
11874 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11875
11876 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11877 for printing symbols and statistics.
11878 Add test for using relative pathnames in "maint print msymbols" test.
11879 Mark "maint info sections DATA" XFAIL on Cygwin.
11880 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11881 tests.
11882
11883 2005-02-09 Andreas Schwab <schwab@suse.de>
11884
11885 Committed by Andrew Cagney <cagney@gnu.org>
11886 * gdb.base/remotetimeout.exp: New file.
11887
11888 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11889
11890 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11891
11892 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11893
11894 * gdb.ada/gnat_ada.gpr: New file.
11895 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11896 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11897 * configure.ac: No longer generate gnat_ada.gpr.
11898 * configure: Regenerate.
11899 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11900 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11901 * gdb.ada/null_record/bar.ads: Likewise.
11902 * gdb.ada/null_record/bar.adb: Likewise.
11903 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11904 * gdb.ada/null_record.exp (testdir): New variable.
11905 (testfile): executable is now in testdir subdirectory.
11906 (srcfile): Use full path to the main compilation unit.
11907 * gdb.ada/fixed_points.exp: Same changes as above.
11908
11909 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11910
11911 * gdb.base/interp.exp: New test.
11912
11913 2005-01-24 Andrew Cagney <cagney@gnu.org>
11914
11915 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11916
11917 2005-01-19 Andrew Cagney <cagney@gnu.org>
11918
11919 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11920 configure.ac not configure.in.
11921
11922 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11923 of powerpc*-*-*.
11924 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11925 * gdb.base/list.exp (test_list_function)
11926 (test_list_filename_and_function): Ditto.
11927 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11928
11929 2005-01-16 Andrew Cagney <cagney@gnu.org>
11930
11931 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11932
11933 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11934
11935 2005-01-14 Andrew Cagney <cagney@gnu.org>
11936
11937 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11938 * gdb.mi/mi2-var-cmd.exp: Ditto.
11939
11940 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11941
11942 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11943
11944 2005-01-07 Andrew Cagney <cagney@gnu.org>
11945
11946 * configure.ac: Rename configure.in, require autoconf 2.59.
11947 * configure: Re-generate.
11948 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11949 * gdb.stabs/configure: Re-generate.
11950 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11951 * gdb.hp/configure: Re-generate.
11952 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11953 autoconf 2.59.
11954 * gdb.hp/gdb.objdbg/configure: Re-generate.
11955 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11956 autoconf 2.59.
11957 * gdb.hp/gdb.defects/configure: Re-generate.
11958 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11959 autoconf 2.59.
11960 * gdb.hp/gdb.compat/configure: Re-generate.
11961 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11962 autoconf 2.59.
11963 * gdb.hp/gdb.base-hp/configure: Re-generate.
11964 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11965 autoconf 2.59.
11966 * gdb.hp/gdb.aCC/configure: Re-generate.
11967
11968 2004-12-15 Jim Blandy <jimb@redhat.com>
11969
11970 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11971 under NPTL when there is debugging info available for libpthread.
11972
11973 2004-12-13 Jerome Guitton <guitton@gnat.com>
11974
11975 * gdb.ada/fixed_points.c: New file.
11976 * gdb.ada/fixed_points.exp: New file.
11977
11978 2004-12-03 Randolph Chung <tausq@debian.org>
11979
11980 * gdb.arch/pa-nullify.exp: New file.
11981 * gdb.arch/pa-nullify.s: New file.
11982
11983 2004-11-30 Randolph Chung <tausq@debian.org>
11984
11985 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11986 instead of "tbug". Fix regexp to work properly with gdb_test.
11987
11988 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11989
11990 * gdb.base/bitfields2.exp: New test.
11991 * gdb.base/bitfields2.c: New file.
11992
11993 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11994
11995 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11996
11997 2004-11-16 Randolph Chung <tausq@debian.org>
11998
11999 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
12000
12001 2004-11-14 Daniel Jacobowitz <dan@debian.org>
12002
12003 * gdb.threads/threadapply.exp: Correct "macro details" test.
12004
12005 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
12006
12007 * gdb.threads/threadapply.exp: New test.
12008 * gdb.threads/threadapply.c: New file.
12009
12010 2004-11-07 Mark Kettenis <kettenis@gnu.org>
12011
12012 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
12013 frames.
12014
12015 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
12016
12017 * gdb.base/cursal.exp: New file.
12018 * gdb.base/cursal.c: New file.
12019
12020 2004-11-03 Andrew Cagney <cagney@gnu.org>
12021
12022 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
12023
12024 2004-10-30 Mark Kettenis <kettenis@gnu.org>
12025
12026 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
12027 NetBSD/ELF targets.
12028
12029 2004-10-29 Joel Brobecker <brobecker@gnat.com>
12030
12031 * gdb.threads/bp_in_thread.c: New file, copied from
12032 pthread_cond_wait.c.
12033 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
12034 file, rather than reusing the .c file from another testcase.
12035
12036 2004-10-20 Joel Brobecker <brobecker@gnat.com>
12037
12038 * gdb.ada/null_record.exp: Check where we stopped after
12039 sending the start command, instead of where the associated
12040 temporary breakpoint was inserted.
12041
12042 2004-10-14 Andrew Cagney <cagney@gnu.org>
12043
12044 * gdb.mi/gdb701.c (main): Return 0.
12045
12046 2004-10-13 Daniel Jacobowitz <dan@debian.org>
12047
12048 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
12049
12050 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
12051
12052 * gdb.threads/schedlock.c: Add comment markers to use to find
12053 line numbers.
12054 * gdb.threads/schedlock.exp: Adjust regex to handle the new
12055 comments.
12056 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12057 breakpoint lines.
12058
12059 2004-10-12 Daniel Jacobowitz <dan@debian.org>
12060
12061 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12062
12063 2004-10-12 Daniel Jacobowitz <dan@debian.org>
12064
12065 * configure.in: Add gdb.dwarf2.
12066 * configure: Regenerated.
12067 * Makefile.in: Add gdb.dwarf2.
12068 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12069 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12070 gdb.dwarf2/file1.txt: New files.
12071
12072 2004-10-11 Orjan Friberg <orjanf@axis.com>
12073
12074 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
12075 of "run", since the latter doesn't work with remote targets. Adjust
12076 the breakpoint numbering accordingly.
12077 * gdb.threads/pthread_cond_wait.exp: Ditto.
12078
12079 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
12080
12081 * gdb.base/overlays.exp: Update copyright years.
12082
12083 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
12084
12085 * gdb.base/overlays.exp: Disable if target is Linux.
12086
12087 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
12088
12089 * config/gdbserver.exp (gdb_load): Use right filename on remote.
12090
12091 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
12092
12093 * gdb.asm/asm-source.exp: Add m32r-linux target.
12094 * gdb.asm/m32r-linux.inc: New file.
12095
12096 2004-09-24 Andrew Cagney <cagney@redhat.com>
12097 David Anderson <anderson@redhat.com>
12098
12099 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
12100 command fails, assume things will work.
12101 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
12102 (_GNU_SOURCE): Define.
12103 (print_unsigned, print_hex): Change parameter to "long long".
12104 (print_byte_count): New function, use to print byte counts.
12105 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
12106 O_LARGEFILE.
12107 (main): Compute an upper bound on a corefile in max_core_size.
12108 Limit memory chunk size to max_core_size. Limit total memory
12109 allocated to max_core_size.
12110
12111 2004-09-23 Andrew Cagney <cagney@gnu.org>
12112
12113 * gdb.base/bigcore.exp: Replace the code that creates a corefile
12114 from a separate process with code that creates a corefile by
12115 making the inferior dump core.
12116
12117 2004-09-23 Mark Kettenis <kettenis@gnu.org>
12118
12119 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
12120 block.
12121
12122 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
12123
12124 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
12125 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
12126 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
12127 Likewise.
12128
12129 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
12130
12131 * gdb.java/jprint.exp: New test case for java inferior call.
12132 * gdb.java/jprint.java: Ditto.
12133
12134 2004-09-15 Joel Brobecker <brobecker@gnat.com>
12135
12136 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
12137
12138 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12139
12140 * gdb.threads/killed.c: Include <stdlib.h>.
12141 * gdb.threads/pthreads.c: Likewise.
12142
12143 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
12144
12145 * gdb.threads/killed.c: Add copyright notice.
12146
12147 2004-09-10 Jason Molenda (jmolenda@apple.com)
12148
12149 * gdb.base/define.exp: Two new tests to verify zero space chars
12150 after 'if' and 'while' commands in a user-defined command is correctly
12151 parsed.
12152
12153 2004-09-08 Andrew Cagney <cagney@gnu.org>
12154
12155 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
12156 delivery test with duplicate at end of file.
12157
12158 2004-09-06 Mark Kettenis <kettenis@jive.nl>
12159
12160 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
12161
12162 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12163
12164 * config/hppro.exp: Removed.
12165
12166 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12167
12168 * config/sparclet.exp: Removed.
12169
12170 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
12171
12172 * config/udi.exp: Removed.
12173
12174 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
12175
12176 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
12177 of "exp_continue".
12178 (advancei): Likewise.
12179
12180 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12181
12182 * gdb.base/unload.exp: Fix so messages aren't duplicated.
12183
12184 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
12185
12186 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
12187 to check for nodebug in executable.
12188 * gdb.gdb/observer.exp (setup_test): Likewise.
12189 * gdb.gdb/selftest.exp (test_with_self): Likewise.
12190 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
12191
12192 2004-09-01 Andrew Cagney <cagney@gnu.org>
12193
12194 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12195 files.
12196
12197 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
12198
12199 * gdb.base/unload.exp: Fix expected warning message to match
12200 latest format.
12201
12202 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
12203
12204 * gdb.base/call-rt-st.exp: Fix typos.
12205
12206 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
12207
12208 * gdb.threads/thread_check.exp: New testcase.
12209 * gdb.threads/thread_check.c: New testcase.
12210
12211 2004-08-31 Andrew Cagney <cagney@gnu.org>
12212
12213 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
12214 (skip_to_handler_entry): New procedures. Test stepping into a
12215 handler when the breakpoint is at the handler's entry point.
12216
12217 2004-08-30 Andrew Cagney <cagney@gnu.org>
12218
12219 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
12220 gdb/1757.
12221
12222 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12223
12224 With code from Manoj Iyer <manjo@austin.ibm.com>:
12225 * lib/gdb.exp (gdb_file_cmd): Return more information in the
12226 return value. Add an arm for "no debugging symbols found".
12227 Change a stray "error" to "perror".
12228 (gdb_run_cmd): Adapt to new return value.
12229 * gdb.base/remote.exp: Adapt to new return value.
12230 * gdb.gdb/complaints.exp: Likewise.
12231 * gdb.gdb/observer.exp: Likewise.
12232 * gdb.gdb/selftest.exp: Likewise.
12233 * gdb.gdb/xfullpath.exp: Likewise.
12234
12235 2004-08-27 Joel Brobecker <brobecker@gnat.com>
12236
12237 * gdb.threads/bp_in_thread.exp: New testcase.
12238
12239 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
12240
12241 Fix PR testsuite/1735.
12242 * gdb.threads/schedlock.c (thread_function): Add a cast
12243 to suppress a gcc warning.
12244 * gdb.threads/thread-specific.c (thread_function): Likewise.
12245
12246 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12247
12248 * gdb.base/unload.c: Include <stdlib.h>.
12249
12250 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12251
12252 From Paul Gilliam <pgilliam@us.ibm.com>:
12253 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
12254 synchronized after the "return".
12255
12256 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12257
12258 * gdb.mi/basics.c: Include <stdio.h>.
12259 * gdb.mi/pthreads.c: Include <stdlib.h>.
12260 * gdb.mi/var-cmd.c: Include <stdlib.h>.
12261
12262 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
12263
12264 * gdb.threads/schedlock.c: Add copyright notice.
12265
12266 2004-08-25 Andrew Cagney <cagney@gnu.org>
12267
12268 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
12269 (skip_over_handler, breakpoint_over_hander): New test procedures.
12270 (advance, advancei): Add a proper prefix, do not use
12271 rerun_to_main.
12272 * gdb.base/sigstep.c (main): Change to use an infinite loop.
12273
12274 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
12275
12276 * gdb.mi/basics.c: Add copyright notice.
12277 * gdb.mi/var-cmd.c: Add copyright notice.
12278
12279 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12280
12281 * lib/gdb.exp: Remove signed_keyword_not_used.
12282 * lib/compiler.c: Likewise.
12283 * lib/compiler.cc: Likewise.
12284
12285 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12286
12287 * gdb.base/whatis.c: Remove conditional disabling of "signed".
12288 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
12289
12290 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
12291
12292 * gdb.base/whatis.c: Add copyright notice.
12293
12294 2004-08-20 Mark Kettenis <kettenis@gnu.org>
12295
12296 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
12297 it to skip the breakpoints encoded in the inline assembly.
12298
12299 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12300
12301 * Makefile.in: Add gdb.fortran.
12302
12303 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
12304
12305 * gdb.base/call-sc.exp (test_scalar_returns):
12306 Fix cut-and-paste glitch in "Make fun return now".
12307
12308 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12309
12310 * configure.in: Add gdb.fortran.
12311 * configure: Regenerate.
12312 * gdb.fortran/Makefile.in: New file.
12313 * lib/gdb.exp (skip_fortran_tests): New procedure.
12314
12315 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
12316
12317 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
12318 reference to bug-gnu@prep.ai.mit.edu.
12319 * gdb.mi/mi-var-child.exp: Likewise.
12320 * gdb.mi/mi-var-cmd.exp: Likewise.
12321 * gdb.mi/mi-var-display.exp: Likewise.
12322 * gdb.mi/mi2-var-block.exp: Likewise.
12323 * gdb.mi/mi2-var-child.exp: Likewise.
12324 * gdb.mi/mi2-var-cmd.exp: Likewise.
12325 * gdb.mi/mi2-var-display.exp: Likewise.
12326
12327 2004-08-15 Mark Kettenis <kettenis@gnu.org>
12328
12329 * gdb.base/unload.c (main): Make local variable msg const.
12330
12331 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12332
12333 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
12334 to bug-gnu@prep.ai.mit.edu.
12335 * gdb.mi/mi-disassemble.exp: Likewise.
12336 * gdb.mi/mi-eval.exp: Likewise.
12337 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
12338 default line number.
12339 * gdb.mi/mi-return.exp: Likewise.
12340 * gdb.mi/mi-simplerun.exp: Likewise.
12341 * gdb.mi/mi-stack.exp: Likewise.
12342 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
12343 number with explicit range test.
12344 * gdb.mi/mi-watch.exp: Likewise.
12345 * gdb.mi/mi2-break.exp: Likewise.
12346 * gdb.mi/mi2-cli.exp: Likewise.
12347 * gdb.mi/mi2-disassemble.exp: Likewise.
12348 * gdb.mi/mi2-eval.exp: Likewise.
12349 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
12350 default line number.
12351 * gdb.mi/mi2-return.exp: Likewise.
12352 * gdb.mi/mi2-simplerun.exp: Likewise.
12353 * gdb.mi/mi2-stack.exp: Likewise.
12354 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
12355 number with explicit range test.
12356 * gdb.mi/mi2-watch.exp: Likewise.
12357
12358 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
12359
12360 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
12361 * gdb.cp/m-static.exp: Likewise.
12362 * gdb.cp/rtti.exp: Likewise.
12363
12364 2004-08-14 Mark Kettenis <kettenis@gnu.org>
12365
12366 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
12367
12368 2004-08-14 Eli Zaretskii <eliz@gnu.org>
12369
12370 * ChangeLog: Prefix Local Variables with semi-colons and indent
12371 the reference to older ChangeLog files, to fix fontification in
12372 Emacs.
12373
12374 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12375
12376 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
12377 * gdb.mi/mi2-break.exp: Likewise.
12378
12379 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12380
12381 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
12382
12383 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12384
12385 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
12386
12387 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
12388
12389 * gdb.cp/classes.exp: Remove unused declarations. Just let
12390 test names default instead of providing special names. Remove
12391 extraneous demangler test.
12392
12393 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
12394
12395 * gdb.base/unload.exp: New test for breakpoints in dynamically
12396 loaded libraries.
12397 * gdb.base/unload.c: Ditto.
12398 * gdb.base/unloadshr.c: Ditto.
12399
12400 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
12401
12402 * gdb.cp/classes.exp (test_ptype_class_objects): Call
12403 cp_test_ptype_class.
12404 (test_enums): Likewise.
12405
12406 2004-08-10 Andrew Cagney <cagney@gnu.org>
12407
12408 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
12409 files.
12410
12411 2004-08-10 Andrew Cagney <cagney@gnu.org>
12412
12413 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
12414 init_malloc call.
12415
12416 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
12417
12418 * ChangeLog: Add copyright notice. The notice is copied
12419 from emacs 21.3 top level ChangeLog.
12420
12421 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12422
12423 * lib/cp-support.exp: New file.
12424 * lib/cp-support.exp (cp_test_type_class): New function.
12425 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
12426 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
12427 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
12428 cp_test_ptype_class.
12429
12430 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12431
12432 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
12433 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
12434 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
12435 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
12436 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12437 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
12438 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
12439 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
12440 gdb.mi/mi2-watch.exp: Update copyright years.
12441
12442 2004-08-09 Mark Kettenis <kettenis@gnu.org>
12443
12444 * gdb.base/sigaltstack.exp: Provide proper anchoring.
12445
12446 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
12447
12448 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
12449 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
12450 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
12451 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
12452 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
12453 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
12454 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
12455 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12456 gdb.mi/mi-watch.exp: Update copyright years.
12457
12458 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12459
12460 PR gdb/1738
12461 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
12462 from a breakpoint with a pending signal.
12463
12464 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12465
12466 PR gdb/1736
12467 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
12468 * gdb.base/sigaltstack.exp (finish_test): Consume output until
12469 the prompt.
12470 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
12471
12472 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12473
12474 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
12475
12476 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12477
12478 PR gdb/1736
12479 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
12480 for i?86-*-linux*.
12481
12482 2004-08-08 Daniel Jacobowitz <dan@debian.org>
12483
12484 * gdb.arch/i386-prologue.exp: Compile without debug information.
12485
12486 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
12487
12488 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
12489 rather than asking gdb to search.
12490
12491 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12492
12493 * gdb.base/gcore.c: Include <string.h>.
12494
12495 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12496
12497 * gdb.base/gcore.c: Add copyright notice.
12498
12499 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
12500
12501 * gdb.base/freebpcmd.c: Include <stdio.h>.
12502 * gdb.base/long_long.c: Include <string.h>.
12503 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
12504 * gdb.base/siginfo.c: Include <string.h>.
12505 * gdb.base/sigstep.c: Include <string.h>.
12506
12507 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12508
12509 * gdb.base/complex.c: Include <stdlib.h>.
12510
12511 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12512
12513 * gdb.base/complex.c: Add copyright notice.
12514
12515 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12516
12517 * gdb.base/charset.c: Include <stdlib.h>.
12518
12519 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12520
12521 * gdb.base/auxv.c: Include <stdlib.h>.
12522
12523 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12524
12525 * gdb.base/auxv.c: Add copyright notice.
12526
12527 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12528
12529 * gdb.base/coremaker.c: Add copyright notice.
12530 * gdb.base/coremaker2.c: Add copyright notice.
12531
12532 2004-08-04 Andrew Cagney <cagney@gnu.org>
12533
12534 * gdb.base/store.exp: Update copyright.
12535 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12536 names, do not import gdb_prompt.
12537
12538 2004-08-01 Andrew Cagney <cagney@gnu.org>
12539
12540 Fix PR testsuite/1729.
12541 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12542 not use capture_value with value 4.
12543 (capture_value): Add optional test name parameter.
12544 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12545 the prefix, pass to capture_value.
12546
12547 2004-08-01 Mark Kettenis <kettenis@gnu.org>
12548
12549 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12550 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12551 (main): Call new function.
12552
12553 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12554
12555 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12556
12557 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12558
12559 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12560
12561 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12562
12563 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
12564 Accept more values of vtbl pointer. Remove some messages
12565 about "obsolete gcc or gdb".
12566
12567 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12568
12569 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12570
12571 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12572
12573 * gdb.base/asm-source.exp: Properly convert target board
12574 debug flags from gcc format to binutils format.
12575
12576 2004-07-28 Mark Kettenis <kettenis@gnu.org>
12577
12578 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12579 gdb1718". PR backtrace/1718 partially fixed.
12580
12581 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12582
12583 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12584
12585 2004-07-26 Nick Clifton <nickc@redhat.com>
12586
12587 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12588 good default value for a specific architecture is available then
12589 set it to that value. Otherwise default to the -gstabs switch.
12590 Remove the -g... switches from the asm-flags variable. Allow the
12591 target board info to override the value if it wants to. Pass the
12592 switch on the assembler command line.
12593
12594 2004-07-23 Mark Kettenis <kettenis@gnu.org>
12595
12596 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12597 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12598 (main): Call new function.
12599
12600 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12601
12602 Test for PR exp/1715.
12603 * gdb.base/radix.exp: Refactor common procedures. Make all
12604 test names unique. Change XFAIL to KFAIL.
12605
12606 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12607
12608 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12609 * gdb.ada/gnat_ada.gin: ... to here.
12610 * configure.in: Use gnat_ada.gin.
12611 * configure: Regenerate.
12612
12613 2004-07-20 Andrew Cagney <cagney@gnu.org>
12614
12615 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12616 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12617 XFAILs. Clean up test messages and comments. Check backtraces.
12618 Delete re-sync code.
12619
12620 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12621
12622 Fix PR cli/740.
12623 * gdb.base/annota1.exp: Honor gdb,nosignals.
12624 * gdb.base/annota3.exp: Likewise.
12625
12626 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12627
12628 * lib/java.exp: Update copyright notice.
12629
12630 2004-07-19 Andrew Cagney <cagney@gnu.org>
12631
12632 * gdb.base/selftest.exp: Copy file from here ...
12633 * gdb.gdb/selftest.exp: ... to here.
12634
12635 2004-07-16 Andrew Cagney <cagney@redhat.com>
12636
12637 * lib/insight-support.exp: Delete file.
12638 * lib/java.exp (java_init): Fix copyright.
12639
12640 2004-07-16 Andrew Cagney <cagney@gnu.org>
12641
12642 * gdb.base/restore.c: Append "prologue" to comments marking the a
12643 function's prologue.
12644 * gdb.base/restore.exp: Update copyright, re-indent.
12645 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12646 callerN" prefix where needed. Update patterns that match a
12647 function's prologue.
12648
12649 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12650
12651 * gdb.base/restore.c: Add copyright notice.
12652
12653 2004-07-16 Andrew Cagney <cagney@gnu.org>
12654
12655 * gdb.base/logical.exp: Update copyright.
12656 (evaluate): New procedure. Use to re-implement tests using
12657 several tables.
12658
12659 2004-07-14 Martin Hunt <hunt@redhat.com>
12660
12661 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12662 which fixes some problems where init.tcl was not found.
12663
12664 2004-07-13 Andrew Cagney <cagney@gnu.org>
12665
12666 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12667 (check_sizeof, check_valueof): Do not include the output in the
12668 test name. Use gdb_test.
12669 (get_valueof): Use gdb_test_multiple.
12670
12671 * gdb.base/step-test.exp: Update copyright. Use
12672 gdb_test_multiple. Ensure that test names do not include
12673 architecture dependent output.
12674
12675 * gdb.gdb/observer.exp: Update copyright.
12676 (setup_test): Use gdb_test_multiple.
12677 (attach_first_observer, attach_second_observer)
12678 (attach_third_observer, detach_first_observer)
12679 (detach_second_observer, detach_third_observer)
12680 (reset_counters, check_counters): Make $message a prefix.
12681 (test_normal_stop_notifications): Add "args" parameter - a list of
12682 init functions to be called. Make $message a prefix,
12683 (test_observer_normal_stop): Change the message prefixes so that
12684 they are unique, pass the attach / detach procedures to
12685 test_normal_stop_notifications.
12686
12687 * gdb.base/signull.exp (test_segv): Prefix all tests with
12688 "${name}". Clean up test messages.
12689
12690 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12691
12692 * gdb.base/ena-dis-br.exp: Update copyright.
12693 (break_at): New function. Replace send_gdb with gdb_test,
12694 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12695 ignore count, not stopped at bpt", with KFAIL.
12696
12697 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
12698
12699 * gdb.base/attach.exp: Remove cleanupfile handling.
12700
12701 2004-07-12 Andrew Cagney <cagney@gnu.org>
12702
12703 * gdb.base/annota1.exp: Cleanup corefile test name.
12704 * gdb.base/annota3.exp: Ditto.
12705
12706 2004-07-12 Andrew Cagney <cagney@gnu.org>
12707
12708 * gdb.base/signals.exp: Clean up copyright, re-indent.
12709
12710 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12711 gdb_test and gdb_test_multiple.
12712
12713 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12714
12715 * gdb.java/jmain.exp: Fix expected line number for main to
12716 break at. Set XFAIL for break at main test since gcj does not
12717 provide line number info for first statement in main.
12718
12719 2004-07-08 Andrew Cagney <cagney@gnu.org>
12720
12721 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12722
12723 * gdb.base/sigbpt.exp: Make the common part of each test name a
12724 prefix instead of suffix.
12725
12726 2004-07-07 Bob Rossi <bob_rossi@cox.net>
12727
12728 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12729 test from test_tbreak_creation_and_listing to
12730 test_file_list_exec_source_file
12731 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12732 Changed name of test from test_tbreak_creation_and_listing to
12733 test_file_list_exec_source_file
12734
12735 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12736
12737 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12738 the jmisc() constructor instead of <init>.
12739 * gdb.java/jmisc1.exp: Ditto.
12740
12741 2004-07-07 Andrew Cagney <cagney@gnu.org>
12742
12743 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12744 corrupting the PC.
12745
12746 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12747
12748 * gdb.cp/templates.exp: Accept whitespace change in demangler
12749 output.
12750
12751 2004-07-06 Andrew Cagney <cagney@gnu.org>
12752
12753 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12754
12755 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12756
12757 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12758 * lib/compiler.cc: Likewise.
12759
12760 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12761
12762 * lib/compiler.cc: Work around string preprocessing problem
12763 with old hp c++ compiler.
12764 * lib/compiler.c: Likewise.
12765
12766 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12767
12768 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12769 directives to conditionalize symbol prefixing.
12770 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12771 additional_flags handling. Add underscore prefix for Cygwin.
12772 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12773 conditionalize symbol prefixing.
12774 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12775 additional_flags handling. Add underscore prefix for Cygwin.
12776
12777 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12778
12779 * gdb.base/bigcore.exp: Skip test on Cygwin.
12780
12781 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12782
12783 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12784 formats for "info register". Use gdb_test_multiple. Fix
12785 the "invalid register" test.
12786
12787 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
12788
12789 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12790 PID for Cygwin. Add Cygwin specific strings to check for in some
12791 tests.
12792 (do_attach_tests): Add a test for user interaction when attaching
12793 to a process with no matching symbol table already loaded.
12794
12795 2004-06-26 Andrew Cagney <cagney@gnu.org>
12796
12797 Test PR java/1567 and PR java/1565.
12798 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12799 * gdb.java/jmisc2.exp: Delete file.
12800
12801 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12802
12803 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12804
12805 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
12806
12807 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12808 attach process.
12809
12810 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12811
12812 * gdb.cp/pr-1553.exp: Remove.
12813
12814 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12815
12816 * gdb.cp/pr-1553.cc: Remove.
12817 * gdb.cp/pr-1553.exp: Disable this test.
12818
12819 2004-06-20 Jim Blandy <jimb@redhat.com>
12820
12821 Fix PR testsuite/1680.
12822 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12823 regular expressions.
12824
12825 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12826
12827 Fix PR testsuite/1679.
12828 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12829 Issue an UNSUPPORTED result instead.
12830
12831 2004-06-18 Jim Blandy <jimb@redhat.com>
12832
12833 * gdb.base/charset.exp: Only send a control-C if we see a new
12834 prompt and incomplete command.
12835
12836 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12837
12838 * gdb.cp/pr-574.cc: Add copyright notice.
12839
12840 2004-06-17 Jim Blandy <jimb@redhat.com>
12841
12842 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12843 cases where the regexp has no groups; this grabs random text from
12844 the previous test suite, whatever that was.
12845
12846 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12847
12848 * gdb.cp/printmethod.cc: Add copyright notice.
12849
12850 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12851
12852 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12853
12854 2004-06-16 Andrew Cagney <cagney@gnu.org>
12855
12856 * gdb.base/signull.c: Update copyright. Include <string.h>.
12857 (bowler): Replace data_pointer with data_read
12858 and data_write cases. Add code_descriptor case.
12859 (zero, desc): New array and pointer.
12860 (data, code): Change to simple pointers.
12861 * gdb.base/signull.exp: Fix probe pattern matching a function
12862 descriptor SIGSEGV. Replace data_pointer with data_read and
12863 data_write tests.
12864
12865 2004-06-16 Andrew Cagney <cagney@gnu.org>
12866
12867 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12868
12869 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12870
12871 * gdb.base/long_long.c: Add copyright notice.
12872
12873 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12874
12875 * gdb.base/long_long.exp: Remove reference to
12876 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12877 to gdb_breakpoint and gdb_continue_to_breakpoint.
12878
12879 2004-06-14 Jim Blandy <jimb@redhat.com>
12880
12881 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12882 endian case.
12883
12884 2004-06-14 Andrew Cagney <cagney@gnu.org>
12885
12886 * gdb.base/gcore.exp (capture_command_output): Delete the always
12887 passing tests containing inferior values.
12888 * gdb.base/ending-run.exp: Do not include the breakpoint address
12889 in the test message. Update copyright.
12890 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12891 size in the test name, use gdb_test_multiple. Update copyright.
12892
12893 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12894
12895 * gdb.cp/ref-types.cc: Add copyright notice.
12896
12897 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12898
12899 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12900 hp_aCC_compiler.
12901 * lib/compiler.cc: Likewise.
12902 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12903 'set' commands. Log diagnostics for other lines. Set
12904 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12905
12906 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12907
12908 * gdb.cp/try_catch.cc: Add copyright notice.
12909
12910 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12911
12912 * gdb.cp/userdef.cc: Add copyright notice.
12913
12914 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12915
12916 * gdb.cp/virtfunc.cc: Add copyright notice.
12917
12918 2004-06-11 Randolph Chung <tausq@debian.org>
12919
12920 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12921 problem.
12922
12923 2004-06-10 Andrew Cagney <cagney@gnu.org>
12924
12925 * lib/compiler.cc, lib/compiler.c: Append either
12926 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12927 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12928 instead of gcc-3-3.
12929
12930 2004-06-09 Andrew Cagney <cagney@gnu.org>
12931
12932 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12933 gdb/1455, bug is specific to "long long" and "double".
12934
12935 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12936 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12937 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12938 fixed.
12939
12940 2004-06-09 Andrew Cagney <cagney@gnu.org>
12941
12942 * gdb.base/structs.exp (test_struct_returns): Replace
12943 "return_value_unknown" and "finish_value_unknown" by
12944 "return_value_known" and "finish_value_known". Instead of
12945 "return_value_unknown" iff "finish_value_unknown", check
12946 "return_value_known" implies "finish_value_known".
12947
12948 2004-06-08 Martin Hunt <hunt@redhat.com>
12949
12950 * gdb.base/float.exp: Add pattern for mips targets.
12951
12952 2004-06-08 Randolph Chung <tausq@debian.org>
12953
12954 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12955 message for unknown architectures more clear.
12956
12957 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12958
12959 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12960 start the execution of the program.
12961
12962 2004-06-07 Jim Blandy <jimb@redhat.com>
12963
12964 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12965 * gdb.arch/i386-cpuid.h: New helper file.
12966
12967 2004-06-07 Randolph Chung <tausq@debian.org>
12968
12969 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12970 has started.
12971
12972 2004-06-04 Roland McGrath <roland@redhat.com>
12973
12974 Fix PR gdb/1647.
12975 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12976 differently to be robust to output buffering differences.
12977
12978 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12979
12980 * gdb.threads/pthreads.exp: Update copyright years.
12981 (check_control_c): Change asynchronous 'after' to synchronous.
12982
12983 2004-06-04 Roland McGrath <roland@redhat.com>
12984
12985 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12986 next gdb prompt.
12987
12988 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12989
12990 Fix PR gdb/1636.
12991 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12992 calls to synchronous.
12993
12994 2004-05-26 Jim Blandy <jimb@redhat.com>
12995
12996 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12997
12998 2004-05-24 Randolph Chung <tausq@debian.org>
12999
13000 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
13001 * gdb.asm/pa.inc: New file.
13002
13003 2004-05-22 Mark Kettenis <kettenis@gnu.org>
13004
13005 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
13006
13007 2004-05-21 Joel Brobecker <brobecker@gnat.com>
13008 Daniel Jacobowitz <drow@mvista.com>
13009
13010 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
13011 GDB prompt.
13012
13013 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13014
13015 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
13016 setjmp/longjmp. Use sigaction instead of signal.
13017
13018 2004-05-19 J. Brobecker <brobecker@gnat.com>
13019 Michael Snyder <msnyder@redhat.com>
13020
13021 * gdb.threads/pthread_cond_wait.c: New file.
13022 * gdb.threads/pthread_cond_wait.exp: New testcase.
13023
13024 2004-05-13 Andrew Cagney <cagney@redhat.com>
13025
13026 * gdb.base/signull.exp, gdb.base/signull.c: New files.
13027 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
13028
13029 2004-05-11 Andrew Cagney <cagney@redhat.com>
13030
13031 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
13032 fixed but revealed gdb/1639.
13033
13034 2004-05-10 Andrew Cagney <cagney@redhat.com>
13035
13036 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
13037 func1" and "next to 2nd alarm", kernel bug avoided.
13038
13039 2004-05-10 Daniel Jacobowitz <dan@debian.org>
13040
13041 PR external/1568
13042 * gdb.base/bigcore.exp: Check the size of the dumped core file.
13043 XFAIL if it is smaller than bytes_allocated.
13044 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
13045 (main): Make chunks_allocated unsigned. Correct comment.
13046
13047 2004-05-07 Joel Brobecker <brobecker@gnat.com>
13048
13049 * gdb.arch/powerpc-aix-prologue.c: New file.
13050 * gdb.arch/powerpc-aix-prologue.exp: New file.
13051
13052 2004-05-07 Jim Blandy <jimb@redhat.com>
13053
13054 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13055 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13056
13057 2004-05-06 Joel Brobecker <brobecker@gnat.com>
13058
13059 * gdb.base/sep.exp: No longer setup_kfail when the program was
13060 built with dwarf2.
13061
13062 2004-05-05 Jim Ingham <jingham@apple.com>
13063
13064 * gdb.base/pending.exp: Make sure pending breakpoints
13065 preserve the ignore count.
13066
13067 2004-04-27 Jerome Guitton <guitton@gnat.com>
13068
13069 * i386-prologue.exp: Add testcase for jump instruction as first
13070 instruction of the real code.
13071 * i386-prologue.c (jump_at_beginning): New function.
13072
13073 2004-04-28 Mark Kettenis <kettenis@gnu.org>
13074
13075 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13076 x86_64-*-*.
13077
13078 2004-04-28 Mark Kettenis <kettenis@gnu.org>
13079
13080 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13081 i*86-*-*.
13082
13083 2004-04-25 Mark Kettenis <kettenis@gnu.org>
13084
13085 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13086 expression that checks the return type.
13087
13088 2004-04-23 Andrew Cagney <cagney@redhat.com>
13089
13090 * gdb.base/call-sc.exp: New test of scalar call/return values.
13091 * gdb.base/call-sc.c: Ditto.
13092
13093 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13094
13095 * gdb.threads/manythreads.c: Reduce thread stack size.
13096
13097 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
13098
13099 * gdb.threads/manythreads.c: Add copyright notice.
13100
13101 2004-04-23 Andrew Cagney <cagney@redhat.com>
13102
13103 * gdb.base/siginfo.exp: Better handle step out of signal.
13104 * gdb.base/sigstep.exp: Ditto.
13105
13106 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
13107 Daniel Jacobowitz <drow@mvista.com>
13108
13109 * gdb.threads/manythreads.c: New testcase.
13110 * gdb.threads/manythreads.exp: Ditto.
13111
13112 2004-04-22 Jim Blandy <jimb@redhat.com>
13113
13114 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
13115 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
13116
13117 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
13118
13119 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
13120
13121 2004-04-21 Andrew Cagney <cagney@redhat.com>
13122
13123 * gdb.base/sigstep.c: New file.
13124 * gdb.base/sigstep.exp: New file.
13125
13126 2004-04-16 Joel Brobecker <brobecker@gnat.com>
13127
13128 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
13129 call to observer_notify_normal_stop.
13130
13131 2004-04-15 Andrew Cagney <cagney@redhat.com>
13132
13133 * gdb.base/siginfo.c: New file.
13134 * gdb.base/siginfo.exp: New file.
13135
13136 2004-04-12 J. Brobecker <brobecker@gnat.com>
13137
13138 * gdb.base/sep.exp: Fix typo in comment.
13139
13140 2004-04-12 J. Brobecker <brobecker@gnat.com>
13141
13142 * gdb.base/sep.c: New file.
13143 * gdb.base/sep-proc.c: New file.
13144 * gdb.base/sep.exp: New testcase.
13145
13146 2004-04-09 Mark Kettenis <kettenis@gnu.org>
13147
13148 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
13149 support.
13150
13151 2004-04-05 Andrew Cagney <cagney@redhat.com>
13152
13153 * gdb.base/sigaltstack.c: New file.
13154 * gdb.base/sigaltstack.exp: New file.
13155
13156 2004-04-04 Joel Brobecker <brobecker@gnat.com>
13157
13158 * gdb.base/foll-fork.exp: Update the expected output for
13159 "help set follow-fork-mode", to match a change that was made
13160 to the help of this variable on 2004-01-13.
13161
13162 2004-04-01 Joel Brobecker <brobecker@gnat.com>
13163
13164 * lib/ada.exp: Add copyright notice.
13165 * bar.ads: Likewise.
13166 * bar.adb: Likewise.
13167 * null_record.adb: Likewise.
13168 * null_record.exp: Likewise.
13169 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
13170
13171 2004-04-01 Joel Brobecker <brobecker@gnat.com>
13172
13173 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
13174 * configure: Regenerate.
13175
13176 2004-04-01 Joel Brobecker <brobecker@gnat.com>
13177
13178 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
13179 to build the application. Remove the message printed when in
13180 verbose mode, redundant with the UNSUPPORTED message above.
13181
13182 2004-03-31 Joel Brobecker <brobecker@gnat.com>
13183
13184 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
13185 * gdb.ada (null_record.exp): New testcase.
13186
13187 2004-03-31 Joel Brobecker <brobecker@gnat.com>
13188
13189 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
13190
13191 2004-03-31 Joel Brobecker <brobecker@gnat.com>
13192
13193 * gdb.ada: New subdirectory.
13194 * gdb.ada/Makefile.in: New file.
13195 * gdb.ada/gnat_ada.gpr.in: New file.
13196
13197 2004-03-31 Joel Brobecker <brobecker@gnat.com>
13198
13199 * lib/ada.exp: New file.
13200
13201 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
13202
13203 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
13204 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
13205
13206 2004-03-22 Andrew Cagney <cagney@redhat.com>
13207
13208 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
13209 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
13210 Problem identified by Ulrich Weigand.
13211
13212 2004-03-17 David Carlton <carlton@kealia.com>
13213
13214 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
13215 PR c++/826.
13216
13217 2004-03-16 Roland McGrath <roland@redhat.com>
13218
13219 * gdb.base/auxv.exp: New file.
13220 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
13221
13222 2004-03-12 David Carlton <carlton@kealia.com>
13223
13224 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
13225 * gdb.cp/pr-1553.cc: Ditto.
13226 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
13227 pass branch.
13228
13229 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
13230
13231 * gdb.cp/templates.exp: Accept more template types.
13232
13233 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13234
13235 From Corinna Vinschen with modifications.
13236 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
13237 local variable obj_with_enum.
13238 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
13239 results with obj_with_enum.
13240
13241 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13242
13243 * gdb.cp/classes.cc: New file, copied from misc.cc.
13244 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
13245
13246 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
13247
13248 * gdb.cp/misc.cc: Add copyright notice.
13249
13250 2004-03-05 David Carlton <carlton@kealia.com>
13251
13252 * gdb.cp/rtti.exp: Add 'print *obj3' test.
13253 * gdb.cp/rtti.h: Update copyright.
13254 (namespace n2::n3): New.
13255 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
13256 (n2::n3::func3): New.
13257 (main): Call n2::n3::func3.
13258 * gdb.cp/rtti2.cc: Update copyright.
13259 (n2::create3): New.
13260
13261 2004-03-04 Mark Kettenis <kettenis@gnu.org>
13262
13263 * gdb.asm/openbsd.inc: Fix typo.
13264
13265 2004-03-03 Fred Fish <fnf@redhat.com>
13266
13267 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
13268 "val" instead of unused "size". Update copyright year.
13269
13270 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
13271
13272 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
13273 to use unsigned char.
13274 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
13275 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
13276
13277 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
13278
13279 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
13280 line of output.
13281
13282 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
13283
13284 * gdb.base/relocate.c (dummy): Initialize.
13285
13286 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
13287
13288 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
13289 a breakpoint at exit.
13290
13291 2004-02-27 Fred Fish <fnf@redhat.com>
13292
13293 * gdb.base/chng-syms.exp: Add expect condition to match failing
13294 case that isn't a timeout.
13295
13296 2004-02-27 Andrew Cagney <cagney@redhat.com>
13297
13298 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
13299 support.
13300
13301 2004-02-26 Fred Fish <fnf@redhat.com>
13302
13303 * gdb.arch/gdb1431.c: Remove.
13304 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
13305 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
13306 of "until" incorrectly.
13307
13308 2004-02-26 J. Brobecker <brobecker@gnat.com>
13309
13310 * gdb.cp/class2.cc (empty): New class.
13311 (refer): New function.
13312 (main): Declare an object of type empty and use it.
13313 * gdb.cp/class2.exp: Print the value of an object of type empty.
13314
13315 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
13316
13317 * gdb.base/langs.exp: Update query string to match the
13318 new nquery format used for pending breakpoints.
13319
13320 2004-02-26 Andrew Cagney <cagney@redhat.com>
13321
13322 Fix PR i18n/1570.
13323 * gdb.base/charset.c: Update copyright notice.
13324 (main, init_string): Remove the escape character '\e' tests.
13325 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
13326 * gdb.base/charset.exp (valid_host_charset): Ditto.
13327 * gdb.base/setvar.exp: Ditto.
13328
13329 2004-02-24 Andrew Cagney <cagney@redhat.com>
13330
13331 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
13332 mmapped data in core file" PASS and FAIL messages consistent.
13333
13334 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
13335 setting a breakpoint. Work around PR java/1565.
13336
13337 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
13338
13339 * lib/gdb.exp (gdb_breakpoint): Update query string to match
13340 new nquery format.
13341 * gdb.base/pending.exp: Ditto.
13342
13343 2004-02-22 Mark Kettenis <kettenis@gnu.org>
13344
13345 * configure.in: Run stabs tests on *BSD.
13346 * configure: Regenerated.
13347
13348 2004-02-21 Mark Kettenis <kettenis@gnu.org>
13349
13350 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
13351
13352 2004-02-20 Fred Fish <fnf@redhat.com>
13353
13354 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
13355 blank in test for "returns short", for consistency with other
13356 "returns xxx" tests. Update copyright year.
13357
13358 2004-02-19 Fred Fish <fnf@redhat.com>
13359
13360 New testcase for PR breakpoint/1558.
13361 * gdb.arch/gdb1558.exp: New file.
13362 * gdb.arch/gdb1558.c: New file.
13363
13364 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
13365
13366 * gdb.base/nodebug.exp: Fix typo.
13367
13368 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13369
13370 Committed by Jim Blandy <jimb@redhat.com>.
13371
13372 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
13373
13374 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
13375
13376 * gdb.base/float.exp: Support s390*-*-* targets.
13377
13378 2004-02-17 Adam Fedor <fedor@gnu.org>
13379
13380 * gdb.base/gdb1555.exp: New file.
13381 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
13382
13383 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
13384
13385 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
13386
13387 2004-02-16 Fred Fish <fnf@redhat.com>
13388
13389 * gdb.arch/gdb1291.c: Remove
13390 * gdb.arch/gdb1291.s: New test input file.
13391 * gdb.arch/gdb1291.exp: Expand test to check case that should not
13392 fail. Test for correct result, known incorrect result, other
13393 failures and timeouts.
13394
13395 2004-02-16 Andrew Cagney <cagney@redhat.com>
13396
13397 * gdb.base/bigcore.exp: New file.
13398 * gdb.base/bigcore.c: New file.
13399
13400 2004-02-13 Andrew Cagney <cagney@redhat.com>
13401
13402 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
13403 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
13404 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
13405 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
13406 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
13407 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
13408 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
13409 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
13410 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
13411 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
13412
13413 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
13414
13415 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
13416 executed is an alloc instruction.
13417
13418 2004-02-11 David Carlton <carlton@kealia.com>
13419
13420 * gdb.cp/breakpoint.exp: New.
13421 * gdb.cp/breakpoint.cc: New.
13422
13423 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
13424
13425 Partial fix for PR gdb/1543.
13426 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
13427 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
13428 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
13429 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
13430 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
13431 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
13432 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
13433 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
13434 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
13435 to bug-gdb@prep.ai.mit.edu .
13436 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
13437 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
13438 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
13439 Likewise.
13440
13441 2004-02-10 Andrew Cagney <cagney@redhat.com>
13442
13443 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
13444 using gdb_internal_error_resync.
13445
13446 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
13447
13448 * gdb.threads/thread-specific.exp: Stop early if no threads are
13449 found.
13450
13451 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
13452
13453 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
13454
13455 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
13456
13457 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
13458 breakpoints.
13459
13460 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
13461
13462 * config/sim.exp (gdb_load): Handle $arg == "".
13463 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
13464 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
13465
13466 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
13467
13468 * gdb.base/maint.exp: Update test to reflect
13469 obstack changes.
13470
13471 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
13472
13473 * gdb.base/pendshr.c (pendfunc): New function that calls
13474 pendfunc1.
13475 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
13476
13477 2004-02-04 Fred Fish <fnf@redhat.com>
13478
13479 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
13480 function symbols and update copyright years.
13481 * gdb.arch/gdb1291.c: Ditto.
13482
13483 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13484
13485 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
13486
13487 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13488
13489 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
13490
13491 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
13492
13493 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
13494
13495 2004-02-02 Fred Fish <fnf@redhat.com>
13496
13497 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
13498 remote targets. Update copyright years.
13499
13500 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
13501
13502 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
13503 support.
13504 * gdb.base/langs.exp: Fix test which attempts to create
13505 breakpoint on non-existent function to handle new pending
13506 support.
13507 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
13508 a breakpoint.
13509 * gdb.base/pending.exp: New test.
13510 * gdb.base/pending.c: New file.
13511 * gdb.base/pendshr.c: Ditto.
13512
13513 2004-02-02 David Carlton <carlton@kealia.com>
13514
13515 * gdb.cp/overload.exp: Add overloadNamespace tests.
13516 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13517 (overloadNamespace, XXX): New.
13518 (main): Call XXX::marker2.
13519
13520 2004-02-01 Fred Fish <fnf@redhat.com>
13521
13522 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13523 * gdb.base/finish.exp: Ditto.
13524 * gdb.base/gcore.exp: Ditto.
13525 * gdb.base/huge.exp: Ditto.
13526 * gdb.base/info-proc.exp: Ditto.
13527 * gdb.base/return2.exp: Ditto.
13528 * gdb.threads/gcore-thread.exp: Ditto.
13529
13530 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13531
13532 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13533
13534 2004-02-01 Mark Kettenis <kettenis@gnu.org>
13535
13536 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13537 that opening the file succeeds on OpenBSD.
13538
13539 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13540
13541 * gdb.threads/thread-specific.c: New file.
13542 * gdb.threads/threads-specific.exp: New test script.
13543 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13544 to expect_out.
13545
13546 2004-02-01 Mark Kettenis <kettenis@gnu.org>
13547
13548 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13549 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13550 only on the "print_small_structs from print_long_arg_list" test.
13551
13552 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13553
13554 * gdb.base/completion.exp: Kill a stray backslash.
13555
13556 From Jim Ingham <jingham@apple.com>:
13557 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13558 agrees with the result from sending a tab.
13559
13560 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
13561
13562 * gdb.base/chng-syms.exp: Remove stray newline.
13563
13564 2004-01-31 Mark Kettenis <kettenis@gnu.org>
13565
13566 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13567 *-*-openbsd*.
13568 * gdb.asm/openbsd.inc: New file.
13569
13570 2004-01-30 Mark Kettenis <kettenis@gnu.org>
13571
13572 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13573 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13574 *-*solaris2*. Remove commented out default settings for
13575 asm-flags. Replace gdb_compile with target_link.
13576
13577 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13578
13579 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13580 for all tests. Remove old hp-ux and cygnus xfail cases.
13581
13582 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13583
13584 * gdb.base/chng-syms.exp: New file.
13585 * gdb.base/chng-syms.c: New file.
13586
13587 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13588
13589 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13590 Provide arms for current output in all my configurations.
13591
13592 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13593
13594 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13595 * lib/compiler.cc: Likewise.
13596 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13597 get the right preprocessor. Eval the output directly. Remove
13598 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13599 hp_f77_compiler and hp_f90_compiler completely.
13600 (gdb_preprocess): Delete.
13601 (get_compiler): Delete.
13602
13603 2004-01-24 Mark Kettenis <kettenis@gnu.org>
13604
13605 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13606 <string.h>.
13607
13608 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
13609
13610 * gdb.mi/mi-stack.exp: Update copyright.
13611
13612 2004-01-23 David Carlton <carlton@kealia.com>
13613
13614 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13615 test for cp_lookup_transparent_type.
13616 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13617 call them.
13618
13619 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
13620
13621 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13622 after -var-update.
13623
13624 2004-01-23 David Carlton <carlton@kealia.com>
13625
13626 * gdb.cp/namespace.cc (C::ensureRefs): New.
13627 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13628
13629 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
13630
13631 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13632 case "-stack-list-locals 2".
13633 * gdb.mi/mi-var-child.exp: Test for case
13634 "-var-list-children --all-values NAME".
13635
13636 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13637
13638 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13639
13640 2004-01-18 Mark Kettenis <kettenis@gnu.org>
13641
13642 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13643 used with gdb_test_multiple.
13644
13645 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13646 read at address 0. This fixes PR testsuite/1504.
13647
13648 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
13649
13650 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13651 Remove downloading, guessing the host executable, the calls to
13652 gdb_file_cmd and gdb_target_cmd, and "load" support.
13653 (infer_host_exec): New function broken out from gdb_load.
13654 (gdb_load): New wrapper for gdbserver_gdb_load.
13655 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13656 gdb_target_cmd. Use -target-select.
13657 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13658 Download binaries to the host. Clear last_mi_remote_file when
13659 we load a new binary.
13660 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13661 call gdbserver_gdb_load and mi_gdb_target_cmd.
13662
13663 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13664
13665 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13666 type patterns.
13667
13668 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13669
13670 * gdb.cp/templates.exp: Fix typo in test name of
13671 "print Foo<volatile char*>::foo".
13672
13673 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13674
13675 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13676
13677 2004-01-16 Ben Elliston <bje@wasabisystems.com>
13678
13679 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13680 (clean mostlyclean): Remove empty rm.
13681
13682 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13683
13684 * gdb.base/setvar.exp: Add copyright years.
13685
13686 2004-01-14 David Carlton <carlton@bactrian.org>
13687
13688 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13689 PR c++/1511 and update coment.
13690 * gdb.cp/templates.exp: Update patterns to match current output.
13691 If changes involve something other than whitespace, KFAIL
13692 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13693
13694 2004-01-14 David Carlton <carlton@kealia.com>
13695
13696 * gdb.cp/namespace.exp: Add tests involving classes defined within
13697 namespaces.
13698 * gdb.cp/namespace.cc (C::CClass): New.
13699 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13700
13701 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
13702
13703 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13704 what debug info we have. Print a better message if something goes
13705 wrong while producing the separate debug info file.
13706
13707 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13708
13709 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13710
13711 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13712
13713 * gdb.base/callfuncs.c: Add copyright notice.
13714
13715 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13716
13717 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13718 inheritance. PR gdb/1498, PR gcc/13539.
13719
13720 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
13721
13722 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13723 test specific name.
13724 * gdb.mi/gdb669.exp: Ditto.
13725 * gdb.mi/mi-pthreads.exp: Ditto.
13726 * gdb.mi/mi1-pthreads.exp: Ditto.
13727 * gdb.mi/mi2-pthreads.exp: Ditto.
13728
13729 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13730
13731 * gdb.cp/member-ptr.cc: Add copyright notice.
13732
13733 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13734
13735 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13736 some patterns for recent versions of gcc and hpacc. Delete
13737 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13738 Delete tests that access a NULL pointer-to-member-data. This
13739 script is still disabled for gcc.
13740
13741 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13742
13743 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
13744 escaped correctly.
13745
13746 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13747
13748 * gdb.base/sepdebug.exp: New file.
13749 * gdb.base/sepdebug.c: New file.
13750 * lib/gdb.exp (separate_debug_filename): New procedure.
13751 (gdb_gnu_strip_debug): New procedure.
13752
13753 2004-01-12 Andrew Cagney <cagney@redhat.com>
13754
13755 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13756 * gdb.mi/ChangeLog-1999-2003: New file.
13757
13758 2004-01-12 Andrew Cagney <cagney@redhat.com>
13759
13760 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13761 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13762 or EEXIST", treat EBUSY as an XFAIL.
13763
13764 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13765
13766 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13767 hp_cc_compiler.
13768
13769 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13770
13771 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13772 decorations.
13773
13774 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13775
13776 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13777 and "(aCC)" decorations. Remove obsolete doco about old
13778 test results.
13779
13780 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13781
13782 * gdb.cp/exception.exp: Fix typo in doco.
13783
13784 2004-01-09 Mark Kettenis <kettenis@gnu.org>
13785
13786 * gdb.base/gdb1476.exp: Fix typo.
13787
13788 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13789
13790 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13791 file.
13792
13793 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13794
13795 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13796 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13797 Use gdb_compile. Remove restriction on gcc. Add some patterns
13798 for recent version of gdb. Delete second half, which was a copy
13799 of the first half with different build flags. This test is
13800 still disabled because it is still not ready for production.
13801
13802 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13803
13804 * gdb.cp/exception.cc: Add copyright notice.
13805 * gdb.cp/exception.exp: Add a notice that this file is broken
13806 because of line number changes caused by addition of copyright
13807 notice.
13808
13809 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13810
13811 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13812 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13813
13814 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13815
13816 * gdb.cp/classes.exp: Accept gnu abi 2.
13817 * gdb.cp/derivation.exp: Likewise.
13818 * gdb.cp/overload.exp: Likewise.
13819 * gdb.cp/virtfunc.exp: Likewise.
13820
13821 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13822
13823 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13824 semicolon after end of function.
13825
13826 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13827
13828 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13829 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13830 boilerplate code for compiling and running the program under
13831 test. Add some string method tests.
13832
13833 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13834
13835 * gdb.cp/bs15503.cc: Add copyright notice.
13836 * gdb.cp/bs15503.exp: Adjust line number.
13837
13838 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13839
13840 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13841 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13842
13843 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13844
13845 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13846 hp_cc_compiler.
13847
13848 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13849
13850 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13851 * gdb.cp/ctti.exp: Use the marker instead of "next".
13852 With gcc, run further before bailing.
13853
13854 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13855
13856 * gdb.cp/cttiadd.cc: Add copyright notice.
13857 * gdb.cp/cttiadd1.cc: Likewise.
13858 * gdb.cp/cttiadd2.cc: Likewise.
13859 * gdb.cp/cttiadd3.cc: Likewise.
13860
13861 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13862
13863 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13864 Use gdb_test, gdb_test_multiple. Use floating-point values that
13865 have exact representations in IEEE-ish formats.
13866
13867 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13868
13869 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13870 compilers. Delete duplicate call to get_compiler_info.
13871 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13872 * gdb.base/volatile.exp: Likewise.
13873
13874 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13875
13876 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13877 memory at address 0.
13878
13879 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13880
13881 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13882 to test for hp-ux assembler. Fix copyright years.
13883
13884 2004-01-07 Andrew Cagney <cagney@redhat.com>
13885
13886 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13887
13888 2004-01-07 Andrew Cagney <cagney@redhat.com>
13889
13890 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13891 when creating the read-only file. From analysis by Roland McGrath
13892 and Elena Zannoni.
13893
13894 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13895
13896 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13897
13898 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13899
13900 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13901 data pointers.
13902
13903 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13904
13905 * gdb.cp/m-static.exp: Compile one source file at a time.
13906 Delete unused call to get_compiler_info.
13907
13908 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13909
13910 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13911 * gdb.base/call-rt-st.exp: Likewise.
13912 * gdb.base/nodebug.exp: Likewise.
13913 * gdb.base/volatile.exp: Likewise.
13914 * gdb.cp/ref-types.exp: Likewise.
13915 * gdb.cp/templates.exp: Likewise.
13916
13917 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13918
13919 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13920
13921 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13922
13923 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13924 hppa*-hp-hpux*.
13925
13926 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13927
13928 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13929 x86_64-*-*.
13930
13931 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13932 sparc64-*-* and sparc*-solaris2*.
13933
13934 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13935
13936 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13937 return ${tests}" test. The ${tests} already mentions the
13938 filename.
13939
13940 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13941
13942 * gdb.cp/local.exp: Accept gcc abi 2.
13943
13944 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13945
13946 * gdb.cp/templates.exp: Accept gcc abi 2.
13947
13948 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13949
13950 * lib/compiler.cc: Remove supports_template_debugging.
13951 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13952
13953 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13954
13955 * gdb.cp/namespace.exp: Accept gcc abi 2.
13956
13957 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13958
13959 * gdb.cp/method.exp: Accept gcc abi 2.
13960
13961 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13962
13963 * gdb.cp/classes.exp: Generate identical results as old version.
13964 * gdb.cp/derivation.exp: Likewise.
13965 * gdb.cp/overload.exp: Likewise.
13966 * gdb.cp/virtfunc.exp: Likewise.
13967
13968 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13969
13970 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13971 mysterious bug with sourceware version of expect.
13972
13973 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13974
13975 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13976 current versions of gcc, including gcc abi 2. Remove gratuitous
13977 restart of test program. Use gdb_test_multiple and gdb_test for
13978 all tests. Add patterns to xfail missing "const" in "const char *"
13979 and kfail PR gdb/1155.
13980
13981 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13982
13983 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13984 current versions of gcc, including gcc abi 2. Remove gratuitous
13985 restart of test program. Use gdb_test_multiple and gdb_test for
13986 all tests. Add patterns to kfail PR gdb/1498.
13987
13988 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13989
13990 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13991 current versions of gcc, including gcc abi 2. Use "breakpoint"
13992 and "continue" instead of restarting the target program. Use
13993 gdb_test_multiple and gdb_test for all tests.
13994
13995 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13996
13997 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13998 for *-*-solaris2*.
13999
14000 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14001
14002 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
14003 current versions of gcc, including gcc abi 2. Use "breakpoint"
14004 and "continue" instead of restarting the target program several
14005 times. Use gdb_test_multiple and gdb_test for all tests.
14006
14007 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
14008
14009 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
14010 source files.
14011
14012 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14013
14014 * gdb.base/environ.exp: Handle compiling test case from multiple
14015 source files.
14016
14017 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14018
14019 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
14020
14021 2003-12-17 Jim Blandy <jimb@redhat.com>
14022
14023 * gdb.base/freebpcmd.c: Add copyright notice.
14024
14025 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
14026
14027 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14028
14029 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
14030
14031 2003-12-13 Jim Blandy <jimb@redhat.com>
14032
14033 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
14034
14035 2003-12-12 Kevin Buettner <kevinb@redhat.com>
14036
14037 * gdb.asm/frv.inc: New file.
14038 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
14039
14040 2003-12-09 Fred Fish <fnf@redhat.com>
14041
14042 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
14043 functions to break1.c and leave prototypes behind. Add more
14044 "set breakpoint NN here" comments.
14045 * gdb.base/break1.c: New file.
14046
14047 * gdb.base/break.exp: Handle compiling test case from multiple
14048 source files and change source file references as needed.
14049 * gdb.base/completion.exp: Ditto.
14050 * gdb.base/condbreak.exp: Ditto.
14051 * gdb.base/define.exp: Ditto.
14052 * gdb.base/ena-dis-br.exp: Ditto.
14053 * gdb.base/info-proc.exp: Ditto.
14054 * gdb.base/maint.exp: Ditto.
14055 * gdb.base/until.exp: Ditto.
14056
14057 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14058 hardcoded line numbers.
14059 * gdb.base/define.exp: Ditto.
14060 * gdb.base/ena-dis-br.exp: Ditto.
14061 * gdb.base/maint.exp: Ditto.
14062 * gdb.base/until.exp: Ditto.
14063
14064 * gdb.base/completion.exp: Use "break1" for completion tests since
14065 "break" is no longer a unique prefix.
14066
14067 2003-12-06 Andrew Cagney <cagney@redhat.com>
14068
14069 * gdb.base/structs.exp (test_struct_returns): When applicable, set
14070 "return_value_unimplemented". When an unimplemented struct return
14071 architecture, report incorrect values as a KFAIL
14072
14073 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14074
14075 * gdb.cp/rtti.exp: Accept new wording of warning from
14076 cp_lookup_rtti_type.
14077
14078 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14079
14080 Partial fix for PR testsuite/1456.
14081 * gdb.base/scope.exp (test_at_main): Replace references to
14082 gcc_compiled with calls to test_compiler_info.
14083 (test_at_foo): Likewise.
14084 (test_at_bar): Likewise.
14085
14086 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
14087
14088 Partial fix for PR testsuite/1456.
14089 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
14090 to test_compiler_info.
14091
14092 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
14093
14094 * gdb.base/so-impl-ld.exp: Update copyright notice.
14095
14096 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
14097
14098 Partial fix for PR testsuite/1456.
14099 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
14100 to test_compiler_info.
14101
14102 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14103
14104 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
14105 from current versions of gdb. Clean up regular expressions.
14106 Delete redundant timeout case.
14107
14108 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14109
14110 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
14111 from current versions of gdb. Clean up regular expressions.
14112 Delete redundant timeout case.
14113
14114 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
14115
14116 Partial fix for PR testsuite/1456.
14117 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
14118 gcc_compiled with call to test_compiler_info.
14119
14120 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
14121
14122 Partial fix for PR testsuite/1456.
14123 * gdb.base/list.exp (test_list_function): Delete unused declaration
14124 of gcc_compiled.
14125
14126 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
14127
14128 Partial fix for PR testsuite/1456.
14129 * gdb.base/complex.exp: Replace reference to gcc_compiled with
14130 call to test_compiler_info.
14131
14132 2003-11-29 Mark Kettenis <kettenis@gnu.org>
14133
14134 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
14135 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
14136 it to create the appropriate note.inc.
14137 * gdb.asm/asmsrc1.s: Include "note.inc".
14138 * gdb.asm/netbsd.inc: New file.
14139 * gdb.asm/empty.inc: New file.
14140
14141 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
14142
14143 Partial fix for PR testsuite/1456.
14144 * gdb.base/constvars.exp: Replace references to gcc_compiled with
14145 calls to test_compiler_info.
14146
14147 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
14148
14149 Partial fix for PR testsuite/1456.
14150 * gdb.base/volatile.exp: Replace references to gcc_compiled with
14151 calls to test_compiler_info.
14152
14153 2003-11-27 Mark Kettenis <kettenis@gnu.org>
14154
14155 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
14156 pattern for the KFAILs.
14157
14158 2003-11-25 Adam Fedor <fedor@gnu.org>
14159
14160 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
14161 * gdb.objc/objcdecode.m: New file.
14162
14163 2003-11-25 Adam Fedor <fedor@gnu.org>
14164
14165 * gdb.objc/nondebug.exp: Test for PR objc/1236.
14166 * gdb.objc/nondebug.m: New file.
14167
14168 2003-11-26 Ben Elliston <bje@wasabisystems.com>
14169
14170 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14171 NetBSD as it does on FreeBSD. Modelled on a similar change by
14172 Mark Kettenis on 2003-05-30.
14173 (link-flags): Set to "--entry _start" regardless of target.
14174 Special linker flags are to be appended to $link-flags.
14175 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
14176
14177 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14178
14179 * gdb.cp/method.exp: Accept output of new demangler.
14180
14181 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14182
14183 * gdb/class2.exp: New file.
14184 * gdb/class2.cc: New file.
14185
14186 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
14187
14188 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
14189 of new demangler.
14190
14191 2003-11-23 Mark Kettenis <kettenis@gnu.org>
14192
14193 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
14194 of gdb_test "run".
14195
14196 2003-11-23 Mark Kettenis <kettenis@gnu.org>
14197
14198 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
14199 "continue" into "run".
14200
14201 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14202
14203 Partial fix for PR testsuite/1456.
14204 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
14205 call to test_compiler_info.
14206 * gdb.cp/ctti.exp: Likewise.
14207 * gdb.cp/derivation.exp: Likewise.
14208 * gdb.cp/member-ptr.exp: Likewise.
14209 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
14210 reference to gcc_compiled.
14211
14212 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
14213
14214 Fix PR testsuite/1463.
14215 * gdb.base/structs.exp (start_structs_test): Call
14216 get_debug_format before using the debug format.
14217
14218 2003-11-22 Andrew Cagney <cagney@redhat.com>
14219
14220 * lib/gdb.exp (gdb_test_multiple): Add simple example.
14221 * gdb.base/structs.exp: Use gdb_test_multiple.
14222
14223 2003-11-20 Andrew Cagney <cagney@redhat.com>
14224
14225 * gdb.base/structs.exp: Handle and recover from internal errors.
14226 Replace "foo${n}" with "foo<n>" in test messages.
14227
14228 * gdb.base/structs.exp: Update copyright. Rewrite.
14229 * gdb.base/structs.c: Update copyright. Rewrite.
14230
14231 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
14232 resync count exceeded.
14233
14234 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
14235 from the internal error.
14236 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
14237 Original from Jim Blandy.
14238 (gdb_test_multiple): Use gdb_internal_error_resync.
14239
14240 2003-11-19 Andrew Cagney <cagney@redhat.com>
14241
14242 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
14243 KFAIL.
14244
14245 2003-11-17 Mark Kettenis <kettenis@gnu.org>
14246
14247 New testcase for PR backtrace/1435.
14248 * gdb.arch/i386-unwind.exp: New file.
14249 * gdb.arch/i386-unwind.c: New file.
14250
14251 2003-11-17 Andrew Cagney <cagney@redhat.com>
14252
14253 * lib/gdb.exp (compiler_info): New global.
14254 (test_compiler_info): New function.
14255 (get_compiler_info): Set compiler_info.
14256 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
14257 "compiler_info" to gcc-<major>-<minor>.
14258
14259 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
14260
14261 * gdb.trace/configure: Remove.
14262
14263 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
14264
14265 * gdb.base/break.c: Add comments to aid finding line numbers for
14266 breakpoints.
14267 * gdb.base/break.exp: Remove all references to explicit line
14268 numbers.
14269
14270 2003-11-11 Nick Clifton <nickc@redhat.com>
14271
14272 * gdb.base/shreloc.exp: Do not run for targets which do not
14273 support shared objects.
14274
14275 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
14276
14277 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
14278 Don't run tests if nofileio flag is given.
14279
14280 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
14281
14282 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
14283 as well as 'Watchpoint'.
14284
14285 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
14286
14287 Reported by Jim Ingham <jingham@apple.com>:
14288 * gdb.base/annota1.exp: Match at least one occurrence of the
14289 signal handler annotation.
14290
14291 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
14292
14293 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
14294 as well as 'Watchpoint'.
14295
14296 2003-11-05 Michael Chastain <mec@shout.net>
14297
14298 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
14299
14300 2003-11-03 Kris Warkentin <kewarken@qnx.com>
14301
14302 * gdb.arch/gdb1291.c: New test file.
14303 * gdb.arch/gdb1291.exp: New test script.
14304 * gdb.arch/gdb1431.c: New test file.
14305 * gdb.arch/gdb1431.exp: New test script.
14306
14307 2003-10-22 Michael Chastain <mec@shout.net>
14308
14309 * gdb.mi/pthreads.c: Add copyright notice.
14310
14311 2003-10-22 Michael Chastain <mec@shout.net>
14312
14313 * gdb.threads/pthreads.c: Add copyright notice.
14314
14315 2003-10-20 Michael Chastain <mec@shout.net>
14316
14317 * gdb.base/gdb1056.exp: New test script.
14318
14319 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
14320
14321 * gdb.threads/killed.exp: Use gdb_run_cmd.
14322
14323 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
14324
14325 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
14326 create a core file.
14327 * gdb.threads/gcore-thread.exp: Likewise.
14328
14329 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
14330
14331 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
14332 type, based on char type.
14333 (struct bit_flags_short_t): New bitfield type, based on short type.
14334 (init_bit_flags_char): New fuction.
14335 (init_bit_flags_short): Ditto.
14336 (print_bit_flags_char): Ditto.
14337 (print_bit_flags_short): Ditto.
14338 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
14339
14340 2003-10-11 Michael Chastain <mec@shout.net>
14341
14342 * gdb.base/call-rt-st.exp: Update copyright year.
14343
14344 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
14345
14346 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
14347 * gdb.disasm/sh3.s: Ditto.
14348
14349 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
14350
14351 * gdb.threads/switch-threads.exp: New test.
14352 * gdb.threads/switch-threads.c: New source file.
14353
14354 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
14355
14356 * gdb.base/ending-run.exp: Add sh specific case.
14357
14358 2003-10-06 Andrew Cagney <cagney@redhat.com>
14359
14360 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
14361 * gdb.disasm/mn10200.exp: Delete obsolete file.
14362
14363 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
14364
14365 * ChangeLog: Correct an entry command.exp -> commands.exp.
14366 * gdb.base/commands.exp (bp_deleted_in_command_test)
14367 (temporary_breakpoint_commands): Check noargs.
14368
14369 2003-09-25 David Carlton <carlton@kealia.com>
14370
14371 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
14372 of some print tests, where appropriate. Add tests for C::D::cd,
14373 E::ce, F::cXfX, G::XgX.
14374 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
14375
14376 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
14377
14378 * lib/java.exp (java_init): Import target_alias before using it.
14379
14380 2003-09-25 David Carlton <carlton@kealia.com>
14381
14382 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
14383
14384 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
14385
14386 * gdb.base/selftest.exp: Accomodate more instruction reordering
14387 weirdness.
14388
14389 2003-09-17 Michael Chastain <mec@shout.net>
14390
14391 * gdb.cp/gdb1355.exp: New file.
14392 * gdb.cp/gdb1355.c: New file.
14393
14394 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
14395
14396 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
14397 * gdb.asm/sh.inc: New file.
14398
14399 2003-09-11 David Carlton <carlton@kealia.com>
14400
14401 * gdb.cp/namespace.exp: Add tests for namespace types.
14402 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
14403 (test_namespace): New.
14404
14405 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
14406
14407 * gdb.base/relocate.exp: Handle new gdb output at startup.
14408 * gdb.stabs/weird.exp: Ditto.
14409
14410 2003-09-08 Michael Chastain <mec@shout.net>
14411
14412 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
14413
14414 2003-09-07 Michael Chastain <mec@shout.net>
14415
14416 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
14417 'parse error'.
14418
14419 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
14420
14421 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
14422
14423 2003-08-30 Michael Chastain <mec@shout.net>
14424
14425 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
14426 * gdb.gdb/observer.exp: Ditto.
14427 * gdb.gdb/xfullpath.exp: Ditto.
14428
14429 2003-08-29 Mark Kettenis <kettenis@gnu.org>
14430
14431 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
14432 *-*-*bsd*.
14433
14434 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
14435
14436 * gdb.base/dump.exp: Skip for ia64.
14437
14438 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
14439
14440 * gdb.asm/asm-source.exp: Add ia64 support.
14441 * gdb.asm/ia64.inc: New file.
14442
14443 2003-08-22 Michael Chastain <mec@shout.net>
14444
14445 * gdb.cp: New directory.
14446 * gdb.cp/*: Copy from gdb.c++/*.
14447 * gdb.c++/*: Remove.
14448 * Makefile.in: Change gdb.c++ to gdb.cp.
14449 * configure.in: Ditto.
14450 * configure: Regnerate.
14451
14452 2003-08-18 Mark Kettenis <kettenis@gnu.org>
14453
14454 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
14455 * gdb.arch/i386-prologue.c (gdb1338): Add function.
14456
14457 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
14458
14459 * mi-var-display.exp (-var-list-children weird): Accept function
14460 pointers with argument types.
14461 * mi1-var-display.exp (-var-list-children weird): Likewise.
14462 * mi2-var-display.exp (-var-list-children weird): Likewise.
14463
14464 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
14465
14466 * gdb.base/annota3.exp: Add missing newline.
14467
14468 2003-08-06 Michael Chastain <mec@shout.net>
14469
14470 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
14471
14472 2003-08-12 Michael Snyder <msnyder@redhat.com>
14473
14474 * gdb.base/float.exp: Add test for SH.
14475
14476 2003-08-10 Mark Kettenis <kettenis@gnu.org>
14477
14478 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
14479
14480 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14481
14482 * gdb.base/completion.exp: Remove reduntant completion test
14483 on filename.
14484
14485 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14486
14487 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
14488 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
14489 gdb.trace/save-trace.exp: Make sure that full pathnames are
14490 escaped correctly.
14491
14492 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
14493
14494 * configure.in: Don't generate config.h from config.hin.
14495 * configure: Regenerate.
14496 * config.hin: Remove file.
14497 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
14498 * gdb.threads/pthreads.c: Ditto.
14499
14500 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
14501
14502 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14503 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
14504 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
14505 Replace ld24 with seth/add3.
14506
14507 2003-08-02 Andrew Cagney <cagney@redhat.com>
14508
14509 * gdb.base/annota3.exp: New file.
14510 * gdb.base/annota3.c: New file.
14511 * gdb.c++/annota3.exp: New file.
14512 * gdb.c++/annota3.cc: New file.
14513
14514 2003-07-29 Michael Chastain <mec@shout.net>
14515
14516 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14517 actually failed.
14518 (do_pass): Likewise.
14519 * gdb.threads/tls.exp: Always initialize no_of_threads.
14520
14521 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
14522
14523 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14524 pattern.
14525 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14526 * gdb.threads/tls.exp: Recognize one case of the host library not
14527 supporting TLS.
14528
14529 2003-07-27 Andrew Cagney <cagney@redhat.com>
14530
14531 * gdb.base/fileio.exp: Use SH when running commands using
14532 remote_exec.
14533
14534 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
14535
14536 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14537 * gdb.base/relocate.c (dummy): New padding array.
14538
14539 2003-07-22 Michael Snyder <msnyder@redhat.com>
14540
14541 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
14542
14543 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14544 patterns to be more general, accepting old and new output.
14545 Some output chars (such as '+') also must be quoted.
14546 Some addresses are displayed numerically instead of
14547 symbolically.
14548
14549 2003-07-23 Michael Snyder <msnyder@redhat.com>
14550
14551 * gdb.base/return2.exp: Don't test long-long return.
14552
14553 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14554 * gdb.disasm/t01_mov.exp: Ditto.
14555 * gdb.disasm/t02_mova.s: Ditto.
14556 * gdb.disasm/t02_mova.exp: Ditto.
14557 * gdb.disasm/t03_add.s: Ditto.
14558 * gdb.disasm/t03_add.exp: Ditto.
14559 * gdb.disasm/t04_sub.s: Ditto.
14560 * gdb.disasm/t04_sub.exp: Ditto.
14561 * gdb.disasm/t05_cmp.s: Ditto.
14562 * gdb.disasm/t05_cmp.exp: Ditto.
14563 * gdb.disasm/t06_ari2.s: Ditto.
14564 * gdb.disasm/t06_ari2.exp: Ditto.
14565 * gdb.disasm/t07_ari3.s: Ditto.
14566 * gdb.disasm/t07_ari3.exp: Ditto.
14567 * gdb.disasm/t08_or.s: Ditto.
14568 * gdb.disasm/t08_or.exp: Ditto.
14569 * gdb.disasm/t09_xor.s: Ditto.
14570 * gdb.disasm/t09_xor.exp: Ditto.
14571 * gdb.disasm/t10_and.s: Ditto.
14572 * gdb.disasm/t10_and.exp: Ditto.
14573 * gdb.disasm/t11_logs.s: Ditto.
14574 * gdb.disasm/t11_logs.exp: Ditto.
14575 * gdb.disasm/t12_bit.s: Ditto.
14576 * gdb.disasm/t12_bit.exp: Ditto.
14577 * gdb.disasm/t13_otr.s: Ditto.
14578 * gdb.disasm/t13_otr.exp: Ditto.
14579
14580 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
14581
14582 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14583
14584 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
14585
14586 * gdb.threads/tls.c : New file.
14587 * gdb.threads/tls.exp : New file.
14588 * gdb.threads/tls-main.c : New file.
14589 * gdb.threads/tls-shared.c : New file.
14590 * gdb.threads/tls-shared.exp : New file.
14591
14592 2003-07-22 Andreas Schwab <schwab@suse.de>
14593
14594 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14595
14596 2003-07-20 Andreas Schwab <schwab@suse.de>
14597
14598 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14599 due to insn reordering.
14600
14601 2003-07-15 Andrew Cagney <cagney@redhat.com>
14602
14603 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14604
14605 2003-07-15 Michael Chastain <mec@shout.net>
14606
14607 * gdb.base/gdb1250.exp: New file.
14608 * gdb.base/gdb1250.c: New file.
14609
14610 2003-07-09 Michal Ludvig <mludvig@suse.cz>
14611
14612 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14613 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14614
14615 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
14616
14617 * gdb.threads/tls.c: New file.
14618 * gdb.threads/tls.exp: New file.
14619 * gdb.threads/tls-main.c: New file.
14620 * gdb.threads/tls-shared.c: New file.
14621 * gdb.threads/tls-shared.exp: New file.
14622
14623 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
14624
14625 * gdb.base/annota1.exp: Make sure that we properly escape the
14626 full path of the source file. Xfail more permissive patterns,
14627 due to a compiler debug info problem.
14628
14629 2003-07-07 Andreas Schwab <schwab@suse.de>
14630
14631 * gdb.asm/m68k.inc: New file.
14632 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14633
14634 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14635 arguments"): Also match negative number.
14636
14637 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14638
14639 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
14640
14641 * gdb.base/store.c (charest): New typedef.
14642 (add_char): Rename to add_charest, update.
14643 (wack_char): Rename to wack_charest, update types. Return l + r
14644 to keep r live across the call.
14645 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14646 (wack_double, wack_doublest): Return l + r to keep r live across
14647 the call.
14648 * gdb.base/store.exp: Accomodate store.c changes.
14649
14650 2003-06-30 David Carlton <carlton@kealia.com>
14651
14652 * gdb.c++/maint.exp (test_invalid_name): New.
14653 (test_first_component): Add tests for invalid names.
14654
14655 2003-06-29 Michael Chastain <mec@shout.net>
14656
14657 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14658 output of '<VTT for class>' for virtual base classes.
14659
14660 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14661
14662 * gdb.base/completion.exp: Tab-complete "complet" instead of
14663 "compl".
14664 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14665
14666 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14667
14668 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14669 * gdb.base/volatile.exp: Likewise.
14670
14671 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14672
14673 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14674 gdb/1265.
14675
14676 2003-06-28 Michael Chastain <mec@shout.net>
14677 Daniel Jacobowitz <drow@mvista.com>
14678
14679 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14680 initial line count of 'captured_main' from 26 to 32.
14681 (test_with_self): Allow xmalloc call to be interleaved with the
14682 preceding two lines.
14683
14684 2003-06-24 Joel Brobecker <brobecker@gnat.com>
14685
14686 * gdb.base/bang.exp: New testcase.
14687
14688 2003-06-23 Joel Brobecker <brobecker@gnat.com>
14689
14690 * gdb.base/langs.exp: Add some tests for the "minimal" language
14691 support.
14692
14693 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
14694
14695 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14696 the testcase.
14697
14698 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14699
14700 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14701 offset.
14702
14703 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14704
14705 * gdb.c++/pr-1210.cc: New file.
14706 * gdb.c++/pr-1210.exp: New file.
14707
14708 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
14709
14710 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14711 000-exec-continue.
14712
14713 2003-06-15 Mark Kettenis <kettenis@gnu.org>
14714
14715 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14716 on *-*-*bsd* instead of *-*-freebsd*.
14717
14718 2003-06-14 Andrew Cagney <cagney@redhat.com>
14719
14720 * gdb.base/store.exp: Test longest and doublest. Test all
14721 parameters. Weaken return statement match.
14722 * gdb.base/store.c: Add longest and doublest - aka long long and
14723 long double functions. Put all parameters into local register
14724 variables. Use negative values.
14725
14726 2003-06-14 Andrew Cagney <cagney@redhat.com>
14727
14728 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14729 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14730 exit status.
14731 * gdb.base/fileio.exp: Disable target when nointerrupts and
14732 noinferiorio, instead of limiting it to remote. Use remote_exec
14733 instead of system.
14734
14735 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14736
14737 * gdb.base/float.exp: Add ia64 support.
14738
14739 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
14740
14741 * gdb.base/fileio.exp: Run only on remote targets.
14742
14743 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
14744
14745 * gdb.base/fileio.c: New file, testing File-I/O.
14746 * gdb.base/fileio.exp: Ditto.
14747
14748 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14749
14750 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14751 shared objects after relocation at load time (gdb PR/1132).
14752 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
14753 as above, part of the shared object relocation test.
14754
14755 2003-06-08 Mark Kettenis <kettenis@gnu.org>
14756
14757 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14758 fully filled history list.
14759 * gdb.base/gdb_history: New file.
14760
14761 * gdb.base/signals.exp: XFAIL "continue to func1" on
14762 i*86-*-freebsd*.
14763
14764 * gdb.base/attach.exp: When trying to attach to a nonexistent
14765 process, make it possible to specify the PID based on the target,
14766 and do so for *-*-freebsd*.
14767
14768 2003-06-02 Richard Henderson <rth@redhat.com>
14769
14770 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14771
14772 2003-06-02 Richard Henderson <rth@redhat.com>
14773
14774 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14775
14776 2003-06-02 Richard Henderson <rth@redhat.com>
14777
14778 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14779
14780 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
14781
14782 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14783 of globalvar.
14784
14785 2003-06-01 Mark Kettenis <kettenis@gnu.org>
14786
14787 * gdb.asm/asm-source.exp: Check for memory read errors in
14788 disassembler test on *BSD too.
14789
14790 2003-06-01 Richard Henderson <rth@redhat.com>
14791
14792 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14793 for .frame.
14794 (gdbasm_call): Lose ldgp.
14795 (gdbasm_startup): Add frame information.
14796 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14797
14798 2003-05-31 Mark Kettenis <kettenis@gnu.org>
14799
14800 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14801 i?86-*-*.
14802
14803 2003-05-30 Mark Kettenis <kettenis@gnu.org>
14804
14805 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14806 FreeBSD.
14807
14808 2003-05-29 Richard Henderson <rth@redhat.com>
14809
14810 * gdb.asm/alpha.inc: New file.
14811 * gdb.asm/asm-source.exp: Use it.
14812
14813 2003-05-29 Jim Blandy <jimb@redhat.com>
14814
14815 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14816 'core.PID'.
14817
14818 2003-05-22 Jim Blandy <jimb@redhat.com>
14819
14820 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14821 backtrace.
14822
14823 2003-05-20 David Carlton <carlton@math.stanford.edu>
14824
14825 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14826 this time.
14827
14828 2003-05-19 David Carlton <carlton@bactrian.org>
14829
14830 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14831 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14832
14833 2003-05-19 David Carlton <carlton@bactrian.org>
14834
14835 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14836 namespace tests.
14837 Bump copyright date.
14838 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14839 (main): Call C::D::marker2.
14840 * gdb.c++/namespace1.cc: New file.
14841
14842 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14843
14844 Roland McGrath <roland@redhat.com>
14845 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
14846 there is no manager thread.
14847
14848 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14849
14850 * gdb.threads/schedlock.exp: Remove assumption that all threads
14851 will run in a particular small time slice. Also ensure we break
14852 in one of the child threads rather than the main thread.
14853
14854 2003-05-07 Jim Blandy <jimb@redhat.com>
14855
14856 Add support for assembly source testing on the s390x.
14857 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14858 architecture.
14859 * gdb.asm/s390x.inc: New file.
14860
14861 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14862 succession of 'if' statements.
14863
14864 2003-05-05 Andrew Cagney <cagney@redhat.com>
14865
14866 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14867
14868 2003-05-05 Andrew Cagney <cagney@redhat.com>
14869
14870 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14871 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14872
14873 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14874
14875 * gdb.base/charset.exp: Update based on new behavior of set/show
14876 charset commands.
14877
14878 2003-05-01 Andrew Cagney <cagney@redhat.com>
14879
14880 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14881 variable do not give memory errors.
14882
14883 2003-04-30 Adam Fedor <fedor@gnu.org>
14884
14885 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14886 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14887 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14888 gdb.objc/basicclass.m: : New files
14889
14890 * lib/gdb.exp (gdb_compile_objc): New procedure.
14891
14892 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14893
14894 * gdb.base/signals.exp: Make backtrace tests more specific.
14895
14896 2003-04-23 David Carlton <carlton@bactrian.org>
14897
14898 * gdb.c++/maint.exp (test_first_component): Add tests for
14899 'operator' in more locations.
14900
14901 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14902
14903 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14904
14905 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14906
14907 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14908 func marke' instead. Update test name.
14909
14910 2003-04-15 David Carlton <carlton@math.stanford.edu>
14911
14912 * gdb.c++/maint.exp: New file.
14913
14914 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14915
14916 * gdb.threads/schedlock.c: Change type of thread function argument
14917 to long, to avoid warnings on 64-bit platforms.
14918
14919 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14920
14921 * gdb.base/attach.exp: Add new message from ptrace in case of
14922 attaching to nonexistent process.
14923
14924 2003-04-11 Jim Blandy <jimb@redhat.com>
14925
14926 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14927 gdb.c++/userdef.cc: Place comments on the lines to which the
14928 marker function might return.
14929 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14930 gdb.c++/userdef.exp: Look for those comments to check that we've
14931 returned to the right place, instead of checking line numbers.
14932
14933 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14934
14935 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14936 match on sourcefile name, instead of directory name.
14937
14938 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14939
14940 * gdb.base/completion.exp: Use string_to_regexp to match the
14941 working directory name.
14942
14943 2003-04-09 Jim Blandy <jimb@redhat.com>
14944
14945 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14946 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14947 after an inferior function call, report the failure, but allow the
14948 test to continue.
14949
14950 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14951
14952 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14953 with -DPROTOTYPES.
14954
14955 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14956
14957 * gdb.base/break.exp: Revert last patch.
14958
14959 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14960
14961 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14962 with -DPROTOTYPES.
14963
14964 2003-04-02 Andrew Cagney <cagney@redhat.com>
14965
14966 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14967 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14968 matching directories by the name breakpoint.
14969 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14970 Make "continue to marker1" consistent.
14971 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14972 message consistent.
14973 * lib/gdb.exp: Put "the program is no longer running", and "the
14974 program exited" in parenthesis.
14975 * lib/mi-support.exp: Ditto.
14976
14977 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14978
14979 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14980
14981 2003-03-29 Andrew Cagney <cagney@redhat.com>
14982
14983 * gdb.base/sizeof.c (main): Print the value of '\377'.
14984 * gdb.base/sizeof.exp: Check the sign of '\377'.
14985
14986 2003-03-27 Michael Chastain <mec@shout.net>
14987
14988 * gdb.base/gdb1090.exp: New file.
14989 * gdb.base/gdb1090.cc: New file.
14990
14991 2003-03-27 J. Brobecker <brobecker@gnat.com>
14992
14993 * gdb.gdb/observer.exp: New regression test.
14994
14995 2003-03-27 Michael Chastain <mec@shout.net>
14996
14997 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14998 * gdb.base/ptype.exp: Likewise.
14999
15000 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
15001
15002 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
15003
15004 2003-03-26 Michael Chastain <mec@shout.net>
15005
15006 * gdb.base/ptype.exp: Actually use some typedef'd types.
15007
15008 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
15009
15010 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
15011 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
15012
15013 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15014
15015 * gdb.base/default.exp: Fix regular expression.
15016
15017 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15018
15019 * gdb.base/args.exp: Fix regular expression.
15020
15021 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15022
15023 * gdb.base/help.exp: Allow Win32 child process.
15024
15025 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15026
15027 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
15028 when stepping out of main().
15029
15030 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15031
15032 * gdb.base/default.exp: Check for win32 specific message when calling
15033 "run" without executable.
15034
15035 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15036
15037 * gdb.base/args.exp: Expect .exe in output.
15038
15039 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15040
15041 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
15042 Cygwin native.
15043
15044 2003-03-17 Andrew Cagney <cagney@redhat.com>
15045
15046 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
15047 vector registes.
15048 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15049 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15050
15051 2003-03-17 David Carlton <carlton@math.stanford.edu>
15052
15053 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15054 test, for PR breakpoints/38.
15055 Call test_watchpoint_and_breakpoint.
15056 * gdb.base/watchpoint.c (func3): New function.
15057 (main): Call func3.
15058
15059 2003-03-04 David Carlton <carlton@math.stanford.edu>
15060
15061 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15062 Garply<Garply<char> >:: garply".
15063 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15064 with respect to PR c++/1111; note also PR c++/1113.
15065 (test_template_breakpoints): KFAIL "constructor breakpoint" with
15066 respect to PR c++/1062.
15067 KFAIL "destructor breakpoint" with respect to PR c++/1112.
15068
15069 2003-03-03 David Carlton <carlton@math.stanford.edu>
15070
15071 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15072 with respect to PR c++/57.
15073 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15074 c++/826.
15075 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15076 respect to PR c++/57.
15077
15078 2003-03-03 David Carlton <carlton@math.stanford.edu>
15079
15080 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15081 respect to PR c++/33 into FAILs.
15082
15083 2003-03-03 Michael Chastain <mec@shout.net>
15084
15085 * configure.in: Update copyright years.
15086
15087 2003-03-03 Michael Chastain <mec@shout.net>
15088
15089 * Makefile.in: Update copyright years.
15090
15091 2003-02-28 David Carlton <carlton@math.stanford.edu>
15092
15093 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
15094 print class instead of struct and/or superfluous protection
15095 specifiers, as long as the resulting output is equivalent to the
15096 source code.
15097 Delete FIXME from end of messages on tests that don't need
15098 fixing.
15099
15100 2003-02-28 David Carlton <carlton@math.stanford.edu>
15101
15102 * gdb.c++/templates.exp (do_tests): Allow const in the two
15103 Foo<volatile char *>::foo tests.
15104
15105 2003-02-27 Michael Snyder <msnyder@redhat.com>
15106
15107 * gdb.base/restore.c (main): Return zero, so exit code
15108 will be consistant.
15109
15110 2003-02-26 David Carlton <carlton@math.stanford.edu>
15111
15112 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
15113 char *>::foo" test with respect to PR c++/33. Create a new test
15114 which is identical to that one except that it doesn't put the
15115 space between the "char" and the "*"; KFAIL it, too.
15116
15117 2003-02-26 David Carlton <carlton@math.stanford.edu>
15118
15119 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
15120 template types into either PASSes or KFAILs (corresponding to PR
15121 c++/57). Tweak indentation. Update copyright.
15122
15123 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
15124
15125 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
15126
15127 2003-02-13 Michael Chastain <mec@shout.net>
15128
15129 * gdb.base/exprs.exp: Remove i960 remnants.
15130 * gdb.base/funcargs.exp: Likewise.
15131 * gdb.base/list.exp: Likewise.
15132 * gdb.base/ptype.exp: Likewise.
15133
15134 2003-02-14 David Carlton <carlton@math.stanford.edu>
15135
15136 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
15137 pEe->D::vg()" from XFAIL to KFAIL.
15138
15139 2003-02-13 Jason Molenda (jmolenda@apple.com)
15140
15141 * gdb.base/maint.exp: Update maint print statistics regexp to include
15142 new entries.
15143
15144 2003-02-13 Michael Chastain <mec@shout.net>
15145
15146 * gdb.c++/inherit.exp: Remove call to get_debug_format.
15147
15148 2003-02-12 Michael Chastain <mec@shout.net>
15149
15150 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
15151 * gdb.c++/inherit.exp: Likewise.
15152 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
15153 * gdb.c++/templates.exp: Likewise.
15154 * gdb.c++/virtfunc.exp: Likewise.
15155
15156 2003-02-06 Jason Molenda (jason-cl@molenda.com)
15157
15158 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
15159 why the code is written that way.
15160
15161 2003-02-05 Michael Chastain <mec@shout.net>
15162
15163 * gdb.base/dump.exp: Add missing copyright line.
15164
15165 2003-02-05 Jason Molenda (jason-cl@molenda.com)
15166
15167 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
15168 at the beginning so the breakpoint doesn't get set on the loop.
15169
15170 2003-02-05 Michael Chastain <mec@shout.net>
15171
15172 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
15173 output for configurations with gcc 2.95.3.
15174
15175 2003-02-05 Keith Seitz <keiths@redhat.com>
15176 Andrew Cagney <ac131313@redhat.com>
15177
15178 * gdb.mi/mi-cli.exp: New file.
15179
15180 2003-02-04 Michael Chastain <mec@shout.net>
15181
15182 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
15183 Call perror and then continue.
15184
15185 2003-02-03 Michael Chastain <mec@shout.net>
15186
15187 * gdb.c++/pr-1023.cc: New file.
15188 * gdb.c++/pr-1023.exp: New file.
15189
15190 2003-02-05 Jim Blandy <jimb@redhat.com>
15191
15192 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
15193 it's local to foobar. Check for it there, and check that it's not
15194 present in main.
15195 * gdb.c++/local.cc (marker2): New function.
15196 (foobar): Call marker1.
15197 (main): Call marker2 instead of marker1.
15198
15199 2003-02-04 Andrew Cagney <ac131313@redhat.com>
15200
15201 * gdb.disasm/mn10200.exp: Obsolete file.
15202 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
15203 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
15204 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
15205
15206 2003-02-04 David Carlton <carlton@math.stanford.edu>
15207
15208 * gdb.c++/overload.exp: Test intToChar(1).
15209 * gdb.c++/overload.cc (intToChar): New.
15210 (main): Call intToChar.
15211
15212 2003-02-03 David Carlton <carlton@math.stanford.edu>
15213
15214 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
15215 'might_kfail' arg.
15216 KFAIL some of the continue_to_bp_overloaded calls, according to
15217 PR c++/1025.
15218
15219 2003-02-01 Michael Chastain <mec@shout.net>
15220
15221 * gdb.base/advance.c (marker1): New marker function.
15222 * gdb.base/advance.exp: When the 'advance' command lands on the
15223 return breakpoint, it can legitimately stop on either the
15224 current line or the next line. Accommodate both outcomes.
15225 * gdb.base/until.exp: Likewise.
15226
15227 2003-02-02 Andrew Cagney <ac131313@redhat.com>
15228
15229 2002-11-10 Jason Molenda (jason-cl@molenda.com):
15230 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
15231 now a list, not a tuple.
15232 * gdb.mi/mi-var-display.exp: Ditto.
15233 * gdb.mi/gdb792.exp: Ditto.
15234
15235 2003-02-01 Andrew Cagney <ac131313@redhat.com>
15236
15237 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
15238 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
15239 stack backtraces.
15240 * gdb.mi/mi-syn-frame.c: Part of same.
15241
15242 2003-02-01 Mark Kettenis <kettenis@gnu.org>
15243
15244 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15245 gdb.mi/mi1-pthreads.exp: Return instead of calling
15246 gdb_suppress_entire_file.
15247
15248 2003-02-01 Mark Salter <msalter@redhat.com>
15249
15250 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
15251
15252 2003-01-31 Mark Salter <msalter@redhat.com>
15253
15254 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
15255 Support empty arg.
15256
15257 2003-01-30 Michael Chastain <mec@shout.net>
15258
15259 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
15260 This was a workaround for a UTF-8 bug in readline 4.3. The bug
15261 has been fixed in gdb/readline on 2003-01-09.
15262
15263 2003-01-29 Michael Snyder <msnyder@redhat.com>
15264
15265 * gdb.base/maint.exp: Allow for leading underscore in symbol.
15266 * gdb.base/display.exp: Allow for leading underscore in symbol.
15267 * gdb.base/args.exp: Skip if target does not support args passing.
15268
15269 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
15270
15271 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
15272 gdb_test. Accept a list of expect arguments as the third
15273 parameter.
15274 (gdb_test): Use it.
15275
15276 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
15277
15278 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
15279 allow for different test tree configurations. Update some
15280 tescases accordingly.
15281 * gdb.arch/altivec-regs.exp: Ditto.
15282 * gdb.asm/asm-source.exp: Ditto.
15283 * gdb.base/advance.exp: Ditto.
15284 * gdb.base/display.exp: Ditto.
15285 * gdb.base/long_long.exp: Ditto.
15286 * gdb.base/mips_pro.exp: Ditto.
15287 * gdb.base/overlays.exp: Ditto.
15288 * gdb.base/relocate.exp: Ditto.
15289 * gdb.base/setshow.exp: Ditto.
15290 * gdb.base/step-line.exp: Ditto.
15291 * gdb.base/step-test.exp: Ditto.
15292 * gdb.base/until.exp: Ditto.
15293 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
15294
15295 2003-01-17 David Carlton <carlton@math.stanford.edu>
15296
15297 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
15298 corresponding to PR c++/945.
15299 Update copyright.
15300
15301 2003-01-17 David Carlton <carlton@math.stanford.edu>
15302
15303 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
15304 corresponding to PR c++/68.
15305
15306 2003-01-17 David Carlton <carlton@math.stanford.edu>
15307
15308 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
15309 (test_paddr_hairy_functions): Call print_addr_2_kfail for
15310 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
15311
15312 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
15313
15314 * gdb.base/break.exp: Fix change of default location, because of
15315 removal of until tests.
15316 * gdb.base/help.exp: Update test for new 'until' help message.
15317 Add test for help on 'advance'.
15318 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
15319
15320 2003-01-15 Mark Kettenis <kettenis@gnu.org>
15321
15322 * gdb.base/default.exp: Adapt "info float" test for recent changes
15323 to that command. Add test for "info vector".
15324 * gdb.base/float.exp: New file. Add test for "info float" that
15325 resembles the old test in gdb.base/default.exp.
15326
15327 2003-01-15 David Carlton <carlton@math.stanford.edu>
15328
15329 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
15330
15331 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
15332
15333 * gdb.base/break.exp: Move the tests of until command from here...
15334 * gdb.base/until.exp: ... to here. New file. Add other tests.
15335 * gdb.base/advance.c: New file.
15336 * gdb.base/advance.exp: New file.
15337
15338 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
15339
15340 * gdb.base/args.c: New file.
15341 * gdb.base/args.exp: New file.
15342
15343 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
15344
15345 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
15346
15347 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
15348
15349 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
15350
15351 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
15352
15353 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
15354 dates.
15355
15356 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15357
15358 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
15359
15360 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15361
15362 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
15363 (ptype &*"foo").
15364 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
15365
15366 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15367
15368 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
15369 * gdb.mi/mi1-console.exp: Likewise.
15370
15371 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15372
15373 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
15374 * gdb.mi/mi1-console.exp: Likewise.
15375
15376 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
15377
15378 * gdb.c++/overload.exp: Remove some fixed XFAILs.
15379
15380 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
15381
15382 * gdb.base/detach.exp: New test.
15383
15384 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
15385
15386 * Makefile.in (ALL_SUBDIRS): New variable.
15387 (subdirs, clean, distclean): Use it.
15388 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
15389 regenerating Makefile, since it is generated from the top level.
15390 * gdb.asm/Makefile.in: Likewise.
15391 * gdb.base/Makefile.in: Likewise.
15392 * gdb.c++/Makefile.in: Likewise.
15393 * gdb.disasm/Makefile.in: Likewise.
15394 * gdb.java/Makefile.in: Likewise.
15395 * gdb.mi/Makefile.in: Likewise.
15396 * gdb.threads/Makefile.in: Likewise.
15397 * gdb.trace/Makefile.in: Likewise.
15398
15399 2003-01-09 David Carlton <carlton@math.stanford.edu>
15400
15401 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
15402 Add copyright year 2003.
15403
15404 2003-01-06 Michael Chastain <mec@shout.net>
15405
15406 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
15407 When selecting a thread, 'line' and 'file' are optional.
15408 * gdb.mi/mi1-pthreads.exp: Likewise.
15409
15410 2003-01-06 Andreas Schwab <schwab@suse.de>
15411
15412 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
15413 failures.
15414
15415 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
15416
15417 Fix PR gdb/844
15418 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
15419 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
15420
15421 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
15422 instead of calling gdb_suppress_entire_file.
15423 * gdb.threads/print-threads.exp: Likewise.
15424 * gdb.threads/schedlock.exp: Likewise.
15425
15426 * gdb.threads/killed.exp: Return instead of calling
15427 gdb_suppress_entire_file.
15428 * gdb.threads/linux-dp.exp: Likewise.
15429 * gdb.threads/pthreads.exp: Likewise.
15430
15431 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
15432
15433 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
15434 stabs.
15435 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
15436 * gdb.base/whatis.exp: Always allow (void) after function names.
15437
15438 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
15439
15440 * gdb.c++/casts.exp: Correct regexp.
15441
15442 2003-01-04 Mark Kettenis <kettenis@gnu.org>
15443
15444 * configure.in: Call AC_CONFIG_HEADER. Don't call
15445 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
15446 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
15447 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
15448 aforementioned directories in the AC_OUPUT call.
15449 * config.hin: New file.
15450 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
15451 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
15452 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
15453 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
15454 pass -I$objdir instead of -I$objdir/$subdir in compilation.
15455 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
15456 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
15457 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
15458 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
15459 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
15460 gdb.threads/configure.in, gdb.threads/configure,
15461 gdb.threads/config.in, gdb.trace/configure.in,
15462 gdb.trace/configure: Removed.
15463
15464 2003-01-03 Michael Chastain <mec@shout.net>
15465
15466 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
15467 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
15468
15469 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
15470
15471 * gdb.base/store.exp: Fix regular expressions.
15472
15473 2002-12-28 Mark Kettenis <kettenis@gnu.org>
15474
15475 * configure.in: Rewrite.
15476 * configure: Regenerated.
15477
15478 2003-01-03 David Carlton <carlton@math.stanford.edu>
15479
15480 * gdb.base/psymtab.exp: New file.
15481 * gdb.base/psymtab1.c: Ditto.
15482 * gdb.base/psymtab2.c: Ditto.
15483
15484 2002-12-23 Adam Fedor <fedor@gnu.org>
15485
15486 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
15487
15488 2002-12-23 David Carlton <carlton@math.stanford.edu>
15489
15490 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
15491 and current_directory initialization.
15492
15493 2002-12-22 Jim Blandy <jimb@redhat.com>
15494
15495 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
15496 rather than as part of the output file name.
15497
15498 * gdb.base/attach.exp: There's no need to copy the test program to
15499 /tmp; that was only ever necessary on HP/UX, and this test is
15500 entirely disabled there anyway.
15501
15502 2002-12-21 Jim Blandy <jimb@redhat.com>
15503
15504 * gdb.c++/psmang.exp: Doc fix.
15505
15506 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
15507 test.
15508
15509 2002-12-20 David Carlton <carlton@math.stanford.edu>
15510
15511 * gdb.c++/annota2.exp: KFAIL annotate-quit.
15512
15513 2002-12-18 Michael Chastain <mec@shout.net>
15514
15515 * gdb.c++/annota2.exp: Add copyright year 2002.
15516
15517 2002-12-17 David Carlton <carlton@math.stanford.edu>
15518
15519 * gdb.c++/try_catch.cc: Add marker comments.
15520 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15521 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15522 * gdb.c++/m-static.cc: Ditto.
15523 * gdb.c++/m-static1.cc: Ditto.
15524 * gdb.c++/try_catch.cc: Ditto.
15525
15526 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15527
15528 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15529 to see whether we are using the new -environment-directory
15530 command which resets via -r or the old version of the command
15531 which may prompt the user. Part of fix for gdb/741.
15532
15533 2002-12-13 Andrew Cagney <ac131313@redhat.com>
15534
15535 * gdb.fortran/types.exp: Update obsolete comment.
15536 * gdb.fortran/exprs.exp: Ditto.
15537 * lib/gdb.exp: Delete obsolete code.
15538 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15539 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15540 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15541 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15542 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15543 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15544 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15545 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15546 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15547 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15548 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15549 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15550 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15551 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15552 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15553 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15554 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15555 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15556 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15557 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15558 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15559 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15560 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15561 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15562 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15563 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15564 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15565 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15566 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15567 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15568 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15569 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15570 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15571 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15572 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15573 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15574 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15575
15576 2002-12-11 David Carlton <carlton@math.stanford.edu>
15577
15578 * gdb.c++/m-data.exp: Add test for members that shadow global
15579 variables: see PR gdb/804.
15580 * gdb.c++/m-data.cc: Ditto.
15581
15582 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
15583
15584 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15585
15586 2002-12-06 David Carlton <carlton@math.stanford.edu>
15587
15588 * gdb.base/store.c: Don't declare functions static.
15589
15590 2002-12-04 Andrew Cagney <ac131313@redhat.com>
15591
15592 * gdb.base/store.exp, gdb.base/store.c: New files.
15593
15594 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15595
15596 * gdb.base/selftest.exp: Update for current gdb.
15597
15598 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15599
15600 * gdb.base/maint.exp: Only dump symbols from one source file
15601 or objfile.
15602
15603 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15604
15605 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15606 function call.
15607
15608 2002-11-25 Jim Blandy <jimb@redhat.com>
15609
15610 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15611 function appearing in error message.
15612
15613 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
15614
15615 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15616
15617 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15618
15619 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15620 for mi1 and current mi is in correct format. New mi startup message
15621 should be in mi console format. This is part of fix for PR gdb/604.
15622
15623 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15624
15625 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15626 which explicitly prints the zero offset as "+0".
15627
15628 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
15629
15630 * gdb.threads/schedlock.c (args): Make unsigned.
15631
15632 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
15633
15634 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15635 numbers. Allow "foo2|selected stack frame".
15636 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15637 * gdb.asm/asmsrc2.s: Likewise.
15638 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15639 comments.
15640 * gdb.asm/mips.inc: New file.
15641
15642 2002-10-18 Adam Fedor <fedor@gnu.org>
15643
15644 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15645 * gdb.base/help.exp: Likewise.
15646
15647 2002-10-17 Kevin Buettner <kevinb@redhat.com>
15648
15649 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15650 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15651
15652 2002-10-02 Jim Blandy <jimb@redhat.com>
15653
15654 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15655
15656 2002-10-01 Andrew Cagney <ac131313@redhat.com>
15657
15658 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15659 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15660 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15661 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15662 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15663 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15664 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15665
15666 2002-09-29 Andrew Cagney <ac131313@redhat.com>
15667
15668 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15669 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15670 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15671 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15672 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15673 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15674 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
15675
15676 2002-09-27 Kevin Buettner <kevinb@redhat.com>
15677
15678 * gdb.base/annota1.exp (info break): Make directory components of
15679 path optional since not all compilers emit this debug information.
15680
15681 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15682 step ends up stepping out of the function instead of stopping on
15683 the epilogue.
15684
15685 2002-09-26 Keith Seitz <keiths@redhat.com>
15686
15687 * lib/insight-support.exp (gdbtk_start): Figure out where
15688 the insight executable is based on where gdb is. Use this
15689 executable to start insight instead of gdb.
15690
15691 2002-09-25 Andrew Cagney <cagney@redhat.com>
15692
15693 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15694
15695 2002-09-24 Andrew Cagney <ac131313@redhat.com>
15696
15697 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15698 test_isolated_complaints.
15699 (test_empty_complaint): New function.
15700 (test_empty_complaints): New function. Check no output when no
15701 complaints.
15702
15703 2002-09-19 Jim Blandy <jimb@redhat.com>
15704
15705 * gdb.base/charset.exp, gdb.base/charset.c: New files.
15706
15707 2002-09-19 Andrew Cagney <ac131313@redhat.com>
15708
15709 * gdb.gdb/complaints.exp: New file.
15710
15711 2002-09-18 Andrew Cagney <ac131313@redhat.com>
15712
15713 * gdb.base/maint.exp: Check `help maint internal-warning'.
15714
15715 2002-09-18 David Carlton <carlton@math.stanford.edu>
15716
15717 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15718 numbers, and replace them by a single breakpoint after the
15719 constructors are all finished.
15720 Add test 4.
15721 * gdb.c++/m-static.cc: Add test 4.
15722 * gdb.c++/m-static.h: New file.
15723 * gdb.c++/m-static1.cc: New file.
15724
15725 * gdb.c++/printmethod.exp: New file.
15726 * gdb.c++/printmethod.cc: New file.
15727
15728 * gdb.c++/pr-574.exp: New file.
15729 * gdb.c++/pr-574.cc: New file.
15730
15731 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15732
15733 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15734 embedded targets which never actually exit.
15735
15736 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15737
15738 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15739 "don't step after run" as unresolved or unsupported, instead of xfail.
15740
15741 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15742
15743 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15744 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15745 Add newline to expected string in "step out of main (status wrapper)"
15746 case.
15747
15748 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15749
15750 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15751 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15752
15753 2002-09-17 Tom Tromey <tromey@redhat.com>
15754
15755 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15756 \000, not \0, in double-quoted string.
15757
15758 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
15759
15760 * gdb.base/commands.exp: Don't expect a "Program exited normally"
15761 string after running the commands execution on breakpoint tests.
15762
15763 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
15764
15765 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15766
15767 2002-09-12 Joel Brobecker <brobecker@gnat.com>
15768
15769 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15770
15771 2002-09-10 Keith Seitz <keiths@redhat.com>
15772
15773 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15774 runto proc.
15775 (mi_run_to_main): Use mi_runto.
15776 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15777
15778 2002-09-10 Keith Seitz <keiths@redhat.com>
15779
15780 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15781 regexp for stopping at main. Could have multiple event notifications.
15782 Don't assume that main was declared with no parameters.
15783 (mi_next): Use mi_step_to.
15784 (mi_step): Use mi_next_to.
15785
15786 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
15787
15788 * gdb.base/default.exp: Fix expected string in `info float' test.
15789
15790 2002-09-09 Ben Elliston <bje@redhat.com>
15791
15792 * config/mips.exp: Update comments.
15793 * config/mips-idt.exp: Likewise.
15794 * config/nind.exp: Likewise.
15795 * config/slite.exp: Likewise.
15796 * config/sparclet.exp: Likewise.
15797 * config/udi.exp: Likewise.
15798 * config/vx.exp: Likewise.
15799 * config/vxworks29k.exp: Likewise.
15800
15801 2002-09-05 Jim Blandy <jimb@redhat.com>
15802
15803 * gdb.threads/killed.exp: Fix test failure message.
15804
15805 2002-09-04 Keith Seitz <keiths@redhat.com>
15806
15807 * lib/mi-support.exp: Update copyright.
15808 (mi_gdb_test): Increase the priority of the expected pattern
15809 so that it matches gdb_test.
15810
15811 2002-09-03 Keith Seitz <keiths@redhat.com>
15812
15813 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15814 Use integer comparison instead of string comparison for testing
15815 whether binary was built.
15816
15817 2002-09-03 Jim Blandy <jimb@redhat.com>
15818
15819 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15820
15821 2002-08-29 Jim Blandy <jimb@redhat.com>
15822
15823 * gdb.threads/pthreads.exp: Move the portable thread compilation
15824 code into a function in lib/gdb.exp, and call that from here.
15825 * lib/gdb.exp (gdb_compile_pthreads): New function.
15826
15827 2002-08-29 Keith Seitz <keiths@redhat.com>
15828
15829 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15830 expect_out so that callers can get at it.
15831
15832 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
15833
15834 * gdb.threads/print-threads.c: New file.
15835 * gdb.threads/print-threads.exp: New file.
15836 * gdb.threads/schedlock.c: New file.
15837 * gdb.threads/schedlock.exp: New file.
15838
15839 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
15840
15841 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15842 not altivec.c.
15843
15844 2002-08-17 Mark Kettenis <kettenis@gnu.org>
15845
15846 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15847 targets. The problem should be fixed now.
15848
15849 2002-08-15 Mark Kettenis <kettenis@gnu.org>
15850
15851 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15852 2002-07-24 change that removes final dots from error messages.
15853
15854 2002-08-13 Tom Tromey <tromey@redhat.com>
15855
15856 * gdb.base/readline.exp: New file.
15857
15858 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15859
15860 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15861 supress message.
15862
15863 2002-08-01 Andrew Cagney <cagney@redhat.com>
15864
15865 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15866 CHILL_FOR_TARGET and CHILL_LIB.
15867 * configure.in (configdirs): Remove gdb.chill.
15868 * configure: Regenerate.
15869 * lib/gdb.exp: Obsolete references to chill.
15870 * gdb.fortran/types.exp: Ditto.
15871 * gdb.fortran/exprs.exp: Ditto.
15872
15873 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15874
15875 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15876 set Irix-specific compile and link flags.
15877
15878 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15879
15880 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15881 source files. The ``-o'' option doesn't work with the ``-E'' option
15882 when using the Irix compiler.
15883
15884 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15885
15886 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15887 Improve support for reusing an exec file. Copy exec file
15888 to target, and run gdbserver on the target instead of on the host.
15889
15890 2002-07-18 Jim Blandy <jimb@redhat.com>
15891
15892 * gdb.base/ending-run.exp: Don't expect to see the program end in
15893 some orderly fashion when we're running on a real stand-alone
15894 board.
15895
15896 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15897 targets that don't support interrupts.
15898
15899 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15900
15901 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15902 systems.
15903 Move comments in expect statements to inside the actions, so that they
15904 don't get matched against.
15905
15906 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15907
15908 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15909 function when asleep" test.
15910
15911 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15912
15913 * gdb.base/page.exp: Rewrite to handle problems with very long
15914 `info set' output. Update copyright.
15915
15916 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15917
15918 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15919 gdb.threads-hp.
15920 * gdb.hp/configure: Regenerate.
15921 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15922 * gdb.hp/gdb.threads-hp/configure: Delete file.
15923 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15924
15925 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15926
15927 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15928 setlocale, bindtextdomain and textdomain.
15929
15930 2002-06-11 Jim Blandy <jimb@redhat.com>
15931
15932 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15933 preprocessor macro information is present.
15934
15935 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15936 tests.
15937
15938 2002-06-06 Michael Snyder <msnyder@redhat.com>
15939
15940 * gdb.base/overlays.exp: Record addresses of overlay
15941 functions in TCL variables rather than in GDB variables,
15942 to avoid having GDB convert them to pointers (with loss
15943 of information).
15944
15945 * gdb.base/d10v.ld: Merge in several years worth of
15946 default linker script changes.
15947 * gdb.base/long_long.exp: Add check for sizeof (long double).
15948
15949 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15950
15951 * gdb.asm/asm-source.exp: Add x86-64 target.
15952 * gdb.asm/x86_64.inc: New.
15953
15954 2002-05-30 Michael Chastain <mec@shout.net>
15955
15956 From Benjamin Kosnik <bkoz@redhat.com>:
15957 * gdb.c++/m-static.cc: New file.
15958 * gdb.c++/m-static.exp: New file.
15959
15960 2002-05-28 Michael Snyder <msnyder@redhat.com>
15961
15962 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15963 precision.
15964
15965 2002-05-27 Michael Chastain <mec@shout.net>
15966
15967 From Benjamin Kosnik <bkoz@redhat.com>:
15968 * gdb.c++/m-data.cc: New file.
15969 * gdb.c++/m-data.exp: New file.
15970
15971 2002-05-27 Michael Chastain <mec@shout.net>
15972
15973 From Benjamin Kosnik <bkoz@redhat.com>:
15974 * gdb.c++/try_catch.cc: New file.
15975 * gdb.c++/try_catch.exp: New file.
15976
15977 2002-05-27 Michael Chastain <mec@shout.net>
15978
15979 * gdb.c++/local.exp: Accept more nested types in output.
15980
15981 2002-05-26 Michael Chastain <mec@shout.net>
15982
15983 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15984
15985 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15986
15987 * lib/gdb.exp (gdb_wrapper_init): Just because
15988 gdb_wrapper_file exists, this does not mean that the file
15989 should not be rebuilt. That is what gdb_wrapper_initialized
15990 is for.
15991 (default_gdb_init): Reset gdb_wrapper_initialized.
15992
15993 2002-05-23 Michael Snyder <msnyder@redhat.com>
15994
15995 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15996 the precision of the floating point test results.
15997 * gdb.base/call-rt-st.exp: Ditto.
15998
15999 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
16000 * gdb.base/call-rt-st.exp: Ditto.
16001
16002 2002-05-19 Michael Chastain <mec@shout.net>
16003
16004 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
16005
16006 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
16007
16008 * configure.in (configdirs): Add gdb.arch.
16009 * configure: Regenerate.
16010
16011 2002-05-17 Jim Blandy <jimb@redhat.com>
16012
16013 * gdb.base/completion.exp: Recognize the more detailed error
16014 messages produced by the macro expander's lexical analyzer.
16015
16016 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
16017
16018 * gdb.arch/altivec-abi.c: New file.
16019 * gdb.arch/altivec-abi.exp: New file.
16020 * gdb.arch/altivec-regs.c: New file.
16021 * gdb.arch/altivec-regs.exp: New file.
16022
16023 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
16024
16025 * gdb.base/maint.exp (maint print type): Update for new type
16026 structure.
16027
16028 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
16029
16030 * gdb.arch: New directory.
16031 * gdb.arch/configure.in: New file.
16032 * gdb.arch/configure: New file.
16033 * gdb.arch/Makefile.in: New file.
16034
16035 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
16036
16037 * gdb.asm/asm-source.exp: Add v850 as supported target.
16038 * gdb.asm/v850.inc: New file.
16039
16040 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
16041
16042 * gdb.c++/annota2.exp (annotate-quit): Add comment.
16043
16044 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
16045
16046 * gdb.base/break.exp: Check 'break "marker2"'.
16047
16048 2002-05-10 Michael Snyder <msnyder@redhat.com>
16049
16050 * gdb.base/long_long.exp: Fix typo.
16051
16052 2002-05-10 Jim Blandy <jimb@redhat.com>
16053
16054 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
16055 a bug.
16056
16057 * gdb.base/printcmds.exp (test_integer_literals_rejected):
16058 Recognize more detailed error message produced by the macro
16059 expander's lexical analyzer.
16060 * lib/gdb.exp (test_print_reject): Same.
16061
16062 2002-05-09 Mark Kettenis <kettenis@gnu.org>
16063
16064 * gdb.c++/method.exp: Fix typo.
16065
16066 2002-05-08 Michael Snyder <msnyder@redhat.com>
16067
16068 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16069 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
16070 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
16071 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16072 Add iftarget clause for strongarm.
16073
16074 2002-05-06 Michael Snyder <msnyder@redhat.com>
16075
16076 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16077 (gdb_continue_to_end): Accept output from status wrapper.
16078 * gdb.base/ending-run.exp: Add case for output from status wrapper.
16079 Clean up fail messages to match pass messages.
16080
16081 Enable the "needs_status_wrapper" testsuite feature.
16082 * lib/gdb.exp (gdb_wrapper_init): New procedure.
16083 (gdb_compile): Conditionally call gdb_wrapper_init.
16084 * gdb.base/a2-run.exp: Recognize output from status wrapper.
16085 * gdb.c++/method.exp: Recognize output from status wrapper.
16086
16087 2002-05-06 Ben Elliston <bje@redhat.com>
16088 From Graydon Hoare <graydon@redhat.com>
16089
16090 * config/sid.exp: Include support for "rawsid" protocol.
16091
16092 2002-05-03 Jim Blandy <jimb@redhat.com>
16093
16094 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
16095 * gdb.c++/hang3.C: New file.
16096
16097 2002-05-04 Andrew Cagney <ac131313@redhat.com>
16098
16099 * gdb.base/default.exp: Remove obsolete code.
16100 * gdb.c++/misc.exp: Ditto. Update copyright.
16101 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
16102 * gdb.base/whatis.exp: Ditto. Update copyright.
16103 * gdb.base/scope.exp: Ditto. Update copyright.
16104 * gdb.base/ptype.exp: Ditto. Update copyright.
16105 * gdb.base/printcmds.exp: Ditto. Update copyright.
16106 * gdb.base/opaque.exp: Ditto. Update copyright.
16107 * gdb.base/list.exp: Ditto.
16108 * gdb.base/funcargs.exp: Ditto. Update copyright.
16109 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
16110 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
16111 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
16112 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
16113 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
16114 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
16115
16116 2002-05-02 Michael Snyder <msnyder@redhat.com>
16117
16118 * gdb.base/watchpoint.exp: Add xscale target.
16119 * gdb.base/long_long.exp: Add xscale target.
16120 * gdb.base/default.exp: Add xscale target.
16121
16122 2002-05-01 Jim Blandy <jimb@redhat.com>
16123
16124 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
16125 gdb.c++/hang.exp: New test.
16126
16127 2002-05-01 Fred Fish <fnf@redhat.com>
16128
16129 * gdb.base/completion.exp: Handle completions of "./Make" for
16130 more than one completion possibility, as is the case when we
16131 build and test in the source tree.
16132
16133 2002-04-29 Anthony Green <green@redhat.com>
16134
16135 * gdb.java/jmisc1.exp: New file.
16136 * gdb.java/jmisc2.exp: New file.
16137
16138 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
16139
16140 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
16141
16142 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
16143
16144 * gdb.base/help.exp: Change 'help status' to allow for target
16145 dependent output differences.
16146
16147 2002-04-22 Michael Chastain <mec@shout.net>
16148
16149 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
16150
16151 2002-04-22 Michael Chastain <mec@shout.net>
16152
16153 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
16154
16155 2002-04-17 David S. Miller <davem@redhat.com>
16156
16157 * gdb.asm/sparc64.inc: New file.
16158 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
16159
16160 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
16161
16162 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
16163 instruction file directly into the build tree. Clean up at end of
16164 test.
16165
16166 2002-04-18 David S. Miller <davem@redhat.com>
16167
16168 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
16169 handle 64-bit platforms correctly.
16170 * gdb.base/maint.exp: Likewise.
16171
16172 2002-04-18 Kevin Buettner <kevinb@redhat.com>
16173
16174 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
16175 ``-fpic'' when compiling files comprising a shared library, but
16176 it does need additional linker flags in order to find shared
16177 libraries at run time.
16178
16179 2002-04-18 Kevin Buettner <kevinb@redhat.com>
16180
16181 * gdb.base/cvexpr.c (use): New function.
16182 (main): Invoke use() on all global variables to prevent
16183 some linkers from deleting these otherwise unused symbols.
16184
16185 2002-04-17 Michael Chastain <mec@shout.net>
16186 From David S. Miller <davem@redhat.com>
16187
16188 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
16189 handle 64-bit platforms correctly.
16190
16191 2002-04-12 Michael Snyder <msnyder@redhat.com>
16192 From Jim Blandy <jimb@redhat.com>
16193 * gdb.base/foo.c (foox): Remove section attribute; the linker
16194 script can handle this instead.
16195 * gdb.base/bar.c (barx): Same.
16196 * gdb.base/baz.c (bazx): Same.
16197 * gdb.base/grbx.c (grbxx): Same.
16198
16199 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
16200 manager doesn't automatically unmap overlays unnecessarily.
16201
16202 2002-04-10 Martin M. Hunt <hunt@redhat.com>
16203
16204 * gdb.base/ending-run.exp: Fix pattern for Mips targets
16205 stepping out of main.
16206
16207 2002-04-09 Michael Chastain <mec@shout.net>
16208
16209 * gdb.c++/local.cc (main): Move call to marker1() inside nested
16210 scope so that the nested scope tests will make sense.
16211 * gdb.c++/local.exp: Write patterns that actually work with gcc
16212 (the HP patterns "were never known to work with gcc").
16213 Keep the old aCC patterns too.
16214
16215 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
16216
16217 * gdb.base/attach.exp: Correct target board test.
16218
16219 2002-04-08 Michael Chastain <mec@shout.net>
16220
16221 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
16222 in a const method. Add some xfail and fail cases for configurations
16223 that do not emit the "const ...".
16224
16225 2002-04-07 Michael Chastain <mec@shout.net>
16226
16227 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
16228 Accept "A * const" and "const A * const" as type of "this".
16229 Fix spelling of getFunky throughout. Make messages uniform.
16230
16231 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
16232
16233 Work around for PR gdb/285:
16234 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
16235
16236 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
16237
16238 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
16239 instructions file at run time instead of configure time.
16240 Sometimes we run the test in a directory that is not the one we
16241 configured in.
16242 * gdb.asm/configure.in: Delete creation of symlink.
16243 * gdb.asm/configure: Regenerate.
16244
16245 2002-04-05 J. Brobecker <brobecker@gnat.com>
16246
16247 * gdb.gdb/xfullpath.exp: New test, to exercise the new
16248 xfullpath () function.
16249
16250 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
16251
16252 * gdb.asm/Makefile.in: Correct dependencies.
16253
16254 * gdb.asm/powerpc.inc: New file.
16255 * gdb.asm/asm-source.exp: Add PowerPC.
16256 * gdb.asm/configure.in: Likewise.
16257 * gdb.asm/configure: Regenerated.
16258
16259 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
16260
16261 * gdb.base/relocate.exp: New file.
16262 * gdb.base/relocate.c: New file.
16263
16264 2002-04-04 Fred Fish <fnf@redhat.com>
16265
16266 * gdb.base/step-test.exp: Update comment regarding stopping in
16267 memcpy/bcopy calls inserted as part of the compiler runtime.
16268
16269 2002-04-04 Michael Snyder <msnyder@redhat.com>
16270
16271 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
16272
16273 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
16274
16275 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
16276 (gdb_expect): Remove $notransfer hack.
16277
16278 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
16279
16280 * gdb.c++/classes.exp ("calling method for small class"): Match
16281 updated register output.
16282
16283 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
16284
16285 Fix PR gdb/452
16286 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
16287 when finished. Make gdb_file_cmd send "exec-file" when
16288 appropriate.
16289
16290 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
16291
16292 * gdb.base/attach.exp: Remove extra setup_xfail.
16293
16294 2002-03-26 Michael Snyder <msnyder@redhat.com>
16295
16296 * gdb.base/default.exp: Add tests for dump, append, and restore.
16297 * gdb.base/help.exp: Add tests for dump, append, and restore.
16298 * gdb.base/dump.exp: New file, test dump, append and restore.
16299 * gdb.base/dump.c: New file.
16300
16301 2002-03-27 Michael Snyder <msnyder@redhat.com>
16302
16303 * gdb.base/help.exp: Modify expect strings to reflect
16304 clean-ups in help messages.
16305
16306 2002-03-26 Fred Fish <fnf@redhat.com>
16307
16308 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
16309 have debugging info for those functions and the compiler uses them
16310 internally to copy structs around.
16311
16312 2002-03-26 Fred Fish <fnf@redhat.com>
16313
16314 * gdb.base/list.exp: Revert the change made yesterday and add note
16315 about why we don't list the default lines for remote targets.
16316
16317 2002-03-25 Michael Snyder <msnyder@redhat.com>
16318
16319 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
16320
16321 2002-03-25 Fred Fish <fnf@redhat.com>
16322
16323 * gdb.base/list.exp: This test works on remote targets so remove
16324 the short circuit for remote targets. Update copyright.
16325
16326 2002-03-25 Fred Fish <fnf@redhat.com>
16327
16328 * gdb.base/attach.exp: Fix logic error that was suppressing this
16329 test for all non hppa*-*-hpux* targets, instead of the hp target.
16330 Move comments closer to the suppression point. Also now need to
16331 check that we are running natively.
16332
16333 2002-03-22 Michael Snyder <msnyder@redhat.com>
16334
16335 * gdb.base/default.exp: Add test for gcore. Update copyright.
16336 * gdb.base/help.exp: Add test for gcore. Update copyright.
16337
16338 2002-03-06 Fred Fish <fnf@redhat.com>
16339
16340 * gdb.base/funcargs.c: Remove extraneous ';' character.
16341 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
16342
16343 2002-03-04 Michael Chastain <mec@shout.net>
16344
16345 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
16346 accommodate gcc v3 function signature.
16347 * gdb.mi/mi0-var-cmd-exp: Ditto.
16348
16349 2002-02-24 Andrew Cagney <ac131313@redhat.com>
16350
16351 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
16352 ``GNU/Linux'' or ``Linux kernel''
16353 * testsuite/gdb.threads/pthreads.c: Ditto.
16354
16355 2002-02-24 Michael Chastain <mec@shout.net>
16356
16357 * gdb.threads/pthreads.c (thread1): Add a return statement.
16358 (thread2): Likewise.
16359 (foo): Likewise.
16360
16361 2002-02-23 Michael Chastain <mec@shout.net>
16362
16363 * gdb.threads/linux-dp.c (philosopher): Add a return statement
16364 to placate gcc.
16365
16366 2002-02-23 Michael Chastain <mec@shout.net>
16367
16368 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
16369 test "ptype bint". The test passes on all my stabs configurations.
16370
16371 2002-02-21 Jim Blandy <jimb@redhat.com>
16372
16373 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
16374 filename at a time, and watch for the ones we want to see.
16375
16376 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
16377 types of pointers to prototyped functions.
16378
16379 2002-02-20 Andrew Cagney <ac131313@redhat.com>
16380
16381 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
16382 signed, unsigned and straight char.
16383 (padding_char, padding_short, padding_int, padding_long,
16384 padding_long_long, padding_float, padding_double,
16385 padding_long_double): New global variables.
16386 (fill, fill_structs): New functions.
16387
16388 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
16389 for correctly sized writes. Update copyright.
16390 (get_valueof): New procedure.
16391 (get_sizeof): Call get_valueof.
16392 (check_valueof): New procedure.
16393 (check_padding): New procedure.
16394
16395 2002-02-20 Michael Chastain <mec@shout.net>
16396
16397 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
16398 to setup_xfail. Document some of the remaining calls.
16399
16400 2002-02-18 Michael Chastain <mec@shout.net>
16401
16402 * gdb.c++/userdef.exp: Update copyright year.
16403
16404 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
16405
16406 * gdb.c++/userdef.exp: Test overloaded operators properly.
16407 Remove xfails.
16408
16409 2002-02-14 Michael Snyder <msnyder@redhat.com>
16410
16411 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
16412
16413 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
16414
16415 * gdb.base/a2-run.exp: Check for a remote target properly.
16416 * gdb.base/annota1.exp: Likewise.
16417 * gdb.base/list.exp: Likewise.
16418 * gdb.base/reread.exp: Likewise.
16419 * gdb.base/scope.exp: Likewise.
16420 * gdb.base/shlib-call.exp: Likewise.
16421 * gdb.base/term.exp: Likewise.
16422 * gdb.c++/annota2.exp: Likewise.
16423
16424 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
16425
16426 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
16427
16428 2002-02-10 Michael Chastain <mec@shout.net>
16429
16430 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
16431 (call_after_alloca): Ditto.
16432
16433 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
16434
16435 * gdb.base/ending-run.exp: Guard "cont" test with
16436 gdb_skip_stdio_test.
16437
16438 2002-02-06 Jim Blandy <jimb@redhat.com>
16439
16440 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
16441 from here...
16442 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
16443 To here. Disable this test on non-HP platforms. Add big comment.
16444
16445 2002-02-04 Michael Snyder <msnyder@redhat.com>
16446
16447 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
16448 other than d10v and m32r.
16449
16450 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
16451
16452 * gdb.base/default.exp: Rewrite test patterns to reduce time
16453 taken to match them.
16454
16455 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
16456
16457 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
16458 Allow a start function above main.
16459 * gdb.threads/linux-dp.exp: Fix copyright date.
16460
16461 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
16462
16463 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
16464 (check_philosopher_stack): Check for manager thread before checking
16465 for a just-starting thread.
16466
16467 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
16468
16469 From Neil Booth <neil@daikokuya.demon.co.uk>:
16470 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
16471 warnings.
16472
16473 2002-01-21 Fred Fish <fnf@redhat.com>
16474
16475 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
16476 not caller.
16477
16478 2002-01-21 Jim Blandy <jimb@redhat.com>
16479
16480 * gdb.base/reread.exp: Check that GDB properly re-reads the
16481 executable file when it changes while no inferior is running.
16482
16483 2002-01-21 Fred Fish <fnf@redhat.com>
16484
16485 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
16486 optionally accept the "shlib events" variation.
16487
16488 2002-01-21 Jim Blandy <jimb@redhat.com>
16489
16490 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
16491 call `fflush' after every `printf', so that the output is produced
16492 at predictable points, regardless of whatever buffering does (or
16493 doesn't) take place.
16494 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
16495 at different points.
16496
16497 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
16498
16499 * gdb.c++/inherit.exp: Update copyright years.
16500 * gdb.c++/method.exp: Likewise.
16501
16502 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
16503
16504 * gdb.c++/classes.exp: Update for improved v3 support and skipping
16505 artificial methods/arguments.
16506 * gdb.c++/derivation.exp: Likewise.
16507 * gdb.c++/inherit.exp: Likewise.
16508 * gdb.c++/method.exp: Likewise.
16509 * gdb.c++/virtfunc.exp: Likewise.
16510
16511 2002-01-18 Andrew Cagney <ac131313@redhat.com>
16512
16513 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
16514 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
16515 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16516 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16517 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16518 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16519
16520 2002-01-17 Jim Blandy <jimb@redhat.com>
16521
16522 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16523 anchoring the pattern matching the entry point symbol's name.
16524
16525 2002-01-17 Andrew Cagney <ac131313@redhat.com>
16526
16527 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16528 continue/quit query. Update copyright.
16529
16530 2002-01-14 Michael Snyder <msnyder@redhat.com>
16531
16532 * gdb.base/gcore.exp: Remove extra debugging output.
16533
16534 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
16535
16536 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16537 for slightly dubious v2 mangled string.
16538
16539 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
16540
16541 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16542
16543 2002-01-10 Jason Merrill <jason@redhat.com>
16544
16545 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
16546
16547 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16548 constructors.
16549 * gdb.c++/derivation.exp: Likewise.
16550 * gdb.c++/templates.exp: Likewise.
16551 * gdb.c++/virtfunc.exp: Likewise.
16552
16553 2002-01-10 Michael Snyder <msnyder@redhat.com>
16554
16555 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
16556
16557 2002-01-08 Michael Snyder <msnyder@redhat.com>
16558
16559 * gdb.base/gcore.exp: New test for generate-core-file command.
16560 * gdb.base/gcore.c: Testcase for above.
16561 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16562
16563 2002-01-08 Jason Merrill <jason@redhat.com>
16564
16565 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16566
16567 2002-01-07 Fred Fish <fnf@redhat.com>
16568
16569 * gdb.c++/overload.exp: Remove unconditional xfails for:
16570 print foo_instance1.overloadargs(1)
16571 print foo_instance1.overloadargs(1, 2)
16572 print foo_instance1.overloadargs(1, 2, 3)
16573 print foo_instance1.overloadargs(1, 2, 3, 4)
16574 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16575 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16576 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16577 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16578 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16579 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16580 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16581 print foo_instance1.overload1arg()
16582 print foo_instance1.overload1arg((char)arg2)
16583 print foo_instance1.overload1arg((signed char)arg3)
16584 print foo_instance1.overload1arg((unsigned char)arg4)
16585 print foo_instance1.overload1arg((int)arg7)
16586 print foo_instance1.overload1arg((unsigned int)arg8)
16587 print foo_instance1.overload1arg((float)arg11)
16588 print foo_instance1.overload1arg((double)arg12)
16589
16590 2002-01-07 Michael Snyder <msnyder@redhat.com>
16591
16592 * gdb.base/huge.exp: New test. Print a very large target data object.
16593 (skip_huge_test): New test variable. Define if you want to skip this
16594 test. The test reads an 8 megabyte data object from the target, so it
16595 might be very time consuming on remote targets with a slow connection.
16596 * gdb.base/huge.c: New file. Test case for above.
16597
16598 2002-01-07 Fred Fish <fnf@redhat.com>
16599
16600 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16601 g_instance.bfoo, and g_instance.cfoo.
16602
16603 2002-01-07 Jeffrey A Law <law@redhat.com>
16604
16605 * gdb.base/break.c (multi_line_if_conditional): New function.
16606 (multi_ilne_while_conditional): Likewise.
16607 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16608 IF or WHILE condition puts the breakpoint at the start of
16609 the condition.
16610
16611 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16612 hppa*-*-hpux* expected failure.
16613 * gdb.base/structs.exp (do_function_calls): Similarly.
16614
16615 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16616 watchpoints.
16617
16618 2002-01-06 Andrew Cagney <ac131313@redhat.com>
16619
16620 Fix PR gdb/66.
16621 * gdb.base/structs.exp: Replace skip for a29k with skip for
16622 gdb,cannot_call_functions.
16623 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16624 * gdb.base/callfuncs.exp: Ditto.
16625 * gdb.base/call-rt-st.exp: Ditto.
16626 * gdb.base/call-strs.exp: Ditto.
16627 * gdb.base/callfwmall.exp: Ditto.
16628 * gdb.base/scope.exp: Obsolete xfail a29k.
16629 * gdb.c++/misc.exp: Ditto.
16630 * gdb.c++/cplusfuncs.exp: Ditto.
16631 * gdb.base/ptype.exp: Ditto.
16632 * gdb.base/printcmds.exp: Ditto.
16633 * gdb.base/opaque.exp: Ditto.
16634 * gdb.base/list.exp: Ditto.
16635 * gdb.base/funcargs.exp: Ditto.
16636 * gdb.base/default.exp: Ditto.
16637
16638 2002-01-04 Michael Snyder <msnyder@redhat.com>
16639
16640 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
16641 * gdb.base/maint.exp: Add tests for maint info sections options.
16642
16643 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16644
16645 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16646
16647 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
16648
16649 * gdb.asm/arm.inc: New file.
16650 * gdb.asm/asm-source.exp: Add arm targets.
16651 * gdb.asm/configure.in: Ditto.
16652 * gdb.asm/configure: Recreated from configure.in.
16653
16654 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16655
16656 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16657 with HP's compiler.
16658 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16659 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16660 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16661 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16662
16663 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16664 either HP's compilers or GCC.
16665
16666 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16667 a SIGBUS or SIGSEGV.
16668
16669 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16670
16671 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16672 can be compiled with either HP's compiler or GCC.
16673
16674 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16675 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16676 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16677
16678 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16679 to match current gdb output. Update due to using auto-solib-limit
16680 for limiting instead of overloading auto-solib-add.
16681 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16682 test program.
16683
16684 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
16685 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16686 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16687 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16688 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16689 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16690 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16691 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16692 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16693 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16694 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16695 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16696 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
16697
16698 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16699 a SIGTRAP to the inferior.
16700
16701 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
16702
16703 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16704 Substitute call to target_link by call to gdb_compile.
16705
16706 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16707
16708 * gdb.base/break.exp: Fix HP specific search string when testing
16709 backtracing in a called function.
16710
16711 * gdb.base/constvars.exp: Only set lang to C++ if we're
16712 compiling the test with HP's compilers.
16713 * gdb.base/volatile.exp: Similarly.
16714
16715 2001-12-19 Jim Blandy <jimb@redhat.com>
16716
16717 * gdb.base/printcmds.exp: Expect the null character to be printed
16718 as '\0', and the '\013' to be printed as '\v'.
16719 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16720 * gdb.base/setvar.exp: Same.
16721
16722 2001-12-17 Jim Blandy <jimb@redhat.com>
16723
16724 * gdb.base/completion.exp: Rather than completing very long
16725 filenames, which can make the readline library produce output we
16726 don't recognize, cd to the directory first, and then complete
16727 using nice, short relative paths.
16728
16729 * gdb.base/completion.exp: On some systems, there is, in fact, a
16730 variable named `b' in scope, since GDB treats all static
16731 variables as being in scope. So use `no_var_named_this'
16732 instead of `b'.
16733
16734 * gdb.base/corefile.exp: Recognize the message saying that GDB
16735 can't find the core file's registers as a failure.
16736
16737 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16738
16739 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16740 test expect string more specific.
16741
16742 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
16743
16744 * gdb.asm/asm-source.exp: Add support for xstormy16.
16745 * gdb.asm/configure.in: Ditto.
16746 * gdb.asm/configure: Rebuild.
16747 * gdb.asm/xstormy16.inc: New file.
16748
16749 2001-12-10 Fred Fish <fnf@redhat.com>
16750
16751 * gdb.base/maint.exp: Update to match changes in type dumping code.
16752
16753 2001-12-10 Jim Blandy <jimb@redhat.com>
16754
16755 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
16756 matching the entry point symbol's name at the beginning of the
16757 line.
16758
16759 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16760
16761 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16762 gdb.c++/inherit.exp, gdb.c++/method.exp,
16763 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16764 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16765 and class layout support.
16766
16767 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16768
16769 * gdb.c++/classes.exp: Add test for static member function.
16770 * gdb.c++/misc.cc: Add class with static member function.
16771
16772 2001-12-07 Jim Blandy <jimb@redhat.com>
16773
16774 If GDB says it can't find the struct the function returned, report
16775 those tests as `unsupported'.
16776 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16777 Rewrite subsequent tests to use it.
16778
16779 If GDB says it can't find the struct the function returned, report
16780 those tests as `unsupported'.
16781 * gdb.base/structs.exp (call_struct_func): New function.
16782 (do_function_calls): Use call_struct_func to call the functions
16783 returning structs.
16784
16785 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16786 whether functions are prototyped or not, so we can't possibly pass
16787 arguments to t_float_values2 properly.
16788
16789 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16790 value of `timeout' for targets other than the mips*tx39-*.
16791
16792 2001-12-06 Michael Snyder <msnyder@redhat.com>
16793
16794 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
16795 and detect whether the start symbol has a leading underscore.
16796
16797 2001-12-04 Jim Blandy <jimb@redhat.com>
16798
16799 * gdb.base/completion.exp: Clarify indentation.
16800
16801 2001-12-03 Jim Blandy <jimb@redhat.com>
16802
16803 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16804 variables on the S/390, not `.word'.
16805
16806 2001-11-30 Jim Blandy <jimb@redhat.com>
16807
16808 Add assembly-source tests for s390-ibm-linux.
16809 * gdb.asm/s390.inc: New file.
16810 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16811 the S/390 architecture.
16812 * gdb.asm/configure: Regenerated.
16813
16814 2001-11-30 Michael Snyder <msnyder@redhat.com>
16815
16816 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16817 next, info source, info sources, info line, global and static
16818 variables, and static functions.
16819 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16820 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16821 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16822 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16823 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16824 (gdbasm_leave): Restore frame pointer.
16825 (gdbasm_startup): Copy stack set-up from crt0.S.
16826
16827 2001-11-26 Fernando Nasser <fnasser@redhat.com>
16828
16829 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16830 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16831 to a local (non-static) variable. Copy tstruct.a to a static buffer
16832 and return a pointer to that buffer.
16833 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16834
16835 2001-11-24 Mark Kettenis <kettenis@gnu.org>
16836
16837 * gdb.asm/configure.in: Fix recognition of ix86 target.
16838 * gdb.asm/configure: Regenerate.
16839
16840 2001-11-21 Michael Snyder <msnyder@redhat.com>
16841
16842 * gdb.asm/sparc.inc: New file.
16843 * gdb.asm/asm-source.exp: Recognize sparc target.
16844 * gdb.asm/configure.in: Recognize sparc target.
16845 * gdb.asm/configure: Regenerate.
16846
16847 2001-11-21 Michael Snyder <msnyder@redhat.com>
16848
16849 * gdb.asm/m32r.inc: New file.
16850 * gdb.asm/asm-source.exp: Recognize m32r target.
16851 * gdb.asm/configure.in: Recognize m32r target.
16852 * gdb.asm/configure: Regenerate.
16853
16854 2001-11-20 Michael Snyder <msnyder@redhat.com>
16855
16856 * gdb.asm/i386.inc: New file.
16857 * gdb.asm/asm-source.exp: Recognize ix86 target.
16858 * gdb.asm/configure.in: Recognize ix86 target.
16859 * gdb.asm/configure: Regenerate.
16860
16861 * gdb.c++/namespace.exp: Fix quotes in output messages.
16862
16863 2001-11-14 Michael Snyder <msnyder@redhat.com>
16864
16865 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16866 qualifier in a type cast expression, to designate an address
16867 in the instruction space (Harvard architecture).
16868
16869 2001-11-13 Michael Snyder <msnyder@redhat.com>
16870
16871 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16872 Tests for expressions using 'const' and 'volatile'.
16873
16874 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16875
16876 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16877
16878 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16879
16880 * lib/mi-support.exp (mi_run_to_helper): Move comments
16881 outside of gdb_expect.
16882
16883 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16884
16885 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16886 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16887 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16888 mi0_run_to): New functions.
16889 * gdb.mi/mi-simplerun.exp: Use them.
16890 * gdb.mi/mi0-simplerun.exp: Likewise.
16891 * gdb.mi/mi-var-cmd.exp: Likewise.
16892 * gdb.mi/mi0-var-cmd.exp: Likewise.
16893
16894 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16895
16896 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16897 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16898
16899 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16900
16901 * gdb.base/restore.exp: Include $expected value in restored test
16902 message.
16903
16904 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16905
16906 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16907 implemented.
16908
16909 2001-11-08 Michael Snyder <msnyder@redhat.com>
16910
16911 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16912 Add pass/fail message for stop at breakpoint in call dummy function.
16913
16914 2001-11-07 Michael Snyder <msnyder@redhat.com>
16915
16916 * gdb.c++/templates.exp (test_template_breakpoints):
16917 If we get an overload menu, but it does not match what
16918 we expect, we still need to issue the "cancel" command.
16919 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16920 making the whitespace optional. Argument for "new" may be
16921 "unsigned" as well as "unsigned int/long".
16922 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16923 making the whitespace optional. Also replace "(void) with
16924 "((void|)), making the keyword "void" optional.
16925 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16926 making the whitespace optional. Also replace "(void) with
16927 "((void|)), making the keyword "void" optional.
16928 * gdb.base/callfuncs.c (t_float_values): This function must
16929 _not_ be prototyped, and the following function (t_float_values2)
16930 must be prototyped (if the compiler supports it), so that GDB
16931 can be tested against both cases. Usually one case involves
16932 promotion of float to double, while the other does not.
16933 * gdb.base/callfwmall.c: Ditto.
16934 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16935 includes a stack frame for "start".
16936
16937 2001-11-05 Jim Blandy <jimb@redhat.com>
16938
16939 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16940 pointers are 32 bits long, and that offsets of relocs are always
16941 stored in the data (REL-style), and not in the reloc entry itself
16942 (RELA-style).
16943 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16944 stabs.
16945
16946 2001-11-01 Michael Snyder <msnyder@redhat.com>
16947
16948 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16949 and regular expression operators by using quoting.
16950
16951 2001-10-31 Michael Snyder <msnyder@redhat.com>
16952
16953 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16954 depending on what the symbol table contains.
16955 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16956 the output of the ptype command. Similarly, accept both "const &"
16957 and "const&".
16958
16959 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16960
16961 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16962 symbol `STORAGE' to allow to choose the storage class of
16963 the local datastructures.
16964 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16965 compiler directive.
16966
16967 2001-10-30 Michael Snyder <msnyder@redhat.com>
16968
16969 * gdb.base/jump.exp: Allow it to run for all targets.
16970
16971 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16972
16973 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16974 with new double_array size.
16975 (main): Change storage class of all local variables to static.
16976 Reduce size of double_array to 9.
16977 * gdb.base/call-ar-st.exp: Increase timeout value.
16978 Change expected output for double array to match new size in
16979 call-ar-st.c.
16980
16981 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16982
16983 * gdb.base/ending-run.exp: Create identical output when passing
16984 `step to end of run' case. Add regular expression branch satisfying
16985 Stormy16 target.
16986
16987 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16988
16989 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16990 that we catch the expected failure under Linux/x86.
16991
16992 2001-10-29 Orjan Friberg <orjanf@axis.com>
16993
16994 * gdb.base/setvar.exp: Escape curly braces.
16995 * gdb.stabs/weird.exp: Ditto.
16996
16997 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16998
16999 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
17000 * gdm.mi/mi0-hack-cli.exp: Likewise.
17001
17002 2001-10-25 Andrew Cagney <ac131313@redhat.com>
17003
17004 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
17005 messages.
17006
17007 2001-10-21 Andrew Cagney <ac131313@redhat.com>
17008
17009 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
17010 checking MI enabled.
17011
17012 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
17013
17014 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
17015
17016 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
17017
17018 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
17019 if gdb child process crashes, just signal an error.
17020
17021 2001-10-02 Jim Blandy <jimb@redhat.com>
17022
17023 * lib/gdb.exp (test_xfail_format): Simplify.
17024
17025 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
17026 front of the variable name `format'. Simplify `if'.
17027
17028 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
17029
17030 * gdb.threads/pthreads.exp: Wait for output and delay
17031 before sending ^C.
17032
17033 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
17034
17035 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
17036 some incorrect output instead of timing out.
17037 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
17038
17039 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
17040
17041 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
17042 check to allow additional `int'.
17043
17044 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
17045
17046 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
17047 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
17048
17049 2001-09-27 Michael Snyder <msnyder@redhat.com>
17050
17051 * lib/gdb.exp (test_debug_format): New proc.
17052 (setup_xfail_format): Use new proc test_debug_format.
17053 * gdb.base/constvars.exp (local_compiler_xfail_check): New
17054 proc; use new service proc test_debug_format.
17055 Replace all other "gcc_compiled" tests with this test.
17056 * gdb.base/volatile.exp (local_compiler_xfail_check): New
17057 proc; use new service proc test_debug_format.
17058 Replace all other "gcc_compiled" tests with this test.
17059
17060 2001-09-27 Michael Snyder <msnyder@redhat.com>
17061
17062 * gdb.base/cvexpr.exp: New file.
17063 * gdb.base/cvexpr.c: New file
17064 Test for expressions using const and volatile keywords.
17065
17066 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
17067
17068 * gdb.base/constvars.exp: Check for different orders of keywords
17069 and additional "int" strings in output.
17070
17071 2001-09-22 Andrew Cagney <ac131313@redhat.com>
17072
17073 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17074 responses from "help maint".
17075
17076 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
17077
17078 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17079 to localhost:NNN instead of :NNN, in case Xvfb is listening
17080 only on TCP.
17081
17082 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
17083
17084 * gdb.base/recurse.exp: When checking leaving the watchpoint
17085 scope, recognize when gdb is in function's epilogue and pass.
17086
17087 2001-09-18 Keith Seitz <keiths@redhat.com>
17088
17089 * lib/insight-support.exp (_gdbtk_export_target_info): Add
17090 support for running tests against sid targets.
17091 (gdbtk_done): Ditto.
17092
17093 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
17094
17095 * gdb.base/ending-run.c (main): Set stdout buffersize
17096 to the same reasonable value for any target.
17097 * gdb.base/ending-run.exp: Add a regular expression
17098 to make testsuite happy on Sanyo Stormy16 target.
17099
17100 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
17101
17102 * gdb.base/display.c (do_loops): Add float variable `f'.
17103 Increment f in loop.
17104 * gdb.base/display.exp: Increment timeout by 60 seconds.
17105 Change float display test to use variable `f'.
17106
17107 2001-09-17 Jim Blandy <jimb@redhat.com>
17108
17109 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
17110 overflowing the limited breakpoint tables on some ROM monitors
17111 (like the ROM68K).
17112
17113 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
17114
17115 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
17116 the "-ac" (disable access control) flag.
17117
17118 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
17119
17120 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
17121 ints.
17122
17123 2001-08-30 Keith Seitz <keiths@redhat.com>
17124
17125 * lib/gdb.exp: Move all insight-related functionality into
17126 separate file.
17127 * lib/insight-support.exp: New file.
17128
17129 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
17130
17131 * config/sid.exp (sid_start): Never set sid verbosity; disable
17132 expect_background {} that consumed its stdout; tolerate </dev/null.
17133 Attempt to set endianness override in "sid" protocol mode. Cleanup.
17134
17135 2001-08-18 Andrew Cagney <ac131313@redhat.com>
17136
17137 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
17138 CLI jump command to start it.
17139 (mi_run_to_main): Fail immediatly when unexpected output.
17140
17141 2001-08-18 Andrew Cagney <ac131313@redhat.com>
17142
17143 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
17144 beginning of function. Fix PR gdb/191.
17145
17146 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
17147
17148 * config/sid.exp (sid_start): Don't warn if we cannot figure out
17149 what to force sid endianness to.
17150
17151 2001-08-15 Keith Seitz <keiths@redhat.com>
17152
17153 * lib/gdb.exp (gdbtk_start): Don't set environment
17154 variables for TCL_LIBRARY and friends. Insight will
17155 now figure these out for itself.
17156
17157 2001-08-02 Michael Snyder <msnyder@redhat.com>
17158
17159 * gdb.base/completion.exp: Remove the symbol "a64l" from
17160 the expect string; this is target-specific, and not related
17161 to what is being tested.
17162
17163 2001-08-02 Dave Brolley <brolley@redhat.com>
17164
17165 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
17166
17167 2001-07-25 Michael Snyder <msnyder@redhat.com>
17168
17169 * gdb.base/consecutive.exp: New file. Test stepping over
17170 breakpoints on consecutive instructions.
17171 * gdb.base/consecutive.c: New file.
17172
17173 * gdb.base/call-rt-st.exp: Use double-backslash to quote
17174 curly braces in regular expressions.
17175
17176 2001-07-25 Michael Snyder <msnyder@redhat.com>
17177
17178 * gdb.base/ending-run.exp: Accept "Program exited normally" as
17179 legitimate output from stepping out of main.
17180
17181 2001-07-22 Keith Seitz <keiths@redhat.com>
17182
17183 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
17184 the empty string, do not run the tests.
17185
17186 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17187
17188 * gdb.base/long_long.exp: Detect size of pointer. Take into
17189 account 2-byte pointers when testing for p/a results.
17190
17191 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17192
17193 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
17194 and defined to 1K for m68hc11.
17195 (random_data): Reduce table to 1K for embedded platforms (68hc11).
17196 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
17197 (sizeof_random_data): New variable to tell the size of the data table;
17198 don't test past this size; always run to main.
17199
17200 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17201
17202 * gdb.base/return2.exp: return of long long and double fails for
17203 68HC11; don't execute these tests on that platform.
17204 * gdb.base/return.exp: Return of a double fails for 68hc11.
17205
17206 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
17207
17208 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
17209 tests that print a float.
17210 * call-rt-st.exp: Likewise.
17211
17212 2001-07-12 Mark Kettenis <kettenis@gnu.org>
17213
17214 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
17215 running this test on Linux.
17216
17217 2001-06-24 Michael Chastain <chastain@redhat.com>
17218
17219 * gdb.base/arithmet.exp: Remove some tests to make all test names
17220 unique.
17221
17222 2001-07-03 Michael Snyder <msnyder@redhat.com>
17223
17224 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
17225 the output of the ptype command.
17226
17227 2001-07-02 Michael Snyder <msnyder@redhat.com>
17228
17229 * gdb.base/completion.exp: Don't assume that break.c is the only
17230 source file that may contain functions named "marker".
17231 * gdb.base/corefile.exp: Quote the curly braces in regexp.
17232
17233 2001-06-28 Andrew Cagney <ac131313@redhat.com>
17234
17235 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
17236 of files to delete.
17237
17238 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
17239 * gdb.disasm/h8300s.exp: New file.
17240 gdb.disasm/h8300s.s: Likewise.
17241
17242 2001-06-27 Andrew Cagney <ac131313@redhat.com>
17243
17244 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
17245 empty breakpoint tables.
17246
17247 2001-06-25 Andrew Cagney <ac131313@redhat.com>
17248
17249 * lib/mi-support.exp: Update args=... part of stop-reason
17250 patterns. Accept either a list or a tuple.
17251
17252 2001-06-23 Andrew Cagney <ac131313@redhat.com>
17253
17254 * lib/mi-support.exp: Remove local emacs variable defining
17255 change-log-default-name.
17256
17257 2001-06-22 Michael Chastain <chastain@redhat.com>
17258
17259 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
17260 This is operationally compatible with the previous version.
17261
17262 2001-06-13 Jim Blandy <jimb@redhat.com>
17263
17264 * lib/gdb.exp (gdb_test): Doc fix.
17265
17266 2001-06-10 Michael Chastain <chastain@redhat.com>
17267
17268 * gdb.base/exprs.exp: Remove a duplicate test.
17269
17270 2001-06-06 Jim Blandy <jimb@redhat.com>
17271
17272 * gdb.base/return2.exp (main): Use values to test float and double
17273 returns that are not NaN's, to avoid being confused by IEEE
17274 comparison rules.
17275
17276 2001-06-04 Michael Snyder <msnyder@redhat.com>
17277
17278 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
17279 non-zero if control_c fails. Terminate the test on failure,
17280 rather than wait for 12 more tests to time out.
17281
17282 2001-06-06 Jim Blandy <jimb@redhat.com>
17283
17284 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
17285 Don't forget to match the GDB prompt.
17286
17287 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
17288
17289 2001-06-04 Jim Blandy <jimb@redhat.com>
17290
17291 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
17292 command.
17293
17294 2001-05-31 Kevin Buettner <kevinb@redhat.com>
17295
17296 * gdb.base/annota1.exp (info break): Match four or more spaces
17297 after "Address".
17298
17299 2001-05-31 Michael Chastain <chastain@redhat.com>
17300
17301 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
17302 (dm_type_int_star): Likewise.
17303 (dm_type_long_star): Likewise.
17304 (dm_type_void_star): Likewise.
17305
17306 2001-05-29 Kevin Buettner <kevinb@redhat.com>
17307
17308 * gdb.base/completion.exp (INPUTRC): Set this environment variable
17309 to a known value in order to get consistent results regardless
17310 of the setting of INPUTRC or the presence or contents of .inputrc.
17311
17312 2001-05-24 Michael Snyder <msnyder@redhat.com>
17313
17314 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
17315 Don't require that the main thread and the manager thread are the
17316 first in the list.
17317
17318 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
17319 debugging. If test fails, issue an "unsupported" not a "fail".
17320
17321 2001-05-24 Jim Blandy <jimb@redhat.com>
17322
17323 Don't assume that short is shorter than int.
17324 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
17325 assume that shorts are smaller than ints. On a 16-bit machine,
17326 this isn't true.
17327 ("print unsigned char == (~0)"): Add test that verifies that ~0,
17328 an int, is not equal to ~0 stored in an unsigned char. This tests
17329 the same thing that the previous test meant to, but works on
17330 16-bit machines, too.
17331 ("print unsigned char != (~0)"): Same test, complemented.
17332
17333 2001-05-24 Michael Snyder <msnyder@redhat.com>
17334
17335 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
17336 test for (full_coverage == 0). This makes the test run faster,
17337 and prevents dejagnu getting out of step.
17338
17339 2001-05-23 Kevin Buettner <kevinb@redhat.com>
17340
17341 * gdb.base/finish.exp (finish_void): Revise pattern for
17342 stopping on the call statement to not permit stopping at
17343 the start of the instructions comprising the call sequence.
17344
17345 2001-05-19 Michael Chastain <chastain@redhat.com>
17346
17347 * gdb.base/callfuncs.exp: Make all test names unique.
17348 * gdb.base/commands.exp: Make all test names unique.
17349 * gdb.base/condbreak.exp: Make all test names unique.
17350 * gdb.base/dbx.exp: Make all test names unique.
17351 * gdb.base/default.exp: Make all test names unique.
17352 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
17353 and TIMEOUT messages to their corresponding PASS message.
17354 * gdb.base/ending-run.exp: Make all test names unique.
17355 * gdb.base/long_long.exp: Remove duplicate test.
17356
17357 2001-05-21 Kevin Buettner <kevinb@redhat.com>
17358
17359 * gdb.base/finish.exp (finish_void): Allow "finish" command to
17360 stop on the call statement as well as the statement after the
17361 call.
17362
17363 2001-05-21 Michael Snyder <msnyder@redhat.com>
17364
17365 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
17366
17367 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
17368
17369 * gdb.base/completion.exp: Revamp test. Make it execute on all
17370 platforms.
17371
17372 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
17373
17374 * config/gdbserver.exp (gdb_load): Handle the case
17375 in which the arguments to gdbserver are given in the
17376 baseboard configuration file.
17377 Also handle the case in which the server needs to do a
17378 load.
17379
17380 2001-05-07 Keith Seitz <keiths@cygnus.com>
17381
17382 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
17383 set up the display for testing.
17384 (gdbtk_start): Convert all paths to paths that tcl will like.
17385 Export target information to environment.
17386 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
17387 necessary.
17388 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
17389 (to_tcl_path): New proc to convert a given pathname into
17390 a path acceptible as an argument to a tcl command.
17391 (_gdbtk_export_target_info): New proc to export target info
17392 into the environment for gdbtk testing.
17393 (gdbtk_done): New proc to signal end-of-test.
17394
17395 2001-05-06 Jim Blandy <jimb@redhat.com>
17396
17397 * restore.c: Make the code of caller0 correspond to its comment.
17398
17399 2001-05-03 Michael Snyder <msnyder@redhat.com>
17400
17401 * config/sid.exp (gdb_target_sid): Check for error messages.
17402 On error or timeout, don't make expect exit (which will terminate
17403 all subsequent tests); instead just make gdb exit.
17404 (gdb_load): Check for error messages. On error or timeout,
17405 return a negative value.
17406
17407 2001-04-24 Jim Blandy <jimb@redhat.com>
17408
17409 * gdb.c++/templates.exp: If we see the prompt for the overload
17410 list, but we haven't recognized any of the longer patterns,
17411 arrange for this test to fail, not hang.
17412
17413 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
17414 variations.
17415
17416 2001-04-22 Michael Chastain <chastain@redhat.com>
17417
17418 * gdb.c++/local.exp: Use the 'runto' library function.
17419 * gdb.c++/namespace.exp: Likewise.
17420 * gdb.c++/overload.exp: Likewise.
17421
17422 2001-03-26 Kevin Buettner <kevinb@redhat.com>
17423
17424 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
17425 * gdb.base/step-line.exp: New file. Test step/next in presence of
17426 #line directives.
17427 * gdb.base/step-line.c: New file. Test program for the above.
17428 * gdb.base/step-line.inp: New file. We pretend that this file has
17429 been transformed by some other tool into step-line.c.
17430
17431 2001-03-21 Jim Blandy <jimb@redhat.com>
17432
17433 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
17434 unmangled operator names.
17435
17436 2001-03-20 Jim Blandy <jimb@redhat.com>
17437
17438 * gdb.threads/linux-dp.exp: Recognize an additional message
17439 generated by GDB when it doesn't understand how to debug threads
17440 on the target system.
17441
17442 2001-03-19 Andrew Cagney <ac131313@redhat.com>
17443
17444 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
17445
17446 2001-03-12 Michael Chastain <chastain@redhat.com>
17447
17448 * gdb.c++/derivation.exp: Use the 'runto' library function.
17449
17450 2001-03-12 Michael Chastain <chastain@redhat.com>
17451
17452 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
17453
17454 2001-02-24 Michael Chastain <chastain@redhat.com>
17455
17456 * gdb.c++/ref-types.exp: Change handwritten code to library
17457 function 'runto'.
17458
17459 2001-03-16 Orjan Friberg <orjanf@axis.com>
17460
17461 * gdb.base/signals.exp: Set count to 0 explicitly.
17462
17463 2001-03-15 Mark Salter <msalter@redhat.com>
17464
17465 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
17466 (gdb_target_monitor): Add check of gdb_target_cmd return value.
17467 (gdb_load): Add support for additional target_info: gdb_download_size
17468 and gdb_load_timeout.
17469
17470 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
17471
17472 * gdb.base/annota1.exp: Move test of isnative to earlier in the
17473 file -- to prevent failing when the compile fails but we have no
17474 intention of running the tests anyway.
17475
17476 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
17477 tests if set.
17478
17479 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
17480 integers.
17481
17482 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
17483 * gdb.c++/namespace.exp: Ditto.
17484
17485 2001-03-07 Orjan Friberg <orjanf@axis.com>
17486
17487 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
17488 * gdb.base/pointers.exp: Relax pattern match of decimals.
17489
17490 2001-03-06 Kevin Buettner <kevinb@redhat.com>
17491
17492 * Makefile.in, config/abug.exp, config/cfdbug.exp,
17493 config/cpu32bug.exp, config/dve.exp, config/est.exp,
17494 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
17495 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
17496 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
17497 config/sh.exp, config/sid.exp, config/slite.exp,
17498 config/sparclet.exp, config/udi.exp, config/unknown.exp,
17499 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
17500 config/vxworks.exp, config/vxworks29k.exp,
17501 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
17502 gdb.base/all-bin.exp, gdb.base/annota1.exp,
17503 gdb.base/arithmet.exp, gdb.base/assign.exp,
17504 gdb.base/async.exp, gdb.base/attach.exp,
17505 gdb.base/bitfields.exp, gdb.base/bitops.exp,
17506 gdb.base/break.exp, gdb.base/call-ar-st.exp,
17507 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
17508 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
17509 gdb.base/commands.exp, gdb.base/completion.exp,
17510 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
17511 gdb.base/constvars.exp, gdb.base/corefile.exp,
17512 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
17513 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
17514 gdb.base/ending-run.exp, gdb.base/environ.exp,
17515 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17516 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17517 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17518 gdb.base/funcargs.exp, gdb.base/help.exp,
17519 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17520 gdb.base/logical.exp, gdb.base/long_long.exp,
17521 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17522 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17523 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17524 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17525 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17526 gdb.base/regs.exp, gdb.base/relational.exp,
17527 gdb.base/remote.exp, gdb.base/reread.exp,
17528 gdb.base/restore.exp, gdb.base/return2.exp,
17529 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17530 gdb.base/selftest.exp, gdb.base/setshow.exp,
17531 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17532 gdb.base/sigall.exp, gdb.base/signals.exp,
17533 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17534 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17535 gdb.base/step-test.exp, gdb.base/structs.c,
17536 gdb.base/structs.exp, gdb.base/structs2.exp,
17537 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17538 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17539 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17540 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17541 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17542 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17543 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17544 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17545 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17546 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17547 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17548 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17549 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17550 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17551 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17552 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17553 gdb.trace/circ.exp, gdb.trace/collection.exp,
17554 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17555 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17556 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17557 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17558 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17559 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17560 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17561 notices.
17562
17563 2001-02-27 Michael Snyder <msnyder@cygnus.com>
17564
17565 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17566 first arg is int not float.
17567
17568 2001-02-22 Michael Snyder <msnyder@cygnus.com>
17569
17570 * gdb.base/reread.exp: Unsupported for non-native targets;
17571 doesn't work for remote debugging.
17572
17573 2001-02-19 Fernando Nasser <fnasser@redhat.com>
17574
17575 From Drew Moseley <dmoseley@redhat.com>
17576 * gdb.base/ending-run.exp: Properly handle the BSP state when
17577 stepping past the end of main.
17578
17579 2001-02-19 John Moore <jmoore@redhat.com>
17580
17581 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17582 Converted HPUX fix for non-expected items following multiple
17583 step commands into general solution for all platforms.
17584
17585 2001-02-18 Michael Chastain <chastain@redhat.com>
17586
17587 * gdb.c++/classes.exp (do_tests): Change runto statements
17588 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17589 statements demangler agnostic.
17590 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17591 (gdb_virtfunc_restart): Likewise.
17592
17593 2001-02-14 Michael Chastain <chastain@redhat.com>
17594
17595 * gdb.c++/inherit.exp (do_tests): Change runto statements
17596 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17597 statements demangler agnostic.
17598
17599 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17600
17601 * gdb.threads/pthreads.exp: Unify pass/fail messages for
17602 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17603 before calling common_routine 15 times'' tests.
17604
17605 2001-02-11 Michael Chastain <chastain@redhat.com>
17606
17607 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17608 Helps the test script figure out which demangler is in use.
17609 (dm_type_foo_ref): Ditto.
17610 (dm_type_int_star): Ditto.
17611 (dm_type_long_star): Ditto.
17612 (dm_type_unsigned_int): Ditto.
17613 (dm_type_void): Ditto.
17614 (dm_type_void_star): Ditto.
17615 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
17616 Probe the gdb demangler and set variables to accommodate
17617 formatting differences.
17618 (info_func_regexp): New function. Same as info_func, but
17619 matches against a regexp.
17620 (info_func): Match against a literal string.
17621 (print_addr_2): New function. Match against a literal string,
17622 which can be different from the input to gdb.
17623 (print_addr): Simply call print_addr_2 with the same argument twice.
17624 (test_lookup_operator_functions): Use demangler formatting variables.
17625 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17626 the tests in the same order as the C++ class declaration.
17627 (test_paddr_operator_functions): Ditto.
17628 (test_paddr_overloaded_functions): Ditto.
17629 (test_paddr_hairy_functions): Use demangler formatting variables.
17630 Add reference to gdb/19 for related tests.
17631 (do_tests): Call probe_demangler.
17632
17633 2001-01-30 Kevin Buettner <kevinb@redhat.com>
17634
17635 * gdb.c++/templates.cc (printf): Remove unused function definition.
17636
17637 2001-01-26 Felix Lee <flee@redhat.com>
17638
17639 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17640
17641 2001-01-25 matthew green <mrg@redhat.com>
17642
17643 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17644 up sid.
17645 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17646
17647 2001-01-25 matthew green <mrg@redhat.com>
17648
17649 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
17650 Deprecate $sid_spawn_id.
17651 (sid_exit): Remove code necessary only for `spawn.'
17652
17653 2001-01-25 matthew green <mrg@redhat.com>
17654
17655 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17656
17657 2001-01-28 Michael Chastain <chastain@redhat.com>
17658
17659 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17660 to call when tests fail. It takes gdb out of the overloaded
17661 function choice menu back to the main prompt, so that the test
17662 program stays synchronized.
17663 (set_bp_overloaded): New proc to collect all the common
17664 code for setting a breakpoint on an overloaded name. Calls
17665 take_gdb_out_of_choice_menu when needed.
17666 (menu_overload1arg): New variable to collect the repeated
17667 instances of the expected menu for an overloaded name. Change
17668 the regular expression to handle changes in g++ type encoding:
17669 "void" can be either "void" or "", and "unsigned int" can be
17670 either "unsigned int" or "unsigned".
17671 (continue_to_bp_overloaded): Change regular expressions to handle
17672 changes in g++ type encoding.
17673 (no proc): Call take_gdb_out_of_choice_menu when needed.
17674 Remove redundant calls to "info break". Accept either "canceled"
17675 or "cancelled". Change regular expressions in "info break"
17676 calls to handle changes in g++ type encoding. Give all tests
17677 unique strings.
17678
17679 2001-01-17 Ben Elliston <bje@redhat.com>
17680
17681 * config/sid.exp: New file.
17682
17683 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17684
17685 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17686
17687 2000-12-21 Michael Snyder <msnyder@cygnus.com>
17688
17689 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17690 Add a RE to accept a non-ascii char if one is ever presented.
17691
17692 2000-12-20 Fernando Nasser <fnasser@redhat.com>
17693
17694 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
17695
17696 2000-12-18 Michael Snyder <msnyder@cygnus.com>
17697
17698 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
17699 in regexp. One '\' does not suffice on Linux.
17700
17701 2000-12-09 Michael Chastain <chastain@redhat.com>
17702
17703 * gdb.base/break.exp (test_clear_command): Use a marker function
17704 rather than 'main' for the test function. Also move this
17705 test to an execution point where the marker function names are
17706 guaranteed to be bound to functions. (Executing tests after a
17707 'finish' from main runs into name conflicts with local names
17708 in __libc_start_main).
17709
17710 2000-12-07 Michael Snyder <msnyder@cygnus.com>
17711
17712 * gdb.base/finish.exp: New test for gdb's "finish" command.
17713 * gdb.base/return2.exp: New test for gdb's "return" command.
17714 * gdb.base/return2.c: New source file for above.
17715
17716 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17717
17718 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17719 * gdb.base/miscexprs.exp: Ditto.
17720 * gdb.base/pointers.exp: Ditto.
17721 * gdb.c++/derivation.exp: Ditto.
17722 * gdb.c++/local.exp: Ditto.
17723 * gdb.c++/namespace.exp: Ditto.
17724 * gdb.c++/overload.exp: Ditto.
17725 * gdb.c++/ref-types.exp: Ditto.
17726
17727 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17728
17729 * gdb.base/constvars.exp: Test result of "up" command.
17730 * gdb.base/miscexprs.exp: Ditto.
17731 * gdb.base/pointers.exp: Ditto.
17732 * gdb.base/scope.exp: Ditto.
17733 * gdb.c++/derivation.exp: Ditto.
17734 * gdb.c++/local.exp: Ditto.
17735 * gdb.c++/namespace.exp: Ditto.
17736 * gdb.c++/overload.exp: Ditto.
17737 * gdb.c++/ref-types.exp: Ditto.
17738
17739 2000-11-22 Michael Chastain <chastain@redhat.com>
17740
17741 * mips_pro.exp: Accept either "middle -> top -> main" or
17742 "middle -> main" in the backtrace, because gcc can optimize
17743 tail calls to jumps. Remove setup_xfail for the hppa case.
17744 Add a comment with the original warning messages from PR 3016,
17745 which was filed in 1993, to preserve them for posterity.
17746
17747 2000-11-17 Nick Duffek <nsd@redhat.com>
17748
17749 * lib/gdb.exp (gdb_test): Override timeout with board info.
17750
17751 2000-11-17 Nick Duffek <nsd@redhat.com>
17752
17753 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17754 the second kill and detach messages.
17755
17756 2000-11-17 Nick Duffek <nsd@redhat.com>
17757
17758 * configure.in: Add AC_EXEEXT.
17759 * configure: Regenerate.
17760 * Makefile.in (just-check): Export EXEEXT.
17761 * lib/gdb.exp ($EXEEXT): Import from environment.
17762 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17763 expect "maint dump-me" on Cygwin.
17764 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17765 $EXEEXT.
17766
17767 2000-11-17 Nick Duffek <nsd@redhat.com>
17768
17769 * gdb.base/break.exp: Test backtrace and finish from called
17770 function on all platforms, not just HP-UX.
17771
17772 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17773
17774 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17775 code from gdb_target_monitor, so it can be used independantly
17776 for gdbserver. Also comment out an unnecessary PUTS.
17777
17778 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17779
17780 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17781 * gdb.base/corefile.exp: Expect the message "Program is being
17782 debugged already" when we send the "corefile" command, since
17783 the preceeding gdb_load may have connected gdb to a remote target.
17784 * gdb.base/display.exp: Disable hardware watchpoints if new
17785 board info variable "no_hardware_watchpoints" is true.
17786 Replace single-letter commands with more readable ones.
17787 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17788 if new board info variable "no_hardware_watchpoints" is true.
17789 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17790 to see if stdio (printf) testing is possible.
17791 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17792 board info variable "no_hardware_watchpoints" is true. Use new
17793 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17794
17795 2000-11-13 Fernando Nasser <fnasser@redhat.com>
17796
17797 From Orjan Friberg <orjanf@axis.com>:
17798 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17799 in array print pattern match.
17800
17801 2000-11-09 Fernando Nasser <fnasser@redhat.com>
17802
17803 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17804 spelling "cancelled" to U.S. spelling "canceled" to match changes
17805 made to gdb.
17806 * gdb.c++/ovldbreak.exp: Ditto.
17807
17808 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17809
17810 * gdb.base/callfuncs.c (main): Moved to end of file, call
17811 t_double_values to initialize the FPU before inferior calls are made.
17812 * gdb.base/callfuncs.exp: Test for register preservation after calling
17813 inferior functions. Add tests for continuining, finishing and
17814 returning from a stop in a call dummy.
17815
17816 2000-10-24 Michael Snyder <msnyder@cygnus.com>
17817
17818 * gdb.base/commands.exp: Break up long lines, and re-indent.
17819
17820 2000-10-19 Michael Snyder <msnyder@cygnus.com>
17821
17822 * config/gdbserver.exp: Rewritten from the ground up, to make it
17823 compatible with the current dejagnu tree, and to make it work with
17824 the new "gdbserver" in libremote.
17825
17826 2000-10-16 Michael Snyder <msnyder@cygnus.com>
17827
17828 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17829 * gdb.base/varargs.exp: Skip entire test if no printf support.
17830 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17831 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17832
17833 2000-10-13 Michael Snyder <msnyder@cygnus.com>
17834
17835 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17836 no floating point support.
17837 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17838 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17839 * gdb.base/call-rt-st.exp: Ditto.
17840 * gdb.base/call-strs.exp: Ditto.
17841
17842 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17843
17844 * gdb.base/sizeof.c: include <stdio.h>.
17845
17846 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
17847 'finish', otherwise uncaptured gdb_prompt would potentially
17848 throw remaining test points out of sync.
17849
17850 2000-07-26 Scott Bambrough <scottb@netwinder.org>
17851
17852 * gdb.base/recurse.exp: Run tests for all targets.
17853 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17854 gnu-oldld case on ARM.
17855 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17856 for ARM targets.
17857
17858 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17859
17860 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17861 * gdb.java/configure: Rebuild.
17862
17863 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17864
17865 * gdb.java/jv-exp.exp: New file.
17866
17867 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17868
17869 * configure: Rebuilt.
17870 * configure.in (configdirs): Add gdb.java.
17871 * gdb.java/jmisc.java: New file.
17872 * gdb.java/jmisc.exp: New file.
17873 * gdb.java/Makefile.in: New file.
17874 * gdb.java/configure: Rebuilt.
17875 * gdb.java/configure.in: New file.
17876 * lib/java.exp: New file.
17877
17878 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17879
17880 * gdb.base/exprs.exp: Test casts to a pointer including over and
17881 underflow.
17882
17883 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17884
17885 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17886 and the compilers sizes.
17887
17888 2000-07-09 Nick Duffek <nsd@redhat.com>
17889
17890 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17891 (use_methods): New function.
17892 (main): Call use_methods().
17893 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17894 (do_tests): Call test_method_param_class.
17895
17896 2000-07-09 Nick Duffek <nsd@redhat.com>
17897
17898 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17899 spelling.
17900 (test_enums): New procedure. Move enum tests from end of script
17901 to here. Set breakpoint on function name instead of line number.
17902 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17903 (enums2): New marker function.
17904 (enums1): New function.
17905 (main): Call enums1(). Move enum tests to enums1().
17906
17907 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17908
17909 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17910 compile/link program. Update line numbers.
17911 * gdb.asm/d10v.inc: Define ``startup''.
17912 * gdb.asm/asmsrc1.s: Add definition of _start.
17913
17914 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17915
17916 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17917
17918 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17919
17920 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17921 of 'help maint print' command.
17922
17923 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17924
17925 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17926 they use gdb_expect_list.
17927
17928 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17929
17930 * gdb.base/commands.exp: Use ``set remote
17931 memory-read-packet-size'' instead of ``set endian big'' to test
17932 long commands.
17933
17934 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17935
17936 * gdb.c++/templates.exp (do_tests): Make all of these work under
17937 g++, and stop skipping them.
17938
17939 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17940 work under g++.
17941
17942 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17943 initialization.
17944
17945 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17946
17947 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17948 the regular expression: accept an (almost) arbitrary sequence of
17949 "frames-invalid" and "breakpoints-invalid" messages both before
17950 and after the "starting" message.
17951
17952 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17953
17954 * gdb.c++/local.exp: This test has never been known to work with g++.
17955
17956 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17957
17958 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17959 Relax the regular expression a little, make it pass on Solaris 8.
17960
17961 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17962
17963 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17964 a call, do not require that gdb stop on the line after the call.
17965 Instead, it is permissible for gdb to stop on the line of the
17966 call itself.
17967
17968 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17969
17970 * gdb.base/break.exp (bp on small function, optimized file):
17971 Add a second pass pattern. The behavior differs here between stabs
17972 and dwarf for one-line functions. Stabs preserves two line symbols
17973 (one before the prologue and one after) with the same line number,
17974 but dwarf regards these as duplicates and discards one of them.
17975 Therefore the address after the prologue (where the breakpoint is)
17976 has no exactly matching line symbol, and GDB reports the breakpoint
17977 as if it were in the middle of a line rather than at the beginning.
17978
17979 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17980
17981 * gdb.base/interrupt.exp: Make "pass" message say "send"
17982 rather than "send_gdb" (for consistancy).
17983
17984 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17985
17986 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17987 * gdb.c++/templates.cc: Properly check for GCC version number.
17988 * lib/compiler.cc: Likewise
17989
17990 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17991
17992 * gdb.base/break.exp: When compiled with -O2 optimization,
17993 gdb may not stop at the first line of main, due to code motion.
17994
17995 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17996
17997 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17998 This test depends on parsing the printf output from the target.
17999 Since the sparclet stub doesn't do stdio, this will never work.
18000 * gdb.base/call-rt-st.exp: ditto.
18001 * gdb.base/call-strs: ditto.
18002
18003 2000-04-24 Michael Snyder <msnyder@cygnus.com>
18004
18005 * gdb.base/miscexprs.exp: make sizeof long array test portable.
18006
18007 * gdb.base/ending-run.exp: After connecting to a remote target,
18008 but before running, the target will appear to be in a random
18009 location. Specify both a file and a line for breakpoints.
18010 Also, the function that calls main may be called 'init'
18011 rather than 'start'.
18012
18013 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18014
18015 * gdb.base/help.exp: Update output for add-symbol-file command.
18016
18017 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
18018
18019 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18020 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
18021
18022 2000-04-07 J.T. Conklin <jtc@redback.com>
18023
18024 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
18025
18026 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
18027
18028 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
18029
18030 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
18031 values that can be represented exactly.
18032 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
18033 above change, and to not check against the directory part of the source
18034 file name.
18035 (step into print_long_arg_list): Likewise.
18036 (print print_small_structs from print_long_arg_list): Likewise.
18037 (print print_long_arg_list): Likewise.
18038
18039 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18040
18041 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
18042
18043 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
18044
18045 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
18046
18047 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
18048
18049 * gdb.base/commands.exp (deprecated_command_test): Add test for
18050 deprecate with no arguments.
18051
18052 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
18053
18054 * gdb.base/break.exp: Add new test for setting breakpoints on
18055 optimized code so we can test breakpoints work even when function
18056 prologues may be optimized away
18057
18058 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
18059
18060 From David Whedon <dwhedon@gordian.com>
18061 * gdb.base/commands.exp : Added command deprecator tests.
18062
18063 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
18064
18065 * gdb.base/help.exp: Added test for new apropos command.
18066
18067 2000-03-21 Kevin Buettner <kevinb@redhat.com>
18068
18069 * gdb.base/pointers.c (usevar): New function.
18070 (main): Make sure that global variables v_int_pointer2, rptr,
18071 and y are all referenced someplace in the program by calling
18072 usevar() on them. [Some linkers delete symbols which are
18073 never referenced. The space remains, but there's no way to
18074 get a (symbolic) handle on the variable from the debugger.]
18075
18076 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18077
18078 * gdb.base/printcmds.c: Add typedeffed arrays.
18079
18080 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
18081 procedure to test arrays that are typedef'd.
18082
18083 2000-03-13 James Ingham <jingham@leda.cygnus.com>
18084
18085 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
18086 the library directories.
18087
18088 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
18089
18090 * configure.in (configdirs): Add sub directory gdb.mi.
18091 * configure: Re-generate.
18092
18093 * gdb.mi: New directory.
18094
18095 2000-02-25 Scott Bambrough <scottb@netwinder.org>
18096
18097 * gdb.base/long_long.exp: Correct test suite failure when printing
18098 a long long value as a double on ARM platforms.
18099
18100 2000-02-16 Jim Blandy <jimb@redhat.com>
18101
18102 * gdb.base/break.exp ("breakpoint line number"): Make sure the
18103 default source file is set properly before running this test.
18104
18105 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18106
18107 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
18108 gdbtk/library directory, not in gdbtcl2.
18109
18110 2000-02-04 Jim Blandy <jimb@redhat.com>
18111
18112 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
18113 backslash from regexp pattern.
18114
18115 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
18116 procedure. Use it to run all the "continue to bp overloaded"
18117 tests. Note that this changes the names of the tests slightly.
18118 If the breakpoint hit message includes a hex PC value, because
18119 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
18120 from the real source code, still consider that a pass.
18121
18122 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
18123 XFAIL here if the breakpoint message contains a hex address. Note
18124 similar change on 1999-11-02.
18125
18126 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
18127
18128 * gdb.base/ptype.exp: Establish a default source file before
18129 calling get_debug_format.
18130
18131 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
18132
18133 * gdb.base/watchpoint.exp: Remove duplication of test messages.
18134
18135 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18136
18137 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
18138 of successive stepi commands -- while in the prologue we should see
18139 the function entry bracket.
18140
18141 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
18142
18143 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
18144 reach __change_mode() when stepping through the end of main().
18145
18146 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
18147
18148 * gdb.base/default.exp: Fix expected pattern.
18149 * gdb.base/help.exp: Same.
18150
18151 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18152
18153 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
18154 Don't use xfail's because that affects only the following test.
18155
18156 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
18157 solaris or linux.
18158
18159 * gdb.base/selftest.exp: Update to reflect changes to main.c.
18160
18161 2000-01-07 Michael Snyder <msnyder@cygnus.com>
18162
18163 * gdb.base/display.exp: Some yacc parsers like to say
18164 "A syntax error" rather than "A parse error". Accept both.
18165
18166 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
18167
18168 * gdb.base/default.exp: Remove OS dependent string from "target
18169 remote" test.
18170 * gdb.base/help.exp: Same for "help target remote" test.
18171
18172 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18173
18174 From Jim Kingdon <kingdon@redhat.com>:
18175
18176 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
18177 prompt (cleanup rather than necessity, but still might keep output
18178 from spilling to next test).
18179
18180 2000-01-02 Fred Fish <fnf@cygnus.com>
18181
18182 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
18183 AIX, which defines them in <sys/types.h>.
18184
18185 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
18186
18187 * gdb.base/default.exp: Match arm* etc instead of arm in "info
18188 float" test.
18189
18190 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
18191
18192 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
18193
18194 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
18195 outermost frame disallowed".
18196
18197 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
18198
18199 * gdb.base/setvar.exp: New tests for setting the value of a struct
18200 with a constant list.
18201
18202 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18203
18204 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
18205 require the user to type a cast before setting the value of a struct.
18206
18207 1999-12-06 Jim Blandy <jimb@cygnus.com>
18208
18209 * gdb.base/default.exp: Expect the new 'info float' command on
18210 all i386 platforms.
18211
18212 * gdb.threads/linux-dp.exp: Expand our ability to recognize
18213 LinuxThreads libraries that don't support debugging.
18214
18215 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18216
18217 * gdb.base/remote.c: Fill the buffer with truely random data.
18218 Change the buffer type to ``unsigned char'' to simplify size
18219 arithmetic.
18220
18221 * gdb.base/remote.exp: Reduce download numbers by one. Typical
18222 stub only handles 400-1 byte packets. Verify that the download
18223 worked.
18224
18225 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
18226
18227 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
18228 tests, using UNRESOLVED for the untested cases. Also, does not wait
18229 for a timeout if the prompt was received before a recognizable pattern.
18230
18231 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
18232
18233 * lib/gdb.exp (gdb_expect_list): Fix spelling.
18234
18235 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18236
18237 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
18238 watchpoints.
18239
18240 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
18241
18242 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
18243
18244 * gdb.c++/local.exp: Be more flexible in recognizing local class
18245 name mangling. Don't allow horribly truncated method names.
18246 * gdb.c++/derivation.exp: Expect protected inheritance.
18247 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
18248 * gdb.c++/virtfunc.exp: Likewise.
18249 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
18250 when printing a nested enum.
18251
18252 1999-11-22 Jim Blandy <jimb@cygnus.com>
18253
18254 * gdb.base/step-test.exp: Properly await GDB's response to setting
18255 a breakpoint on the call to large_struct_by_value.
18256
18257 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
18258 just because we have debug info for the `start' function.
18259
18260 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
18261
18262 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
18263 "Unknown signal" messages, which indicate (on LinuxThreads) that
18264 GDB doesn't know how to debug threads on this system. This is
18265 better than hanging while philosopher 0 dumps chatter into gdb.log.
18266
18267 1999-11-18 Tom Tromey <tromey@cygnus.com>
18268
18269 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
18270
18271 1999-11-18 Fred Fish <fnf@cygnus.com>
18272
18273 * gdb.base/coremaker2.c: Add sample program for generating
18274 cores that is more self contained than coremaker.c. Eventually
18275 I'll add more code to this and tie it into the testsuite.
18276
18277 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
18278
18279 * gdb.base/dollar.exp: Remove, now in gdb.hp.
18280
18281 1999-11-10 Jimmy Guo <guo@cup.hp.com>
18282
18283 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
18284 from $srcdir/lib/.
18285 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
18286 and gdb.c++/.
18287
18288 * gdb.c++/derivation.exp: remove redundant get compiler info code.
18289
18290 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
18291 'continue with watch' test point.
18292
18293 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
18294
18295 Merged from p2linux-990323-branch:
18296
18297 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
18298
18299 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
18300
18301 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
18302 {limit,fixed}''. Test ``set download-write-size''.
18303
18304 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
18305
18306 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
18307 gdb_expect_list.
18308
18309 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
18310
18311 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
18312
18313 1999-11-03 Mark Salter <msalter@cygnus.com>
18314
18315 * gdb.base/break.exp: Fix "stub continue" pattern.
18316
18317 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
18318
18319 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
18320
18321 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
18322
18323 * gdb.base/display.exp ("finish"): Add timeout clause.
18324
18325 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
18326 plain prompt clause, so this doesn't have to time out in order to
18327 fail.
18328
18329 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
18330 breakpoint hit messages include an address.
18331
18332 * gdb.base/display.exp: Don't forget to escape parens in regular
18333 expressions. Unix regexp notatation sucks.
18334
18335 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18336
18337 * gdb.base/annota1.exp: Test for annotate-signalled: change output
18338 order for 'signalled' message.
18339
18340 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
18341
18342 From Jimmy Guo <guo@cup.hp.com>:
18343 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
18344 * gdb.base/annota1.c: Add code for tests to work with.
18345
18346 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
18347
18348 * gdb.base/remote.exp: New test for remote downloading settings.
18349 * gdb.base/remote.c: New file with large .data.
18350
18351 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
18352
18353 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
18354 for LinuxThreads support, merged from the Code Fusion branch.
18355
18356 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
18357
18358 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
18359 containing exp_continue into a while within an expect. Don't
18360 attempt a start more than three times. Check return value from
18361 gdb_load.
18362
18363 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
18364
18365 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
18366 a pass case.
18367
18368 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
18369
18370 * gdb.base/break.c (main): Added a statement that we can step
18371 off of.
18372 * gdb.base/break.exp: Added tests for setting a breakpoint
18373 at an offset and stepping onto a breakpoint.
18374
18375 1999-10-01 Fred Fish <fnf@cygnus.com>
18376
18377 * gdb.base/help.exp (help add-symbol-file): Update to match current
18378 gdb output.
18379
18380 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
18381
18382 * gdb.base/break.exp: Code locations are in hex, don't forget!
18383 (For HP-UX.)
18384
18385 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
18386
18387 * condbreak.exp: Use break.c as test program.
18388 * condbreak.c: Remove, redundant with break.c.
18389
18390 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
18391
18392 * config/monitor.exp (gdb_target_monitor): Disable X- and
18393 Z-packets if the target needs it.
18394
18395 1999-09-13 James Ingham <jingham@leda.cygnus.com>
18396
18397 * gdb.c++/overload.exp: Added tests for listing overloaded
18398 functions with function pointers in the arg, explicitly calling
18399 out the version you want.
18400
18401 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
18402
18403 * long_long.exp: Add variations of test cases that work for
18404 targets with 16-bit ints and 32-bit doubles.
18405
18406 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
18407
18408 * break.c (main): Compare a possibly-uninitialized argc with an
18409 unlikely value that fits in 16 bits.
18410
18411 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
18412
18413 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
18414 0xfeeb, don't want negative numbers if ints are 16 bits.
18415
18416 * lib/gdb.exp (skip_cplus_tests): New proc.
18417 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18418 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
18419 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
18420 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
18421 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
18422 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
18423 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
18424 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
18425
18426 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
18427
18428 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
18429
18430 * gdb.base/corefile.exp (up): Allow a parameter to appear
18431 in the frame that we're going up to.
18432
18433 From Jim Blandy <jimb@cygnus.com>:
18434
18435 * gdb.base/default.exp (info float): Expect some output now.
18436
18437 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
18438 returning floating-point values to fail on the x86.
18439 * gdb.base/callfwmall.exp (do_function_calls): Same.
18440
18441 * gdb.base/list.exp (test_listsize): Correct expectations for
18442 listing line 1 with listsize 2. Also, listing a single line
18443 works now, as does listing three lines. [Kevin's note: There
18444 were a number of other cases fixed too where the expectations
18445 differed...]
18446
18447 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
18448
18449 * gdb.base/selftest.exp: Add case for when version prints as
18450 constant string instead of char pointer.
18451
18452 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
18453
18454 * gdb.base/ending-run.exp: Add Solaris case for what happens when
18455 stepping out of main.
18456
18457 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
18458 G++ used.
18459
18460 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
18461 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
18462
18463 * gdb.c++/ovldbreak.exp: Update match string in test that
18464 includes a warning of multiple breakpoints.
18465
18466 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
18467
18468 * gdb.base/display.exp: Improve precision of step-after-finish
18469 added yesterday.
18470
18471 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
18472 test.
18473
18474 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
18475 configs when using G++, not just hppa*.
18476
18477 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18478
18479 * gdb.base/async.c: New file.
18480 * gdb.base/async.exp: New file.
18481
18482 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
18483
18484 * gdb.base/break.exp: Tweak PA specific tests to properly handle
18485 PA64.
18486
18487 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
18488
18489 * gdb.base/display.exp: "finish" can leave us mid-line on many
18490 targets, deal with it. Add a small constant to main, instead of
18491 1000 since main+1000 may not be a valid address in the target.
18492
18493 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
18494 on hpux11.
18495
18496 * gdb.base/attach.exp: Handle another hpux11 error message variant
18497 when attaching to a process that does not exist.
18498
18499 1999-08-19 J.T. Conklin <jtc@redback.com>
18500
18501 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
18502 characters in 'continue to 1241' test.
18503
18504 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
18505
18506 * gdb.base/call-ar-st.exp: Add a shorter match case for the
18507 stop in print_long_arg_list, define and use a whitespace
18508 variable in print_small_structs test, add an XFAIL for Solaris.
18509 * gdb.base/dbx.exp: XFAIL func commands until somebody is
18510 interested enough to fix.
18511
18512 1999-08-13 Keith Seitz <keiths@cygnus.com>
18513
18514 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
18515 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18516 proc knows about targets other than the natives.
18517 (test_assign): Use "gdb_run_cmd" to "run" the target.
18518 Check that we've actually hit the breakpoint at main.
18519 When we attempt to assign a value to a local variable, check
18520 that the variable is in the current scope, i.e., don't use
18521 a test with an empty result.
18522
18523 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18524
18525 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
18526 command.
18527
18528 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18529
18530 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18531 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18532 gdb.compat, gdb.threads-hp.
18533 gdb.hp/configure, gdb.hp/configure.in: New files.
18534 gdb.hp/Makefile.in: Recurse into new subdirs.
18535 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18536 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18537 in object files.
18538 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18539
18540 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18541
18542 * gdb.base/display.exp: Help expect by putting a newline in the
18543 funky printf, remove a bogus p/a test.
18544
18545 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18546
18547 * gdb.base/display.exp: Make sure that when we say 'run', we are
18548 connected to the target. This is necessary when running not
18549 natively.
18550
18551 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18552
18553 * gdb.base/step-test.exp: Removed some extraneous messages.
18554
18555 * gdb.base/long_long.exp: Don't run memory examination tests
18556 on little-endian targets (they will need a different set of
18557 results to match).
18558
18559 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18560
18561 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18562 until somebody decides to fix GDB.
18563
18564 * gdb.base/long_long.c: Stop compiler complaint by specifying long
18565 constant as "ULL".
18566 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18567 matches for a couple x/2 commands.
18568
18569 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18570
18571 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18572 by merging in ref-types2 tests.
18573 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18574
18575 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18576 * gdb.c++/Makefile.in: Add standard actions.
18577 (EXECUTABLES): Rename from PROGS, update list.
18578 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18579 from gdb.hp.
18580 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18581 foo and bar locals.
18582 * gdb.c++/anon-union.exp: Fix tests to match.
18583 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18584 expect matches to handle output variations.
18585 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18586 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
18587 output, add HP alternatives for new and delete prints.
18588 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
18589 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
18590 * gdb.c++/demangle.exp: Use $style when reporting failure.
18591 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18592 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18593 match alternatives.
18594 * gdb.c++/local.exp: Add match alternatives or xfails for HP
18595 compilers.
18596 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18597 * gdb.c++/method.exp: Add match alternatives.
18598 * gdb.c++/misc.cc: Add bool types.
18599 * gdb.c++/misc.exp: Add tests for bool types.
18600 * gdb.c++/overload.exp: Add xfails.
18601 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18602 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18603 add some more template parameter tests (only for HP currently).
18604 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18605 * gdb.c++/virtfunc.cc: Add return type and value for main.
18606 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18607 match alternatives.
18608
18609 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18610
18611 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18612
18613 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18614
18615 * gdb.base/signals.exp: Don't expect getting a backtrace from
18616 within a signal handler to fail on Linux.
18617
18618 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18619
18620 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18621 * lib/gdb.exp: Remove some gratuitious semicolons.
18622 (delete_breakpoints): Increase timeout.
18623 (gdb_expect): Add -notransfer option.
18624 (gdb_test): Use -notransfer option.
18625 (get_compiler_info): Add f77 case.
18626 (get_compiler): New proc, split out from gdb_preprocess, add f77
18627 case.
18628 (gdb_preprocess): Call get_compiler.
18629
18630 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18631 * gdb.base/attach.exp, gdb.base/display.exp,
18632 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18633 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18634 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18635 third arg to gdb_test.
18636 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18637 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
18638 HP-UX xfails, add others.
18639 * gdb.base/completion.exp: Reflect name change of self-test.
18640 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
18641 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18642 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18643 HP failure number.
18644 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18645 useless HP-UX 10.30 references.
18646 * gdb.base/maint.exp: Loosen matches.
18647 * gdb.base/pointers.c (main): Declare more_code.
18648 * gdb.base/pointers.exp: Match on output of a `next'.
18649 * gdb.base/structs.c: Add prototypes.
18650 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18651 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18652
18653 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18654
18655 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
18656 command.
18657
18658 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18659
18660 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18661 Fix run to main failures. Watchpoint can be hardware watchpoint.
18662
18663 * gdb.base/annota1.exp: Clean up some more, in case printf has
18664 debug info. Deal with lack of signal hanlder info in stack.
18665
18666 From Jim Kingdon <kingdon@redhat.com>:
18667 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18668
18669 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18670
18671 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
18672 gdb.base/foll-vfork.exp: Don't run for crosses.
18673
18674 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18675
18676 * gdb.base/configure.in: Check for gdbvars.exp instead of
18677 a1-selftest.exp.
18678 * gdb.base/configure: Re-generate.
18679
18680 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18681
18682 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18683 in trying to run first and name is too long.
18684
18685 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18686 pointers2.c and pointers2.exp, respectively.
18687 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18688 doschk happier.
18689
18690 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18691
18692 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18693 callfuncs2.c and callfuncs2.exp.
18694
18695 * gdb.base/list.exp: Remove mistaken xfails.
18696 * gdb.base/list0.h: Add optional prototypes.
18697
18698 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18699
18700 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
18701 calling malloc.
18702 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18703 * ptype.exp: Move test for get_debug_format to before its first
18704 use.
18705
18706 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18707
18708 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18709 * gdb.base/annota2.cc, annota2.exp: Move from here.
18710 * gdb.c++/annota2.cc, annota2.exp: To here.
18711 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18712
18713 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18714
18715 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
18716 a consistent format.
18717
18718 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18719
18720 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18721 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18722 HP compilers, also set the globals $true and $false.
18723
18724 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
18725 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18726 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18727 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18728 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18729 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18730 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18731 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18732 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18733 whatis.c} Add C++ compatible function definitions and return
18734 types, add includes for library functions.
18735 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18736 * gdb.base/step-test.c (myglob): Rename from glob.
18737 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
18738 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18739 files, move here from gdb.hp.
18740 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
18741 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18742 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18743 Adjust line numbers in regexps.
18744
18745 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18746 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18747 instead of 0/1.
18748
18749 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18750 foll-vfork.exp: New files, move here from gdb.hp.
18751 * gdb.base/page.exp: New file, test of pagination command.
18752
18753 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18754 recursion test.
18755 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18756
18757 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
18758 gdb.base/solib.exp: Fix compiler invocation process.
18759
18760 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
18761 HP-UX 11, turn off overload resolution explicitly.
18762 * gdb.base/commands.exp: Set argument list explicitly, add
18763 watchpoint test.
18764 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18765 them work.
18766 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18767 expressions properly.
18768 * gdb.base/corefile.exp: Loosen the match slightly.
18769 * gdb.base/default.exp: Allow "Error accessing memory" message
18770 also.
18771 * gdb.base/display.exp: Skip over x/0 j if PA64.
18772 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18773 * gdb.base/interrupt.exp: Ditto.
18774 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18775 in use.
18776 * gdb.base/list.exp: Add xfails for HP-UX.
18777 * gdb.base/long_long.exp: Refine some of the numeric matches.
18778 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18779 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18780 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18781 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18782 * gdb.base/ptype.exp: Succeed on more varieties of output.
18783 * gdb.base/scope.exp: Add xfails for HP-UX.
18784 * gdb.base/sect-cmd.exp: Add more cases.
18785 * gdb.base/setvar.exp: Add xfails for HP-UX.
18786 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18787 * gdb.base/signals.exp: Match on void symbolically.
18788 * gdb.base/step-test.exp: Add case for PA64.
18789 * gdb.base/term.exp: Add exit and restart.
18790 * gdb.base/twice.exp: Clean up after self.
18791 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18792 * gdb.base/whatis.exp: Allow more ways to pass tests.
18793
18794 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
18795 no longer useful.
18796
18797 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18798
18799 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
18800 list of patterns.
18801 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
18802 print_double_array(double_array)", "continuing to breakpoint
18803 1018", "print print_double_array(array_d)" and "continuing to
18804 1034" tests.
18805
18806 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18807
18808 * Makefile.in: Add empty html and install-html targets.
18809
18810 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18811
18812 * config/mt-*: Remove, these haven't been used since 1996.
18813
18814 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18815
18816 * gdb.base/call-strs.c, gdb.base/ending-run.c,
18817 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
18818 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18819
18820 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18821
18822 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18823 simpler match case for the ptype of the big class.
18824
18825 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18826
18827 * gdb.exp: Fix test for gdb_prompt existence.
18828
18829 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18830
18831 * gdb.exp (gdb_test): Add fail after calls to perror.
18832
18833 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18834
18835 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18836
18837 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18838
18839 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18840
18841 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18842
18843 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
18844 malloc() is linked in.
18845
18846 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18847
18848 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18849 step at end.
18850
18851 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18852
18853 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18854
18855 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18856
18857 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18858
18859 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18860 * gdb.base/mips_pro.exp: Likewise.
18861
18862 1999-06-02 Keith Seitz <keiths@cygnus.com>
18863
18864 * gdb.c++/templates.cc: Change all "new" operators to throw
18865 an exception.
18866 * gdb.c++/cplusfuncs.cc: Likewise.
18867
18868 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18869
18870 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18871
18872 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18873 * gdb.base/ending-run.exp: When stepping out of main, accept a
18874 step into an arbitrary assembler file.
18875
18876 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18877
18878 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18879 "breakpoint-invalid" to be printed.
18880 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18881 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18882 * gdb.base/annota2.cc: Initialize a.x to 0.
18883
18884 1999-05-17 Keith Seitz <keiths@cygnus.com>
18885
18886 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18887 when "skip_float_tests" set.
18888 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18889 "print print_ten_doubles", and "step into print_long_arg_list".
18890 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18891 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18892 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18893 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18894 "skip_float_tests" is set.
18895 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18896 when "skip_float_tests" set.
18897
18898 1999-05-06 Keith Seitz <keiths@cygnus.com>
18899
18900 * gdb.base/annota2.cc: Include stdio.h.
18901
18902 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18903
18904 * gdb.base/crossload.exp: Remove, this has been disabled ever
18905 since BFD stopped including all targets, and cross-GDB gets
18906 plenty of testing anyway.
18907 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18908 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18909 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18910 * gdb.base/README: Remove, was doc for this.
18911 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18912 needed.
18913
18914 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18915
18916 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18917 output.
18918
18919 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18920 * gdb.base/annota2.exp: New file. More annotation tests.
18921 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18922 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18923
18924 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18925
18926 * config/cfdbug.exp: New file.
18927
18928 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18929
18930 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18931 Marcus Daniel's and Dale Hawkins's demangler crashes.
18932
18933 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18934 test_lucid_style_demangling, test_arm_style_demangling,
18935 test_hp_style_demangling): Try Tom Tromey's core-dumping
18936 identifier under each demangling style.
18937
18938 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18939
18940 * gdb.c++/demangle.exp: Include the current demangling style
18941 in all test names.
18942 (current_demangling_style): New global variable.
18943 (set_demangling_style, test_demangling_core, test_demangling,
18944 test_demangling_exact): New functions.
18945 (test_gnu_style_demangling, test_lucid_style_demangling,
18946 test_arm_style_demangling, test_hp_style_demangling): Use those,
18947 instead of calling gdb_test and gdb_test_exact directly.
18948 (catch_demangling_errors): New function, which reports errors
18949 signalled by the demangling test functions in an orderly way.
18950 (do_tests): Use catch_demangling_errors.
18951
18952 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18953
18954 * gdb.base/signals.exp (test_handle_all_print): Use () for
18955 grouping in expressions, not {}.
18956
18957 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18958 initialized yet.
18959
18960 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18961
18962 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18963 are listed.
18964
18965 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18966
18967 * gdb.stabs/weird.exp: Test for CC being defined before
18968 looking at its value.
18969
18970 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18971
18972 * gdb.base/call-ar-st.exp: Remove stray '#'.
18973 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18974 "short int" and "long int".
18975 * gdb.c++/overload.cc: Cast the string added in the previous
18976 change, to mollify finicky HP compiler.
18977 * gdb.hp/reg-test.exp (testfile): Fix file name.
18978 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18979
18980 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18981 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18982 alternate form of enum ptype.
18983
18984 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18985
18986 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18987 * gdb.hp/*.exp: Change all to run compiler probe only after
18988 passing skip_hp_tests, so as not to waste time on guaranteed
18989 failure.
18990
18991 * gdb.c++/overload.cc: Pass string instead of char addr, always
18992 init ccpfoo.
18993 * gdb.c++/templates.cc: Fix syntax error.
18994
18995 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18996
18997 * gdb.base/commands.exp: Add test for correct position of '>'
18998 when issuing the 'commands' command after a 'while' or 'if'
18999 command.
19000
19001 1999-03-18 James Ingham <jingham@cygnus.com>
19002
19003 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
19004
19005 * gdb.c++/method.exp: It was testing an uninitialized int on the
19006 stack and assuming it was positive.
19007
19008 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
19009
19010 * gdb.base/step-test.exp: Catch a case where finish is broken and
19011 keep it from killing the rest of the tests.
19012 Use gdb_continue_to_end.
19013
19014 * gdb.base/sigall.exp: use gdb_continue_to_end.
19015
19016 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
19017
19018 * gdb.base/display.exp: use runto_main, not run.
19019
19020 * gdb.base/default.exp: Check for the current error message in the
19021 r abbreviation test.
19022 Add strongarm to the targets that know info float.
19023
19024 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
19025 run which doesn't work with monitors.
19026
19027 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
19028
19029 * gdb.base/break.exp: use the gdb_continue_to_end proc.
19030
19031 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
19032 program. Traps the case (in Cygmon) when the program never really
19033 exits. Same as Mark's continue_to_exit, but I had put it in a lot
19034 more places, so I used my name. Sorry Mark...
19035
19036 * config/monitor.exp (gdb_target_monitor): added another
19037 target_info parameter: remotebinarydownload. This will set the
19038 remotebinarydownload flag if this is causing some boards trouble.
19039
19040 1999-03-18 Mark Salter <msalter@cygnus.com>
19041
19042 * lib/gdb.exp (continue_to_exit): New function.
19043
19044 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
19045 * gdb.base/ending-run.exp: Ditto.
19046 * gdb.base/step-test.exp: Ditto.
19047
19048 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
19049
19050 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19051 (suggested by Art Haas <ahaas@neosoft.com>).
19052
19053 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
19054
19055 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
19056
19057 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
19058
19059 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
19060 descriptions of types (short unsigned int vs unsigned short, etc).
19061
19062 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
19063
19064 * gdb.base/call-strs.exp: Don't assume that `step' will step over
19065 a call to strlen; sometimes we do have sources.
19066
19067 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19068
19069 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
19070 character, so GDB won't print garbage after its end.
19071
19072 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19073 breakpoint there instead. Sometimes GCC emits memcpy to handle
19074 the large structures being passed by value, so we step into that
19075 instead of sum_array_print, which obscures what we're really testing.
19076 * gdb.base/step-test.exp: However, we do want a test that notices
19077 the bizarre steps into memcpy, so do that here. Add check for
19078 stepping into function calls that pass large structures by value.
19079 ("Is that a noun clause, or are you just happy to see me?")
19080 Remove all references to specific line numbers.
19081 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19082 New type and function.
19083 (main): Call large_struct_by_value, passing it a large struct by value.
19084 * lib/gdb.exp (gdb_get_line_number): New function.
19085
19086 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
19087 more portable.
19088
19089 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19090
19091 * lib/gdb.exp: Doc fixes.
19092
19093 1999-03-05 Nick Clifton <nickc@cygnus.com>
19094
19095 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
19096
19097 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
19098
19099 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
19100 commands. They're not germane to this test, and they don't work
19101 that way on remote targets.
19102
19103 1999-03-01 James Ingham <jingham@cygnus.com>
19104
19105 * Changelog entries merged over from gdb development branch.
19106
19107 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
19108
19109 * lib/gdb.exp (gdbtk_analyze_results): Generic function
19110 for outputting results of test run.
19111
19112 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
19113
19114 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
19115
19116 1999-02-25 Felix Lee <flee@cygnus.com>
19117
19118 * lib/gdb.exp (debug_format): initialize
19119
19120 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
19121
19122 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
19123 * gdb.base/call-rt-st.c: Ditto.
19124
19125 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
19126
19127 * gdb.threads/pthreads.exp (horiz): New variable.
19128 (test_startup): Fix regexps that capture thread numbers.
19129
19130 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
19131
19132 * gdb.base/smoke.exp: Disambiguate two test case names (both
19133 called ``print'').
19134
19135 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19136
19137 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
19138 compilation.
19139
19140 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19141
19142 * gdb.base/miscexprs.exp: Change patterns to match GDB's
19143 actual output formatting.
19144 * gdb.base/smoke.exp: GDB removes leading 0's.
19145 * gdb.base/volatile.exp: Don't check type of remuneration;
19146 that variable is no longer defined in constvars.c.
19147 * gdb.base/step-test.c (main): Exit with explicit exit code.
19148 * gdb.base/step-test.exp: Remove two nexti checks--they are
19149 not portable.
19150
19151 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
19152
19153 * gdb.base/help.exp ("help delete display"): Fix test to match
19154 gdb's output.
19155
19156 * gdb.base/long_long.c (known_types): Initialize values to zero.
19157 * gdb.base/long_long.exp: Step one more line
19158 so 'dec' is initialized in "get to known place". GDB removes
19159 leading zeros. Explicitly ask for hex formatting. Use
19160 unique test case names.
19161
19162 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19163
19164 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
19165
19166 * gdb.c++/method.exp: Add missing close brace.
19167
19168 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
19169
19170 * gdb.base/maint.exp: Use 'set height 0' to disable page
19171 prompting, not 'set height 400'.
19172
19173 Fix a bunch of timeouts.
19174 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
19175 four separate tests, so expect doesn't take forever to match a ton
19176 of text against a regexp with lots of .* forms.
19177 ("maint print psymbols", "maint print symbols"): Make some of
19178 these greps more selective, so that expect doesn't try to wade
19179 through huge piles of output and time out.
19180
19181 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
19182
19183 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
19184 tests: one which doesn't expect shlib events to be reported, and
19185 another which does, but is XFAIL for all platforms other than
19186 HP/UX.
19187
19188 * gdb.base/break.exp: Teach the test suite that the `catch
19189 fork', `catch vfork', and `catch exec' commands produce error
19190 messages on platforms that don't provide these features.
19191
19192 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
19193
19194 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
19195 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
19196 (shortening names from solib_threshold.exp etc), won't run on
19197 anything but HP-UX for the foreseeable future.
19198 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
19199 reflect move.
19200
19201 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
19202
19203 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
19204 gdb.trace/Makefile.in (clean): Remove all test executables.
19205
19206 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
19207
19208 * gdb.base/shlib-call.exp: add test cases to verify that gdb
19209 successfully re-sets breakpoints in shared libraries.
19210 * gdb.base/shmain.c (main): return 0, don't fall off the end.
19211
19212 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19213
19214 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
19215 and compiled w/o GCC.
19216
19217 * gdb.hp/watch-cmd.exp: ditto.
19218
19219 * gdb.hp/watch-hp.exp: ditto.
19220
19221 * gdb.hp/xdb1.exp: ditto.
19222
19223 * gdb.hp/xdb2.exp: ditto.
19224
19225 * gdb.hp/dbx.exp: ditto.
19226
19227 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
19228
19229 * constvars.c: Remove C++-isms.
19230 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
19231 with GCC.
19232
19233 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
19234
19235 The following changes are part of the HP merge.
19236
19237 * gdb.base/break.exp: new tests to verify that catchpoints for
19238 fork, vfork, and exec don't trigger inappropriately.
19239
19240 * gdb.base/opaque.exp: compile one file at a time, then link.
19241
19242 * gdb.base/signals.exp: be more restrictive about which hppa
19243 systems receive a setup_xfail. new tests.
19244
19245 * gdb.base/solib_threshold.build: new file.
19246 * gdb.base/solib_threshold.exp: new file.
19247 * gdb.base/solib_threshold.link_opts: new file.
19248 * gdb.base/solib_threshold.mk: new file.
19249 * gdb.base/gen_solib_threshold.c: new file.
19250
19251 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
19252 tests. New tests for enums inside classes.
19253
19254 * gdb.c++/compiler.cc: indicate support of template debugging.
19255
19256 * gdb.c++/demangle.exp: run hp style demangling tests.
19257
19258 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
19259 tests.
19260
19261 * gdb.c++/misc.cc: changes to support new tests.
19262
19263 * gdb.c++/templates.cc: changes to support HP's compiler; changes
19264 to support new tests.
19265
19266 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
19267 gcc, then skip these tests.
19268
19269 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
19270
19271 The following files are part of the HP merge; some had longer
19272 names at HP, but have been renamed to be no more than 14
19273 characters in length.
19274
19275 * gdb.hp/ambiguous.cc: new file.
19276 * gdb.hp/ambiguous.exp: new file.
19277 * gdb.hp/attach.exp: new file.
19278 * gdb.hp/attach2.exp: new file.
19279 * gdb.hp/classes-hp.exp: new file.
19280 * gdb.hp/ctti.exp: new file.
19281 * gdb.hp/ctti-add.cc: new file.
19282 * gdb.hp/ctti-add1.cc: new file.
19283 * gdb.hp/ctti-add2.cc: new file.
19284 * gdb.hp/ctti-add3.cc: new file.
19285 * gdb.hp/dbx.exp: new file.
19286 * gdb.hp/exception.cc: new file.
19287 * gdb.hp/exception.exp: new file.
19288 * gdb.hp/foll-exec.c: new file.
19289 * gdb.hp/foll-exec.exp: new file.
19290 * gdb.hp/foll-fork.c: new file.
19291 * gdb.hp/foll-fork.exp: new file.
19292 * gdb.hp/foll-vfork.c: new file.
19293 * gdb.hp/foll-vfork.exp: new file.
19294 * gdb.hp/inherit-hp.exp: new file.
19295 * gdb.hp/more-steps.exp: new file.
19296 * gdb.hp/namespace.cc: new file.
19297 * gdb.hp/namespace.exp: new file.
19298 * gdb.hp/optimize.exp: new file.
19299 * gdb.hp/pxdb.c: new file.
19300 * gdb.hp/pxdb.exp: new file.
19301 * gdb.hp/quicksort.exp: new file.
19302 * gdb.hp/reg-test.exp: new file.
19303 * gdb.hp/reg-test.s: new file.
19304 * gdb.hp/sized-enum.c: new file.
19305 * gdb.hp/sized-enum.exp: new file.
19306 * gdb.hp/start-stop.exp: new file.
19307 * gdb.hp/templ-hp.cc: new file.
19308 * gdb.hp/templ-hp.exp: new file.
19309 * gdb.hp/thr-lib.c: new file.
19310 * gdb.hp/thr-lib.exp: new file.
19311 * gdb.hp/thr-lib.h: new file.
19312 * gdb.hp/thr-liblib.c: new file.
19313 * gdb.hp/virtfun-hp.c: new file.
19314 * gdb.hp/virtfun-hp.exp: new file.
19315 * gdb.hp/watch-cmd.exp: new file.
19316 * gdb.hp/watch-hp.exp: new file.
19317 * gdb.hp/xdb1.exp: new file.
19318 * gdb.hp/xdb2.exp: new file.
19319 * gdb.hp/xdb3.exp: new file.
19320
19321 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
19322
19323 The following files are part of the HP merge; some had longer
19324 names at HP, but have been renamed to be no more than 14
19325 characters in length.
19326
19327 * gdb.base/ss.h: new file.
19328 * gdb.base/call-ar-st.c: new file.
19329 * gdb.base/call-ar-st.exp: new file.
19330 * gdb.base/call-rt-st.c: new file.
19331 * gdb.base/call-rt-st-exp: new file.
19332 * gdb.base/call-strs.exp: new file.
19333 * gdb.base/ena-dis-br.exp: new file.
19334 * gdb.base/environ.exp: new file.
19335 * gdb.base/long_long.exp: new file.
19336 * gdb.base/sect-cmd.exp: new file.
19337 * gdb.base/shlib-cl2.exp: new file.
19338 * gdb.base/smoke.exp: new file.
19339 * gdb.base/so-impl-ld.c: new file.
19340 * gdb.base/so-impl-ld.exp: new file.
19341 * gdb.base/so-indr-cl.c: new file.
19342 * gdb.base/so-indr-cl.exp: new file.
19343 * gdb.base/varargs.exp: new file.
19344 * gdb.base/volatile.exp: new file.
19345 * gdb.base/whatis-exp.exp: new file.
19346 * gdb.base/display.exp: new file.
19347 * gdb.c++/derivation.exp: new file.
19348 * gdb.c++/local.exp: new file.
19349 * gdb.c++/member-ptr.exp: new file.
19350 * gdb.c++/overload.exp: new file.
19351 * gdb.c++/ovldbreak.exp: new file.
19352 * gdb.c++/ref-types.exp: new file.
19353 * gdb.c++/ref-types2.exp: new file.
19354 * gdb.c++/userdef.exp: new file.
19355
19356 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
19357
19358 * gdb.base/default.exp: Reflect wording change in remote.c.
19359
19360 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
19361
19362 * gdb.base/help.exp: Update to reflect current text.
19363
19364 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
19365
19366 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
19367 they're stack variables and contain garbage.
19368 * gdb.c++/anon-union.exp: new file.
19369
19370 The following changes were made by David Taylor
19371 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19372 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19373 in changes by HP.
19374
19375 * gdb.base/bitops.exp: new file.
19376 * gdb.base/default.exp: change expected messages for catch and
19377 info catch tests to reflect HP merge changes.
19378 * gdb.base/enable-disable-break.exp
19379 * gdb.base/ending-run.c: new file.
19380 * gdb.base/long_long.c: new file.
19381 * gdb.base/maint.exp: new file.
19382 * gdb.base/pointers2.exp: new file.
19383 * gdb.base/shlib-call2.exp: new file.
19384 * gdb.base/solib.exp: new file.
19385 * gdb.base/step-test.c: new file.
19386 * gdb.c++/anon-union.cc: new file.
19387 * gdb.c++/local.cc: new file.
19388 * gdb.c++/member-pointer.cc: new file.
19389 * gdb.c++/method.cc: new file.
19390 * gdb.c++/ref-types.cc: new file.
19391 * gdb.c++/ref-types2.cc: new file.
19392 * gdb.c++/userdef.cc: new file.
19393
19394 * gdb.base/scope.exp: compile one file at a time, then link.
19395 * gdb.base/langs.exp: ditto.
19396 * gdb.base/list.exp: ditto.
19397
19398 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
19399
19400 The following changes were made by David Taylor
19401 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
19402 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
19403 in changes by HP.
19404
19405 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
19406 skip tests. When compiling pass c++ flag to gdb_compile.
19407 * gdb.c++/
19408
19409 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
19410 test for on hppa*-*-hpux*; use args to see if c++ was specified.
19411 (skip_hp_tests): new function.
19412 (gdb_preprocess): new function.
19413
19414 * configure.in (hpdir): decide whether to configure gdb.hp.
19415 * configure: regenerated.
19416
19417 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
19418 to delete on clean.
19419 (EXECUTABLES): update to reflect new additions.
19420 * gdb.base/commands.exp: update message expected.
19421 * gdb.base/default.exp: add copyright notice.
19422 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
19423 * gdb.base/help.exp: update messages to reflect current text.
19424 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
19425 targets for recurse tests.
19426 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
19427 skip this file.
19428
19429 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
19430 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
19431 compilation.
19432 * gdb.c++/misc.exp: ditto.
19433 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
19434 run the tests. tell gdb_compile that it's a c++ compilation.
19435
19436 * gdb.threads/pthreads.exp: fix typo in message.
19437
19438 * gdb.base/all-bin.exp: new file.
19439 * gdb.base/arithmet.exp: new file.
19440 * gdb.base/assign.exp: new file.
19441 * gdb.base/completion.exp: new file.
19442 * gdb.base/cond-expr.exp: new file.
19443 * gdb.base/condbreak.exp: new file.
19444 * gdb.base/define.exp: new file.
19445 * gdb.base/dollar.exp: new file.
19446 * gdb.base/environment.exp: new file.
19447 * gdb.base/eval-skip.exp: new file.
19448 * gdb.base/jump.exp: new file.
19449 * gdb.base/logical.exp: new file.
19450 * gdb.base/pointers.exp: new file.
19451 * gdb.base/relational.exp: new file.
19452 * gdb.base/section_command.exp: new file.
19453 * gdb.base/whatis-expr.exp: new file.
19454
19455 * gdb.base/all-types.c: new file.
19456 * gdb.base/call-array-struct.c: new file.
19457 * gdb.base/call-return-struct.c: new file.
19458 * gdb.base/call-strings.c: new file.
19459 * gdb.base/callfuncs2.c: new file.
19460 * gdb.base/condbreak.c: new file.
19461 * gdb.base/constvars.c: new file.
19462 * gdb.base/display.c: new file.
19463 * gdb.base/int-type.c: new file.
19464 * gdb.base/jump.c: new file.
19465 * gdb.base/miscexprs.c: new file.
19466 * gdb.base/pointers.c: new file.
19467 * gdb.base/pointers2.c: new file.
19468 * gdb.base/shmain.c: new file.
19469 * gdb.base/shr1.c: new file.
19470 * gdb.base/shr2.c: new file.
19471 * gdb.base/solib.c: new file.
19472 * gdb.base/solib1.c: new file.
19473 * gdb.base/solib2.c: new file.
19474 * gdb.base/varargs.c: new file.
19475 * gdb.c++/derivation.cc: new file.
19476 * gdb.c++/overload.cc: new file.
19477 * gdb.c++/ovldbreak.cc: new file.
19478 * gdb.hp/attach.c: new file.
19479 * gdb.hp/attach2.c: new file.
19480 * gdb.hp/average.c: new file.
19481 * gdb.hp/compiler.c: new file.
19482 * gdb.hp/compiler.cc: new file.
19483 * gdb.hp/execd-program.c: new file.
19484 * gdb.hp/follow-exec.c: new file.
19485 * gdb.hp/follow-fork.c: new file.
19486 * gdb.hp/follow-vfork-and-exec.c: new file.
19487 * gdb.hp/misc-hp.cc: new file.
19488 * gdb.hp/more-steps.c: new file.
19489 * gdb.hp/optimize.c: new file.
19490 * gdb.hp/quicksort.c: new file.
19491 * gdb.hp/run-hp.c: new file.
19492 * gdb.hp/start-stop.c: new file.
19493 * gdb.hp/sum.c: new file.
19494 * gdb.hp/templates-hp.cc: new file.
19495 * gdb.hp/thread-local-in-lib.c: new file.
19496 * gdb.hp/thread-local-in-lib.h: new file.
19497 * gdb.hp/thread-local-in-lib.lib.c: new file.
19498 * gdb.hp/vforked-program.c: new file.
19499 * gdb.hp/virtfunc-hp.cc: new file.
19500 * gdb.hp/watchpoint-hp.c: new file.
19501 * gdb.hp/xdb.c: new file.
19502 * gdb.hp/xdb0.c: new file.
19503 * gdb.hp/xdb0.h: new file.
19504 * gdb.hp/xdb1.c: new file.
19505
19506 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
19507
19508 The following change was made by Edith Epstein
19509 <eepstein@cygnus.com> as part of a project to merge in changes
19510 originally made by HP; HP did not create ChangeLog entries.
19511
19512 * gdb.c++/demangle.exp: changed the expected output for some
19513 ARM-style mangling -- removed second reference to datatype.
19514 For example, maint demangle __dt__11T1__pt__2_cFv
19515 T1<char>::~T1<char>(void)
19516 becomes,
19517 maint demangle __dt__11T1__pt__2_cFv
19518 T1<char>::~T1(void)
19519
19520 (test_hp_style_demangling): new hp specific demangling test cases.
19521
19522 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19523
19524 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19525 * gdb.trace/backtrace.exp: Likewise.
19526 * gdb.trace/circ.exp: Likewise.
19527 * gdb.trace/collection.exp: Likewise.
19528 * gdb.trace/deltrace.exp: Likewise.
19529 * gdb.trace/infotrace.exp: Likewise.
19530 * gdb.trace/limits.exp: Likewise.
19531 * gdb.trace/packetlen.exp: Likewise.
19532 * gdb.trace/passc-dyn.exp: Likewise.
19533 * gdb.trace/passcount.exp: Likewise.
19534 * gdb.trace/report.exp: Likewise.
19535 * gdb.trace/save-trace.exp: Likewise.
19536 * gdb.trace/tfind.exp: Likewise.
19537 * gdb.trace/tracecmd.exp: Likewise.
19538 * gdb.trace/while-dyn.exp: Likewise.
19539 * gdb.trace/while-stepping.exp: Likewise.
19540
19541 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19542
19543 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19544
19545 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19546
19547 From Brendan Kehoe:
19548 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19549 int return types.
19550
19551 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19552
19553 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
19554 remote dos host testing right.
19555
19556 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19557
19558 * gdb.base/corefile.exp: remove some xfails.
19559
19560 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19561
19562 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
19563 have different timestamps.
19564
19565 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19566
19567 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
19568 gdb.base/default.exp: Replace "exec" with "executable".
19569
19570 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19571
19572 * gdb.base/default.exp: Change else if to elseif from previous
19573 delta.
19574
19575 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19576
19577 * gdb.base/default.exp: Add brace missing from previous delta.
19578
19579 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19580
19581 * gdb.base/default.exp: Support test for info float for all
19582 varieties of arm toolchain.
19583
19584 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
19585
19586 * gdb.trace/*.exp: remove "remote_download" command.
19587
19588 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
19589
19590 * gdb.trace/*.exp: remove -gdwarf from compile.
19591
19592 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19593
19594 * gdb.trace/configure.in(AC_INIT): typo
19595 * gdb.trace/configure: regenerated
19596
19597 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
19598
19599 * config/m68k-emc.exp: New file.
19600 * lib/<emc-support.exp trace-support.exp}: New files.
19601 * configure.in: add new test directory gdb.trace.
19602 * gdb.trace/{configure configure.in Makefile.in}: New files.
19603 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19604 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19605 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19606 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19607 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19608 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19609 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
19610
19611 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
19612
19613 * gdb.c++/classes.exp: Change all regular expressions to match
19614 arbitrary combinations of newline/carriage-return, so that they
19615 will work equally well on Unix and Windows.
19616 * gdb.c++/inherit.exp: ditto.
19617 * gdb.c++/virtfunc.exp: ditto.
19618
19619 1998-08-11 Dawn Perchik <dawn@cygnus.com>
19620
19621 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19622
19623 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19624
19625 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19626 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19627 to use a0-a3/d0-d3 as needed.
19628
19629 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19630
19631 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19632 * gdb.disasm/am33.exp: Corresponding changes.
19633
19634 1998-07-11 Felix Lee <flee@cygnus.com>
19635
19636 * gdb.base/callfuncs.exp: add cmp10 test.
19637 * gdb.base/callfuncs.c (cmp10): new function.
19638
19639 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19640
19641 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
19642 into two parts to get around a synchronization problem in expect.
19643
19644 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19645
19646 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19647
19648 * configure.in: Add options for gdbtk testsuite.
19649
19650 * configure: Regenerate.
19651
19652 * gdb.gdbtk: New directory to hold gdbtk tests.
19653
19654 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19655
19656 * gdb.fortran/types.exp: Escape brackets in expect patterns
19657 for test_float_literal_types_accepted tests.
19658 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19659 before run test.
19660
19661 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19662
19663 * am33.exp: Just compile, do not link the testcase.
19664 * am33.s: Add ".am33" pseudoop to force am33 mode.
19665
19666 1998-06-25 Felix Lee <flee@cygnus.com>
19667
19668 * gdb.base/setshow.exp: make sure $pc is sane.
19669
19670 * gdb.stabs/weird.exp: split expect patterns properly.
19671
19672 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19673
19674 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19675 * gdb.disasm/am33.exp: Run it.
19676
19677 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
19678
19679 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19680 match processing (and eliminate spurious timeouts when running).
19681
19682 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
19683
19684 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19685 exception test, but conditionalize it on target [mach | gnu].
19686
19687 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
19688
19689 * gdb.base/overlays.exp: fixup compile line for linker script.
19690
19691 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19692
19693 * gdb.fortran/types.exp: don't guess at float size.
19694
19695 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19696
19697 * gdb.base/exprs.exp: delete test that depends on int size.
19698
19699 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19700
19701 * config/sim.exp: Removed checks for target triplets.
19702 (gdb_target_sim): Use gdb,target_sim_options.
19703
19704 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19705
19706 * gdb.base/reread.exp: New file.
19707 * gdb.base/reread1.c: New file.
19708 * gdb.base/reread2.c: New file.
19709
19710 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19711
19712 * config/sim.exp: Use 'target sim -sparclite' when running
19713 SPARClite programs.
19714
19715 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19716
19717 * gdb.base/structs2.exp: New file.
19718 * gdb.base/structs2.c: New file.
19719
19720 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19721
19722 * gdb.asm/common.inc: New file.
19723 * gdb.asm/d10v.inc: New file.
19724 * asm-source.exp: Pass -I's to gas to find .inc files.
19725 Update line numbers in expected output.
19726 * asmsrc1.s: Rewrite.
19727 * asmsrc2.s: Rewrite.
19728 * configure.in: Create arch.inc symlink.
19729 * configure: Regenerate.
19730 * Makefile.in (distclean): Delete arch.inc.
19731
19732 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19733
19734 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
19735 (t_enum_value2): ditto
19736 (t_enum_value3): ditto
19737 (main): ditto
19738 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19739
19740 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19741 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19742 change.
19743 Use gdb_test instead of send_gdb/gdb_expect sequences.
19744
19745 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19746
19747 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19748 not void.
19749
19750 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19751
19752 * gdb.base/branches.c: Code with lots of loops and
19753 subroutines. Used to test gdbs ability to single step through PC
19754 changes, especially to test mips-tdep.c:mips_next_pc
19755
19756 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19757
19758 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19759 more rigorous EGCS C++ error checking.
19760
19761 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19762
19763 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19764 tests.
19765 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19766 function when asleep.
19767 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19768 for i*86 Linux and SVR4 signal handling problems.
19769 Remove linux xfail for `next to handler in signals_tests_1', fixed
19770 by recent infrun.c change.
19771 Limit backtrace to 10 frames to avoid timeout problems with infinite
19772 stack backtraces.
19773 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19774 target.[ch] change.
19775
19776 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19777
19778 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19779 for a newline from gdb before continuing.
19780 (default_gdb_exit): Just look for y or n.
19781 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19782 it does, fail the rests of the tests in the file.
19783
19784 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19785
19786 * config/cygmon.exp: New file.
19787
19788 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19789
19790 * gdb.base/list.exp: Fix problem with "list default lines around
19791 main" test on remote targets.
19792
19793 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19794 run test on remote targets.
19795
19796 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19797
19798 * gdb.asm: New directory.
19799 * configure.in: Configure it.
19800 * configure: Regenerate.
19801 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19802 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19803
19804 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19805
19806 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19807
19808 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
19809
19810 * gdb.base/overlays (several files): Merge the two overlay
19811 managers into one. Change variables (foox, barx, bazx, grbxx)
19812 back into ints but force them to load in their proper sections.
19813
19814 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19815
19816 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
19817 on-chip insn memory and IMAP1 to upper 128k.
19818 (D10VCopy): Handle memory regions crossing 16k boundaries.
19819 (D10VCopy): Transfer data in 32 bit chunks.
19820
19821 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19822
19823 * gdb.base/overlays.c (main): Exit normally when result is
19824 correct.
19825
19826 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
19827 map. Include space for printf in .text segment.
19828
19829 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
19830 updated d10v memory VMA/LMA map.
19831 (D10VCopy): Call D10VTranslate.
19832
19833 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19834
19835 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19836
19837 * gdb.base/bar.c (barx, bar): Change variable to small array so
19838 that it won't be put into the .sdata - small data -
19839 section. Update reference.
19840 * gdb.base/baz.c (bazx, baz): Ditto.
19841 * gdb.base/foo.c (foox, foo): Ditto.
19842 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19843
19844 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
19845 to be arrays.
19846
19847 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
19848
19849 * gdb.base/overlays.exp: fix up and get working again.
19850 Add tests for backtraces from an overlay function.
19851
19852 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19853
19854 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19855 "calling function with watchpoint enabled".
19856
19857 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19858
19859 * gdb.base/break.exp (test_next_with_recursion): Remove
19860 gdb_suppress_tests for d10v-*-*.
19861 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19862 pending review of whether it is useful or not.
19863
19864 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19865
19866 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19867
19868 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19869
19870 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19871 * config/dve.exp: New file to support Densan boards.
19872
19873 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19874
19875 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19876 reads and BSD.
19877
19878 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19879
19880 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19881 response.
19882
19883 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19884
19885 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19886
19887 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19888 test.
19889
19890 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19891 target_sizeof_long and target_bigendian_p.
19892 (structs_by_value, structs_by_reference): Check values according
19893 to targets word size and endianess.
19894
19895 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19896
19897 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19898 output.
19899
19900 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19901
19902 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19903 Update test of set args help to match source change.
19904
19905 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19906
19907 * gdb.base/default.exp: Expect help system output to be in
19908 alphabetical order.
19909 * gdb.base/help.exp: Ditto.
19910
19911 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19912
19913 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19914 "i*86-pc-linux-gnu*".
19915 * gdb.base/interrupt.exp: Ditto.
19916 * gdb.base/corefile.exp: Ditto.
19917
19918 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19919 define vxworks when building the testcase.
19920
19921 * gdb.base/ptype.exp: Fix testnames to be unique.
19922 * gdb.base/radix.exp: Ditto.
19923 * gdb.base/term.exp: Ditto.
19924 * gdb.base/whatis.exp: Ditto.
19925 * gdb.c++/classes.exp: Ditto.
19926
19927 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19928
19929 * gdb.base/callfuncs.exp: Fix indentation.
19930
19931 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19932 suppress_flag has been set.
19933 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19934 target feature.
19935
19936 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19937
19938 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19939 the testcase.
19940
19941 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19942 set_debug_traps() and breakpoint().
19943 * gdb.c++/misc.cc (main): Ditto.
19944 * gdb.c++/templates.cc (main): Ditto.
19945 * gdb.c++/virtfunc.cc (main): Ditto.
19946
19947 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19948
19949 * lib/gdb.exp(gdb_step_for_stub): New function.
19950 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19951 exists, reload the executable and do a "continue" instead of
19952 doing a jump.
19953 (runto_main): Use gdb_step_for_stub.
19954
19955 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19956 tests to have unique names.
19957 * gdb.base/callfuncs.exp: Ditto.
19958 * gdb.base/commands.exp: Ditto.
19959 * gdb.base/default.exp: Ditto.
19960 * gdb.base/help.exp: Ditto.
19961 * gdb.base/list.exp: Ditto.
19962 * gdb.base/opaque.exp: Ditto.
19963 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19964 similar tests.
19965
19966 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19967 * gdb.c++/cplusfuncs.cc: Ditto.
19968 * gdb.c++/virtfunc.cc: Ditto.
19969
19970 * config/monitor.exp: Keep track of the last file we saw, rather
19971 than trying to get the info from gdb.
19972
19973 * gdb.fortran/types.exp: Move comment to previous line.
19974
19975 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19976
19977 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19978 target mode.
19979
19980 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19981
19982 From Bob Manson:
19983 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19984 string from GDB when it connects.
19985
19986 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19987
19988 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19989
19990 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19991 if we can't get a debug format from GDB (we may be testing an
19992 older GDB). Use a 10 second timeout when checking for the format.
19993
19994 * gdb.stabs/weird.exp: Fix quoting.
19995
19996 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19997
19998 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19999
20000 * config/arm-ice.exp: New file.
20001
20002 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
20003
20004 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
20005 until it has been modified to work with the new testsuite.
20006
20007 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
20008 testcase won't compile, cause all of the testcases in the file to
20009 fail instead.
20010
20011 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
20012 (gdb_clear_suppressed): New procedure.
20013 (gdb_stop_suppressing_tests): Only clear suppress_flag if
20014 it contains a positive value.
20015
20016 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
20017
20018 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
20019
20020 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
20021
20022 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
20023
20024 * lib/gdb.exp (setup_xfail_format): New function.
20025 (get_debug_format): New function to get debug format.
20026 (debug_format): New global variable to hold last value set
20027 by get_debug_format.
20028 * gdb.base/list.exp: Call get_debug_format and expect some
20029 tests to fail for DWARF 1 and COFF formats.
20030 * gdb.c++/ptype.exp: Ditto.
20031 * gdb.c++/classes.exp: Ditto.
20032 * gdb.c++/cplusfuncs.exp: Ditto.
20033 * gdb.c++/inherit.exp: Ditto.
20034 * gdb.c++/templates.exp: Ditto.
20035 * gdb.c++/virtfunc.exp: Ditto.
20036
20037 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
20038
20039 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
20040 host doesn't have a currently-open connection.
20041
20042 * config/sparclet.exp: Cleanups and fixes to make it generic for
20043 any gdb stub target. Handle cases where gdb doesn't respond when
20044 interrupted in a sane fashion.
20045
20046 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
20047 same thing in a totally different way.
20048
20049 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
20050 setting "timeout".
20051 (gdb_start): We set the global gdb_prompt variable in
20052 default_gdb_init now.
20053
20054 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
20055
20056 * gdb.base/printcmds.exp: Fix "check for floating addition"
20057 regexp to accept results within approx +/- .01 of exact value.
20058 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20059
20060 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
20061
20062 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
20063 properly.
20064 (gdb_expect): Add optional timeout parameter, and add timeout
20065 value to various calls.
20066 (gdb_suppress_tests): Only give one warning message per group.
20067
20068 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
20069
20070 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
20071 global variables. Handle getting a value for $timeout more
20072 gracefully.
20073
20074 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20075
20076 * lib/gdb.exp: Close connection to remote host if gdb doesn't
20077 initialize.
20078 (default_gdb_init): New procedure; allow gdb_init to be overridden
20079 by a target configuration file.
20080 (gdb_expect): Pass the timeout to remote_expect.
20081
20082 * config/monitor.exp(gdb_load): Fix typo in regexp.
20083
20084 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
20085
20086 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20087
20088 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
20089
20090 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
20091 here. Call gdb_target_exec before rebooting the target, to make
20092 sure the connection to the target is closed.
20093 (gdb_load): Pass the name of the executable to gdb_target_monitor.
20094 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
20095 Also detect "Timeout reading from remote" error.
20096
20097 * config/gdbserver.exp: Pass the executable being loaded to
20098 gdb_target_monitor. Don't call gdb_file_cmd here; let
20099 gdb_target_monitor do it.
20100
20101 * gdb.disasm/hppa.exp: Don't use exec_output.
20102
20103 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
20104
20105 * gdb.base/list.exp: If we're debugging a non-native target,
20106 try to set the pc register to point to the start of the
20107 program before doing the first list command.
20108
20109 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
20110 test_calls after restarting.
20111
20112 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
20113 reloading.
20114
20115 * gdb.base/watchpoint.exp: Fix typo.
20116
20117 * gdb.base/setshow.exp: Check for use_gdb_stub.
20118
20119 * gdb.base/break.exp: Fix continue until exit test for the gdb
20120 stub case.
20121 * gdb.base/langs.exp: Ditto.
20122
20123 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
20124 gdb_load_offset. If we weren't given a file to load, figure out
20125 what the current file is and use it.
20126
20127 * config/i386-bozo.exp: New file.
20128
20129 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
20130
20131 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
20132 feature.
20133
20134 * config/proelf.exp: New entry.
20135
20136 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
20137
20138 * lib/gdb.exp: Remove spurious .* patterns at the beginning
20139 of regexps.
20140
20141 * gdb.base/watchpoint.exp: Don't run the test_stepping
20142 tests if gdb can't call functions on the target.
20143
20144 * gdb.base/setshow.exp: Don't run the set prompt tests if
20145 the board has gdb_prompt set.
20146
20147 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
20148
20149 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
20150 * gdb.base/commands.exp: Likewise.
20151 * gdb.base/setshow.exp: Likewise.
20152
20153 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
20154
20155 * config/monitor.exp(gdb_start): Look for gdb_prompt target
20156 feature.
20157
20158 * config/i960.exp: New file.
20159
20160 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
20161
20162 * gdb.base/funcargs.exp: Check for gdb,short_int target
20163 feature instead of looking for explicit target triplets.
20164
20165 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
20166
20167 * gdb.base/printcmds.exp: add a couple more tests a la
20168 "p 123DEADBEEF", to check parse_number.
20169 * top.c: change "to enable to enable" to "to enable" in a couple
20170 of help strings.
20171
20172 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
20173
20174 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
20175 on the mn10300.
20176
20177 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
20178
20179 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
20180 where the test executable is run with explicit args.
20181 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
20182
20183 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
20184
20185 * gdb.base/run.c: Use FAKEARGV to build test executable that
20186 does not require a command line arg, since most simulators
20187 don't currently support passing such an arg into the simulated
20188 program.
20189 * gdb.base/commands.exp: Change tests to insert the proper
20190 value as the arg to the first recursive factorial call. Change
20191 compilation line to define FAKEARGV at compile time.
20192
20193 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
20194
20195 * gdb.base/recurse.exp: Enable these tests for the mn10300.
20196 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
20197 function with watchpoint enabled" test.
20198
20199 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
20200
20201 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
20202 Don't call gdb_test when the command doesn't return to a gdb prompt.
20203
20204 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
20205 "Tests restarted" messages.
20206
20207 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
20208
20209 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
20210
20211 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
20212
20213 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
20214 for INFO SYMBOL; add help tests for OVERLAY commands.
20215 * gdb.base/default.exp: add tests for INFO SYMBOL command;
20216 add tests for OVERLAY commands
20217 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
20218 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
20219 * gdb.base/sigall.c: add usestubs code frag
20220 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
20221
20222 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
20223
20224 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
20225 failures.
20226 (gdb_stop_suppressing_tests): Note that tests have restarted.
20227
20228 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
20229
20230 * config/h8300.exp: New file.
20231
20232 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
20233
20234 * gdb.base/setshow.exp: Check for the existence of a
20235 feature, not its value.
20236
20237 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
20238
20239 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
20240
20241 * gdb.base/scope.exp: It's now init0(), not init().
20242
20243 * gdb.base/scope0.c: For now, change init() to be init0().
20244
20245 * config/monitor.exp: Use gdb_serial in preference to serial
20246 or netport.
20247
20248 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
20249 and it's not already set.
20250
20251 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
20252
20253 * gdb.base/setshow.exp: Only test the run command if the target
20254 isn't using a stub and if it supports argument passing.
20255
20256 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
20257
20258 * config/udi.exp(gdb_start): Make sure UDICONF is set
20259 properly before starting gdb.
20260
20261 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
20262
20263 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
20264 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
20265 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
20266
20267 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
20268
20269 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
20270 specialized code to reboot the board, use remote_reboot instead.
20271
20272 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
20273
20274 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
20275
20276 * config/monitor.exp: Make sure we disconnect from the target.
20277 Also, try a reboot/reload cycle instead of failing if the
20278 load fails.
20279
20280 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
20281
20282 * gdb.base/default.exp: Don't set match_max.
20283 * gdb.base/help.exp: Ditto.
20284 * gdb.base/list.exp: Ditto.
20285 * gdb.base/signals.exp: Ditto.
20286
20287 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
20288 set, use remote_ld to download the testcase instead of
20289 the GDB loader.
20290
20291 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
20292
20293 * config/vr5000.exp: New file.
20294
20295 * config/monitor.exp(gdb_target_monitor): Add pattern for
20296 "Ending remote" to detect errors in connecting.
20297
20298 * gdb.base/setshow.exp: Add .* within auto language test.
20299
20300 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
20301 target feature.
20302
20303 * config/monitor.exp(gdb_load): Check for a failure when loading,
20304 and reboot the board if necessary.
20305
20306 * gdb.base/setvar.exp(test_set): Handle multiple prints within
20307 a set of tests. Remove print.* from the patterns being checked.
20308
20309 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
20310
20311 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
20312 refer to gdb_spawn_id.
20313
20314 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
20315 longer used.
20316 * config/sparclet.exp: Ditto.
20317 * config/sparclet-old.exp: Ditto.
20318 * config/slite.exp: Ditto.
20319 * config/sim.exp: Ditto.
20320 * gdb.base/funcargs.exp: Ditto.
20321
20322 * lib/gdb.exp:Remove references to gdb_spawn_id.
20323 (gdb_expect): Move to remote.exp.
20324
20325 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
20326
20327 * config/monitor.exp: Detect the "Couldn't establish connection"
20328 message from GDB.
20329
20330 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
20331
20332 * gdb.base/bitfields.exp: Use runto instead of explicit
20333 gdb_run_cmd/gdb_expect sequences.
20334
20335 * gdb.base/break.exp(text_next_with_recursion): Add match for
20336 gdb_expect call.
20337
20338 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
20339 We also need to handle the "A program is being debugged already"
20340 prompt from gdb. Use gdb_test to set the baud rate.
20341
20342 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
20343 to 20000. Really. I mean it.
20344
20345 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20346
20347 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
20348 fails. If suppress_flag is set, skip perror message about not
20349 being able to send to GDB.
20350 (send_gdb): If suppress_flag is set, don't try to send commands to
20351 GDB.
20352 (gdb_expect): If suppress_flag is set, always fail immediately.
20353 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
20354 (gdb_init): Call gdb_stop_suppressing_tests.
20355 (default_gdb_exit): Ditto.
20356 (default_gdb_start): Ditto.
20357
20358 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
20359 gdb_stop_suppressing_tests as appropriate.
20360 * gdb.base/break.exp: Ditto.
20361 * gdb.base/callfuncs.exp: Ditto.
20362 * gdb.base/commands.exp: Ditto.
20363 * gdb.base/exprs.exp: Ditto.
20364 * gdb.base/funcargs.exp: Ditto.
20365 * gdb.base/list.exp: Ditto.
20366 * gdb.base/recurse.exp: Ditto.
20367 * gdb.base/scope.exp: Ditto.
20368 * gdb.base/structs.exp: Ditto.
20369 * gdb.c++/inherit.exp: Ditto.
20370
20371 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
20372
20373 * config/vr4300.exp: New file.
20374
20375 * gdb.*/*.exp: Call gdb_expect instead of expect.
20376
20377 * lib/gdb.exp(gdb_expect): New function.
20378
20379 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
20380
20381 * lib/gdb.exp(gdb_init): New function.
20382
20383 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
20384 for each individual variable set.
20385
20386 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
20387 name.
20388
20389 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
20390
20391 * gdb.base/scope.exp: Use gdb_test.
20392
20393 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
20394 aborting; the testsuite driver will do that for us (see
20395 gdb_finish). Also, use gdb_test in a few more places.
20396
20397 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
20398
20399 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20400
20401 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
20402
20403 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
20404 and "add_tests" are not at the same address.
20405
20406 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
20407
20408 * gdb.base/ptype.exp: Use gdb_test.
20409
20410 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
20411
20412 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
20413 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
20414 left in. No longer expect them to fail.
20415
20416 * gdb.stabs/*.mt; Deleted, no longer used.
20417 * gdb.stabs/configure.in: Remove references to target makefile
20418 frags.
20419 * gdb.stabs/configure: Rebuilt.
20420
20421 * gdb.disasm/*.mt: Deleted, no longer used.
20422 * gdb.disasm/configure.in: Remove references to target makefile
20423 frags. Use "sh3.s" as the unique filename for this directory.
20424 * gdb.disasm/configure: Rebuilt.
20425
20426 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
20427 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
20428 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
20429
20430 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
20431
20432 * config/udi.exp: Use mondfe,name instead of remote_host.
20433
20434 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
20435
20436 * gdb.base/watchpoint.exp: Don't expect a failure when calling
20437 a function with a watchpoint enabled on the mn10200.
20438
20439 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
20440 before trying to create it!
20441
20442 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
20443
20444 * config/vx.exp: Use hostname instead of netport.
20445
20446 * config/vxworks.exp: New file.
20447
20448 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
20449
20450 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
20451 gdb before assuming everything worked. Send a ^C if a timeout
20452 occurs.
20453
20454 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
20455 $gdb_spawn_id directly.
20456 (gdb_run_cmd): Try _start as well as start. Use the target feature
20457 gdb,start_symbol as the symbol to start from when jumping.
20458
20459 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
20460
20461 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
20462 redundant) test.
20463
20464 * gdb.base/recurse.exp: Relax final value test for 'b' so that
20465 it doesn't lose for 16bit integer systems.
20466
20467 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
20468
20469 * gdb.fortran/types.exp: If the target doesn't support "double"
20470 data types, then expect "real" types to only be 4 bytes.
20471
20472 * gdb.c++/virtfunc.exp: Expect failure for virtual function
20473 call tests if the target doesn't support inferior function calls.
20474
20475 * gdb.base/printcmds.exp: Allow minor deviation in FP values
20476 in printf tests.
20477
20478 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
20479
20480 * gdb.base/help.exp: Disable "help set", "help show", and
20481 "help support". Simplify regexp for "help stack".
20482
20483 * gdb.base/default.exp: Set match_max to 5000 and the timeout
20484 to 60 seconds. Temporarily set match_max to 15000 around the
20485 "info copying" test.
20486
20487 * gdb.base/nodebug.exp: Don't try to do an inferior function
20488 call if the target doesn't support them.
20489 * gdb.base/printcmds.exp: Likewise.
20490 * gdb.base/setvar.exp: Likewise.
20491 * gdb.base/structs.exp: Likewise.
20492 * gdb.c++/templates.exp: Likewise.
20493 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
20494
20495 * gdb.base/recurse.exp: Enable for the mn10200.
20496
20497 * configure.in: Do configure gdb.stabs directory for *-*-elf
20498 targets.
20499 * configure: Rebuilt.
20500
20501 * gdb.base/break.exp: Check for gdb,noresults before testing
20502 exit status and/or results from the target.
20503 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
20504 * lib/gdb.exp: Remove old (now bogus) initialization of
20505 noinferior, noargs, noresults and nosignals.
20506
20507 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
20508
20509 * config/sh.exp: New file.
20510
20511 * config/slite.exp: Try to connect multiple times to the board
20512 before rebooting. Only send a "monitor run" if need_monitor_run
20513 is set.
20514
20515 * gdb.base/break.exp: Don't do the "stub continue" test if
20516 the target has gdb_stub set.
20517
20518 * gdb.base/callfuncs.exp: Increase the timeout.
20519
20520 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20521 if the target has gdb,noinferiorio set.
20522
20523 * gdb.base/list.exp: Increase match_max to 10000 characters.
20524
20525 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20526
20527 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20528 target.
20529
20530 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20531
20532 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20533
20534 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
20535 trying to delete the copy of gdb. Catch the file delete so we
20536 don't die if the delete fails; also, the file should be copied to
20537 the host, not to the build.
20538
20539 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20540
20541 * lib/gdb.exp(gdb_test): Surround the result pattern with
20542 parenthesis in case it contains multiple regexps separated
20543 with |.
20544
20545 * gdb.base/watchpoint.exp: Use gdb_test.
20546 * gdb.base/default.exp: Ditto.
20547
20548 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20549
20550 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
20551
20552 * gdb.base/scope.exp: Use gdb_test.
20553 * gdb.c++/classes.exp: Ditto.
20554 * gdb.c++/inherit.exp: Ditto.
20555
20556 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20557
20558 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20559 remote_exec instead.
20560 * gdb.base/corefile.exp: Don't be ridiculous.
20561 * gdb.base/*.c: Add missing stub invocations.
20562
20563 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20564
20565 * config/slite.exp: Miscellaneous fixes.
20566
20567 * lib/gdb.exp: Fix runto.
20568
20569 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20570 the target.
20571
20572 * gdb.base/watchpoint.exp: Fix regexp.
20573
20574 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20575 close and wait commands, as the descriptor may now be
20576 invalid. Always call "remote_close host".
20577
20578 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20579
20580 Major rewrite for testsuite revision.
20581
20582 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20583 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20584 instead of relying on spawn_id to always contain a valid
20585 spawn id.
20586 (get_compiler_info): New procedure to build the ${binfile}.ci
20587 file, instead of replicating this in N different places.
20588 (gdb_compile): New procedure.
20589
20590 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
20591 appropriate arguments) instead of compile. Use gdb_test in a lot
20592 more places. Use send_gdb instead of send. Always run gdb_start
20593 at the start of a testcase, as this is no longer done magically.
20594
20595 config/*-gdb.exp: Rename without the -gdb suffix.
20596
20597 config/mips.exp: Use remote_close instead of exit_remote_shell.
20598 config/monitor.exp: Use target_info instead of looking at
20599 baud, timeout, etc.
20600 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20601
20602 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20603
20604 * gdb.c++/templates.exp (test_ptype_of_templates),
20605 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20606 Update expect patterns for destructors and assignment operators
20607 to match corresponding c-typeprint.c changes.
20608 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20609 to destructor breakpoint test, GDB should be able to set the
20610 destructor breakpoint without specifying arguments.
20611
20612 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20613
20614 * gdb.threads/pthreads.exp: Change result for failure to compile due
20615 to lack of pthreads runtime support from an error to simply an
20616 unsupported test, per dejagnu standards.
20617
20618 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20619
20620 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20621 where GDB exits to reduce pattern match time.
20622 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20623
20624 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20625
20626 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
20627
20628 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20629 * gdb.base/default.exp: ditto.
20630 * gdb.base/nodebug.exp: ditto.
20631 * gdb.base/printcmds.exp: ditto.
20632 * gdb.base/ptype.exp: ditto.
20633 * gdb.base/setvar.exp: ditto.
20634 * gdb.base/structs.exp: ditto.
20635 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20636
20637 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20638
20639 * configure, */configure: Rebuild with autoconf 2.12.
20640
20641 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20642
20643 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20644 use new i*86-pc-linux*-gnu quads.
20645 * gdb.base/corefile.exp: Ditto.
20646 * gdb.base/signals.exp: Ditto.
20647 * gdb.base/sigall.exp: Ditto.
20648 * gdb.base/interrupt.exp: Ditto.
20649
20650 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20651 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20652 RedHat 4.0.
20653
20654 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
20655 linux. This allows the test case to at least compile on latest
20656 linux, but still not run due to missing the threads runtime library.
20657
20658 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20659
20660 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20661 directory to search gdb directory. Accept and step over conditional
20662 stack alignment code. Consume $prompt in failure cases.
20663 Reset timeout to $oldtimeout instead of some arbitrary value.
20664 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20665 timeout problems with infinite stack backtraces.
20666 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20667 Accept function parameters for linkfunc member.
20668
20669 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20670
20671 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20672 (CXXFLAGS): Remove, unreferenced.
20673 (B_OPTIONS): Add for -B options and add code to initialize with
20674 previous -B options and also add -B option to pick up cross compiled
20675 runtime.
20676 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20677 doing cross compiles.
20678 (target_alias): Declare global.
20679 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20680 to verify that gcc exists in build tree, and if so set CC to that
20681 gcc and to use B_OPTIONS and TARGET_INCLUDES.
20682
20683 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20684
20685 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20686 ptype test for anonymous union. Fixup testcase to match
20687 current gcc debug output.
20688
20689 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20690
20691 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20692 force argument to an unsigned long type.
20693
20694 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20695
20696 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
20697 tests and anonymous union print/ptype tests.
20698 * gdb.base/list.exp (test_forward-search): Increase timeout by
20699 5 minutes for the "search extremely long line" case.
20700 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20701 completely optional and that the pass/fail messages use the command as
20702 the message if that third arg is a null string.
20703 (gdb_test_exact): Arrange that a null string pattern means match a
20704 null string output rather than any output, which might include random
20705 errors.
20706 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20707 backtrace test.
20708 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20709 always failing and failure is now exposed by gdb.exp changes.
20710
20711 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20712
20713 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20714 weren't being noted.
20715
20716 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20717
20718 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20719 * gdb.stabs/weird.exp: Remove v_comb xfails.
20720
20721 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
20722
20723 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
20724 list.exp scope.exp watchpoint.exp]
20725 Make all timeout error msgs explicitly say "(timeout)".
20726
20727 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
20728
20729 * config/monitor.exp: Increase download timeout to 1000 seconds.
20730
20731 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
20732
20733 * config/m32r.exp: Increase timeout to 120 seconds.
20734
20735 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20736
20737 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20738 and accept older ordering as obsolescent gcc or gdb.
20739 * gdb.c++/templates.exp: Ditto.
20740 * gdb.c++/virtfunc.exp: Ditto.
20741
20742 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20743
20744 * gdb.base/coremaker.c: Add code to mmap some data so we
20745 can check that it ends up in the core file.
20746 * gdb.base/corefile.exp: Add test to read mmapped data
20747 from core file.
20748
20749 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
20750
20751 * config/m32r.exp: New file.
20752
20753 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20754
20755 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20756 that cflags can contains -gstabs, and work correctly for other tests.
20757
20758 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
20759
20760 * gdb.base/setshow.exp: New file, tests show and set.
20761 * gdb.base/setshow.c: New file, tests show and set.
20762 * gdb.base/help.exp: Add test for help set|show annotate.
20763 * gdb.base/default.exp: Add test for set|show annotate.
20764
20765 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20766
20767 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20768 errors unique.
20769 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20770 explicitly.
20771
20772 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20773
20774 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20775 and width commands. This is done elsewhere.
20776 * (gdb_start): Don't call gdb_start_sim here. That's already
20777 done in gdb_load. This fixes lots of failures in default.exp.
20778
20779 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20780
20781 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20782 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20783 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20784 in the same we we treat other failures (since it may be an expected
20785 condition), rather than as an error.
20786 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20787 old test format.
20788
20789 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20790
20791 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20792 (distclean maintainer-clean realclean): No need to remove files
20793 twice. Nuke the duplicates.
20794 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
20795 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
20796 Remove config.h along with other config files.
20797
20798 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20799
20800 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20801 "p func1 ()" and note that rests of tests are skipped.
20802 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
20803 setup_xfails for "print func2::coremaker_local".
20804 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20805 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20806 affected by the previous run test.
20807 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20808 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20809 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20810 "pass int powerset tuple" and "pass modeless int powerset tuple".
20811 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20812 "real write 4" and "real write 8".
20813 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
20814 setup_xfails for "print vs1 after tuple assign 2",
20815 "print \$i after tuple assign 2", and
20816 "print vs2 after tuple assign 2".
20817 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20818 meaningful error message and return -1 so the caller can
20819 suppress further tests and avoid a cascade of errors.
20820
20821 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20822
20823 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20824 format for printing version.
20825 * gdb.base/default.exp: Ditto.
20826 * gdb.base/interrupt.exp: Fix problem with cascade of
20827 errors if child process dies while calling a function.
20828
20829 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20830
20831 * Makefile.in (VPATH): Add
20832 * Makefile.in (Makefile, config.status): Fix rules so things get
20833 remade when necessary.
20834
20835 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20836
20837 * Makefile.in (just-check): Add path to sibling expect dir
20838 to environment variable specified by RPATH_ENVVAR.
20839
20840 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20841
20842 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20843 (just-check): Add shared library paths for libstdc++, tk,
20844 tcl, bfd, and opcodes to the environment variable specified
20845 in RPATH_ENVVAR.
20846 * configure.in: Add support to recognize --enable-shared flag
20847 and generate correct value for RPATH_ENVVAR.
20848 * configure: Regenerated with autoconf.
20849
20850 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20851
20852 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
20853 include all osf versions.
20854 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20855 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20856 when target is linux. When failing to build pthreads test
20857 executable, give more meaningful message.
20858 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20859 arg for pthread_create.
20860
20861 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20862
20863 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20864 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20865 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20866 and -lpthreads (everybody else).
20867 (test_startup): Fail gracefully if threads are not supported.
20868 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20869 "p/c array_index("abcdef",2)" when not gcc compiled.
20870 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20871 "print func2::coremaker_local" when not gcc compiled.
20872 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20873 "ptype on opaque struct tagname (statically)",
20874 "ptype on opaque struct tagname (dynamically) 1", and
20875 "ptype on opaque struct tagname (dynamically) 2"
20876 for not compiled with gcc.
20877 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20878 backtrace when compiled with gcc.
20879 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20880 than always return success.
20881
20882 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20883
20884 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20885
20886 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20887
20888 * gdb.base/structs.exp: Undo last change.
20889
20890 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20891
20892 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20893 encapsulate all the steps/nexts done during self test, starting
20894 at main, and makes them less sensitive to optimization issues.
20895 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20896 signal handler" test.
20897 * gdb.threads/pthreads.exp: Only run this for native configs.
20898 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20899 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20900 tests.
20901 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20902 for "runto test_calls(void)" test.
20903
20904 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20905
20906 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20907 and don't expect address info in breakpoint confirmations.
20908
20909 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20910
20911 * gdb.base/list.exp (test_forward_search): Increase timeout
20912 temporarily by 60 seconds for searching extremely long line,
20913 and then reset to old value when done. Increase expect input
20914 buffer to 10000.
20915
20916 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20917
20918 * gdb.base/list.exp (test_forward_search): Fix to handle very
20919 long source line without overflowing expect's input buffer.
20920
20921 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20922
20923 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20924 "buffer_full".
20925
20926 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20927 "buffer_full".
20928
20929 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20930 "buffer_full".
20931
20932 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20933 "buffer_full".
20934
20935 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20936
20937 * configure.in (configdirs): Add gdb.threads.
20938 * configure: Regenerated with autoconf.
20939 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20940 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20941 * gdb.threads/configure: New, generated with autoconf.
20942
20943 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20944
20945 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20946
20947 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20948
20949 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20950 each signal's status in the output of "handle all print".
20951 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20952 the \r\n sequence that immediately precedes the gdb prompt.
20953 * gdb.base/a1-selftest.exp: Save original timeout and restore
20954 after test.
20955
20956 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20957
20958 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20959 symbol.
20960
20961 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20962
20963 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20964
20965 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20966
20967 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20968 timeout by 60 seconds.
20969
20970 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20971
20972 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20973 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20974 error return.
20975
20976 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20977
20978 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20979 gdb initialization, also report how long dejagnu waited. Restore
20980 old timeout before doing error return. Temporarily increase timeout
20981 by 3 minutes to allow for slow startups over heavy NFS use.
20982
20983 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20984
20985 * lib/gdb.exp: Report timeout value for verbosity level 2.
20986 * config/gdbserver.exp: Ditto.
20987 * config/hppro.exp: Ditto.
20988 * config/mips-gdb.exp: Ditto.
20989 * config/monitor.exp: Ditto.
20990 * config/netware.exp: Ditto.
20991 * config/sim-gdb.exp: Ditto.
20992 * config/slite-gdb.exp: Ditto.
20993 * config/udi-gdb.exp: Ditto.
20994 * config/unix-gdb.exp: Ditto.
20995 * config/vx-gdb.exp: Ditto.
20996 * gdb.base/a1-selftest.exp: Ditto.
20997 * gdb.base/a2-run.exp: Ditto.
20998 * gdb.base/break.exp: Ditto.
20999 * gdb.base/corefile.exp: Ditto.
21000 * gdb.base/list.exp: Ditto.
21001 * gdb.base/recurse.exp: Ditto.
21002 * gdb.base/scope.exp: Ditto.
21003 * gdb.base/signals.exp: Ditto.
21004
21005 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21006
21007 * gdb.threads/Makefile.in (docdir): Removed.
21008
21009 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21010
21011 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
21012 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
21013 @srcdir@.
21014 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
21015 autoconf 2.5 or higher.
21016 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
21017
21018 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
21019
21020 * configure: Regenerated.
21021 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
21022 avoid name clashes with SunOS headers.
21023
21024 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
21025
21026 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
21027
21028 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
21029
21030 * gdb.base/callfuncs.exp: Finish last change -- make sure the
21031 prototype information ends up in the compiler info file.
21032
21033 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
21034
21035 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
21036 attempting to regenerate it. Eliminate use of a temporary file
21037 and just generate the info file directly. Source it immediately,
21038 for consistency of use.
21039 * gdb.base/corefile.exp: Ditto
21040 * gdb.base/exprs.exp: Ditto.
21041 * gdb.base/funcargs.exp: Ditto.
21042 * gdb.base/langs.exp: Ditto.
21043 * gdb.base/list.exp: Ditto.
21044 * gdb.base/mips_pro.exp: Ditto.
21045 * gdb.base/nodebug.exp: Ditto.
21046 * gdb.base/opaque.exp: Ditto.
21047 * gdb.base/ptype.exp: Ditto.
21048 * gdb.base/scope.exp: Ditto.
21049 * gdb.base/setvar.exp: Ditto.
21050 * gdb.base/signals.exp: Ditto.
21051 * gdb.base/whatis.exp: Ditto.
21052 * gdb.c++/templates.exp: Ditto.
21053 * gdb.c++/virtfunc.exp: Ditto.
21054 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
21055 whether or not to add -lstdc++ to the compile command line args.
21056
21057 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21058
21059 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
21060 it got fixed by the recent lookup_minimal_symbol_by_pc change.
21061 Increase timeout, a lot of single stepping might be needed if the
21062 target has no hardware watchpoints.
21063
21064 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
21065
21066 * gdb.base/break.exp: Ignore compiler warnings when compiling
21067 break.c.
21068 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21069 * gdb.base/default.exp: Add h8300 xfails. Handle messages
21070 from remote-sim.
21071 * gdb.base/exprs.exp: Add h8300 xfails.
21072 * gdb.base/funcargs.exp: Likewise.
21073 * gdb.base/nodebug.exp: Likewise.
21074 * gdb.base/printcmds.exp: Likewise.
21075 * gdb.base/ptype.exp: Likewise.
21076 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
21077 h8300 xfails.
21078 * gdb.base/return.exp: Handle float/double precision problems
21079 on the h8300.
21080 * gdb.base/funcargs.c: Explicitly make last constant argument to
21081 call_after_alloca_subr an unsigned long type.
21082 * gdb.base/return.c: Include stdio.h.
21083
21084 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
21085
21086 * config/abug.exp: New file for the older Motorola Bug monitor
21087 that runs on the mvme13x series VME boards.
21088 * config/monitor.exp: Use the new config array for target settings
21089 if they exist.
21090
21091 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
21092
21093 * sim-gdb.exp: Make the SH simulator allocate less space when
21094 it is targeted.
21095
21096 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
21097
21098 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
21099 test.
21100
21101 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
21102
21103 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
21104 "rs6000-*-*" for "list function in include file" when gcc compiled.
21105 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
21106 for "p ctable1[120]".
21107 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
21108 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
21109 Remove setup_xfail for "rs6000-*-*" for
21110 "print 'scope0.c'::filelocal before run".
21111 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
21112 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
21113 since some compilers don't allow both options to be given
21114 on the same command line. Create object file and move it.
21115
21116 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
21117
21118 * gdb.base/corefile.exp: Always regenerate the core file, since
21119 we always regenerate the coremaker program. Detect special case
21120 where registers cannot be read from core file.
21121
21122 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
21123
21124 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
21125 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
21126 * gdb.c++/templates.exp: Only match on basename of file since
21127 some formats like xcoff don't encode directory information.
21128 * gdb.stabs/weird.exp: Use the right sed script for powerpc
21129 and rs6000 AIX xcoff targets.
21130 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
21131 * configure: Regenerate.
21132 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
21133 here, rather than in distclean.
21134
21135 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
21136
21137 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
21138 defined, and use it to compile the test case with -O2. The
21139 native compilation still uses no optimization.
21140 * gdb.base/mips_pro.c: Remove inline assembly code since
21141 it is compiled PIC by default, which results in assembler
21142 warnings that make the testsuite think the compilation
21143 was unsuccessful.
21144
21145 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
21146
21147 * gdb.c++/misc.exp: Add note to message for
21148 "print s.a for foo struct" that this is a known gcc 2.7.2
21149 and earlier bug.
21150
21151 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
21152
21153 * gdb.base/break.exp: Fix pattern for matching "Delete all
21154 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
21155 setup_xfail for deleting all breakpoints test. Fix various
21156 timeout messages to include "(timeout)".
21157 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
21158 for "p t_float_values2(3.14159,float_val2)".
21159 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
21160 for "continue to call2g" when gcc compiled.
21161 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
21162 "up to foo in langs.exp", "show language at foo in langs.exp",
21163 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
21164 and "show language at fsub in langs.exp".
21165 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
21166 "list line 1 in include file", "list message for lines past EOF",
21167 "list function in include file", "list list0.h:foo", and
21168 "list filename:function; nonexistant function".
21169 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
21170 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
21171 and "ptype t_char_array" to be for native cc only.
21172
21173 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
21174
21175 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
21176 setup_xfail for "print coremaker_bss", "print coremaker_ro",
21177 "print func2::coremaker_local", and "backtrace in corefile.exp".
21178
21179 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
21180
21181 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
21182 "bt in signals.exp". This problem only appears when running
21183 the testsuite, and then only intermittently.
21184
21185 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
21186
21187 * gdb.base/return.exp (return_tests): Differentiate between
21188 two tests of continuing.
21189
21190 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
21191
21192 * */Makefile.in (maintainer-clean): Remove config.log.
21193 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
21194 * gdb.c++/Makefile.in (PROGS): Add inherit.
21195 (clean): Remove *.ci.
21196
21197 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
21198
21199 * gdb.c++/misc.cc: Add test code from Mike Stump.
21200 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
21201
21202 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
21203
21204 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
21205 to "alpha-*-osf2*" and add comment.
21206 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
21207 setup_xfail for "step over execarg initialization" and
21208 "step over corearg initialization".
21209 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
21210 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
21211 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
21212 gcc compiled for "print coremaker_bss", "print coremaker_ro",
21213 "print func2::coremaker_local", and "backtrace in corefile.exp".
21214 * gdb.base/signals.exp: Build and source signals.ci.
21215 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
21216 to be for gcc only.
21217 * lib/gdb.exp: Move verbose statements outside conditionals.
21218
21219 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21220
21221 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
21222 Feb 3 procfs.c change.
21223
21224 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
21225
21226 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
21227
21228 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
21229
21230 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
21231 from dejagnu's apparent default of 10 seconds, which gives random
21232 results when running the tests over NFS on moderately loaded systems.
21233 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
21234
21235 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
21236
21237 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
21238 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
21239 result reports.
21240
21241 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
21242
21243 * configure.in (CY_AC_PATH_TCLH): Remove.
21244 * configure: Regenerate.
21245
21246 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
21247
21248 * gdb.c++/Makefile.in (clean): Add missing '{'.
21249
21250 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
21251
21252 * lib/gdb.exp: Provide a default value for noinferior.
21253
21254 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
21255 Load libgloss.exp.
21256
21257 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
21258
21259 * gdb.disasm/hppa.exp: Compile directly into an executable, use
21260 the executable, not the .o to run the tests from.
21261
21262 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
21263
21264 * gdb.base/break.exp: Don't test for program exit or exit status
21265 if $noresults if nonzero.
21266 * gdb.base/langs.exp: Likewise.
21267 * gdb.base/watchpoint.exp: Likewise.
21268
21269 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
21270 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
21271 trying to compile the testcase.
21272
21273 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
21274
21275 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
21276 * gdb.base/signals.exp (continue to handler): Likewise.
21277
21278 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
21279
21280 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
21281
21282 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
21283
21284 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
21285
21286 * gdb.base/corefile.exp: Recognize "not found" as failure
21287 when trying to determine if a core file was generated.
21288 If no core file was generate the first time, try again without
21289 the ulimit -c to work around braindamaged shells.
21290
21291 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
21292
21293 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
21294 [] tests with "test" and enclose string in quotes.
21295 * gdb.stabs/configure: Rebuild
21296
21297 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
21298
21299 Changes in sync with expect:
21300 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
21301 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
21302 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
21303 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
21304 argument to AC_REQUIRE.
21305 * configure: Regenerated.
21306
21307 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
21308
21309 * gdb.base/corefile.exp: When generating a core, discard any
21310 error messages about ulimit not found and the "core dumped"
21311 message from the shell that runs the coredumper.
21312
21313 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
21314
21315 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
21316
21317 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
21318 which sed script to run. Expect failure for v_comb test
21319 on PA targets too.
21320
21321 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
21322
21323 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
21324 "print func2::coremaker_local" and for "backtrace in corefile.exp"
21325
21326 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
21327
21328 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
21329 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
21330 "sparc-sun-solaris*" xfails for "p v_comb".
21331 * lib/gdb.exp (default_gdb_start): Fix typo.
21332 * gdb.base/corefile.exp: Allow "Core was generated by ..."
21333 messages to not include the full program name that caused
21334 the core dump since some systems (such as solaris) apparently
21335 truncate this path to about 80 characters.
21336 When generating a core file first try increasing the core file
21337 size limit to unlimited since some systems may default it to
21338 zero, and it is harmless to try it. Move the test for failing
21339 to generate a core file to where it will actually get executed.
21340 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
21341 new gdb result from g++ debug info improvements and make old
21342 pattern obsolescent. Also account for size_t differences
21343 (may be int or long).
21344 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
21345 initialization before function call is placed in the delay slot
21346 and thus appears to be skipped over by commands such as "next".
21347
21348 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21349
21350 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
21351
21352 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
21353
21354 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
21355 input source file; fix code to compile test to deal with this
21356 convention.
21357 * gdb.c++/*.exp: Likewise.
21358
21359 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
21360
21361 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
21362 "bt in signals.exp".
21363
21364 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
21365
21366 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
21367 "step over execarg initialization" and
21368 "step over corearg initialization".
21369
21370 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
21371
21372 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
21373 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
21374
21375 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
21376
21377 From Rob Savoye (rob@poseidon.cygnus.com)
21378 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
21379 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
21380 configure.in}, gdb.disasm/{Makefile.in, configure.in},
21381 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
21382 configure.in}: Major reworking for autoconfig.
21383 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
21384 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
21385 New files.
21386 * config/unix-gdb.exp: Make GDB global.
21387 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
21388 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
21389 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
21390 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
21391 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
21392 term.exp, twice.exp, watchpoint.exp, whatis.exp},
21393 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
21394 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
21395 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
21396 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
21397 pr-8136.exp, result.exp, string.exp, tuples.exp},
21398 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
21399 to returns as necessary, arrange for test to compile own testcase
21400 executable.
21401 * lib/gdb.exp: Changes for testsuite to compile own test cases.
21402
21403 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
21404
21405 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
21406 clear_xfail at end of test which might not call either pass or fail.
21407 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
21408 "backtrace through signal handler".
21409
21410 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21411
21412 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
21413 continuing from a job control stop signal.
21414 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
21415
21416 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
21417
21418 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
21419 * gdb.base/corefile.exp: Likewise.
21420 * gdb.base/funcargs.exp: Likewise.
21421
21422 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
21423
21424 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
21425 * config/monitor.exp: Add support for setting baud rate.
21426
21427 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
21428
21429 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
21430 i*86-*-linux* xfails for "backtrace through signal handler".
21431 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
21432 "print func2::coremaker_local".
21433 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
21434 alpha-dec-osf2* xfail for
21435 "delete all breakpoints when none".
21436
21437 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
21438
21439 * gdb.base/break.exp: Change test that deletes all breakpoints
21440 when no user breakpoints are installed. A post 4.15 change
21441 causes gdb to no longer prompt in this case.
21442
21443 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
21444
21445 * gdb.base/return.exp (return_tests): Change xfail for test
21446 "correct value returned double test" to stop xfailing at
21447 Solaris 2.5. Apparently the bug has been fixed.
21448
21449 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
21450
21451 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
21452 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
21453
21454 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
21455
21456 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
21457 * gdb.disasm/hppa.s: Corresponding changes.
21458
21459 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
21460
21461 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
21462 makefile fragment.
21463 * config/mt-hpux: Deleted.
21464
21465 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
21466
21467 * Many files: When warning about suppressed tests due to a
21468 nonexistant test binary, avoid incrementing the warning count.
21469
21470 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
21471
21472 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
21473
21474 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21475
21476 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
21477 "sparc-*-solaris2*".
21478
21479 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21480
21481 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
21482 Add global and local variables and initialize them.
21483 * gdb.base/corefile.exp: Test correct mapping of corefile sections
21484 by printing variables. Remove rs6000 and powerpc xfails, BFD now
21485 extracts the file name and terminating signal from the core file.
21486 * TODO: Remove note about tests for correct mapping of corefile.
21487 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
21488 from optimizing it away.
21489 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
21490 handles common blocks.
21491
21492 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
21493
21494 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
21495 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
21496
21497 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
21498
21499 * Makefile.in (maintainer-clean): New target, synonym for
21500 realclean.
21501 * gdb.base/Makefile.in (maintainer-clean): Likewise.
21502 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
21503 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
21504 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
21505 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
21506 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
21507
21508 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
21509
21510 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
21511 xfails when not gcc compiled for "print foo::funclocal".
21512 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
21513 "print foo::funclocal at foo",
21514 "print 'scope1.c'::foo::funclocal at foo",
21515 "print foo::funclocal_bss at foo",
21516 "print 'scope1.c'::foo::funclocal_bss at foo",
21517 "print foo::funclocal_ro at foo",
21518 "print 'scope1.c'::foo::funclocal_ro at foo",
21519 "print bar::funclocal at foo" and
21520 "print 'scope1.c'::bar::funclocal at foo".
21521 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21522 gcc compiled for "print foo::funclocal at bar".
21523 Expand all messages to ensure that they identify that
21524 the test is at bar().
21525 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21526 gcc compiled for:
21527 "ptype on opaque struct pointer (statically)",
21528 "ptype on opaque struct tagname (statically)",
21529 "ptype on opaque struct pointer (dynamically) 1",
21530 "ptype on opaque struct tagname (dynamically) 1",
21531 "ptype on opaque struct pointer (dynamically) 2" and
21532 "ptype on opaque struct tagname (dynamically) 2
21533 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21534 gcc compiled for:
21535 "p datalocal"
21536 "whatis datalocal",
21537 "ptype datalocal",
21538 "p bsslocal",
21539 "whatis bsslocal", and
21540 "ptype bsslocal".
21541 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21542 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21543 when not gcc compiled.
21544 * gdb.base/funcargs.exp (float_and_integral_args): Add
21545 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21546 compiled.
21547 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21548 "backtrace from call6a" when not gcc compiled.
21549 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21550 "backtrace from call7a" when not gcc compiled.
21551 * gdb.base/callfuncs.exp (do_function_calls):
21552 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21553 "p t_char_array_values(char_array_val2,char_array_val1)",
21554 "p t_char_array_values(char_array_val1,char_array_val2)",
21555 "p t_char_array_values("carray 1","carray 2")",
21556 "p t_char_array_values("carray 1",char_array_val2)",
21557 "p t_char_array_values(char_array_val1,"carray 2")",
21558 "p sum_args(1,{2})",
21559 "p sum_args(2,{2,3})",
21560 "p sum_args(3,{2,3,4})",
21561 "p sum_args(4,{2,3,4,5})"
21562 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21563 "backtrace in corefile.exp" when not gcc compiled.
21564
21565 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21566
21567 * gdb.base/signals.exp: Rewrite `handle all print' test as
21568 a procedure. Accept blanks or TABs as whitespace, increase
21569 timeout and expect input buffer size for the large output
21570 from the command. Remove "i*86-*-bsdi2.0" xfail.
21571
21572 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21573
21574 * gdb.base/setvar.exp: Add new testcases for truncation when
21575 assigning invalid values to bitfields.
21576
21577 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21578
21579 * gdb.base/callfuncs.exp (do_function_calls): Remove
21580 mips-sgi-irix* xfail for
21581 "call inferior func with struct - returns char *"
21582 and fix test so that an optional (unsigned char *) cast is
21583 accepted in the result.
21584
21585 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21586
21587 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21588 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21589 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21590 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21591 that accidentally got checked in.
21592
21593 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21594
21595 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
21596 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21597 compiled test.
21598 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21599 Add mips-sgi-irix5* xfail for not gcc compiled.
21600 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21601 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21602 "p top", "whatis top", "p middle", and "whatis middle".
21603 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21604 "whatis signed char" for not gcc compiled.
21605 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21606 "set variable signed char=-1 (-1)" and
21607 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21608 * gdb.base/funcargs.exp (float_and_integral_args):
21609 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21610 Add mips-sgi-irix* xfail when not gcc compiled for
21611 "continue to call2b".
21612 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21613 "continue to call2g".
21614 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21615 "backtrace from call6a"
21616 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21617 "backtrace from call7k".
21618 Add mips-sgi-irix5* xfail when not gcc compiled for
21619 "backtrace from call7a".
21620 (localvars_after_alloca): Fix gdb_test cmds for
21621 "print * after runto ...".
21622 Remove rs6000-*-* xfails for
21623 "print i after runto localvars_after_alloca" and
21624 "print l after runto localvars_after_alloca"
21625 for all compilers.
21626 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
21627 when not compiled with gcc, for:
21628 "print signed char == (minus)",
21629 "print signed char != (minus)",
21630 "print signed char < (minus)",
21631 "print signed char > (minus)".
21632 * gdb.base/callfuncs.exp (do_function_calls):
21633 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21634 "call inferior func with struct - returns char *".
21635 * gdb.base/return.exp (return_tests): Change xfail for
21636 "correct value returned double test" to include Solaris 2.4.
21637 * gdb.base/funcargs.exp (float_and_integral_args):
21638 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21639
21640 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21641
21642 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21643 enumeration bitfields if compiling with GNU C.
21644 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21645 to empty' prompt.
21646
21647 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21648
21649 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21650 test for PRO targets.
21651
21652 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21653 breakpoints in the inferior at any given time by making
21654 two groups of breakpoints for call2*, call6* and call7*
21655 tests.
21656
21657 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21658
21659 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21660 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21661 from optimizing it away.
21662 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21663 "call inferior func with struct".
21664
21665 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21666
21667 * configure.in: Only configure gdb.chill for particular targets.
21668
21669 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21670
21671 * gdb.base/Makefile.in: Add action to .c.o transformation
21672 rule that generates a .ci file for each .o file and remove
21673 explicit .c.o rules except for callfuncs.o.
21674 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21675 generates a .ci file for each .o file and remove explicit
21676 .cc.o rules.
21677 (clean): Remove *.tmp *.ci files.
21678 (EXECUTABLES): Remove templ-info.exp.
21679 * gdb.base/compiler.c: New file.
21680 * gdb.c++/compiler.cc: New file
21681 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21682 Change rs6000-*-* xfail for
21683 "print 'scope0.c'::filelocal_ro" and
21684 "print 'scope1.c'::filelocal" and
21685 "print 'scope1.c'::filelocal_bss" and
21686 "print 'scope1.c'::filelocal_ro" and
21687 "print 'scope1.c'::foo::funclocal" and
21688 "print 'scope1.c'::foo::funclocal_ro" and
21689 "print 'scope1.c'::bar::funclocal" and
21690 "print 'scope0.c'::filelocal_ro" and
21691 "print 'scope1.c'::filelocal at foo" and
21692 "print 'scope1.c'::filelocal_bss at foo" and
21693 "print 'scope1.c'::filelocal_ro at foo" and
21694 "print 'scope1.c'::foo::funclocal at foo" and
21695 "print 'scope1.c'::foo::funclocal_bss at foo" and
21696 "print 'scope1.c'::foo::funclocal_ro at foo" and
21697 "print 'scope1.c'::bar::funclocal at foo" and
21698 "print 'scope0.c'::filelocal_ro" and
21699 "print 'scope1.c'::filelocal" and
21700 "print 'scope1.c'::filelocal_bss" and
21701 "print 'scope1.c'::filelocal_ro" and
21702 "print 'scope1.c'::foo::funclocal" and
21703 "print 'scope1.c'::foo::funclocal_bss" and
21704 "print 'scope1.c'::foo::funclocal_ro" and
21705 "print 'scope1.c'::bar::funclocal" and
21706 "print 'scope1.c'::bar::funclocal_bss"
21707 to only be xfail'd when not compiled with gcc.
21708 Add rs6000-*-* xfail for
21709 "print 'scope0.c'::filelocal_bss before run"
21710 when compiled with gcc.
21711 (test_at_main): Add rs6000-*-* xfail for
21712 "print filelocal_ro in test_at_main"
21713 when compiled with gcc.
21714 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
21715 Add rs6000-*-aix* xfail for
21716 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21717 "ptype t_char_array", not compiled with gcc.
21718 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21719 xfail for "list foo (in include file)" when gcc compiled.
21720 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
21721 (integral_args): Add rs6000-*-* xfail for
21722 "run to call0a" if not compiled with gcc.
21723 (unsigned_integral_args): Add rs6000-*-* xfail for
21724 "run to call1a" if not compiled with gcc.
21725 (float_and_integral_args): Add rs6000-*-* xfail for
21726 "run to call2a" if not compiled with gcc and for
21727 "continue to call2b" for any compiler.
21728 Add rs6000-*-* xfail to
21729 "print f1 after run to call2a" for gcc compiled.
21730 (discard_and_shuffle): Add rs6000-*-* xfail for
21731 "run to call6a".
21732 (shuffle_round_robin): Add rs6000-*-* xfail for
21733 "backtrace from call7a" if not compiled with gcc.
21734 Add rs6000-*-* xfail for
21735 "backtrace from call7b" if compiled with gcc.
21736 (call_after_alloca): Add rs6000-*-* xfail for
21737 "print c in call_after_alloca" and
21738 "print s in call_after_alloca" and
21739 "backtrace from call_after_alloca_subr"
21740 if not compiled with gcc.
21741 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21742 "print c in localvars_in_indirect_call" and
21743 "print c in localvars_in_indirect_call" and
21744 "backtrace in indirectly called function" and
21745 "stepping into indirectly called function"
21746 if not compiled with gcc.
21747 (localvars_after_alloca): Add rs6000-*-* xfail for
21748 "print c after runto localvars_after_alloca" and
21749 "print s after runto localvars_after_alloca" and
21750 "print i after runto localvars_after_alloca" and
21751 "print l after runto localvars_after_alloca"
21752 for all compilers.
21753 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21754 than whatis-info.exp.
21755 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21756 than opaque-info.exp.
21757 Setup rs6000-*-* xfail for
21758 "ptype on opaque struct pointer (statically)" and
21759 "ptype on opaque struct pointer (dynamically)" when
21760 not compiled with gcc.
21761 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21762 rather than callf-info.exp.
21763 (do_function_calls): Add clear_xfail for rs6000-*-* for
21764 "p t_float_values2(3.14159,float_val2)". Seems to work
21765 fine there, both with xlc and gcc. Need to find out what
21766 it is doing right and fix other platforms.
21767 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21768 "call inferior func with struct - returns int",
21769 "call inferior func with struct - returns long",
21770 "call inferior func with struct - returns float",
21771 "call inferior func with struct - returns double",
21772 "call inferior func with struct - returns char *",
21773 but only if not gcc compiled (presumes xlc compiled).
21774 Change rs6000-*-* xfails for
21775 "call inferior func with struct - returns char" and
21776 " call inferior func with struct - returns short" to only
21777 xfail if not using gcc.
21778 (clean mostlyclean): Remove *.ci and *.tmp files.
21779 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21780 than templ-info.exp.
21781 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21782 Add rs6000-*-* xfail for "up to foo in langs.exp"
21783 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
21784 when not gcc compiled.
21785
21786 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21787
21788 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21789 * gdb.base/corefile.exp: Likewise.
21790 * gdb.base/list.exp: Likewise.
21791 * gdb.base/scope.exp: Likewise.
21792 * gdb.base/siganls.exp: Likewise.
21793
21794 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21795 compiler output.
21796 * gdb.base/whatis.exp: Likewise.
21797
21798 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21799
21800 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21801 failure (opcode table has been fixed to match reality).
21802
21803 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21804
21805 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21806 "call inferior func with struct - returns char",
21807 "call inferior func with struct - returns short"
21808
21809 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21810 "print 'scope0.c'::filelocal at main",
21811 "print 'scope0.c'::filelocal_bss in test_at_main",
21812 "print 'scope0.c'::filelocal at foo",
21813 "print 'scope0.c'::filelocal_bss in test_at_foo",
21814 "print 'scope0.c'::filelocal at bar",
21815 "print 'scope0.c'::filelocal_bss in test_at_bar"
21816
21817 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21818 in source file 1". This bug seems to have been fixed with both
21819 gcc and native cc (was native assembler bug?).
21820
21821 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21822
21823 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21824 "backtrace through signal handler" to "i*86-*-sysv4*".
21825 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21826 continue" case. Add "known SVR4 bug" to fail message.
21827 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21828 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21829 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21830 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21831 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21832 "up to foo in langs.exp", "show language at foo in
21833 langs.exp", "up to cppsub_ in langs.exp", "show
21834 language at cppsub_ in langs.exp", "up to fsub in
21835 langs.exp", and "show language at fsub in langs.exp".
21836 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21837 "bactrace in corefile.exp".
21838 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21839 "call inferior function with struct - returns float" and
21840 "call inferior function with struct - returns double".
21841
21842 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21843
21844 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21845 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21846 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21847 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21848
21849 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21850
21851 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21852 (or overriden) "CHILL" macro rather then bare "gcc".
21853 Also look for ../../gcc/xgcc since that is what we will
21854 actually need, not "Makefile". Remove following assignment
21855 of CHILL to CHILL_FOR_TARGET because that results in
21856 recursive definition.
21857
21858 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21859
21860 * gdb.base/corefile.exp: Change xfail for backtrace in
21861 corefile.exp from linuxaout to all linux.
21862 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21863 cases where we miss the breakpoint at the signal handler
21864 for some reason. Setup xfail for linuxoldld/linuxaout and
21865 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21866 hitting SIGURG breakpoint.
21867 * gdb.base/signals.exp: Setup xfail for "next" acting like
21868 continue to add linuxoldld. Setup xfail for all linux for
21869 "next to handler in signals_tests_1", "backtrace in
21870 signals_tests_1", "continue to func1", "pass SIGUSR1",
21871 and continue to handler".
21872
21873 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21874
21875 * Update all FSF addresses except those in COPYING* files.
21876
21877 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21878
21879 * gdb.base/a2-run.exp: Change messages to be more explicit about
21880 the status of args, and quote binfile in results.
21881
21882 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21883
21884 * gdb.base/callfuncs.exp: Add tests for passing structs to
21885 inferior functions and return various types.
21886 * gdb.base/callfuncs.c: Add functions to receive a struct
21887 and return a member of the struct, in various types.
21888
21889 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21890
21891 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21892
21893 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21894
21895 * config/vxworks29k.exp: New file, sources vxworks.exp.
21896
21897 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21898
21899 * config/gdbremote.exp: New file. Testing framework using
21900 gdbserver.
21901
21902 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21903
21904 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21905 "call function when asleep" and "send end of file".
21906 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21907 for "backtrace in corefile.exp".
21908 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21909 for "backtrace through signal handler".
21910 * gdb.base/corefile.exp: Make sure we actually generate a core file
21911 before trying the core tests. Some systems allow the user to suppress
21912 generation of core files and default to that (linux for example).
21913 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21914 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21915
21916 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21917
21918 * gdb.threads: New directory with some crude multi-threaded
21919 gdb tests (step.exp and step2.exp).
21920 * config/mt-lynx (STEP_EXECUTABLE): Define.
21921 (THREADFLAGS): Define.
21922
21923 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21924
21925 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21926
21927 * gdb.base/signals.exp: Disable whole file for lynx until
21928 further notice.
21929
21930 * gdb.base/signals.exp: xfail test where "next" acts like
21931 "continue" for lynx.
21932
21933 * gdb.base/interrupt.exp: xfail test for calling function while
21934 inferior is asleep for lynx.
21935
21936 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21937 than one cr-lf after each command.
21938
21939 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21940
21941 * configure.in: Reinstate setting of stabsdirs variable, fix
21942 typo in setting up configdirs for native builds.
21943
21944 * gdb.base/return.exp: Fix typo in return double test.
21945 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21946 compiler from optimizing them away.
21947
21948 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21949
21950 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21951 sequences to be echo'd by gdb when using gdb_test.
21952 * gdb.chill/chexp.exp: Likewise.
21953 * gdb.fortran/exprs.exp: Likewise
21954
21955 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21956
21957 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21958 after the inferior gdb has started.
21959
21960 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21961 after each command.
21962 * gdb.base/funcargs.exp: Likewise.
21963 * gdb.base/gdbvars.exp: Likewise.
21964 * gdb.base/interrupt.exp: Likewise.
21965 * gdb.base/list.exp: Likewise.
21966 * gdb.base/watchpoint.exp: Likewise.
21967 * gdb.c++/demangle.exp: Likewise.
21968 * gdb.c++/inherit.exp: Likewise.
21969 * gdb.chill/chexp.exp: Likewise.
21970 * gdb.fortran/exprs.exp: Likewise.
21971
21972 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21973 test if we can't handle IO to/from the inferior.
21974
21975 * gdb.c++/misc.exp: Always check for a program already being
21976 started after sending a "run" command to gdb.
21977
21978 * gdb.base/twice.exp: Start with a fresh gdb.
21979
21980 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21981 only depend on gdb's expression code, not the chill runtime.
21982
21983 * gdb.base/return.c: Put return values into variables so we
21984 can have gdb print them rather than depending on the program
21985 to print them.
21986 * gdb.base/return.exp: Corresponding changes.
21987
21988 * lib/gdb.exp: Provide default value for noinferiorio.
21989 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21990 the inferior.
21991
21992 * gdb.base/break.exp: Always check for a program already being
21993 started after sending a "run" command to gdb.
21994 (text_next_with_recursion): Don't check the output from the
21995 program's printf statement. Instead just make sure the program
21996 exited.
21997
21998 * gdb.base/commands.exp: Protect tests which need arguments with
21999 $noargs conditionals.
22000
22001 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22002
22003 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
22004 of structure member arrays to match gdb/valops.c:value_addr change.
22005
22006 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
22007
22008 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
22009 cases.
22010
22011 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
22012
22013 * configure.in (configdirs): Remove gdb.chill from default list
22014 of subdirs and then add it back in only if doing a native build.
22015 The current chill compiler does not yet work in any cross build.
22016 * Revert all signal changes from Jul 6.
22017 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
22018 for sh-hms targets, allowing these tests to link, with no other
22019 changes. Testing is suppressed by setting "nosignals" in site.exp.
22020
22021 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
22022
22023 * configure.in (signaldirs): Define and add to configdirs for all
22024 targets except some specific ones that are known to not support signals.
22025 Also clean up formatting.
22026 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
22027 (signals, sigall): Remove rules to build.
22028 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
22029 Moved to new gdb.signals directory.
22030 * gdb.signals: New test directory.
22031 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
22032 signals.c signals.exp}: New or moved files.
22033
22034 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
22035
22036 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
22037
22038 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
22039
22040 * gdb.base/return.exp: Xfail `return double' test failure
22041 on at least Solaris 2.3 and handle future/past versions on
22042 a case by case basis as appropriate. Also update message
22043 to include i*86 failures.
22044
22045 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22046
22047 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
22048
22049 * lib/gdb.exp: Fix comment which erroneously identified
22050 gdb_file_cmd as gdb_load (the 19 May change was in fact to
22051 gdb_file_cmd not gdb_load).
22052 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22053
22054 * gdb.base/setvar.exp: Make test names consistent between pass and
22055 fail cases. Use gdb_test more.
22056
22057 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22058
22059 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22060
22061 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22062
22063 * gdb.base/help.exp: Fix expected help string for `show commands'.
22064
22065 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
22066
22067 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22068
22069 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22070 of a text section.
22071
22072 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
22073
22074 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
22075 that loop eventually terminates. Fix Connection refused logic so
22076 that testsuite will expire nicely.
22077
22078 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
22079
22080 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22081 config/rom68k.exp: New tcl glue for the appropriate monitors.
22082 These all just end up calling monitor.exp.
22083 * config/monitor.exp (gdb_target_monitor): Handle `Connection
22084 refused' by retrying. Cleanup some timeout issues.
22085 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
22086 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
22087 callers don't have to set/restore global timeout variable.
22088
22089 * The following set of changes centralizes management of the global
22090 timeout variable. This way, it can be set in one target dependent
22091 place instead of dozens of places scattered throughout the test suite.
22092 If you need to lengthen a timeout, then you should either set timeout
22093 in one of the config/{target}.exp files, or multiply it by a factor.
22094 Setting it to an absolute value is always going to lose for some
22095 targets.
22096 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
22097 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
22098 * gdb.base/funcargs.exp: Don't set timeout.
22099 * gdb.base/list.exp (test_forward_search): Only use local timeout.
22100 * gdb.base/printcmds.exp (test_print_string_constants
22101 test_print_array_constants): Don't set timeout.
22102 * gdb.base/ptype.exp: Don't set timeout.
22103 * gdb.base/recurse.exp: Don't set timeout.
22104 * gdb.base/return.exp: Don't set timeout.
22105 * gdb.base/watchpoint.exp: Don't set timeout.
22106 * gdb.c++/classes.exp (do_tests): Don't set timeout.
22107 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
22108
22109 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
22110
22111 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
22112
22113 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22114
22115 * lib/gdb.exp: Disable chill tests for irix5.
22116
22117 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22118
22119 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
22120 each test pass or fail.
22121
22122 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22123
22124 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
22125 xlc not gcc.
22126
22127 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
22128
22129 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
22130
22131 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
22132
22133 * config/est.exp: Fix copyright and comments. Remove dead code.
22134 Use targetname, serialport and baud variables instead of fixed
22135 constants.
22136 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
22137 * config/cpu32bug.exp: New file to support cpu32bug monitors.
22138
22139 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22140
22141 * gdb.base/watchpoint.exp: Don't run
22142 test_watchpoint_triggered_in_syscall for sunos.
22143
22144 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22145
22146 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
22147 they don't seem to exist. Do include stdio.h.
22148
22149 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22150
22151 * gdb.base/a1-selftest.exp: Add alpha xfail.
22152
22153 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22154
22155 * gdb.base/watchpoint.c (main): Prompt before calling read().
22156 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22157 Revise accordingly. Remove cruft about sending "123" several
22158 times, until it gets noticed. Clean up the "print buf[0]" stuff
22159 so that it passes or fails, and waits for prompts in the usual way.
22160
22161 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22162
22163 * gdb.base/recurse.exp: Fix comment.
22164
22165 * TODO: Remove item about printing variables in nodebug.exp. Add
22166 item about enabling tests which are only run on some targets.
22167
22168 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
22169 fail, make test names unique, use new gdb_test convention
22170 regarding pattern, use gdb_test more, etc.).
22171
22172 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
22173 fail, make test names unique, etc.).
22174
22175 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22176
22177 * gdb.base/nodebug.c: Change return type of top and middle to
22178 short.
22179 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
22180 are fixed by the recent mdebugread.c changes. Allow `short ()'
22181 as type for top and middle.
22182
22183 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22184
22185 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
22186 nearly as I can tell, the whole thing was an accident in Stu's
22187 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
22188 to replace a send/expect pair with gdb_test, but ended up only
22189 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
22190 of 30 Mar 1995 took care of it, but left this vestigial comment
22191 which I am now nuking.
22192
22193 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22194
22195 * gdb.base/break.exp: Look for different line number for
22196 breakpoint at main depending on usestubs.
22197
22198 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22199
22200 * gdb.base/list.exp: Adjust some alternate expect patterns to
22201 match recent list0.c change. Add alternate expect pattern for
22202 output from `list default lines around main' for optimizing
22203 compilers.
22204
22205 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22206
22207 * lib/gdb.exp: If nosignals is not set, set it to 0.
22208
22209 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
22210
22211 * config/slite-gdb.exp: Responds to load symbol table prompt.
22212 * gdb.base/break.exp: Adjust line number, fix rerun.
22213 * gdb.base/langs0.c: Add #ifdef usestubs.
22214
22215 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
22216
22217 * gdb.base/list.exp: Adjust line contents after adding new lines in
22218 list0.c. Also fix a syntax error.
22219
22220 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
22221 * gdb.base/break.exp: ditto.
22222 * gdb.base/list.exp: ditto.
22223 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
22224 * gdb.base/run.c: ditto.
22225 * gdb.base/list0.c: ditto.
22226 * gdb.base/funcargs.c: ditto.
22227
22228 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
22229
22230 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
22231 $targetname, $serialport and $baud instead of hardwired variables.
22232 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
22233 target doesn't support signals.
22234
22235 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
22236
22237 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
22238
22239 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22240
22241 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
22242 Don't rely on the value of an auto variable before it has been
22243 initialized. Use gdb_test more.
22244
22245 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22246
22247 * lib/gdb.exp (default_gdb_version): A version number must start
22248 with a digit, but other than that contains all characters up to
22249 the first whitespace character.
22250
22251 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22252
22253 * gdb.base/commands.exp (breakpoint_command_test): New tests.
22254
22255 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22256
22257 * gdb.c++/*.exp: Warn if executable does not exist. The original
22258 reason for skipping the warning was that configure.in sometimes
22259 intentionally skipped building the executables but the tcl code
22260 had no way of knowing. That (a) was always bogus with respect to
22261 error handling, (b) is no longer true (right now there is no way
22262 to skip C++ tests).
22263
22264 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
22265
22266 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22267
22268 * gdb.base/list.exp: Add expect patterns for output from
22269 SunPRO compiled executables.
22270 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
22271 types.
22272
22273 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22274
22275 * gdb.base/break.exp (test_next_with_recursion): Accept any line
22276 number (we are already testing that the correct source line text
22277 gets printed).
22278
22279 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
22280 that is what is intended, but something needed to be done to get
22281 sunos4 native working again.
22282
22283 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
22284
22285 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
22286 apparently went with a (very) old xfail.
22287
22288 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
22289
22290 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
22291 runto_main is a proc in gdb.exp that will do 'step' for target use
22292 stubs.
22293 * gdb.base/exprs.exp: ditto.
22294 * gdb.base/interrupt.exp: ditto.
22295 * gdb.base/opaque.exp: ditto.
22296 * gdb.base/printcmds.exp: ditto.
22297 * gdb.base/ptype.exp: ditto.
22298 * gdb.base/scope.exp: ditto.
22299 * gdb.base/setvar.exp: ditto.
22300 * gdb.base/signals.exp: ditto.
22301 * gdb.base/twice.exp: ditto.
22302 * gdb.c++/classes.exp: ditto.
22303 * gdb.c++/inherit.exp: ditto.
22304 * gdb.c++/templates.exp: ditto.
22305 * gdb.base/break.exp: no run and hit main for stubs. Change line
22306 numbers for breakpoints and info breakpoint.
22307 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
22308 breakpoint().
22309 * gdb.base/callfuncs.c: ditto.
22310 * gdb.base/exprs: ditto.
22311 * gdb.base/interrupt.c: ditto.
22312 * gdb.base/opaque0.c: ditto.
22313 * gdb.base/printcmds.c: ditto.
22314 * gdb.base/ptype.c: ditto.
22315 * gdb.base/scope0.c: ditto.
22316 * gdb.base/setvar.c: ditto.
22317 * gdb.base/signals.c: ditto.
22318 * gdb.base/twice.c: ditto.
22319 * gdb.c++/misc.cc: ditto.
22320 * gdb.c++/templates.cc: ditto.
22321
22322 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22323
22324 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
22325
22326 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
22327 somewhere between `read' and `main.c'. I'm pretty sure the
22328 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
22329 and it isn't particularly useful.
22330
22331 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
22332
22333 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22334
22335 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
22336
22337 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
22338
22339 * config/mt-slite: add LIBS and -nostdlib.
22340 * config/slite-gdb.exp: add this new file to support sparclite target.
22341
22342 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
22343
22344 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
22345
22346 * gdb.base/a2-run.exp: Change argument to istarget from
22347 "*-*-vxworks" to "*-*-vxworks*".
22348 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
22349
22350 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
22351
22352 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
22353 will not runto main but do a 'step' to step out of breakpoint().
22354 * config/mt-slite: add -Dusestubs.
22355
22356 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22357
22358 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
22359 instead of just @.
22360
22361 * gdb.base/signals.exp: Add test for "handle all print".
22362 * TODO: Remove "handle all print". Also remove item about
22363 checking copyright date (I don't like the idea of a spurious FAIL
22364 based on when we run the tests).
22365
22366 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
22367 for SunOS4 (reason for failure not investigated). Remove
22368 redundant test for $binfile.
22369
22370 * gdb.base/nodebug.c (array_index): Call malloc.
22371
22372 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
22373
22374 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
22375
22376 * gdb.base/recurse.exp: Update gdb_test invocation to use new
22377 conventions and slightly simplify the matching regexp.
22378
22379 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22380
22381 * gdb.base/break.exp: Update gdb_test invocation to use new
22382 convention.
22383
22384 * lib/gdb.exp: If noargs is not set, set it to 0.
22385
22386 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
22387 tests unique.
22388
22389 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
22390
22391 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22392
22393 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
22394 one argument of type "<non-float parameter>".
22395
22396 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
22397
22398 * config/rom68k.exp: New file to support Motorola IDP board.
22399 * gdb.base/a2-run.exp: Skip this file if noargs is set.
22400 * gdb.base/break.c: Change things around so that this program
22401 doesn't depend upon args. This is necessary to make remote
22402 targets work (in general, they can't take args).
22403 * gdb.base/break.exp: Don't try to send args to program. Don't
22404 expect output. Also, replace lots of code with gdb_test.
22405
22406 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22407
22408 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
22409 printing of '\'' (which is what the comment says we are testing,
22410 even though we were not), not '''.
22411 (test_integer_literals_rejected): Test that printing ''' is an error.
22412
22413 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22414 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
22415 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
22416 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
22417 Use gdb_test not test_print_accept.
22418 * lib/gdb.exp: Remove test_print_accept.
22419
22420 * gdb.base/signals.exp (signal_tests_1): Make pass message
22421 consistent with fail message.
22422
22423 * gdb.base/whatis.exp: Remove xfails for printing char vs.
22424 unsigned char; the bug (PR 1821) is fixed.
22425
22426 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
22427
22428 * gdb.base/scope.exp (test_at_localscopes): Call pass for
22429 successful tests--makes xfailing them work right.
22430
22431 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22432
22433 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
22434 only \r\n, not .*. The test can pass .* as the last thing in
22435 $pattern if that is what it wants. In addition to providing this
22436 flexibility, this change should speed up pattern matching in cases
22437 where the pattern already ended with .* (there were a number of
22438 them). This change also helps catch bad patterns--in the old
22439 scheme the typo "char \*" instead of "char \\*" would pass. Now
22440 it is caught.
22441 * Many .exp files: Update callers.
22442
22443 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
22444 clearer and does not spuriously match multiple ('s. Likewise for
22445 ) and *.
22446
22447 * gdb.base/nodebug.exp: Test ability to call a function and pass
22448 it a string (even with no debugging info).
22449
22450 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
22451 "p '\'", which is the same as "p ''" once tcl gets done with
22452 quoting, to "p '\\'", which I suspect is what is intended (one
22453 backslash gets sent to GDB).
22454
22455 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
22456
22457 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22458
22459 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
22460 1817) was fixed literally years ago.
22461
22462 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22463
22464 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
22465 test, it causes stepping out of call_after_alloca_subr with
22466 optimizing compilers.
22467 (localvars_in_indirect_call): Consume GDB prompt if `finish'
22468 fails.
22469
22470 * gdb.c++/templates.exp: Source templ-info.exp only if
22471 the templates executable exists.
22472
22473 * gdb.c++/misc.cc (class Contains_static_instance,
22474 class Contains_nested_static_instance),
22475 gdb.c++/classes.exp (test_static_members): Test printing of
22476 a class that contains a static instance of the class.
22477
22478 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22479
22480 * gdb.base/langs2.c (cppsub_): Don't prototype.
22481 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
22482 only, I believe).
22483
22484 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22485
22486 * lib/gdb.exp (skip_chill_tests): New procedure.
22487
22488 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
22489
22490 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
22491
22492 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
22493 each expect pattern. Cuts runtime from 12 to about 4 seconds.
22494
22495 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22496
22497 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
22498
22499 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
22500 disassemble 8, not 16, instructions for part 4.
22501
22502 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
22503 support the latter anymore.
22504
22505 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
22506 -DNO_PROTOTYPES.
22507 * gdb.base/callfuncs.c: Control use of prototypes based on
22508 NO_PROTOTYPES, not __STDC__.
22509 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
22510 t_float_values2 tests if prototypes in use.
22511
22512 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
22513 t_double_values): When checking differences against DELTA, check
22514 that difference is within the range (-DELTA,DELTA), not just
22515 (-infinity,DELTA).
22516
22517 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22518
22519 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22520 'file' command firts, then 'target', then 'load', this is due to gdb
22521 target set up.
22522 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22523
22524 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22525
22526 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22527 FP load/store variants.
22528 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22529
22530 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22531
22532 * gdb.base/term.exp: Do not give a warning if not native, it is
22533 not an abnormal condition.
22534
22535 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22536
22537 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22538 t_char_array".
22539
22540 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22541
22542 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22543 are getting the version number.
22544
22545 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22546 if not native, it is not an abnormal condition.
22547
22548 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22549
22550 * lib/gdb.exp: Just use "file exists", rather than undocumented
22551 dejagnu procedure "findfile".
22552
22553 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22554
22555 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22556 (LDFLAGS): Set to -Xlinker -Ur.
22557
22558 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22559 Removed, these values are set by lib/gdb.exp.
22560
22561 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22562
22563 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22564
22565 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22566 of replicating gdb startup code.
22567
22568 * config/mt-vxworks (LDFLAGS): Set to -r.
22569 (CFLAGS_FOR_TARGET): Removed.
22570
22571 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22572 (gdb) and gdb for vxworks uses (vxgdb).
22573
22574 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22575 executable is not in the tree and host != target, use sed and
22576 program_transform_name to determine the gdb name used by the
22577 target.
22578
22579 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22580 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22581
22582 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22583
22584 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22585 floats, chars, and shorts where there are ANSI-style function
22586 definitions.
22587
22588 * gdb.base/langs.exp, gdb.base/langs*: New test.
22589 * gdb.base/Makefile.in: Build it.
22590 * TODO: Remove item about checking that C names don't get C++
22591 demangling applied; this test tests it.
22592
22593 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22594
22595 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22596 went with the const70 xfail. The xfail went away a year ago.
22597
22598 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22599
22600 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22601 for hp300.
22602
22603 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22604
22605 * gdb.base/a1-selftest.exp: Don't run on hp300.
22606
22607 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22608
22609 * Makefile.in (site.exp): Set host_alias and target_alias as well
22610 as host_triplet and target_triplet.
22611
22612 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22613
22614 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22615
22616 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22617 places as other ecoff systems).
22618
22619 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22620 ultrix.
22621
22622 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22623
22624 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22625 remove them.
22626 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22627 variable and "variable" in addition to "data variable".
22628 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22629
22630 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22631 2.
22632 * gdb.base/list1.c (long_line): Add additional statement at start
22633 of function.
22634 * gdb.base/list.exp (test_forward_search): Update line number to
22635 reflect new statement.
22636
22637 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22638
22639 * gdb.base/signals.exp: Reinitialize searched source directories
22640 after gdb_start call.
22641
22642 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22643
22644 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22645 * gdb.stabs/Makefile.in: Likewise.
22646
22647 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22648 change. Instead split the tests into smaller pieces.
22649 * gdb.disasm/hppa.s: Corresponding changes.
22650
22651 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22652
22653 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22654 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22655
22656 * gdb.base/funcargs.exp: Modify many tests so that every test
22657 either passes or fails. Make some test names unique.
22658
22659 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22660
22661 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22662 Call stty to set interrupt character.
22663
22664 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22665 for HP assembler versus GNU assembler based on actual behavior of
22666 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22667
22668 * TODO: Suggest a few more stepping tests.
22669
22670 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22671
22672 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22673 restart GDB for h8300 after a continue.
22674 (return): Add pattern to match a29k-udi behavior.
22675 * gdb.base/nodebug.exp: Remove obsolete comment.
22676 * gdb.base/regs.exp: New file, testing of register displays.
22677 * gdb.base/return.exp: Fix typo in reference to $objdir.
22678 * gdb.base/whatis.exp: Always start with a fresh GDB.
22679
22680 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22681
22682 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22683 higher, these tests generate a lot of output.
22684
22685 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22686
22687 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22688 code following the catch silently ignored some errors; without the
22689 catch they should be thrown like any other tcl error. Also, the
22690 catch used "" instead of {} which meant all the callers who wanted
22691 to include one of the characters "[]$ had to quote it an extra time.
22692 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22693 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22694 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22695 Remove extra quoting.
22696
22697 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22698
22699 * gdb.base/commands.exp: Make test names unique; every test either
22700 passes or fails. Update some comments.
22701
22702 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22703
22704 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22705
22706 The following fixes a FAIL caused by the fact that the alpha stabs
22707 configuration didn't use the ".if alpha" code in weird.def.
22708 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22709 bit pointer, so the 32 bit version works even on the alpha.
22710 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22711 Remove the stuff which allowed us to have separate versions for
22712 alpha and everything else.
22713
22714 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22715 regexp which "info func operator\[\](" is supposed to match. Fix
22716 string to send to GDB. Note that GDB still doesn't work right. Add a
22717 new test for "info func .perator\[\](" which GDB does handle correctly.
22718
22719 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22720
22721 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22722
22723 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22724 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22725 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22726 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22727 it makes the tests harder to understand and confuses test-o-matic.
22728 The preferred style is that each test provides a PASS or a FAIL,
22729 and has a unique message (e.g. "continue #54" not just "continue")
22730 which is the same for the pass and the fail.
22731 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22732 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22733 to lib/gdb.exp.
22734 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22735 prt_accept which was basically the same thing. Likewise for
22736 test_print_reject and prt_reject.
22737 * lib/gdb.exp (test_print_reject): Add some more error message
22738 patterns to match from the former printcmds.exp (prt_reject).
22739 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22740 One defect of the passcount stuff is that some of it failed to
22741 report XPASS where appropriate.
22742 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22743 stuff before and after arg in expected pattern.
22744 (test_paddr_operator_functions): Re-do test without print_addr_of;
22745 this is the only test which seems to want extra stuff there.
22746
22747 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22748
22749 * gdb.base/nodebug.exp: Update new tests to reflect improved
22750 wording of gdb output.
22751
22752 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22753 and "ptype" work on variables in files compiled without -g.
22754 Replaces commented out "maint print msymbol" tests.
22755
22756 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22757
22758 * gdb.base/setvar.c (dummy): Call malloc.
22759
22760 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22761 losing with the irix4 sed.
22762
22763 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22764 ALRM" on irix4.
22765
22766 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22767
22768 * TODO: Remove items about corefile.exp testing new exec-file and
22769 backtrace; both are now done. Add items about printing enums.
22770
22771 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22772
22773 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22774 "get signal $thissig" test fails.
22775
22776 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22777
22778 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22779
22780 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22781 compiler warning with dec alpha compiler.
22782
22783 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22784 extra \n from gdb_test call (this explains why the prompt test
22785 that I removed yesterday was there).
22786 (user_defined_command_test): Remove extra \n and prompt test.
22787
22788 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22789 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22790 doesn't exist.
22791 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22792 Also remove alpha workaround, which turns out to be because
22793 SIGABRT == SIGLOST.
22794
22795 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22796
22797 * gdb.base/help.exp: Don't test "help show".
22798
22799 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22800
22801 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22802 "set print address" is on.
22803 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22804 pass prompt to gdb_test; gdb_test already looks for the prompt.
22805
22806 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22807
22808 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22809 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22810 was to make sure that gdb can read a core file. But (a) the "read
22811 the corefile" part didn't make it to a1-selftest.exp, we just
22812 delete the corefile after creating it, and (b) we test reading
22813 corefiles in corefile.exp anyway. Also, this test left around a
22814 xgdb process on Solaris.
22815
22816 * gdb.base/corefile.exp: Also test backtrace.
22817
22818 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22819
22820 * gdb.base/commands.exp: Test a simple user defined command with
22821 arguments and if/while statements; verify the full user command is
22822 printed by "show user".
22823
22824 * gdb.base/commands.exp: Test if/while commands as part of a
22825 breakpoint command list; verify they appear in breakpoint
22826 information.
22827
22828 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22829
22830 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22831 than by dividing by zero.
22832
22833 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22834
22835 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22836 performing an inferior call with watchpoints enabled.
22837 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22838 call.
22839
22840 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22841
22842 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22843 of "file" command.
22844
22845 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22846 Add additional pattern for when "int operator int(void);" appears
22847 in a different order.
22848
22849 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22850
22851 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22852
22853 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22854 and "signal" with ".*".
22855
22856 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22857
22858 * TODO: Add note about "handle all nostop".
22859
22860 * gdb.base/{sigall.c, sigall.exp}: New test.
22861 * gdb.base/Makefile.in: Add it.
22862
22863 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22864
22865 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22866 when invoking GDB, suppresses any windowing interface.
22867
22868 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22869
22870 * config/sim-gdb: New file, simulator testing support.
22871
22872 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22873
22874 * gdb.base/interrupt.exp: Test calling func1 twice.
22875
22876 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22877
22878 * gdb.base/list.exp (test_forward_search): Set timeout higher
22879 when we'll be getting lots of output from gdb.
22880
22881 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22882 "init_malloc" to after the expect statement. Run it if that
22883 regexp is taken, but also for two others which happen if source
22884 cannot be found.
22885
22886 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22887
22888 * gdb.base/printcmds.exp: New test, for printing register before
22889 program is running.
22890
22891 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22892
22893 * gdb.base/list.exp: Correct some alternate expect patterns
22894 to reflect changes in list1.c.
22895
22896 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22897
22898 * TODO: Add item regarding large frames.
22899
22900 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22901
22902 * TODO: Remove item about enabling return.exp; it
22903 is enabled. Suggest a few more "return" tests.
22904
22905 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22906
22907 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22908 anonymous unions.
22909
22910 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22911
22912 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22913 and pr-5646.o, so "make" is the same as "make all", not "make
22914 pr-4975.o".
22915
22916 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22917
22918 * gdb.base/list.exp: Adjust expectations to reflect changes in
22919 list1.c.
22920 (test_forward_search): New test proc.
22921 * gdb.base/list1.c (long_line): New function, has long source line.
22922
22923 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22924
22925 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22926 additional line of code that was added.
22927
22928 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22929
22930 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22931 tests so as not to overflow expect's input buffers.
22932 * gdb.disasm/hppa.exp: Corresponding changes.
22933
22934 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22935
22936 Beginnings of template debugging tests.
22937 * gdb.c++/templ-info.cc: New file to test for template
22938 debugging capability of the compiler.
22939 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22940 templ-info.cc.
22941 * gdb.c++/templates.cc: Add explicit template instantiations
22942 to enable compiling with -fno-implicit-templates. Add destructor
22943 and 'value' method to T5 class for template tests.
22944 * gdb.c++/templates.exp: Add testcases for printing of template
22945 types, setting breakpoints on template methods and calling a
22946 template method.
22947
22948 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22949
22950 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22951 branch target since some assemblers (gas-2.5) may emit a
22952 relocation for the branch instead of resolving it in the
22953 assembler.
22954
22955 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22956
22957 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22958 through signal handler.
22959
22960 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22961
22962 * configure.in (*-*-netware): Use config/mt-netware.
22963
22964 * config/mt-netware: New file.
22965 * config/mt-i386-netware: Removed, separate configs for different
22966 netware architectures are no longer needed now that we have
22967 --with-headers.
22968
22969 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22970
22971 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22972 by the recent changes to use ANSI C arithmetic conversions.
22973
22974 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22975
22976 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22977 bug involving using inferior_pid to figure out whether to select a
22978 frame.
22979
22980 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22981
22982 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22983 match the current disassembler output.
22984
22985 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22986
22987 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22988 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22989 types, expect "int" as type of integer values (for now).
22990
22991 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22992
22993 * gdb.base/commands.exp: New tests for if/while commands.
22994
22995 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22996
22997 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22998 by .*, since hex values have different syntax in Chill mode.
22999
23000 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23001
23002 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
23003 linefeed from expect pattern for repeated types with indices > 9.
23004
23005 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
23006
23007 First part of Fortran test suite.
23008 * gdb.fortran: New directory.
23009 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
23010
23011 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23012
23013 * gdb.base/default.exp: Update expect pattern for load command
23014 without arguments.
23015
23016 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
23017
23018 * configure.in: Change i386 to i[345]86.
23019 * gdb.base/configure.in: Likewise.
23020 * gdb.c++/configure.in: Likewise.
23021 * gdb.chill/configure.in: Likewise.
23022
23023 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
23024
23025 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
23026 patterns, since that is not a valid context for comments.
23027
23028 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
23029
23030 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
23031 repeated types and repeated types with indices > 9.
23032
23033 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
23034
23035 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
23036 2417; old bug has been fixed.
23037
23038 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
23039
23040 * gdb.base/interrupt.exp: When trying to wake up the inferior,
23041 send the newline ourselves instead of assuming gdb_test will do
23042 so when passed an empty input string.
23043
23044 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
23045 stabs testcode.
23046
23047 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23048
23049 * lib/gdb.exp (gdb_test): Don't send anything if the first
23050 argument is an empty string. This makes cases where we want to
23051 match output that is already in expect's buffers (for example,
23052 matching a breakpoint after gdb_run_cmd has been called) work
23053 reliably.
23054
23055 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23056
23057 * config/netware.exp: New file.
23058
23059 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23060
23061 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23062 the -B and -L prefixes so we can find the debugging stub.
23063
23064 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23065 there and we are using the gcc from the tree.
23066
23067 * gdb.base/types.c: Removed.
23068
23069 * gdb.base/configure.in: Look for makefile fragments in ../config.
23070 Recognize i386-*-netware.
23071 * gdb.c++/configure.in: Likewise.
23072
23073 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23074
23075 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
23076 the correct TCL syntax.
23077
23078 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23079
23080 * gdb.base/opaque.exp: use runto instead of messing around with
23081 breakpoints. Simplify by using gdb_test.
23082
23083 * gdb.base/bitfields.exp: restart between tests on netware targets
23084 because breakpoints aren't relocated after target death. Run
23085 processes to completion.
23086
23087 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
23088
23089 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
23090
23091 * Makefile.in: Remove extra tabs that confuse some versions
23092 of "make". Use the newly built gdb to test with by default,
23093 rather than the first one in the tester's search path.
23094
23095 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
23096
23097 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
23098
23099 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
23100 condition help.
23101
23102 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23103
23104 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
23105
23106 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
23107 running.
23108 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
23109 * gdb.base/funcargs.exp: Likewise.
23110
23111 * gdb.base/bitfields.exp: Simplify by using gdb_test.
23112 * gdb.base/funcargs.exp: Likewise.
23113
23114 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
23115 message is "".
23116
23117 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23118
23119 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
23120 return,signals,twice}.exp: Handle non-existant binaries
23121 consistantly.
23122
23123 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
23124 * gdb.base/Makefile.in: Don't try to generate a core dump, we
23125 might testing a cross development system.
23126
23127 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23128
23129 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
23130 runtest script is relative to ${srcdir}, not ${rootdir}.
23131
23132 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
23133
23134 * gdb.base/signals.exp: Allow for optionality of breakpoint
23135 address.
23136
23137 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23138
23139 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
23140
23141 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23142
23143 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
23144 for size_t definition.
23145 * gdb.c++/templates.cc: Likewise
23146
23147 * config/mt-i386-netware: New file.
23148
23149 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
23150 defined.
23151
23152 * gdb.base/Makefile.in: Added support for systems that name core
23153 files by appending "core" to the program name.
23154 * gdb.base/a1-selftest.exp: Likewise.
23155
23156 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23157
23158 * gdb.base/return.exp: Add comment and message for `return double'
23159 test failure on Sparc Solaris.
23160
23161 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
23162
23163 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
23164
23165 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23166
23167 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
23168 from optimizing them away.
23169 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
23170 patterns to include default constructors and assignment operators,
23171 to match gcc versions beyond 2.5.8. Accept any cplus demangling
23172 character in the output of the virtual base pointer.
23173
23174 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23175
23176 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
23177 expression match in print_addr_of to avoid unintented matches.
23178 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
23179 versions up to 2.5.8.
23180
23181 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23182
23183 * gdb.base/list.exp: Tweak alternate pattern for listing of an
23184 included file to run under newer versions of expect.
23185 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
23186 consecutive >'s in templates to accomodate recent cplus-dem.c change.
23187 Remove xfail for the virtual table of BDDHookV.
23188
23189 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
23190
23191 * lib/gdb.exp (string_to_regexp): Set a default result.
23192 (default_gdb_start): Fix misleading message.
23193
23194 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
23195
23196 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
23197 Remove all CC, etc definitions.
23198 * config/mt-hpux: New file.
23199 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
23200 (CFLAGS, LDFLAGS): Define.
23201 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
23202
23203 * Makefile.in (site.exp): Don't insert host_os, etc.
23204 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
23205 (distclean): Check existence of subdir.
23206 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
23207 * gdb.base/Makefile.in: General cleanup and simplification.
23208 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23209 to build executables. Use default rule to build .o files.
23210 (EXPECT, RUNTEST, CC): Fix relative pathname.
23211 (site.exp): Don't insert host_os, etc.
23212 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
23213 and/or SIGUSR1 defined.
23214 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
23215 * gdb.c++/Makefile.in: General cleanup and simplification.
23216 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
23217 (CFLAGS): Remove.
23218 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
23219
23220 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
23221
23222 * gdb.base/recurse.exp: Misc changes to get tests running again
23223 after Kung's changes to the watchpoint code.
23224 * gdb.base/watchpoint.exp: Likewise.
23225
23226 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
23227
23228 * lib/gdb.exp (string_to_regexp): Convert {\} also.
23229
23230 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
23231
23232 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
23233 * lib/gdb.exp (default_gdb_start): Define.
23234 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
23235 gdb.base/funcargs.exp, gdb.base/opaque.exp,
23236 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
23237 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
23238 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
23239 Don't call gdb_target_udi in between tests.
23240
23241 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23242
23243 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
23244 (which was basically just a local version of the same thing). In
23245 addition to avoiding duplication, gdb_test_exact is faster.
23246 * lib/gdb.exp (gdb_test_exact): Fix typo.
23247
23248 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
23249 don't give an error.
23250
23251 * gdb.base/term.exp: Call delete_breakpoints before starting.
23252
23253 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
23254 (t10): Add comment.
23255
23256 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23257
23258 Reorganization of the GDB Test Suite.
23259
23260 * gdb.base: New directory, contains all the basic tests.
23261 * gdb.c++: New directory, tests specific to C++.
23262 * gdb.chill: New directory, tests specific to Chill.
23263 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
23264 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
23265 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
23266 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
23267 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
23268 t30-31 to chill).
23269 * */gdbme.*: Rename to match appropriate expect scripts.
23270 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
23271 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
23272 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
23273 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
23274 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
23275 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
23276 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
23277 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
23278 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
23279 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
23280 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
23281 gdb.c++/virtfunc.cc: New names of C++ files.
23282 * gdb.chill/chillvars.ch: New name of Chill file.
23283 * gdb.base/configure.in, gdb.c++/configure.in,
23284 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
23285 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
23286 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
23287 * configure.in (configdirs): Update to reflect directory changes.
23288 (target_abbrev): No longer define for any configuration.
23289 * Makefile.in: Cosmetic improvements to header comments.
23290
23291 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
23292
23293 Various changes to gdb.t31:
23294
23295 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
23296 * gdbme.ch: Make all key-words and predefineds be upper-case.
23297 * chillvars.exp: Expect key-words and predefinds in upper-case.
23298
23299 * chillvars.exp: Use gdb_test_exact many places.
23300 Change expected output for arrays (which now includes index labels).
23301
23302 * pr-5020.exp, gdme.ch (module PR_5020):
23303 New test, for PR-5020.
23304
23305 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
23306
23307 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
23308 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
23309
23310 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
23311
23312 * Makefile.in: Fix bit-rot in definitions of CHILL,
23313 CHILL_FOR_TARGET and Chill_LIB.
23314 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
23315 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
23316 CHILL, and CHILL_LIB.
23317
23318 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
23319
23320 * Revert the previous changes. Please see Rob's directory
23321 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
23322
23323 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
23324
23325 * Makefile.in, configure.in, config/mips-gdb.exp,
23326 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
23327 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
23328 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
23329 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
23330 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
23331 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
23332 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
23333 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
23334 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
23335 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
23336 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
23337 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
23338 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
23339 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
23340 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
23341 changes from 94Q1.
23342
23343 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
23344
23345 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
23346 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
23347 Rob's new testing fragments.
23348
23349 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
23350
23351 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
23352 lib/gdb.exp: Replace error proc calls with perror.
23353
23354 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
23355
23356 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
23357 version also, match on casted version strings, and match on
23358 gdb startup case where the line numbers might be messed up.
23359
23360 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
23361
23362 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
23363 (CFLAGS): Delete it from here.
23364
23365 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
23366
23367 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
23368
23369 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
23370
23371 * Makefile.in (RUNTEST): Default to just "runtest".
23372
23373 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23374
23375 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
23376 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
23377 the code has been restructured.
23378
23379 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23380
23381 * gdb.t00/default.exp (set write): Allow any number of \r and/or
23382 \n, not just one of each.
23383
23384 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
23385 /bin/cc gives a warning if you do.
23386
23387 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
23388
23389 * gdb.t24/demangle.exp: change expect pattern of
23390 __t10ListS_link1ZUiRCUiPT0
23391
23392 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23393
23394 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
23395 on local variables in recursive functions.
23396
23397 * gdb.t07/Makefile.in: Build the new test.
23398
23399 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23400
23401 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
23402 directly. Instead compare the return values from actual calls.
23403
23404 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
23405
23406 * Makefile.in (check): Set TCL_LIBRARY for runtest.
23407
23408 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23409
23410 * From Peter Schauer with minor modifications.
23411 * gdb.t15/return.exp (return_tests): Handle targets where "return"
23412 stops in mid-line in the caller. Add xfail for returning a float
23413 value on X86 targets.
23414
23415 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23416
23417 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
23418 to avoid expect lossage.
23419 (fmem_LRbug_tests): Likewise.
23420 * gdb.disasm/hppa.s: Corresponding changes.
23421
23422 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
23423 conditions to work with latest dejagnu/expect.
23424
23425 * gdb.t15/funcargs.exp (finish from indirect call): No longer
23426 expected to fail on the PA.
23427 (backtrace in call with trampolines): Explicitly require main
23428 to be frame #1 (no trampolines should show up in backtrace).
23429
23430 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
23431 "continue -expect".
23432 * gdb.t06/break.exp: Likewise.
23433 * gdb.t07/watchpoint.exp: Likewise.
23434 * gdb.t13/bitfields.exp: Likewise.
23435 * gdb.t15/{funcargs,return}.exp: Likewise.
23436 * gdb.stabs/weird.exp: Likewise.
23437 * config/{mips,udi}-gdb.exp: Likewise.
23438
23439 * hppa.sed: Enclose comments within a sed command to avoid
23440 losing with the old OSF1 sed.
23441
23442 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23443
23444 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
23445 sequent dynix.
23446 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
23447 * gdb.t15/funcargs.exp: Conditionally step again to really
23448 finish from marker_call_with_trampolines. Handle the case where
23449 the first step from within call_with_trampolines already steps
23450 us back to main.
23451 * gdb.t15/gdbme.c: Add comment to closing brace of
23452 call_with_trampolines for funcargs.exp.
23453
23454 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23455
23456 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23457 Fix typo(s).
23458
23459 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23460
23461 * gdb.t07/gdbme.c: More code for watchpoint testing.
23462
23463 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
23464 "Hardware watchpoint" throughout file.
23465 (test_watchpoint_triggered_in_syscall): New test.
23466 (test_complex_watchpoint): New test.
23467
23468 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23469
23470 * gdbme.c (call_with_trampolines): New function to try and step
23471 into. Tests trampoline problems on the PA.
23472
23473 * funcargs.exp (localvars_in_indirect_call): No longer expect
23474 stepping into indirect call to fail on PAs.
23475 (test_stepping_over_trampolines): New test.
23476
23477 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23478
23479 * TODO: Add suggestions for static member function tests, and
23480 completion tests.
23481
23482 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23483
23484 * TODO: Add suggestions for "p/a" tests.
23485
23486 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
23487 (default_gdb_exit): Replace all the hair with sending "quit" to
23488 the process with a simple close.
23489
23490 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23491
23492 * TODO: Add suggestions for shared library tests.
23493
23494 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23495
23496 * TODO: Add suggestions for x/s tests.
23497
23498 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23499
23500 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
23501 "enable once", and "enable breakpoints once" with ".*".
23502
23503 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23504
23505 * TODO: Add suggestions about structure passing tests.
23506
23507 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23508
23509 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
23510 the primary1 test, use work around if __GNUC__ < 2.
23511 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
23512 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
23513 Test for bad output rather than waiting for timeout. Issue
23514 second continue only if first continue failed.
23515
23516 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23517
23518 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23519 operator[] test with gdb_test because the old code didn't seem to
23520 be getting the quoting right with the new dejagnu.
23521
23522 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23523
23524 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23525 one from the path.
23526 * Makefile.in: Use a fresh expect if there is one, use runtest
23527 from the src tree if there is one.
23528
23529 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23530
23531 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23532 next over recursive call. Revise the tests from that point on
23533 (which had been skipped) to match GDB's actual (correct) output.
23534
23535 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23536 with next over a breakpoint whose condition is false.
23537
23538 * gdb.t00/help.exp: Comment out "help set print" tests just like
23539 (and for same reason as) "help set" test.
23540
23541 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23542
23543 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23544 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23545
23546 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23547
23548 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23549 necessary gdb_target_udi.
23550
23551 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23552
23553 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23554 1838 and 2417; they are fixed.
23555
23556 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23557 gdb.t03/ptype.exp (ptype structure, ptype union):
23558 Remove xfails; the test is looser than when the xfails were added.
23559
23560 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23561 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23562
23563 * gdb.t01/run.exp: Only run shell test if isnative.
23564
23565 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23566 since "run" automatically loads if necessary. Call gdb_target_udi
23567 after the "file" since "file" kills any execution target.
23568
23569 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23570 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23571 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23572 argument for UDI.
23573
23574 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23575
23576 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23577
23578 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23579
23580 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23581
23582 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23583 properly quoting regexps. This makes the second argument to
23584 demangle a fixed string, which matches the callers, instead of a
23585 shell-style pattern which is what the previous implementation
23586 used. Update some of the callers.
23587
23588 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23589
23590 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23591 (comib_nullified_tests): Fix typo.
23592 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23593 strings. No longer expected to fail.
23594
23595 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23596 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23597 strings. No longer expected to fail.
23598
23599 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23600 string. No longer expected to fail.
23601
23602 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23603
23604 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23605 No longer expected to fail.
23606
23607 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23608 string. No longer expected to fail.
23609
23610 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23611
23612 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23613 only in the names (I probably got most of them). I was even
23614 generous with some which differed in underscores in names, and
23615 probably missed a few, and I *still* was able to remove almost a
23616 third of the file with almost no impact on testsuite coverage.
23617
23618 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23619
23620 * gdb.t00/default.exp: Match udi_attach error message as well as
23621 the one from child_attach.
23622
23623 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23624
23625 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23626
23627 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23628 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23629
23630 * Move test with enums and partial symbols back to
23631 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23632 Reverts the change of 26 May 93. Per today's change to
23633 stabs.texinfo, the behavior that weird.exp was expecting was
23634 unreasonable; what is important is that the compiler+gdb get
23635 things right, which happens with a recent gcc. Also fix the test
23636 to deal with native compilers which put out the stab gdb can't
23637 deal with.
23638
23639 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23640
23641 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23642 in the names. The main thing these accomplish is to slow things down.
23643 Many more such duplicates surely remain.
23644
23645 * gdb.t00/help.exp: Comment out "help support" test just like
23646 (and for same reason as) "help set" test.
23647
23648 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23649
23650 * gdb.t06/break.exp: Remove setup_xfails for
23651 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23652 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23653 about known bug in gcc to include up through 2.5.8.
23654 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23655 well as "_vb$".
23656 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23657 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23658 with latest gcc and gdb.
23659 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23660 well as "_vb$".
23661
23662 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23663
23664 * configure.in (hppa*-*-*): Also configure and build stabs-only
23665 tests.
23666
23667 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23668
23669 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23670 * gdb.t10/configure.in (hppa*-*-*): Use it.
23671
23672 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23673
23674 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23675
23676 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23677
23678 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23679 versions prior to 1.13.5.
23680
23681 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23682
23683 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23684 the prompt is at the start of a line.
23685
23686 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23687
23688 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23689 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23690 in the copr tests now.
23691 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23692 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23693 expected to fail.
23694
23695 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23696
23697 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23698 gdb.t31/chillvars.exp, lib/gdb.exp:
23699 Tweak to run under either version of expect.
23700 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23701 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23702 * gdb.t11/list.exp: Remove extraneous whitespace.
23703
23704 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23705
23706 * gdb.t16/printcmds.exp (test_print_strings): Accept
23707 "(unsigned char *) " before the string.
23708
23709 * TODO: Add notes about printing of fancy types and GDB expressions.
23710
23711 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23712
23713 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23714 * gdb.t06/configure.in: Don't try to compile signals test program
23715 if doing mips-idt-ecoff.
23716
23717 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23718
23719 * Most .exp files: Tweak to run under either version of expect.
23720
23721 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23722
23723 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23724 xfails; I'm not sure why they are failing, but not because of PR 1806.
23725
23726 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23727
23728 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23729 defined in lib/gdb.exp.
23730
23731 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23732
23733 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23734 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23735 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23736 have to be typeless.
23737
23738 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23739
23740 * TODO: Add suggestion for copyright year test.
23741
23742 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23743
23744 * configure.in (*-*-lynxos*): Add stabs tests.
23745
23746 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23747
23748 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23749 so insert a tab before any assembler directive in column zero.
23750
23751 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23752 stores.
23753 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23754 stores.
23755 (fpu_short_memory_tests): Likewise.
23756
23757 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23758
23759 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23760 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23761 .stabs directives in comments.
23762
23763 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23764
23765 * TODO: New file, describing tests we could write.
23766 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23767
23768 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23769
23770 * gdb.t06/signals.exp: Add kludge to force re-sync.
23771
23772 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23773 to xgdb instead of gdb, get out of gdb.
23774
23775 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23776
23777 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23778 for info.
23779
23780 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23781
23782 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23783 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23784 * gdb.stabs/hppa.sed: New sed script for the PA.
23785
23786 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23787
23788 * gdb.stabs: Re-write weird.def and configuration to use sed
23789 instead of cpp. sed is portable and POSIX; cpp is neither.
23790
23791 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23792
23793 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23794
23795 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23796
23797 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23798
23799 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23800
23801 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23802 "_vb$".
23803 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23804 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23805
23806 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23807
23808 * lib/gdb.exp: Comment out code which depends on non-existent
23809 `transform' procedure.
23810
23811 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23812
23813 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23814 * lib/gdb.exp: Transform tool name.
23815 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23816 1.1's new error handling system.
23817
23818 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23819
23820 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23821
23822 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23823
23824 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23825 They made pattern matching so slow that timeouts happened on
23826 heavily loaded systems. Now any output from "show print" which
23827 gets us back to the GDB prompt is a PASS.
23828
23829 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23830
23831 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23832
23833 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23834
23835 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23836
23837 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23838 It is not from PR 3220.
23839
23840 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23841
23842 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23843 just started failing because they depended on the order the
23844 subcommands are presented, or exact docstring text. This kind of
23845 test is a pain and has minimal benefit.
23846
23847 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23848
23849 * gdb.t09/corefile.exp: At end of test, use "core" command with
23850 no arguments.
23851
23852 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23853
23854 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23855 17}/Makefile.in: Make it possible to run the testsuite with Sun
23856 make and CC = cross gcc by adding explicit build rules for .o
23857 files.
23858
23859 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23860
23861 * gdb.t15/funcargs.exp: Don't put comments on same line as
23862 setup_xfail (@#$*%& tcl braindamage!).
23863
23864 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23865
23866 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23867
23868 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23869
23870 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23871 * gdb.t20/inherit.exp: remove three dumplicate entries.
23872
23873 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23874
23875 * gdb.t06/break.exp: For "next over recursive call", fail on any
23876 incorrect output, not just on "factorial (value=2)".
23877
23878 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23879
23880 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23881 working now. Add an xfail if accesing a bss variable causes
23882 a memory error if the target is not yet run.
23883
23884 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23885
23886 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23887 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23888 name of __st* demangling (2 strings). Did Kung really get the
23889 more than 95 others right without testing them?
23890
23891 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23892
23893 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23894
23895 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23896
23897 * configure.in (configdirs): Add gdb.disasm
23898 * gdb.disasm: New directory for GDB disassembler tests.
23899 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23900
23901 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23902
23903 * gdb.t00/help.exp: Don't test "help set".
23904
23905 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23906 from within expect statements. None of these happen anymore and
23907 they cause regressions to be silently unnoticed.
23908
23909 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23910 messages) about known failures with gcc cygnus-2.4.5-930417.
23911
23912 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23913 comp-info.exp so it gets built if it doesn't exist.
23914
23915 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23916 it is no longer used.
23917 * gdb.t13/comp-info.c: Removed.
23918
23919 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23920
23921 * gdb.t06/signals.exp: Add xfail for sun3.
23922
23923 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23924
23925 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23926 relevant because ^C doesn't get sent but failure can be reproduced
23927 interactively).
23928
23929 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23930
23931 * gdb.stabs/alpha.mt: New configuration file for alpha.
23932 * gdb.stabs/configure.in: Use it.
23933 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23934 sharing with alpha.mt, redefine long to word via preprocessor.
23935 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23936 for alpha.
23937 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23938 native cc.
23939 * gdb.t00/teststrategy.exp: Change expect string so that we
23940 consume the `(xgdb)' from the command echo and from the gdb prompt.
23941 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23942 gdb currently compares all values as long, so this failure probably
23943 applies to any configuration where LONGEST is bigger than a target int.
23944 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23945 with gcc.
23946 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23947 to handle opaque pointers, gcc is.
23948 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23949 as first argument. Include <sys/types.h> and change all operator
23950 new definitions to use size_t.
23951 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23952 now that we use size_t.
23953
23954 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23955
23956 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23957 a long or float array cast all array members to the same type.
23958 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23959 with 64 bit longs.
23960 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23961 on alpha.
23962 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23963
23964 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23965
23966 * gdb.t24 (demangle.exp): Constructors of templates have names like
23967 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23968 section 14.6 of the ARM.
23969
23970 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23971 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23972 accomplish little and slow down the testsuite.
23973
23974 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23975 Accept spaces various places.
23976
23977 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23978
23979 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23980 with watchpoint enabled.
23981
23982 * Makefile.in: Remove definition of CC and remove the second
23983 definition of CXX (the "CXX = gcc" one remains). These definitions
23984 were causing backquotes to be expanded within backquotes, which
23985 doesn't work.
23986
23987 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23988
23989 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23990
23991 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23992
23993 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23994 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23995 by mips cc and contains no stabs entries.
23996
23997 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23998
23999 * config/vx-gdb.exp: Use fake device to load files rather than
24000 NFS.
24001 * lib/gdb.exp: New proc to do "file" command.
24002 * config/unix-gdb.exp: Use new "file" proc.
24003
24004 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
24005
24006 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
24007 Rework board rebooting slightly.
24008 (gdb_exit): Don't exit from the remote shell; there isn't one.
24009 * gdb.stabs/weird.exp: If a program is being debugged already,
24010 kill it.
24011 * gdb.t04/setvar.exp: Stop and restart gdb.
24012 * gdb.t05/expr.exp: Likewise.
24013 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
24014 restart gdb and reload the program.
24015 * gdb.t08/opaque.exp: Likewise.
24016 * gdb.t12/scope.exp: Likewise.
24017 * gdb.t13/bitfields.exp: Likewise.
24018 * gdb.t15/funcargs.exp: Likewise.
24019 * gdb.t20/classes.exp: Likewise.
24020 * gdb.t03/ptype.exp: Increase timeout.
24021 * gdb.t16/printcmds.exp (test_print_string_constants,
24022 test_print_array_constants): Likewise.
24023 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
24024 * gdb.t20/classes.exp (do_tests): Likewise.
24025 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
24026
24027 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
24028
24029 * gdb.stabs: Renamed *wierd* to *weird*.
24030
24031 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24032
24033 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
24034 for timeout. Add "known gcc 2.4.5 bug" to failure message.
24035
24036 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24037
24038 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
24039 (do_tests): Remove xfail for whatis on one_var and two_var.
24040
24041 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
24042
24043 * Makefile.in: Made cross building work better by adding
24044 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
24045
24046 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24047
24048 * gdb.t15/{return.c,return.exp,Makefile.in}:
24049 New test, currently commented out.
24050
24051 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
24052
24053 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24054 still running and removes the leftover named socket so GDb can do
24055 clean restarts.
24056
24057 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
24058
24059 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24060 console, not GDB.
24061 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24062 cross testing works better with "make check"
24063 * config/unix-gdb: Use default procedures for exit and version.
24064 * config/vx-gdb.exp: Cleaned up and massaged back to working order
24065 with the newest VxWorks.
24066
24067 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24068
24069 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24070 old form.
24071
24072 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24073 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24074
24075 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24076
24077 * config/unix-gdb.exp: Remove this version of gdb_exit
24078 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24079 Rob says he'll look at it when he gets back to testing boards.
24080
24081 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
24082
24083 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
24084 an expected fail for certain ptype commands.
24085
24086 * gdb.t20/classes.exp: Update expected results of "ptype class
24087 Base1" to account for the constructor that now appears in the type.
24088
24089 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
24090
24091 * configure.in (configdirs): Restore gdb.t04, which mysteriously
24092 disappeared from list.
24093 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
24094 "alldone" proc with call to cleanup and exit.
24095 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
24096 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
24097 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
24098 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
24099 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
24100 "alldone" proc with simple returns that suppress remaining
24101 tests. The alldone proc went away many months ago.
24102
24103 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24104
24105 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
24106
24107 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
24108
24109 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24110
24111 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
24112 as vax gdb will display them.
24113
24114 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24115
24116 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
24117 optimizers.
24118
24119 * scope.exp: Change "bad value for localval" messages so each one
24120 is unique.
24121
24122 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
24123 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
24124
24125 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
24126
24127 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24128
24129 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
24130 doesn't exist (due to optimization).
24131
24132 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24133
24134 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
24135 contains \r because the filename is long.
24136
24137 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
24138 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
24139
24140 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24141
24142 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
24143 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
24144 Ultrix.
24145 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
24146 int tests.
24147 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
24148
24149 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
24150
24151 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
24152
24153 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
24154 to match does not match the passing case but still matches the
24155 failing case.
24156
24157 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24158
24159 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
24160
24161 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
24162
24163 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
24164 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
24165 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
24166 Remove various versions of gdb_exit.
24167 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
24168 gdb_exit.
24169 * config/unix-gdb.exp: gdb_exit remains here, and should override
24170 the generic version, since it's doing a lot of wierd stuff that
24171 the other versions aren't. FIXME, fold it in, or abandon this
24172 version.
24173
24174 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24175
24176 * gdb.t24/demangle.exp: Add tests for PR 3220.
24177
24178 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24179
24180 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
24181
24182 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
24183
24184 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
24185 "i386-*-*". Works for i486 as well.
24186
24187 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
24188 bug, and expand domain of xfail to all SVR4 systems, since the
24189 actual problem is likely to be in generic SVR4 /proc support.
24190
24191 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24192
24193 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
24194
24195 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
24196
24197 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
24198 xfails for other systems. Match a missing 'Continuing.' as an
24199 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
24200
24201 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
24202 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
24203 Only issue warning for missing executables if -all option is used.
24204
24205 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
24206 file if -all option is used. It's like an unpredictable XFAIL.
24207
24208 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24209
24210 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
24211 for dynamically linked binaries.
24212
24213 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
24214
24215 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24216
24217 * gdb.t20/inherit.exp: Change message for "print tagless struct"
24218 to state that this is a known bug in old versions of g++.
24219
24220 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24221
24222 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
24223 while waiting for `Continuing'.
24224
24225 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
24226
24227 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
24228 in text, data, and bss.
24229 * gdb.t10/nodebug.c: Add local and global test variables for
24230 initialized and uninitialized data.
24231
24232 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24233
24234 * config/unix-gdb.exp (gdb_exit): Add "wait".
24235
24236 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24237
24238 * gdb.t06/signals.exp: xfail the continue from the handler for all
24239 targets.
24240
24241 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
24242 function with watchpoints enabled, the i386 call dummy starts with
24243 a call.
24244
24245 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
24246 386 bsd names its corefiles.
24247
24248 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
24249
24250 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
24251 compilers don't grok it.
24252 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
24253 with small octal ints rather than character constants, which
24254 are signed and might not fit if first promoted to int.
24255
24256 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
24257
24258 * gdb.t09/Makefile.in (clean): Remove corefile.
24259
24260 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24261
24262 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
24263
24264 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24265 and Jim Kingdon (kingdon@cygnus.com)
24266
24267 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
24268 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
24269 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
24270
24271 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24272
24273 * gdb.t17/interrupt.exp: Add xfail for hppa.
24274
24275 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24276
24277 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
24278 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
24279 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
24280 to determine signed-ness of bitfields and use the result to setup
24281 the xfail.
24282 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
24283 * gdb.t15/funcargs.exp: Use them to step until the second indirect
24284 call line is reached if necessary.
24285
24286 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24287
24288 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
24289
24290 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24291
24292 * gdb.t06/break.exp: Also test `clear' command.
24293
24294 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24295
24296 * gdb.t00/teststrategy.exp: Remove extra quote.
24297
24298 * gdb.t07/watchpoint.exp: Change xfail for calling function with
24299 watchpoint enabled to be for all non-68k machines.
24300
24301 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
24302
24303 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24304
24305 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
24306 targets use aout.mt instead of ecoff.mt as gas understands
24307 standard aout format.
24308
24309 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24310
24311 * lib/gdb.exp (runto): Don't insist that function we are running to
24312 was compiled with -g.
24313
24314 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
24315
24316 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
24317 to get back into the read system call.
24318 Accept leading newline in case where we woke it up.
24319
24320 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24321
24322 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
24323 to make the stabs test work on ecoff systems using gcc and -with-stabs.
24324 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
24325 enable ecoff configuration.
24326
24327 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24328
24329 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
24330
24331 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24332
24333 * gdb.t16/printcmds.exp: Add another printf test.
24334
24335 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
24336
24337 * configure.in: If configured -with-stabs on any target, add
24338 stabsdirs to configdirs.
24339
24340 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24341
24342 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
24343 fun" so pattern does not match the command itself.
24344
24345 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24346
24347 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
24348
24349 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24350
24351 * gdb.t17/interrupt.exp: Test for more things.
24352
24353 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24354
24355 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
24356 compiler arranges the code and line numbers.
24357
24358 * gdb.t17/interrupt.exp: Don't send \n after ^C.
24359
24360 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24361
24362 * gdb.t00/help.exp: Increase expect input buffer size.
24363
24364 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24365
24366 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
24367
24368 * gdb.t07/watchpoint.exp: Add xfail for hppa.
24369
24370 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
24371
24372 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
24373 [0-9]*, not just [0-9].
24374
24375 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24376
24377 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
24378
24379 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
24380
24381 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24382
24383 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
24384
24385 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24386
24387 * gdb.t06/signals.c: Add xfails for sun3.
24388
24389 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
24390
24391 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
24392 test_stepping tests.
24393
24394 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24395
24396 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
24397
24398 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
24399
24400 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
24401 rather than actually putting it through cpp twice.
24402
24403 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
24404
24405 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
24406
24407 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
24408 no longer needed.
24409
24410 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24411
24412 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
24413
24414 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
24415 C++ features prints as "struct", make it a pass, not an xfail.
24416
24417 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24418
24419 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
24420 Don't require VA to print as "class" rather than "struct".
24421
24422 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
24423
24424 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
24425
24426 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24427
24428 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
24429
24430 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24431
24432 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
24433 order.
24434
24435 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24436
24437 * gdb.t16/printcmds.exp: Add printf tests.
24438
24439 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
24440
24441 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
24442
24443 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
24444
24445 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
24446 pass counts, to counteract any existing or future setup_xfails.
24447
24448 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24449
24450 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
24451 {BEGIN,END}_COMMON for common block instead of STAB.
24452 * gdb.stabs/wierd.exp: Add xfail for rs6000.
24453
24454 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
24455 intp_var should be N_GSYM not N_LSYM.
24456 wierd-aout.S: Use a label for the value of the N_SO.
24457 wierd.def: Remove all backslashes.
24458 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
24459
24460 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24461
24462 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
24463 get the expected next to inheritance3.
24464
24465 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24466
24467 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
24468 now that gcc-2.4 gets it right.
24469
24470 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24471
24472 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
24473
24474 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
24475 generating comp-info.exp which works for cross-compilation.
24476
24477 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
24478
24479 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
24480 "*-*-sysv4.*".
24481
24482 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
24483
24484 * gdb.t01/run.exp: Start with a fresh gdb.
24485 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
24486 SVR4.x.
24487
24488 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
24489
24490 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
24491 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
24492 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
24493 Makefile.in (distclean, realclean): Remove gdbme.c from list of
24494 things to remove.
24495
24496 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
24497
24498 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
24499 test cases from bug reports.
24500
24501 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
24502
24503 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
24504 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
24505 avoid spurious xfails.
24506 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
24507 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
24508 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
24509
24510 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
24511
24512 * gdb.t00/teststrategy.exp: Rework to provide more useful
24513 description of each test, fix problem with systems that define
24514 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
24515 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24516 results for "next over recursive call" so timeouts aren't taken
24517 by error.
24518
24519 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24520
24521 * gdb.t12/scope.exp: Test printing of variables before run.
24522
24523 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24524 printed in wrong order due to sorting.
24525
24526 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24527
24528 * gdb.t00/teststrategy.exp: Fix expected results for printing
24529 user entered string constant. Is array of char, prints with no
24530 address.
24531
24532 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24533 commands.
24534 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24535 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24536 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24537 of struct of char arrays.
24538 * gdb.t00/radix.exp: New tests for radix commands.
24539
24540 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24541
24542 * gdb.t16/printcmd.exp: Print a variable before running program
24543 (with xfail for AIX).
24544
24545 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24546
24547 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24548
24549 * gdb.t16/printcmd.exp: Don't print variables before running program.
24550
24551 * gdb.t06/break.exp: Don't require envp argument to main.
24552
24553 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24554
24555 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24556 Add xfails for rs6000.
24557
24558 * gdb.t02/whatis.exp: Change other tests not to re-test something
24559 we already tested.
24560
24561 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24562 each type used has a variable of that type.
24563
24564 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24565
24566 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24567
24568 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24569
24570 * configure.in: change srctrigger to be a file, not a directory
24571
24572 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24573
24574 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24575
24576 * gdb.t11/list.exp: Fixed a couple of typos.
24577
24578 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24579
24580 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24581 is fixed and PR is closed.
24582 * gdb.t16 (gdbme.c): Add simple test string variable.
24583 * gdb.t16 (printcmds.exp): Add tests with simple test string
24584 variable, primarily for boundaries on "set print elements".
24585
24586 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24587
24588 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24589 Make leading 0's optional and don't expect a tab in the middle
24590 of the number.
24591
24592 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24593
24594 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24595 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24596 don't end command passed to gdb_test with newline.
24597
24598 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24599 signed keyword away, don't expect signed bitfields to be signed.
24600
24601 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24602 printing with only as many 1's as are in the field as well as printing
24603 with 32 1's (see comment).
24604
24605 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24606
24607 * gdb.t00/default.exp: Start with a fresh gdb.
24608 * configure.in (configdirs): Remove gdb.t31 until the chill
24609 compiler works again. It no longer is able to find chillrt0
24610 since it isn't in libchill.a anymore.
24611 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24612 wierd.o, make more modular.
24613 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24614 spurious newlines that caused problems.
24615
24616 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24617
24618 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24619 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24620 gdb.stabs/wierd.{exp,def}: Many new tests.
24621
24622 * gdb.t00/default.exp: update info line for new message.
24623
24624 * gdb.t02/{whatis.exp,gdbme.c}:
24625 Test that "char *" doesn't print as "caddr_t".
24626
24627 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24628
24629 * gdb.t00/help.exp: Use .* in place of some help messages which
24630 just changed.
24631 gdb.t00/default.exp: Update "info frame" test for new message.
24632 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24633 Remove some xfails
24634
24635 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24636
24637 * gdb.t03/{gdbme.c,ptype.exp}:
24638 Add tests for typedef'd struct and union without tags.
24639 Also check "whatis" on a variable of a typedef'd enum without a tag.
24640
24641 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24642 PRMS 1823; the bug still exists but isn't reproduced by this test
24643 anymore), and remove rs6000 XFAIL (the bug is fixed).
24644
24645 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24646 duplicated from whatis.exp. For those that are left, accept
24647 "long", "long int", or "int" for long variables (whatis.exp already
24648 has an XFAIL for "int", so no need to fail it here).
24649
24650 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24651 Deal with GCC's names for types now that GDB uses the compiler's names.
24652
24653 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24654 setup_xfail's for sunos4. If we #defined the signed keyword away,
24655 don't expect GDB to know that char it is signed.
24656
24657 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24658
24659 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24660
24661 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24662 should work on any system, regardless of debugging format.
24663 * gdb.t21/demangle.exp: Move to gdb.t24.
24664 * gdb.t24/demangle.exp: Move from gdb.t21.
24665 * gdb.t24/{Makefile.in, configure.in}: New files.
24666
24667 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24668
24669 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24670 * gdb.stabs: New directory.
24671
24672 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24673
24674 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24675 not just "Quit anyway?".
24676
24677 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24678
24679 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24680 that all setup_xfails are immediately followed by clear_xfails.
24681
24682 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24683
24684 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24685 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24686 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24687 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24688 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24689 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24690 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24691 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24692 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24693 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24694 gdb.t31/chillvars.exp, lib/gdb.exp:
24695 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24696 bug-gdb@prep.ai.mit.edu.
24697
24698 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24699
24700 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24701 with 0.0, not integer 0.
24702
24703 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24704
24705 * gdb.t06/break.exp: Update for "Kill the program" message change.
24706
24707 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24708
24709 * Makefile.in (GDBFLAGS): Set to -nx.
24710 * Makefile.in (site.exp): Use GDBFLAGS.
24711
24712 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24713
24714 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24715 Makefiles.
24716 (check): depend on just-check.
24717 (just-check): added so that tests can be run without a noop
24718 build pass.
24719
24720 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24721
24722 Switch to using configure's configdirs.
24723 * Makefile.in (Makefile): add configure.in dependency.
24724 (SUBDIRS): removed redundant assignment.
24725 * configure.in: switch subdirs assignment to configdirs.
24726 * gdb.t*/configure.in: new files.
24727
24728 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24729
24730 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24731 works.
24732
24733 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24734
24735 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24736 in explicit rules. Apparently this is not supported by some makes.
24737
24738 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24739
24740 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24741
24742 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24743
24744 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24745 disappeared.
24746
24747 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24748
24749 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24750
24751 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24752
24753 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24754 watchpoint problem that is now fixed.
24755 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24756 uninitialized convenience variables.
24757 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24758 structures.
24759
24760 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24761
24762 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24763 which causes expect to get out of sync with gdb on long output
24764 from help set.
24765 * gdb.t09/corefile.exp: Make expected pattern for core file
24766 failing signal and frame output format less sun specific.
24767
24768 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24769
24770 * gdb.t31/chillvars.exp: Add and remove initial dummy
24771 breakpoint, so that symbol table is forced in.
24772 (Needed at least on Sunos4, though it seems not SVR4.)
24773 * gdb.t31/chillvars.exp: Update for changed output format.
24774
24775 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24776
24777 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
24778
24779 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24780
24781 * Makefile.in: Added --srcdir when invoking runtest, removed the
24782 need for a local config file. (optional now)
24783
24784 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24785
24786 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24787 failure count used to force early termination. Add some more
24788 expected failures for gnu style demangling.
24789
24790 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24791
24792 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24793 pmi variable from gdb.t20/gdbme to get optimized away.
24794 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24795 Check for written corefile upon timeout _and_ eof.
24796
24797 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24798
24799 * config/unix-gdb.exp: Add missing return 0.
24800
24801 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24802
24803 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24804 test termination.
24805
24806 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24807
24808 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24809 disappeared.
24810
24811 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24812
24813 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24814 time as i860 support works.
24815
24816 * gdb.t15/funcargs.exp: Fix expected outputs to include
24817 "backtrace 100\r" rather than just "backtrace\r", to match last
24818 change.
24819
24820 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24821
24822 * config/udi-gdb.exp (gdb_exit): Remove close command.
24823 (gdb_target_udi): New procedure to set the UDI target.
24824 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24825 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24826 Added waits for prompts after several question responses. Added
24827 some more responses used by a29k-amd-udi-gdb.
24828 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24829 pass different arguments, restart UDI connection after program
24830 completion.
24831 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24832 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24833 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24834 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24835 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24836 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24837 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24838 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24839 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24840 after program completion.
24841 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24842 compiled with a SELECT_VECS setting.
24843 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24844 infinite recursion.
24845
24846 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24847 Added checks for COFF results, and made them expected failures for
24848 all targets. It would be better to make them expected failures
24849 for COFF targets only.
24850
24851 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24852
24853 * Makefile.in: add null dvi target, don't bother to recurse
24854 through test directories for info and install-info; rename
24855 $(datadir) to be dejagnu instead of deja-gnu
24856
24857 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24858
24859 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24860 compiler to coredump.
24861 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24862 code.
24863
24864 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24865
24866 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24867 coredump.
24868 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24869 code.
24870
24871 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24872
24873 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24874 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24875 which in a shell. Deletes xgdb when done.
24876 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24877 Tests the return from the "set height" or "set width" commands.
24878 Added a few return codes where needed.
24879
24880 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24881
24882 * Makefile.in (SUBDIRS): Add gdb.t17.
24883 * configure.in (subdirs): Add gdb.t17.
24884 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24885 files to test gdb's calling of functions in the inferior with
24886 the correct arguments and gdb's ability to retrieve any
24887 result returned.
24888
24889 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24890
24891 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24892 may be called after gdb goes away. Previous versions of expect
24893 needed these to avoid file descriptor leaks, but they cause
24894 errors with the current revision of expect.
24895 * gdb.t00/gdbvars.exp: Use -re on expected output after
24896 setting sevenbit-strings.
24897 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24898 to set sevenbit-strings consistent across tests.
24899 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24900 set sevenbit-strings consistent across tests.
24901
24902 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24903
24904 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24905 expected output to match current "expect" expectations.
24906
24907 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24908
24909 * gdb.t00/default.exp: Change expected output for default "source"
24910 command, to match new gdb behavior which requires a filename to
24911 source.
24912
24913 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24914
24915 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24916 expected fail for i486-*-* that misses the marker2 function.
24917 * gdb.t10/crossload.exp (bfddefault): Allow successful
24918 recognition of a format to pass even if no symbols are found.
24919 Explicitly catch failures where the format is not recognized
24920 or is ambiguous, and add the reason to the fail message.
24921 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24922 the cause is and invalid target and add reason to failure message.
24923 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24924 elf32-i386, elf32-sparc, and elf32-i860.
24925 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24926 Set up expected failure for 'filename'::variable scope resolution,
24927 which is now apparently broken on all targets.
24928 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24929 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24930 gdb.t23/templates.exp: Change failure for missing binfile into
24931 just a warning.
24932 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24933 references.
24934
24935 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24936
24937 * gdb.t00/default.exp: Add expected output for default "source"
24938 command, to match new gdb behavior.
24939 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24940
24941 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24942
24943 * config/*-gdb.exp: returns an error, rather than exiting on
24944 internal errors.
24945
24946 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24947
24948 * gdb.t03/gdbme.c: Add pointer to struct variable.
24949 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24950 referencing struct members.
24951
24952 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24953
24954 * configure.in (mips-idt-ecoff): New target.
24955 * config/mips-gdb.exp: New file for remote board using MIPS remote
24956 debugging protocol.
24957
24958 * Redid configuration scheme. Removed gdb.t*/configure.in.
24959 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24960 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24961 distclean targets. Built executables via .o files. Adjusted
24962 tests to account for source files in $(srcdir) rather than
24963 $(objdir).
24964 * lib/gdb.exp (runto): Don't expect () after the function name,
24965 because it may have arguments.
24966
24967 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24968
24969 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24970 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24971 expected failures for mips-idt-* and mips-sgi-*.
24972 * gdb.t00/default.exp (attach): Kill process if requested.
24973 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24974 that does not read core files.
24975 * gdb.t01/run.exp: Removed checks for exit status code.
24976 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24977 it is linked in.
24978 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24979 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24980 appropriate, rather than doing it by hand.
24981 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24982 execution.
24983 * gdb.t10/crossload.exp: Kill existing program if needed.
24984 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24985 appropriate, rather than doing it by hand. Always increase
24986 timeout for this test, not just for VxWorks.
24987
24988 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24989
24990 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24991 of Chill STRUCT types and STRUCT values.
24992 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24993 than "char".
24994 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24995 struct2): New struct definitions and initializations to test
24996 simple Chill STRUCT types.
24997
24998 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24999
25000 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
25001 the null byte at the end of strings.
25002 * gdb.t00/default.exp: Make show version insensitive to copyright
25003 date.
25004 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
25005 to avoid dependencies on target char signedness.
25006 * gdb.t16/printcmds.exp: Update expected results for explicitly
25007 unsigned char.
25008 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
25009 now work.
25010 * gdb.t21/demangle.exp: Add many more patterns for template
25011 demangling, most of them being expected failures.
25012 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
25013 string we are matching for, to match on the whole string.
25014 * gdb.t21/demangle.exp: Add many new test strings to demangle,
25015 and fix a whole bunch that had incorrect expected output but were
25016 passing anyway because of the bug in "proc demangle".
25017 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
25018 type.
25019 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
25020
25021 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
25022
25023 * gdb/testsuite: made modifications to testcases, etc., to allow
25024 them to work properly given the reorganization of deja-gnu and the
25025 relocation of the testcases from deja-gnu to a "tool" subdirectory.
25026
25027 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
25028
25029 * gdb/testsuite: Initial creation of gdb/testsuite.
25030 Migrated dejagnu testcases and support files for testing nm to
25031 gdb/testsuite from deja-gnu. These files were moved "as is"
25032 with no modifications. This migration is part of a major overhaul
25033 of dejagnu. The modifications to these testcases, etc., which
25034 will allow them to work with the new version of dejagnu will be
25035 made in a future update.
25036
25037 For additional changes see gdb.mi/ChangeLog-1999-2003.
25038 \f
25039 ;; Local Variables:
25040 ;; mode: change-log
25041 ;; left-margin: 8
25042 ;; fill-column: 74
25043 ;; version-control: never
25044 ;; End:
25045
25046 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
25047 2003, 2004, 2005 Free Software Foundation, Inc.
25048 Copying and distribution of this file, with or without modification,
25049 are permitted provided the copyright notice and this notice are preserved.
This page took 0.630685 seconds and 4 git commands to generate.